/* Accrue marketing site. Tokens mirror Packages/AccrueDesign (Quire). */

:root {
  --paper: #F3F5F8;
  --paper-deep: #E8ECF2;
  --sheet: #FFFFFF;
  --ink: #0E1420;
  --ink-2: #525B69;
  --ink-3: #667080;
  --hairline: #DCE1E8;
  --dusk: #213C6B;
  --dusk-ink: #FFFFFF;
  --dusk-wash: rgba(33, 60, 107, 0.08);
  --dusk-soft: #D8E0EE;
  --band: #1A3A6B;
  --band-ink: #F3F5F8;
  --band-ink-2: rgba(243, 245, 248, 0.72);
  --band-rule: rgba(243, 245, 248, 0.16);
  --direct: #213C6B;
  --indirect: #3FA7D6;
  --supervision: #7C4DBF;
  --graphite: #2A3140;
  --verdigris: #177F70;
  --mulberry: #A3397A;
  --slate: #8A93A1;
  --signal: #CC3138;
  --caution: #E0960A;
  --track: rgba(220, 225, 232, 0.6);
  --activity-wash: #E7EAEF;
  --mustard: #E8B64C;
  --frame-shadow: 0 1px 0 rgba(14, 20, 32, 0.04), 0 24px 60px -24px rgba(14, 20, 32, 0.28);
  --card-shadow: 0 1px 2px rgba(14, 20, 32, 0.05), 0 12px 32px -18px rgba(14, 20, 32, 0.22);
  --glass: rgba(243, 245, 248, 0.78);

  --f-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-card: 20px;
  --r-frame: 28px;
  --r-input: 12px;
  --r-chip: 8px;
  --r-cell: 4px;
  --gutter: clamp(16px, 4.2vw, 44px);
  --max: 1220px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 0.9, 0.3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E131C;
    --paper-deep: #131A25;
    --sheet: #19202C;
    --ink: #EEF1F6;
    --ink-2: #A9B1BE;
    --ink-3: #8F98A6;
    --hairline: #2A3342;
    --dusk: #B0C4EC;
    --dusk-ink: #0B0E13;
    --dusk-wash: rgba(176, 196, 236, 0.12);
    --dusk-soft: #26344F;
    --band: #142848;
    --band-ink: #EEF1F6;
    --band-ink-2: rgba(238, 241, 246, 0.7);
    --band-rule: rgba(238, 241, 246, 0.14);
    --direct: #7C9BE0;
    --indirect: #5FC0EA;
    --supervision: #A98AF0;
    --graphite: #C5CCD8;
    --verdigris: #3DBFA9;
    --mulberry: #D46BB1;
    --slate: #AAB3C1;
    --signal: #FF5C63;
    --caution: #FFB84D;
    --track: rgba(58, 66, 80, 0.8);
    --frame-shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 28px 70px -28px rgba(0, 0, 0, 0.8);
    --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -20px rgba(0, 0, 0, 0.7);
    --glass: rgba(14, 19, 28, 0.72);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0E131C;
  --paper-deep: #131A25;
  --sheet: #19202C;
  --ink: #EEF1F6;
  --ink-2: #A9B1BE;
  --ink-3: #8F98A6;
  --hairline: #2A3342;
  --dusk: #B0C4EC;
  --dusk-ink: #0B0E13;
  --dusk-wash: rgba(176, 196, 236, 0.12);
  --dusk-soft: #26344F;
  --band: #142848;
  --band-ink: #EEF1F6;
  --band-ink-2: rgba(238, 241, 246, 0.7);
  --band-rule: rgba(238, 241, 246, 0.14);
  --direct: #7C9BE0;
  --indirect: #5FC0EA;
  --supervision: #A98AF0;
  --graphite: #C5CCD8;
  --verdigris: #3DBFA9;
  --mulberry: #D46BB1;
  --slate: #AAB3C1;
  --signal: #FF5C63;
  --caution: #FFB84D;
  --track: rgba(58, 66, 80, 0.8);
  --frame-shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 28px 70px -28px rgba(0, 0, 0, 0.8);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -20px rgba(0, 0, 0, 0.7);
  --glass: rgba(14, 19, 28, 0.72);
  color-scheme: dark;
}

/* Screens swap to the app's own dark captures with the page. */
.for-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .for-dark { display: block; }
  :root:not([data-theme="light"]) .for-light { display: none; }
}
:root[data-theme="dark"] .for-dark { display: block; }
:root[data-theme="dark"] .for-light { display: none; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--dusk); color: var(--dusk-ink); }
:focus-visible { outline: 2px solid var(--dusk); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--dusk); color: var(--dusk-ink); padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.display, h1, h2, h3 { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(46px, 6.6vw, 92px); line-height: 0.98; letter-spacing: -0.025em; font-variation-settings: "opsz" 72; }
h2 { font-size: clamp(36px, 4.7vw, 64px); line-height: 1.02; letter-spacing: -0.022em; font-variation-settings: "opsz" 72; }
h3 { font-size: clamp(23px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -0.01em; font-variation-settings: "opsz" 36; }
h4 { font-family: var(--f-sans); font-size: 17px; font-weight: 600; margin: 0; letter-spacing: 0.002em; }
p { margin: 0; text-wrap: pretty; }
em.serif, .serif-i { font-family: var(--f-display); font-style: italic; font-weight: 400; }
.eyebrow {
  font-family: var(--f-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dusk); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lede { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.mono, .fig { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.5; }

/* Buttons: actions are capsules */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px; border: 0;
  font-family: var(--f-sans); font-size: 16px; font-weight: 600; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.25s ease, box-shadow 0.35s var(--ease), color 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--dusk); color: var(--dusk-ink); box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 10px 24px -14px rgba(14, 20, 32, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 16px 30px -16px rgba(14, 20, 32, 0.6); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--hairline); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); transform: translateY(-2px); }
