/* One variable file covers 400-700 — Google serves the same woff2 for every
   weight, so four separate faces would have been the same 31KB four times. */
@font-face{font-family:'JetBrains Mono';src:url('/assets/fonts/JetBrainsMono-var.woff2') format('woff2');
  font-weight:100 800;font-style:normal;font-display:swap}

/*
 * Same system as the AutoViral console, token names kept identical (--cn-*) so a
 * diff against app/globals.css stays trivial.
 *
 * Character of it: terminal window chrome (bordered box, traffic-light dots,
 * centred UPPERCASE_TITLE.SH heading) · monospace everywhere, no proportional
 * type anywhere · cyan var(--cn-blue) is the accent and the glow is load-bearing, not
 * decoration · 2px radius, never fully sharp and never rounded.
 */
:root{
  --cn-bg:#000; --cn-bg-2:#0a0a0a; --cn-bg-3:#111;
  --cn-text:#fff;
  --cn-text-2:rgba(255,255,255,.65);
  --cn-text-3:rgba(255,255,255,.4);
  --cn-text-4:rgba(255,255,255,.25);
  --cn-border:rgba(255,255,255,.2);
  --cn-border-hi:rgba(255,255,255,.45);
  --cn-blue:#6ecfff;
  --cn-green:#5eff5e;
  --cn-amber:#ffbd2e;
  --cn-red:#ff6e6e;
  --cn-dot-r:#ff5f56; --cn-dot-y:#ffbd2e; --cn-dot-g:#27c93f;
  /* Nimbus was second in this chain and, being a webfont itself, got downloaded
     as the swap-period fallback on every cold load — 36KB that never rendered a
     glyph, because JetBrains always wins. The system stack takes its place. */
  --cn-mono:'JetBrains Mono',ui-monospace,'SF Mono',Consolas,monospace;
  --cn-glow-blue:0 0 2px var(--cn-blue),0 0 10px rgba(var(--cn-blue-rgb),.3),0 0 30px rgba(var(--cn-blue-rgb),.1);
  --cn-card-gradient:linear-gradient(135deg,rgba(255,255,255,.05) 0%,transparent 60%);
  --cn-shadow-card:0 1px 0 rgba(255,255,255,.05) inset,0 0 0 1px rgba(0,0,0,.4),
    0 2px 4px rgba(0,0,0,.6),0 12px 28px -8px rgba(0,0,0,.7),0 24px 60px -12px rgba(0,0,0,.5);
  --wrap:1160px;
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;
  font-family:var(--cn-mono);font-style:normal}
html{background:var(--cn-bg);-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{background:var(--cn-bg);color:var(--cn-text-2);font-size:15px;line-height:1.65;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
  background-image:
    radial-gradient(900px 460px at 12% -6%,rgba(var(--cn-blue-rgb),.07),transparent 60%),
    repeating-linear-gradient(0deg,rgba(255,255,255,.017) 0 1px,transparent 1px 3px);
  background-attachment:fixed}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
:focus-visible{outline:1px solid var(--cn-blue);outline-offset:3px;box-shadow:var(--cn-glow-blue)}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 22px}
h1,h2,h3{color:var(--cn-text);line-height:1.2;font-weight:700}
h1{font-size:clamp(1.7rem,3.8vw,2.8rem);letter-spacing:-1px}
h2{font-size:clamp(1.25rem,2.3vw,1.8rem);letter-spacing:-.6px}
h3{font-size:.92rem;letter-spacing:-.1px;font-weight:600}
section{padding:clamp(52px,7vw,92px) 0}
.lede{font-size:clamp(.92rem,1.3vw,1.02rem);color:var(--cn-text-2);max-width:66ch}
.dim{color:var(--cn-text-3)}
.blue{color:var(--cn-blue);text-shadow:0 0 4px rgba(var(--cn-blue-rgb),.6);font-weight:inherit}

/* .cn-box, .cn-dots and .cn-btn come from site.css — one definition for every page. */

/* Header: shared component (header.js) — it carries its own styling and
   aligns its contents to the same 1160px/22px measure as .wrap. No local
   overrides here, so the bar is identical on every page. */

/* prompt-style eyebrow, the console's own idiom */
.prompt{font-size:.72rem;font-weight:500;letter-spacing:1.6px;text-transform:uppercase;color:var(--cn-text-2);margin-bottom:22px}
.prompt::before{content:"> ";color:var(--cn-blue);text-shadow:0 0 4px var(--cn-blue)}

/* ── CRT screen (from the client page) ────────────────────────────────────── */
.crt-overlay{position:absolute;inset:0;pointer-events:none;z-index:3;
  background:repeating-linear-gradient(0deg,
    rgba(0,0,0,.4),rgba(0,0,0,.4) clamp(1px,.2vw,2px),
    transparent clamp(1px,.2vw,2px),transparent clamp(3px,.4vw,5px));
  transform:translate3d(0,0,0);backface-visibility:hidden;contain:layout paint}
/* vignette */
.crt-overlay::before{content:"";position:absolute;inset:0;
  background:radial-gradient(ellipse at center,
    transparent 0%,transparent 50%,rgba(0,0,0,.15) 70%,rgba(0,0,0,.4) 85%,rgba(0,0,0,.7) 100%)}
/* tube curvature */
.crt-overlay::after{content:"";position:absolute;top:-2%;left:-2%;width:104%;height:104%;
  border-radius:50% / 8%;
  box-shadow:inset 0 0 80px 20px rgba(0,0,0,.5),inset 0 0 20px 5px rgba(0,0,0,.3)}
.crt-scanline{position:absolute;top:0;left:0;width:100%;height:350px;
  background:linear-gradient(to bottom,rgba(255,255,255,0),rgba(255,255,255,.005),rgba(255,255,255,.025));
  z-index:2;pointer-events:none;opacity:0;visibility:hidden;
  will-change:transform,opacity;backface-visibility:hidden}
