/* =============================================================================
   Mind Browser — marketing site
   Palette lifted from the app's design-system.css so the site and the product
   read as one thing. No external fonts, no external assets, no dependencies.
   ========================================================================== */

:root{
  --bg:#050807;
  --bg-1:#080c09;
  --bg-2:#0d1310;
  --panel:#111613;
  --elev:#19241e;

  --tx:#e6f0eb;
  --tx-2:#9aada2;
  --tx-3:#5f7469;

  --ac:#2bd473;
  --ac-2:#3aeba0;
  --ac-dim:rgba(43,212,115,.12);
  --ac-glow:rgba(43,212,115,.38);

  --line:rgba(255,255,255,.07);
  --line-2:rgba(255,255,255,.12);

  --r-sm:10px; --r-md:16px; --r-lg:24px; --r-xl:32px;

  --font:-apple-system,BlinkMacSystemFont,'SF Pro Display','Segoe UI',system-ui,Roboto,'Helvetica Neue',sans-serif;
  --mono:'SF Mono',ui-monospace,'Cascadia Code','Fira Code',monospace;

  --ease:cubic-bezier(.22,1,.36,1);
  --spring:cubic-bezier(.16,1.32,.4,1);      /* overshoots, then settles */
  --spring-soft:cubic-bezier(.2,1.14,.36,1);

  --pad:clamp(20px,5vw,64px);
  --max:1240px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;color:var(--tx);font-family:var(--font);
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
  /* faint dot grid, so the canvas reads as a surface you can put things on */
  background:
    radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--bg);
}
img{max-width:100%;display:block}
svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
a{color:inherit;text-decoration:none}
em{font-style:normal}

::selection{background:rgba(43,212,115,.28);color:#fff}
:focus-visible{outline:2px solid var(--ac);outline-offset:3px;border-radius:6px}

.skip{
  position:absolute;left:-9999px;top:12px;z-index:1000;
  padding:10px 18px;border-radius:100px;background:var(--ac);color:#04180d;font-weight:600;
}
.skip:focus{left:16px}

/* ---------- ambient layers ---------- */
.grain{
  position:fixed;inset:-50%;z-index:9999;pointer-events:none;opacity:.032;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation:grain 8s steps(6) infinite;
}
@keyframes grain{
  0%,100%{transform:translate(0,0)}20%{transform:translate(-3%,2%)}
  40%{transform:translate(2%,-3%)}60%{transform:translate(-2%,-2%)}80%{transform:translate(3%,1%)}
}
.cursor-glow{
  position:fixed;top:0;left:0;width:620px;height:620px;z-index:0;pointer-events:none;
  margin:-310px 0 0 -310px;opacity:0;transition:opacity .5s ease;
  background:radial-gradient(circle,rgba(43,212,115,.09),transparent 62%);
}
body.has-cursor .cursor-glow{opacity:1}

/* =============================== NAV =============================== */
.nav{
  position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:900;
  width:min(var(--max),calc(100% - 28px));
  display:flex;align-items:center;gap:24px;
  padding:9px 9px 9px 16px;border-radius:100px;
  border:1px solid transparent;background:transparent;
  transition:background .45s var(--ease),border-color .45s var(--ease),
             box-shadow .45s var(--ease),top .45s var(--ease);
}
.nav.stuck{
  top:10px;
  background:rgba(10,16,12,.68);
  border-color:var(--line);
  backdrop-filter:saturate(1.6) blur(20px);
  -webkit-backdrop-filter:saturate(1.6) blur(20px);
  box-shadow:0 12px 40px rgba(0,0,0,.5);
}
.nav-brand{display:flex;align-items:center;gap:10px;font-weight:600;letter-spacing:-.01em;font-size:15px}
.nav-mark{width:26px;height:26px;border-radius:7px;box-shadow:0 0 0 1px var(--line)}
.nav-links{display:flex;gap:4px;margin-left:auto}
.nav-links a{
  padding:7px 14px;border-radius:100px;font-size:14px;color:var(--tx-2);
  transition:color .25s,background .25s;
}
.nav-links a:hover{color:var(--tx);background:rgba(255,255,255,.055)}

/* =============================== BUTTONS =============================== */
.btn{
  position:relative;display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font:inherit;font-weight:560;letter-spacing:-.01em;white-space:nowrap;
  border-radius:100px;cursor:pointer;isolation:isolate;
  /* transform is spring-driven per frame in main.js — keep it out of the transition */
  transition:box-shadow .35s var(--ease),background .3s,color .3s,border-color .3s;
}
.btn svg{width:15px;height:15px;stroke-width:1.9}
.btn .apple{width:14px;height:17px;margin-top:-1px}
.btn-sm{padding:9px 16px;font-size:14px}
.btn-lg{padding:16px 28px;font-size:16.5px}

/* Chunky and tactile: hard edge, lit top, and it physically sinks when pressed.
   The transform is driven by JS springs, so no transform here. */
.btn-primary{
  color:#02160b;
  background:linear-gradient(180deg,var(--ac-2),var(--ac));
  border:1px solid rgba(4,40,20,.55);
  box-shadow:
    0 1.5px 0 rgba(255,255,255,.5) inset,
    0 -2px 0 rgba(4,60,28,.28) inset,
    0 5px 0 rgb(20,120,68),
    0 10px 22px rgba(43,212,115,.26);
}
.btn-primary:hover{
  box-shadow:
    0 1.5px 0 rgba(255,255,255,.6) inset,
    0 -2px 0 rgba(4,60,28,.28) inset,
    0 5px 0 rgb(23,135,76),
    0 16px 34px rgba(43,212,115,.4);
}
.btn-primary.pressed{
  box-shadow:
    0 1.5px 0 rgba(255,255,255,.4) inset,
    0 -2px 0 rgba(4,60,28,.3) inset,
    0 1px 0 rgb(20,120,68),
    0 4px 12px rgba(43,212,115,.28);
}

.btn-ghost{
  color:var(--tx);border:1px solid var(--line-2);background:rgba(255,255,255,.035);
  backdrop-filter:blur(10px);
  box-shadow:0 1px 0 rgba(255,255,255,.09) inset,0 4px 0 rgba(255,255,255,.05);
}
.btn-ghost:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.22)}
.btn-ghost.pressed{box-shadow:0 1px 0 rgba(255,255,255,.09) inset,0 1px 0 rgba(255,255,255,.05)}

.link{display:inline-flex;align-items:center;gap:6px;color:var(--ac);font-size:14.5px;font-weight:540;margin-top:auto}
.link svg{width:14px;height:14px;transition:transform .3s var(--ease)}
.link:hover svg{transform:translateX(3px)}

kbd{
  font-family:var(--mono);font-size:.86em;padding:2px 6px;border-radius:6px;
  background:rgba(255,255,255,.07);border:1px solid var(--line-2);
  box-shadow:0 1px 0 rgba(0,0,0,.4);color:var(--tx);
}

/* =============================== HERO =============================== */
.hero{position:relative;padding:150px var(--pad) 0;text-align:center;overflow:clip}
.aurora{position:absolute;inset:-20% -10% auto;height:120vh;z-index:-1;filter:blur(70px);opacity:.75}
.aurora span{position:absolute;border-radius:50%;display:block}
.aurora .a1{width:56vw;height:56vw;left:8%;top:-14%;background:radial-gradient(circle,rgba(43,212,115,.26),transparent 68%);animation:drift 22s ease-in-out infinite}
.aurora .a2{width:44vw;height:44vw;right:4%;top:2%;background:radial-gradient(circle,rgba(58,235,160,.16),transparent 68%);animation:drift 28s ease-in-out infinite reverse}
.aurora .a3{width:64vw;height:38vw;left:22%;top:34%;background:radial-gradient(circle,rgba(20,120,80,.22),transparent 70%);animation:drift 34s ease-in-out infinite}
@keyframes drift{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  33%{transform:translate3d(4%,5%,0) scale(1.09)}
  66%{transform:translate3d(-5%,2%,0) scale(.95)}
}

.hero-copy{max-width:920px;margin:0 auto;position:relative;z-index:1}

.hero-title{
  font-size:clamp(44px,8.2vw,104px);line-height:.98;letter-spacing:-.045em;font-weight:640;
  margin:0 0 26px;
}
/* overflow:hidden is only needed WHILE the words slide up — it's the mask they
   emerge from. Left on, it crops descenders (the g in "alongside"), because
   line-height:.98 means the glyph ink overflows the line box. So main.js drops
   the clipping the moment the reveal finishes. The padding/negative-margin pair
   nets to zero layout change and gives the mask a little slack meanwhile. */
.hero-title .line{display:block;overflow:hidden;padding-bottom:.24em;margin-bottom:-.24em}
.hero-title.revealed .line{overflow:visible}
/* words arrive one at a time and overshoot a hair before settling */
.hero-title .wd{display:inline-block;transform-origin:50% 100%;animation:wordUp .9s var(--spring) both}
.hero-title .line:nth-child(1) .wd:nth-child(1){animation-delay:.02s}
.hero-title .line:nth-child(1) .wd:nth-child(2){animation-delay:.08s}
.hero-title .line:nth-child(2) .wd:nth-child(1){animation-delay:.14s}
.hero-title .line:nth-child(2) .wd:nth-child(2){animation-delay:.20s}
.hero-title .line:nth-child(3) .wd:nth-child(1){animation-delay:.26s}
.hero-title .line:nth-child(3) .wd:nth-child(2){animation-delay:.32s}
@keyframes wordUp{
  /* em, not % — a percentage resolves against each word's own box, which varies
     with its glyphs, so short words started too high and peeked below the mask */
  from{transform:translateY(1.5em) rotate(4deg)}
  to{transform:translateY(0) rotate(0)}
}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