.btn-light { background: var(--band-ink); color: #102447; }
.btn-light:hover { transform: translateY(-2px); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 15px; }
.btn .stack { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.btn .stack small { font-size: 11px; font-weight: 500; letter-spacing: 0.04em; opacity: 0.78; }
.btn .stack span { font-size: 17px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  background: var(--glass);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--hairline); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; color: var(--dusk); text-decoration: none; }
.brand svg { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--dusk-wash); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--dusk-wash); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform 0.3s var(--ease), background-color 0.2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease); }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

@media (max-width: 960px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
  .mobile-menu > ul { overflow: hidden; min-height: 0; }
  .menu-open .mobile-menu { grid-template-rows: 1fr; }
  .mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
  .mobile-menu li:last-child { padding-bottom: 20px; }
  .mobile-menu a { display: block; padding: 12px 4px; font-family: var(--f-display); font-size: 26px; text-decoration: none; border-bottom: 1px solid var(--hairline); }
}
@media (max-width: 420px) { .nav-cta .btn-primary .long { display: none; } }

/* Sections */
section { position: relative; }
.section { padding-block: clamp(84px, 11vw, 150px); }
.section-tight { padding-block: clamp(64px, 8vw, 110px); }
.section-head { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head .lede { max-width: 34em; }
.deep { background: var(--paper-deep); }

/* Reveal */
.reveal-ready .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal-ready .rv.in { opacity: 1; transform: none; }

/* Phone frame */
.phone {
  --w: 300px;
  position: relative; width: var(--w); max-width: 100%; aspect-ratio: 1320 / 2868;
  border-radius: calc(var(--w) * 0.155); padding: calc(var(--w) * 0.028);
  background: linear-gradient(145deg, #3a3f48 0%, #16191f 38%, #0b0d11 60%, #2b3038 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 1px 1px rgba(255,255,255,0.18) inset, 0 50px 90px -40px rgba(14, 20, 32, 0.55), 0 22px 40px -24px rgba(14, 20, 32, 0.4);
}
.phone::before {
  content: ""; position: absolute; inset: calc(var(--w) * 0.012); border-radius: calc(var(--w) * 0.145);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.9) inset; pointer-events: none;
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * 0.128); overflow: hidden; background: #F3F5F8; isolation: isolate; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone .btn-side { position: absolute; right: -2px; top: 28%; width: 3px; height: 11%; border-radius: 0 3px 3px 0; background: #2a2f37; }
.phone .btn-side.l1 { left: -2px; right: auto; top: 20%; height: 5%; border-radius: 3px 0 0 3px; }
.phone .btn-side.l2 { left: -2px; right: auto; top: 28%; height: 8%; border-radius: 3px 0 0 3px; }

/* Ledger identity: a 2 pt hue rule plus the written name */
.ledger-id { display: grid; grid-template-columns: 2px 1fr; column-gap: 12px; align-items: stretch; }
.ledger-id::before { content: ""; grid-row: 1 / span 2; background: var(--hue, var(--graphite)); border-radius: 2px; }
.ledger-id .name { font-family: var(--f-display); font-size: 21px; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; }
.ledger-id .auth { font-size: 14px; color: var(--ink-2); }

.bar { height: 6px; border-radius: 6px; background: var(--track); overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; background: var(--fill, var(--dusk)); border-radius: 6px; transform: scaleX(var(--p, 0)); transform-origin: left center; transition: transform 1.1s var(--ease); }

.tally { display: grid; grid-template-columns: repeat(25, 1fr); gap: 3px; }
.tally i { aspect-ratio: 1; border-radius: var(--r-cell); background: var(--track); transition: background-color 0.4s ease, transform 0.4s var(--ease); }
.tally i.on { background: var(--dusk); }
.tally i.new { background: var(--indirect); transform: scale(1.12); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(64px, 8vw, 110px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 28px; align-content: center; position: relative; z-index: 2; }
.hero h1 .line { display: block; }
.hero h1 .quiet { color: var(--dusk); font-style: italic; font-weight: 400; }
.hero .lede { font-size: clamp(18px, 1.6vw, 21px); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-3); font-size: 14px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 2px; background: var(--dusk); opacity: 0.5; }

.hero-art { position: relative; container-type: inline-size; aspect-ratio: 1 / 1.1; width: 100%; }
.hero-frame { position: absolute; left: 19%; top: 0; width: 67%; border-radius: var(--r-frame); overflow: hidden; box-shadow: var(--frame-shadow); aspect-ratio: 4 / 5; background: #efe6d6; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-phone { position: absolute; left: 0; bottom: 0; --w: 29cqw; z-index: 3; }
.count-card {
  position: absolute; right: 0; bottom: 5cqw; z-index: 4; width: 50cqw;
  background: var(--sheet); border-radius: var(--r-card); box-shadow: var(--frame-shadow); padding: 18px 18px 16px;
  display: grid; gap: 12px;
}
.count-card .cc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.count-card .cc-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.count-card .cc-entry { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--hairline); }
.count-card .cc-entry b { font-family: var(--f-display); font-size: 20px; font-weight: 500; }
.count-card .cc-entry small { display: block; color: var(--ink-2); font-size: 13px; }
.count-card .cc-entry .fig { font-size: 18px; font-weight: 500; }
.cc-rows { display: grid; gap: 12px; }
.cc-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; transition: opacity 0.5s ease, transform 0.6s var(--ease); }
.cc-row .ledger-id .name { font-size: 17px; }
.cc-row .ledger-id .auth { font-size: 12.5px; }
.cc-row .credit { font-family: var(--f-mono); font-size: 14px; font-weight: 500; color: var(--dusk); text-align: right; white-space: nowrap; }
.cc-row .how { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); padding-left: 14px; }
.cc-row.off .credit { color: var(--ink-3); }
.hero-wait:not(.hero-in) :is(.hero-copy > *, .hero-frame, .hero-phone, .count-card) { opacity: 0; }
.hero-in .hero-frame { animation: frameIn 1.3s var(--ease) both; }
.hero-in .hero-phone { animation: rise 1.2s var(--ease) 0.25s both; }
.hero-in .count-card { animation: rise 1.1s var(--ease) 0.55s both; }
.hero-in .hero-copy > * { animation: rise 1s var(--ease) both; }
.hero-in .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-in .hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-in .hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero-in .hero-copy > *:nth-child(5) { animation-delay: 0.32s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes frameIn { from { opacity: 0; transform: scale(1.03); clip-path: inset(6% 6% 6% 6% round 28px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 28px); } }
.cc-row.pending { opacity: 0.22; transform: translateX(8px); }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { justify-items: center; text-align: center; max-width: 760px; margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-art { max-width: 640px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .hero-copy { justify-items: start; text-align: left; }
  .hero-actions, .hero-meta { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .hero-art { aspect-ratio: auto; }
  .hero-frame { position: relative; left: auto; margin-left: 15%; width: 85%; }
  .hero-phone { --w: 33cqw; top: 20cqw; bottom: auto; }
  .count-card { position: relative; right: auto; bottom: auto; width: 80%; margin: -16% 0 0 auto; padding: 14px; gap: 10px; }
  .count-card .cc-entry b { font-size: 18px; }
  .cc-row .ledger-id .name { font-size: 16px; }
}

/* Authorities strip */
.authorities { border-block: 1px solid var(--hairline); padding-block: 22px; }
.authorities .inner { display: flex; align-items: baseline; gap: 12px 32px; flex-wrap: wrap; }
.authorities .lbl { flex: none; font-size: 14px; color: var(--ink-3); }
.auth-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 22px; flex: 1 1 440px; min-width: 0; }
.auth-list li { font-family: var(--f-display); font-size: 19px; line-height: 1.4; color: var(--ink-2); font-variation-settings: "opsz" 24; white-space: nowrap; }
.auth-list li.acc { color: var(--ink); }
@media (max-width: 560px) { .auth-list { gap: 2px 16px; } .auth-list li { font-size: 17px; } }

/* ---------- Problem ---------- */
.problem-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.problem-art { border-radius: var(--r-frame); overflow: hidden; box-shadow: var(--frame-shadow); aspect-ratio: 3 / 2; }
.problem-art img { width: 100%; height: 100%; object-fit: cover; }
.problem-copy { display: grid; gap: 22px; }
.problem-copy h2 .soft { color: var(--ink-3); }
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--hairline); }
.pain { display: grid; gap: 10px; align-content: start; }
.pain-art { width: 84px; height: 84px; object-fit: contain; margin: 0 0 6px -6px; }
.pain .k { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; }
.pain h3 { font-size: 24px; }
.pain p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; } .pains { grid-template-columns: 1fr; } }