.crt-scanline.active{opacity:1;visibility:visible;animation:scanlineSweep 10s linear infinite}
@keyframes scanlineSweep{
  0%{transform:translate3d(0,-100%,0);opacity:1}
  12%{transform:translate3d(0,120%,0);opacity:1}
  12.1%,100%{transform:translate3d(0,-100%,0);opacity:0}}
@media(prefers-reduced-motion:reduce){
  .crt-scanline{display:none}
}

/* ── phosphor text: making the hero copy read as drawn ON the tube ────────── */
/*
 * Three things separate CRT text from ordinary web text:
 *   bloom   — phosphor spreads light, so glyphs carry a soft halo
 *   fringe  — the three guns never land perfectly, leaving a red/cyan edge
 *   flicker — the refresh is visible as a faint, slow brightness wobble
 *
 * All three are kept deliberately weak. Legibility is the one thing a hero
 * cannot trade away, and blur reads as low contrast — which is exactly what
 * makes copy feel less trustworthy. The dark drop-shadows that keep the text
 * readable over the video are preserved underneath every effect below.
 */

/* A refresh you can just about see. Held between .97 and 1 — any deeper and it
   stops reading as a screen and starts reading as a fault. */
@keyframes crtFlicker{
  0%,100%{opacity:1}
  8%{opacity:.985}
  9%{opacity:1}
  41%{opacity:.975}
  42%{opacity:1}
  73%{opacity:.99}
  74%{opacity:1}}
@media(prefers-reduced-motion:reduce){
  .hero-copy>:not(.cta-row),.hero-phone,.hero-session,.hero-term{animation:none}
}

/* ── hero: video bed, scrim, copy ─────────────────────────────────────────── */

/* Two scrims, not one: a left-to-right wash so the copy column always has a dark
   bed regardless of what the video is doing, and a vertical one that seats the
   header at the top and hands off to the page background at the bottom. */

@media(max-width:620px){.hero-inner{grid-template-columns:1fr}}

/* ── phosphor text: making the hero copy read as drawn ON the tube ────────── */
/*
 * Three things separate CRT text from ordinary web text:
 *   bloom   — phosphor spreads light, so glyphs carry a soft halo
 *   fringe  — the three guns never land perfectly, leaving a red/cyan edge
 *   flicker — the refresh is visible as a faint, slow brightness wobble
 *
 * All three are kept deliberately weak. Legibility is the one thing a hero
 * cannot trade away, and blur reads as low contrast — which is exactly what
 * makes copy feel less trustworthy. The dark drop-shadows that keep the text
 * readable over the video are preserved underneath every effect below.
 */

/* A refresh you can just about see. Held between .97 and 1 — any deeper and it
   stops reading as a screen and starts reading as a fault. */
@keyframes crtFlicker{
  0%,100%{opacity:1}
  8%{opacity:.985}
  9%{opacity:1}
  41%{opacity:.975}
  42%{opacity:1}
  73%{opacity:.99}
  74%{opacity:1}}
@media(prefers-reduced-motion:reduce){
  .hero-copy>:not(.cta-row),.hero-phone,.hero-session,.hero-term{animation:none}
}

/* ── hero: video bed, scrim, copy ─────────────────────────────────────────── */

/* Two scrims, not one: a left-to-right wash so the copy column always has a dark
   bed regardless of what the video is doing, and a vertical one that seats the
   header at the top and hands off to the page background at the bottom. */

@media(max-width:620px){.hero-inner{grid-template-columns:1fr}}

/* ── the iPhone outline ───────────────────────────────────────────────────── */
/* ── hero: video bed, scrim, copy ─────────────────────────────────────────── */

/* Two scrims, not one: a left-to-right wash so the copy column always has a dark
   bed regardless of what the video is doing, and a vertical one that seats the
   header at the top and hands off to the page background at the bottom. */

@media(max-width:620px){.hero-inner{grid-template-columns:1fr}}

/* ── the handsets ─────────────────────────────────────────────────────────── */
/*
 * A stepped carousel, not a drift. Three slots — right, centre, left — and each
 * phone moves right to left between them, then HOLDS in the centre for about
 * four seconds. Continuous motion looked busy and, worse, meant you could never
 * finish reading a screen; the hold is the whole point of showing screens at all.
 * The jump from the left slot back to the right happens at zero opacity, so the
 * loop has no visible seam.
 */
/* z-index:0 = its own stacking context, so the animated z-indexes of the
   phones inside never climb above the CRT glass now that .hero-inner no
   longer contains them. */
