/* ===========================================================
   Phanim — phanim.com
   Rules: brand/BRAND.md. Tokens below are the only source of colour.
   =========================================================== */

/* ---------- faces, self-hosted ----------
   Google's stylesheet cost 849ms of render-blocking time on a throttled mobile
   connection plus two extra connections, and the swap that followed rewrapped the
   headline: measured CLS. These are same-origin and preloaded, so they arrive with
   the page. Google's own unicode-range split is preserved, so an English page only
   ever downloads the latin file of each family. Files: assets/fonts/. */
@font-face{
  font-family:'Archivo';font-style:normal;font-weight:400 800;font-stretch:75% 112%;font-display:swap;
  src:url('/assets/fonts/archivo-400-800-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Archivo';font-style:normal;font-weight:400 800;font-stretch:75% 112%;font-display:swap;
  src:url('/assets/fonts/archivo-400-800-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Big Shoulders Display';font-style:normal;font-weight:600 900;font-display:swap;
  src:url('/assets/fonts/big-shoulders-display-600-900-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Geist';font-style:normal;font-weight:400 700;font-display:swap;
  src:url('/assets/fonts/geist-400-700-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Michroma';font-style:normal;font-weight:400;font-display:swap;
  src:url('/assets/fonts/michroma-400-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Michroma';font-style:normal;font-weight:400;font-display:swap;
  src:url('/assets/fonts/michroma-400-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;
  src:url('/assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;
  src:url('/assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;
  src:url('/assets/fonts/ibm-plex-mono-400-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;
  src:url('/assets/fonts/ibm-plex-mono-500-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root{
  /* surfaces */
  --bg:#080810;
  --surface:#0e0e1b;
  --border:rgba(233,230,255,.09);
  --border-2:rgba(233,230,255,.16);

  /* text */
  --ink:#F1EEE7;
  --muted:#ADA8CB;
  --dim:#9590BC;            /* ~6.6:1 on --bg; was #7D77A6 (4.81:1), read too dark */

  /* signal */
  --signal:#3B82F6;         /* brand stroke / accent — the app's own primary blue */
  --signal-cta:#2563EB;     /* fill under white text — AA 5.17:1 */
  --signal-bright:#60A5FA;  /* blue as text */
  --iris:#5FE6FF;           /* one glint per view */
  --gold:#C9A84C;           /* money only */
  --green:#22C55E;
  --red:#EF4444;

  /* Big Shoulders Display for headlines: condensed, plate-stamped, it carries size
     without negative tracking. Geist for everything a person reads. Archivo stays
     in both stacks as the fallback, and is what the wdth values below act on. */
  --font-word:'Michroma',sans-serif;
  --font-display:'Big Shoulders Display','Archivo',system-ui,sans-serif;
  --font-body:'Geist','Archivo',system-ui,sans-serif;
  --font-mono:'IBM Plex Mono',ui-monospace,monospace;

  /* type scale — one place, every page. Labels floor at 14px. */
  --fs-display:clamp(3.2rem,min(8.6vw,12.5svh),6.6rem);
  --fs-h1-sm:clamp(2.3rem,5vw,3.6rem);
  --fs-h2:clamp(2.6rem,6vw,5.2rem);
  --fs-h3:1.24rem;
  --fs-lead:clamp(1.12rem,1.4vw,1.3rem);
  --fs-body:1rem;
  --fs-label:14px;
  --wdth-display:93;
  --wdth-h2:96;

  --ease:cubic-bezier(.16,1,.3,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);
  --dur-fast:.2s;
  --dur-int:.3s;
  --dur-reveal:.75s;

  /* depth. Elevation is shadow plus a rim of light on the top edge — the way a
     machined face catches the shop lights. Never a coloured glow behind a pill. */
  --rim:inset 0 1px 0 rgba(233,230,255,.08);
  --elev-1:0 2px 10px -6px rgba(0,0,0,.7);
  --elev-2:0 18px 44px -26px rgba(0,0,0,.92);
  /* v3 elevation scale. One light, above the page: every raised face gets the
     same top rim (--edge) and a shadow that falls straight down, tinted blue
     by the bloom it sits in. sm = keys/rows, md = tiles, lg = panels/devices. */
  --edge:inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 0 1px rgba(255,255,255,.07);
  --lift-sm:0 1px 2px rgba(0,0,0,.55),0 10px 30px -14px rgba(0,0,0,.8);
  --lift-md:0 1px 2px rgba(0,0,0,.55),0 16px 40px rgba(0,0,0,.45),0 40px 80px -30px rgba(59,130,246,.35);
  --lift-lg:0 2px 4px rgba(0,0,0,.6),0 40px 100px -30px rgba(0,0,0,.9),0 60px 140px -40px rgba(59,130,246,.55);
  --face:linear-gradient(170deg,hsl(245 20% 12.5%),hsl(240 18% 7.5%));

  /* written by app.js, read by CSS. Unitless; every consumer supplies the unit.
     px/py: pointer, -1..1 from centre.
     spin: scroll-velocity fed into the dial. All default to a resting page. */
  --px:0;
  --py:0;
  --spin:0;

  --maxw:1320px;   /* includes the .wrap gutter; content area is 1240 */
}

*{box-sizing:border-box;margin:0;padding:0}
/* Any `display` rule outranks the hidden attribute's UA style, so state it once
   here rather than remembering per component. */
[hidden]{display:none!important}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
/* Lenis (app.js) owns wheel smoothing; native smooth-scroll would fight it. */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-stopped{overflow:clip}
.lenis.lenis-smooth iframe{pointer-events:none}
body{
  background:var(--bg);color:var(--ink);font-family:var(--font-body);
  font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;
  overflow-x:hidden;position:relative;
}
img,svg{max-width:100%}

/* ambient light + precision grid.
   Both bleed past the viewport and drift against the pointer, which is what puts
   the page in front of an atmosphere rather than on top of a flat colour. The
   light moves further than the grid: nearer things move more. */
body::before{
  content:'';position:fixed;inset:-10%;z-index:-2;pointer-events:none;
  background:
    radial-gradient(1200px 700px at 78% -6%, rgba(59,130,246,.24) 0%, transparent 62%),
    radial-gradient(900px 600px at 8% 14%, rgba(95,230,255,.06) 0%, transparent 55%),
    radial-gradient(1000px 900px at 50% 112%, rgba(59,130,246,.14) 0%, transparent 60%),
    var(--bg);
  transform:translate3d(calc(var(--px) * -26px), calc(var(--py) * -18px), 0);
  will-change:transform;
}
.grain{
  position:fixed;inset:0;z-index:60;pointer-events:none;opacity:.025;transform:translateZ(0);
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(20px,4vw,40px)}
/* 6.75rem, not 8: two unbordered sections back to back put 256px of featureless
   black between them at 1440, which read as the page losing its place rather than
   as breathing room. 216px plus the rule below holds the air and keeps the thread. */
section{padding:clamp(4rem,7vw,6.75rem) 0}

/* Connective tissue. The bordered bands (.proof, .facts, .band) already announce
   themselves; these are the sections that floated. The rule draws itself as the
   section arrives, in the same language as every other rule on the page, and it
   is scroll-driven so there is no observer and no class to keep in sync. */
/* The nav is fixed and ~68px tall, so an in-page jump has to stop short of the
   target or the section's own label lands underneath it. */
main[id],section[id],header[id]{scroll-margin-top:96px}

/* ---------- accessibility ---------- */
:focus-visible{outline:2px solid var(--iris);outline-offset:3px;border-radius:4px}
.skip{
  position:absolute;left:12px;top:-60px;z-index:100;padding:12px 18px;border-radius:8px;
  background:var(--signal-cta);color:#fff;text-decoration:none;font-weight:500;
  transition:top .2s var(--ease);
}
.skip:focus{top:12px}

/* ---------- nav ---------- */
nav{
  position:fixed;top:0;left:0;right:0;z-index:50;padding:15px 0;
  background-color:rgba(9,9,19,0);
  background-image:linear-gradient(to bottom, rgba(8,8,16,.92), rgba(8,8,16,0));
  border-bottom:1px solid transparent;
}
/* The bar earns a surface once you leave the hero, because the persistent CTA has
   to stay legible over a screenshot. Scroll-driven, so there is no scroll handler
   and no class to keep in sync; browsers without the timeline keep the gradient. */
@supports (animation-timeline:scroll()){
  nav{animation:navSettle linear both;animation-timeline:scroll(root block);animation-range:0 140px}
  @keyframes navSettle{
    to{background-color:rgba(9,9,19,.94);border-bottom-color:var(--border)}
  }
}
/* No backdrop blur on the fixed bar: re-blurring whatever scrolls beneath it is
   redone every scroll frame (WebKit at iPhone density crashed with it), and under
   eased wheel scroll it stuttered on desktop too. The settled bar is .94 opaque
   instead, so the CTA still reads over a screenshot. */
/* nav bar is full-bleed; its contents ride the same .wrap gutter as the page,
   so the logo lines up with the headline below it */
nav .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:12px;min-height:44px;text-decoration:none;color:var(--ink)}
.brand .mark{width:28px;height:28px;flex:none}
/* The mark is an eye, so it looks at you. Travel is capped at 6 user units of a
   100-unit viewBox, which keeps the pupil inside its iris at every mark size. */
.pupil{
  transform-box:fill-box;transform-origin:center;
  transform:translate(calc(var(--px) * 6px), calc(var(--py) * 6px));
}
/* ...and the outer ring reads how far down the page you are. pathLength:100 makes
   the dash arithmetic percentages. Unsupported, it stays at offset 100: invisible. */
.prog{stroke-dasharray:100;stroke-dashoffset:100}
@supports (animation-timeline:scroll()){
  .prog{animation:progRing linear both;animation-timeline:scroll(root block)}
  @keyframes progRing{to{stroke-dashoffset:0}}
}
.brand .word{font-family:var(--font-word);font-size:17px;letter-spacing:.24em;padding-left:.24em}
.navlinks{display:flex;align-items:center;gap:clamp(16px,2.4vw,30px)}
.navlinks a:not(.btn){
  /* 12px of padding, not 10: at 10 the hit box measured 43px on a phone, one
     short of the 44 this audience needs with gloves on */
  color:var(--muted);text-decoration:none;font-size:14.5px;font-weight:500;
  padding:12px 2px;transition:color .25s var(--ease);
}
.navlinks a:not(.btn):hover,
.navlinks a[aria-current="page"]{color:var(--ink)}
.navlinks a[aria-current="page"]{box-shadow:inset 0 -2px 0 var(--signal)}
/* Pricing stays reachable on a phone. This audience lives on one, and the only
   other route to it was scrolling 6,000px to the footer. "What it sees" and
   "About" go: the page itself is the tour, and the footer carries About. */
@media(max-width:760px){.navlinks .hide-sm{display:none}}
/* Keeping Pricing costs ~50px, which pushed "Start free" into two lines. Buy it
   back from the wordmark rather than dropping it: the mark still reads, and the
   headline underneath says PHANIM at 44px anyway. */
@media(max-width:430px){
  .brand .word{font-size:14px;letter-spacing:.16em}
  nav .btn{padding:9px 15px;white-space:nowrap}
  .navlinks{gap:14px}
}
/* At 320 the wordmark pushed "Start free" past the edge. The mark stays and the
   link keeps its aria-label; the headline below says the name anyway. */
@media(max-width:359px){nav .brand .word{display:none}}

/* ---------- buttons ----------
   Squared-off and flat. The old pill had a 30px violet blur under it, which is
   the one thing every generated landing page shares. */
.btn{
  position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-family:var(--font-body);font-weight:600;font-size:15px;letter-spacing:-.005em;
  min-height:46px;padding:12px 24px;border-radius:8px;cursor:pointer;text-decoration:none;
  border:1px solid transparent;overflow:hidden;isolation:isolate;
  /* magnetism: app.js writes --mx/--my in the -1..1 range while the pointer is
     over the button, and drops them on leave. The spring curve is what makes the
     release feel sprung rather than dragged. */
  transform:translate3d(calc(var(--mx,0) * 5px), calc(var(--my,0) * 4px), 0);
  transition:background var(--dur-fast) var(--ease),border-color var(--dur-fast) var(--ease),
             color var(--dur-fast) var(--ease),box-shadow var(--dur-int) var(--ease),
             transform .45s var(--ease-spring);
}
.btn:active{transform:translate3d(calc(var(--mx,0) * 5px), calc(var(--my,0) * 4px + 1px), 0) scale(.985)}
.btn .arw{display:inline-block;transition:transform var(--dur-int) var(--ease)}
.btn:hover .arw{transform:translateX(4px)}
/* the key light on the face of the button, following the pointer across it */
.btn::before{
  content:'';position:absolute;inset:0;z-index:-1;opacity:0;pointer-events:none;
  background:radial-gradient(120px 80px at calc(50% + var(--mx,0) * 50%) calc(50% + var(--my,0) * 60%),
             rgba(255,255,255,.20), transparent 70%);
  transition:opacity var(--dur-int) var(--ease);
}
.btn:hover::before{opacity:1}
.btn-primary{
  background:var(--signal-cta);color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22), 0 1px 0 rgba(0,0,0,.4), 0 10px 26px -14px rgba(37,99,235,.9);
}
.btn-primary:hover{background:var(--signal-cta);box-shadow:inset 0 1px 0 rgba(255,255,255,.28), 0 1px 0 rgba(0,0,0,.4), 0 18px 40px -16px rgba(37,99,235,.95)}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--border-2);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.btn-ghost:hover{background:rgba(233,230,255,.05);border-color:rgba(233,230,255,.3)}
.btn-ghost::before{background:radial-gradient(120px 80px at calc(50% + var(--mx,0) * 50%) calc(50% + var(--my,0) * 60%), rgba(96,165,250,.16), transparent 70%)}
nav .btn{min-height:44px;padding:11px 18px;font-size:14.5px;border-radius:7px}

/* ---------- type ---------- */
/* Label with a rule, not a pill. */
.eyebrow{
  display:inline-flex;align-items:center;gap:11px;font-family:var(--font-mono);
  font-size:14px;font-weight:500;letter-spacing:.22em;text-transform:uppercase;
  color:var(--signal-bright);
}
.eyebrow::after{
  content:'';width:clamp(28px,5vw,64px);height:1px;flex:none;
  background:linear-gradient(90deg,var(--border-2),transparent);
  transform-origin:left;transition:transform .9s var(--ease) .2s;
}
.eyebrow .dot{width:6px;height:6px;border-radius:50%;background:var(--iris);}
@media(max-width:480px){.eyebrow{letter-spacing:.14em}}
/* at 14px the eyebrow wrapped "FROM ABOVE" at 320 */
@media(max-width:380px){.eyebrow{letter-spacing:.07em;gap:8px}.eyebrow::after{display:none}}
@keyframes blink{0%,92%,100%{opacity:1}96%{opacity:.25}}

h1{
  font-family:var(--font-display);font-weight:800;font-stretch:calc(var(--wdth-display) * 1%);
  font-size:var(--fs-display);line-height:.9;letter-spacing:-.01em;
  margin:24px 0 0;text-wrap:pretty;
}
h1 .glow{color:var(--signal-bright)}
/* Keeps "all-seeing" on one line. A plain hyphen plus nowrap, not U+2011: no face
   in the stack has that glyph, so Chrome fetched the 90KB Archivo fallback for one
   character, on the critical path of the LCP headline. */
.nw{white-space:nowrap}
.kicker{
  /* inline-flex, not inline: a reveal transform on an inline box is ignored, and
     the rule below needs to be a real box so it reserves its width up front */
  display:inline-flex;align-items:center;gap:14px;
  font-family:var(--font-word);font-size:var(--fs-label);letter-spacing:.22em;
  text-transform:uppercase;color:var(--ink);opacity:.8;
}
/* the rule draws itself as the section lands, which is what turns a stack of
   fades into a sequence: label, rule, headline, body */
.kicker::after{
  content:'';width:clamp(28px,5vw,72px);height:1px;flex:none;
  background:linear-gradient(90deg,var(--border-2),transparent);
  transform-origin:left;transition:transform .9s var(--ease) .2s;
}
/* scoped to .js, so with scripts off the rule is simply drawn */
.js .kicker::after,.js .eyebrow::after{transform:scaleX(0)}
.js .reveal.in .kicker::after,.js .kicker.reveal.in::after,
.js .reveal.in .eyebrow::after,.js .eyebrow.reveal.in::after{transform:none}
.lead{
  font-family:var(--font-display);font-weight:800;font-stretch:calc(var(--wdth-h2) * 1%);
  font-size:var(--fs-h2);line-height:.96;letter-spacing:-.005em;
  margin-top:18px;max-width:22ch;text-wrap:balance;
}
/* two tones of ink, not a coloured tail: colour on the page means status or money */
.lead .m{color:rgba(241,238,231,.52)}
.sub{color:rgba(241,238,231,.8);font-size:var(--fs-lead);max-width:38ch;margin-top:22px;line-height:1.55}
.sub b{color:var(--ink);font-weight:600}
.prose p{color:rgba(241,238,231,.8);font-size:1.05rem;max-width:62ch;margin-top:18px}
.prose p b,.prose p strong{color:var(--ink);font-weight:600}
.prose a{color:var(--signal-bright);text-decoration-thickness:1px;text-underline-offset:4px}
/* A link that is its own paragraph is a control, not prose, so it gets a control's
   hit box. WCAG 2.2 asks 24px; this audience taps with gloves, so it gets 44.
   :only-child keeps genuine inline links inside sentences untouched. */
.prose p > a:only-child{display:inline-flex;align-items:center;gap:8px;min-height:44px}
.prose a .arw{display:inline-block;transition:transform var(--dur-int) var(--ease)}
.prose a:hover .arw{transform:translateX(4px)}
.prose h3{font-family:var(--font-display);font-weight:800;font-size:1.3rem;margin-top:44px;letter-spacing:-.005em}
/* paragraphs cap at a readable measure and never strand one word */
main p{max-width:68ch;text-wrap:pretty}

/* align-items:center, not the default stretch: stretched, the ghost grew to match
   the primary's new height and the size step disappeared. */
.cta-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:34px}
/* The primary is a size up from the secondary, deliberately. Matched, the ghost
   button was the wider of the two and pulled more attention than the button this
   page exists to get clicked. */
/* It is also the brightest raised face in its view, lit from the same key as
   everything else, so the eye lands on it before the ghost. This shadow holds on
   hover too: same specificity as .btn-primary:hover, and later. */
.cta-row .btn-primary{
  min-height:54px;padding:15px 30px;font-size:16px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 1px 0 rgba(0,0,0,.4),0 14px 34px -12px rgba(37,99,235,.95),0 2px 6px rgba(0,0,0,.5);
}
/* Risk reversal is conversion copy, not a footnote: --muted (5.97:1), not --dim. */
.trust{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin-top:26px;color:var(--muted);font-size:14px;font-family:var(--font-mono);letter-spacing:.02em}
/* separators only earn their place on one line; wrapped, they leave dangling dots */
@media(max-width:560px){.trust [aria-hidden]{display:none}.trust{gap:6px 18px}}

/* ---------- kinetic type ----------
   Words carry their own span so the headline assembles rather than fading in:
   each one hinges up out of depth on the expo curve, 55ms behind the last. Only
   transform, opacity and filter move, so nothing reflows and CLS stays at zero.

   An animation, not an observed class. Above the fold, a JS-gated entrance puts a
   deferred script on the critical path for the page's own headline: Lighthouse
   measured 86% of a 3.3s LCP as render delay waiting on exactly that. A CSS
   animation starts at first render. Scoped to .js — without scripts the headline
   is just a headline, and under reduced motion the block below stops it dead. */
.js .kin .w{
  display:inline-block;transform-origin:50% 100%;
  animation:wordIn .42s var(--ease) both;
  animation-delay:calc(var(--i,0) * 28ms);
}
@keyframes wordIn{
  /* short and unblurred: the value line has to read on first look, not after a show */
  from{opacity:0;transform:translate3d(0,.22em,0)}
  to{opacity:1;transform:none;filter:none}
}

/* ---------- the dial ----------
   The brand mark, built as an instrument rather than a decal. Three ring planes
   sit at different depths inside one perspective: they tilt by different amounts,
   drift by different amounts against the pointer, and the far plane is blurred.
   That combination — not a drop shadow — is what makes it read as an object with
   a back and a front. The whole thing is aria-hidden; it says nothing. */
/* Height is 100svh, not `inset:0`.
   Anchored to the hero's own box, every layer inside sat at a percentage of a
   height that changes the moment the webfont swaps in and the headline rewraps —
   Lighthouse measured 0.213 CLS from the beam alone on a cold mobile load. A
   viewport-sized box does not move, so neither do its children. */
.stage{
  position:absolute;left:0;right:0;top:0;height:100svh;z-index:0;
  pointer-events:none;overflow:hidden;
  perspective:1000px;perspective-origin:72% 46%;
}
/* a ground light under the eye, so it sits in space */
.stage::after{
  content:'';position:absolute;left:50%;bottom:4%;width:70%;height:18%;translate:-50% 0;pointer-events:none;
  background:radial-gradient(ellipse,rgba(95,230,255,.16),rgba(59,130,246,.1) 40%,transparent 72%);
}
.dial{
  position:absolute;top:50%;right:-10%;width:min(920px,78vw);aspect-ratio:1;
  transform:translateY(-50%);transform-style:preserve-3d;
  -webkit-mask-image:radial-gradient(circle at 50% 50%, #000 52%, transparent 84%);
          mask-image:radial-gradient(circle at 50% 50%, #000 52%, transparent 84%);
}
.lyr{
  position:absolute;inset:0;transform-style:preserve-3d;
  transform:
    translate3d(calc(var(--px) * var(--pd,10px)), calc(var(--py) * var(--pd,10px)), 0)
    rotateX(calc(var(--tx,8deg) + var(--py) * var(--tr,-5deg)))
    rotateZ(calc(var(--px) * var(--rz,2deg)));
  will-change:transform;
}
.lyr svg{position:absolute;inset:0;width:100%;height:100%}
/* far: the outer eye-ring. Small parallax, most tilt, out of focus. */
.lyr-far{--pd:9px;--tx:13deg;--tr:-6deg;--rz:1.4deg;opacity:.28}
/* mid: the working rings. */
.lyr-mid{--pd:19px;--tx:9deg;--tr:-5deg;--rz:2.2deg;opacity:.36}
/* near: ticks, glint, sweep. Moves most, sits in focus, in front of the halo. */
.lyr-near{--pd:34px;--tx:5deg;--tr:-4deg;--rz:3.2deg;opacity:.44}

/* the light source. A soft blue key that trails the pointer across the dial —
   the reason the rings have a lit side and a dark side. */
.beam{
  position:absolute;top:50%;right:-10%;width:min(920px,78vw);aspect-ratio:1;
  transform:translate3d(calc(var(--px) * 90px), calc(-50% + var(--py) * 60px), 0);
  background:radial-gradient(closest-side, rgba(59,130,246,.12), rgba(59,130,246,.03) 46%, transparent 72%);
  pointer-events:none;will-change:transform;
}
@media(max-width:1000px){
  .dial,.beam{right:-34%}
  .lyr-far{opacity:.2}.lyr-mid{opacity:.3}.lyr-near{opacity:.36}
}
/* On a phone the dial is atmosphere behind the headline, not an object beside it.
   At mid-height and phone scale it sat in the gap between the CTAs and the panel,
   which read as a smudge. Bigger, higher, quieter: it becomes weather. */
@media(max-width:640px){
  .dial,.beam{top:26%;right:-40%;width:min(580px,132vw)}
  .lyr-far{opacity:.14}.lyr-mid{opacity:.24}.lyr-near{opacity:.3}
}

.spin-slow{transform-box:fill-box;transform-origin:center;animation:spin 90s linear infinite}
.spin-rev{transform-box:fill-box;transform-origin:center;animation:spin 120s linear infinite reverse}
.spin-fast{transform-box:fill-box;transform-origin:center;animation:spin 46s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
/* Scroll velocity spins the rings. Applied to a wrapper group so it composes with
   the keyframe rotation on the group inside rather than fighting it. */
.vel{transform-box:fill-box;transform-origin:center;rotate:calc(var(--spin) * 1deg)}
.vel-rev{transform-box:fill-box;transform-origin:center;rotate:calc(var(--spin) * -.6deg)}
.pulse{transform-box:fill-box;transform-origin:center;animation:pulse 5.4s var(--ease) infinite}
@keyframes pulse{0%,100%{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.04)}}
/* the sweep: one arm reading the floor, the way a scope does */
.sweep{transform-box:fill-box;transform-origin:center;animation:spin 14s linear infinite}

/* ---------- final CTA ---------- */
.final{position:relative;text-align:center;overflow:hidden}
.final h2{
  font-family:var(--font-display);font-weight:800;font-stretch:calc(var(--wdth-display) * 1%);
  font-size:clamp(2.2rem,5.2vw,3.9rem);letter-spacing:-.005em;line-height:1;text-wrap:balance;
}
.final p{color:var(--muted);margin:20px auto 0;max-width:50ch;font-size:1.08rem}
.final .cta-row{position:relative;justify-content:center}
/* the page ends on a lit object: a stage light under the buttons, same bloom as the hero */
.final .cta-row::before{
  content:'';position:absolute;left:50%;top:60%;width:min(560px,90vw);height:120px;translate:-50% 0;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse,rgba(59,130,246,.35),transparent 72%);
}
/* only the crown of the wheel clears the fold — a horizon, not a logo */
.horizon{
  position:absolute;left:50%;top:56%;width:min(1400px,150vw);aspect-ratio:1;
  transform:translateX(-50%);pointer-events:none;opacity:.55;
  -webkit-mask-image:linear-gradient(180deg,#000 0 22%,transparent 48%);
          mask-image:linear-gradient(180deg,#000 0 22%,transparent 48%);
}

/* ---------- footer ---------- */
footer{border-top:1px solid var(--border);padding:38px 0 30px;margin-top:20px}
.foot{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;flex-wrap:wrap;color:var(--dim);font-size:14px}
.foot .brand .word{font-size:15px}
.foot nav{position:static;padding:0;background:none;animation:none;border:0;display:flex;gap:22px;flex-wrap:wrap}
/* 22px tall was under the WCAG 2.2 target-size minimum, on the device this
   audience actually browses from. Padding, not font size. */
.foot nav a{display:inline-block;padding:12px 0}
/* inline-block with padding so the credit link clears the 24px target minimum */
.foot a{color:var(--muted);text-decoration:none;display:inline-block;padding-block:12px}
.foot a:hover{color:var(--ink)}
.foot .tag{font-family:var(--font-mono);letter-spacing:.04em}

/* ---------- reveal ----------
   Scoped to .js so the page is fully readable when scripts don't run. Content
   rises *out of* the page rather than sliding up it: the self-contained
   perspective plus a rotateX hinge is what separates this from a fade. */
.js .reveal{
  opacity:0;transform:translate3d(0,26px,0);
  transition:opacity var(--dur-reveal) var(--ease),transform .85s var(--ease);
}
.js .reveal.in{opacity:1;transform:none}
[data-d="1"]{transition-delay:.08s}[data-d="2"]{transition-delay:.18s}
[data-d="3"]{transition-delay:.28s}[data-d="4"]{transition-delay:.38s}[data-d="5"]{transition-delay:.48s}

/* Above the fold there is nothing to observe — it is already on screen — so the
   entrance runs as an animation from first render instead of waiting for the
   deferred script to add a class. Same keyframes as the transition above, so the
   two paths are visually identical. */
@keyframes revealIn{
  from{opacity:0;transform:perspective(1200px) translate3d(0,30px,-70px) rotateX(5deg);filter:blur(7px)}
  to{opacity:1;transform:none;filter:none}
}
.js header .reveal{animation:revealIn .85s var(--ease) both}
.js header [data-d="1"]{animation-delay:.08s}
.js header [data-d="2"]{animation-delay:.18s}
.js header [data-d="3"]{animation-delay:.28s}
.js header [data-d="4"]{animation-delay:.38s}
.js header [data-d="5"]{animation-delay:.48s}
/* Lists cascade off their own index instead of a fixed set of delay steps, so the
   rule holds however many rows there are. Must sit after `.js .reveal`, whose
   transition shorthand resets the delay. */
.js .faq>div.reveal,.js .qa>details.reveal{transition-delay:calc(var(--i,0) * 70ms)}

/* ---------- reduced motion ----------
   Everything above degrades to its finished state. The page keeps its depth —
   shadows, rim light, layered rings — and loses only the movement. */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .js .reveal,.js .kin .w{opacity:1;transform:none;filter:none}
  /* the pointer and scroll channels are pinned shut, so nothing tracks anything */
  :root{--px:0;--py:0;--spin:0}
}

/* ---------- inner page header ----------
   Same instrument as the hero, sized and quietened for a shorter box. Before it,
   the right half of every inner page head was empty field: the pages shared the
   tokens and the nav but not the atmosphere, which is exactly how a site starts
   feeling like two sites. */
.page-head{position:relative;overflow:hidden;padding:clamp(7.5rem,13vw,10rem) 0 0}
.page-head .wrap{position:relative;z-index:1}
/* The head box is ~320-450px and the dial is 620px, so `overflow:hidden` cut the
   outer ring off on a hard horizontal edge. Dissolve the instrument into the page
   instead of slicing it. */
.stage-head{
  height:100%;
  -webkit-mask-image:linear-gradient(180deg,#000 0 58%,transparent 96%);
          mask-image:linear-gradient(180deg,#000 0 58%,transparent 96%);
}
.stage-head .dial,.stage-head .beam{width:min(620px,64vw);right:-12%;top:52%}
.stage-head .lyr-mid{opacity:.5}
.stage-head .lyr-near{opacity:.62}
@media(max-width:900px){
  .stage-head .dial,.stage-head .beam{right:-34%;top:44%;width:min(520px,112vw)}
  .stage-head .lyr-mid{opacity:.28}
  .stage-head .lyr-near{opacity:.36}
}
/* Inner-page headlines are two sentences in two tones. Breaking between them is
   the only correct break, so state it rather than hoping the wrapper agrees. */
.page-head h1{margin-top:18px;max-width:18ch}
.page-head h1 .glow{display:block}
.page-head .sub{max-width:52ch}

/* ---------- pricing ---------- */
/* stretch so the three CTAs line up on one baseline regardless of list length */
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:52px;align-items:stretch}
@media(max-width:940px){.plans{grid-template-columns:1fr;max-width:520px;margin-inline:auto}}
.plan{
  position:relative;background:linear-gradient(180deg,var(--surface),rgba(14,14,27,.4));
  border:1px solid var(--border);border-radius:14px;padding:28px 26px 30px;
  display:flex;flex-direction:column;gap:18px;
  box-shadow:var(--rim);
  transition:border-color var(--dur-int) var(--ease),transform .4s var(--ease),box-shadow .4s var(--ease);
}
.plan:hover{border-color:var(--border-2);transform:translateY(-4px);box-shadow:var(--elev-2),var(--rim)}
/* The plan most shops buy stands a step forward of the other two, at rest. */
.plan.featured{
  border-color:rgba(59,130,246,.45);background:linear-gradient(180deg,rgba(16,24,48,.9),rgba(14,14,27,.5));
  box-shadow:0 26px 60px -34px rgba(59,130,246,.6),var(--rim);
}
.plan.featured:hover{box-shadow:0 40px 84px -34px rgba(59,130,246,.72),var(--rim)}
.plan .tag{
  position:absolute;top:-11px;left:26px;font-family:var(--font-mono);font-size:14px;
  letter-spacing:.16em;text-transform:uppercase;color:#fff;background:var(--signal-cta);
  padding:4px 12px;border-radius:5px;
}
.plan .name{font-family:var(--font-word);font-size:14px;letter-spacing:.2em;text-transform:uppercase;color:var(--ink)}
.plan .price{font-family:var(--font-mono);font-weight:500;font-size:2.9rem;line-height:1;color:var(--gold);letter-spacing:-.045em}
.plan .price .per{font-family:var(--font-body);font-size:1rem;font-weight:400;color:var(--muted);letter-spacing:0}
.plan .price.quote{color:var(--ink)}
.plan .annual{font-family:var(--font-mono);font-size:14px;color:var(--dim);letter-spacing:.02em;margin-top:-10px}
.plan .seats{color:var(--ink);font-weight:600;font-size:.98rem;padding-bottom:18px;border-bottom:1px solid var(--border)}
.plan ul{list-style:none;display:flex;flex-direction:column;gap:11px;flex:1}
.plan li{display:flex;gap:11px;color:var(--muted);font-size:.95rem;line-height:1.45}
.plan li svg{width:17px;height:17px;flex:none;margin-top:3px;color:var(--signal-bright)}
.plan li.inherits{color:var(--dim);font-style:normal}
.plan .btn{width:100%}

.fine{margin-top:30px;color:var(--dim);font-size:14px;font-family:var(--font-mono);letter-spacing:.02em;text-align:center}

/* ---------- FAQ / definition list ---------- */
.band{border-block:1px solid var(--border);background:rgba(12,12,22,.5)}
.faq{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:44px}
@media(max-width:820px){.faq{grid-template-columns:1fr}}
.faq h3{font-family:var(--font-body);font-weight:600;font-size:1.15rem;margin:0;letter-spacing:-.015em;text-wrap:pretty}
.faq p{color:var(--muted);font-size:.95rem}
/* questions only; answers on tap */
.faq details{
  border-radius:14px;padding:4px 22px;
  background:var(--face);box-shadow:var(--lift-sm),var(--edge);
}
.faq details:has(summary:hover){box-shadow:var(--lift-md),var(--edge)}
.faq summary{
  list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:60px;
  transition:color var(--dur-fast) var(--ease);
}
.faq summary:hover{color:var(--signal-bright)}
.faq summary:focus-visible{outline-offset:-2px;border-radius:12px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';font-family:var(--font-mono);font-size:1.5rem;color:var(--signal-bright);transition:transform .3s var(--ease)}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{font-size:1.02rem;padding-bottom:18px;color:rgba(241,238,231,.8)}

/* ---------- legal / long-form ---------- */
/* .legal rides on .wrap. Capping the wrap itself re-centred the whole column and
   left it out of line with the headline above, so cap the measure instead. */
.legal>*{max-width:74ch}
.legal h2{font-family:var(--font-display);font-weight:700;font-size:1.3rem;margin-top:44px;letter-spacing:-.025em}
.legal p,.legal li{color:var(--muted);font-size:1rem;margin-top:14px}
.legal ul{margin-left:20px}
.legal li{margin-top:8px}
.legal b,.legal strong{color:var(--ink);font-weight:600}
.legal a{color:var(--signal-bright)}
.legal .meta{font-family:var(--font-mono);font-size:14px;color:var(--dim);letter-spacing:.03em;margin-top:8px}


/* About comes back on tablets and wide phones. Below 430 it costs "Start free" its
   edge, and the founder story is one tap away in "Read the whole story". */
@media(max-width:430px){.navlinks .hide-xs{display:none}}

/* Degree numerals read as data on a dial that carries none: the ring keeps its
   ticks and loses the numbers. */
.dial-nums{display:none}

/* ===========================================================
   Home
   One idea per screen, the product as the picture, and scroll as the only
   control. Sections sit on the page itself: no panels, no rules between them
   unless the rule means something.
   =========================================================== */

/* the parts of the page the browser draws */
::selection{background:rgba(59,130,246,.5);color:#fff}
html{scrollbar-color:#2b2b47 var(--bg)}

/* The home page is centred, so its light is too. */
.home::before{
  background:
    radial-gradient(1100px 620px at 50% -8%, rgba(59,130,246,.2) 0%, transparent 62%),
    var(--bg);
}

.money{color:var(--gold)}
.sect-sub{color:rgba(241,238,231,.8);font-size:var(--fs-lead);max-width:44ch;margin-top:20px;line-height:1.55}
.chip{
  display:inline-flex;align-items:center;gap:7px;padding:4px 11px;border-radius:6px;border:1px solid;
  font-family:var(--font-mono);font-size:14px;letter-spacing:.09em;text-transform:uppercase;
}
.chip i{width:5px;height:5px;border-radius:50%;background:currentColor;flex:none}
.chip-red{color:#FCA5A5;background:rgba(239,68,68,.1);border-color:rgba(239,68,68,.26)}
.chip-gold{color:var(--gold);background:rgba(201,168,76,.1);border-color:rgba(201,168,76,.28)}
.chip-blue{color:var(--signal-bright);background:rgba(59,130,246,.1);border-color:rgba(59,130,246,.3)}

/* A product screen. One elevation: a hairline ring and a shadow that falls
   straight down into the blue the page is lit with. */
.screen{
  border-radius:14px;overflow:hidden;background:var(--surface);
  box-shadow:0 0 0 1px var(--border-2),0 40px 110px -40px rgba(0,0,0,.95),0 50px 140px -60px rgba(59,130,246,.55);
}
.screen img{display:block;width:100%;height:auto}
.screen-crop{overflow:hidden;line-height:0}
.phone{
  position:relative;max-width:356px;margin-inline:auto;padding:10px;border-radius:40px;
  background:linear-gradient(180deg,#1b1b2e,#11111e);
  box-shadow:0 0 0 1px var(--border-2),0 40px 110px -40px rgba(0,0,0,.95),0 50px 140px -60px rgba(59,130,246,.55);
}
.phone-screen{border-radius:30px;overflow:hidden;line-height:0}
.phone img{display:block;width:100%;height:auto}

/* ---------- the opening ----------
   A product film's composition: the screen is the picture and the copy sits on the
   bottom edge. Small screens stack it centred (copy, screen, buttons). From 1000px
   the stage is the viewport: the wordmark stands behind the screen, the headline
   holds the bottom left, the buttons the bottom right. */
header.hero{position:relative;overflow-x:clip}
.hero-stage{display:flex;flex-direction:column;align-items:center;text-align:center;padding:clamp(104px,14svh,132px) 0 clamp(64px,9vw,120px)}
.hero-copy{display:contents}
.hero-lockup,.hero-act{width:100%;max-width:var(--maxw);padding-inline:clamp(20px,4vw,40px)}
.hero-lockup{order:1}
.hero-media{order:2;position:relative;width:100%}
.hero-act{order:3}
.hero h1{margin:0 auto}
.hero .sub{max-width:62ch;margin-inline:auto;text-wrap:balance}
.hero .cta-row,.hero .trust{justify-content:center}
.br-lg{display:none}
@media(min-width:700px){.br-lg{display:inline}}
.hero-word,.hero-spark,.hero-glow{display:none}
.hero-device{position:relative;width:min(330px,80vw);margin:clamp(44px,6vw,76px) auto 0}
.hero .screen{position:relative;border-radius:30px}
/* light spilling up from under the screen */
.hero-device::before{
  content:'';position:absolute;inset:-18% -12% 20%;z-index:-1;pointer-events:none;
  background:radial-gradient(50% 60% at 50% 60%,rgba(59,130,246,.28),transparent 70%);
}

@media(min-width:1000px){
  .hero-stage{
    --device-max:1240px;
    height:100svh;min-height:620px;max-height:1240px;
    padding:76px 0 0;align-items:stretch;text-align:left;
  }
  /* The media box is a size container, so the screen is sized by whichever of
     its width and height runs out first. --W is the screen's width. The word
     shows its top half above the screen, so the pair is .7 of --W tall. */
  .hero-media{order:0;flex:1;min-height:0;container-type:size}
  .hero-media>*{--W:min(92cqw,var(--device-max),(100cqh - 24px) / .7);--top:calc((100cqh - var(--W) * .7) / 2)}
  .hero-device{
    position:absolute;margin:0;width:var(--W);
    left:calc(50% - var(--W) / 2);top:calc(var(--top) + var(--W) * .075);
  }
  .hero .screen{border-radius:14px}
  /* On the stage the light is its own layer behind the screen, not a child of it:
     inside the screen it would be scaled 3x with the close-up (measured: 33 dropped
     frames at 2560 in software raster, 6 without it). */
  .hero-device::before{display:none}
  .hero-glow{
    display:block;position:absolute;pointer-events:none;
    left:calc(50% - var(--W) * .62);width:calc(var(--W) * 1.24);
    top:calc(var(--top) + var(--W) * .075 - var(--W) * .1125);height:calc(var(--W) * .6125);
    background:radial-gradient(50% 60% at 50% 60%,rgba(59,130,246,.28),transparent 70%);
  }
  .hero-word{
    display:block;position:absolute;left:0;right:0;top:var(--top);margin:0;max-width:none;
    font-family:var(--font-word);font-size:calc(var(--W) * .192);line-height:.74;
    letter-spacing:.04em;padding-left:.04em;text-transform:uppercase;text-align:center;
    color:rgba(241,238,231,.11);pointer-events:none;user-select:none;
  }
  .hero-copy{
    display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:22px 48px;
    padding-top:20px;padding-bottom:clamp(28px,5.5svh,64px);
  }
  .hero-lockup,.hero-act{width:auto;max-width:none;padding:0;order:0}
  .hero h1{margin:0;font-size:clamp(3.2rem,min(6.4vw,10svh),6.4rem)}
  .hero .sub{margin:14px 0 0;max-width:44ch;text-wrap:pretty}
  .hero .cta-row{margin-top:0;justify-content:flex-start}
  .hero .trust{margin-top:16px;justify-content:flex-start}
}

/* The intro. The head script sets .intro on <html> under the same media test, so
   the first frame is armed before first paint; app.js adds .intro-play once both
   shots have decoded, or drops .intro if that took too long. The final keyframe
   of each piece is its resting style above, so the intro ends on the static hero.
   Transform and opacity only. The screen tilts in 3D while it moves; text can be
   soft mid-flip, but it lands on transform:none and is re-rastered sharp. */
@media(min-width:1000px) and (min-height:760px) and (prefers-reduced-motion:no-preference){
  .hero-spark{
    display:block;position:absolute;left:50%;top:calc(var(--top) + var(--W) * .3875);
    width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;opacity:0;pointer-events:none;
    background:radial-gradient(closest-side,#fff 0%,var(--signal-bright) 35%,rgba(59,130,246,.35) 65%,transparent 100%);
  }
  .hero-device{transform-origin:50% 50%}

  /* waiting for the shots: dark stage, copy only. A safety net shows the end
     frame if the script never arrives. */
  .intro:not(.intro-play) .hero-device,
  .intro:not(.intro-play) .hero-word{opacity:0;animation:heroSafety .6s var(--ease) 3.5s forwards}

  .intro-play .hero-spark{animation:heroSpark 3.4s linear both}
  .intro-play .hero-device{animation:heroRise 1.8s cubic-bezier(.22,1,.36,1) 1.32s both;will-change:transform,opacity;backface-visibility:hidden}
  .intro-play .hero-word{animation:heroWord 4.4s linear both}
  .intro-play .hero-glow{animation:heroGlow 4.4s linear both}
}
@keyframes heroSafety{to{opacity:1}}
/* 0 to 1.2s: a point of light swells in the middle of the word, then flares as
   the screen is born from it */
@keyframes heroSpark{
  0%{opacity:0;transform:scale(.2);animation-timing-function:cubic-bezier(.16,1,.3,1)}
  20%{opacity:1;transform:scale(1)}
  38%{opacity:1;transform:scale(1.35);animation-timing-function:cubic-bezier(.16,1,.3,1)}
  55%{opacity:1;transform:scale(9,.6)}
  100%{opacity:0;transform:scale(14,.3)}
}
/* 1.3s on: the screen grows out of the light lying flat, then flips up to face
   the viewer. 3D only while moving; it ends on transform:none, and app.js drops
   the animation at the end so the still is re-rastered sharp. */
@keyframes heroRise{
  0%{opacity:0;transform:perspective(1400px) rotateX(78deg) scale(.04)}
  18%{opacity:1}
  100%{opacity:1;transform:perspective(1400px) rotateX(0) scale(1)}
}
/* the word is the opening title: lit full, then steps back to a ghost as the
   screen arrives */
@keyframes heroWord{
  0%{opacity:0;transform:translate3d(0,.08em,0);color:rgba(241,238,231,.9);animation-timing-function:cubic-bezier(.16,1,.3,1)}
  14%,34%{opacity:1;transform:none;color:rgba(241,238,231,.9);animation-timing-function:cubic-bezier(.16,1,.3,1)}
  80%,100%{opacity:1;transform:none;color:rgba(241,238,231,.11)}
}
@keyframes heroGlow{
  0%,34%{opacity:0;animation-timing-function:cubic-bezier(.16,1,.3,1)}
  100%{opacity:1}
}

/* ---------- the statement ----------
   A shop owner's own words at headline scale. Lit word by word as the section
   passes (--p from app.js; --n is the word count); the unlit words are still
   legible, and without the script the whole line is simply lit. */
.say{padding:clamp(6rem,13vw,11rem) 0 clamp(5rem,9vw,8rem);text-align:center}
.say-line{
  font-family:var(--font-display);font-weight:700;font-stretch:calc(var(--wdth-h2) * 1%);
  font-size:clamp(2.1rem,5vw,4.2rem);line-height:1.04;letter-spacing:-.005em;
  max-width:22ch;margin-inline:auto;text-wrap:balance;
}
@media(min-width:900px){.say-line{max-width:26ch}}
.lit-on .say-line .lw{opacity:clamp(.3,calc((var(--p,0) * (var(--n) + 4) - var(--i)) / 3),1)}
.say-by{margin-top:clamp(28px,4vw,44px)}
.say-by b{display:block;font-size:1.1rem;font-weight:600;letter-spacing:-.015em}
.say-by span{display:block;margin-top:4px;font-family:var(--font-mono);font-size:14px;letter-spacing:.04em;color:var(--dim)}
.say-nums{
  list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:28px clamp(36px,7vw,96px);
  margin-top:clamp(48px,7vw,88px);padding-top:clamp(32px,4vw,48px);border-top:1px solid var(--border);
}
.say-nums li{color:var(--muted);font-size:.98rem;line-height:1.4;max-width:18ch}
.say-nums b{
  display:block;font-family:var(--font-body);font-weight:600;font-size:clamp(1.9rem,3.2vw,2.6rem);
  letter-spacing:-.03em;line-height:1;color:var(--ink);margin-bottom:10px;font-variant-numeric:tabular-nums;
}

/* ---------- the walk-through ----------
   Stacked by default: copy, then the screen. Small screens get the app's phone
   layout in a phone-width frame, so the capture stays near life size. */
.tour-sect{padding:clamp(4rem,8vw,7rem) 0 0}
.tour{display:flex;flex-direction:column;gap:clamp(64px,9vw,120px);margin-top:clamp(40px,6vw,72px);padding-bottom:clamp(5rem,9vw,8rem)}
.tour-stage{display:contents}
.beat{position:relative}
.beat-copy{max-width:50ch}
.beat-copy h3{
  font-family:var(--font-display);font-weight:800;letter-spacing:-.005em;line-height:1;
  font-size:clamp(2rem,3.4vw,2.8rem);margin-top:18px;text-wrap:balance;
}
.beat-copy p{color:rgba(241,238,231,.8);font-size:1.15rem;line-height:1.55;margin-top:14px;max-width:40ch}
.beat .screen{margin-top:clamp(24px,3vw,36px)}
.beat-phone{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.62fr);
  gap:clamp(28px,5vw,64px);align-items:center;max-width:1040px;margin-inline:auto;width:100%;
}
@media(max-width:900px){
  .beat-phone{grid-template-columns:1fr;gap:26px}
  .beat-copy,.beat-copy p{max-width:none}
  .beat .screen{max-width:420px;margin-inline:auto;border-radius:26px}
}
.tour-skip,.tour-nav{display:none}

/* Pinned: the stage holds for the length of the section and the beats share one
   cell, crossfading as --p passes each third. Nothing moves once a beat is up, so
   the captured UI text is read at rest. Copy sits beside the screen, which leaves
   height as the only limit on it; each screen is also drawn in toward the part
   its beat is about (--zx/--zy), because a 1440 capture at this size goes soft. */
.pin-on .tour{display:block;height:300vh;margin-top:0;padding-bottom:0}
.pin-on .tour-stage{position:sticky;top:0;height:100svh;display:grid;align-items:center;padding:76px 0 84px}
.js.pin-on .beat.reveal{
  grid-area:1/1;width:100%;opacity:0;pointer-events:none;
  transform:none;transition:opacity .5s var(--ease);
}
.js.pin-on .beat.reveal.on{opacity:1;pointer-events:auto}
.pin-on .beat-copy{transform:translate3d(0,18px,0);transition:transform .7s var(--ease)}
.pin-on .beat.on .beat-copy{transform:none}
.pin-on .beat:not(.beat-phone){
  display:grid;align-items:center;column-gap:clamp(32px,4vw,56px);
  grid-template-columns:minmax(300px,1fr) min(calc(100% - 356px),calc((100svh - 200px) * 1.6));
}
.pin-on .beat:not(.beat-phone) h3{font-size:clamp(1.9rem,2.7vw,2.5rem)}
.pin-on .beat .screen{margin-top:0}
.pin-on .screen-crop img{transform:scale(1.3);transform-origin:var(--zx,50%) var(--zy,50%)}
.pin-on .beat-phone{max-width:none}
.pin-on .phone{max-width:min(356px,calc((100svh - 200px) * .44))}

/* which beat you are on, and a way to jump: a real control, not decoration */
.pin-on .tour-nav{
  position:absolute;left:50%;bottom:20px;translate:-50% 0;z-index:2;
  display:flex;gap:4px;padding:4px;border-radius:999px;
  background:#131322;box-shadow:inset 0 0 0 1px var(--border);
}
.tour-nav button{
  min-height:44px;padding:0 20px;border:0;border-radius:999px;cursor:pointer;
  font:500 14.5px var(--font-body);color:var(--muted);background:none;
  transition:background var(--dur-int) var(--ease),color var(--dur-int) var(--ease);
}
.tour-nav button:hover{color:var(--ink)}
.tour-nav button[aria-current]{background:rgba(233,230,255,.11);color:var(--ink)}
.pin-on .tour-skip{
  position:absolute;left:0;bottom:20px;z-index:2;
  display:inline-flex;align-items:center;gap:8px;min-height:44px;
  color:var(--muted);font-size:14.5px;font-weight:500;text-decoration:none;
}
.tour-skip:hover{color:var(--ink)}

/* ---------- floor to dollar ----------
   The traveler on the right, the meter on the left. The meter holds while the
   rows pass and adds each one as it is read (app.js adds .live, marks rows .done,
   and writes --fill). Money is gold and nothing else; figures are tabular mono. */
.ledger{padding:clamp(5rem,10vw,9rem) 0}
.ledger-grid{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1fr);gap:clamp(32px,5vw,84px);align-items:start}
.ledger-side{position:sticky;top:clamp(96px,14svh,150px)}
.meter{margin-top:clamp(32px,4vw,52px);max-width:440px}
.meter-k{font-family:var(--font-mono);font-size:14px;letter-spacing:.1em;text-transform:uppercase;color:var(--dim)}
.meter-fig{
  /* the reading face with tabular figures: at this size the mono's comma opens a hole */
  margin-top:10px;font-family:var(--font-body);font-weight:600;line-height:1;
  font-size:clamp(3.2rem,6.4vw,5.4rem);letter-spacing:-.035em;font-variant-numeric:tabular-nums;
}
/* cost in blue against the quote in gold: what is left of the track is the margin */
.meter-bar{height:6px;margin-top:24px;border-radius:3px;background:rgba(201,168,76,.3);overflow:hidden}
.meter-bar i{
  display:block;height:100%;border-radius:3px;background:var(--signal);
  transform-origin:left;transform:scaleX(var(--fill,.549));transition:transform .6s var(--ease);
}
.meter-row{display:flex;justify-content:space-between;gap:16px;margin-top:14px;font-family:var(--font-mono);font-size:15px;color:var(--muted)}
.meter-row b{font-weight:500;font-variant-numeric:tabular-nums}

.traveler{border-radius:20px;overflow:hidden;background:#0f0f1c}
.traveler table{width:100%;border-collapse:collapse;font-size:1rem}
.traveler caption{
  caption-side:top;text-align:left;padding:22px 24px;border-bottom:1px solid var(--border);
  font-weight:600;font-size:1.1rem;letter-spacing:-.01em;
}
.traveler caption span{display:block;margin-top:4px;font-family:var(--font-mono);font-weight:400;font-size:14px;color:var(--dim);letter-spacing:.02em}
.traveler th,.traveler td{padding:17px 24px;text-align:left;vertical-align:top;border-bottom:1px solid var(--border)}
.traveler thead th{font-family:var(--font-mono);font-weight:400;font-size:14px;letter-spacing:.08em;text-transform:uppercase;color:var(--dim);padding-block:12px}
.traveler tbody th,.traveler tfoot th{font-weight:600}
.traveler .what{color:rgba(241,238,231,.8)}
.traveler .who{font-family:var(--font-mono);color:var(--muted)}
.traveler .num{text-align:right;font-family:var(--font-mono);font-variant-numeric:tabular-nums;white-space:nowrap}
.traveler tfoot tr:first-child > *{border-top:1px solid var(--border-2)}
.traveler tr.margin > *{border-bottom:0;font-size:1.15rem;font-weight:600}
.traveler tr.margin .what{font-size:1rem;font-weight:400}
.ledger.live tbody tr,.ledger.live tfoot{opacity:.38;transition:opacity .45s var(--ease)}
.ledger.live tbody tr.done,.ledger.live.closed tfoot{opacity:1}

/* On a phone the meter rides along under the nav and the rows become card lines:
   step and cost on top, the detail under it. */
@media(max-width:900px){
  .ledger-grid{grid-template-columns:1fr;gap:0}
  .ledger-side{display:contents}
  .meter{
    position:sticky;top:68px;z-index:3;max-width:none;
    margin:28px calc(-1 * clamp(20px,4vw,40px)) 20px;padding:14px clamp(20px,4vw,40px) 16px;
    background:var(--bg);border-bottom:1px solid var(--border);
    display:grid;grid-template-columns:auto 1fr;align-items:baseline;column-gap:16px;
  }
  .meter-k{grid-column:2;grid-row:1}
  .meter-fig{grid-column:1;grid-row:1;margin:0;font-size:2rem}
  .meter-bar,.meter-row{grid-column:1/-1}
  .meter-bar{margin-top:12px}
  .meter-row{margin-top:10px;font-size:14px}
}
@media(max-width:700px){
  .traveler thead{display:none}
  .traveler tr{display:grid;grid-template-columns:1fr auto auto;column-gap:14px;padding:14px 18px;border-bottom:1px solid var(--border)}
  .traveler th,.traveler td{padding:0;border:0}
  .traveler tbody th,.traveler tfoot th{grid-column:1}
  .traveler .what{grid-column:1/-1;grid-row:2;margin-top:4px;font-size:.95rem}
  .traveler .who{display:none}
  .traveler td:empty{display:none}
  .traveler tfoot tr:first-child{border-top:1px solid var(--border-2)}
  .traveler tfoot tr:first-child > *{border-top:0}
  .traveler tr.margin{border-bottom:0}
  .traveler caption{padding:18px}
}

/* ---------- the rest of the shop ----------
   Tiles of unequal weight. Each carries a crop of the real screen, set into the
   corner the way the screen itself would sit, running off the tile's edge. */
.bento-sect{padding:clamp(4rem,8vw,7rem) 0 clamp(5rem,10vw,9rem)}
.bento{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin-top:clamp(36px,5vw,64px)}
.tile{
  position:relative;overflow:hidden;border-radius:24px;background:#0f0f1c;
  display:flex;flex-direction:column;
}
.tile-copy{padding:clamp(24px,2.6vw,36px) clamp(24px,2.6vw,36px) 0}
.tile h3{
  font-family:var(--font-display);font-weight:800;font-stretch:calc(var(--wdth-h2) * 1%);
  font-size:clamp(1.8rem,2.5vw,2.3rem);line-height:1;letter-spacing:-.005em;text-wrap:balance;
}
.tile p{color:rgba(241,238,231,.74);font-size:1.03rem;line-height:1.5;margin-top:10px;max-width:36ch}
.tile img{
  display:block;height:auto;max-width:none;margin-top:auto;
  border-radius:12px 0 0 0;box-shadow:0 0 0 1px var(--border-2),0 30px 60px -30px rgba(0,0,0,.9);
}
.tile-needs{grid-column:span 4;flex-direction:row;align-items:center;gap:8px}
.tile-needs .tile-copy{padding-bottom:clamp(24px,2.6vw,36px);flex:1 1 0}
.tile-needs img{flex:none;width:min(531px,56%);margin:clamp(24px,2.6vw,36px);margin-left:0;border-radius:14px}
.tile-trades{grid-column:span 2;grid-row:span 2}
.tile-time{grid-column:span 4}
.tile-time img{width:128%;margin:clamp(24px,3vw,40px) 0 0 clamp(24px,2.6vw,36px)}
.tile-stock,.tile-paid{grid-column:span 3}
.tile-stock img,.tile-paid img{width:128%;margin:clamp(24px,3vw,40px) 0 0 clamp(24px,2.6vw,36px)}
.tile-paid img{margin-block:auto;border-radius:12px 0 0 12px}
.tile-paid .tile-copy{padding-bottom:clamp(24px,3vw,40px)}

/* the trades as a column of type: the list is the picture */
.trades{
  list-style:none;margin-top:auto;padding:clamp(24px,2.6vw,36px);
  font-family:var(--font-display);font-weight:700;font-size:clamp(1.5rem,2.5vw,2.3rem);line-height:1.24;
  color:rgba(241,238,231,.5);
}
.trades li:nth-child(-n+2){color:var(--ink)}

@media(max-width:1000px){
  .bento{grid-template-columns:1fr 1fr}
  .tile-needs,.tile-time{grid-column:1/-1}
  .tile-trades{grid-column:1/-1;grid-row:auto}
  .trades{columns:2;column-gap:24px;margin-top:8px}
  .tile-stock,.tile-paid{grid-column:span 1}
}
@media(max-width:700px){
  .bento{grid-template-columns:1fr}
  .tile-stock,.tile-paid{grid-column:1/-1}
  .tile-needs{flex-direction:column;align-items:stretch}
  .tile-needs .tile-copy{padding-bottom:0;flex:none}
  .tile-needs img{width:150%;margin:24px 0 0 24px;border-radius:12px 0 0 0}
  .tile-time img{width:190%}
  .tile-stock img,.tile-paid img{width:170%}
  .trades{columns:1}
}

/* ---------- price ---------- */
.price,.origin,.asks{text-align:center}
.price .lead,.origin .lead,.asks .lead{margin-inline:auto}
.price{padding:clamp(5rem,10vw,9rem) 0;border-block:1px solid var(--border)}
.price-figs{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);margin-top:clamp(44px,6vw,80px)}
.price-figs li{padding:4px clamp(16px,3vw,40px);color:var(--muted);font-size:1.05rem;line-height:1.45;text-wrap:balance}
.price-figs li + li{border-left:1px solid var(--border)}
.price-figs b{
  display:block;font-family:var(--font-display);font-weight:800;line-height:.9;
  font-size:clamp(4rem,8.6vw,6rem);color:var(--ink);margin-bottom:14px;font-variant-numeric:tabular-nums;
}
.price-figs b.money{color:var(--gold)}
@media(max-width:700px){
  .price-figs{grid-template-columns:1fr;gap:36px}
  .price-figs li + li{border-left:0}
}
.price-more{margin:clamp(32px,4vw,52px) auto 0}
.price-more a{
  display:inline-flex;align-items:center;gap:8px;min-height:44px;
  color:var(--signal-bright);font-weight:500;text-decoration:none;
}
.price-more a:hover{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.price-more .arw{display:inline-block;transition:transform var(--dur-int) var(--ease)}
.price-more a:hover .arw{transform:translateX(4px)}

/* ---------- where it came from ---------- */
.origin{padding:clamp(5rem,10vw,9rem) 0}
.origin-line{margin:26px auto 0;max-width:52ch;font-size:clamp(1.15rem,1.6vw,1.35rem);line-height:1.5;color:rgba(241,238,231,.8)}
.origin-line b{color:var(--ink);font-weight:600}

/* ---------- the four questions ----------
   A ruled list, not four cards: the question is the line, the answer opens under it. */
.asks{padding:clamp(4rem,8vw,7rem) 0 clamp(5rem,10vw,9rem);border-top:1px solid var(--border)}
.qa{max-width:860px;margin:clamp(36px,5vw,60px) auto 0;text-align:left;border-top:1px solid var(--border-2)}
.qa details{border-bottom:1px solid var(--border)}
.qa summary{
  list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;
  min-height:80px;padding:8px 0;transition:color var(--dur-fast) var(--ease);
}
.qa summary::-webkit-details-marker{display:none}
.qa summary:hover{color:var(--signal-bright)}
.qa summary:focus-visible{outline-offset:-2px}
.qa h3{font-family:var(--font-body);font-weight:600;font-size:clamp(1.15rem,1.7vw,1.35rem);letter-spacing:-.015em;margin:0}
/* the plus is drawn, two bars, and turns to a cross when open */
.qa summary::after{
  content:'';flex:none;width:16px;height:16px;
  background:
    linear-gradient(var(--signal-bright),var(--signal-bright)) center/100% 1.5px no-repeat,
    linear-gradient(var(--signal-bright),var(--signal-bright)) center/1.5px 100% no-repeat;
  transition:transform .3s var(--ease);
}
.qa details[open] summary::after{transform:rotate(45deg)}
.qa details p{padding:0 40px 28px 0;font-size:1.08rem;color:rgba(241,238,231,.8);max-width:62ch}

@media(prefers-reduced-motion:reduce){
  /* the bar's scroll-driven surface is an animation, and those are off: give it the surface outright */
  nav{background-color:rgba(9,9,19,.94);border-bottom-color:var(--border)}
}

/* A 2560 monitor is not a wide laptop. Past 1800 the page grows with the glass:
   the column widens and the type steps up as one, since every size is in rem. */
@media(min-width:1800px) and (min-height:1000px){
  html:has(.home){font-size:118%}
  .home{--maxw:1600px;font-size:19px}
  .hero-stage{--device-max:1560px}
}