/* ---------- Desk: "Accrue helps you..." ---------- */
.desk { background: var(--paper-deep); overflow: hidden; padding-block: clamp(90px, 12vw, 160px); }
.desk-inner { position: relative; display: grid; justify-items: center; gap: 44px; z-index: 2; }
.desk-title { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; justify-content: center; color: var(--dusk); }
.desk-title svg { height: clamp(40px, 5.2vw, 64px); width: auto; transform: translateY(0.1em); }
.desk-title span { font-family: var(--f-display); font-size: clamp(46px, 6vw, 78px); line-height: 1; letter-spacing: -0.02em; }
.notes { display: flex; gap: clamp(8px, 2vw, 28px); justify-content: center; flex-wrap: wrap; }
.note { width: clamp(180px, 20vw, 250px); transition: transform 0.9s var(--ease); }
.note:nth-child(1) { transform: rotate(-4deg) translateY(6px); }
.note:nth-child(2) { transform: rotate(2.5deg) translateY(-10px); }
.note:nth-child(3) { transform: rotate(-2deg) translateY(4px); }
.note:hover { transform: rotate(0) translateY(-8px) scale(1.03); }
.desk-item { position: absolute; z-index: 1; pointer-events: none; transition: transform 1.4s var(--ease), opacity 1s ease; }
.desk-item.plant { width: clamp(150px, 19vw, 280px); right: -3%; top: -4%; }
.desk-item.book { width: clamp(130px, 15vw, 220px); left: -2.5%; top: 34%; --r: -24deg; transform: rotate(var(--r)); }
.desk-item.pen { width: clamp(80px, 9vw, 130px); right: 7%; bottom: 4%; --r: -32deg; transform: rotate(var(--r)); }
.desk-item.coffee { width: clamp(120px, 12vw, 180px); left: 6%; bottom: -5%; }
.reveal-ready .desk:not(.in) .desk-item.plant { transform: translate(40%, -40%); opacity: 0; }
.reveal-ready .desk:not(.in) .desk-item.book { transform: translateX(-60%) rotate(var(--r)); opacity: 0; }
.reveal-ready .desk:not(.in) .desk-item.pen { transform: translateX(60%) rotate(var(--r)); opacity: 0; }
.reveal-ready .desk:not(.in) .desk-item.coffee { transform: translateY(60%); opacity: 0; }
.desk .desk-item.book { transition-delay: 0.08s; }
.desk .desk-item.pen { transition-delay: 0.16s; }
.desk .desk-item.coffee { transition-delay: 0.24s; }
.reveal-ready .desk:not(.in) .note { opacity: 0; transform: translateY(40px) rotate(0); }
.desk .note { transition: transform 1s var(--ease), opacity 0.8s ease; }
.desk .note:nth-child(2) { transition-delay: 0.1s; }
.desk .note:nth-child(3) { transition-delay: 0.2s; }
.desk-sub { max-width: 34em; text-align: center; color: var(--ink-2); font-size: 18px; }
@media (max-width: 720px) {
  .desk-item.book { top: -3%; left: -9%; width: 96px; }
  .desk-item.plant { right: -16%; top: -3%; }
  .desk-item.pen { display: none; }
  .desk-item.coffee { left: auto; right: -6%; bottom: -4%; width: 104px; }
  .note { width: 44%; }
}