.hero-phone{position:relative;z-index:0;display:flex;justify-content:center;align-items:center;
  height:clamp(360px,44vw,470px);perspective:1500px;
  /* Phones leave the frame rather than dissolving on the spot — but the frame
     edge itself is soft. A mask, not a painted gradient: the backdrop here is
     video, so anything opaque laid over it would read as a band. */
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16%,#000 84%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 16%,#000 84%,transparent 100%)}

.phone-body{position:absolute;top:50%;left:50%;width:clamp(150px,13vw,182px);
  aspect-ratio:9/19.5;border-radius:clamp(26px,2.6vw,34px);padding:3px;
  transform-style:preserve-3d;backface-visibility:hidden;will-change:transform,opacity;
  animation:phoneSlot 20s cubic-bezier(.55,.06,.32,1) infinite;
  /* A machined rail rather than a hairline: a bright top-left edge, a dark
     bottom-right one, and a cold metal body between them. */
  background:linear-gradient(145deg,#6a7078 0%,#2c3138 18%,#14171b 45%,#0d0f12 70%,#3a4048 100%);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.85),
    0 2px 3px rgba(255,255,255,.10) inset,
    0 30px 60px -22px rgba(0,0,0,.95),
    0 0 44px rgba(var(--cn-blue-rgb),.10)}

/* buttons, sunk into the rail */
.phone-btn{position:absolute;background:linear-gradient(180deg,#4a5058,#22262b);border-radius:3px;
  box-shadow:0 0 0 1px rgba(0,0,0,.6)}
.phone-btn-vol1{left:-2px;top:20%;width:3px;height:6.5%}
.phone-btn-vol2{left:-2px;top:29%;width:3px;height:6.5%}
.phone-btn-pwr{right:-2px;top:24%;width:3px;height:10%}

.phone-screen{position:relative;height:100%;border-radius:clamp(24px,2.4vw,32px);
  background:#05070a;overflow:hidden;display:flex;flex-direction:column;
  box-shadow:0 0 0 1px rgba(0,0,0,.9) inset}
/* the glass: a soft diagonal sheen across the top corner */
.phone-screen::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  background:linear-gradient(150deg,rgba(255,255,255,.10) 0%,rgba(255,255,255,.03) 22%,transparent 46%)}
.phone-island{position:absolute;top:8px;left:50%;transform:translateX(-50%);
  width:34%;height:11px;border-radius:99px;background:#000;z-index:2;
  box-shadow:0 0 0 1px rgba(255,255,255,.06)}

/* ---- the screen: a social profile as it looks on the handset ----------
   Drawn from CSS primitives, not a screenshot. Nothing here is anybody's
   logo, wordmark or glyph — it is the generic shape of a profile page
   (avatar, counts, bio, tabs, grid), which is what the customer recognises
   and all we need to say "this is a real account on a real phone". It also
   means no image request: the whole screen is one paint. */
.ig{flex:1;display:flex;flex-direction:column;min-height:0;padding-top:26px;
  font-size:.44rem;color:var(--cn-text-3)}

.ig-bar{display:flex;align-items:center;gap:5px;padding:3px 10px 7px}
.ig-bar b{flex:1;font-weight:500;font-size:.5rem;color:var(--cn-text)}
.ig-live{font-style:normal;font-size:.4rem;color:var(--cn-green);
  text-shadow:0 0 6px rgba(94,255,94,.5)}
.ig-live::before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;
  background:var(--cn-green);box-shadow:0 0 5px var(--cn-green);margin-right:3px;
  vertical-align:middle}

.ig-prof{display:flex;align-items:center;gap:9px;padding:0 10px 7px}
/* the avatar ring, lit from the same direction as the rest of the page */
.ig-av{width:30px;height:30px;border-radius:50%;flex-shrink:0;
  border:1px solid rgba(var(--cn-blue-rgb),.32);
  background:radial-gradient(circle at 38% 30%,rgba(var(--cn-blue-rgb),.20),rgba(255,255,255,.05) 58%,transparent 100%)}
.ig-stats{flex:1;display:flex;justify-content:space-between}
.ig-stats s{text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:1px}
.ig-stats u{text-decoration:none;font-size:.5rem;color:var(--cn-text)}
.ig-stats i{font-style:normal;font-size:.38rem;color:var(--cn-text-4)}

/* bio: ruled lines, not lorem — at this size real text is unreadable mush */
.ig-bio{display:flex;flex-direction:column;gap:3px;padding:0 10px 8px}
.ig-bio span{height:3px;border-radius:2px;background:rgba(255,255,255,.16)}
.ig-bio span:first-child{width:64%}
.ig-bio span:last-child{width:41%}

.ig-actions{display:flex;gap:5px;padding:0 10px 8px}
.ig-actions span{flex:1;text-align:center;padding:3px 0;border-radius:3px;font-size:.4rem;
  border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.03);color:var(--cn-text-3)}

/* the one line that is ours rather than the platform's: the account is
   posting on its own, right now, which is the entire product */
.ig-now{display:flex;align-items:center;gap:5px;margin:0 10px 8px;padding:3px 6px;
  border-radius:3px;font-size:.4rem;
  border:1px solid rgba(var(--cn-blue-rgb),.42);background:rgba(var(--cn-blue-rgb),.08);
  box-shadow:0 0 14px rgba(var(--cn-blue-rgb),.13)}
.ig-now b{flex:1;font-weight:400;color:var(--cn-blue);text-shadow:0 0 6px rgba(var(--cn-blue-rgb),.5)}
.ig-now em{font-style:normal;color:var(--cn-blue)}
.ig-now i{width:4px;height:4px;border-radius:50%;flex-shrink:0;background:var(--cn-blue);
  box-shadow:0 0 6px var(--cn-blue)}

.ig-tabs{display:flex;border-top:1px solid rgba(255,255,255,.08)}
.ig-tabs span{position:relative;flex:1;height:14px}
/* grid / reels / tagged, as three different shapes — three identical pills
   read as decoration, not as tabs you could press */
.ig-tabs span::before{content:"";position:absolute;top:4px;left:50%;margin-left:-3px;
  width:6px;height:6px;border:1px solid rgba(255,255,255,.30)}
.ig-tabs span:nth-child(1)::before{
  background:linear-gradient(90deg,transparent 2px,rgba(255,255,255,.30) 2px 3px,transparent 3px),
             linear-gradient(180deg,transparent 2px,rgba(255,255,255,.30) 2px 3px,transparent 3px)}
.ig-tabs span:nth-child(2)::before{border:none;width:0;height:0;margin-left:-2px;
  border-style:solid;border-width:3px 0 3px 5px;
  border-color:transparent transparent transparent rgba(255,255,255,.30)}
.ig-tabs span:nth-child(3)::before{border-radius:50%}
.ig-tabs .on::before{border-color:var(--cn-text)}
.ig-tabs .on::after{content:"";position:absolute;left:22%;right:22%;bottom:0;height:1.5px;
  background:var(--cn-text)}

/* The grid's own background is what shows through the 1px gaps, so the cells
   have to be OPAQUE — a translucent fill lets the seams vanish and the whole
   grid reads as one flat block instead of nine posts.
   The cells are deliberately EMPTY: hatched textures at 52px only ever read as
   noise, and fake thumbnails invite the viewer to squint at content that isn't
   the point. Flat tiles with a hairline seam say "posts" and then get out of
   the way. The only marked cell is the one that just went out. */
