@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Sage Marker";
  src: url("/fonts/permanent-marker-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #132024;
  --ink-deep: #0d171a;
  --surface: #1b2b30;
  --surface-2: #24383e;
  --line: #34494f;
  --sage: #45dcc6;
  --sage-strong: #8cefe1;
  --sage-deep: #13665f;
  --paper: #e9efea;
  --muted: #a3b7b1;
  --marker: #e53935;
  --hl: #fdd835;
  --wall: #e7e2d6;
  --radius-s: 6px;
  --radius-m: 12px;
  --wrap: 1120px;
  --font: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 1.0625rem/1.6 var(--font);
  font-feature-settings: "ss01";
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--sage); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sage-strong); }
:focus-visible { outline: 3px solid var(--hl); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--sage-deep); color: #fff; }

h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); font-weight: 760; letter-spacing: -0.03em; max-width: 14ch; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 720; }
h3 { font-size: 1.25rem; font-weight: 680; }
p { margin: 0 0 1em; }
.lede { font-size: 1.22rem; color: #d3ddd6; max-width: 58ch; }
.fine { font-size: .9rem; color: var(--muted); }
kbd {
  font: 600 .82em/1 var(--font);
  padding: .22em .45em .26em;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--surface);
  color: var(--paper);
  white-space: nowrap;
}