/* ---------- Counter (one entry, every ledger) ---------- */
.counter { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.entry-panel { position: sticky; top: 96px; background: var(--sheet); border-radius: var(--r-card); box-shadow: var(--card-shadow); padding: 12px; display: grid; gap: 6px; }
.entry-panel .panel-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 12px; }
.entry-panel .panel-head h3 { font-family: var(--f-sans); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.entry-panel .panel-head span { font-size: 13px; color: var(--ink-3); }
.entry-opt {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; text-align: left; width: 100%;
  padding: 14px 16px; border-radius: 14px; border: 0; background: transparent; cursor: pointer;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.entry-opt:hover { background: var(--dusk-wash); }
.entry-opt[aria-pressed="true"] { background: var(--dusk-wash); box-shadow: inset 0 0 0 1.5px var(--dusk); }
.entry-opt .t { font-family: var(--f-display); font-size: 20px; line-height: 1.2; }
.entry-opt .s { grid-column: 1; font-size: 14px; color: var(--ink-2); }
.entry-opt .fig { grid-row: 1 / span 2; grid-column: 2; font-size: 17px; font-weight: 500; }
.entry-opt .cat { font-size: 12px; color: var(--ink-3); display: block; text-align: right; font-family: var(--f-sans); }
.ledgers { display: grid; gap: 16px; }
.lcard { background: var(--sheet); border-radius: var(--r-card); box-shadow: var(--card-shadow); padding: 22px 22px 20px; display: grid; gap: 16px; position: relative; overflow: hidden; }
.lcard .top { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.lcard .total { font-family: var(--f-mono); font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.lrow { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; }
.lrow .v { font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: 15px; text-align: right; white-space: nowrap; }
.lrow .bar { grid-column: 1 / -1; }
.lrow .delta { display: inline-block; margin-right: 10px; color: var(--dusk); font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity 0.4s ease, transform 0.5s var(--ease); }
.lrow.hit .delta { opacity: 1; transform: none; }
.lrow.hit .k { color: var(--ink); font-weight: 600; }
.lrow .k { transition: color 0.3s ease; }
.lcard .verdict { display: flex; gap: 10px; align-items: start; font-size: 14.5px; color: var(--ink-2); padding: 12px 14px; border-radius: var(--r-input); background: var(--paper); line-height: 1.45; }
.lcard .verdict svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--dusk); }
.lcard.uncounted .verdict svg { color: var(--caution); }
.lcard.uncounted .verdict { color: var(--ink); }
.lcard .lrow { transition: opacity 0.4s ease; }
.lcard.uncounted .lrow { opacity: 0.45; }
.lcard .flash { position: absolute; inset: 0; pointer-events: none; background: var(--dusk-wash); opacity: 0; }
.lcard.pulse .flash { animation: flash 0.9s ease; }
@keyframes flash { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
.counter-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); max-width: 46em; }
@media (max-width: 900px) { .counter { grid-template-columns: 1fr; } .entry-panel { position: static; } }

/* ---------- Tour (sticky phone) ---------- */
.tour { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 96px); }
.tour-stage { position: sticky; top: 96px; height: calc(100vh - 120px); max-height: 820px; display: grid; place-items: center; }
.tour-stage .halo { position: absolute; inset: 8% 4%; border-radius: 40px; background: radial-gradient(60% 55% at 50% 45%, var(--dusk-soft), transparent 72%); opacity: 0.9; }
.tour-stage .phone { --w: min(330px, 30vw, calc((100vh - 170px) * 0.46)); }
.tour-stage .screen img { position: absolute; inset: 0; opacity: 0; transform: scale(1.02); transition: opacity 0.6s ease, transform 0.9s var(--ease); }
.tour-stage .screen img.on { opacity: 1; transform: none; }
.tour-steps { display: grid; }
.step { min-height: 78vh; display: grid; align-content: center; gap: 18px; padding-block: 40px; max-width: 480px; opacity: 0.35; transition: opacity 0.5s ease; }
.step.active { opacity: 1; }
.step .num { font-family: var(--f-mono); font-size: 13px; color: var(--dusk); letter-spacing: 0.06em; }
.step h3 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.06; letter-spacing: -0.02em; font-variation-settings: "opsz" 60; }
.step p { color: var(--ink-2); font-size: 18px; }
.step .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--r-chip); background: var(--sheet); box-shadow: inset 0 0 0 1px var(--hairline); font-size: 13.5px; color: var(--ink-2); }
.chip .fig { color: var(--ink); font-size: 13px; }
.step .quote { font-family: var(--f-display); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--dusk); }
.step-phone { display: none; }
@media (max-width: 900px) {
  .tour { grid-template-columns: 1fr; }
  .tour-stage { display: none; }
  .step { min-height: 0; opacity: 1; max-width: none; padding-block: 28px 36px; border-top: 1px solid var(--hairline); }
  .step-phone { display: flex; justify-content: center; padding-top: 12px; }
  .step-phone .phone { --w: min(260px, 66vw); }
}

/* Detail grid */
.details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--hairline); border-radius: var(--r-card); overflow: hidden; box-shadow: inset 0 0 0 1px var(--hairline); }
.detail { background: var(--sheet); padding: 28px 26px 30px; display: grid; gap: 10px; align-content: start; }
.detail svg { width: 26px; height: 26px; color: var(--dusk); margin-bottom: 6px; }
.detail h4 { font-size: 17px; }
.detail p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .details { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .details { grid-template-columns: 1fr; } }