.grad{
  background:linear-gradient(100deg,var(--ac) 0%,var(--ac-2) 42%,#bff7d8 78%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  /* The gradient is painted only inside this element's background box, and the
     text is transparent — so any ink outside the box gets no paint and simply
     disappears. With line-height < 1 the descender of "g" hangs below the box,
     which is what was cutting it. Extend the paint box down, pull it back up
     with an equal negative margin so nothing moves. */
  padding-bottom:.2em;
  margin-bottom:-.2em;
}

.hero-sub{
  max-width:620px;margin:0 auto 36px;font-size:clamp(16.5px,1.6vw,19.5px);line-height:1.55;
  color:var(--tx-2);letter-spacing:-.011em;animation:rise 1s var(--ease) .3s both;
}
.hero-sub em{color:var(--tx);font-weight:520}

.hero-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;animation:rise 1s var(--ease) .4s both}
.hero-fine{margin:20px 0 0;font-size:13.5px;color:var(--tx-3);animation:rise 1s var(--ease) .5s both}

/* ---------- Product Hunt launch badge ----------
   The only place on the site that borrows a colour from outside the palette.
   Product Hunt orange is doing a job here: it reads instantly as "this is the
   PH thing" instead of a green button people mistake for another download.
   No backdrop-filter — the hero already carries the two this page can afford,
   and stacking a third is what made the page hang before. */
