/* ═══════════════════════════════════════════════════════════════
   forma — design system v4 · "Momentum"
   ───────────────────────────────────────────────────────────────
   Fresh, light, product-led. Soft canvas, deep forest green, one
   lime accent. Rounded surfaces, layered real-product UI, bento
   layouts. Type: Inter only (self-hosted), weights 300–500.
   Colour roles: lime = brand + action. Coral = at-risk only.
   Product UI keeps its own data colours (blue/green/red).
   ═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink:      #0e1411;
  --forest:   #0f2b22;
  --forest-2: #17392d;
  --forest-3: #20493a;
  --canvas:   #f4f6f1;
  --paper:    #ffffff;
  --mint:     #e7f6d6;
  --lime:     #cdf545;
  --lime-2:   #bfe937;
  --leaf:     #7fc41a;   /* lime on light backgrounds (logo dot, small marks) */

  --text:     #0e1411;
  --text-2:   #46524b;   /* body on canvas  7.7:1 */
  --text-3:   #5f6b64;   /* labels on canvas 5.2:1 */
  --fog:      #aebcb3;   /* text on forest  7.6:1 */
  --line:     rgba(14,20,17,.09);
  --line-2:   rgba(14,20,17,.16);
  --line-d:   rgba(255,255,255,.14);

  --coral:    #ff6a45;   /* at-risk on dark */
  --coral-t:  #c63d1b;   /* at-risk text on light 5.0:1 */
  --go:       #11763e;   /* on-track on light  5.2:1 on canvas, 5.7:1 on white */

  /* product-UI data colours — as the app uses them */
  --ui-blue:  #4f7cff;
  --ui-amber: #e3a13f;
  --ui-purple:#b95bd6;

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --gutter: clamp(20px, 4vw, 48px);
  --pad: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 68px;
  --shadow-1: 0 1px 2px rgba(14,20,17,.05), 0 8px 24px -12px rgba(14,20,17,.12);
  --shadow-2: 0 2px 4px rgba(14,20,17,.04), 0 24px 56px -20px rgba(14,20,17,.22);
  --shadow-3: 0 4px 8px rgba(14,20,17,.05), 0 40px 80px -24px rgba(14,20,17,.32);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); background: var(--forest); }
body {
  font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--canvas);
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
strong, b { font-weight: 500; }
button { background: none; border: 0; cursor: pointer; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.ink :focus-visible, .nav-dark :focus-visible, .footer :focus-visible { outline-color: var(--lime); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 99px; font-weight: 500; }
.skip:focus { top: 12px; }
::selection { background: var(--lime); color: var(--ink); }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ── type ── */
h1, h2, h3, h4 { font-weight: 450; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.2vw, 88px); line-height: 1.02; letter-spacing: -.046em; }
h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -.04em; }
h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -.028em; }
h4 { font-size: 17px; line-height: 1.3; font-weight: 500; letter-spacing: -.012em; }
p { text-wrap: pretty; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--text-2); max-width: 34em; letter-spacing: -.01em; }
.ink .lead { color: var(--fog); }
.body { color: var(--text-2); max-width: 38em; }
.ink .body { color: var(--fog); }
.label { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-feature-settings: "tnum"; }
.ink .label { color: var(--fog); }

/* marker: the brand gesture in headlines */
mark {
  color: inherit; padding: 0 .06em; margin: 0 -.06em;
  background: linear-gradient(transparent 56%, var(--lime) 56%, var(--lime) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.ink mark { background: none; color: var(--lime); }
.on-lime mark { background: var(--forest); color: var(--lime); padding: 0 .14em; margin: 0 -.04em; border-radius: .16em; }

/* status dot — the logo's full stop, used as the site's indicator */
.dot { display: inline-block; width: .5em; height: .5em; border-radius: 99px; background: var(--go); flex-shrink: 0; }
.dot.risk { background: var(--coral); }
.pill-tag {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 12px; border-radius: 99px;
  background: var(--paper); border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; letter-spacing: -.005em; color: var(--text);
}
.pill-tag .dot { width: 8px; height: 8px; background: var(--leaf); }
.ink .pill-tag { background: rgba(255,255,255,.08); border-color: var(--line-d); color: var(--paper); }
.ink .pill-tag .dot { background: var(--lime); }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px;
  border-radius: 99px; border: 1px solid transparent; font-size: 15.5px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .arr { width: 16px; height: 16px; transition: transform .25s var(--ease); flex-shrink: 0; }
.btn:hover .arr { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--forest-3); }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(127,196,26,.7); }
.btn-lime:hover { background: #dbff62; }
.btn-line { background: var(--paper); border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.ink .btn-line { background: transparent; border-color: rgba(255,255,255,.3); color: var(--paper); }
.ink .btn-line:hover { border-color: var(--paper); background: rgba(255,255,255,.06); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--mint); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14.5px; gap: 8px; }
.btn[disabled] { opacity: .55; cursor: default; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.link .arr { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.link:hover .arr { transform: translateX(4px); }
.link span { border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* ═══════════ NAV ═══════════ */
.nav { position: sticky; top: 0; z-index: 60; height: var(--nav-h); background: rgba(244,246,241,.93); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--line); }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 28px; font-weight: 500; letter-spacing: -.055em; line-height: 1; display: inline-flex; align-items: baseline; }
.brand::after { content: ""; width: .17em; height: .17em; border-radius: 99px; background: var(--leaf); margin-left: .05em; }
.footer .brand::after { background: var(--lime); }
.nav-links { display: flex; gap: 4px; background: rgba(14,20,17,.045); padding: 4px; border-radius: 99px; }
.nav-links a { font-size: 14.5px; color: var(--text-2); padding: 8px 16px; border-radius: 99px; transition: background .2s, color .2s; font-weight: 450; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; height: 42px; padding: 0 16px; display: inline-flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 99px; font-size: 14px; font-weight: 500; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary i { width: 14px; height: 8px; position: relative; display: block; }
.menu summary i::before, .menu summary i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu summary i::before { top: 0; } .menu summary i::after { top: 6px; }
.menu[open] summary i::before { top: 3px; transform: rotate(45deg); }
.menu[open] summary i::after { top: 3px; transform: rotate(-45deg); }
.menu-panel { position: absolute; left: 12px; right: 12px; top: calc(var(--nav-h) + 4px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-3); padding: 8px 20px 20px; }
.menu-panel a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 21px; letter-spacing: -.03em; border-bottom: 1px solid var(--line); }
.menu-panel a[aria-current="page"] { color: var(--go); }
.menu-panel .btn { margin-top: 18px; width: 100%; font-size: 15px; letter-spacing: -.01em; border: 0; justify-content: center; background: var(--ink); color: var(--paper); }
@media (max-width: 960px) { .nav-links { display: none; } .menu { display: block; } .nav-cta .btn { display: none; } .nav-cta { gap: 0; } }

/* ═══════════ HERO ═══════════ */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 72px) 0 0; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 70vw; max-width: 980px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(205,245,69,.65), rgba(205,245,69,0) 70%); filter: blur(10px);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; left: -15%; top: 30%; width: 50vw; max-width: 700px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(231,246,214,.9), rgba(231,246,214,0) 70%);
}
.hero-grid { display: grid; grid-template-columns: 5.5fr 6.5fr; gap: clamp(24px, 3vw, 48px); align-items: center; }
.hero-copy { padding: clamp(16px, 3vw, 40px) 0 clamp(40px, 5vw, 72px); }
.hero h1 { margin: 24px 0 24px; font-size: clamp(40px, 5.2vw, 76px); }
.hero .lead { margin-bottom: 34px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { margin-top: 28px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-3); }
.hero-note svg { width: 16px; height: 16px; color: var(--go); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero-copy { padding-bottom: 8px; } }