.ig-grid{flex:1;min-height:0;display:grid;grid-template-columns:repeat(3,1fr);
  gap:1px;padding:1px;align-content:start;overflow:hidden;
  background:rgba(255,255,255,.09)}
.ig-grid span{position:relative;aspect-ratio:1;background-color:#0c1014}
/* barely-there tonal drift so the grid is not one flat sheet; cycles of 4 and 5
   against 3 columns (both coprime with 3) keep it from banding into stripes */
.ig-grid span:nth-child(4n+2){background-color:#0e1217}
.ig-grid span:nth-child(4n+3){background-color:#090c10}
.ig-grid span:nth-child(5n+4){background-color:#101419}
/* the post that just went out */
.ig-grid .new{background-color:rgba(var(--cn-blue-rgb),.09);
  box-shadow:0 0 0 1px rgba(var(--cn-blue-rgb),.45) inset,0 0 12px rgba(var(--cn-blue-rgb),.18)}

.ig-nav{display:flex;justify-content:space-around;align-items:center;height:17px;
  flex-shrink:0;border-top:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.45)}
.ig-nav i{width:7px;height:7px;border-radius:1px;border:1px solid rgba(255,255,255,.24)}
.ig-nav i:nth-child(2){border-radius:50%}
.ig-nav i:last-child{border-radius:50%;border-color:rgba(var(--cn-blue-rgb),.5);
  background:rgba(var(--cn-blue-rgb),.18)}

.phone-body:nth-of-type(1){animation-delay:-9.88s}  /* opens at centre  (49.4%) */
.phone-body:nth-of-type(2){animation-delay:-3.21s}  /* opens on the right (16.1%) */
.phone-body:nth-of-type(3){animation-delay:-16.55s} /* opens on the left  (82.7%) */

/*
 * A conveyor. Two rules govern the timing:
 *
 *  1. The beats never overlap. The centre must finish stepping left BEFORE the
 *     next phone starts moving in. With three phones a third of a cycle apart,
 *     that means (move-in + centre hold + move-out) must fit inside 33.3% — here
 *     8 + 17 + 8 = 33, so the incoming phone starts at 71.3% and the outgoing one
 *     cleared the centre at 71%.
 *
 *  2. The centre is on top. The mask on the container flattens 3D sorting, so
 *     translateZ no longer decides what paints in front and the phones would
 *     otherwise stack in DOM order — which is what put the arriving phone over
 *     the one still in the middle. z-index is animated alongside the transform.
 *
 * Side slots sit at 265px rather than 215: perspective foreshortening pulls them
 * inward, so the drawn gap is much smaller than the number suggests.
 */
@keyframes phoneSlot{
  /* Moves travel at fixed px/s and never change speed; pacing is tuned by the
     WAITS between them.
     The three visible gaps are not independent — all three phones ride one loop
     a third of a cycle apart, so the gaps always sum to exactly the two moves
     (right->centre) + (left->off). The only way to shrink ALL of them at once is
     to make one of those two moves shorter in TIME, which is why the off-screen
     park is 420px and not 520px: the container mask has already erased the phone
     by ~386px, so the last 100px was invisible travel. Same speed, less of it —
     which bought 0.86s back out of the gap budget. Budget: 0.25 / 1.14 / 0.65. */
  0%     {transform:translate(-50%,-50%) translateX(420px) translateZ(-300px) rotateY(-30deg);z-index:1}
  7.29%  {transform:translate(-50%,-50%) translateX(265px) translateZ(-300px) rotateY(-30deg);z-index:1}
  /* wait on the right — the next phone enters hard on the heels of this move */
  32.08% {transform:translate(-50%,-50%) translateX(265px) translateZ(-300px) rotateY(-30deg);z-index:2}
  35.58% {transform:translate(-50%,-50%) translateX(0) translateZ(0) rotateY(0deg);z-index:3}
  /* parked in front */
  63.23% {transform:translate(-50%,-50%) translateX(0) translateZ(0) rotateY(0deg);z-index:3}
  67.73% {transform:translate(-50%,-50%) translateX(-265px) translateZ(-300px) rotateY(30deg);z-index:2}
  /* linger on the left */
  93.31% {transform:translate(-50%,-50%) translateX(-265px) translateZ(-300px) rotateY(30deg);z-index:1}
  100%   {transform:translate(-50%,-50%) translateX(-420px) translateZ(-300px) rotateY(30deg);z-index:1}}

@media(prefers-reduced-motion:reduce){
  .phone-body{animation:none;transform:translate(-50%,-50%);opacity:0}
  .phone-body:nth-of-type(1){opacity:1}
}
@media(max-width:620px){.hero-phone{display:none}}

/* ── phosphor text: making the hero copy read as drawn ON the tube ────────── */
/*
 * Three things separate CRT text from ordinary web text:
 *   bloom   — phosphor spreads light, so glyphs carry a soft halo
 *   fringe  — the three guns never land perfectly, leaving a red/cyan edge
 *   flicker — the refresh is visible as a faint, slow brightness wobble
 *
 * All three are kept deliberately weak. Legibility is the one thing a hero
 * cannot trade away, and blur reads as low contrast — which is exactly what
 * makes copy feel less trustworthy. The dark drop-shadows that keep the text
 * readable over the video are preserved underneath every effect below.
 */
.hero-inner{
  text-shadow:0 1px 14px rgba(0,0,0,.8), 0 0 1px rgba(255,255,255,.28), 0 0 10px rgba(255,255,255,.07)}
/* The flicker runs on the copy and the product, not on .hero-inner: an
   animated opacity makes its element a stacking context, which would trap
   .cta-row (lifted above the CRT glass, see below) under the grille. */
.hero-copy>:not(.cta-row),.hero-phone,.hero-session,.hero-term{animation:crtFlicker 5.2s steps(1,end) infinite}
.hero h1{
  text-shadow:
    /* legibility first — this is the layer doing the real work */
    0 2px 26px rgba(0,0,0,.85),
    /* the guns, very slightly misconverged */
   -.6px 0 0 rgba(255,72,72,.30),
    .6px 0 0 rgba(96,190,255,.30),
    /* phosphor bloom */
    0 0 2px rgba(255,255,255,.45),
    0 0 20px rgba(255,255,255,.16)}
.hero h1 .blue{
  text-shadow:
    0 2px 26px rgba(0,0,0,.85),
   -.6px 0 0 rgba(255,72,72,.22),
    0 0 3px rgba(var(--cn-blue-rgb),.85),
    0 0 22px rgba(var(--cn-blue-rgb),.40),
    0 0 54px rgba(var(--cn-blue-rgb),.16)}
.hero .prompt{text-shadow:0 0 2px rgba(var(--cn-blue-rgb),.55),0 0 14px rgba(var(--cn-blue-rgb),.22)}
.hero .cn-btn{text-shadow:0 0 8px rgba(255,255,255,.18)}
.hero .cn-btn-primary{text-shadow:0 0 4px rgba(var(--cn-blue-rgb),.6),0 0 18px rgba(var(--cn-blue-rgb),.28)}

/* A refresh you can just about see. Held between .97 and 1 — any deeper and it
   stops reading as a screen and starts reading as a fault. */
@keyframes crtFlicker{
  0%,100%{opacity:1}
  8%{opacity:.985}
  9%{opacity:1}
  41%{opacity:.975}
  42%{opacity:1}
  73%{opacity:.99}
  74%{opacity:1}}
@media(prefers-reduced-motion:reduce){
  .hero-copy>:not(.cta-row),.hero-phone,.hero-session,.hero-term{animation:none}
}

/* ── hero: video bed, scrim, copy ─────────────────────────────────────────── */
.hero{position:relative;isolation:isolate;overflow:hidden;
  padding:clamp(96px,14vw,190px) 0 clamp(120px,18vw,240px);
  /* Bottom padding is deliberately larger than the top: the phones live along the
     bottom of the frame, so the copy is lifted clear of them. */
  display:flex;align-items:center;min-height:clamp(560px,78vh,880px)}
.hero-bed{position:absolute;inset:0;z-index:-2;background:#000}
.hero-video{position:absolute;top:50%;left:50%;min-width:100%;min-height:100%;
  width:auto;height:auto;transform:translate(-50%,-50%);object-fit:cover;
  /* Held back so the picture never wins against the words over it. Starts at 0
     and eases up once it is actually playing, so it does not pop over the poster. */
  opacity:0;transition:opacity .9s ease;backface-visibility:hidden}
.hero-video.is-live{opacity:.55}
/* Two scrims, not one: a left-to-right wash so the copy column always has a dark
   bed regardless of what the video is doing, and a vertical one that seats the
   header at the top and hands off to the page background at the bottom. */
.hero-scrim{position:absolute;inset:0;z-index:-1;
  background:
    /* The copy column keeps a near-solid bed all the way across its width — the
       phone screens are the brightest thing in the frame and they sit exactly
       where the last line of copy lands. */
    linear-gradient(90deg,rgba(0,0,0,.96) 0%,rgba(0,0,0,.92) 46%,rgba(0,0,0,.6) 72%,rgba(0,0,0,.25) 100%),
    linear-gradient(180deg,rgba(0,0,0,.88) 0%,transparent 24%,transparent 46%,rgba(0,0,0,.55) 72%,var(--cn-bg) 100%),
    radial-gradient(900px 420px at 14% 18%,rgba(var(--cn-blue-rgb),.10),transparent 62%)}
/* One row at every width down to a phone: the copy on the left, the product
   on the right, never stacked. Both columns are minmax(0,…) so neither can
   force the other to wrap; under 1000px the copy steps down a notch (below). */
/* No z-index here on purpose: it would make .hero-inner a stacking context
   and trap the buttons under the CRT glass (.crt-overlay, z-index 3). The
   copy and the product still paint over the bed and scrim (negative z) and
   under the glass; only .cta-row is lifted above it, below. */
.hero-inner{position:relative;max-width:var(--wrap);
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(20px,4vw,80px);align-items:center}
/* The buttons sit ABOVE the CRT glass: the scanline grille striped them and
   the vignette dimmed them, and a call to action is the one thing on the
   page that must read clean. Everything else stays under the tube. */
.hero .cta-row{position:relative;z-index:4}
@media(max-width:1000px){
  .hero h1{font-size:clamp(1.35rem,3.2vw,1.9rem);margin-bottom:18px}
  .hero .lede{font-size:clamp(.74rem,1.3vw,.86rem);line-height:1.65;margin-bottom:24px}
  .hero .prompt{font-size:.62rem;letter-spacing:1.2px;margin-bottom:14px}
}
@media(max-width:620px){.hero-inner{grid-template-columns:1fr}}

/* ── the iPhone outline ───────────────────────────────────────────────────── */

/* The hero's scrim resolves to the page background, so without this the next
   section began the instant the picture ended and the two ran together. A hair
   line plus extra room reads as a deliberate edge rather than a seam. */
.hero + section{padding-top:clamp(76px,10vw,132px);position:relative}
.hero + section::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);
  width:min(var(--wrap),calc(100% - 44px));height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.14) 22%,rgba(255,255,255,.14) 78%,transparent)}