/* ---------- Session band ---------- */
.band { background: var(--band); color: var(--band-ink); overflow: hidden; }
.band .eyebrow { color: #B0C4EC; }
.band .lede, .band p { color: var(--band-ink-2); }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.band-copy { display: grid; gap: 24px; }
.band-copy h2 { color: var(--band-ink); }
.facts { display: grid; gap: 0; border-top: 1px solid var(--band-rule); }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--band-rule); font-size: 16px; }
.facts dt, .facts .k { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.04em; color: #B0C4EC; padding-top: 3px; }
.facts dd { margin: 0; color: var(--band-ink); }
.session-visual { position: relative; display: grid; justify-items: center; }
.session-scene { width: 100%; border-radius: var(--r-frame); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6); }
.session-scene img { width: 100%; height: 100%; object-fit: cover; }
.live {
  position: absolute; left: -6%; bottom: -10%; width: min(400px, 88%);
  background: rgba(231, 234, 239, 0.94); color: #0E1420; border-radius: 26px; padding: 16px 16px 16px 18px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.live .ico { width: 30px; height: 30px; color: #213C6B; }
.live .name { font-weight: 600; font-size: 19px; line-height: 1.1; }
.live .clock { font-family: var(--f-mono); font-size: 14px; font-variant-numeric: tabular-nums; color: #0E1420; }
.live .end { background: #213C6B; color: #E7EAEF; border-radius: 999px; padding: 9px 20px; font-weight: 600; font-size: 16px; }
.island {
  position: absolute; right: 4%; top: -28px; background: #000; color: #fff; border-radius: 999px; height: 44px; padding: 0 18px 0 14px;
  display: flex; align-items: center; gap: 70px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7);
}
.island svg { width: 18px; height: 18px; color: #B0C4EC; }
.island .clock { font-family: var(--f-mono); font-size: 15px; color: #B0C4EC; font-variant-numeric: tabular-nums; }
.band-phone { position: absolute; right: -4%; bottom: -14%; --w: clamp(150px, 15vw, 210px); }
@media (max-width: 960px) {
  .band-grid { grid-template-columns: 1fr; }
  .session-visual { margin-bottom: 70px; }
  .band-phone { display: none; }
  .live { left: 4%; bottom: -54px; }
}
@media (max-width: 520px) { .island { gap: 40px; top: -22px; height: 38px; } .facts div { grid-template-columns: 96px 1fr; } }

/* ---------- Rules ---------- */
.rules-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.rules-phone { display: grid; justify-items: center; gap: 18px; position: sticky; top: 110px; }
.rules-phone .phone { --w: min(300px, 70vw); }
.rules-phone figcaption { font-size: 14px; color: var(--ink-3); text-align: center; max-width: 24em; }
.rulesheet { background: var(--sheet); border-radius: var(--r-card); box-shadow: var(--card-shadow); overflow: hidden; }
.rulesheet header { padding: 26px 28px 22px; display: grid; gap: 14px; border-bottom: 1px solid var(--hairline); }
.rulesheet header .ledger-id .name { font-size: 28px; }
.rulesheet header .ledger-id .auth { font-size: 15px; }
.rulesheet .title-line { font-size: 14px; color: var(--ink-3); }
.rulesheet dl { margin: 0; }
.rulesheet .rrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; padding: 15px 28px; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.rulesheet .rrow dt { font-size: 15.5px; color: var(--ink-2); }
.rulesheet .rrow dd { margin: 0; font-size: 15.5px; }
.rulesheet .rrow dd .fig { font-size: 16px; font-weight: 500; }
.rulesheet footer { padding: 18px 28px 22px; font-size: 13.5px; color: var(--ink-3); display: grid; gap: 6px; }
.rulesheet footer .dates { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-2); }
.callout { margin-top: 18px; display: flex; gap: 14px; align-items: start; padding: 18px 20px; border-radius: var(--r-card); background: var(--sheet); box-shadow: inset 0 0 0 1px var(--hairline); }
.callout svg { width: 22px; height: 22px; color: var(--caution); flex: none; margin-top: 2px; }
.callout p { font-size: 15.5px; color: var(--ink-2); }
.callout p b { color: var(--ink); font-weight: 600; }

.units { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(56px, 7vw, 96px); }
.unit { background: var(--sheet); border-radius: var(--r-card); padding: 24px; display: grid; gap: 14px; box-shadow: inset 0 0 0 1px var(--hairline); align-content: start; }
.unit .eq { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.unit .blocks { display: flex; gap: 4px; }
.unit .blocks i { width: 26px; height: 26px; border-radius: var(--r-cell); background: var(--supervision); opacity: 0.9; }
.unit .blocks i.g { background: transparent; box-shadow: inset 0 0 0 2px var(--supervision); }
.unit .arrow { color: var(--ink-3); font-family: var(--f-mono); }
.unit .res { font-family: var(--f-mono); font-size: 15px; font-weight: 600; color: var(--ink); }
.unit h3 { font-family: var(--f-display); font-weight: 500; font-size: 21px; letter-spacing: -0.01em; }
.unit p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 960px) { .rules-grid { grid-template-columns: 1fr; } .rules-phone { position: static; } .units { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .rulesheet .rrow { grid-template-columns: 1fr; gap: 4px; padding: 14px 20px; } .rulesheet header, .rulesheet footer { padding-inline: 20px; } }

/* Coverage map */
.coverage { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(72px, 9vw, 130px); }
.tilemap-wrap { overflow-x: auto; }
.tilemap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; }
@media (max-width: 560px) { .tilemap { gap: 3px; } .tile { border-radius: 5px; font-size: 9.5px; } }
.tile {
  aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; font-family: var(--f-mono); font-size: clamp(10px, 1.05vw, 13px); font-weight: 500;
  background: var(--sheet); color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--hairline); border: 0; padding: 0; cursor: default;
  transition: transform 0.35s var(--ease), background-color 0.3s ease, color 0.3s ease;
}
.tile.on { background: var(--dusk); color: var(--dusk-ink); box-shadow: none; cursor: pointer; }
.tile.on:hover, .tile.on.sel { transform: translateY(-3px) scale(1.06); }
.tile.on.sel { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--dusk); }
.reveal-ready .coverage:not(.in) .tile.on { background: var(--sheet); color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--hairline); }
.coverage .tile.on { transition-delay: var(--td, 0s); }
.cov-copy { display: grid; gap: 20px; }
.state-card { background: var(--sheet); border-radius: var(--r-card); box-shadow: var(--card-shadow); padding: 22px 24px; display: grid; gap: 14px; min-height: 196px; align-content: start; }
.state-card .sc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.state-card .sc-name { font-family: var(--f-display); font-size: 28px; line-height: 1.1; }
.state-card .sc-hint { font-size: 13px; color: var(--ink-3); }
.state-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.state-card li { display: grid; grid-template-columns: 2px auto 1fr; gap: 12px; align-items: center; }
.state-card li::before { content: ""; height: 100%; min-height: 20px; background: var(--hue); border-radius: 2px; }
.state-card li b { font-family: var(--f-mono); font-size: 14px; font-weight: 600; min-width: 4.4em; }
.state-card li span { font-size: 14.5px; color: var(--ink-2); }
.acc-list { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 960px) { .coverage { grid-template-columns: 1fr; } }