.ph-badge{
  --ph:#ff6154;
  display:flex;flex-direction:column;align-items:center;gap:11px;
  width:max-content;max-width:100%;margin:30px auto 0;padding:15px 20px 17px;
  border-radius:18px;text-decoration:none;
  background:linear-gradient(180deg,rgba(255,97,84,.08),rgba(255,255,255,.02));
  border:1px solid rgba(255,97,84,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 18px 46px -24px rgba(255,97,84,.6);
  animation:rise 1s var(--ease) .6s both;
  transition:transform .45s var(--spring),border-color .3s ease,box-shadow .45s ease;
}
.ph-badge:hover{
  transform:translateY(-3px);
  border-color:rgba(255,97,84,.46);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 28px 64px -24px rgba(255,97,84,.85);
}
.ph-badge img{display:block;width:250px;max-width:100%;height:auto}
.ph-live{
  display:inline-flex;align-items:center;gap:8px;
  font-size:11.5px;font-weight:620;letter-spacing:.085em;text-transform:uppercase;
  color:#ffb3aa;
}
.ph-live i{
  width:7px;height:7px;border-radius:50%;background:var(--ph);
  animation:phPulse 2.1s ease-out infinite;
}
@keyframes phPulse{
  0%  {box-shadow:0 0 0 0 rgba(255,97,84,.55)}
  70% {box-shadow:0 0 0 9px rgba(255,97,84,0)}
  100%{box-shadow:0 0 0 0 rgba(255,97,84,0)}
}

/* ---------- app window illustration ---------- */
.stage{
  position:relative;max-width:1180px;margin:76px auto 0;
  perspective:2200px;perspective-origin:50% 0%;
  animation:rise 1.1s var(--ease) .55s both;
}
.stage-glow{
  position:absolute;left:50%;top:24%;width:78%;height:60%;transform:translateX(-50%);
  background:radial-gradient(ellipse,rgba(43,212,115,.3),transparent 70%);
  filter:blur(80px);z-index:-1;
}
.window{
  position:relative;border-radius:16px;overflow:hidden;text-align:left;
  background:linear-gradient(180deg,#0c110e,#070b09);
  border:1px solid rgba(255,255,255,.09);
  box-shadow:
    0 2px 0 rgba(255,255,255,.05) inset,
    0 40px 90px -20px rgba(0,0,0,.85),
    0 0 90px -30px rgba(43,212,115,.4);
  transform:rotateX(var(--rx,16deg)) scale(var(--sc,.94));
  transform-origin:50% 0%;
  will-change:transform;
}

/* ---------- loose objects you can pick up ---------- */
.stickers{position:absolute;inset:0;z-index:3;pointer-events:none}
.sticker{
  position:absolute;left:var(--x);top:var(--y);
  transform:translate(-50%,-50%) rotate(var(--r));
  pointer-events:auto;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;
  will-change:transform;
  box-shadow:0 10px 30px -8px rgba(0,0,0,.75),0 0 0 1px rgba(255,255,255,.07);
  transition:box-shadow .3s var(--ease);
}
.sticker:active{cursor:grabbing}
.st-note{--x:-5%;--y:4%;--r:-6deg}
.st-key{--x:-8%;--y:56%;--r:7deg}
.st-shield{--x:92%;--y:11%;--r:5deg}
.st-weather{--x:95%;--y:62%;--r:-6deg}
.st-badge{--x:8%;--y:-7%;--r:-4deg}
.st-badge-2{--x:86%;--y:-6%;--r:6deg}
.sticker.held{box-shadow:0 26px 50px -10px rgba(0,0,0,.85),0 0 0 1px rgba(43,212,115,.34);z-index:5}

/* a little Mac note window */
.st-note{width:186px;border-radius:12px;overflow:hidden;background:var(--panel)}
.st-bar{
  display:flex;align-items:center;gap:5px;padding:7px 10px;background:rgba(255,255,255,.05);
  font-size:10.5px;color:var(--tx-3);border-bottom:1px solid rgba(255,255,255,.05);
}
.st-bar i{width:7px;height:7px;border-radius:50%;background:#3a4741}
.st-bar i:nth-child(1){background:#ff5f57}.st-bar i:nth-child(2){background:#febc2e}.st-bar i:nth-child(3){background:#28c840}
.st-bar span{margin-left:4px}
.st-note-body{padding:11px 12px 14px}
.st-note-body b{display:block;font-size:11.5px;margin-bottom:9px;letter-spacing:-.01em}
.st-note-body i{display:block;height:5px;border-radius:4px;background:rgba(255,255,255,.11);margin-bottom:6px}

/* a keycap */
.st-key{border-radius:12px;background:linear-gradient(180deg,#20302a,#131b17);padding:10px 12px}
.st-key kbd{
  font-size:15px;border:none;background:none;box-shadow:none;padding:0;
  color:var(--tx);font-weight:600;letter-spacing:.02em;
}

/* small pill chips */
.st-chip{
  display:flex;align-items:center;gap:8px;padding:9px 14px;border-radius:100px;
  background:var(--panel);font-size:12.5px;color:var(--tx-2);white-space:nowrap;
}
.st-chip svg{width:14px;height:14px;color:var(--ac)}
.st-chip b{color:var(--tx);font-weight:600}
.st-weather b{font-size:16px;letter-spacing:-.02em}
.st-wx{font-size:15px}

/* agent name tag */
.st-badge{
  display:flex;align-items:center;gap:8px;padding:8px 14px;border-radius:100px;
  background:var(--panel);font-size:12.5px;font-weight:560;letter-spacing:-.01em;white-space:nowrap;
}
.st-dot{width:7px;height:7px;border-radius:50%;background:var(--c);box-shadow:0 0 10px var(--c);flex:none}

.win-top{display:flex;align-items:center;gap:14px;padding:10px 12px 0;background:rgba(255,255,255,.018)}
.lights{display:flex;gap:7px;padding:0 4px 8px}
.lights i{width:11px;height:11px;border-radius:50%;background:#3a4741}
.lights i:nth-child(1){background:#ff5f57}.lights i:nth-child(2){background:#febc2e}.lights i:nth-child(3){background:#28c840}

.tabstrip{display:flex;align-items:flex-end;gap:4px;flex:1;min-width:0}
.tab{
  display:flex;align-items:center;gap:7px;padding:7px 12px;border-radius:9px 9px 0 0;
  font-size:12px;color:var(--tx-3);max-width:190px;white-space:nowrap;overflow:hidden;
}
.tab.active{background:var(--panel);color:var(--tx);box-shadow:0 -1px 0 rgba(255,255,255,.06) inset}
.tab-add{color:var(--tx-3);padding:4px 9px 9px;font-size:15px}
/* Favicons are the real brand marks, masked rather than drawn as <img>: the
   Simple Icons set ships monochrome with no fill, so an <img> would render a
   black silhouette that vanishes against dark chrome. Masking lets each mark
   carry its own brand colour and stay legible here. */
.fav{width:13px;height:13px;border-radius:3.5px;flex:none;background:#2f3b35}
.fav[class*="fav-i-"]{
  border-radius:0;background-color:currentColor;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:contain;mask-size:contain;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
}
.fav-mind{background:linear-gradient(140deg,var(--ac-2),#0d5c34)}
.fav-i-github   {color:#f2f4f3;-webkit-mask-image:url(assets/brands/github.svg);    mask-image:url(assets/brands/github.svg)}
.fav-i-figma    {color:#f2571c;-webkit-mask-image:url(assets/brands/figma.svg);     mask-image:url(assets/brands/figma.svg)}
.fav-i-docs     {color:#5b9bf8;-webkit-mask-image:url(assets/brands/googledocs.svg);mask-image:url(assets/brands/googledocs.svg)}
.fav-i-nvidia   {color:#86cf12;-webkit-mask-image:url(assets/brands/nvidia.svg);    mask-image:url(assets/brands/nvidia.svg)}
.fav-i-wikipedia{color:#d5dbe0;-webkit-mask-image:url(assets/brands/wikipedia.svg); mask-image:url(assets/brands/wikipedia.svg)}

.win-bar{display:flex;align-items:center;gap:10px;padding:8px 12px;background:var(--panel);border-bottom:1px solid rgba(255,255,255,.05)}
.navbtns,.barbtns{display:flex;gap:2px}
.nb{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;color:var(--tx-2)}
.nb svg{width:14px;height:14px}
.nb.dim{opacity:.3}
.nb.accent{color:var(--ac);background:var(--ac-dim)}
.omnibox{
  flex:1;display:flex;align-items:center;gap:9px;min-width:0;
  padding:7px 12px;border-radius:100px;background:#0a0f0c;border:1px solid rgba(255,255,255,.06);
  font-size:12.5px;color:var(--tx-2);
}
.omnibox .lock{width:12px;height:12px;color:var(--ac);flex:none}
.omnibox .url{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.omnibox .url b{color:var(--tx-3);font-weight:400}
.shield{display:flex;align-items:center;gap:4px;margin-left:auto;color:var(--ac);font-size:11px;flex:none}
.shield svg{width:13px;height:13px}
.shield i{font-style:normal;font-variant-numeric:tabular-nums}

.win-body{position:relative;display:grid;grid-template-columns:186px 1fr 268px;height:clamp(400px,44vw,500px);background:var(--bg-1);isolation:isolate}

/* ── Wallpaper ─────────────────────────────────────────────────────────────
   A mesh of soft colour pools rather than the app's two-stop linear gradients:
   four blobs at different depths read as light in a room instead of a ramp.
   The whole field drifts very slowly, so the window never looks like a static
   screenshot, and a grain pass on top kills the banding that large low-contrast
   gradients always show on 8-bit displays. */
.win-wall{
  position:absolute;inset:0;z-index:0;overflow:hidden;
  background:linear-gradient(165deg,#0d2a1a 0%,#08140c 48%,#0a1822 100%);
}
.win-wall::before{
  content:"";position:absolute;inset:-14%;
  background:
    /* first layer paints on top — a vignette that keeps the colour out at the
       edges, where it's decoration, and off the middle where the text lives */
    radial-gradient(118% 104% at 50% 44%, transparent 56%, rgba(3,7,5,.58) 100%),
    radial-gradient(40% 46% at 18% 12%, rgba(43,212,115,.62), transparent 66%),
    radial-gradient(36% 40% at 86% 8%,  rgba(20,170,196,.52), transparent 64%),
    radial-gradient(48% 48% at 68% 94%, rgba(58,235,160,.38), transparent 68%),
    radial-gradient(34% 38% at 4% 86%,  rgba(108,84,236,.36), transparent 66%);
  /* No blur filter here on purpose. These are already soft radial gradients, so
     the blur added nothing visible — but it forced the compositor to re-blur the
     whole layer on every frame of an infinite animation, underneath a stack of
     backdrop-filters. Animating transform alone is a cheap GPU composite. */
  animation:wallDrift 34s ease-in-out infinite;
  will-change:transform;
}
@keyframes wallDrift{
  0%,100%{transform:translate3d(0,0,0) scale(1.02)}
  33%    {transform:translate3d(-2.2%,-1.4%,0) scale(1.08)}
  66%    {transform:translate3d(1.8%,1.6%,0) scale(1.05)}
}
/* fractal noise, inlined so the site keeps its no-external-assets rule */
.win-wall::after{
  content:"";position:absolute;inset:0;opacity:.05;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
@media (prefers-reduced-motion:reduce){ .win-wall::before{animation:none} }

/* Everything above the wallpaper is glass. */
.side,.ntp,.ai{position:relative;z-index:1}

/* sidebar */
.side{
  background:rgba(9,13,11,.55);backdrop-filter:blur(26px) saturate(1.35);-webkit-backdrop-filter:blur(26px) saturate(1.35);
  border-right:1px solid rgba(255,255,255,.06);padding:12px 8px;display:flex;flex-direction:column;gap:8px;font-size:12.5px;
}
.side-head{font-size:10.5px;text-transform:uppercase;letter-spacing:.09em;color:var(--tx-3);padding:4px 8px}
.side-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:8px;color:var(--tx-2);white-space:nowrap;overflow:hidden}
.side-item.on{background:var(--ac-dim);color:var(--tx);box-shadow:inset 0 0 0 1px rgba(43,212,115,.16)}
.side-item em{margin-left:auto;font-size:10.5px;color:var(--tx-3);background:rgba(255,255,255,.06);border-radius:20px;padding:1px 6px}
.side-rule{height:1px;background:rgba(255,255,255,.05);margin:2px 6px}
.side-foot{margin-top:auto;display:flex;align-items:center;gap:8px;padding:6px 8px;color:var(--tx-3)}
/* Line glyphs lifted from the app's own sidebar so the mockup matches the
   product, rather than the grey squares that stood in for them. */
.sic{display:grid;place-items:center;width:15px;height:15px;flex:none;color:var(--tx-3)}
.sic svg{width:15px;height:15px;display:block}
.side-item:hover .sic,.side-item.on .sic{color:var(--tx-2)}

/* new tab page */
.ntp{
  padding:34px 32px 0;display:flex;flex-direction:column;gap:22px;overflow:hidden;
  /* transparent: the wallpaper behind the whole shell is the background now */
  background:transparent;
  /* the page keeps going below the fold — fade it out instead of chopping it */
  -webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 34px),transparent);
  mask-image:linear-gradient(to bottom,#000 calc(100% - 34px),transparent);
}
.ntp-hi h2{
  margin:0;font-size:clamp(20px,2.5vw,29px);letter-spacing:-.035em;font-weight:600;line-height:1.15;
  text-shadow:0 2px 18px rgba(0,0,0,.55);
}
/* --tx-3 is tuned for a flat panel; it goes muddy over colour, so the copy that
   sits directly on the wallpaper moves up a tier. */
.ntp-hi p{margin:7px 0 0;font-size:13px;color:var(--tx-2);text-shadow:0 1px 10px rgba(0,0,0,.5)}
.ntp .w-head,.ntp-recent .w-head{color:rgba(255,255,255,.6)}
.ntp-recent .r-row{color:rgba(255,255,255,.82)}
.ntp-recent .r-row em{color:rgba(255,255,255,.5)}
.ntp-search{
  display:flex;align-items:center;gap:11px;padding:14px 18px;border-radius:100px;
  background:rgba(12,17,15,.55);border:1px solid rgba(255,255,255,.10);
  font-size:13px;color:var(--tx-3);
}
.ntp-search svg{width:14px;height:14px}
.ntp-search kbd{margin-left:auto;font-size:10.5px}
/* minmax(0,1fr) not 1fr: a grid item's automatic minimum size is its content,
   so one card with a wide row (the hourly strip) would otherwise steal width
   from the other three and the columns stopped being equal. */
/* Three cards, one idea each, lots of air. The previous version packed a
   sparkline, an hourly strip, a progress bar and stacked bullets into four
   120px columns — dense enough that nothing in it read as the primary thing. */
.ntp-widgets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ntp-widgets .w{
  display:flex;flex-direction:column;justify-content:center;gap:7px;
  min-height:112px;padding:20px 22px;border-radius:20px;
  background:rgba(12,17,15,.55);border:1px solid rgba(255,255,255,.09);
}
.w-sub{font-size:11.5px;color:var(--tx-3);letter-spacing:-.005em}
.w-head{font-size:10.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--tx-3);margin-bottom:8px}
.clock{font-size:31px;font-weight:600;letter-spacing:-.045em;font-variant-numeric:tabular-nums;line-height:1}
.w-top{display:flex;align-items:center;gap:9px}
/* ── Weather glyph ─────────────────────────────────────────────────────────
   A drawn sun rather than the ☀ character, so it can move and so it renders
   identically everywhere — the emoji picks up whatever the OS font supplies. */
.wx{display:grid;place-items:center;width:26px;height:26px;line-height:1;color:#ffc65a;
    filter:drop-shadow(0 0 7px rgba(255,183,60,.42))}
.wx svg{width:26px;height:26px;display:block;overflow:visible}
/* fill-box keeps the origin on the rays' own centre, which is 12,12 */
.wx-rays{transform-box:fill-box;transform-origin:center;animation:wxSpin 24s linear infinite}
.wx-core{transform-box:fill-box;transform-origin:center;animation:wxBreathe 4.2s ease-in-out infinite}
@keyframes wxSpin{to{transform:rotate(360deg)}}
@keyframes wxBreathe{
  0%,100%{transform:scale(1);opacity:.94}
  50%    {transform:scale(1.07);opacity:1}
}
@media (prefers-reduced-motion:reduce){
  .wx-rays,.wx-core{animation:none}
}
.deg{font-size:29px;font-weight:600;letter-spacing:-.04em;line-height:1}
.note-title{font-size:13.5px;color:var(--tx);font-weight:560;letter-spacing:-.02em;line-height:1.3}

.n-row{display:flex;gap:7px;font-size:11px;color:var(--tx-2);line-height:1.4;margin-bottom:8px}
.n-dot{width:4px;height:4px;border-radius:50%;background:var(--ac);margin-top:6px;flex:none}

.ntp-links{display:flex;gap:8px;flex-wrap:wrap}
.ntp-links span{
  display:flex;align-items:center;gap:7px;padding:8px 13px;border-radius:12px;font-size:12px;
  background:rgba(12,17,15,.55);border:1px solid rgba(255,255,255,.09);color:var(--tx-2);
}
.ntp-links .fav{width:14px;height:14px}
.ntp-add{color:var(--tx-3);padding:7px 12px!important}
.ntp-recent{margin-top:2px}
.r-row{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--tx-2);padding:8px 0}
.r-row em{margin-left:auto;color:var(--tx-3);font-size:10.5px}

/* AI panel */
.ai{
  background:rgba(9,13,11,.55);backdrop-filter:blur(26px) saturate(1.35);-webkit-backdrop-filter:blur(26px) saturate(1.35);
  border-left:1px solid rgba(255,255,255,.06);display:flex;flex-direction:column;padding:12px;
}
.ai-top{display:flex;align-items:center;gap:8px;font-size:13px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.05)}
.ai-mark{width:16px;height:16px;border-radius:5px;background:linear-gradient(140deg,var(--ac-2),#0d5c34);box-shadow:0 0 12px rgba(43,212,115,.5)}
.ai-modes{margin-left:auto;display:flex;gap:2px;background:rgba(255,255,255,.05);border-radius:100px;padding:2px}
.ai-modes i{font-style:normal;font-size:9.5px;padding:3px 8px;border-radius:100px;color:var(--tx-3)}
.ai-modes i.on{background:var(--ac);color:#04180d;font-weight:600}
.ai-log{flex:1;overflow:hidden;padding:12px 0;display:flex;flex-direction:column;gap:8px;font-size:11.5px;line-height:1.45}
.ai-step{display:flex;gap:7px;color:var(--tx-2);animation:stepIn .5s var(--ease) both}
.ai-step .bul{width:5px;height:5px;border-radius:50%;margin-top:5px;flex:none;background:var(--sc,var(--ac))}
.ai-step b{color:var(--tx);font-weight:560}
.ai-step .muted{color:var(--tx-3)}
.ai-done{
  border:1px solid rgba(43,212,115,.28);background:rgba(43,212,115,.08);border-radius:10px;
  padding:9px 10px;color:var(--tx);animation:stepIn .5s var(--ease) both;
}
.ai-done b{display:block;color:var(--ac);margin-bottom:4px;font-size:11.5px;font-weight:600}
.ai-done .done-note{display:block;color:var(--tx-2);font-size:11.5px;line-height:1.5}
.done-stat{display:block;margin-top:9px;font-size:10px;color:var(--tx-3)}
@keyframes stepIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
.ai-input{
  display:flex;align-items:center;gap:2px;padding:9px 10px;border-radius:12px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);font-size:11.5px;color:var(--tx);
  min-height:36px;
}
.ai-typed{white-space:nowrap;overflow:hidden}
.caret{display:inline-block;width:1.5px;height:12px;background:var(--ac);animation:blink 1s steps(1) infinite;flex:none}
@keyframes blink{0%,49%{opacity:1}50%,100%{opacity:0}}
.ai-send{margin-left:auto;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--ac);color:#04180d;flex:none}
.ai-send svg{width:12px;height:12px;stroke-width:2}

.trust{
  display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;
  margin:64px auto 0;font-size:13px;color:var(--tx-3);
}
.trust i{width:3px;height:3px;border-radius:50%;background:var(--tx-3);opacity:.5}

/* =============================== SECTION SHELL =============================== */
section{position:relative}
.sec-head{max-width:720px;margin:0 auto 64px;text-align:center}
.eyebrow{
  display:inline-block;margin-bottom:18px;padding:6px 14px;border-radius:100px;
  border:1px solid rgba(43,212,115,.3);background:rgba(43,212,115,.09);
  font-size:11.5px;font-weight:600;letter-spacing:.1em;
  text-transform:uppercase;color:var(--ac);
}
.sec-head h2{
  margin:0 0 20px;font-size:clamp(32px,5.4vw,62px);line-height:1.03;letter-spacing:-.04em;font-weight:640;
}
.sec-head p{margin:0;font-size:clamp(15.5px,1.5vw,18px);line-height:1.6;color:var(--tx-2);letter-spacing:-.01em}

.reveal{opacity:0;transform:translateY(30px) scale(.985);transition:opacity .7s var(--ease),transform .85s var(--spring-soft)}
.reveal.in{opacity:1;transform:none}

/* =============================== AGENTS =============================== */
.agents{padding:clamp(110px,14vw,190px) var(--pad) 0}
.agents-sticky{max-width:var(--max);margin:0 auto}
.agent-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.agent-card{
  position:relative;display:flex;flex-direction:column;padding:28px;border-radius:var(--r-lg);
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  border:1px solid var(--line);overflow:hidden;
  /* transform is spring-driven in main.js */
  transition:border-color .5s,background .5s;
}
.agent-card{transform-style:preserve-3d}
.agent-card::before{
  content:'';position:absolute;inset:0;opacity:0;transition:opacity .5s;
  background:radial-gradient(120% 90% at 12% 0%,color-mix(in srgb,var(--c,var(--ac)) 18%,transparent),transparent 62%);
}
/* pointer-following spotlight, tinted with the agent's own colour */
.agent-card::after{
  content:'';position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .4s;
  background:radial-gradient(300px circle at var(--mx,50%) var(--my,50%),
             color-mix(in srgb,var(--c,var(--ac)) 15%,transparent),transparent 62%);
}
.agent-card:hover{border-color:color-mix(in srgb,var(--c,var(--ac)) 42%,transparent)}
.agent-card:hover::before,.agent-card:hover::after{opacity:1}
.agent-card>*{position:relative;transform:translateZ(0.01px)}

.agent-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:20px}
.agent-n{
  margin-left:auto;font-family:var(--mono);font-size:11px;letter-spacing:.02em;
  color:var(--tx-3);transition:color .4s var(--ease);
}
.agent-card:hover .agent-n{color:color-mix(in srgb,var(--c,var(--ac)) 80%,white)}

.agent-ico{
  width:46px;height:46px;border-radius:14px;display:grid;place-items:center;flex:none;
  color:var(--c,var(--ac));background:color-mix(in srgb,var(--c,var(--ac)) 13%,transparent);
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c,var(--ac)) 26%,transparent);
  transition:transform .55s var(--spring),background .45s,box-shadow .45s;
}
.agent-card:hover .agent-ico{
  transform:translateY(-3px) scale(1.06) rotate(-3deg);
  background:color-mix(in srgb,var(--c,var(--ac)) 20%,transparent);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb,var(--c,var(--ac)) 45%,transparent),
    0 10px 26px -8px color-mix(in srgb,var(--c,var(--ac)) 55%,transparent);
}
.ico{width:25px;height:25px;stroke-width:1.6;overflow:visible}

/* ---- per-agent glyph animation, all triggered by the card hover ---- */

/* Planner — rows slide in, the first two tick themselves off */
.ico-plan .row{transform-origin:left center;transition:transform .5s var(--spring),opacity .4s}
.ico-plan .r2{transition-delay:.05s}
.ico-plan .r3{transition-delay:.1s}
.ico-plan .rule{transition:d .4s}
.ico-plan .tick{stroke-dasharray:9;stroke-dashoffset:9;stroke-width:1.9;transition:stroke-dashoffset .45s var(--ease)}
.agent-card:hover .ico-plan .r1 .tick{stroke-dashoffset:0;transition-delay:.12s}
.agent-card:hover .ico-plan .r2 .tick{stroke-dashoffset:0;transition-delay:.26s}
.agent-card:hover .ico-plan .r3{transform:translateX(2px)}

/* Navigator — the needle swings around and settles */
.ico-nav .needle{transform-origin:12px 12px;transition:transform .85s var(--spring)}
.agent-card:hover .ico-nav .needle{transform:rotate(200deg)}

/* Researcher — the lens sweeps across the page */
.ico-res .lens{transform-origin:15.5px 14.5px;transition:transform .6s var(--spring)}
.ico-res .sheet .rule{stroke-dasharray:8;stroke-dashoffset:0;transition:stroke .4s}
.agent-card:hover .ico-res .lens{transform:translate(-5px,-6px) scale(1.08)}
.agent-card:hover .ico-res .sheet .rule{stroke:color-mix(in srgb,var(--c) 60%,white)}

/* Writer — the pen lifts and the underline draws itself */
.ico-write .pen{transform-origin:20px 4px;transition:transform .55s var(--spring)}
.ico-write .squiggle{stroke-dasharray:30;stroke-dashoffset:0}
.agent-card:hover .ico-write .pen{transform:translate(1.5px,-2px) rotate(-8deg)}
.agent-card:hover .ico-write .squiggle{animation:drawWrite .65s var(--ease) .08s both}
@keyframes drawWrite{from{stroke-dashoffset:30}to{stroke-dashoffset:0}}

/* Analyst — at rest it's a finished chart; hovering replays the build.
   These use keyframes rather than transitions so the resting state stays whole. */
.ico-an .bars rect{transform-origin:center 21px}
.ico-an .trend{stroke-dasharray:26;stroke-dashoffset:0;stroke-width:1.9}
.agent-card:hover .ico-an .b1{animation:barGrow .55s var(--spring) both}
.agent-card:hover .ico-an .b2{animation:barGrow .55s var(--spring) .07s both}
.agent-card:hover .ico-an .b3{animation:barGrow .55s var(--spring) .14s both}
.agent-card:hover .ico-an .trend{animation:drawOn .55s var(--ease) .2s both}
@keyframes barGrow{from{transform:scaleY(.2)}to{transform:scaleY(1)}}
@keyframes drawOn{from{stroke-dashoffset:26}to{stroke-dashoffset:0}}

/* the closing card — the seal is already stamped, and re-stamps on hover */
.ico-seal .tick{stroke-dasharray:12;stroke-dashoffset:0;stroke-width:2}
.agent-card:hover .ico-seal .tick{animation:drawTick .5s var(--ease) both}
@keyframes drawTick{from{stroke-dashoffset:12}to{stroke-dashoffset:0}}

.agent-card h3{margin:0 0 10px;font-size:21px;letter-spacing:-.025em;font-weight:600}
.agent-card p{margin:0;font-size:14.8px;line-height:1.58;color:var(--tx-2)}

/* the line of telemetry that surfaces on hover */
.agent-live{
  display:flex;align-items:center;gap:8px;margin-top:16px;
  font-family:var(--mono);font-size:11.5px;letter-spacing:-.01em;
  color:color-mix(in srgb,var(--c,var(--ac)) 78%,white);
  opacity:0;transform:translateY(8px);
  transition:opacity .4s var(--ease),transform .5s var(--spring);
}
.agent-live i{
  width:6px;height:6px;border-radius:50%;background:var(--c,var(--ac));flex:none;
  box-shadow:0 0 0 0 color-mix(in srgb,var(--c,var(--ac)) 60%,transparent);
}
.agent-card:hover .agent-live{opacity:1;transform:none}
.agent-card:hover .agent-live i{animation:blip 1.5s ease-out infinite}
@keyframes blip{
  0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--c,var(--ac)) 55%,transparent)}
  70%,100%{box-shadow:0 0 0 7px transparent}
}
.agent-note{background:linear-gradient(180deg,rgba(43,212,115,.09),rgba(43,212,115,.02));border-color:rgba(43,212,115,.22)}
.agent-note p{margin-bottom:20px}

/* ---------- what it sounds like to use it ---------- */
.thread{max-width:640px;margin:80px auto 0;display:flex;flex-direction:column;gap:12px}
.bubble{
  position:relative;max-width:82%;padding:13px 17px;border-radius:20px;
  font-size:15px;line-height:1.45;letter-spacing:-.01em;
  opacity:0;transform:translateY(16px) scale(.94);
  transition:opacity .5s var(--ease),transform .6s var(--spring);
}
.bubble.in{opacity:1;transform:none}
.bubble.me{
  align-self:flex-end;background:linear-gradient(180deg,var(--ac-2),var(--ac));color:#04180d;
  font-weight:500;border-bottom-right-radius:7px;
  box-shadow:0 1px 0 rgba(255,255,255,.4) inset,0 8px 22px rgba(43,212,115,.22);
}
.bubble.them{
  align-self:flex-start;background:var(--panel);color:var(--tx);
  border:1px solid var(--line);border-bottom-left-radius:7px;
}
.bubble.ok{border-color:rgba(43,212,115,.32);background:linear-gradient(180deg,rgba(43,212,115,.12),rgba(43,212,115,.03))}
.bubble .who{
  display:block;font-size:11px;font-weight:640;letter-spacing:.06em;text-transform:uppercase;
  color:var(--c);margin-bottom:3px;
}

/* =============================== BENTO =============================== */
.features{padding:clamp(110px,14vw,190px) var(--pad) 0}
.bento{
  max-width:var(--max);margin:0 auto;display:grid;gap:16px;
  grid-template-columns:repeat(4,1fr);
  /* Deliberately NOT `dense`. Dense packing back-fills whatever gaps the tall
     hub tiles left, so tiles jumped rows and the reading order stopped matching
     the DOM. The cells are sized to fill four even rows of four columns, so
     plain row flow lays them out exactly as written. */
  grid-auto-flow:row;
}
.cell{
  position:relative;display:flex;flex-direction:column;overflow:hidden;
  min-height:300px;border-radius:var(--r-lg);border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015));
  transition:transform .5s var(--spring-soft),border-color .5s;
}
.cell::after{
  content:'';position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .4s;
  background:radial-gradient(340px circle at var(--mx,50%) var(--my,50%),rgba(43,212,115,.1),transparent 65%);
}
.cell:hover{transform:translateY(-6px);border-color:rgba(43,212,115,.26)}
.cell:hover::after{opacity:1}
/* The two hubs are the headline features, so they share the top row rather than
   stacking down the left side — side by side they equalise to the same height
   instead of leaving a ragged column of small tiles beside them. */
.cell-news,.cell-fin{grid-column:span 2;height:560px}
/* Both hubs hold more than fits at this width — Finance alone ran to 875px and
   made the top row twice the height of every other. They get a fixed height and
   the art fades out at the bottom instead of being chopped, which reads as a
   window onto a longer page rather than a cut-off tile. */
.cell-news .cell-art,.cell-fin .cell-art{
  -webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 88px),transparent);
  mask-image:linear-gradient(to bottom,#000 calc(100% - 88px),transparent);
}
/* A "WATCHLIST" label with nothing beneath it looks like a rendering fault
   rather than a cropped screenshot, so a heading whose rows fall past the cut
   goes with them. */
.art-fin .fin-sub{opacity:.9}
.cell-wide{grid-column:span 2}
.cell-body{padding:28px 28px 0;position:relative;z-index:1}
.cell-body h3{margin:0 0 9px;font-size:20px;letter-spacing:-.025em;font-weight:600}
.cell-body p{margin:0;font-size:14.6px;line-height:1.56;color:var(--tx-2)}
.cell-art{position:relative;flex:1;margin:20px 0 0;min-height:110px}

/* ---------- News Hub ---------- */
.art-news{padding:0 28px 28px;display:flex;flex-direction:column;gap:12px}
.news-hero{
  position:relative;flex:1;min-height:190px;margin:0;border-radius:14px;overflow:hidden;
  border:1px solid var(--line);background:#060a12;
}
.news-hero img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  /* the tile is wider than the file's 2:1, so cover crops top and bottom —
     bias upward to keep the researcher's head and the wafer in frame */
  object-position:center 32%;
  transform:scale(1.04);transition:transform 1.1s var(--ease);
}
.cell:hover .news-hero img{transform:scale(1.1)}
/* Keep the caption readable and settle the photo into the palette. The green
   tint here used to be 22%, tuned to pull the old blue Earth photo toward the
   accent; over a warm cleanroom shot that same overlay just reads muddy, so it
   is lighter and the darkening does more of the work. */
.news-hero::after{
  content:'';position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(5,8,7,0) 30%,rgba(5,8,7,.94) 100%),
    linear-gradient(120deg,rgba(43,212,115,.10),transparent 58%);
}
.news-hero figcaption{position:absolute;inset:auto 0 0;z-index:1;padding:16px 18px}
.news-kicker{
  display:inline-flex;align-items:center;gap:7px;margin-bottom:7px;
  font-size:10.5px;font-weight:640;letter-spacing:.09em;text-transform:uppercase;color:var(--ac);
}
.news-kicker i{width:5px;height:5px;border-radius:50%;background:var(--ac);animation:blip 2s ease-out infinite}
.news-hero b{display:block;font-size:16.5px;line-height:1.3;letter-spacing:-.02em;font-weight:600}
.news-rows{display:grid;gap:8px}
.news-row{
  display:flex;align-items:center;gap:10px;padding:11px 13px;border-radius:11px;
  background:rgba(255,255,255,.03);border:1px solid var(--line);
  font-size:13px;color:var(--tx-2);letter-spacing:-.01em;
  transition:background .3s,border-color .3s;
}
.news-row:hover{background:rgba(255,255,255,.06);border-color:var(--line-2)}
.news-tag{
  flex:none;padding:2px 8px;border-radius:100px;font-size:10px;font-weight:620;
  letter-spacing:.07em;text-transform:uppercase;color:var(--ac);background:rgba(43,212,115,.13);
}
.news-row em{margin-left:auto;font-size:11px;color:var(--tx-3);font-variant-numeric:tabular-nums}

/* ---------- Finance Hub ----------
   Denser than the rest of the page on purpose: this panel is meant to read like
   a terminal, so it runs on the mono stack and tabular numerals throughout. */
.art-fin{padding:0 28px 26px;display:flex;flex-direction:column;gap:13px}
/* The hub tiles have a fixed height, so flex was shrinking these rows to fit:
   the ticker tape lost half its height and the stats grid was crushed from 94px
   to 2px, which read as content being chopped. Keep every row at its natural
   size and let the surplus run past the bottom, where the art's fade mask
   already handles it. */
.art-fin > *,.art-news > *{flex:none}
.art-fin b,.art-fin i,.art-fin em{font-variant-numeric:tabular-nums}
.fin-sub{
  font-size:10px;font-weight:640;letter-spacing:.11em;text-transform:uppercase;
  color:var(--tx-3);margin-bottom:-4px;
}

/* the tape */
.fin-tape{
  overflow:hidden;border-block:1px solid var(--line);padding:7px 0;
  /* a narrow fade just chops a word in half at the edge; a wide one reads as
     the tape running off under the card */
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);
}
.fin-tape-track{display:flex;gap:22px;width:max-content;animation:marquee 42s linear infinite}
.cell:hover .fin-tape-track{animation-play-state:paused}
.fin-tape span{
  display:inline-flex;align-items:baseline;gap:7px;white-space:nowrap;
  font-family:var(--mono);font-size:10.5px;letter-spacing:-.01em;color:var(--tx-3);
}
.fin-tape i{font-style:normal;color:var(--tx-2)}
.fin-tape b{font-weight:600}

.fin-quote{display:flex;align-items:center;gap:12px}
.fin-sym{display:flex;align-items:center;gap:10px}
.fin-sym img{width:18px;height:18px;filter:invert(1);opacity:.9}
.fin-sym b{display:block;font-size:14.5px;letter-spacing:-.01em}
.fin-sym em{display:block;font-size:11.5px;color:var(--tx-3);margin-top:1px}
.fin-px{margin-left:auto;text-align:right}
.fin-px b{display:block;font-size:19px;font-weight:640;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.up{color:var(--ac);font-size:12px;font-variant-numeric:tabular-nums}
.down{color:#f87171;font-size:12px;font-variant-numeric:tabular-nums}

/* height lives on the svg, not the box — otherwise the range tabs below it
   overflow the fixed height and collide with the watchlist */
.fin-chart{position:relative}
.fin-chart svg{width:100%;height:96px;display:block}
/* the global `svg{stroke:currentColor}` would outline the filled paths */
.fin-chart .area{stroke:none}
.fin-chart .band{fill:rgba(43,212,115,.08);stroke:none}          /* Bollinger envelope */
.fin-chart .ma{stroke:rgba(255,255,255,.22);stroke-width:1.4;stroke-dasharray:3 3}
.fin-chart .spark{stroke:var(--ac);stroke-width:2;stroke-dasharray:1000;stroke-dashoffset:1000}
.cell.in .fin-chart .spark{animation:draw 1.8s var(--ease) .2s forwards}
@keyframes draw{to{stroke-dashoffset:0}}
.fin-chart .area{opacity:0;transition:opacity 1s ease .9s}
.cell.in .fin-chart .area{opacity:1}
.fin-ranges{display:flex;gap:4px;margin-top:10px}
.fin-ranges span{
  padding:3px 9px;border-radius:7px;font-size:10.5px;font-weight:560;color:var(--tx-3);
  border:1px solid transparent;
}
.fin-ranges .on{color:var(--ac);background:rgba(43,212,115,.12);border-color:rgba(43,212,115,.24)}

/* chart legend */
.fin-legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:-4px}
.lg{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;color:var(--tx-3);font-family:var(--mono)}
.lg::before{content:'';width:14px;height:2px;border-radius:2px;background:currentColor}
.lg-px{color:var(--ac)}
.lg-ma::before{background:repeating-linear-gradient(90deg,rgba(255,255,255,.45) 0 3px,transparent 3px 6px)}
.lg-bb::before{height:9px;border-radius:3px;background:rgba(43,212,115,.16);box-shadow:inset 0 0 0 1px rgba(43,212,115,.3)}
.fin-session{
  margin-left:auto;display:inline-flex;align-items:center;gap:6px;
  font-size:10.5px;color:var(--tx-3);font-family:var(--mono);
}
.fin-session::before{
  content:'';width:6px;height:6px;border-radius:50%;background:var(--ac);
  animation:blip 2.4s ease-out infinite;
}

/* key stats */
.fin-stats{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1px;
  background:var(--line);border:1px solid var(--line);border-radius:12px;overflow:hidden;
}
.fin-stats>div{
  background:#0c110e;padding:9px 12px;display:flex;flex-direction:column;gap:3px;
  transition:background .3s;
}
.fin-stats>div:hover{background:#121a15}
.fin-stats span{font-size:9.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--tx-3)}
.fin-stats b{font-size:12.5px;font-weight:600;letter-spacing:-.01em;font-family:var(--mono)}

/* sector heat strip */
.fin-sectors{display:flex;flex-direction:column;gap:8px}
.heat{display:grid;grid-template-columns:repeat(8,1fr);gap:5px}
.heat span{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  padding:9px 4px;border-radius:9px;font-family:var(--mono);font-size:11px;font-weight:600;
  /* --v runs -1…1; positive greens up, negative reds down */
  background:color-mix(in srgb,
    var(--ac) calc(max(var(--v),0) * 42%),
    color-mix(in srgb,#f87171 calc(max(0 - var(--v),0) * 42%), rgba(255,255,255,.035)));
  color:color-mix(in srgb,var(--tx) 82%,transparent);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);
  transition:transform .4s var(--spring-soft);
}
.heat span:hover{transform:translateY(-3px)}
.heat i{font-style:normal;font-size:9px;font-weight:500;letter-spacing:.04em;color:var(--tx-3);text-transform:uppercase}

/* wire */
.fin-wire{display:flex;flex-direction:column;gap:8px}
.wire-row{
  display:flex;align-items:center;gap:10px;font-size:12px;color:var(--tx-2);
  letter-spacing:-.005em;line-height:1.35;
}
.wire-row em{font-style:normal;font-family:var(--mono);font-size:10.5px;color:var(--tx-3);flex:none}
.wire-row span{margin-left:auto;font-family:var(--mono);font-size:10.5px;flex:none}

.fin-list{display:grid;grid-template-columns:repeat(2,1fr);gap:7px 14px}
.fin-row{
  display:flex;align-items:center;gap:9px;padding:8px 11px;border-radius:10px;
  background:rgba(255,255,255,.03);border:1px solid var(--line);font-size:12.5px;
  transition:background .3s,transform .3s var(--spring-soft);
}
.fin-row:hover{background:rgba(255,255,255,.07);transform:translateX(2px)}
.fin-row img{width:15px;height:15px;filter:invert(1);opacity:.82;flex:none}
.fin-row b{font-weight:600;letter-spacing:-.01em}
.fin-row i{margin-left:auto;font-style:normal;color:var(--tx-2);font-variant-numeric:tabular-nums}
.fin-row span{min-width:52px;text-align:right}

/* ntp art */
.art-ntp{padding:0 28px 28px;display:flex;flex-direction:column;justify-content:center;gap:14px}
.mini-clock{
  font-size:44px;font-weight:620;letter-spacing:-.05em;font-variant-numeric:tabular-nums;
  background:linear-gradient(180deg,#fff,rgba(255,255,255,.35));-webkit-background-clip:text;background-clip:text;color:transparent;
}
.mini-chips{display:flex;gap:8px}
.mini-chips i{width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.06);border:1px solid var(--line)}
.mini-chips i:first-child{background:linear-gradient(140deg,var(--ac-2),#0d5c34)}

/* shield art */
.art-shield{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding-bottom:28px}
.shield-badge svg{width:64px;height:64px;color:var(--ac);filter:drop-shadow(0 0 20px rgba(43,212,115,.45))}
.shield-badge .tick{stroke-width:3.4;stroke-dasharray:40;stroke-dashoffset:40}
.cell.in .shield-badge .tick{animation:draw 1s var(--ease) .5s forwards}
.shield-count{text-align:center}
.shield-count b{display:block;font-size:30px;font-weight:640;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.shield-count span{font-size:12.5px;color:var(--tx-3)}

/* notes art */
.art-notes{display:flex;gap:12px;padding:0 28px 28px;align-items:center}
.note-card{
  flex:1;padding:14px;border-radius:13px;background:rgba(255,255,255,.04);border:1px solid var(--line);
  transition:transform .45s var(--spring);
}
.cell:hover .note-card:nth-child(1){transform:translateY(-6px) rotate(-1.4deg)}
.cell:hover .note-card:nth-child(2){transform:translateY(-10px)}
.cell:hover .note-card:nth-child(3){transform:translateY(-6px) rotate(1.4deg)}
.note-card b{display:block;font-size:12.5px;margin-bottom:10px;letter-spacing:-.01em}
.note-card i{display:block;height:5px;border-radius:4px;background:rgba(255,255,255,.11);margin-bottom:6px}

/* split art */
.art-split{display:flex;gap:8px;padding:0 28px 28px}
.art-split div{
  flex:1;border-radius:12px;border:1px solid var(--line);min-height:110px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.01));
  transition:flex .5s var(--ease),border-color .5s;
}
.cell:hover .art-split div:first-child{flex:1.5;border-color:rgba(43,212,115,.3)}

/* palette art */
.art-palette{padding:0 20px 22px;display:flex;flex-direction:column;gap:5px;justify-content:center}
.pal-input{
  display:flex;align-items:center;padding:10px 12px;border-radius:11px;
  background:#0a0f0c;border:1px solid var(--line-2);font-size:13px;margin-bottom:5px;
}
.pal-input .caret{margin-left:2px}
.pal-row{padding:8px 12px;border-radius:9px;font-size:12.5px;color:var(--tx-3)}
.pal-row.on{background:var(--ac-dim);color:var(--tx);box-shadow:inset 0 0 0 1px rgba(43,212,115,.2)}

/* ext art */
/* Real extension marks, not five coloured squares — the copy names uBlock and
   password managers, so the tile may as well show them. Masked like the other
   brand icons: Simple Icons ship monochrome with no fill, which would render as
   black silhouettes here. */
.art-ext{display:flex;gap:14px;align-items:center;justify-content:center;padding:0 28px 28px;flex-wrap:wrap}
.ext{
  width:58px;height:58px;border-radius:16px;flex:none;
  border:1px solid var(--line);background:rgba(255,255,255,.05);
  display:grid;place-items:center;transition:transform .4s var(--ease),border-color .4s;
  position:relative;
}
.ext::after{
  content:"";width:30px;height:30px;background-color:currentColor;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:contain;mask-size:contain;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
}
.ext-ublock   {color:#c8402e}
.ext-1password{color:#4a82f0}
.ext-bitwarden{color:#4d8bf0}
.ext-grammarly{color:#3ecf8e}
.ext-notion   {color:#e8e8e8}
.ext-ublock::after   {-webkit-mask-image:url(assets/brands/ublockorigin.svg);mask-image:url(assets/brands/ublockorigin.svg)}
.ext-1password::after{-webkit-mask-image:url(assets/brands/1password.svg);  mask-image:url(assets/brands/1password.svg)}
.ext-bitwarden::after{-webkit-mask-image:url(assets/brands/bitwarden.svg);  mask-image:url(assets/brands/bitwarden.svg)}
.ext-grammarly::after{-webkit-mask-image:url(assets/brands/grammarly.svg);  mask-image:url(assets/brands/grammarly.svg)}
.ext-notion::after   {-webkit-mask-image:url(assets/brands/notion.svg);     mask-image:url(assets/brands/notion.svg)}
.cell:hover .ext{border-color:rgba(43,212,115,.26)}
.cell:hover .ext:nth-child(odd){transform:translateY(-7px)}
.cell:hover .ext:nth-child(even){transform:translateY(7px)}

/* =============================== MODELS =============================== */
.models{padding:clamp(110px,14vw,190px) var(--pad) 0}
.models-inner{max-width:var(--max);margin:0 auto}
.prov{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:16px}
.prov-card{
  position:relative;overflow:hidden;
  padding:18px 15px;border-radius:var(--r-md);border:1px solid var(--line);
  background:rgba(255,255,255,.028);display:flex;flex-direction:column;gap:14px;
  transition:transform .45s var(--spring-soft),border-color .45s,background .45s;
}
/* each provider lights its own card in its own colour */
.prov-card::before{
  content:'';position:absolute;inset:0;opacity:0;transition:opacity .45s;
  background:radial-gradient(130% 100% at 20% 0%,color-mix(in srgb,var(--c) 16%,transparent),transparent 65%);
}
.prov-card:hover{
  transform:translateY(-6px);
  border-color:color-mix(in srgb,var(--c) 42%,transparent);
  background:rgba(255,255,255,.05);
}
.prov-card:hover::before{opacity:1}
.prov-card>*{position:relative}

.prov-mark{
  position:relative;
  width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:none;
  background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px var(--line);
  transition:transform .5s var(--spring),background .45s,box-shadow .45s;
}
.prov-mark img{
  width:26px;height:26px;
  /* the marks ship as flat black; invert to white, then tint on hover */
  filter:invert(1) opacity(.82);
  transition:filter .45s;
}
.prov-card:hover .prov-mark{
  transform:translateY(-2px) scale(1.06) rotate(-4deg);
  background:color-mix(in srgb,var(--c) 15%,transparent);
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 38%,transparent),
             0 10px 26px -10px color-mix(in srgb,var(--c) 60%,transparent);
}
.prov-card:hover .prov-mark img{filter:none;opacity:0}
.prov-mark::after{
  /* the tinted copy: same glyph, masked so it takes the brand colour cleanly */
  content:'';position:absolute;width:26px;height:26px;opacity:0;
  background:var(--c);transition:opacity .45s;
  -webkit-mask:var(--mark) center/contain no-repeat;mask:var(--mark) center/contain no-repeat;
}
.prov-card:hover .prov-mark::after{opacity:1}

.prov-txt{display:flex;flex-direction:column;gap:4px}
.prov-card b{font-size:15px;letter-spacing:-.02em;font-weight:580}
.prov-card span{font-size:12px;color:var(--tx-3);line-height:1.4}
.prov-card.local{
  background:linear-gradient(150deg,rgba(43,212,115,.13),rgba(43,212,115,.02) 60%);
  border-color:rgba(43,212,115,.28);
}
.prov-card.local b{color:var(--ac)}
.prov-tag{
  align-self:flex-start;margin-top:auto;padding:3px 9px;border-radius:100px;font-size:10.5px;
  color:var(--ac)!important;background:rgba(43,212,115,.14);letter-spacing:.02em;
  box-shadow:inset 0 0 0 1px rgba(43,212,115,.24);
}

.assign{
  padding:20px 22px;border-radius:var(--r-md);
  border:1px solid var(--line);background:rgba(255,255,255,.02);
}
.assign-head{
  font-size:10.5px;font-weight:640;letter-spacing:.11em;text-transform:uppercase;
  color:var(--tx-3);margin-bottom:14px;
}
.assign-rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 32px}
.assign-row{
  display:flex;align-items:center;gap:9px;font-size:14px;font-weight:540;letter-spacing:-.01em;
  padding-bottom:11px;border-bottom:1px solid var(--line);
}
.assign-row em{
  display:inline-flex;align-items:center;gap:7px;margin-left:auto;
  font-size:12px;color:var(--tx-3);font-weight:400;text-align:right;
}
.assign-row em img{width:13px;height:13px;filter:invert(1) opacity(.55)}
.dot{width:8px;height:8px;border-radius:50%;background:var(--c);box-shadow:0 0 12px var(--c);flex:none}

/* =============================== PRIVACY =============================== */
.privacy{padding:clamp(110px,14vw,190px) var(--pad) 0}
.priv-grid{max-width:var(--max);margin:0 auto;display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.priv{
  padding:32px;border-radius:var(--r-lg);border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.012));
  transition:border-color .45s,transform .45s var(--spring-soft);
}
.priv:hover{border-color:rgba(43,212,115,.24);transform:translateY(-5px)}
.priv h3{margin:0 0 10px;font-size:19px;letter-spacing:-.025em;font-weight:600}
.priv p{margin:0;font-size:14.8px;line-height:1.6;color:var(--tx-2)}
.priv p + p{margin-top:12px}

/* Onion Mode is the headline of this release, so it gets the full width. */
.priv-lead{grid-column:span 2}
.priv-lead h3{font-size:23px}
.priv-lead b{color:var(--tx);font-weight:600}
.priv-tag{
  display:inline-block;margin-bottom:10px;padding:3px 10px;border-radius:100px;
  background:var(--ac-dim);color:var(--ac);font-size:11.5px;font-weight:600;
  letter-spacing:.02em;border:1px solid rgba(43,212,115,.22);
}
/* The caveat is set apart rather than buried: the app states it plainly on the
   Onion start page, and the site should not be softer about it than the product. */
.priv-note{
  padding:12px 14px;border-radius:12px;
  background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07);
  font-size:13.8px!important;
}

/* =============================== SHORTCUTS =============================== */
.keys{padding:clamp(110px,14vw,190px) 0 0}
.keys .sec-head{padding:0 var(--pad)}
.key-marquee{
  position:relative;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
}
.key-track{display:flex;gap:14px;width:max-content;animation:marquee 34s linear infinite}
.key-marquee:hover .key-track{animation-play-state:paused}
.key-track span{
  display:inline-flex;align-items:center;gap:10px;padding:13px 20px;border-radius:100px;
  border:1px solid var(--line);background:rgba(255,255,255,.03);font-size:14.5px;color:var(--tx-2);
  white-space:nowrap;
}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 7px))}}

/* =============================== DOWNLOAD =============================== */
.download{padding:clamp(120px,15vw,200px) var(--pad) clamp(90px,11vw,140px);text-align:center;overflow:clip}
.dl-glow{
  position:absolute;left:50%;top:20%;width:min(900px,92vw);height:560px;transform:translateX(-50%);
  background:radial-gradient(ellipse at center,rgba(43,212,115,.2),transparent 66%);filter:blur(70px);z-index:0;
}
.dl-inner{position:relative;z-index:1;max-width:660px;margin:0 auto}
.dl-icon{
  width:104px;height:104px;border-radius:24px;margin:0 auto 30px;
  box-shadow:0 0 0 1px var(--line-2),0 26px 60px -18px rgba(0,0,0,.9);
  animation:float 7s ease-in-out infinite;
}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.download h2{margin:0 0 14px;font-size:clamp(38px,6.2vw,72px);letter-spacing:-.045em;line-height:1;font-weight:640}
.dl-sub{margin:0 0 32px;font-size:clamp(16px,1.6vw,18.5px);color:var(--tx-2);letter-spacing:-.01em}
.dl-platforms{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
/* not a link — there is nothing to download for Windows yet, and a button that
   lies about that is worse than one that admits it */
.btn.soon{cursor:default;opacity:.72;color:var(--tx-2)}
.btn.soon:hover{background:rgba(255,255,255,.035);border-color:var(--line-2);transform:none}
.btn.soon svg{width:15px;height:15px;opacity:.8}
.dl-meta{margin:18px 0 0;font-size:13px;color:var(--tx-3);line-height:1.6}
/* Secondary download routes — the Intel build and the disk image. Quieter than
   the two primary buttons on purpose: most people want neither, and the ones
   who do are looking for them. */
.dl-alt{margin:14px 0 0;font-size:12.8px;color:var(--tx-3);line-height:1.7}
.dl-alt a{color:var(--tx-2);text-decoration:none;border-bottom:1px solid rgba(255,255,255,.18)}
.dl-alt a:hover{color:var(--tx);border-bottom-color:rgba(255,255,255,.4)}
.dl-soon-note{display:inline-block;max-width:520px;margin-top:6px;font-size:12.5px;color:var(--tx-3);opacity:.85}

/* active nav item on the sub-pages */
.nav-links a.on{color:var(--tx);background:rgba(255,255,255,.07)}
.dl-steps{margin:56px auto 0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;text-align:left}
.dl-steps div{
  display:flex;gap:12px;padding:18px;border-radius:var(--r-md);border:1px solid var(--line);
  background:rgba(255,255,255,.025);font-size:13.8px;line-height:1.5;color:var(--tx-2);
}
.dl-steps b{
  flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;
  font-size:11.5px;color:var(--ac);background:rgba(43,212,115,.14);
}
/* inline per-platform labels — not the numbered badge */
.dl-steps b.os{
  display:inline-block;width:auto;height:auto;border-radius:5px;padding:1px 7px;
  margin-right:5px;font-size:10.5px;font-weight:640;letter-spacing:.04em;
  text-transform:uppercase;background:rgba(255,255,255,.07);color:var(--tx-2);
}
.dl-steps b.os + br{content:''}

/* =============================== FOOTER =============================== */
.foot{
  display:flex;align-items:center;gap:24px;flex-wrap:wrap;
  max-width:var(--max);margin:0 auto;padding:32px var(--pad) 56px;
  border-top:1px solid var(--line);
}
.foot-brand{display:flex;align-items:center;gap:12px}
.foot-brand img{width:34px;height:34px;border-radius:9px;box-shadow:0 0 0 1px var(--line)}
.foot-brand b{display:block;font-size:14.5px;letter-spacing:-.015em}
.foot-brand span{font-size:12.5px;color:var(--tx-3)}
.foot-links{margin-left:auto;display:flex;gap:22px;font-size:13.5px;color:var(--tx-3);flex-wrap:wrap}
.foot-links a:hover{color:var(--tx)}

/* =============================== RESPONSIVE =============================== */
/* the note card and keycap are the widest stickers — once the stage stops
   clearing the viewport edge they get sliced, so retire them early */

/* ── First-launch warning ─────────────────────────────────────────────────── */
/* Deliberately loud. Users were clicking "Move to Bin" on the Gatekeeper dialog,
   which deletes the app — so the choice has to be made before they download. */
.dl-warn{
  max-width:820px;margin:24px auto 0;padding:18px 22px;border-radius:16px;text-align:left;
  background:rgba(255,186,64,.07);border:1px solid rgba(255,186,64,.32);
}
.dl-warn > b{display:block;font-size:15.5px;line-height:1.45;margin-bottom:8px;color:var(--tx);letter-spacing:-.015em}
.dl-warn .yes{color:#5ce08a}
.dl-warn .no{color:#ff8a8a}
.dl-warn p{margin:0;font-size:13.5px;line-height:1.6;color:var(--tx-2)}
.dl-warn p b{color:var(--tx);font-weight:600}
.dl-warn-alt{margin-top:9px!important;padding-top:9px;border-top:1px solid rgba(255,186,64,.18);font-size:13px!important}

/* ── Terminal install (no Gatekeeper warning) ─────────────────────────────── */
.dl-alt{
  max-width:820px;margin:26px auto 0;padding:20px 22px;border-radius:16px;
  background:rgba(255,255,255,.03);border:1px solid var(--line);text-align:left;
}
.dl-alt b{display:block;font-size:15px;margin-bottom:6px;letter-spacing:-.015em}
.dl-alt p{margin:0 0 12px;font-size:13.5px;line-height:1.6;color:var(--tx-2)}
.dl-cmd{
  display:block;padding:12px 14px;border-radius:10px;
  background:#05080699;border:1px solid var(--line-2);
  font-family:var(--mono);font-size:11.5px;line-height:1.6;color:var(--tx-2);
  white-space:pre-wrap;overflow-wrap:anywhere;user-select:all;
}
.dl-copy{
  margin-top:10px;padding:7px 14px;border-radius:9px;cursor:pointer;
  background:var(--ac-dim);border:1px solid rgba(43,212,115,.28);color:var(--ac);
  font-family:inherit;font-size:12.5px;font-weight:600;
  transition:background .15s ease,color .15s ease;
}
.dl-copy:hover{background:rgba(43,212,115,.2)}
.dl-copy.ok{color:var(--tx)}

/* ── New feature cells (2.5) ──────────────────────────────────────────────── */
.art-pdf{display:grid;place-items:center;padding:10px}
.pdf-page{
  width:100%;max-width:122px;aspect-ratio:1/1.18;position:relative;padding:11px;
  border-radius:8px;background:#f4f5f3;box-shadow:0 6px 20px rgba(0,0,0,.4);
}
.pdf-line{display:block;height:7px;border-radius:3px;background:#d3d7d2;margin-bottom:9px}
.pdf-line.short{width:62%}
.pdf-hl{background:rgba(255,214,64,.85)}
.pdf-note{
  position:absolute;right:12px;bottom:12px;padding:4px 9px;border-radius:6px;
  background:#ffd640;color:#3a2f00;font-size:10.5px;font-weight:600;
  box-shadow:0 3px 10px rgba(0,0,0,.28);transform:rotate(-4deg);
}

.art-shot{display:grid;place-items:center;padding:14px}
.shot-frame{
  position:relative;width:100%;max-width:210px;aspect-ratio:16/10;border-radius:10px;
  background:linear-gradient(140deg,rgba(43,212,115,.16),rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.09);
}
.shot-sel{
  position:absolute;left:22%;top:24%;width:52%;height:48%;border-radius:6px;
  border:1.5px dashed var(--ac);background:rgba(43,212,115,.14);
}
.shot-sel::after{
  content:"";position:absolute;right:-4px;bottom:-4px;width:7px;height:7px;
  border-radius:2px;background:var(--ac);
}

.art-task{display:flex;flex-direction:column;gap:10px;padding:16px;justify-content:center}
.task-row{display:grid;grid-template-columns:1fr auto;gap:4px 10px;font-size:11.5px;color:var(--tx-2)}
.task-row em{font-style:normal;color:var(--tx);font-variant-numeric:tabular-nums}
.task-row i{
  grid-column:1/-1;height:4px;border-radius:3px;
  background:linear-gradient(90deg,var(--ac-2),var(--ac));width:var(--w);
}

.art-import{display:flex;align-items:center;justify-content:center;gap:14px;padding:16px}
.imp-from,.imp-to{
  display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border-radius:12px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
  font-size:13px;color:var(--tx-2);
}
.imp-to{color:var(--tx);border-color:rgba(43,212,115,.28);background:var(--ac-dim)}
.imp-arrow{width:40px;height:16px;fill:none;stroke:var(--ac);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

@media (max-width:1260px){
  .st-note{--x:-2%;--y:2%}
  .st-key{--x:-3%;--y:58%}
}
@media (max-width:1140px){
  .st-note,.st-key{display:none}
}
@media (max-width:1080px){
  .agent-grid{grid-template-columns:repeat(2,1fr)}
  .prov{grid-template-columns:repeat(3,1fr)}
  .win-body{grid-template-columns:158px 1fr 232px}
  .ntp-widgets .w{min-height:0;padding:16px 18px}
}
@media (max-width:860px){
  .nav-links{display:none}
  /* .nav-links carried the margin-left:auto that pushed everything after it to
     the right edge. Hiding the links took that with it and stranded the download
     button mid bar, so the button takes over the job. */
  .nav > .btn{margin-left:auto}
  .nav{width:calc(100% - 20px)}
  .hero{padding-top:120px}
  .bento{grid-template-columns:repeat(2,1fr)}
  .cell-news,.cell-fin,.cell-wide{grid-column:span 2}
  .cell-news,.cell-fin{grid-row:auto;min-height:0}
  .priv-grid{grid-template-columns:1fr}
  /* span 2 would conjure an implicit second column once this is single-column */
  .priv-lead{grid-column:auto}
  /* This used to target .assign, which has no grid on it, so the three columns
     survived all the way down and ran off the right edge of a phone. */
  .assign-rows{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}
  .dl-steps{grid-template-columns:1fr}
  .side{display:none}
  /* the outer stickers would sit off the edge — keep the two that fit */
  .st-note,.st-key,.st-badge-2{display:none}
  .st-shield{--x:88%;--y:-5%}
  .st-weather{--x:12%;--y:-5%}
  .st-badge{--x:50%;--y:-6%}
  .win-body{grid-template-columns:1fr 220px;height:clamp(340px,58vw,440px)}
  .ntp-widgets{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .ntp{padding:24px 22px 0;gap:16px}
  .ntp-recent{display:none}
  .window{transform:rotateX(var(--rx,8deg)) scale(var(--sc,.98))}
}
@media (max-width:600px){
  /* ── Phone typography ──────────────────────────────────────────────────────
     The hero floor was 44px: at 390px wide, 8.2vw resolves to 32px, so the
     clamp floor won and the headline ate the whole first screen in three tight
     lines. Everything below scales with it. */
  .hero{padding-top:104px}
  .hero-title{font-size:clamp(34px,9.4vw,44px);letter-spacing:-.035em;line-height:1.02;margin-bottom:20px}
  /* No ch cap here on purpose: 35ch measures 352px in this face, wider than the
     350px a 390px phone actually offers, so it did nothing except add lines on
     the few phones where it did bite. Shorter copy does the work instead. */
  .hero-sub{font-size:16px;line-height:1.5;margin-bottom:28px}
  .sec-head{margin-bottom:40px}
  .sec-head h2{font-size:clamp(27px,7.6vw,36px);line-height:1.08;margin-bottom:14px}
  .sec-head p{font-size:15px}
  .eyebrow{margin-bottom:14px}
  /* A 30px lift reads as a jump on a short viewport where the element is
     already most of the screen. */
  .reveal{transform:translateY(16px) scale(.995)}
  .trust{gap:8px 14px;margin-top:40px;font-size:12px}
  /* Centred copy wraps into ragged lines and strands single words ("telemetry"
     sat alone under a full line). balance evens the line lengths out, which is
     what this property exists for. */
  .hero-sub,.hero-fine,.sec-head h2,.sec-head p,.hero-title{text-wrap:balance}
  .hero-fine{font-size:12.5px;line-height:1.55}
  .ph-badge{margin-top:24px;padding:13px 16px 15px}
  .ph-badge img{width:215px}

  /* Section rhythm. Every section floors at 110px of top padding, which is a
     third of a phone screen of nothing between each one. Two thirds of that
     still reads as a clear break and removes roughly 200px of scrolling. */
  .agents,.features,.models,.privacy,.keys{padding-top:72px}
  .download{padding-top:78px;padding-bottom:64px}

  /* The install command is a 190px slab of mono at phone width. Smaller type and
     a tighter box keep it readable without dominating the section. */
  .dl-cmd{font-size:10.5px;line-height:1.55;padding:11px 12px}
  .dl-alt{padding:16px 16px;margin-top:20px}
  .dl-warn{padding:16px 16px}
  .dl-warn > b{font-size:14.5px}
  .dl-meta{font-size:12.5px}
  .cell-body{padding:22px 22px 0}
  .cell-body h3{font-size:18.5px}
  .cell-body p{font-size:14px}

  .assign-rows{grid-template-columns:1fr;gap:0}
  .assign-row{flex-wrap:wrap;gap:8px;padding-bottom:9px;margin-bottom:9px}
  .assign-row em{margin-left:auto;text-align:right;white-space:nowrap}
  .assign{padding:18px}
  .agent-grid{grid-template-columns:1fr}
  .bento{grid-template-columns:1fr}
  .cell-news,.cell-fin,.cell-wide{grid-column:span 1}
  .fin-list{grid-template-columns:1fr}
  .prov{grid-template-columns:repeat(2,1fr)}
  .ai{display:none}
  .win-body{grid-template-columns:1fr}
  .ntp-links{display:none}
  .art-notes{flex-direction:column;align-items:stretch}
  .foot-links{margin-left:0}
  .hero-cta .btn{width:100%}
  .stickers{display:none}
  .bubble{max-width:92%}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none}
  .window{transform:none}
  .bubble{opacity:1;transform:none}
  .hero-title .wd{transform:none}
  .hero-title .line{overflow:visible}
}