.hero h1{margin-bottom:26px;max-width:20ch;line-height:1.14}
.hero .lede{margin-bottom:36px;line-height:1.75;max-width:56ch}
.cta-row{display:flex;flex-wrap:nowrap;gap:clamp(8px,1.2vw,14px);min-width:0}
/*
 * The two calls to action, made unmistakable. The site's buttons are ghost
 * outlines, which is right for a dashboard and wrong for the one thing a
 * landing page wants clicked: the primary is a solid slab of the page's own
 * accent (blue here, orange / violet where the page remaps --cn-blue) with
 * dark text, the secondary a bright white outline. Both a step taller, both
 * bold, both with the arrow / label in plain white or black, no glow to blur
 * them. Specificity (0,3,0) so the per-page tints in devices.css / driver.css
 * (0,2,0) do not win.
 */
.cta-row .cn-btn{padding:clamp(.6rem,1.2vw,.95rem) clamp(.7rem,1.7vw,1.6rem);font-size:clamp(.6rem,1.1vw,.86rem);
  font-weight:700;letter-spacing:clamp(.6px,.12vw,1.6px);white-space:nowrap;flex:0 1 auto;min-width:0;
  border:2px solid rgba(255,255,255,.85);color:#fff;background:rgba(255,255,255,.06);text-shadow:none;
  box-shadow:0 2px 4px rgba(0,0,0,.4),0 8px 20px -6px rgba(0,0,0,.6)}
