:root {
  --navy: #0D1B2A; --navy-2: #12243A; --navy-3: #1A3150; --deep: #091521;
  --paper: #F5F7FA; --white: #FFFFFF; --line-l: #DFE6ED; --line-d: #22395A;
  --ink: #0D1B2A; --muted: #556677; --ink-d: #EEF3F8; --muted-d: #93A6BA;
  --em: #2FBF8A; --em-f: #157E5C; --em-d: #106B4E; --mint: #DDF3EA; --amber: #F2A93B; --amber-d: #8F5208; --red: #E5605C;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --w-font: var(--font); --w-radius: 18px; --w-radius-sm: 10px;
}
.light { --w-ink: var(--ink); --w-muted: var(--muted); --w-bg: #fff; --w-surface: #EEF2F6; --w-line: var(--line-l);
  --w-in: #1D9E75; --w-out: #8A9AAB; --w-stat: var(--amber); --w-stat-ink: var(--amber-d); --w-neg: #D7423F;
  --w-accent: var(--em-f); --w-accent-ink: #fff; --w-accent-text: var(--em-d); }
.dark { --w-ink: var(--ink-d); --w-muted: var(--muted-d); --w-bg: var(--navy-2); --w-surface: #1E3554; --w-line: var(--line-d);
  --w-in: var(--em); --w-out: #7F93A8; --w-stat: var(--amber); --w-neg: var(--red); --w-accent: var(--em); --w-accent-ink: #062218; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--navy); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.2vw, 60px); }
h3 { font-size: 20px; letter-spacing: -.015em; }
:focus-visible { outline: 2px solid var(--em); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--em); color: #062218; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.dark { background: var(--navy); color: var(--ink-d); }
.light { background: var(--paper); color: var(--ink); }
.light.alt { background: var(--white); }
.deep { background: var(--deep); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-em { background: var(--em); color: #062218; }
.btn-ghost { border-color: rgba(238,243,248,.25); color: var(--ink-d); }
.btn-line { border-color: var(--line-l); background: #fff; color: var(--ink); }
.btn-dark { background: var(--navy); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn-em:hover { background: #4ED3A1; } .btn-ghost:hover { border-color: var(--ink-d); }
  .btn-line:hover { border-color: var(--ink); } .btn-dark:hover { background: var(--navy-3); }
}
.play { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lnk { font-weight: 600; color: var(--em-d); text-underline-offset: 4px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; transition: background-color 240ms ease, box-shadow 240ms ease, color 240ms ease; color: var(--ink-d); }
.nav.solid { background: rgba(13,27,42,.88); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav.on-light { background: rgba(255,255,255,.9); backdrop-filter: blur(12px); color: var(--ink); box-shadow: 0 1px 0 var(--line-l); }
.nav-bar { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { position: relative; display: block; }
.logo img { height: 28px; width: auto; transition: opacity 240ms ease; }
.logo .logo-l { position: absolute; inset: 0; opacity: 0; }
.nav.on-light .logo-d { opacity: 0; } .nav.on-light .logo-l { opacity: 1; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav-links > a, .nav-dd > button { font: inherit; font-size: 15px; font-weight: 500; color: inherit; opacity: .82; background: none; border: 0; padding: 10px 12px; border-radius: 999px; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; transition: opacity 160ms ease, background-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .nav-links > a:hover, .nav-dd > button:hover { opacity: 1; background: rgba(127,147,168,.14); } }
.nav-dd { position: relative; } .nav-dd svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.nav-dd button[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; padding: 8px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px -12px rgba(6,16,28,.45); display: grid; transform-origin: top left; animation: dd-in 180ms var(--ease-out); }
.dd-panel[hidden] { display: none; }
@keyframes dd-in { from { opacity: 0; transform: scale(.96) translateY(-4px); } }
.dd-panel a { display: flex; justify-content: space-between; gap: 18px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.dd-panel a b { font-weight: 500; color: var(--muted); font-size: 14px; }
.dd-panel a:hover { background: var(--paper); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.signin { font-size: 15px; font-weight: 500; text-decoration: none; opacity: .82; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(127,147,168,.35); background: transparent; color: inherit; place-items: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100svh; padding: 120px 0 0; overflow: hidden; display: flex; flex-direction: column; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,191,138,.16), transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(32px, 4vw, 64px); align-items: center; flex: 1; }
.h-display { font-size: clamp(40px, 4.3vw, 66px); font-weight: 800; letter-spacing: -.02em; line-height: .98; }
.line { display: block; overflow: hidden; padding-bottom: .06em; white-space: nowrap; }
.line-in { display: inline-block; }
.line.accent { color: var(--em); }
.lede { font-size: clamp(18px, 1.4vw, 21px); color: var(--muted-d); max-width: 40ch; margin: 26px 0 32px; }

.machine { position: relative; margin: 0; padding: 18px; border-radius: 26px; background: linear-gradient(180deg, rgba(26,49,80,.7), rgba(18,36,58,.9)); box-shadow: 0 0 0 1px rgba(127,147,168,.18), 0 40px 80px -30px rgba(0,0,0,.6); }
.m-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 15px; }
.m-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--em); box-shadow: 0 0 0 4px rgba(47,191,138,.18); }
.m-legend { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted-d); }
.m-legend i { width: 9px; height: 9px; border-radius: 3px; margin-left: 8px; }
.k-in { background: var(--em); } .k-out { background: #7F93A8; } .k-stat { background: var(--amber); }
.m-replay { width: 36px; height: 36px; border-radius: 10px; border: 0; display: grid; place-items: center; background: rgba(127,147,168,.16); color: var(--ink-d); cursor: pointer; transition: transform 140ms var(--ease-out), background-color 160ms ease; }
.m-replay svg { width: 17px; height: 17px; } .m-replay:active { transform: scale(.94) rotate(-30deg); }
.m-body { display: grid; grid-template-columns: 25% 26px 1fr; gap: 12px; }
.m-k { margin: 0 0 10px; font-size: 13px; color: var(--muted-d); }
.m-past { position: relative; border-radius: 16px; background: rgba(6,16,28,.45); padding: 14px; overflow: hidden; }
.ledger { height: 210px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 70%, transparent); }
.ledger-track { animation: ledger 14s linear infinite; }
.ledger p { margin: 0 0 10px; display: grid; font-size: 12.5px; color: var(--muted-d); }
.ledger b { color: var(--ink-d); font-weight: 500; font-variant-numeric: tabular-nums; }
@keyframes ledger { to { transform: translateY(-50%); } }
.hindsight { margin: 8px 0 0; font-size: 22px; font-weight: 700; color: var(--muted-d); letter-spacing: -.02em; }
.stamp { position: absolute; left: 50%; top: 44%; margin: 0; translate: -50% -50%; rotate: -9deg; width: 82%; text-align: center; line-height: 1.15; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--red); border: 2.5px solid currentColor; border-radius: 6px; padding: 4px 10px; background: rgba(9,21,33,.85); }
.today { position: relative; display: grid; place-items: center; }
.today::before { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; border-radius: 2px; background: var(--em); transform-origin: top; }
.today span { position: relative; writing-mode: vertical-rl; rotate: 180deg; padding: 10px 4px; border-radius: 6px; background: var(--em); color: #062218; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cal { display: grid; grid-template-columns: 34px repeat(6, 1fr); gap: 5px; align-items: center; }
.dow, .wk { font-size: 12px; color: var(--muted-d); }
.c { display: flex; align-items: center; min-height: 52px; padding: 0 2px; justify-content: center; border-radius: 10px; background: rgba(127,147,168,.1); font-style: normal; font-size: 11px; letter-spacing: -.015em; font-weight: 600; white-space: nowrap; overflow: hidden; }
.c.in { background: rgba(47,191,138,.2); color: #8EF0C9; }
.c.out { background: rgba(127,147,168,.22); color: #D3DDE7; }
.c.stat { background: rgba(242,169,59,.22); color: #FFD08A; }
.m-green { position: relative; display: grid; grid-template-columns: auto auto 1fr auto auto; align-items: baseline; gap: 6px 10px; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(47,191,138,.12); font-size: 14px; color: var(--muted-d); overflow: hidden; }
.m-green b { color: #8EF0C9; font-size: 18px; font-variant-numeric: tabular-nums; }
.m-green > span:nth-of-type(2) { grid-column: 4; }
.m-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(47,191,138,.18); }
.m-bar i { display: block; height: 100%; width: 100%; background: var(--em); transform-origin: left; }
.machine figcaption { margin-top: 10px; font-size: 13px; color: var(--muted-d); text-align: right; }

.marquee { position: relative; margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(127,147,168,.15); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: marquee 34s linear infinite; }
.marquee span { font-size: 18px; font-weight: 600; color: var(--muted-d); white-space: nowrap; }
.marquee span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 14px; border-radius: 2px; background: var(--em); vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== STORY (pinned) ===== */
.story { position: relative; }
.story-stage { min-height: 100svh; display: flex; align-items: center; padding: 96px 0 40px; }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.story-h { font-size: clamp(30px, 3.6vw, 52px); margin-bottom: 28px; }
.beats { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.beats li { padding: 16px 18px; border-radius: 16px; background: rgba(127,147,168,.08); color: var(--muted-d); font-size: 16px; }
.beats b { color: var(--ink-d); font-weight: 600; }
.beats .beat-end { background: rgba(47,191,138,.14); } .beats .beat-end b { color: #8EF0C9; }
.desk { position: relative; height: min(560px, 70svh); }
.frame { position: absolute; inset: 6% 8%; border-radius: 24px; background: rgba(18,36,58,.6); box-shadow: inset 0 0 0 1.5px rgba(127,147,168,.22); }
.frame-bar { display: flex; align-items: center; gap: 10px; padding: 16px 20px; font-size: 15px; }
.frame-bar em { margin-left: auto; font-style: normal; color: var(--muted-d); font-size: 13px; }
.sheet { position: absolute; left: 50%; top: 50%; width: 46%; padding: 14px 16px; border-radius: 14px; background: #F4F7FA; color: var(--ink); box-shadow: 0 24px 40px -18px rgba(0,0,0,.6); transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r)); display: grid; gap: 6px; }
.desk.g .sheet { transform: none; }
.frame { transition: box-shadow 300ms ease; }
.frame.lit { box-shadow: inset 0 0 0 2px var(--em); }
.sheet .fn { margin: 0; font-size: 13px; font-weight: 600; color: #5C6E80; display: flex; align-items: center; gap: 8px; }
.sheet .fn::before { content: ""; width: 14px; height: 14px; border-radius: 3px; background: #1F7A4C; }
.sheet .qn { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.sheet i { height: 7px; border-radius: 4px; background: #DCE4EC; } .sheet i:nth-of-type(2) { width: 72%; } .sheet i:nth-of-type(3) { width: 48%; }
.sheet .ok { display: none; }
.sheet.done { background: #fff; padding: 10px 16px; }
.sheet.done i, .sheet.done .fn { display: none; }
.sheet.done .qn { font-size: 17px; }
.sheet.done .ok { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-size: 13px; font-weight: 600; color: var(--em-d); background: var(--mint); padding: 3px 9px; border-radius: 999px; }

/* ===== FACTS ===== */
.facts { padding: 88px 0 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facts-grid div { display: grid; gap: 8px; padding-top: 18px; border-top: 2px solid var(--ink); }
.facts-grid div:last-child { border-top-color: #1D9E75; }
.facts-grid b { font-size: clamp(44px, 5vw, 72px); font-weight: 800; letter-spacing: -.032em; line-height: 1; font-variant-numeric: tabular-nums; }
.facts-grid > div > span { color: var(--muted); font-size: 15px; }

/* ===== sections ===== */
.sec { padding: clamp(96px, 11vw, 150px) 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px 48px; margin-bottom: 48px; }
.sec-head h2 { max-width: 18ch; }
.sec-head p { max-width: 40ch; margin: 0; color: var(--muted); font-size: 18px; }
.dark .sec-head p { color: var(--muted-d); }

/* bento */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tile { background: #fff; border-radius: 26px; padding: clamp(22px, 2.6vw, 34px); box-shadow: 0 1px 0 var(--line-l); }
.tile header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.tile header a { font-size: 14px; font-weight: 600; color: var(--em-d); }
.tile-score { grid-column: 1 / -1; background: var(--navy); color: var(--ink-d);
  --w-ink: var(--ink-d); --w-muted: var(--muted-d); --w-bg: var(--navy); --w-surface: #1E3554; --w-line: var(--line-d); --w-in: var(--em); --w-accent: var(--em); }
.tile-score header a { color: #8EF0C9; }
.tile-score .w-score { grid-template-columns: 300px 1fr 1fr; column-gap: 48px; align-items: center; }
.tile-score .w-gauge { grid-row: span 2; max-width: 300px; }
.tile-score .w-g-num b { font-size: 56px; }
.tile-score .w-shapes { grid-column: 2; }
.tile-score .w-parts { grid-column: 3; grid-row: 1 / span 2; gap: 10px; }
.tile-score .w-chip[aria-pressed="true"] { background: var(--em); color: #062218; }
.w-seg-b[aria-checked="true"] { background: var(--navy); color: #fff; box-shadow: none; }

/* sankey */
.sankey { position: relative; margin: 0; padding: 0 0 0; }
.sankey svg { width: 100%; height: auto; display: block; overflow: visible; }
.fl { fill: none; stroke-width: calc(var(--w) * 1px); stroke-linecap: butt; opacity: .55; transition: opacity 200ms ease; cursor: pointer; }
.fl-in { stroke: #2FBF8A; } .fl-out { stroke: #6E86A0; } .fl-stat { stroke: var(--amber); } .fl-green { stroke: #8EF0C9; opacity: .85; }
.sankey.hovering .fl { opacity: .14; } .sankey.hovering .fl.hot { opacity: .95; }
.dot { stroke: none; } .dot-in, .dot-green { fill: #CFFBEA; } .dot-out { fill: #D3DDE7; } .dot-stat { fill: #FFE1AE; }
.bank { fill: var(--ink-d); stroke: none; }
.bank-t { fill: var(--muted-d); stroke: none; font: 600 15px var(--font); }
.sk-labels { position: absolute; top: 0; bottom: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.sk-left { left: 0; width: 15%; } .sk-right { right: 0; width: 15%; }
.sk-labels li { position: absolute; top: var(--top); transform: translateY(-50%); display: grid; font-size: 15px; line-height: 1.25; }
.sk-right li { left: 8px; }
.sk-labels b { font-weight: 600; } .sk-labels span { font-size: 13px; color: var(--muted-d); }
.sk-labels .amb b { color: var(--amber); } .sk-labels .grn b { color: #8EF0C9; }
.sankey figcaption { margin-top: 18px; font-size: 13px; color: var(--muted-d); }

/* clock */
.clock-panel { background: #fff; border-radius: 28px; padding: clamp(22px, 3vw, 40px); box-shadow: 0 1px 0 var(--line-l); }
.clock-panel .w-clock-out { background: var(--navy); color: var(--ink-d); --w-muted: var(--muted-d); border-radius: 22px; }
.clock-panel .w-big { font-size: clamp(40px, 4.4vw, 64px); }
.clock-panel .w-big-2, .clock-panel .w-link { color: #8EF0C9; }
.clock-panel .w-blocks i { height: 28px; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1200px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: 26px; background: var(--paper); transform-style: preserve-3d; transition: transform 400ms var(--ease-out), box-shadow 300ms ease; }
.plan::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(47,191,138,.12), transparent 40%); opacity: 0; transition: opacity 240ms ease; }
@media (hover: hover) and (pointer: fine) { .plan:hover { box-shadow: 0 30px 60px -30px rgba(13,27,42,.35); } .plan:hover::after { opacity: 1; } }
.plan-hi { background: var(--navy); color: var(--ink-d); }
.plan-k { margin: 0; font-size: 14px; font-weight: 600; color: var(--em-d); }
.plan-hi .plan-k { color: #8EF0C9; }
.plan h3 { font-size: 26px; }
.plan-art { width: 100%; height: 90px; }
.pa-area { fill: rgba(29,158,117,.14); stroke: none; } .pa-line { stroke: #1D9E75; stroke-width: 2.5; }
.risk { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; height: 90px; align-items: center; }
.risk i { height: 34px; border-radius: 7px; }
.risk i:nth-child(1) { background: #D7423F; } .risk i:nth-child(2) { background: #E06B48; } .risk i:nth-child(3) { background: #EF9F27; } .risk i:nth-child(4) { background: #F2B653; }
.risk i:nth-child(5) { background: #8FD9B9; } .risk i:nth-child(6) { background: #3DC596; } .risk i:nth-child(7) { background: #1D9E75; } .risk i:nth-child(8) { background: #157E5C; }
.risk b { position: absolute; top: 14px; left: 0; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.ca-l path { stroke: var(--line-l); stroke-width: 1.6; } .ca-n rect { fill: #fff; stroke: var(--line-l); stroke-width: 1.4; } .ca-n rect.g { fill: var(--mint); stroke: #A8E2CB; }
.ca-hub { fill: var(--navy); stroke: none; }
.ca-t text { font: 500 11.5px var(--font); fill: var(--muted); stroke: none; text-anchor: middle; }
.price { margin: 0; display: flex; align-items: baseline; gap: 2px; font-size: 28px; font-weight: 700; }
.price b { font-size: 52px; font-weight: 800; letter-spacing: -.026em; font-variant-numeric: tabular-nums; }
.price span { margin-left: 8px; font-size: 15px; font-weight: 500; color: var(--muted); }
.plan-hi .price span { color: var(--muted-d); }
.plan ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; }
.plan li::before { content: ""; width: 12px; height: 7px; margin-top: .45em; border-left: 2px solid #1D9E75; border-bottom: 2px solid #1D9E75; transform: rotate(-45deg); }
.plan-hi li::before { border-color: var(--em); }
.plan .btn { margin-top: auto; }

/* where + week */
.week-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; margin-top: clamp(80px, 9vw, 130px); }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #fff; font-weight: 600; }
.steps li::before { content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--paper); font-size: 14px; }
.steps li.on { background: var(--navy); color: #fff; } .steps li.on::before { background: var(--em); color: #062218; }
.week-card .w-week { padding: 24px; box-shadow: 0 1px 0 var(--line-l); border-radius: 24px; }
.week-card .w-week-days em { height: 96px; }

/* belt */
.belt { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto 120px auto; gap: 18px; }
.station { display: grid; grid-template-columns: 46px 1fr; gap: 2px 14px; align-items: center; padding: 18px; border-radius: 20px; background: var(--navy-2); }
.station svg { grid-row: span 2; width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: #1E3554; color: var(--ink-d); }
.station b { font-size: 18px; } .station span { font-size: 14px; color: var(--muted-d); }
.st-gate svg { background: rgba(47,191,138,.18); color: var(--em); }
.st-gate.pass { box-shadow: 0 0 0 2px var(--em); }
.st-gate.fail { box-shadow: 0 0 0 2px var(--red); }
.st-gate { transition: box-shadow 200ms ease; }
.lane { grid-column: 1 / -1; position: relative; align-self: center; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(127,147,168,.35) 0 14px, transparent 14px 26px); background-size: 26px 4px; animation: lane 1s linear infinite; }
@keyframes lane { to { background-position: 26px 0; } }
.chip-s { position: absolute; left: 0; top: calc(50% - 26px); grid-row: 2; margin: 0; max-width: 420px; padding: 14px 18px; border-radius: 14px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 500; box-shadow: 0 18px 30px -16px rgba(0,0,0,.6); white-space: nowrap; opacity: 0; }
.chip-s.bad.rejected { background: #FCE4E3; color: #8E2E2B; text-decoration: line-through; }
.chip-s.passed { background: #E3F7EF; }
.bins { grid-column: 2 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bin { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; border: 1.5px dashed rgba(127,147,168,.4); }
.bin b { font-size: 15px; } .bin span { font-size: 13.5px; color: var(--muted-d); }
.bin.kept b { color: var(--em); } .bin.drop b { color: var(--red); }
.bin.bump { animation: bump 380ms var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.04); } }
.lenses { list-style: none; padding: 0; margin: 56px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lenses li { padding: 10px 16px; border-radius: 999px; background: var(--navy-2); font-size: 15px; font-weight: 500; }
.lenses li.amb { background: rgba(242,169,59,.16); color: var(--amber); }
.lens-cap { color: var(--muted-d); font-size: 15px; margin: 14px 0 0; }

/* network */
.net-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.net-copy p { color: var(--muted-d); font-size: 18px; margin: 20px 0 30px; max-width: 44ch; }
.path { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.path li { display: grid; grid-template-columns: 70px 1fr; gap: 2px 14px; padding: 16px 18px; border-radius: 16px; background: rgba(127,147,168,.08); }
.path b { grid-row: span 2; color: var(--em); font-size: 15px; }
.path span { font-size: 15px; } .path a { font-size: 14px; color: #8EF0C9; font-weight: 600; text-underline-offset: 3px; }
.net { position: relative; margin: 0; aspect-ratio: 1; max-width: 560px; justify-self: center; width: 100%; }
.net-svg { width: 100%; height: 100%; overflow: visible; }
.net-svg .spoke { stroke: rgba(127,147,168,.3); stroke-width: 1.5; }
.net-svg .flow { stroke: var(--em); stroke-width: 2; stroke-dasharray: 4 14; animation: spoke 1.4s linear infinite; opacity: .8; }
@keyframes spoke { to { stroke-dashoffset: -18; } }
.net-svg .ring { stroke: rgba(127,147,168,.16); stroke-width: 1; stroke-dasharray: 2 6; }
.net-svg .node rect { fill: var(--navy-2); stroke: rgba(127,147,168,.3); stroke-width: 1.2; transition: fill 300ms ease, stroke 300ms ease; }
.net-svg .node text { fill: var(--ink-d); stroke: none; font: 600 13px var(--font); text-anchor: middle; }
.net-svg .node .sub { fill: var(--muted-d); font-weight: 500; font-size: 11px; }
.net-svg .node.lit rect { fill: #10372B; stroke: var(--em); }
.net-svg .node.amb rect { stroke: var(--amber); } .net-svg .node.amb .sub { fill: var(--amber); }
.hub { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 32%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 4px; background: var(--em); color: #062218; box-shadow: 0 0 0 10px rgba(47,191,138,.14), 0 0 0 22px rgba(47,191,138,.06); padding: 10px; }
.hub b { font-size: clamp(14px, 1.5vw, 18px); line-height: 1.15; } .hub span { font-size: 12px; font-weight: 600; opacity: .8; }
.net figcaption { position: absolute; bottom: -28px; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--muted-d); }

/* CA + founder */
.ca-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ca-card, .founder { background: #fff; border-radius: 28px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 1px 0 var(--line-l); }
.ca-card h2 { font-size: clamp(28px, 2.8vw, 40px); margin-bottom: 24px; }
.views { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.v { background: var(--paper); border-radius: 16px; padding: 16px; display: grid; gap: 8px; }
.v p { margin: 0 0 4px; font-weight: 600; font-size: 14px; }
.v i { height: 10px; border-radius: 5px; background: #DCE4EC; } .v i.s { height: 44px; }
.v2 { background: var(--mint); } .v2 i { background: #BFE7D6; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pills span { padding: 8px 14px; border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 600; }
.founder { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; }
.founder img { width: 200px; height: 240px; object-fit: cover; border-radius: 20px; }
.founder h3 { font-size: 26px; } .founder p { color: var(--muted); margin: 10px 0 18px; }
.founder dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 18px; }
.founder dl div { background: var(--paper); border-radius: 12px; padding: 10px 12px; }
.founder dt { font-weight: 800; font-size: 17px; } .founder dd { margin: 0; font-size: 13px; color: var(--muted); }
.trust { list-style: none; padding: 0; margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust li { display: grid; gap: 4px; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 1px 0 var(--line-l); }
.trust svg { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--mint); color: var(--em-d); margin-bottom: 10px; }
.trust b { font-size: 17px; } .trust span { color: var(--muted); font-size: 14.5px; }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-grid h2 { margin-bottom: 18px; }
.qa { border-bottom: 1px solid var(--line-l); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; padding: 22px 0; background: none; border: 0; font: inherit; font-size: 19px; font-weight: 600; color: var(--ink); cursor: pointer; }
.qa button::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23106B4E' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 220ms var(--ease-out), background-color 160ms ease; }
.qa button[aria-expanded="true"]::after { transform: rotate(45deg); background-color: var(--mint); }
.ans { overflow: hidden; height: 0; opacity: 0; transition: height 240ms var(--ease-out), opacity 200ms var(--ease-out); }
.ans p { margin: 0; padding: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* CTA */
.cta { position: relative; padding: clamp(110px, 12vw, 170px) 0; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; bottom: -40%; width: 90vw; height: 70vw; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,191,138,.2), transparent); }
.cta-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.cta h2 { font-size: clamp(40px, 5.6vw, 84px); letter-spacing: -.02em; }
.cta p { color: var(--muted-d); font-size: 19px; margin: 20px 0 32px; }
.demo-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.demo-menu li { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; background: rgba(127,147,168,.1); }
.demo-menu span { color: var(--muted-d); font-size: 14px; }

/* footer */
.foot { padding: 56px 0 28px; border-top: 1px solid rgba(127,147,168,.15); }
.foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; }
.foot-logo { height: 28px; width: auto; margin-bottom: 12px; }
.foot p { margin: 0 0 10px; color: var(--muted-d); }
.dpiit { color: #8EF0C9; font-weight: 600; font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; max-width: 640px; justify-content: flex-end; align-content: start; }
.foot nav a { color: var(--muted-d); text-decoration: none; font-size: 15px; transition: color 160ms ease; }
.foot nav a:hover { color: var(--ink-d); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 36px; color: var(--muted-d); font-size: 13.5px; }

[data-w] *, .m-green b, .price b { font-variant-numeric: normal; }


/* ===== combined: signals cards (Model 2 card finish) ===== */
.bento .tile:not(.tile-score) { box-shadow: 0 0 0 1px var(--line-l); }

/* ===== combined: Month-End Clock face (from Model 2) ===== */
.clock-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.sub { color: var(--muted); font-size: 18px; margin: 18px 0 0; max-width: 46ch; }
.dark .sub { color: var(--muted-d); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper); margin-top: 24px; }
.seg button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); cursor: pointer; min-height: 40px; transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out); }
.seg button:active { transform: scale(.97); }
.seg button[aria-checked="true"] { background: var(--navy); color: #fff; }
[data-croles] { margin-top: 0; }
.lbl { display: block; font-size: 13.5px; font-weight: 500; color: var(--muted); margin: 18px 0 8px; }
.field input { width: 100%; max-width: 320px; font: inherit; font-size: 18px; font-weight: 600; padding: 10px 16px; border-radius: 14px; border: 1.5px solid var(--line-l); min-height: 46px; color: var(--ink); background: #fff; }
.field input:focus { outline: none; border-color: var(--em-f); }
.slide { display: block; max-width: 420px; }
.slide > span { display: flex; justify-content: space-between; align-items: baseline; }
.slide input { width: 100%; accent-color: var(--em-f); height: 28px; }
.clock-ctrl .lnk { display: inline-block; margin-top: 18px; }
.clockface { position: relative; margin: 0; width: 100%; max-width: 540px; justify-self: center; aspect-ratio: 1; }
.clockface svg { width: 100%; height: 100%; overflow: visible; }
.cf-seg { stroke: none; fill: #E6ECF1; transition: fill 260ms var(--ease-out); }
.cf-seg.on { fill: var(--amber); } .cf-seg.half { fill: #F6C984; }
.cf-num { fill: var(--muted); stroke: none; font: 500 11px var(--font); text-anchor: middle; dominant-baseline: middle; }
.cf-hand { transition: transform 700ms var(--ease-in-out); transform-origin: 0 0; }
.cf-c { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 52%; text-align: center; display: grid; gap: 2px; }
.cf-c span { font-size: 13px; color: var(--muted); }
.cf-c b { font-size: clamp(32px, 3.8vw, 50px); font-weight: 800; letter-spacing: -.026em; line-height: 1.05; }
.cf-c em { font-style: normal; font-weight: 600; color: var(--em-d); }
.clockface figcaption { position: absolute; bottom: -34px; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--muted); }

/* ===== combined: exploded stack (from Model 2, dark) ===== */
.stack-stage { min-height: 100svh; display: flex; align-items: center; padding: 96px 0; }
.stack-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.layers-key { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.layers-key li { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; background: rgba(127,147,168,.08); transition: background-color 300ms ease, transform 300ms var(--ease-out); }
.layers-key b { font-size: 18px; } .layers-key span { font-size: 14.5px; color: var(--muted-d); } .layers-key a { font-size: 14px; font-weight: 600; color: #8EF0C9; text-underline-offset: 3px; }
.layers-key li.on { background: rgba(47,191,138,.16); transform: translateX(6px); }
.iso { position: relative; height: 520px; perspective: 1400px; }
.plate { position: absolute; left: 50%; top: 58%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 28px; transform: rotateX(58deg) rotateZ(-40deg) translateZ(var(--z, 0px)); box-shadow: 0 30px 50px -10px rgba(0,0,0,.5); }
.p-base { background: var(--em-f); } .p0 { background: #CFF3E3; } .p1 { background: #1E3554; box-shadow: inset 0 0 0 1.5px #3A5878, 0 30px 50px -10px rgba(0,0,0,.5); } .p2 { background: #F7D9A6; }
.pl-label { position: absolute; z-index: 5; left: 78%; top: calc(58% - 20px); transform: translateY(calc(var(--z, 0px) * -0.85)); font-weight: 700; font-size: 15px; white-space: nowrap; padding: 6px 12px; border-radius: 10px; background: var(--navy-2); color: var(--ink-d); box-shadow: 0 0 0 1px var(--line-d); }
.pl-label::before { content: ""; position: absolute; right: 100%; top: 50%; width: 40px; height: 1.5px; background: var(--line-d); }
#erp { padding-top: 40px; }
.net-copy .btn { margin-top: 4px; }

/* ===== combined: year dial (from Model 2) ===== */
.year-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.dues { display: grid; gap: 8px; margin-top: 28px; min-height: 240px; align-content: start; }
.due { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--paper); }
.due b { display: grid; place-items: center; height: 40px; border-radius: 10px; background: #fff; font-size: 19px; font-weight: 800; }
.due em { font-style: normal; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.due.file em { background: #E3ECF6; color: #2D4C6B; } .due.pay em { background: #FDF0DA; color: var(--amber-d); } .due.year em { background: var(--mint); color: var(--em-d); }
.dial { position: relative; margin: 0; width: 100%; max-width: 560px; justify-self: center; aspect-ratio: 1; }
.dial svg { width: 100%; height: 100%; overflow: visible; }
.dial .seg-m { cursor: pointer; }
.dial .seg-m path { fill: var(--paper); stroke: #fff; stroke-width: 4; transition: fill 200ms ease; }
@media (hover: hover) and (pointer: fine) { .dial .seg-m:hover path { fill: #E4F5EE; } }
.dial .seg-m:focus-visible path { fill: #E4F5EE; }
.dial .seg-m.on path { fill: var(--navy); }
.dial .seg-m text { fill: var(--ink); stroke: none; font: 700 13px var(--font); text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.dial .seg-m.on text { fill: #fff; }
.dial .seg-m:focus { outline: none; }
.dial .tick { stroke: none; }
.dial .t-file { fill: #5A7CA0; } .dial .t-pay { fill: var(--amber); } .dial .t-year { fill: #1D9E75; }
.dial .hand { stroke: var(--navy); stroke-width: 3; }
.dial-c { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-content: center; text-align: center; box-shadow: 0 0 0 10px rgba(13,27,42,.06); }
.dial-c b { font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.024em; }
.dial-c span { font-size: 13px; color: var(--muted-d); }

/* ===== combined: FAQ with square toggles (Model 2) ===== */
.qa button::after { content: "+"; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--paper); background-image: none; color: var(--em-d); font-size: 20px; font-weight: 500; }
.qa button[aria-expanded="true"]::after { background-color: var(--mint); }

.stack-copy h2, .clock-ctrl h2, .net-copy h2, .faq-grid h2, .year-grid h2 { font-size: clamp(30px, 3.4vw, 50px); }

.sk-legend { display: none; }
@media (max-width: 760px) {
  .sk-labels { display: none; }
  .sk-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; list-style: none; padding: 0; margin: 18px 0 0; font-size: 14px; }
  .sk-legend li { display: flex; align-items: center; gap: 8px; }
  .sk-legend i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
  .lg-in { background: #2FBF8A; } .lg-out { background: #6E86A0; } .lg-stat { background: var(--amber); } .lg-green { background: #8EF0C9; }
}


/* ===== hero: the failed rewind (ported from finlyt.net, restyled for the dark chapter) ===== */
.hline { display: block; }
.hw { display: inline-block; }
.hw.lead { color: var(--em); }
.rw-src { margin: 22px 0 0; font-size: 14px; color: var(--muted-d); }
.rw-src b { color: #8EF0C9; font-weight: 600; }
.rw-panel { position: relative; margin: 0; border-radius: 24px; overflow: hidden; background: #12243A; box-shadow: 0 0 0 1px rgba(127,147,168,.2), 0 40px 80px -30px rgba(0,0,0,.6); min-width: 0; }
.rw-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #0F1F33; box-shadow: inset 0 -1px 0 rgba(127,147,168,.16); }
.rw-btn { width: 32px; height: 32px; border-radius: 10px; border: 1.5px solid rgba(127,147,168,.4); background: transparent; color: var(--muted-d); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; transition: border-color 150ms ease, color 150ms ease, transform 150ms var(--ease-out); }
.rw-btn svg { fill: none; stroke: currentColor; stroke-width: 2.2; }
@media (hover: hover) and (pointer: fine) { .rw-btn:hover { border-color: var(--em); color: var(--em); } }
.rw-btn:active { transform: scale(.94); }
.rw-title { font-size: 14px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.rw-legend { margin-left: auto; display: inline-flex; gap: 12px; font-size: 12.5px; color: var(--muted-d); }
.rw-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rw-legend i, .rw-cell i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.rk-in { background: var(--em); } .rk-out { background: #F07470; } .rk-stat { background: var(--amber); }
.rw-body { display: grid; grid-template-columns: 172px 1fr; min-height: 280px; }
.rw-past { position: relative; padding: 14px; background: rgba(6,16,28,.45); }
.rw-k { margin: 0; font-size: 12px; font-weight: 600; color: var(--muted-d); letter-spacing: .04em; }
.rw-date { margin: 2px 0 10px; font-size: 13px; color: var(--ink-d); font-variant-numeric: tabular-nums; }
.rw-reelbox { position: relative; height: 150px; overflow: hidden; }
.rw-reel { will-change: transform, filter; }
.rw-row { margin-bottom: 6px; padding: 6px 9px; border-radius: 8px; background: rgba(127,147,168,.1); opacity: .84; }
.rw-row b { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--muted-d); }
.rw-row span { font-size: 12px; color: #C9D6E3; }
.rw-playhead { position: absolute; top: 46px; bottom: 40px; left: 100%; width: 2px; background: #fff; opacity: 0; z-index: 2; pointer-events: none; }
.rw-hind { margin: 8px 0 0; font-style: italic; font-size: 13px; color: var(--muted-d); }
.rw-stamp { position: absolute; top: 50%; left: 50%; z-index: 3; margin: 0; transform: translate(-50%, -50%) rotate(-11deg); white-space: nowrap; padding: 5px 10px; border-radius: 6px; border: 2px solid var(--red); color: var(--red); background: rgba(9,21,33,.88); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rw-weeks { position: relative; padding: 14px 16px 12px 18px; min-width: 0; }
.rw-today { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--em); z-index: 2; }
.rw-today b { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); padding: 3px 9px; border-radius: 999px; background: var(--em); color: #062218; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.rw-k-ahead { margin: 0 0 8px 52px; color: var(--ink-d); }
.rw-grid { display: grid; grid-template-columns: 48px repeat(6, minmax(0, 1fr)); gap: 5px; align-items: center; }
.rw-dow { font-size: 11.5px; color: var(--muted-d); text-align: center; }
.rw-wk { font-size: 11px; color: var(--muted-d); }
.rw-cell { height: 46px; border-radius: 9px; background: rgba(127,147,168,.08); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.rw-cell span { font-size: 11px; font-weight: 600; color: #D3DDE7; line-height: 1; white-space: nowrap; }
.rw-cell.is-in { background: rgba(47,191,138,.16); } .rw-cell.is-out { background: rgba(240,116,112,.13); } .rw-cell.is-stat { background: rgba(242,169,59,.17); }
.rw-green { margin: 12px 16px 0; padding: 11px 14px; border-radius: 12px; background: rgba(47,191,138,.12); color: #CFF3E3; font-size: 14px; }
.rw-green b { color: #8EF0C9; }
.rw-panel figcaption { padding: 10px 16px 12px; text-align: right; font-size: 12.5px; color: var(--muted-d); }

.mark3d { width: 28px; height: 28px; perspective: 420px; flex-shrink: 0; }
.mark3d svg { width: 100%; height: 100%; display: block; transform: rotateX(var(--mx, 10deg)) rotateY(var(--my, -16deg)); transform-style: preserve-3d; transition: transform .25s ease-out; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.mark3d:hover svg { transition: transform .08s linear; animation: none; }
@media (prefers-reduced-motion: no-preference) { .mark3d svg { animation: mark3d-float 7s ease-in-out infinite; } }
@keyframes mark3d-float { 0%, 100% { transform: rotateX(10deg) rotateY(-16deg) translateY(0); } 50% { transform: rotateX(4deg) rotateY(14deg) translateY(-5px); } }

/* the sequence: delays are inline; is-reset suspends transitions for an instant replay */
.rw.is-reset .hw, .rw.is-reset .rw-cell, .rw.is-reset .rw-rise, .rw.is-reset .rw-green, .rw.is-reset .rw-stamp { transition: none !important; }
.rw.is-reset .rw-reel, .rw.is-reset .rw-playhead, .rw.is-reset .rw-btn { animation: none !important; }
.rw .hw { opacity: 0; transform: translateY(.42em); transition: opacity .52s cubic-bezier(.22,.8,.28,1), transform .52s cubic-bezier(.22,.8,.28,1); }
.rw.is-play .hw { opacity: 1; transform: none; }
.rw .rw-stamp { opacity: 0; transform: translate(-50%, -50%) rotate(-11deg) scale(1.55); transition: opacity .3s ease-out, transform .34s cubic-bezier(.2,.9,.3,1.3); }
.rw.is-play .rw-stamp { opacity: 1; transform: translate(-50%, -50%) rotate(-11deg) scale(1); }
.rw .rw-cell { opacity: 0; transform: translateY(6px) scale(.97); transition: opacity .4s ease-out, transform .4s cubic-bezier(.22,.8,.28,1); }
.rw.is-play .rw-cell { opacity: 1; transform: none; }
.rw .rw-rise { opacity: 0; transform: translateY(8px); transition: opacity .5s ease-out, transform .5s cubic-bezier(.22,.8,.28,1); }
.rw.is-play .rw-rise { opacity: 1; transform: none; }
.rw .rw-green { opacity: 0; transform: translateY(6px); transition: opacity .45s ease-out, transform .45s cubic-bezier(.22,.8,.28,1); }
.rw.is-play .rw-green { opacity: 1; transform: none; }
.rw.is-play .rw-reel { animation: rw-reel 1000ms cubic-bezier(.5,0,.75,.2) 900ms both; }
@keyframes rw-reel { 0% { transform: translateY(0); filter: blur(0); } 10% { filter: blur(.7px); } 60% { transform: translateY(-310px); filter: blur(2.8px); } 86% { transform: translateY(-430px); filter: blur(3.2px); } 93% { transform: translateY(-430px); filter: blur(1.4px); } 100% { transform: translateY(0); filter: blur(0); } }
.rw.is-play .rw-playhead { animation: rw-head 1000ms cubic-bezier(.5,0,.75,.2) 900ms both; }
@keyframes rw-head { 0% { left: 100%; opacity: 0; } 12% { opacity: .85; } 86% { left: 0; opacity: .85; } 100% { left: 0; opacity: 0; } }
.rw.is-play .rw-btn { animation: rw-glow 1000ms ease-in-out 900ms both; }
@keyframes rw-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(47,191,138,0); } 18%, 80% { box-shadow: 0 0 0 4px rgba(47,191,138,.3); border-color: var(--em); color: var(--em); } }
@media (prefers-reduced-motion: reduce) {
  .rw .hw, .rw .rw-cell, .rw .rw-rise, .rw .rw-green, .rw .rw-stamp { opacity: 1; transform: none; transition: none; }
  .rw .rw-stamp { transform: translate(-50%, -50%) rotate(-11deg); }
  .rw.is-play .rw-reel, .rw.is-play .rw-playhead, .rw.is-play .rw-btn { animation: none; }
  .rw-playhead { display: none; }
}
@media (max-width: 760px) {
  .rw-body { grid-template-columns: 118px 1fr; }
  .rw-k-ahead { margin-left: 38px; }
  .rw-grid { grid-template-columns: 34px repeat(6, minmax(0, 1fr)); gap: 3px; }
  .rw-cell { height: 36px; } .rw-cell span { display: none; }
  .rw-stamp { font-size: 11px; padding: 4px 7px; white-space: normal; width: 88%; text-align: center; line-height: 1.15; }
  .rw-legend span { font-size: 0; } .rw-legend { gap: 8px; }
  .rw-title { font-size: 13px; }
}

/* responsive */
@media (max-width: 1080px) {
  .nav-links { display: none; } .menu-btn { display: inline-grid; }
  .menu-open .nav-links { display: grid; position: absolute; top: 72px; left: 16px; right: 16px; padding: 12px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px -12px rgba(6,16,28,.45); }
  .menu-open .dd-panel { position: static; box-shadow: none; }
  .hero-grid, .story-grid, .net-grid, .week-row, .faq-grid, .cta-grid, .ca-grid, .clock-grid, .stack-grid, .year-grid { grid-template-columns: 1fr; }
  .iso { height: 440px; }
  .plans { grid-template-columns: 1fr; }
  .tile-score .w-score { grid-template-columns: 1fr 1fr; } .tile-score .w-parts { grid-column: 1 / -1; grid-row: auto; }
  .bento { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .signin { display: none; } .nav-cta .btn { padding: 0 14px; min-height: 42px; }
  .logo img { height: 22px; }
  .hero { padding-top: 96px; }
  .m-body { grid-template-columns: 1fr; } .m-past, .today { display: none; }
  .cal { grid-template-columns: 34px repeat(6, 1fr); gap: 4px; }
  .c { font-size: 0; min-height: 34px; padding: 0; }
  .m-green { grid-template-columns: 1fr auto; } .m-green > span:nth-of-type(2) { grid-column: 1; }
  .desk { height: 480px; } .sheet { width: 72%; padding: 10px 12px; } .sheet .qn { font-size: 15px; } .sheet.done { padding: 8px 12px; } .sheet.done .qn { font-size: 14.5px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .tile-score .w-score { grid-template-columns: 1fr; } .tile-score .w-gauge { grid-row: auto; margin: 0 auto; }
  .sk-labels li { font-size: 12px; } .sk-labels span { display: none; }
  .belt { grid-template-columns: 1fr; grid-template-rows: auto; }
  .belt .lane, .chip-s { display: none; }
  .bins { grid-column: 1; grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; } .founder img { width: 140px; height: 168px; }
  .views { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
  .plate { width: 210px; height: 210px; margin: -105px 0 0 -105px; } .iso { height: 360px; }
  .pl-label { left: auto; right: 0; font-size: 12.5px; padding: 4px 8px; top: calc(58% - 10px); } .pl-label::before { display: none; }
  .seg button { padding: 8px 12px; font-size: 14px; }
}

/* reduced motion: keep fades, drop travel */
@media (prefers-reduced-motion: reduce) {
  .ledger-track, .marquee-track, .lane, .net-svg .flow { animation: none; }
  .dots { display: none; }
  .plan { transition: none; }
}