.wrap { width: min(var(--wrap), calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(720px, calc(100% - 32px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--hl); color: var(--ink); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 1.3em;
  border-radius: 10px; border: 1.5px solid transparent;
  font: 650 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sm { min-height: 36px; padding: 0 .95em; font-size: .92rem; }
.btn-primary { background: var(--sage); color: var(--ink-deep); }
.btn-primary:hover { background: var(--sage-strong); color: var(--ink-deep); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sage); color: var(--paper); }
.btn[disabled] { opacity: .55; cursor: progress; }
.link-btn { background: none; border: 0; padding: 0; color: var(--sage); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 1em; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(19, 32, 36, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(52, 73, 79, .6); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; font-weight: 720; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--paper); }
.brand-icon { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.brand-word { height: 22px; width: auto; display: block; }
.foot-brand .brand-icon { width: 40px; height: 40px; border-radius: 10px; }
.foot-brand .brand-word { height: 26px; }
.hero-logo { display: block; width: 112px; height: auto; margin: 0 0 22px; filter: drop-shadow(0 10px 28px rgba(69, 220, 198, .25)); }
.welcome-head { display: grid; grid-template-columns: auto 1fr; column-gap: 28px; align-items: center; }
.welcome-head .welcome-logo { grid-row: span 2; width: 128px; height: auto; filter: drop-shadow(0 10px 28px rgba(69, 220, 198, .25)); }
.welcome-head h1, .welcome-head .lede { grid-column: 2; }
@media (max-width: 640px) { .welcome-head { grid-template-columns: 1fr; } .welcome-head .welcome-logo { width: 96px; grid-row: auto; margin-bottom: 16px; } .welcome-head h1, .welcome-head .lede { grid-column: 1; } }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { color: #cfdad4; text-decoration: none; font-weight: 520; }
.site-nav a:not(.btn):hover { color: #fff; }
.nav-account img { width: 30px; height: 30px; border-radius: 50%; vertical-align: middle; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--paper); border-radius: 8px; padding: 8px 12px; font: 600 .95rem var(--font); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; background: var(--ink); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn), .nav-account a { padding: 12px 0; border-bottom: 1px solid rgba(52, 73, 79, .5); display: block; }
  .site-nav .btn { margin-top: 12px; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy h1 { margin-bottom: .35em; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- live demo ---------- */
.demo { margin: 0; }
.demo-chrome {
  display: flex; align-items: center; gap: 14px; padding: 9px 12px;
  background: #1d2228; border: 1px solid #333a45; border-bottom: 0; border-radius: var(--radius-m) var(--radius-m) 0 0;
}
.demo-tools { display: flex; gap: 6px; }
.t { width: 22px; height: 22px; border-radius: 5px; background: #2a2e36; display: block; position: relative; }
.t.on { background: #1e88e5; }
.t::after { content: ""; position: absolute; inset: 6px; border: 2px solid #cfd6de; border-radius: 2px; }
.t-arrow::after { border: 0; border-top: 2px solid #cfd6de; transform: rotate(-40deg); inset: 10px 4px auto; }
.t-x::after { border: 0; background: linear-gradient(45deg, transparent 44%, #cfd6de 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, #cfd6de 44% 56%, transparent 56%); }
.t-num::after { border-radius: 50%; }
.t-text::after { border: 0; border-top: 2px solid #cfd6de; inset: 6px 5px auto; height: 10px; background: linear-gradient(#cfd6de, #cfd6de) center / 2px 100% no-repeat; }
.t-blur::after { border: 0; background: repeating-conic-gradient(#cfd6de 0 25%, transparent 0 50%) 0 0 / 5px 5px; }
.t-select::after { border: 0; background: #cfd6de; clip-path: polygon(15% 0, 95% 60%, 55% 65%, 70% 100%, 55% 100%, 40% 70%, 15% 90%); }
.demo-swatches { display: flex; gap: 5px; }
.sw { width: 13px; height: 13px; border-radius: 50%; display: block; }
.sw-red { background: var(--marker); outline: 2px solid #fff; outline-offset: 1px; }
.sw-yellow { background: var(--hl); }
.sw-green { background: #43a047; }
.sw-blue { background: #1e88e5; }
.demo-copy { margin-left: auto; background: #1e88e5; color: #fff; font: 650 .8rem/1 var(--font); padding: 7px 11px; border-radius: 6px; }
.demo-svg { display: block; width: 100%; height: auto; border: 1px solid #333a45; border-radius: 0 0 var(--radius-m) var(--radius-m); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); }
.demo-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: .9rem; color: var(--muted); }
@media (max-width: 520px) { .demo-swatches { display: none; } }

.marks .m { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.m-box { stroke: var(--marker); stroke-width: 6; paint-order: stroke; filter: drop-shadow(0 0 0 #fff); }
.m-box, .m-arrow line { stroke-dasharray: 600; stroke-dashoffset: 0; }
.m-arrow line { stroke: var(--marker); stroke-width: 9; }
.m-arrow path { fill: var(--marker); stroke: none; }
.m-x path { stroke: var(--hl); stroke-width: 10; }
.m-num circle { fill: var(--marker); stroke: #fff; stroke-width: 3; }
.m-num text { fill: #fff; font: 800 19px var(--font); text-anchor: middle; }
.m-note { fill: #fff; stroke: #1a1a1a; stroke-width: 2.5px; stroke-linejoin: round; paint-order: stroke; font: 22px "Sage Marker", var(--font); text-anchor: middle; }
.marks { filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, .95)); }

@media (prefers-reduced-motion: no-preference) {
  .demo.play .m-box { animation: draw 0.7s .35s ease-out both; }
  .demo.play .m-arrow line { animation: draw 0.5s 1.05s ease-out both; }
  .demo.play .m-arrow path { animation: pop 0.25s 1.5s ease-out both; }
  .demo.play .m-x path { stroke-dasharray: 130; animation: draw 0.35s 1.9s ease-out both; }
  .demo.play .m-x path + path { animation-delay: 2.1s; }
  .demo.play .m-num1 { animation: pop 0.3s 2.5s cubic-bezier(.3, 1.6, .5, 1) both; }
  .demo.play .m-num2 { animation: pop 0.3s 2.75s cubic-bezier(.3, 1.6, .5, 1) both; }
  .demo.play .m-note { animation: write 0.5s 3.1s ease-out both; }
  .demo.play .m-note2 { animation-delay: 3.4s; }
  .m-num1, .m-num2 { transform-box: fill-box; transform-origin: center; }
  .m-arrow path { transform-box: fill-box; transform-origin: 30% 30%; }
}
@keyframes draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
@keyframes write { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* ---------- sections ---------- */
section { padding: clamp(48px, 7vw, 92px) 0; }
.hero + .band { padding-top: 0; }
.band h2 { max-width: 22ch; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; padding: 26px 28px 8px 0; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before {
  content: counter(step);
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px;
  border-radius: 50%; background: var(--marker); color: #fff; font-weight: 800; box-shadow: 0 0 0 2.5px #fff;
}
.steps p { color: #ccd8d2; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0 4px; border-left: 0; border-top: 1px solid var(--line); }
}

.features { background: var(--ink-deep); }
.features > .wrap > h2 { max-width: 20ch; margin-bottom: 1.4em; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: 40px 0; border-top: 1px solid rgba(52, 73, 79, .6); }
.feature.flip .feature-text { order: 2; }
.feature-text p { color: #ccd8d2; max-width: 52ch; }
.feature-art svg { display: block; width: 100%; height: auto; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature.flip .feature-text { order: 0; } }
.pro-tag { display: inline-block; vertical-align: 3px; margin-left: 6px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--sage); color: var(--sage); font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 6px 0 6px 28px; color: #d7e0db; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 13px; height: 7px; border-left: 2.5px solid var(--sage); border-bottom: 2.5px solid var(--sage); transform: rotate(-45deg); }

/* feature art */
.art-bg { fill: var(--surface); }
.art-busy rect { fill: #4c5f63; }
.art-busy rect:nth-child(3n) { fill: #6f5a48; }
.art-busy rect:nth-child(4n) { fill: #3f5a72; }
.art-outline { fill: none; stroke: #fff; stroke-width: 10; }
.art-red { fill: none; stroke: var(--marker); stroke-width: 5; }
.art-step circle { fill: var(--marker); stroke: #fff; stroke-width: 3; }
.art-step text { fill: #fff; font: 800 15px var(--font); text-anchor: middle; }
.art-plane { fill: #2d4248; stroke: #4c6268; stroke-dasharray: 4 5; }
.art-skew { fill: #fff; font: 800 20px var(--font); transform: skewY(-4deg); transform-box: fill-box; }
.art-handles rect { fill: #ff9800; stroke: #4a2a00; stroke-width: 1.5; }
.art-type-a { fill: #fff; font: 700 34px var(--font); }
.art-type-b { fill: #1e5fae; font: 40px "Sage Marker", var(--font); }
.art-type-c { fill: #fff; font: italic 600 30px var(--font); text-decoration: underline; }
.art-type-d { fill: var(--muted); font: 400 18px var(--font); }
.art-hl { fill: var(--hl); opacity: .9; }
.art-row { fill: #3a4f55; }
.art-pix rect:nth-child(odd) { fill: #6c7f84; }
.art-pix rect:nth-child(even) { fill: #85979b; }
.art-redact { fill: #0b0f10; }
.art-pages rect { fill: #e8ece9; stroke: #9aa9a4; }
.art-pages rect.front { fill: #fafcfa; }
.art-lines rect { fill: #b9c4c0; }
.art-pdf { fill: #9aa9a4; font: 800 28px var(--font); }

.privacy-band { background: var(--sage-deep); color: #f3f8f3; }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.privacy-band h2 { margin: 0; max-width: 16ch; }
.privacy-band p { font-size: 1.18rem; margin: 0; }
@media (max-width: 820px) { .privacy-grid { grid-template-columns: 1fr; } }

.use-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 28px 0 0; }
.use-list > div { padding: 22px 0; border-top: 1px solid var(--line); }
.use-list dt { font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; }
.use-list dd { margin: 0; color: #ccd8d2; }
@media (max-width: 760px) { .use-list { grid-template-columns: 1fr; } }

.pricing-teaser { background: var(--surface); }
.teaser-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.teaser-grid p { color: #ccd8d2; max-width: 56ch; }
.price-line { font-size: 1.1rem; }
.price { font-size: 2.6rem; font-weight: 780; letter-spacing: -0.03em; color: #fff; margin-right: 6px; }
@media (max-width: 820px) { .teaser-grid { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */
.page-head { padding: clamp(40px, 6vw, 72px) 0 12px; }
.page-head h1 { max-width: 20ch; }
.page-head + section { padding-top: 24px; }

.interval { display: inline-flex; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 24px; }
.interval button { border: 0; background: transparent; color: var(--muted); font: 600 .95rem var(--font); padding: 9px 16px; border-radius: 7px; cursor: pointer; }
.interval button[aria-checked="true"] { background: var(--surface-2); color: #fff; }
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.plan { padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); }
.plan-pro { border: 2px solid var(--sage); background: linear-gradient(180deg, #153a3b, var(--surface) 60%); }
.plan h2 { font-size: 1.4rem; margin-bottom: .3em; }
.plan-price { margin: 0 0 .4em; }
.plan-sum { color: #ccd8d2; min-height: 3.2em; }
.plan .btn { margin: 4px 0 6px; }
.plan .ticks { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.plan-note { margin-bottom: 0; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: .98rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { color: var(--muted); font-weight: 600; font-size: .9rem; }
tbody th { font-weight: 560; }
.compare td:last-child { color: var(--sage-strong); }

.faq-wrap > * { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 640; font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--sage); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: #ccd8d2; margin: 0 0 18px; }

.onboard-steps { list-style: none; padding: 0; margin: 0; counter-reset: ob; }
.ob-step { counter-increment: ob; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: 36px 0; border-top: 1px solid var(--line); }
.ob-text h2 { font-size: 1.6rem; display: flex; gap: 14px; align-items: center; }
.ob-text h2::before { content: counter(ob); flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--marker); color: #fff; font-size: 1rem; font-weight: 800; box-shadow: 0 0 0 2.5px #fff; }
.ob-text p { color: #ccd8d2; }
.try-img { display: block; width: 100%; height: auto; border-radius: var(--radius-m); border: 1px solid var(--line); }
.pin-bar { fill: #282c33; } .pin-url { fill: #1c1f24; }
.pin-puzzle path { fill: #cfd6de; } .pin-avatar { fill: #5b6b73; }
.pin-pop rect { fill: #3a3f47; } .pin-pop text { fill: #fff; font: 600 15px var(--font); } .pin-pop .pin-head { fill: #b6bec7; font-size: 12px; font-weight: 600; }
.pin-pin path { fill: #cfd6de; } .pin-pin .pin-needle { fill: none; stroke: #cfd6de; stroke-width: 2; stroke-linecap: round; }
.pin-ring { fill: none; stroke: var(--marker); stroke-width: 3.5; filter: drop-shadow(0 0 1.5px #fff); }
.keys-table { margin: 0; background: var(--surface); border-radius: var(--radius-m); overflow: hidden; }
.keys-table th, .keys-table td { padding: 12px 16px; }
.keys-table tr:last-child > * { border-bottom: 0; }
@media (max-width: 820px) { .ob-step { grid-template-columns: 1fr; } }

.form { display: grid; gap: 18px; margin-bottom: 28px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.form legend { font-weight: 650; margin-bottom: 8px; }
.choice { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--sage); background: var(--surface); }
.choice input { accent-color: var(--sage); width: 18px; height: 18px; }
.field { display: grid; gap: 6px; }
.field span { font-weight: 600; font-size: .95rem; }
input[type="email"], input[type="text"], textarea, select {
  width: 100%; padding: 12px 14px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--ink-deep); color: var(--paper); font: 400 1rem/1.4 var(--font);
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--sage); outline: none; box-shadow: 0 0 0 3px rgba(167, 199, 165, .25); }
.form .btn { justify-self: start; }
.form-msg { min-height: 1.4em; margin: 0; font-weight: 560; }
.form-msg.ok { color: var(--sage-strong); }
.form-msg.err { color: #ff8a80; }
.reinstall { margin-top: 8px; }
.help-notes { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.help-notes h2 { font-size: 1.4rem; }
.help-notes dt { font-weight: 650; margin-top: 16px; }
.help-notes dd { margin: 4px 0 0; color: #ccd8d2; }

.panel { padding: 26px 28px; margin-bottom: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); }
.panel h2 { font-size: 1.3rem; }
.panel > :last-child { margin-bottom: 0; }
.who { display: flex; align-items: center; gap: 16px; }
.who > div { flex: 1; min-width: 0; }
.who p { margin: 0; }
.who-name { font-weight: 700; font-size: 1.1rem; }
.avatar { border-radius: 50%; }
.plan-state { font-size: 1.5rem; font-weight: 740; margin-bottom: 4px; }
.banner { padding: 14px 18px; border-radius: 10px; background: #2b4a3a; border: 1px solid var(--sage-deep); font-weight: 560; }
.banner.err { background: #4a2526; border-color: #8e3b3b; }

.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.3em; }
.legal p, .legal li { color: #d3ddd6; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }

.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 32px; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.stat-row > div { padding: 18px 20px; background: var(--surface); }
.stat-row > div + div { border-left: 1px solid var(--line); }
.stat-row dt { color: var(--muted); font-size: .9rem; }
.stat-row dd { margin: 4px 0 0; font-size: 2rem; font-weight: 760; }
@media (max-width: 640px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat-row > div:nth-child(3) { border-left: 0; } .stat-row > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.page-admin td { font-size: .9rem; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink-deep); border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { color: var(--muted); max-width: 32ch; margin-top: 12px; }
.foot-h { font-size: .95rem; font-weight: 700; color: var(--paper); margin-bottom: 10px; letter-spacing: 0; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin: 7px 0; }
.site-foot li a { color: #c3cfc9; text-decoration: none; }
.site-foot li a:hover { color: #fff; text-decoration: underline; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(52, 73, 79, .6); }
.foot-base p { font-size: .85rem; color: var(--muted); margin: 0; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