.cta-row .cn-btn:hover{background:rgba(255,255,255,.14);border-color:#fff;
  box-shadow:0 4px 8px rgba(0,0,0,.5),0 12px 28px -6px rgba(0,0,0,.65),0 0 22px rgba(255,255,255,.18)}
.cta-row .cn-btn.cn-btn-primary{background:var(--cn-blue);border-color:var(--cn-blue);color:#05070a;text-shadow:none;
  box-shadow:0 2px 4px rgba(0,0,0,.4),0 8px 20px -6px rgba(0,0,0,.6),0 0 22px var(--cn-blue-dim)}
.cta-row .cn-btn.cn-btn-primary:hover{background:#fff;border-color:#fff;color:#05070a;
  box-shadow:0 4px 8px rgba(0,0,0,.5),0 12px 28px -6px rgba(0,0,0,.65),0 0 32px var(--cn-blue)}
.cta-row .cn-btn.cn-btn-primary .arr{color:#05070a;text-shadow:none}
/* The two stay side by side on a phone as well; they just get small. */
@media(max-width:620px){.cta-row .cn-btn{font-size:.62rem;padding:.7rem .8rem;letter-spacing:.8px;gap:6px}}

@media(max-width:760px){
  /* A looping video is a poor trade on a phone — data, battery, and it competes
     with copy that now fills the screen. The poster still sets the scene. */
  .hero-video{display:none}
  .hero-bed{background:#000 url('/assets/images/hero-phonefarm-poster.jpg') center/cover no-repeat}
  .hero-scrim{background:
    linear-gradient(180deg,rgba(0,0,0,.9) 0%,rgba(0,0,0,.78) 45%,var(--cn-bg) 100%)}
  .hero{min-height:auto;padding:clamp(72px,16vw,110px) 0 clamp(88px,20vw,140px)}
}
@media(prefers-reduced-motion:reduce){
  .hero-video{display:none}
  .hero-bed{background:#000 url('/assets/images/hero-phonefarm-poster.jpg') center/cover no-repeat}
}

/*
 * Steps as free-standing cards, alternating left and right down the page.
 *
 * They used to be rows sharing one terminal box, which made four distinct
 * things read as one list. Each is its own card now, and staggering them
 * left / right / left / right puts a single step under the eye at a time —
 * a 2x2 block offers no reading order, and a full-width stack wastes the
 * half of the row the eye lands on first.
 *
 * Each card takes its own row, so the zigzag survives uneven card heights
 * instead of the taller one dragging its neighbour out of step.
 */
/* grid-auto-rows:1fr equalises the cards: in an auto-height grid every fr row
   resolves to the tallest row's content, so all four match without a hand-set
   min-height that a copy edit would silently break. */
.steps{display:grid;grid-template-columns:repeat(12,1fr);gap:26px 0;grid-auto-rows:1fr}
/* Centred, not top-aligned: the clip makes its row taller than the text needs,
   and equal rows push that slack onto every card. Centred it reads as padding;
   top-aligned it read as a gap someone forgot to close. */
.steps .step{border:1px solid rgba(255,255,255,.1);background:#ffffff05;
  border-radius:2px;padding:26px 28px;align-content:center}
/* 7 of 12 columns, not 6, so the two sides overlap across the middle. At a hard
   half each card left a full half-row empty beside it and the section read as
   mostly gap; overlapping tightens it while keeping the sides obvious. */
/* nth-of-type, not nth-child: the clip is a <figure> between the steps, and
   nth-child would have renumbered every card the moment it was added. The
   steps are the only <div> children, so counting by type keeps 1-4 stable. */
.steps .step:nth-of-type(1){grid-column:1 / span 7;grid-row:1}
.steps .step:nth-of-type(2){grid-column:6 / span 7;grid-row:2}
.steps .step:nth-of-type(3){grid-column:1 / span 7;grid-row:3}
.steps .step:nth-of-type(4){grid-column:6 / span 7;grid-row:4}

/*
 * Each clip fills the gap opposite its step, so it mirrors the zigzag: step 01
 * sits left and its clip goes right, step 02 sits right and its clip goes left.
 *
 * The grid has no column gap — cards 02/04 deliberately overlap the middle
 * columns — so without the margin a clip sits flush against its card with the
 * two borders touching. The margin matches the row gap, on whichever side faces
 * the card, so the spacing reads the same everywhere and the clip's outer edge
 * still lands on .wrap's gutter like the rest of the section.
 *
 * align-self:center rather than stretch: equalised rows are taller than the
 * video, and stretching would smear its aspect ratio.
 */
/* One clip per step, each opposite its card so they mirror the zigzag: odd steps
   sit left and take a clip on the right, even steps the other way round. */
.step-clip{align-self:center;margin:0}
.step-clip:nth-of-type(1){grid-column:8 / span 5;grid-row:1;margin-left:26px}
.step-clip:nth-of-type(2){grid-column:1 / span 5;grid-row:2;margin-right:26px}
.step-clip:nth-of-type(3){grid-column:8 / span 5;grid-row:3;margin-left:26px}
.step-clip:nth-of-type(4){grid-column:1 / span 5;grid-row:4;margin-right:26px}
.step-clip video{display:block;width:100%;height:auto;border-radius:3px;
  border:1px solid rgba(var(--cn-blue-rgb),.22);background:#000;
  /* Lifted off the page and faintly lit in the section's own blue, so it reads
     as a screen rather than a flat image pasted next to the card. */
  box-shadow:0 1px 0 rgba(255,255,255,.06) inset,
             0 18px 40px -18px rgba(0,0,0,.9),
             0 0 26px -6px rgba(var(--cn-blue-rgb),.28)}
/* Same specificity as the placement rules above, or they keep their spans and
   the grid quietly invents the missing columns back. */
@media(max-width:820px){
  /* Equal heights are a desktop concern: stacked, they would only add tails of
     empty space to the shorter cards. */
  .steps{grid-template-columns:1fr;gap:16px;grid-auto-rows:auto}
  .steps .step:nth-of-type(1),.steps .step:nth-of-type(2),
  .steps .step:nth-of-type(3),.steps .step:nth-of-type(4){grid-column:1;grid-row:auto}
  /* Stacked, each clip reads as the illustration for the step above it. Matched
     to the placement rules' specificity, or nth-of-type keeps its columns and
     the clips stay half-width and offset while the cards go full width. */
  .step-clip:nth-of-type(1),.step-clip:nth-of-type(2),
  .step-clip:nth-of-type(3),.step-clip:nth-of-type(4){
    grid-column:1;grid-row:auto;margin-left:0;margin-right:0}
}

/* grids of boxes */
.grid{display:grid;gap:14px}
.g3{grid-template-columns:repeat(3,1fr)}
.g2{grid-template-columns:repeat(2,1fr)}
@media(max-width:940px){.g3{grid-template-columns:1fr 1fr}}
@media(max-width:660px){.g3,.g2{grid-template-columns:1fr}}
.tile h3{margin-bottom:8px}
.tile p{font-size:.8rem;color:var(--cn-text-2);line-height:1.7}

/* comparison */
.cmp ul{list-style:none;font-size:.79rem;color:var(--cn-text-2);margin-top:10px}
.cmp li{padding-left:18px;position:relative;margin-bottom:7px}
.cmp li::before{content:"·";position:absolute;left:4px;color:var(--cn-text-4)}
.cmp .us{border-color:var(--cn-blue);box-shadow:var(--cn-shadow-card),0 0 22px rgba(var(--cn-blue-rgb),.12)}
.cmp .us .cn-box-title{color:var(--cn-blue);text-shadow:0 0 5px rgba(var(--cn-blue-rgb),.5)}
.cmp .us li::before{content:"✓";color:var(--cn-blue);text-shadow:0 0 4px var(--cn-blue)}
.cmp .us h3{color:var(--cn-blue);text-shadow:0 0 5px rgba(var(--cn-blue-rgb),.4)}

/* steps */
/* The separator border and :first-child exception here were for the old layout,
   where the steps were rows sharing one box. They now sit inside .steps as
   cards, and :first-child matched .steps' specificity while coming later in the
   file — so card 01 alone was losing its top border and most of its padding. */
.step{display:grid;grid-template-columns:auto 1fr;gap:20px}
.step-n{font-size:.72rem;font-weight:600;color:var(--cn-blue);text-shadow:0 0 4px var(--cn-blue);
  border:1px solid var(--cn-border);border-radius:2px;width:40px;height:40px;
  display:flex;align-items:center;justify-content:center}
.step h3{margin-bottom:10px}
.step p{font-size:.82rem;color:var(--cn-text-2);max-width:74ch;line-height:1.7}
.chips{margin-top:16px;display:flex;flex-wrap:wrap;gap:7px}
.chip{font-size:.68rem;letter-spacing:.6px;color:var(--cn-text-3);border:1px solid rgba(255,255,255,.14);
  border-radius:2px;padding:2px 8px;background:#ffffff05}
@media(max-width:620px){.step{grid-template-columns:1fr;gap:12px}}

/* pricing */
.price-amt{display:block;margin:0 0 22px}
.price-amt b{display:block;font-size:clamp(2.6rem,5.5vw,3.4rem);font-weight:700;line-height:1;
  color:var(--cn-blue);text-shadow:0 0 6px rgba(var(--cn-blue-rgb),.55),0 0 24px rgba(var(--cn-blue-rgb),.2)}
.price-amt span{display:block;margin-top:9px;color:var(--cn-text-2);font-size:.78rem;letter-spacing:.3px}
.price ul{list-style:none;margin:16px 0 20px;font-size:.8rem}
.price li{padding-left:20px;position:relative;margin-bottom:8px;color:var(--cn-text-2)}
.price li::before{content:"✓";position:absolute;left:0;color:var(--cn-blue);text-shadow:0 0 4px var(--cn-blue)}
/*
 * Sized to its sentence, not to the column.
 *
 * A block-level box stretched the full width of the wrap, which left the line
 * floating against a border a long way off it on either side. width:max-content
 * shrinks the box to the text; margin-inline:auto centres what is left. The
 * max-width keeps it honest on a narrow screen, where max-content would
 * otherwise be wider than the viewport and overflow rather than wrap.
 */
.readout{border:1px solid rgba(255,255,255,.12);background:#ffffff05;border-radius:2px;
  padding:.6rem .9rem;font-size:.76rem;color:var(--cn-text-2);line-height:1.6;
  width:max-content;max-width:100%;margin-inline:auto;text-align:center}
.readout b{color:var(--cn-blue);text-shadow:0 0 4px rgba(var(--cn-blue-rgb),.5)}
/* the cross-link between the two landing pages lives in a readout */
.readout a{color:var(--cn-blue);text-shadow:0 0 4px rgba(var(--cn-blue-rgb),.5);white-space:nowrap}
.readout a:hover{text-decoration:underline}
.side-block+.side-block{margin-top:18px;padding-top:18px;border-top:1px solid rgba(255,255,255,.07)}
.fineprint{margin-top:12px;font-size:.7rem;color:var(--cn-text-3);line-height:1.7}
.price-card{max-width:780px;margin:0 auto}
/* ...and the eyebrow + heading centre with it, so the block reads as one
   object. Left-aligning the heading against a centred card was the mismatch. */
#pricing .prompt,#pricing h2{text-align:center}
.price-split{display:grid;grid-template-columns:270px 1fr;gap:0}
.price-buy{padding-right:34px;border-right:1px solid rgba(255,255,255,.07);
  display:flex;flex-direction:column;justify-content:center}
.price-what{padding-left:38px}
.price-what ul{margin:0}

/*
 * The two dials.
 *
 * .dial       clips the row and fades both edges, so tiles arrive and leave
 *             rather than popping at a hard border.
 * .dial-shift carries the DRAG offset only.
 * .dial-track carries the ANIMATION only.
 *
 * They are separate elements because the two transforms have to compose: if the
 * drag wrote to the same element the animation drives, one would clobber the
 * other every frame. Split, the browser multiplies them for free.
 *
 * The animation travels exactly one repeat of the tile set and restarts, which
 * is what makes the wrap invisible. That distance is measured from the DOM and
 * published as --dial-shift, because a percentage of the track is one flex gap
 * short of a whole repeat and the row would jolt at the end of every cycle.
 */
.dials{display:grid;gap:14px}
/*
 * The edge fade: a mask so the tiles fade to whatever is behind them (the
 * body's scanline texture) rather than painting black over it. Longhands are
 * spelled out because engines disagree about what mask-size:auto means for a
 * gradient with no intrinsic size. The @supports block below is the painted
 * fallback for engines with no mask at all. NB the tiles must not carry
 * backdrop-filter — see .dial-track .cn-box.
 */
.dial{position:relative;overflow:hidden;cursor:grab;touch-action:pan-y;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  -webkit-mask-repeat:no-repeat;  mask-repeat:no-repeat;
  -webkit-mask-size:100% 100%;    mask-size:100% 100%;
  -webkit-mask-position:0 0;      mask-position:0 0}
/*
 * And for anything with no mask support at all, the same fade painted on top
 * instead. Only 6% of each end is covered, and the backdrop there is black
 * plus a 1.6%-white scanline — so what this hides is a difference of about
 * four values out of 255, which is not visible, and a hard edge very much is.
 *
 * @supports keeps the two from ever both applying: a browser that masks never
 * builds these.
 */
@supports not ((-webkit-mask-image:linear-gradient(#000,#000)) or (mask-image:linear-gradient(#000,#000))){
  .dial::before,.dial::after{content:"";position:absolute;top:0;bottom:0;width:6%;
    pointer-events:none;z-index:2}
  .dial::before{left:0;background:linear-gradient(90deg,#000,rgba(0,0,0,0))}
  .dial::after{right:0;background:linear-gradient(270deg,#000,rgba(0,0,0,0))}
}
.dial:active{cursor:grabbing}
.dial-shift{will-change:transform}
.dial-track{display:flex;align-items:stretch;gap:14px;width:max-content;
  animation:dialSpin 46s linear infinite}
.dial-rev .dial-track{animation-duration:58s;animation-direction:reverse}
/* Paused while a finger or cursor is on it — the drag is in charge then. */
.dial.is-held .dial-track{animation-play-state:paused}
/* A fixed width is what lets the row be measured and looped; the tiles keep
   their own box styling from .cn-box — minus backdrop-filter. Gecko (Zen,
   Firefox ≤ ~140) drops an ancestor's mask-image entirely when a descendant
   has backdrop-filter, which is why the edge fade worked in Chrome and not in
   Zen. Inside the dial the blur had nothing to blur anyway: the backdrop is
   the body's static near-black scanline, so removing it changes nothing. */
.dial-track .cn-box{flex:0 0 330px;user-select:none;
  backdrop-filter:none;-webkit-backdrop-filter:none}
.dial-track .tile p{max-width:none}
@keyframes dialSpin{from{transform:translate3d(0,0,0)}to{transform:translate3d(var(--dial-shift,-33.3333%),0,0)}}
@media(max-width:680px){
  .dial-track .cn-box{flex-basis:270px}
}
@media(prefers-reduced-motion:reduce){
  /* Nothing turns on its own; the rows are still there and still draggable. */
  .dial-track{animation:none}
  .dial{-webkit-mask-image:none;mask-image:none}
  .dial::before,.dial::after{display:none}
}
@media(max-width:680px){
  .price-split{grid-template-columns:1fr;gap:24px}
  .price-buy{padding-right:0;border-right:0;border-bottom:1px solid rgba(255,255,255,.07);padding-bottom:24px}
  .price-what{padding-left:0}
}
.side-block h3{margin-bottom:6px}
.side-block p{font-size:.79rem;color:var(--cn-text-2);line-height:1.7}

/* faq */
details{border-bottom:1px solid rgba(255,255,255,.07)}
details:last-of-type{border-bottom:0}
summary{cursor:pointer;list-style:none;color:var(--cn-text);font-size:.85rem;font-weight:500;letter-spacing:.3px;
  padding:15px 0;display:flex;justify-content:space-between;align-items:center;gap:18px}
summary::-webkit-details-marker{display:none}
summary::after{content:"[+]";color:var(--cn-blue);text-shadow:0 0 4px var(--cn-blue);font-size:.76rem;flex-shrink:0}
details[open] summary::after{content:"[-]"}
summary:hover{color:var(--cn-blue)}
details p{padding:0 0 16px;font-size:.81rem;color:var(--cn-text-2);max-width:78ch;line-height:1.75}

.center{text-align:center}
.center .lede{margin:0 auto}
.center .cta-row{justify-content:center}

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