/* ---------- Signature & paperwork ---------- */
.sign-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.sign-grid > .section-head { position: sticky; top: 120px; padding-top: 24px; }
@media (max-width: 960px) { .sign-grid > .section-head { position: static; padding-top: 0; } }
.sign-art { border-radius: var(--r-frame); overflow: hidden; box-shadow: var(--frame-shadow); aspect-ratio: 3 / 2; }
.sign-art img { width: 100%; height: 100%; object-fit: cover; }
.paper {
  background: #FFFFFF; color: #0E1420; border-radius: 6px; padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 1px 0 rgba(14, 20, 32, 0.05), 0 30px 60px -30px rgba(14, 20, 32, 0.35), 0 0 0 1px rgba(14, 20, 32, 0.06);
  font-size: 12px; line-height: 1.35; position: relative;
}
.paper .p-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding-bottom: 12px; border-bottom: 1.5px solid #0E1420; }
.paper .p-title { font-family: var(--f-display); font-size: clamp(18px, 2vw, 23px); line-height: 1.1; }
.paper .p-sub { color: #525B69; font-size: 11.5px; margin-top: 4px; }
.paper .p-week { text-align: right; font-family: var(--f-mono); font-size: 11px; white-space: nowrap; }
.paper .p-week small { display: block; font-family: var(--f-sans); letter-spacing: 0.08em; color: #667080; font-size: 9.5px; }
.paper .boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.paper .box { border: 1px solid #0E1420; border-radius: 4px; padding: 6px 8px; min-height: 44px; }
.paper .box small { display: block; font-size: 9.5px; letter-spacing: 0.08em; color: #667080; text-transform: uppercase; }
.paper .box span { font-size: 12px; }
.paper .box em { display: block; font-style: normal; font-size: 9.5px; color: #525B69; }
.paper table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.paper th { font-weight: 500; font-size: 10px; letter-spacing: 0.06em; color: #667080; text-align: center; padding: 4px 2px; border-bottom: 1.5px solid #0E1420; }
.paper th:first-child, .paper td:first-child { text-align: left; }
.paper th:last-child, .paper td:last-child { text-align: right; }
.paper td { padding: 6px 2px; border-bottom: 1px solid #DCE1E8; text-align: center; font-family: var(--f-mono); font-size: 11px; }
.paper td:first-child { font-family: var(--f-sans); font-size: 11.5px; }
.paper tr.b td:first-child { font-weight: 600; }
.paper td.z { color: #A9B1BE; }
.paper .cert { margin-top: 16px; font-size: 11px; color: #0E1420; }
.paper .sigs { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; margin-top: 12px; align-items: end; }
.paper .sigbox { border: 1px solid #0E1420; border-radius: 4px; height: 78px; position: relative; overflow: hidden; }
.paper .sigbox svg { position: absolute; inset: 4px 8px; width: calc(100% - 16px); height: calc(100% - 8px); }
.paper .sigbox path { fill: none; stroke: #1B2A4A; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.paper .sigline { border-bottom: 1px solid #0E1420; height: 40px; font-family: var(--f-display); font-style: italic; font-size: 17px; display: flex; align-items: end; padding-bottom: 3px; }
.paper .siglbl { font-size: 9.5px; color: #525B69; margin-top: 5px; }
.paper .siglbl b { font-weight: 500; color: #0E1420; }
.paper .stamp { position: absolute; right: clamp(18px, 3vw, 30px); top: clamp(-14px, -1vw, -10px); background: var(--verdigris); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity 0.5s ease 2.4s, transform 0.6s var(--ease) 2.4s; }
.signed .paper .stamp { opacity: 1; transform: none; }
.paper .foot { margin-top: 12px; font-size: 9.5px; color: #667080; line-height: 1.4; }
.sign-doc { position: relative; margin-top: -12%; margin-left: 10%; margin-right: -2%; transform: rotate(1.2deg); }
.exports { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--hairline); }
.export { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.export svg { width: 22px; height: 22px; color: var(--dusk); margin-top: 2px; }
.export h3 { font-family: var(--f-sans); font-weight: 600; letter-spacing: 0.002em; line-height: 1.3; font-size: 16.5px; margin-bottom: 3px; }
.export p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 960px) { .sign-grid { grid-template-columns: 1fr; } .sign-doc { margin: -14% 2% 0 8%; } }
@media (max-width: 640px) { .exports { grid-template-columns: 1fr; } .paper .boxes { grid-template-columns: 1fr 1fr; } .paper .boxes .box:first-child { grid-column: 1 / -1; } .sign-doc { margin: -10% 0 0; transform: none; } }

/* ---------- Path ---------- */
.path-art { position: relative; border-radius: var(--r-frame); overflow: hidden; box-shadow: var(--frame-shadow); aspect-ratio: 3808 / 1632; }
.path-art img { width: 100%; height: 100%; object-fit: cover; }
.station { position: absolute; transform: translate(-50%, -100%); display: grid; justify-items: center; gap: 6px; }
.station .pin { background: var(--sheet); color: var(--ink); border-radius: 999px; padding: 7px 13px 7px 11px; font-size: 13.5px; font-weight: 600; box-shadow: 0 10px 24px -10px rgba(14, 20, 32, 0.45); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.station .pin i { width: 8px; height: 8px; border-radius: 2px; background: var(--dusk); }
.station .stem { width: 2px; height: 22px; background: var(--sheet); border-radius: 2px; opacity: 0.9; }
.reveal-ready .path-art:not(.in) .station { opacity: 0; transform: translate(-50%, -80%); }
.path-art .station { transition: opacity 0.6s ease var(--sd, 0s), transform 0.8s var(--ease) var(--sd, 0s); }
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 36px; }
.tl { padding: 20px 20px 0 0; border-top: 2px solid var(--hairline); position: relative; display: grid; gap: 6px; align-content: start; }
.tl::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 3px; background: var(--paper); box-shadow: inset 0 0 0 2px var(--dusk); }
.tl.done::before { background: var(--dusk); }
.tl .when { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; text-transform: uppercase; }
.tl h3 { font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }
.tl p { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; border-left: 2px solid var(--hairline); margin-left: 6px; }
  .tl { border-top: 0; padding: 0 0 26px 24px; }
  .tl::before { top: 4px; left: -7px; }
  .station .pin { font-size: 11px; padding: 5px 9px; }
  .station .stem { height: 12px; }
}
@media (max-width: 620px) { .station { display: none; } }
.path-extra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: clamp(56px, 7vw, 96px); }
.feature-card { background: var(--sheet); border-radius: var(--r-card); box-shadow: var(--card-shadow); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.feature-card .fc-art { aspect-ratio: 3 / 2; overflow: hidden; }
.feature-card .fc-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature-card:hover .fc-art img { transform: scale(1.03); }
.feature-card .fc-body { padding: 24px 26px 28px; display: grid; gap: 10px; align-content: start; }
.feature-card h3 { font-size: 25px; }
.feature-card p { color: var(--ink-2); font-size: 16px; }
.feature-card.split { grid-template-rows: none; grid-template-columns: 1fr; }
.fc-screen { background: var(--paper-deep); display: grid; place-items: end center; padding-top: 28px; aspect-ratio: 3 / 2; overflow: hidden; }
.fc-screen .phone { --w: 62%; margin-bottom: -58%; }
@media (max-width: 800px) { .path-extra { grid-template-columns: 1fr; } }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.person { background: var(--sheet); border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--hairline); display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.person .fig-wrap { position: relative; background: linear-gradient(180deg, var(--paper-deep), var(--sheet)); height: 300px; overflow: hidden; }
.person .fig-wrap img { position: absolute; left: 50%; top: 26px; height: 190%; width: auto; max-width: none; transform: translateX(-50%); transition: transform 0.9s var(--ease); }
.person:hover .fig-wrap img { transform: translateX(-50%) translateY(-6px); }
.person .p-body { padding: 22px 22px 26px; display: grid; gap: 10px; align-content: start; border-top: 1px solid var(--hairline); }
.person h3 { font-size: 24px; }
.person .titles { display: flex; flex-wrap: wrap; gap: 6px; }
.person .titles span { font-family: var(--f-mono); font-size: 12px; padding: 3px 7px; border-radius: 6px; background: var(--dusk-wash); color: var(--dusk); }
.person p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 1060px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .people { grid-template-columns: 1fr; } .person .fig-wrap { height: 260px; } }

/* ---------- Privacy ---------- */
.privacy-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.privacy-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 460px; margin-inline: auto; width: 100%; }
.privacy-art::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, var(--dusk-soft), transparent); }
.privacy-art img { position: relative; width: 74%; transform: rotate(-6deg); filter: drop-shadow(0 30px 30px rgba(14, 20, 32, 0.22)); }
.privacy-list { display: grid; gap: 0; border-top: 1px solid var(--hairline); margin-top: 32px; }
.privacy-list li { list-style: none; display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.privacy-list svg { width: 22px; height: 22px; color: var(--dusk); margin-top: 2px; }
.privacy-list b { display: block; font-weight: 600; margin-bottom: 2px; }
.privacy-list span { color: var(--ink-2); font-size: 15.5px; }
.privacy-list ul, ul.privacy-list { padding: 0; margin: 32px 0 0; }
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr; } .privacy-art { max-width: 300px; } }

/* ---------- Compare ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--r-card); background: var(--sheet); box-shadow: var(--card-shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--hairline); font-size: 15.5px; vertical-align: middle; }
.compare thead th { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); background: var(--sheet); }
.compare thead th.us { color: var(--dusk); }
.compare tbody th { font-weight: 500; width: 36%; }
.compare td { color: var(--ink-3); }
.compare td.us { color: var(--ink); background: var(--dusk-wash); font-weight: 500; }
.compare thead th.us { background: var(--dusk-wash); }
.compare td .yes { display: inline-flex; align-items: center; gap: 8px; }
.compare td .yes svg { width: 18px; height: 18px; color: var(--dusk); flex: none; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .compare-wrap { background: transparent; box-shadow: none; overflow: visible; }
  .compare { min-width: 0; display: block; }
  .compare thead { display: none; }
  .compare tbody { display: grid; gap: 12px; }
  .compare tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--sheet); border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--hairline); overflow: hidden; }
  .compare tbody th { grid-column: 1 / -1; width: auto; font-family: var(--f-display); font-size: 19px; padding: 16px 16px 10px; border-bottom: 0; }
  .compare td { padding: 10px 12px 14px; font-size: 14px; border-bottom: 0; }
  .compare td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
  .compare td.us::before { color: var(--dusk); }
  .compare td .yes svg { display: none; }
}

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--sheet); border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--hairline); padding: 30px 28px 28px; display: grid; gap: 18px; align-content: start; position: relative; }
.plan.feat { box-shadow: inset 0 0 0 2px var(--dusk), var(--card-shadow); }
.plan .tag { position: absolute; top: -13px; left: 26px; background: var(--dusk); color: var(--dusk-ink); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-family: var(--f-sans); font-size: 19px; font-weight: 600; letter-spacing: 0; }
.plan .price { display: flex; align-items: baseline; gap: 8px; }
.plan .price b { font-family: var(--f-display); font-size: clamp(44px, 4vw, 56px); font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: lining-nums; line-height: 1; font-variation-settings: "opsz" 60; }
.plan .price span { color: var(--ink-2); font-size: 15px; }
.plan .trial { font-size: 15px; color: var(--ink); font-weight: 500; }
.plan .trial.none { color: var(--ink-2); font-weight: 400; }
.plan .per { font-size: 14px; color: var(--ink-3); font-family: var(--f-mono); }
.plan .btn { width: 100%; }
.plan-note { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 44px; }
.plan-note ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan-note li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15.5px; }
.plan-note li svg { width: 18px; height: 18px; color: var(--dusk); margin-top: 3px; }
.plan-note .fine { font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan-note { grid-template-columns: 1fr; } .plan.feat { order: -1; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: 110px; display: grid; gap: 20px; }
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--f-display); font-size: clamp(20px, 1.9vw, 23px); line-height: 1.25; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 44px 24px 0; color: var(--ink-2); display: grid; gap: 12px; font-size: 16.5px; }
.faq .a a { color: var(--dusk); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ---------- Final CTA ---------- */
.finale { padding-block: clamp(40px, 6vw, 80px) clamp(84px, 10vw, 140px); }
.finale-card { position: relative; border-radius: calc(var(--r-frame) + 4px); overflow: hidden; min-height: clamp(460px, 48vw, 640px); display: grid; align-items: center; box-shadow: var(--frame-shadow); }
.finale-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.finale-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(12, 22, 42, 0.9) 0%, rgba(12, 22, 42, 0.7) 36%, rgba(12, 22, 42, 0) 66%); }
.finale-copy { position: relative; z-index: 2; padding: clamp(28px, 5vw, 64px); display: grid; gap: 22px; max-width: 560px; color: #F3F5F8; justify-self: end; }
.finale-copy h2 { color: #fff; }
.finale-copy p { color: rgba(243, 245, 248, 0.82); font-size: 18px; }
@media (max-width: 700px) {
  .finale-card { align-items: end; min-height: 620px; }
  .finale-card::after { background: linear-gradient(0deg, rgba(12, 22, 42, 0.94) 0%, rgba(12, 22, 42, 0.78) 42%, rgba(12, 22, 42, 0) 72%); }
  .finale-card > img { object-position: 27% 40%; }
  .finale-copy { justify-self: stretch; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); padding-block: 64px 48px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand svg { height: 28px; width: auto; color: var(--dusk); }
.foot-brand p { color: var(--ink-2); max-width: 22em; }
.foot-col .foot-h { font-family: var(--f-sans); line-height: 1.3; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { text-decoration: none; color: var(--ink); }
.foot-col a:hover { color: var(--dusk); text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hairline); display: grid; gap: 12px; color: var(--ink-3); font-size: 13.5px; line-height: 1.6; }
.foot-legal p { max-width: 70em; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Legal pages ---------- */
.legal-hero { padding-block: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--hairline); }
.legal-hero .wrap { display: grid; gap: 18px; }
.legal-hero h1 { font-size: clamp(42px, 5.4vw, 72px); }
.legal-hero .updated { font-family: var(--f-mono); font-size: 13px; color: var(--ink-3); }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-block: clamp(40px, 5vw, 64px) clamp(80px, 10vw, 130px); }
.legal-nav { position: sticky; top: 100px; align-self: start; display: grid; gap: 4px; }
.legal-nav a { text-decoration: none; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-size: 15px; }
.legal-nav a:hover { background: var(--dusk-wash); color: var(--ink); }
.legal-nav a[aria-current="page"] { background: var(--sheet); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline); font-weight: 600; }
.policy { max-width: 720px; font-size: 17px; line-height: 1.65; }
.policy > * + * { margin-top: 16px; }
.policy h2 { font-size: clamp(26px, 2.6vw, 32px); margin-top: 44px; line-height: 1.15; }
.policy h3 { font-size: 21px; margin-top: 30px; }
.policy .lede { font-size: 20px; color: var(--ink-2); }
.policy ul { padding-left: 1.2em; display: grid; gap: 10px; }
.policy li::marker { color: var(--dusk); }
.policy a { color: var(--dusk); text-underline-offset: 3px; }
.policy code { font-family: var(--f-mono); font-size: 0.88em; background: var(--dusk-wash); padding: 2px 6px; border-radius: 6px; }
.policy .notice { background: var(--sheet); border-radius: var(--r-card); padding: 20px 22px; box-shadow: inset 0 0 0 1px var(--hairline); border-left: 0; position: relative; }
.policy .notice::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; background: var(--dusk); border-radius: 2px; }
.policy .eyebrow-legal, .policy > .eyebrow, .policy > h1, .policy > .updated { display: none; }
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; } .legal-nav { position: static; display: flex; flex-wrap: wrap; } }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.nf .wrap { display: grid; gap: 20px; justify-items: center; }
.nf img { width: min(360px, 70vw); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
}