/* hero device scene */
.scene-hero { position: relative; height: clamp(500px, 46vw, 660px); }
.dash { position: absolute; left: 0; right: 24%; top: 3%; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-3); border: 1px solid var(--line); overflow: hidden; }
.dash-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dash-bar strong { font-weight: 500; font-size: 15px; letter-spacing: -.015em; }
.dash-sum { display: flex; gap: 14px; align-items: center; font-size: 12.5px; font-weight: 500; }
.chip-sample { font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); background: var(--canvas); padding: 4px 9px; border-radius: 99px; white-space: nowrap; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 16px 6px; }
.dstat { background: var(--canvas); border-radius: 14px; padding: 12px 14px; }
.dstat span { font-size: 11px; color: var(--text-3); font-weight: 500; display: block; margin-bottom: 6px; }
.dstat b { font-size: 26px; font-weight: 400; letter-spacing: -.04em; line-height: 1; font-feature-settings: "tnum"; display: block; }
.dstat small { font-size: 11px; color: var(--go); font-weight: 500; }
.roster { font-size: 13.5px; padding: 6px 8px 8px; }
.r-row { display: grid; grid-template-columns: 1.7fr 1.4fr 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; font-variant-numeric: tabular-nums; }
.r-row + .r-row { margin-top: 2px; }
.dash .r-row { padding-right: 116px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; gap: 10px; }   /* clear of the overlapping phone */
.dash .r-name { overflow: hidden; text-overflow: ellipsis; }
.dash .r-name .avatar { flex-shrink: 0; }
.dash .r-comp span:last-child { width: 30px; font-size: 12.5px; }
@media (max-width: 560px) { .dash .r-row { padding-right: 56px; grid-template-columns: 1.5fr 1fr; } .dash .r-comp { display: none; } }
.r-name { display: flex; align-items: center; gap: 10px; font-weight: 500; min-width: 0; white-space: nowrap; }
.avatar { width: 28px; height: 28px; border-radius: 99px; background: var(--canvas); flex-shrink: 0; font-size: 10px; font-weight: 500; color: var(--text-3); display: inline-flex; align-items: center; justify-content: center; }
.r-comp { display: flex; align-items: center; gap: 10px; }
.r-comp .bar { flex: 1; }
.r-comp span:last-child { width: 32px; text-align: right; color: var(--text-2); }
.bar { height: 6px; background: var(--canvas); border-radius: 99px; overflow: hidden; display: block; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
.bar.risk i { background: var(--coral); }
.state { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; white-space: nowrap; font-size: 12.5px; }
.state .dot { width: 8px; height: 8px; }
.r-flag { background: #fff1ec; }
.r-flag .state { color: var(--coral-t); }
.toast { position: absolute; z-index: 3; left: 3%; bottom: 8%; display: flex; gap: 12px; align-items: flex-start; background: var(--ink); color: var(--paper); border-radius: 20px; padding: 14px 18px 14px 14px; width: min(300px, 56%); box-shadow: var(--shadow-3); animation: bob 7s ease-in-out infinite; }
.toast .ic { width: 34px; height: 34px; border-radius: 12px; background: rgba(255,106,69,.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.toast .ic .dot { width: 10px; height: 10px; background: var(--coral); box-shadow: 0 0 0 4px rgba(255,106,69,.25); }
.toast b { display: block; font-size: 13.5px; font-weight: 500; letter-spacing: -.01em; }
.toast small { font-size: 12.5px; color: var(--fog); line-height: 1.4; display: block; margin-top: 2px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.phone-wrap { position: absolute; right: 0; bottom: 0; width: clamp(200px, 19vw, 244px); z-index: 2; }
.phone { background: #17201c; border-radius: 40px 40px 0 0; padding: 8px 8px 0; box-shadow: 0 0 0 1px #33403a, var(--shadow-3); }
.screen { background: var(--paper); border-radius: 32px 32px 0 0; height: clamp(340px, 31vw, 430px); overflow: hidden; position: relative; }
.island { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 72px; height: 21px; background: #0a0d0b; border-radius: 99px; z-index: 2; }
.p-top { padding: 13px 20px 0; font-size: 11px; font-weight: 500; }
.p-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 6px; }
.p-wm { font-size: 17px; font-weight: 500; letter-spacing: -.05em; display: inline-flex; align-items: baseline; }
.p-wm::after { content: ""; width: 4px; height: 4px; border-radius: 99px; background: var(--ink); margin-left: 1px; }
.p-av { width: 26px; height: 26px; border-radius: 99px; background: #eee; color: #8a9bad; font-size: 9px; font-weight: 500; display: flex; align-items: center; justify-content: center; }
.p-body { padding: 4px 12px 0; display: grid; gap: 8px; }
.p-hi { font-size: 19px; letter-spacing: -.035em; line-height: 1.1; padding: 4px 4px 2px; font-weight: 450; }
.p-card { background: #f4f3ef; border-radius: 16px; padding: 12px; }
.p-lab { font-size: 8.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 5px; }
.p-t { font-size: 12.5px; font-weight: 500; }
.p-m { font-size: 10.5px; color: var(--text-2); }
.p-btn { margin-top: 9px; background: var(--ink); color: #fff; border-radius: 99px; text-align: center; font-size: 11px; font-weight: 500; padding: 8px 0; }
.p-dots { display: flex; gap: 3px; margin: 8px 0 2px; }
.p-dots i { flex: 1; height: 4px; border-radius: 99px; background: rgba(14,20,17,.13); }
.p-dots i.f { background: var(--ink); }
@media (max-width: 980px) { .scene-hero { height: 560px; max-width: 680px; } .dash { right: 24%; } }
@media (max-width: 560px) {
  .scene-hero { height: 400px; margin-bottom: 8px; }
  .dash { right: 28%; top: 0; }
  .phone-wrap { width: 150px; right: -4px; }
  .screen { height: 250px; }
  .toast { display: none; }
  .dstat { padding: 9px 9px; border-radius: 12px; }
  .dstat span { font-size: 9.5px; }
  .dstat b { font-size: 19px; }
  .dstat small { font-size: 10px; }
  .dash-bar { padding: 12px 14px; }
  .dash-sum .state { display: none; }
  .dash-stats { padding: 10px 10px 4px; gap: 6px; }
  .dash .r-row { padding-right: 66px; grid-template-columns: minmax(0, 1fr) auto; }
  .dash .r-name { font-size: 13px; }
  .statbar { margin-top: 20px; }
}

/* stat bar under the hero */
.statbar { margin-top: clamp(8px, 2vw, 24px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 2; }
.stat { padding: 26px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat dt { font-size: clamp(34px, 3.4vw, 48px); letter-spacing: -.05em; line-height: 1; font-weight: 400; font-feature-settings: "tnum"; }
.stat dd { margin-top: 10px; font-size: 14.5px; color: var(--text-2); line-height: 1.4; max-width: 17em; }
@media (max-width: 860px) { .statbar { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .stat { padding: 20px 18px; } }

/* integrations */
.strip { padding: clamp(36px, 5vw, 64px) 0 0; }
.strip-in { text-align: center; }
.strip-in .label { margin-bottom: 20px; }
.strip-list { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; justify-content: center; }
.logo-item { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.logo-icon { width: 20px; height: 20px; display: inline-flex; }
.logo-icon svg, .logo-wordmark svg { width: 100%; height: 100%; }
.logo-wordmark { display: inline-flex; width: 74px; height: 14px; }

/* ═══════════ SECTIONS ═══════════ */
.sec { padding: var(--pad) 0; position: relative; }
.sec.ink { background: var(--forest); color: var(--paper); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.sec.white { background: var(--paper); }
.sec.tight { padding: clamp(40px, 5vw, 72px) 0; }
.sec-head { display: block; margin-bottom: clamp(36px, 5vw, 64px); max-width: 880px; }
.sec-no { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px 0 12px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line-2); margin-bottom: 22px; }
.sec-no b { font-weight: 500; font-feature-settings: "tnum"; color: var(--text); font-size: 12.5px; }
.sec-no .label { text-transform: none; letter-spacing: -.005em; font-size: 13px; font-weight: 500; color: var(--text); }
.sec-no b::after { content: "·"; margin-left: 10px; color: var(--text-3); }
.ink .sec-no { background: rgba(255,255,255,.08); border-color: var(--line-d); }
.ink .sec-no b, .ink .sec-no .label { color: var(--paper); }
.sec-head .lead { margin-top: 20px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }

/* 01 leaks */
.ledger { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.leak { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-1); }
.leak-n { width: 44px; height: 44px; border-radius: 99px; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 500; }
.leak h3 { font-size: 26px; }
.leak .pain { color: var(--text-2); }
.fix { margin-top: auto; padding: 18px; background: var(--mint); border-radius: var(--r-md); }
.fix .label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--forest); }
.fix .label .dot { background: var(--leaf); }
.fix p { font-size: 15.5px; color: var(--forest); }
@media (max-width: 900px) { .ledger { grid-template-columns: 1fr; } }

/* 02 a week with Forma — sticky scroll narrative */
.week { --n: 5; position: relative; height: calc(var(--n) * 78vh); }
.week-stage { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); min-height: 560px; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.week-steps { display: grid; gap: 8px; }
.step { padding: 18px 22px; border-radius: var(--r-md); display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; opacity: .5; transition: opacity .35s var(--ease), background .35s var(--ease); cursor: pointer; width: 100%; border: 1px solid transparent; }
.step-day { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding-top: 6px; color: var(--fog); font-feature-settings: "tnum"; }
.step h3 { font-size: clamp(19px, 1.9vw, 24px); }
.step p { max-height: 0; overflow: hidden; color: var(--fog); font-size: 15.5px; transition: max-height .45s var(--ease), margin .45s var(--ease); }
.step .scene-inline { display: none; }
.week[data-step="0"] .step:nth-child(1), .week[data-step="1"] .step:nth-child(2), .week[data-step="2"] .step:nth-child(3), .week[data-step="3"] .step:nth-child(4), .week[data-step="4"] .step:nth-child(5) { opacity: 1; background: rgba(255,255,255,.07); border-color: var(--line-d); }
.week[data-step="0"] .step:nth-child(1) p, .week[data-step="1"] .step:nth-child(2) p, .week[data-step="2"] .step:nth-child(3) p, .week[data-step="3"] .step:nth-child(4) p, .week[data-step="4"] .step:nth-child(5) p { max-height: 160px; margin-top: 8px; }
.week[data-step="0"] .step:nth-child(1) .step-day, .week[data-step="1"] .step:nth-child(2) .step-day, .week[data-step="2"] .step:nth-child(3) .step-day, .week[data-step="3"] .step:nth-child(4) .step-day, .week[data-step="4"] .step:nth-child(5) .step-day { color: var(--lime); }
.scenes { position: relative; height: min(540px, 100%); border-radius: var(--r-xl); background: radial-gradient(80% 80% at 70% 20%, rgba(205,245,69,.18), transparent 70%), var(--forest-2); border: 1px solid var(--line-d); }
.scene { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 28px; opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.week[data-step="0"] .scene:nth-child(1), .week[data-step="1"] .scene:nth-child(2), .week[data-step="2"] .scene:nth-child(3), .week[data-step="3"] .scene:nth-child(4), .week[data-step="4"] .scene:nth-child(5) { opacity: 1; transform: none; pointer-events: auto; }
.week-note { position: absolute; left: 24px; bottom: 16px; font-size: 12px; color: var(--fog); }
@media (max-width: 960px) {
  .week { height: auto; }
  .week-stage { position: static; height: auto; min-height: 0; display: block; }
  .scenes { display: none; }
  .step { opacity: 1; cursor: default; grid-template-columns: 1fr; gap: 8px; padding: 22px; background: rgba(255,255,255,.06); border-color: var(--line-d); }
  .week-steps { gap: 12px; }
  .step-day { color: var(--lime); padding-top: 0; }
  .step p { max-height: none; margin-top: 8px; }
  .step .scene-inline { display: block; margin-top: 18px; }
  .step .scene-inline .ui { max-width: none; }
}

/* UI specimen atoms */
.ui { background: var(--paper); color: var(--ink); border-radius: var(--r-md); width: 100%; max-width: 520px; padding: 8px; box-shadow: var(--shadow-3); }
.ui-title { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 10px; font-size: 13.5px; font-weight: 500; }
.ui-title span:last-child { color: var(--text-3); font-weight: 400; font-size: 12px; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px; margin: 2px 0; border-radius: 14px; background: var(--canvas); font-size: 14px; }
.ui-row > span:first-child { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 500; }
.ui-row > span:last-child { color: var(--text-3); flex-shrink: 0; font-size: 13px; }
.badge { font-size: 11.5px; font-weight: 500; padding: 3px 10px; border-radius: 99px; background: #dff3e6; color: var(--go) !important; }
.tag { font-size: 12px; font-weight: 500; padding: 2px 9px; border-radius: 99px; background: var(--paper); color: var(--text-2) !important; }
.ui-big { font-size: 44px; letter-spacing: -.045em; line-height: 1; font-weight: 400; padding: 6px 12px 0; font-feature-settings: "tnum"; }
.ui-chart { padding: 8px 12px 14px; }
.ui-chart svg { width: 100%; height: 72px; overflow: visible; }
.ui-chart polyline { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ui-note { font-size: 12px; color: var(--text-3); padding: 10px 12px 8px; }
.ui .btn-sm { width: calc(100% - 24px); margin: 6px 12px 10px; }
.msg { margin: 8px 12px 12px; padding: 12px 14px; background: var(--mint); border-radius: 16px 16px 16px 4px; font-size: 14px; color: var(--forest); }
.avatar.sm { width: 22px; height: 22px; }

/* 03 jobs — bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 28px 0; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-1); overflow: hidden; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); min-height: 380px; }
.bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.bcard.s3 { grid-column: span 3; }
.bcard.s2 { grid-column: span 2; }
.bcard.dark { background: var(--forest); color: var(--paper); border-color: transparent; }
.bcard.lime { background: var(--lime); border-color: transparent; }
.bcard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bcard .num { font-size: 12.5px; font-weight: 500; color: var(--text-3); font-feature-settings: "tnum"; }
.bcard .go { width: 36px; height: 36px; border-radius: 99px; background: var(--canvas); display: flex; align-items: center; justify-content: center; transition: background .2s, transform .25s var(--ease); }
.bcard:hover .go { background: var(--lime); transform: rotate(-45deg); }
.bcard .go svg { width: 14px; height: 14px; }
.bcard.dark .go { background: rgba(255,255,255,.14); color: #fff; }
.bcard:hover .go { color: var(--ink); }
.ui-row .avatar { background: var(--paper); }
.bcard h3 { font-size: clamp(24px, 2.4vw, 32px); }
.bcard p { color: var(--text-2); font-size: 15.5px; max-width: 26em; }
.bcard.dark p { color: var(--fog); }
.rep { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); background: var(--canvas); border-radius: 99px; padding: 5px 12px; }
.rep b { font-weight: 500; color: var(--text-2); }
.bcard .spec { margin-top: auto; padding-top: 18px; display: flex; justify-content: center; align-items: flex-end; }
.bcard .spec .ui { box-shadow: var(--shadow-2); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r-md) var(--r-md) 0 0; max-width: 100%; }
.bcard .spec .ui .ui-row:last-child { margin-bottom: 0; }
@media (max-width: 1000px) { .bcard.s2 { grid-column: span 3; } .bcard.s2:last-child { grid-column: span 6; } }
@media (max-width: 700px) { .bcard.s3, .bcard.s2, .bcard.s2:last-child { grid-column: span 6; } .bcard { min-height: 0; } }

/* 04 insights (home, forest) */
.signal-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.idx { margin-top: 32px; display: grid; gap: 8px; }
.idx a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid var(--line-d); font-size: 16.5px; font-weight: 450; transition: background .2s, transform .25s var(--ease); }
.idx a span { color: var(--fog); font-size: 13.5px; font-weight: 400; text-align: right; }
.idx a:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.flow { display: grid; gap: 12px; }
.flow-card { background: var(--forest-2); border: 1px solid var(--line-d); border-radius: var(--r-lg); padding: 22px; }
.flow-card .label { margin-bottom: 14px; display: flex; justify-content: space-between; }
.flow-chart svg { width: 100%; height: 96px; overflow: visible; }
.flow-chart polyline { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.flag { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; background: var(--paper); color: var(--ink); border: 0; }
.flag .risk-t { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-t); margin-bottom: 8px; }
.flag p { font-size: 17px; letter-spacing: -.01em; }
.flag .btn { margin-top: 16px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-stats .flow-card { padding: 18px 20px; }
.mini-stats b { display: block; font-size: 38px; font-weight: 400; letter-spacing: -.045em; line-height: 1; font-feature-settings: "tnum"; }
.mini-stats small { display: block; margin-top: 8px; font-size: 13px; color: #6fe19a; font-weight: 500; }
.mini-stats .label { margin-bottom: 12px; display: block; }
@media (max-width: 960px) { .signal-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .mini-stats { grid-template-columns: 1fr; } }

/* 05 money */
.money { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.money .body + .body { margin-top: 16px; }
.calc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; }
.calc-top { padding: 26px 28px 6px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.calc-top output { font-size: clamp(38px, 4vw, 54px); letter-spacing: -.05em; font-weight: 400; line-height: 1; font-feature-settings: "tnum"; }
.calc-range { padding: 6px 28px 24px; }
.calc input[type=range] { width: 100%; appearance: none; -webkit-appearance: none; height: 6px; border-radius: 99px; background: var(--canvas); outline: none; margin: 18px 0 8px; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 99px; background: var(--lime); border: 3px solid var(--ink); cursor: grab; box-shadow: 0 4px 10px rgba(14,20,17,.25); }
.calc input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 99px; background: var(--lime); border: 3px solid var(--ink); cursor: grab; }
.calc input[type=range]:focus-visible { outline: 2px solid var(--ink); outline-offset: 8px; }
.calc-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); }
.calc-plan { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 20px 20px; }
.calc-plan label { padding: 14px 16px; cursor: pointer; font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-radius: var(--r-md); background: var(--canvas); border: 1px solid transparent; transition: background .2s; }
.calc-plan input { position: absolute; opacity: 0; }
.calc-plan label:has(input:checked) { background: var(--ink); color: var(--paper); }
.calc-plan label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.calc-plan b { font-weight: 500; }
.calc-out { margin: 0 20px; border-top: 1px solid var(--line); }
.calc-line { display: flex; justify-content: space-between; padding: 13px 8px; border-bottom: 1px solid var(--line); font-size: 15px; font-feature-settings: "tnum"; }
.calc-line span:last-child { font-weight: 500; }
.calc-line.total { background: var(--lime); border: 0; border-radius: var(--r-md); margin: 14px 0 0; font-size: 19px; padding: 18px 20px; letter-spacing: -.02em; }
.calc-foot { padding: 16px 28px 22px; font-size: 13px; color: var(--text-3); }
@media (max-width: 960px) { .money { grid-template-columns: 1fr; } }

/* 06 switching */
.cols4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.col4 { background: var(--canvas); border-radius: var(--r-lg); padding: 26px; }
.sec.white .col4 { background: var(--canvas); }
.col4 .ico { width: 48px; height: 48px; border-radius: 16px; background: var(--paper); display: flex; align-items: center; justify-content: center; margin-bottom: 36px; box-shadow: var(--shadow-1); }
.col4 .ico svg { width: 22px; height: 22px; }
.col4 h3 { font-size: 22px; margin-bottom: 10px; }
.col4 p { color: var(--text-2); font-size: 15.5px; }
.col4 .num { display: none; }
@media (max-width: 960px) { .cols4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cols4 { grid-template-columns: 1fr; } .col4 .ico { margin-bottom: 22px; } }

/* 07 trust (forest) */
.facts-d { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fd { background: var(--forest-2); border: 1px solid var(--line-d); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 12px; align-content: start; }
.fd .num { width: 34px; height: 34px; border-radius: 99px; background: rgba(205,245,69,.14); color: var(--lime); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; font-feature-settings: "tnum"; margin-bottom: 12px; }
.fd h3 { font-size: clamp(22px, 2.2vw, 28px); }
.fd p { color: var(--fog); font-size: 16px; max-width: 30em; }
@media (max-width: 760px) { .facts-d { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; align-items: start; }
.faq-col { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow-1); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; font-size: clamp(16.5px, 1.4vw, 19px); letter-spacing: -.02em; line-height: 1.3; font-weight: 450; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 30px; height: 30px; border-radius: 99px; flex-shrink: 0; background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat, var(--canvas); transition: transform .3s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.faq .a { padding: 0 64px 22px 24px; color: var(--text-2); max-width: 36em; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* closing CTA */
.cta-wrap { padding: 0 var(--gutter) clamp(32px, 4vw, 56px); }
.cta-block { position: relative; overflow: hidden; max-width: 1240px; margin: 0 auto; background: var(--lime); color: var(--ink); border-radius: var(--r-xl); padding: clamp(40px, 6vw, 88px) clamp(28px, 5vw, 72px); isolation: isolate; }
.cta-block::before, .cta-block::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1.5px solid rgba(15,43,34,.14); }
.cta-block::before { width: 620px; height: 620px; right: -140px; top: -220px; }
.cta-block::after { width: 420px; height: 420px; right: 0; top: -110px; }
.cta-block h2 { font-size: clamp(36px, 5.6vw, 84px); letter-spacing: -.048em; line-height: 1.04; max-width: 11em; }
.cta-block .cta-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.cta-block p { font-size: clamp(18px, 1.6vw, 21px); max-width: 26em; letter-spacing: -.01em; color: var(--forest); }
.cta-block .btn-ink:hover { background: var(--forest-3); }

/* ═══════════ FOOTER ═══════════ */
.footer { background: var(--forest); color: var(--paper); padding: 72px 0 0; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.footer-grid { display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: 40px; padding-bottom: 64px; }
.footer .brand { font-size: 40px; }
.footer-tag { color: var(--fog); font-size: 16px; margin-top: 18px; max-width: 20em; }
.footer h5 { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--fog); margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; font-size: 16px; color: var(--paper); }
.footer-col a:hover { color: var(--lime); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--line-d); font-size: 13.5px; color: var(--fog); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; } }

/* ═══════════ SUB-PAGES ═══════════ */
.page-hero { background: var(--forest); color: var(--paper); padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 88px); position: relative; overflow: hidden; isolation: isolate; border-radius: 0 0 var(--r-xl) var(--r-xl); }
.page-hero::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -40%; width: 60vw; max-width: 800px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(205,245,69,.28), rgba(205,245,69,0) 70%); }
.page-hero.light { background: transparent; color: var(--ink); border-radius: 0; }
.page-hero.light::before { background: radial-gradient(closest-side, rgba(205,245,69,.5), rgba(205,245,69,0) 70%); }
.page-hero h1 { margin: 22px 0 24px; font-size: clamp(40px, 5.8vw, 84px); max-width: 12em; }
.page-hero .lead { max-width: 34em; }
.page-hero.light .lead { color: var(--text-2); }
.crumbs { font-size: 13.5px; color: var(--fog); display: flex; gap: 8px; }
.page-hero.light .crumbs { color: var(--text-3); }
.crumbs a:hover { color: var(--lime); }
.page-hero.light .crumbs a:hover { color: var(--ink); }
.sec.after-hero { padding-top: clamp(48px, 6vw, 80px); }

/* product & insights chapters */
.subnav { position: sticky; top: var(--nav-h); z-index: 40; padding: 14px 0; background: linear-gradient(var(--canvas) 70%, rgba(244,246,241,0)); }
.subnav-in { display: inline-flex; gap: 4px; overflow-x: auto; scrollbar-width: none; background: var(--paper); border: 1px solid var(--line); padding: 4px; border-radius: 99px; max-width: 100%; box-shadow: var(--shadow-1); }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { padding: 9px 18px; font-size: 14px; font-weight: 450; color: var(--text-2); white-space: nowrap; border-radius: 99px; display: inline-flex; gap: 8px; transition: color .2s, background .2s; }
.subnav a b { font-weight: 500; font-feature-settings: "tnum"; color: var(--text-3); }
.subnav a:hover { color: var(--ink); }
.subnav a.on { background: var(--ink); color: var(--paper); }
.subnav a.on b { color: var(--lime); }
.chapter { padding: clamp(40px, 6vw, 80px) 0; }
.chapter-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.chapter-copy { position: sticky; top: calc(var(--nav-h) + 90px); }
.chapter-copy .num { display: inline-flex; width: 52px; height: 52px; border-radius: 99px; background: var(--lime); align-items: center; justify-content: center; font-size: 17px; font-weight: 500; font-feature-settings: "tnum"; margin-bottom: 24px; }
.chapter-copy h2 { font-size: clamp(30px, 3.4vw, 48px); margin-bottom: 20px; }
.chapter-copy .rep { margin-top: 26px; background: var(--paper); border: 1px solid var(--line); }
.points { margin-top: 24px; display: grid; gap: 4px; }
.points li { padding: 10px 0; font-size: 16px; display: flex; gap: 12px; align-items: center; color: var(--text-2); }
.points li::before { content: ""; width: 20px; height: 20px; border-radius: 99px; flex-shrink: 0; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23168a4a' stroke-width='1.8'%3E%3Cpath d='M3 7.5l2.8 2.6L11 4.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.chapter-spec { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; align-items: stretch; background-image: radial-gradient(70% 60% at 85% 0%, rgba(205,245,69,.22), transparent 70%); }
.chapter-spec .ui { max-width: none; box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.spec-cap { font-size: 12px; color: var(--text-3); display: flex; justify-content: space-between; gap: 12px; padding: 0 4px; }
.phone-spec { display: flex; justify-content: center; }
.phone-spec .phone { width: 250px; border-radius: 40px; padding: 8px; }
.phone-spec .screen { border-radius: 32px; height: 460px; }
@media (max-width: 960px) { .chapter-grid { grid-template-columns: 1fr; } .chapter-copy { position: static; } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.stat-tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; box-shadow: var(--shadow-1); }
.stat-tile .label { margin-bottom: 14px; display: block; }
.stat-tile b { font-size: 44px; font-weight: 400; letter-spacing: -.045em; line-height: 1; font-feature-settings: "tnum"; display: block; }
.stat-tile small { display: block; margin-top: 8px; color: var(--go); font-size: 13px; font-weight: 500; }
.ui-bar { display: grid; grid-template-columns: 20px minmax(0, 1fr) 1.2fr 38px; align-items: center; gap: 12px; padding: 12px; margin: 2px 0; border-radius: 14px; background: var(--canvas); font-size: 14px; }
.ui-bar .n { color: var(--text-3); font-feature-settings: "tnum"; }
.ui-bar .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.ui-bar .bar { background: var(--paper); }
.ui-bar .bar i { background: var(--ui-blue); }
.ui-bar .pct { text-align: right; color: var(--text-2); font-feature-settings: "tnum"; }
.donut-row { display: flex; align-items: center; gap: 22px; padding: 14px 12px 18px; }
.donut { width: 96px; height: 96px; border-radius: 99px; flex-shrink: 0; background: conic-gradient(var(--ui-blue) 0 45%, var(--ui-amber) 45% 75%, var(--ui-purple) 75% 100%); -webkit-mask: radial-gradient(circle 32px at center, transparent 98%, #000 100%); mask: radial-gradient(circle 32px at center, transparent 98%, #000 100%); }
.donut-row b { font-size: 34px; font-weight: 400; letter-spacing: -.045em; display: block; line-height: 1; }
.donut-row small { color: var(--go); font-weight: 500; font-size: 13px; display: block; margin-top: 6px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0 12px 14px; font-size: 12px; color: var(--text-3); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 99px; margin-right: 6px; }

/* data lists */
.src { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.src li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-1); }
.src .num { width: 34px; height: 34px; border-radius: 99px; background: var(--mint); color: var(--forest); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; font-feature-settings: "tnum"; margin-bottom: 36px; }
.src h3 { font-size: 22px; margin-bottom: 8px; }
.src p { color: var(--text-2); font-size: 15.5px; }
.src.two { grid-template-columns: 1fr 1fr; }
.src.two li h3 { font-size: clamp(24px, 2.4vw, 30px); }
.src.two li p { font-size: 17px; }
@media (max-width: 960px) { .src { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .src, .src.two { grid-template-columns: 1fr; } }

/* pricing page */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px 30px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-1); }
.plan.pro { background: var(--forest); color: var(--paper); border-color: transparent; box-shadow: var(--shadow-3); }
.plan-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; min-height: 30px; }
.plan h3 { font-size: 22px; font-weight: 450; }
.plan .tagp { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 6px 12px; border-radius: 99px; }
.plan-price { font-size: clamp(56px, 6vw, 80px); font-weight: 400; letter-spacing: -.055em; line-height: .95; font-feature-settings: "tnum"; }
.plan-price span { font-size: 15px; letter-spacing: 0; font-weight: 400; color: var(--text-3); margin-left: 8px; }
.plan.pro .plan-price span { color: var(--fog); }
.plan-note { margin: 14px 0 26px; color: var(--text-2); min-height: 52px; }
.plan.pro .plan-note { color: var(--fog); }
.plan ul { margin-bottom: 30px; display: grid; gap: 2px; }
.plan li { padding: 10px 0; font-size: 15.5px; display: flex; gap: 12px; align-items: center; }
.plan li svg { width: 20px; height: 20px; padding: 4px; border-radius: 99px; background: var(--mint); color: var(--go); flex-shrink: 0; }
.plan.pro li svg { background: rgba(205,245,69,.16); color: var(--lime); }
.plan .btn { margin-top: auto; justify-content: space-between; }
.plan .btn + .btn { margin-top: 8px; }
.plan.pro .btn-ink { background: var(--lime); color: var(--ink); }
.plan.pro .btn-ink:hover { background: #dbff62; }
.fee-row { margin-top: 16px; display: grid; grid-template-columns: 3fr 5fr 4fr; gap: 24px 40px; padding: 30px 32px; align-items: center; background: var(--lime); border-radius: var(--r-xl); }
.fee-row h3 { font-size: clamp(26px, 3vw, 38px); }
.fee-row .body { color: var(--forest); }
.fee-row ul li { padding: 5px 0; display: flex; gap: 12px; align-items: center; font-size: 16px; }
.fee-row ul svg { width: 20px; height: 20px; padding: 4px; border-radius: 99px; background: var(--forest); color: var(--lime); flex-shrink: 0; }
.fee-row .label { color: var(--forest); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 540px; } .plan-note { min-height: 0; } .fee-row { grid-template-columns: 1fr; } }
.toggle { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; font-size: 15px; color: var(--text-2); }
.switch { width: 48px; height: 28px; border: 1px solid var(--line-2); border-radius: 99px; position: relative; cursor: pointer; background: var(--paper); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 99px; background: var(--ink); transition: transform .2s var(--ease); }
.switch.on { background: var(--lime); }
.switch.on::after { transform: translateX(20px); }

/* for-trainers */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vs > div { padding: clamp(26px, 3vw, 40px); border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); }
.vs > div + div { background: var(--forest); color: var(--paper); border-color: transparent; }
.vs h3 { margin: 12px 0 20px; font-size: clamp(26px, 2.8vw, 36px); }
.vs li { padding: 11px 0; font-size: 16px; display: flex; gap: 12px; align-items: center; color: var(--text-2); }
.vs > div + div li { color: var(--paper); }
.vs li svg { width: 20px; height: 20px; padding: 4px; border-radius: 99px; flex-shrink: 0; background: var(--mint); color: var(--go); }
.vs li.x svg { background: #fde6df; color: var(--coral-t); }
.vs > div + div li svg { background: rgba(205,245,69,.16); color: var(--lime); }
@media (max-width: 860px) { .vs { grid-template-columns: 1fr; } }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-1); }
.fit h3 { margin: 14px 0 10px; font-size: clamp(24px, 2.4vw, 32px); }
.fit p { color: var(--text-2); margin-bottom: 22px; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* about / privacy prose */
.prose-wrap { display: grid; grid-template-columns: 3fr 7fr 2fr; gap: 32px; padding-block: clamp(32px, 5vw, 64px) var(--pad); }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; font-size: 14px; display: grid; gap: 2px; }
.toc a { display: block; padding: 9px 14px; border-radius: 99px; color: var(--text-3); transition: color .2s, background .2s; }
.toc a:hover { color: var(--ink); }
.toc a.on { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-1); }
.prose { max-width: 42em; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 56px); box-shadow: var(--shadow-1); }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.035em; margin: 48px 0 16px; padding-top: 32px; border-top: 1px solid var(--line); }
.prose h2:first-of-type { margin-top: 8px; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 19px; font-weight: 500; letter-spacing: -.02em; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--text-2); margin-bottom: 14px; }
.prose ul { margin: 0 0 18px; display: grid; gap: 8px; }
.prose li { padding: 14px 18px; border-radius: var(--r-sm); background: var(--canvas); margin: 0; }
.prose a { border-bottom: 1px solid currentColor; color: var(--ink); }
.prose .meta { font-size: 14px; color: var(--text-3); margin-bottom: 32px; }
.table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; }
.table th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-weight: 500; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line-2); }
.table td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.table td:first-child { color: var(--ink); font-weight: 500; }
@media (max-width: 960px) { .prose-wrap { grid-template-columns: 1fr; } .toc { display: none; } }
.belief { font-size: clamp(28px, 3.8vw, 54px); line-height: 1.1; letter-spacing: -.042em; max-width: 19em; font-weight: 450; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.principles > div { background: var(--canvas); border-radius: var(--r-lg); padding: 28px; }
.principles h3 { margin: 18px 0 10px; font-size: 24px; }
.principles p { color: var(--text-2); font-size: 16px; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }

/* demo */
.demo { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); padding-block: clamp(32px, 5vw, 72px) var(--pad); align-items: start; }
.demo-aside h1 { font-size: clamp(40px, 5.2vw, 72px); margin: 22px 0 22px; }
.next { margin-top: 40px; display: grid; gap: 10px; }
.next li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.next .num { width: 32px; height: 32px; border-radius: 99px; background: var(--lime); font-size: 13px; font-weight: 500; display: flex; align-items: center; justify-content: center; font-feature-settings: "tnum"; }
.next h3 { font-size: 19px; margin-bottom: 2px; }
.next p { color: var(--text-2); font-size: 15px; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow-2); }
.demo-form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; }
.field .hint { color: var(--text-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--canvas);
  border: 1px solid transparent; border-radius: 16px; padding: 14px 18px; min-height: 54px; appearance: none; -webkit-appearance: none;
  transition: box-shadow .15s, background .15s, border-color .15s;
}
.field select { padding-right: 46px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230e1411' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; }
.field select:invalid { color: var(--text-3); }
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--paper); border-color: var(--ink); box-shadow: 0 0 0 4px rgba(205,245,69,.7); }
.field ::placeholder { color: var(--text-3); opacity: 1; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fde6df; color: #7c2a12; padding: 13px 18px; font-size: 15px; border-radius: 14px; }
.form-note { font-size: 13.5px; color: var(--text-3); }
.form-note a { border-bottom: 1px solid currentColor; color: var(--ink); }
.demo-form .btn { width: 100%; height: 58px; justify-content: space-between; font-size: 16px; }
.demo-success { padding: 24px 0; }
.demo-success .tick { width: 60px; height: 60px; border-radius: 99px; background: var(--lime); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.demo-success h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 12px; }
.demo-success p { color: var(--text-2); }
@media (max-width: 960px) { .demo { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* 404 */
.nf { min-height: calc(100vh - var(--nav-h) - 80px); display: flex; align-items: center; }
.nf h1 { font-size: clamp(100px, 24vw, 320px); letter-spacing: -.07em; font-weight: 400; line-height: .85; display: flex; align-items: baseline; }
.nf h1::after { content: ""; width: .12em; height: .12em; border-radius: 99px; background: var(--lime); margin-left: .04em; box-shadow: 0 0 0 .02em var(--ink); }
.nf p { margin: 28px 0 32px; }

/* reveal — progressive enhancement only */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
