/* =====================================================================
   Project Canary — site.css
   Design tokens live in :root. A re-skin edits this block only.
   Direction: a field instrument, not a light show. Black, off-white ink,
   one green for "go" and high scores, blue only for data in motion.
   ===================================================================== */
:root {
  /* colour */
  --bg: #0a0a0a;
  --bg-raise: #101211;
  --bg-panel: #0d0f0e;
  --paper: #e9ece6;            /* inverted blocks */
  --ink: #eceee9;
  --ink-2: #a2a9a4;
  --ink-3: #69706b;
  --on-paper: #0a0a0a;
  --paper-2: #3d423f;          /* body text on paper */
  --rule: rgba(236, 238, 233, .12);
  --rule-2: rgba(236, 238, 233, .26);
  --accent: #00ff88;           /* go / high score */
  --accent-deep: #00a85a;      /* accent on paper */
  --accent-rgb: 0, 255, 136;
  --accent-2: #3b82f6;         /* data in motion */
  --warn: #f5b83d;
  --bad: #ff5a5f;
  --on-accent: #04140c;

  /* type */
  --font-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --fs-hero: clamp(3rem, 8.2vw, 8.4rem);
  --fs-h1: clamp(2.8rem, 7vw, 6.8rem);
  --fs-h2: clamp(2.2rem, 5vw, 4.6rem);
  --fs-h3: clamp(1.3rem, 1.9vw, 1.65rem);
  --fs-statement: clamp(1.7rem, 3.6vw, 3.3rem);
  --track-display: -.055em;

  /* shape + space */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --nav-h: 68px;

  /* motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-weight: 600; line-height: .96; letter-spacing: var(--track-display); margin: 0; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

/* ---------- type + layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sec { position: relative; padding: clamp(90px, 12vw, 170px) 0; overflow-x: clip; }
.label { font-family: var(--font-mono); font-size: .72rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.label--ink { color: var(--ink-2); }
.label--go { color: var(--accent); }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.015em; }
.h2 { font-size: var(--fs-h2); }
.body-l { font-size: clamp(1.05rem, 1.25vw, 1.2rem); color: var(--ink-2); max-width: 46ch; line-height: 1.5; }
.muted { color: var(--ink-3); }
.sec-index { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head h2 { grid-column: 1 / span 8; }
.sec-head p { grid-column: 9 / span 4; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 54px; padding: 0 24px; border-radius: var(--r-sm); font-weight: 600; font-size: .98rem; letter-spacing: -.01em; white-space: nowrap; transition: background .3s var(--ease), color .3s, border-color .3s, transform .4s var(--ease); }
.btn svg { width: 17px; height: 17px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--go { background: var(--accent); color: var(--on-accent); }
.btn--go:hover { background: #6dffb9; }
.btn--line { border: 1px solid var(--rule-2); color: var(--ink); background: rgba(10, 10, 10, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--line:hover { border-color: var(--ink); background: rgba(236, 238, 233, .06); }
.btn--ink { background: var(--on-paper); color: var(--paper); }
.btn--ink:hover { background: #262a28; }
.btn--sm { height: 40px; padding: 0 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn .play { width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; }
.btn .play svg { width: 8px; height: 8px; transform: none !important; }
.ulink { position: relative; display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.ulink::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(.3); transform-origin: left; transition: transform .5s var(--ease); }
.ulink:hover::after, .ulink[aria-current="page"]::after { transform: scaleX(1); }
.ulink svg { width: 15px; height: 15px; }

/* ---------- preloader / wipe / progress / cursor ---------- */
.preloader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: var(--bg); animation: plFailsafe .4s 2.4s forwards; }
.preloader__inner { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.preloader__mark { width: 34px; height: 34px; color: var(--accent); animation: plFly 1s var(--ease) both; }
.preloader.is-done { opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
@keyframes plFly { from { transform: translateX(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes plFailsafe { to { opacity: 0; visibility: hidden; } }
.page-wipe { position: fixed; inset: 0; z-index: 9998; pointer-events: none; background: var(--bg); transform: translateY(100%); border-top: 1px solid var(--accent); }
.page-wipe.is-leaving { transition: transform .5s var(--ease-in); transform: translateY(0); pointer-events: all; }
.page-wipe.is-entering { transform: translateY(0); transition: none; }
.page-wipe.is-entered { transform: translateY(-100%); transition: transform .65s var(--ease); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1001; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: transform .5s var(--ease), background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-solid { background: rgba(10, 10, 10, .84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--rule); }
.nav__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--nav-h); gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.03em; font-size: 1.06rem; }
.brand__mark { width: 26px; height: 26px; color: var(--accent); }
.nav__links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; font-size: .92rem; color: var(--ink-2); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__cta { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.nav__login { font-size: .92rem; color: var(--ink-2); }
.nav__login:hover { color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; position: relative; border: 1px solid var(--rule-2); border-radius: var(--r-sm); }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.mmenu { position: fixed; inset: 0; z-index: 999; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 28px) var(--gutter) 28px; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s; }
.menu-open .mmenu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .75s var(--ease), visibility 0s; }
.mmenu ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.mmenu li { overflow: hidden; border-bottom: 1px solid var(--rule); }
.mmenu__link { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; font-size: clamp(2.2rem, 10vw, 3.2rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.05; transform: translateY(105%); transition: transform .7s var(--ease); }
.mmenu__link small { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; color: var(--ink-3); font-weight: 400; }
.menu-open .mmenu__link { transform: none; }
.menu-open .mmenu li:nth-child(2) .mmenu__link { transition-delay: .05s; } .menu-open .mmenu li:nth-child(3) .mmenu__link { transition-delay: .1s; }
.menu-open .mmenu li:nth-child(4) .mmenu__link { transition-delay: .15s; } .menu-open .mmenu li:nth-child(5) .mmenu__link { transition-delay: .2s; }
.mmenu__link[aria-current="page"] { color: var(--accent); }
.mmenu__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--nav-h) + 40px) 0 0; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(70% 60% at 72% 38%, #0c1a2c 0%, transparent 70%), radial-gradient(50% 50% at 20% 80%, #08180f 0%, transparent 70%), var(--bg); }
.hero__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: contrast(1.03); }
.hero__media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.4) 40%, rgba(10,10,10,0) 60%),
  linear-gradient(180deg, rgba(10,10,10,.5) 0%, transparent 22%, transparent 62%, var(--bg) 100%); }
.hero__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: end; padding-bottom: clamp(28px, 4vw, 52px); }
.hero__copy { grid-column: 1 / span 6; position: relative; }
.hero__title { font-size: var(--fs-hero); font-weight: 600; letter-spacing: -.06em; line-height: .88; }
.hero__title .serif { letter-spacing: -.03em; color: var(--accent); }
.hero__sub { margin-top: 28px; font-size: clamp(1.06rem, 1.35vw, 1.25rem); color: var(--ink-2); max-width: 44ch; line-height: 1.5; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__bird { position: absolute; left: 0; top: -66px; width: 48px; height: 48px; color: var(--accent); }
.hero__bird svg { width: 100%; height: 100%; }
.hero__side { grid-column: 8 / span 5; position: relative; perspective: 1600px; margin-bottom: -130px; z-index: 3; }
.readout { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule-2); }
.readout > div { padding: 16px 18px 22px 0; display: grid; gap: 6px; }
.readout > div + div { padding-left: 18px; border-left: 1px solid var(--rule); }
.readout b { font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.readout .label { display: flex; align-items: center; gap: 8px; }
.dot-live { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* holographic lead card: the one glass object on the site */
.holo { position: relative; padding: 18px 18px 8px; border-radius: var(--r-lg); background: rgba(14, 17, 16, .74); border: 1px solid var(--rule-2); backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); transform: rotateY(-12deg) rotateX(6deg); animation: holoTurn 12s ease-in-out infinite; }
.holo::before { content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
@keyframes holoTurn { 0%, 100% { transform: rotateY(-12deg) rotateX(6deg); } 50% { transform: rotateY(-4deg) rotateX(3deg) translateY(-8px); } }
.holo__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.holo__top .label { display: flex; gap: 8px; align-items: center; }
.holo__kpis { display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px 0; border-bottom: 1px solid var(--rule); }
.holo__kpis div { display: grid; gap: 2px; }
.holo__kpis div + div { padding-left: 14px; border-left: 1px solid var(--rule); }
.holo__kpis strong { font-size: 1.6rem; font-weight: 500; letter-spacing: -.05em; }
.mini { width: 100%; border-collapse: collapse; font-size: .84rem; }
.mini th { text-align: left; font-weight: 400; padding: 12px 6px 8px 0; }
.mini td { padding: 10px 6px 10px 0; border-top: 1px solid var(--rule); white-space: nowrap; }
.mini td:last-child, .mini th:last-child { text-align: right; padding-right: 0; }
.mini small { display: block; color: var(--ink-3); font-size: .74rem; }
.holo__note { position: absolute; left: -48px; bottom: 38px; padding: 10px 14px; border-radius: var(--r-md); background: var(--paper); color: var(--on-paper); font-size: .82rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); display: flex; gap: 10px; align-items: center; transform: translateZ(60px); }
.holo__note i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-deep); flex: none; }

/* ---------- score + status (shared with dashboard) ---------- */
.score { display: inline-flex; align-items: center; justify-content: center; min-width: 50px; height: 24px; padding: 0 9px; border-radius: 999px; font-family: var(--font-mono); font-size: .76rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.score--hi { color: var(--on-accent); background: var(--accent); box-shadow: 0 0 18px -2px rgba(var(--accent-rgb), .55); }
.score--mid { color: #1d1300; background: var(--warn); }
.score--lo { color: var(--bad); border: 1px solid rgba(255, 90, 95, .5); }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--ink-2); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--ink-3)); }
.status--new { --c: var(--accent-2); } .status--drafted { --c: var(--warn); } .status--sent { --c: var(--accent); } .status--replied { --c: #ffffff; } .status--queued { --c: var(--ink-3); }

/* ---------- event ticker ---------- */
.ticker { border-block: 1px solid var(--rule); overflow: hidden; padding: 14px 0; position: relative; background: var(--bg); }
.ticker__track { display: flex; width: max-content; animation: tick var(--speed, 70s) linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 12px; padding-right: 48px; font-family: var(--font-mono); font-size: .78rem; color: var(--ink-2); white-space: nowrap; }
.ticker__item time { color: var(--ink-3); }
.ticker__item .score { height: 20px; min-width: 42px; font-size: .7rem; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- statement (words light up on scroll) ---------- */
.statement { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.statement > .label { grid-column: 1 / span 3; padding-top: 14px; }
.statement p { grid-column: 4 / span 9; font-size: var(--fs-statement); font-weight: 500; letter-spacing: -.04em; line-height: 1.08; }
.statement em { font-family: var(--font-serif); font-weight: 400; letter-spacing: -.02em; }
.inline-img { display: inline-block; width: 2.3em; height: .8em; vertical-align: -.05em; border-radius: 999px; overflow: hidden; background: linear-gradient(120deg, #3a2f10, #0f2a1b); margin: 0 .06em; }
.inline-img img { width: 100%; height: 100%; object-fit: cover; }
.statement__foot { grid-column: 4 / span 9; display: flex; gap: 28px; flex-wrap: wrap; margin-top: 40px; align-items: center; }

/* ---------- sticky story ---------- */
.story { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.story__steps { grid-column: 1 / span 5; }
.story__step { min-height: 82vh; display: flex; flex-direction: column; justify-content: center; gap: 18px; border-top: 1px solid var(--rule); color: var(--ink-3); transition: color .6s var(--ease); }
.story__step:last-child { border-bottom: 1px solid var(--rule); }
.story__step.is-active { color: var(--ink); }
.story__step > .label { display: flex; justify-content: space-between; }
.story__step.is-active > .label span:first-child { color: var(--accent); }
.story__step h3 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.story__step p { max-width: 42ch; }
.spec { display: grid; margin: 6px 0 0; border-top: 1px solid var(--rule); max-width: 46ch; }
.spec div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: .9rem; }
.spec dt { opacity: .7; }
.spec dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.story__stage { grid-column: 7 / span 6; position: sticky; top: calc(50vh - 290px); height: 580px; perspective: 1600px; }
.vis { position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-raise); border: 1px solid var(--rule); opacity: 0; transform: translate3d(0, 40px, -260px) rotateX(10deg); transition: opacity .7s var(--ease), transform 1s var(--ease); pointer-events: none; }
.vis.is-active { opacity: 1; transform: none; pointer-events: auto; }
html:not(.js) .vis:first-child { opacity: 1; transform: none; }
.vis__img { position: absolute; inset: 0; background: radial-gradient(60% 60% at 70% 30%, #10261a, transparent), var(--bg-raise); }
.vis__img img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.vis__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,18,17,.15) 0%, rgba(16,18,17,.94) 72%); }
.vis__cap { position: absolute; left: 22px; right: 22px; top: 18px; display: flex; justify-content: space-between; z-index: 2; }
.vis__inner { position: absolute; inset: 0; display: grid; place-items: center; padding: 56px 28px 64px; z-index: 1; }

/* vis 1: review stream */
.listing { width: min(420px, 100%); transform: rotateY(-14deg) rotateX(8deg); }
.listing__head { display: flex; gap: 14px; align-items: center; padding: 16px; background: var(--paper); color: var(--on-paper); border-radius: var(--r-md) var(--r-md) 0 0; }
.listing__icon { width: 42px; height: 42px; border-radius: 10px; background: #0a0a0a; color: var(--accent); display: grid; place-items: center; flex: none; }
.listing__icon svg { width: 24px; height: 24px; }
.listing__head b { display: block; font-size: .98rem; letter-spacing: -.02em; }
.listing__head small { font-size: .76rem; opacity: .65; }
.listing__head .avg { margin-left: auto; text-align: right; font-size: 1.4rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.listing__head .avg small { display: block; font-weight: 400; letter-spacing: 0; }
.feed { height: 290px; overflow: hidden; background: rgba(10,10,10,.72); border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 var(--r-md) var(--r-md); -webkit-mask: linear-gradient(180deg, #000 70%, transparent); mask: linear-gradient(180deg, #000 70%, transparent); }
.feed__track { animation: feedUp 20s linear infinite; }
@keyframes feedUp { to { transform: translateY(-50%); } }
.review { padding: 14px 16px; border-bottom: 1px solid var(--rule); display: grid; gap: 6px; font-size: .82rem; }
.review__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.review p { color: var(--ink-2); line-height: 1.45; }
.review mark { background: rgba(var(--accent-rgb), .16); color: var(--ink); padding: 0 3px; border-radius: 2px; }
.stars { color: var(--warn); font-size: .78rem; letter-spacing: 1px; }
.stars .off { color: var(--ink-3); }
.flag { font-family: var(--font-mono); font-size: .66rem; color: var(--accent); }

/* vis 2: scoring */
.scorer { width: min(440px, 100%); display: grid; gap: 22px; }
.orb { position: relative; height: 230px; display: grid; place-items: center; }
.orb__core { width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #b7ffd9 0%, var(--accent) 18%, #0b5a37 55%, #071a10 78%); box-shadow: 0 0 70px rgba(var(--accent-rgb), .3); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.05); } }
.orb__ring { position: absolute; width: 210px; height: 210px; border-radius: 50%; border: 1px solid var(--rule-2); animation: spin 14s linear infinite; }
.orb__ring::after { content: ""; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }
@keyframes spin { to { transform: rotate(360deg); } }
.orb__num { position: absolute; left: 50%; top: 50%; font-family: var(--font-mono); font-size: 1.05rem; font-weight: 500; opacity: 0; animation: numOut 4.4s var(--ease) infinite; animation-delay: var(--d, 0s); }
@keyframes numOut { 0% { transform: translate(-50%, -50%) scale(.5); opacity: 0; } 18% { opacity: 1; } 100% { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1.15); opacity: 0; } }
.n-lo { color: var(--bad); } .n-mid { color: var(--warn); } .n-hi { color: var(--accent); }
.scale { display: grid; gap: 8px; }
.scale__bar { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--bad) 0 40%, var(--warn) 40% 70%, var(--accent) 70%); }
.scale__ticks { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .68rem; color: var(--ink-3); }

/* vis 3: email unfold */
.mail { width: min(440px, 100%); perspective: 1200px; }
.mail__flap { height: 60px; background: var(--paper); clip-path: polygon(0 100%, 50% 8%, 100% 100%); transform-origin: bottom; transition: transform 1s var(--ease), opacity .3s .6s; }
.vis.is-active .mail__flap, .mail.is-open .mail__flap { transform: rotateX(180deg); opacity: 0; }
.mail__sheet { background: var(--paper); color: var(--on-paper); border-radius: var(--r-md); padding: 18px 20px 14px; font-size: .86rem; transform-origin: top; transform: rotateX(-80deg); opacity: 0; transition: transform 1.1s .3s var(--ease), opacity .5s .3s; }
.vis.is-active .mail__sheet, .mail.is-open .mail__sheet { transform: none; opacity: 1; }
html:not(.js) .mail__sheet { transform: none; opacity: 1; }
.mail__row { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(10,10,10,.12); font-size: .8rem; }
.mail__row span { width: 54px; flex: none; opacity: .55; }
.mail__text { min-height: 168px; padding-top: 12px; white-space: pre-wrap; line-height: 1.55; color: #262a28; }
.mail__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(10,10,10,.12); font-family: var(--font-mono); font-size: .66rem; opacity: .7; }
.caret { display: inline-block; width: 7px; height: 1.05em; background: currentColor; vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }

/* vis 4: isometric dashboard */
.iso { width: 380px; height: 300px; transform: rotateX(56deg) rotateZ(-38deg); transform-style: preserve-3d; position: relative; }
.iso__plate { position: absolute; inset: 0; border-radius: 16px; background: #121514; border: 1px solid var(--rule-2); padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; box-shadow: -30px 40px 60px -10px rgba(0,0,0,.8); }
.iso__panel { border-radius: 8px; border: 1px solid var(--rule); background: var(--bg); transform: translateZ(16px); padding: 10px; display: flex; align-items: flex-end; gap: 5px; }
.iso__panel--wide { grid-column: span 2; flex-direction: column; align-items: stretch; gap: 6px; }
.iso__bar { flex: 1; background: var(--ink-3); border-radius: 2px 2px 0 0; transform-origin: bottom; animation: barUp 2.8s var(--ease) infinite alternate; }
.iso__bar:nth-child(3n) { background: var(--accent); }
@keyframes barUp { from { transform: scaleY(.4); } to { transform: scaleY(1); } }
.iso__row { height: 11px; border-radius: 3px; background: rgba(255,255,255,.06); position: relative; }
.iso__row::after { content: ""; position: absolute; right: 5px; top: 2.5px; width: 22px; height: 6px; border-radius: 3px; background: var(--c, var(--accent)); }
.iso__ring { width: 74px; height: 74px; margin: auto; border-radius: 50%; background: conic-gradient(var(--accent) 0 42%, var(--accent-2) 42% 58%, rgba(255,255,255,.08) 0); -webkit-mask: radial-gradient(circle, transparent 55%, #000 57%); mask: radial-gradient(circle, transparent 55%, #000 57%); }
.stagebar { position: absolute; left: 22px; right: 22px; bottom: 20px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; z-index: 2; }
.stagebar span { font-family: var(--font-mono); font-size: .62rem; color: var(--ink-2); padding-top: 8px; border-top: 2px solid var(--accent); }
.stagebar span.run { border-top-color: var(--accent-2); }
.stagebar span.wait { border-top-color: var(--rule-2); color: var(--ink-3); }

/* ---------- numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); perspective: 1200px; border-top: 1px solid var(--rule-2); }
.number { padding: 28px 28px 10px 0; display: grid; gap: 14px; align-content: start; }
.number + .number { padding-left: 28px; border-left: 1px solid var(--rule); }
.number__v { font-size: clamp(4.4rem, 10vw, 9.5rem); font-weight: 500; letter-spacing: -.07em; line-height: .85; font-variant-numeric: tabular-nums; }
.number__v sup { font-size: .3em; letter-spacing: -.02em; vertical-align: top; position: relative; top: .35em; margin-left: .08em; color: var(--ink-3); }
.number__k { font-size: 1.1rem; letter-spacing: -.02em; }
.number p { color: var(--ink-3); font-size: .9rem; max-width: 30ch; }
.numbers-note { margin-top: 26px; }

/* ---------- pipeline (horizontal pin) ---------- */
.hpin { position: relative; overflow: hidden; }
.hpin__head { padding-top: clamp(90px, 12vw, 150px); }
.hpin__track { display: flex; align-items: stretch; width: max-content; padding: 10px var(--gutter) clamp(90px, 10vw, 140px); }
.node { width: clamp(280px, 27vw, 380px); flex: none; display: grid; grid-template-rows: auto auto 1fr auto; gap: 16px; padding: 26px; border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--bg-raise); transition: border-color .5s var(--ease); }
.node.is-lit { border-color: rgba(var(--accent-rgb), .45); }
.node__n { font-size: clamp(3.6rem, 6vw, 5.4rem); font-weight: 500; letter-spacing: -.07em; line-height: .8; color: var(--ink-3); transition: color .5s; }
.node.is-lit .node__n { color: var(--ink); }
.node h3 { font-size: 1.7rem; }
.node p { color: var(--ink-2); font-size: .94rem; }
.node__out { display: flex; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--rule-2); font-family: var(--font-mono); font-size: .74rem; color: var(--ink-3); }
.node__out b { color: var(--accent); font-weight: 500; }
.wire { position: relative; width: clamp(56px, 7vw, 110px); flex: none; align-self: center; height: 1px; background: var(--rule-2); }
.wire i { position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); animation: wire 2s linear infinite; }
.wire i:nth-child(2) { animation-delay: .7s; } .wire i:nth-child(3) { animation-delay: 1.4s; }
@keyframes wire { from { transform: translateX(0); opacity: 0; } 15%, 85% { opacity: 1; } to { transform: translateX(clamp(52px, 7vw, 106px)); opacity: 0; } }

/* ---------- audiences (image bleeds off the left edge) ---------- */
.aud { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: start; }
.aud__img { grid-column: 1 / span 6; margin: 0 0 0 calc(var(--gutter) * -1); position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 0 var(--r-lg) var(--r-lg) 0; background: radial-gradient(60% 50% at 50% 45%, #0f3a24, transparent 70%), #0c0e0d; }
.aud__img img { width: 100%; height: 118%; object-fit: cover; }
.aud__img figcaption { position: absolute; left: calc(var(--gutter) + 4px); bottom: 18px; right: 18px; display: flex; justify-content: space-between; }
.aud__list { grid-column: 8 / span 5; padding-top: 10px; }
.aud__list h2 { margin-bottom: 36px; }
.aud__row { display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; padding: 22px 0; border-top: 1px solid var(--rule); }
.aud__row:last-child { border-bottom: 1px solid var(--rule); }
.aud__row .label { padding-top: 6px; }
.aud__row h3 { font-size: 1.5rem; }
.aud__row p { grid-column: 2; color: var(--ink-2); font-size: .95rem; }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.quote-big { grid-column: 1 / span 10; margin: 0; }
.quote-big blockquote { margin: 0; font-size: clamp(1.8rem, 3.8vw, 3.5rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.06; }
.quote-big figcaption, .quote-sm figcaption { margin-top: 26px; display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.quote-row { grid-column: 4 / span 9; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: clamp(50px, 7vw, 90px); }
.quote-sm { border-top: 1px solid var(--rule); padding-top: 22px; margin: 0; }
.quote-sm blockquote { margin: 0; font-size: 1.12rem; line-height: 1.5; letter-spacing: -.01em; }

/* ---------- closing (paper block) ---------- */
.closing { position: relative; background: var(--paper); color: var(--on-paper); border-radius: var(--r-lg); padding: clamp(36px, 6vw, 80px); overflow: hidden; display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: end; isolation: isolate; }
.closing h2 { grid-column: 1 / span 8; font-size: clamp(3rem, 8.4vw, 8.4rem); letter-spacing: -.065em; line-height: .86; }
.closing h2 .serif { color: var(--accent-deep); }
.closing__side { grid-column: 9 / span 4; display: grid; gap: 22px; }
.closing__side p { color: var(--paper-2); }
.closing .label { color: #5a605c; }
.closing__mark { position: absolute; right: -30px; top: -24px; width: 260px; height: 260px; color: rgba(10,10,10,.06); z-index: -1; }
.closing .btn--line { border-color: rgba(10,10,10,.3); color: var(--on-paper); background: transparent; backdrop-filter: none; }
.closing .btn--line:hover { border-color: var(--on-paper); }

/* ---------- footer ---------- */
.footer { padding: clamp(70px, 9vw, 120px) 0 26px; position: relative; overflow: hidden; isolation: isolate; }
.footer canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; z-index: -1; }
.footer__panel { border: 1px solid var(--rule); border-radius: var(--r-lg); background: rgba(13, 15, 14, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: clamp(26px, 4vw, 48px); }
.footer__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; padding-bottom: 40px; }
.footer__brand { grid-column: 1 / span 5; }
.footer__tag { margin-top: 22px; font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.04; max-width: 15ch; }
.footer__tag .serif { color: var(--accent); }
.footer__col { grid-column: span 2; }
.footer__col:first-of-type { grid-column: 7 / span 2; }
.footer__col h4 { font-family: var(--font-mono); font-size: .7rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.footer__col a:hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-top: 20px; border-top: 1px solid var(--rule); }

/* ---------- inner page head ---------- */
.phead { position: relative; padding: calc(var(--nav-h) + clamp(60px, 9vw, 120px)) 0 clamp(50px, 7vw, 90px); }
.phead__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: end; }
.phead__grid > :first-child { grid-column: 1 / span 7; }
.phead__grid > :last-child { grid-column: 9 / span 4; }
.phead h1 { font-size: var(--fs-h1); letter-spacing: -.06em; line-height: .88; margin-top: 18px; }
.phead h1 .serif { color: var(--accent); }
.phead p { color: var(--ink-2); font-size: 1.1rem; max-width: 40ch; }

/* ---------- features page ---------- */
.plate { position: relative; overflow: hidden; border-radius: var(--r-md); margin: 0; background: radial-gradient(70% 70% at 60% 40%, #102a1c, transparent 70%), radial-gradient(60% 60% at 20% 80%, #0d1c33, transparent 70%), var(--bg-raise); }
.plate img { width: 100%; height: 116%; object-fit: cover; }
.plate--shadow { box-shadow: 14px 14px 0 var(--accent); }
.plate--wide { aspect-ratio: 16 / 9; }
.plate--tall { aspect-ratio: 4 / 5; }
.plate--sq { aspect-ratio: 1 / 1; }
.plate figcaption { position: absolute; left: 16px; bottom: 14px; right: 16px; display: flex; justify-content: space-between; z-index: 1; }
.chapter { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: start; padding: clamp(70px, 9vw, 130px) 0; border-top: 1px solid var(--rule); }
.chapter__no { grid-column: 1 / span 1; }
.chapter__copy { grid-column: 2 / span 5; display: grid; gap: 22px; position: sticky; top: 110px; }
.chapter__copy h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); }
.chapter__media { grid-column: 8 / span 5; display: grid; gap: 20px; }
.chapter--b .chapter__copy { grid-column: 7 / span 5; order: 2; }
.chapter--b .chapter__media { grid-column: 1 / span 6; order: 1; }
.chapter--b .chapter__no { grid-column: 12; order: 3; text-align: right; }
.pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; align-items: end; }
.mock { border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--bg-raise); padding: 18px; }
.mock > .label { display: block; margin-bottom: 12px; }
.weights { display: grid; gap: 12px; }
.weights div { display: grid; grid-template-columns: 120px 1fr 34px; gap: 12px; align-items: center; font-size: .86rem; }
.weights i { height: 4px; background: var(--rule); border-radius: 4px; overflow: hidden; }
.weights i b { display: block; height: 100%; background: var(--ink); transform-origin: left; }
.weights span:last-child { text-align: right; font-family: var(--font-mono); font-size: .78rem; color: var(--ink-2); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 22px 16px 22px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 1px solid var(--rule); }
.spec-table th { width: 32%; font-size: 1.3rem; font-weight: 500; letter-spacing: -.03em; }
.spec-table th .label { display: block; margin-bottom: 6px; }
.spec-table td { color: var(--ink-2); }
.spec-table td:last-child { text-align: right; font-family: var(--font-mono); font-size: .76rem; color: var(--ink-3); white-space: nowrap; }
.spec-table tbody tr { transition: background .3s; }
.spec-table tbody tr:hover { background: rgba(236,238,233,.025); }

/* ---------- pricing ---------- */
.billing { display: inline-flex; position: relative; padding: 4px; border: 1px solid var(--rule-2); border-radius: var(--r-sm); margin-top: 28px; }
.billing button { position: relative; z-index: 1; height: 40px; padding: 0 18px; font-size: .9rem; color: var(--ink-2); transition: color .3s; }
.billing button[aria-pressed="true"] { color: var(--on-accent); }
.billing button em { font-style: normal; font-family: var(--font-mono); font-size: .68rem; margin-left: 6px; }
.billing__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 4px; background: var(--accent); transition: transform .45s var(--ease), width .45s var(--ease); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule-2); align-items: stretch; }
.plan { padding: 34px 30px 34px 0; display: flex; flex-direction: column; gap: 24px; }
.plan + .plan { padding-left: 30px; border-left: 1px solid var(--rule); }
.plan--hot { background: var(--paper); color: var(--on-paper); padding: 34px 30px !important; border-radius: 0 0 var(--r-lg) var(--r-lg); border-left: 0 !important; }
.plan--hot + .plan { border-left: 0; }
.plan--hot .label, .plan--hot .plan__per { color: #5a605c; }
.plan__name { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.plan__name h3 { font-size: 1.9rem; }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price strong { font-size: clamp(3.6rem, 6vw, 5.2rem); font-weight: 500; letter-spacing: -.07em; line-height: .9; display: inline-block; }
.plan__per { color: var(--ink-3); font-size: .9rem; }
.plan__for { color: var(--ink-2); font-size: .96rem; min-height: 3em; }
.plan--hot .plan__for { color: var(--paper-2); }
.plan ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); flex: 1; }
.plan--hot ul { border-top-color: rgba(10,10,10,.14); }
.plan li { padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: .92rem; display: flex; justify-content: space-between; gap: 14px; }
.plan--hot li { border-bottom-color: rgba(10,10,10,.1); }
.plan li span:last-child { font-family: var(--font-mono); font-size: .78rem; text-align: right; }
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .92rem; }
.compare th, .compare td { padding: 15px 16px 15px 0; border-bottom: 1px solid var(--rule); text-align: left; }
.compare thead th { font-weight: 500; font-size: 1.05rem; letter-spacing: -.02em; border-bottom-color: var(--rule-2); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: right; }
.compare td:not(:first-child) { font-family: var(--font-mono); font-size: .8rem; }
.compare .grp td { padding-top: 34px; color: var(--ink-3); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.compare .no { color: var(--ink-3); }
.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q { width: 100%; display: grid; grid-template-columns: 60px 1fr 30px; align-items: center; gap: 10px; padding: 26px 0; text-align: left; font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 500; letter-spacing: -.025em; transition: color .3s; }
.faq__q i { width: 18px; height: 18px; position: relative; justify-self: end; }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; left: 0; right: 0; top: 8.5px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.faq__q i::after { transform: rotate(90deg); }
.faq__item.is-open .faq__q i::after { transform: rotate(0); }
.faq__q:hover { color: var(--accent); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 40px 28px 70px; color: var(--ink-2); max-width: 74ch; }

/* ---------- dashboard app ---------- */
.app-head { padding: calc(var(--nav-h) + 40px) 0 26px; }
.app-head__row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.app-head h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); letter-spacing: -.06em; margin-top: 12px; }
.app-head__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.demo-note { display: flex; gap: 14px; align-items: center; margin-top: 16px; color: var(--ink-3); font-size: .86rem; flex-wrap: wrap; }
.app { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px; padding-bottom: 80px; }
.side { position: sticky; top: 90px; align-self: start; display: grid; gap: 2px; }
.side a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--r-sm); font-size: .9rem; color: var(--ink-2); transition: background .25s, color .25s; }
.side a:hover { background: rgba(236,238,233,.05); color: var(--ink); }
.side a.is-on { color: var(--ink); background: rgba(236,238,233,.07); }
.side a.is-on svg { color: var(--accent); }
.side svg { width: 17px; height: 17px; }
.side__run { margin-top: 18px; padding: 14px; border: 1px solid var(--rule); border-radius: var(--r-md); display: grid; gap: 10px; font-size: .82rem; color: var(--ink-2); }
.side__run i { display: block; height: 3px; background: var(--rule); border-radius: 3px; overflow: hidden; }
.side__run i b { display: block; height: 100%; width: 64%; background: var(--accent-2); animation: runbar 6s ease-in-out infinite alternate; transform-origin: left; }
@keyframes runbar { from { transform: scaleX(.6); } to { transform: scaleX(1.25); } }
.app__main { display: grid; gap: 20px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; }
.kpi { padding: 20px 22px; display: grid; gap: 10px; }
.kpi + .kpi { border-left: 1px solid var(--rule); }
.kpi strong { font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -.065em; line-height: .9; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: .8rem; color: var(--ink-3); }
.kpi em b { color: var(--accent); font-weight: 500; }
.row2 { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; }
.panel { border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 22px; min-width: 0; background: var(--bg-panel); }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.panel__head h2 { font-size: 1.15rem; letter-spacing: -.03em; font-weight: 600; line-height: 1.2; }
.chart svg { width: 100%; height: 210px; overflow: visible; }
.chart .gl { stroke: var(--rule); }
.chart .ln { fill: none; stroke: var(--accent); stroke-width: 2; }
.chart .ln2 { fill: none; stroke: var(--accent-2); stroke-width: 1.5; stroke-dasharray: 4 4; }
.chart .ar { fill: url(#cArea); }
.chart text { fill: var(--ink-3); font-family: var(--font-mono); font-size: 10px; }
.legend { display: flex; gap: 16px; font-size: .78rem; color: var(--ink-3); }
.legend i { display: inline-block; width: 12px; height: 2px; vertical-align: middle; margin-right: 6px; }
.funnel { display: grid; gap: 14px; }
.funnel > div { display: grid; gap: 6px; }
.funnel p { display: flex; justify-content: space-between; font-size: .86rem; }
.funnel p span { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-2); }
.funnel i { display: block; height: 6px; border-radius: 2px; background: var(--rule); overflow: hidden; }
.funnel i b { display: block; height: 100%; background: var(--ink-2); transform-origin: left; }
.funnel > div:nth-child(n+4) i b { background: var(--accent); }
.stages { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--rule); }
.stages > div { padding: 14px 12px 4px 0; display: grid; gap: 6px; }
.stages > div + div { padding-left: 12px; border-left: 1px solid var(--rule); }
.stages b { font-size: 1.5rem; font-weight: 500; letter-spacing: -.05em; }
.stages .status { font-size: .74rem; }
.activity { list-style: none; margin: 0; padding: 0; display: grid; }
.activity li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid var(--rule); font-size: .86rem; overflow: hidden; }
.activity time { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-3); padding-top: 2px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.search { position: relative; flex: 1 1 220px; }
.search input { width: 100%; height: 40px; padding: 0 12px 0 38px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--rule-2); outline: none; font-size: 16px; transition: border-color .3s; }
.search input:focus { border-color: var(--accent); }
.search svg { position: absolute; left: 12px; top: 11px; width: 17px; height: 17px; color: var(--ink-3); }
.seg { display: inline-flex; border: 1px solid var(--rule-2); border-radius: var(--r-sm); overflow: hidden; max-width: 100%; overflow-x: auto; }
.seg button { flex: none; height: 38px; padding: 0 14px; font-size: .84rem; color: var(--ink-2); transition: background .25s, color .25s; }
.seg button + button { border-left: 1px solid var(--rule-2); }
.seg button:hover { color: var(--ink); background: rgba(236,238,233,.04); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.leads-wrap { overflow-x: auto; margin: 0 -22px; padding: 0 22px; }
.leads { width: 100%; min-width: 840px; border-collapse: collapse; font-size: .88rem; }
.leads th { padding: 0; text-align: left; border-bottom: 1px solid var(--rule-2); }
.leads th button { display: flex; gap: 6px; align-items: center; width: 100%; padding: 10px 10px 10px 0; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); text-align: left; }
.leads th button:hover { color: var(--ink); }
.leads th button svg { width: 11px; height: 11px; opacity: .35; transition: transform .3s, opacity .3s; }
.leads th[aria-sort="ascending"] button, .leads th[aria-sort="descending"] button { color: var(--ink); }
.leads th[aria-sort="ascending"] button svg { opacity: 1; transform: rotate(180deg); }
.leads th[aria-sort="descending"] button svg { opacity: 1; }
.leads td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.leads tbody tr { cursor: pointer; transition: background .2s; }
.leads tbody tr:hover, .leads tbody tr:focus-visible { background: rgba(236,238,233,.035); outline: none; }
.leads tbody tr:focus-visible td:first-child { box-shadow: inset 2px 0 0 var(--accent); }
.leads tbody tr.is-selected { background: rgba(var(--accent-rgb), .06); }
.leads .co b { display: block; font-weight: 500; }
.leads .co small { color: var(--ink-3); font-size: .78rem; }
.leads .num { font-family: var(--font-mono); font-size: .8rem; font-variant-numeric: tabular-nums; }
.leads .rating { color: var(--warn); font-family: var(--font-mono); font-size: .8rem; }
.leads .em-no { color: var(--ink-3); }
.empty { padding: 36px 0; color: var(--ink-3); white-space: normal !important; }
.table-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1100; width: min(500px, 100%); background: var(--bg-raise); border-left: 1px solid var(--rule-2); padding: 26px 28px 40px; overflow-y: auto; transform: translateX(102%); transition: transform .6s var(--ease); display: grid; gap: 22px; align-content: start; visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__scrim { position: fixed; inset: 0; z-index: 1090; background: rgba(0,0,0,.55); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.drawer__scrim.is-open { opacity: 1; visibility: visible; transition: opacity .4s; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__close { width: 40px; height: 40px; border: 1px solid var(--rule-2); border-radius: var(--r-sm); display: grid; place-items: center; }
.drawer__close svg { width: 16px; height: 16px; }
.drawer h2 { font-size: 2.2rem; letter-spacing: -.05em; }
.drawer blockquote { margin: 0; padding: 14px 16px; border-left: 2px solid var(--warn); background: rgba(245,184,61,.05); color: var(--ink-2); font-size: .92rem; }
.draft { background: var(--paper); color: var(--on-paper); border-radius: var(--r-md); padding: 18px; font-size: .88rem; line-height: 1.55; white-space: pre-wrap; }
.draft strong { display: block; white-space: normal; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(10,10,10,.12); }
.drawer__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- signup ---------- */
.signup { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: start; padding: calc(var(--nav-h) + clamp(50px, 7vw, 100px)) 0 clamp(80px, 10vw, 130px); }
.signup__copy { grid-column: 1 / span 5; display: grid; gap: 26px; }
.signup__copy h1 { font-size: clamp(2.8rem, 5.8vw, 5.6rem); letter-spacing: -.06em; line-height: .88; }
.signup__copy h1 .serif { color: var(--accent); }
.steps { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.steps b { font-weight: 500; font-size: 1.05rem; letter-spacing: -.02em; }
.steps p { grid-column: 2; color: var(--ink-2); font-size: .92rem; }
.signup__form { grid-column: 7 / span 6; position: sticky; top: 96px; }
.form { border: 1px solid var(--rule-2); border-radius: var(--r-lg); padding: clamp(22px, 3.2vw, 40px); background: var(--bg-raise); display: grid; gap: 18px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; position: relative; border: 1px solid var(--rule-2); border-radius: var(--r-sm); padding: 4px; margin-bottom: 14px; }
.tabs button { position: relative; z-index: 1; height: 44px; font-size: .92rem; color: var(--ink-2); transition: color .3s; }
.tabs button[aria-selected="true"] { color: var(--on-accent); font-weight: 600; }
.tabs__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 4px; background: var(--accent); transition: transform .45s var(--ease); }
.tabs[data-active="1"] .tabs__thumb { transform: translateX(100%); }
[hidden] { display: none !important; }
.field { display: grid; gap: 7px; }
.field label { font-size: .84rem; color: var(--ink-2); display: flex; justify-content: space-between; gap: 10px; }
.field label small { color: var(--ink-3); font-family: var(--font-mono); font-size: .68rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--rule-2); outline: none; transition: border-color .3s; font-size: 16px; }
.field textarea { min-height: 104px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: #161918; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--bad); }
.field__err { display: none; font-size: .78rem; color: var(--bad); }
.field.is-invalid .field__err { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--ink-2); }
.check input { accent-color: var(--accent); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.form__note { font-size: .8rem; color: var(--ink-3); }
.success { display: none; gap: 18px; padding: 10px 0 4px; }
.form.is-sent > :not(.success) { display: none; }
.form.is-sent .success { display: grid; }
.success h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.success__tick { width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.success__tick svg { width: 26px; height: 26px; }
.success__tick path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success ol { margin: 0; padding: 0 0 0 18px; color: var(--ink-2); display: grid; gap: 6px; }

/* media helpers */
img.is-broken, video.is-broken { display: none !important; }
[data-tilt] { transform-style: preserve-3d; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero__copy { grid-column: 1 / span 12; }
  .hero__side { grid-column: 1 / span 12; max-width: 600px; margin: 44px 0 -90px auto; width: 100%; }
  .story__steps { grid-column: 1 / span 6; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(3) { border-left: 0; }
  .kpi:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .app { grid-template-columns: 1fr; }
  .side { position: static; display: flex; overflow-x: auto; gap: 4px; }
  .side a { flex: none; }
  .side__run { display: none; }
  .footer__brand { grid-column: 1 / span 12; }
  .footer__col, .footer__col:first-of-type { grid-column: span 4; }
}
@media (max-width: 900px) {
  :root { --nav-h: 62px; }
  .nav__bar { grid-template-columns: 1fr auto; }
  .nav__links, .nav__login, .nav__cta .btn { display: none; }
  .burger { display: block; }
  .sec-head h2, .sec-head p { grid-column: 1 / -1; }
  .statement > .label, .statement p, .statement__foot { grid-column: 1 / -1; }
  .story { display: block; }
  .story__stage { position: sticky; top: calc(var(--nav-h) + 8px); height: 380px; z-index: 2; margin-bottom: 10px; }
  .story__step { min-height: 72vh; position: relative; z-index: 1; }
  .numbers { grid-template-columns: 1fr; }
  .number + .number { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .number { padding: 26px 0 30px; }
  .hpin__track { flex-direction: column; width: 100%; padding-top: 0; }
  .node { width: 100%; }
  .wire { width: 1px; height: 46px; margin-left: 40px; align-self: flex-start; }
  .wire i { animation-name: wireV; left: -2px; }
  .aud__img { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .aud__list { grid-column: 1 / -1; }
  .quote-big, .quote-row { grid-column: 1 / -1; }
  .quote-row { grid-template-columns: 1fr; gap: 28px; }
  .closing h2, .closing__side { grid-column: 1 / -1; }
  .phead__grid > :first-child, .phead__grid > :last-child { grid-column: 1 / -1; }
  .chapter__no, .chapter--b .chapter__no { grid-column: 1 / -1; order: 0; text-align: left; }
  .chapter__copy, .chapter--b .chapter__copy { grid-column: 1 / -1; position: static; order: 1; }
  .chapter__media, .chapter--b .chapter__media { grid-column: 1 / -1; order: 2; }
  .spec-table th { width: auto; display: block; padding-bottom: 6px; }
  .spec-table td { display: block; border-top: 0; padding-top: 0; padding-bottom: 10px; }
  .spec-table td:last-child { text-align: left; padding-bottom: 22px; }
  .spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
  .plans { grid-template-columns: 1fr; }
  .plan, .plan + .plan { padding: 30px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .plan--hot { padding: 30px 22px !important; border-radius: var(--r-lg); order: -1; border-top: 0; }
  .row2 { grid-template-columns: 1fr; }
  .signup__copy, .signup__form { grid-column: 1 / -1; position: static; }
}
@keyframes wireV { from { transform: translateY(0); opacity: 0; } 15%, 85% { opacity: 1; } to { transform: translateY(42px); opacity: 0; } }
@media (max-width: 600px) {
  .hero { padding-top: calc(var(--nav-h) + 80px); }
  .hero__title { font-size: clamp(2.7rem, 12.6vw, 3.9rem); }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__side { margin: 36px 0 -60px; }
  .holo { transform: rotateY(-5deg) rotateX(4deg); animation: none; padding: 14px 14px 4px; }
  .holo__note { left: 10px; bottom: -24px; }
  .mini td:nth-child(2), .mini th:nth-child(2) { display: none; }
  .readout { grid-template-columns: 1fr 1fr; }
  .readout > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .readout > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .listing { transform: none; }
  .feed { height: 190px; }
  .iso { transform: rotateX(56deg) rotateZ(-38deg) scale(.68); }
  .orb { height: 160px; } .orb__ring { width: 150px; height: 150px; } .orb__core { width: 86px; height: 86px; }
  .story__stage { height: 340px; }
  .vis__inner { padding: 46px 14px 56px; }
  .mail__text { min-height: 110px; font-size: .78rem; }
  .mail__flap { height: 40px; }
  .stagebar { left: 14px; right: 14px; }
  .stagebar span { font-size: .52rem; }
  .footer__col, .footer__col:first-of-type { grid-column: span 6; }
  .footer__col:last-of-type { grid-column: 1 / -1; }
  .faq__q { grid-template-columns: 38px 1fr 24px; }
  .faq__a p { padding: 0 0 24px 48px; }
  .row-2 { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
  .weights div { grid-template-columns: 96px 1fr 30px; }
  .kpi { padding: 16px; }
  .stages { grid-template-columns: repeat(3, 1fr); }
  .stages > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .stages > div:nth-child(n+4) { border-top: 1px solid var(--rule); }
  .mmenu__foot { grid-template-columns: 1fr; }
  .closing__mark { width: 150px; height: 150px; }
  .plate--shadow { box-shadow: 8px 8px 0 var(--accent); }
  .app-head__actions .btn { flex: 1 1 auto; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker__track, .feed__track { animation: none; }
  .orb__num { animation: none; opacity: .9; transform: translate(calc(-50% + var(--x) * .7), calc(-50% + var(--y) * .7)); }
  .holo { animation: none; }
  .preloader { display: none; }
}
.go { color: var(--accent); }
.phead { isolation: isolate; overflow: hidden; }
.phead__net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .45; z-index: -1; -webkit-mask: linear-gradient(180deg, #000 40%, transparent); mask: linear-gradient(180deg, #000 40%, transparent); }
.jump { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.jump li { border-bottom: 1px solid var(--rule); }
.jump a { display: flex; gap: 16px; padding: 12px 0; width: 100%; }
.jump a::after { display: none; }
.jump a:hover { color: var(--accent); }
.chart svg { height: auto; }
.plate video { width: 100%; height: 100%; object-fit: cover; }
.aud__img img { object-position: 64% 50%; }
.hero { z-index: 2; }
.body { color: var(--ink-2); max-width: 52ch; }

/* ---------- review fixes ---------- */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
.signup__form { position: static; }
/* hover lift: restrained, border change + one soft pulse, no glow wash */
.node, .mock { transition: border-color .4s var(--ease), transform .5s var(--ease); }
.node:hover, .mock:hover { border-color: rgba(var(--accent-rgb), .5); animation: liftPulse 1.1s var(--ease) 1; }
.node:not([style*="transform"]):hover, .mock:not([style*="transform"]):hover { transform: translate3d(0, -6px, 30px); }
@keyframes liftPulse { from { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .28); } to { box-shadow: 0 0 0 12px rgba(var(--accent-rgb), 0); } }
@media (max-width: 900px) {
  .story { display: flex; flex-direction: column; }
  .story__stage { order: -1; height: 300px; background: var(--bg); padding-bottom: 10px; }
  .story__step { justify-content: flex-start; padding-top: 34px; min-height: 64vh; }
  .node .node__n { color: var(--ink); }
}
@media (max-width: 600px) { .story__stage { height: 300px; } }
@media (prefers-reduced-motion: reduce) { .node .node__n { color: var(--ink); } }

/* =====================================================================
   Round 2: canary hero, pinned exit, radar-ping cursor, shortlist stack
   ===================================================================== */
:root {
  --cur-size: 8px;            /* cursor dot */
  --cur-color: var(--accent);
  --cur-trail: 6;             /* documented; trail count lives in site.js */
}
.hero__media { will-change: clip-path; }
.hero__end { position: relative; z-index: 3; padding-bottom: 0; }
.hero__card { width: min(560px, 100%); margin: 0 0 -70px auto; perspective: 1600px; }
.hero__card > .label { display: flex; justify-content: space-between; margin-bottom: 14px; }
.hero__cap { display: none; }
html.hero-pin .hero { height: 100vh; min-height: 640px; }
html.hero-pin .hero__end { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
html.hero-pin .hero__end .wrap { width: 100%; }
html.hero-pin .hero__card { margin: 0; width: min(540px, 40vw); pointer-events: auto; opacity: 0; }
html.hero-pin .hero__cap { display: flex; gap: 18px; position: absolute; right: 5%; bottom: calc(13% - 34px); opacity: 0; z-index: 3; }
@media (max-width: 1100px) { .hero__card { margin: 44px 0 -60px auto; max-width: 600px; } }
@media (max-width: 900px) {
  .hero__media video { object-position: 76% 50%; }
  .hero__media::after { background: linear-gradient(180deg, rgba(10,10,10,.35) 0%, transparent 25%, rgba(10,10,10,.55) 52%, var(--bg) 100%); }
  .hero__copy { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .hero__card { margin: 34px 0 -50px; } }

/* ---------- radar-ping cursor (desktop, JS-created) ---------- */
html.has-pcur, html.has-pcur a, html.has-pcur button, html.has-pcur [role="tab"], html.has-pcur tr[tabindex] { cursor: none; }
html.has-pcur input, html.has-pcur textarea, html.has-pcur select { cursor: auto; }
.pcur { position: fixed; inset: 0; z-index: 10000; pointer-events: none; }
.pcur__t, .pcur__dot, .pcur__label { position: fixed; top: 0; left: 0; will-change: transform; }
.pcur__t { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--cur-color); }
.pcur__t:nth-child(1) { opacity: .5; } .pcur__t:nth-child(2) { opacity: .38; } .pcur__t:nth-child(3) { opacity: .28; }
.pcur__t:nth-child(4) { opacity: .2; } .pcur__t:nth-child(5) { opacity: .13; } .pcur__t:nth-child(6) { opacity: .07; }
.pcur__dot { width: 0; height: 0; }
.pcur__core { position: absolute; width: var(--cur-size); height: var(--cur-size); margin: calc(var(--cur-size) / -2) 0 0 calc(var(--cur-size) / -2); border-radius: 50%; background: var(--cur-color); box-shadow: 0 0 10px rgba(var(--accent-rgb), .8); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, opacity .2s; }
.pcur__ping { position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 1px solid var(--cur-color); opacity: 0; animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.2); opacity: .7; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.pcur__label { margin: 16px 0 0 16px; opacity: 0; transition: opacity .2s; }
.pcur__label .score { box-shadow: 0 8px 20px -6px rgba(0,0,0,.7); }
.pcur__label .tag { display: inline-flex; height: 24px; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--paper); color: var(--on-paper); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.pcur__row { position: fixed; top: 0; left: 0; height: 0; pointer-events: none; opacity: 0; border-left: 2px solid var(--accent); background: linear-gradient(90deg, rgba(var(--accent-rgb), .09), rgba(var(--accent-rgb), 0) 70%); transition: opacity .25s; z-index: 9999; will-change: transform; }
.pcur[data-state="link"] .pcur__core { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.pcur[data-state="cta"] .pcur__core { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--on-accent); box-shadow: 0 0 0 2px var(--cur-color); }
.pcur[data-state="cta"] .pcur__ping { animation-duration: .9s; }
.pcur[data-state="view"] .pcur__core { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: transparent; box-shadow: inset 0 0 0 1px var(--cur-color); }
.pcur[data-state="view"] .pcur__ping, .pcur[data-state="link"] .pcur__ping { animation: none; }
.pcur[data-state="score"] .pcur__label, .pcur[data-state="row"] .pcur__label, .pcur[data-state="play"] .pcur__label, .pcur[data-state="view"].has-label .pcur__label { opacity: 1; }
.pcur[data-state="row"] .pcur__core { opacity: 0; }
.pcur[data-state="row"] .pcur__t { opacity: 0 !important; }
.pcur[data-state="hidden"], .pcur.is-out { opacity: 0; }
.pcur { transition: opacity .2s; }
.pcur.is-static .pcur__t, .pcur.is-static .pcur__ping { display: none; }

/* ---------- shortlist: sticky stacked cards ---------- */
.stack { position: relative; }
.stack__card { position: sticky; top: calc(var(--nav-h) + 24px + var(--i, 0) * 14px); display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(22px, 4vw, 60px); min-height: 430px; margin-bottom: 36px; padding: clamp(22px, 3.4vw, 44px); background: var(--bg-raise); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; transform-origin: 50% 0; will-change: transform; }
.stack__card:last-child { margin-bottom: 0; }
.stack__shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.stack__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.stack__card h3 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); letter-spacing: -.06em; }
.stack__card .domain { margin-top: 10px; }
.stack__big { font-size: clamp(4rem, 9vw, 8rem); font-weight: 500; letter-spacing: -.08em; line-height: .8; font-variant-numeric: tabular-nums; }
.stack__big small { font-size: .3em; color: var(--ink-3); letter-spacing: -.02em; }
.stack__card blockquote { margin: 26px 0 0; padding-left: 16px; border-left: 2px solid var(--warn); color: var(--ink-2); font-size: 1.05rem; max-width: 40ch; }
.stack__right { display: grid; gap: 18px; align-content: space-between; }
.stack__why p { color: var(--ink-2); }
.stack__line { padding: 14px 16px; border-radius: var(--r-md); background: var(--paper); color: var(--on-paper); font-size: .92rem; }
.stack__line .label { color: #5a605c; display: block; margin-bottom: 6px; }
.stack__meta { display: flex; gap: 22px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--rule); }
.stack__meta b { display: block; font-weight: 500; font-size: 1.05rem; }
@media (max-width: 900px) {
  .stack__card { grid-template-columns: 1fr; min-height: 0; top: calc(var(--nav-h) + 12px + var(--i, 0) * 8px); }
  .stack__big { font-size: 4.4rem; }
}
@media (prefers-reduced-motion: reduce) { .stack__card { position: relative; top: 0; } }
@media (min-width: 1101px) {
  .hero__copy { grid-column: 1 / span 7; }
  .hero__title { font-size: clamp(3rem, 6.6vw, 7.2rem); }
}
.hero__frame { display: none; }
html.hero-pin .hero__frame { display: block; position: absolute; top: 12%; bottom: 12%; left: 49%; right: 5%; border: 1px solid var(--rule-2); border-radius: 14px; opacity: 0; z-index: 2; pointer-events: none; }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: min(54svh, 70vw + 120px); }
  .hero__media { bottom: auto; height: min(62svh, 70vw + 220px); }
  .hero__media video { object-position: 70% 45%; }
  .hero__media::after { background: linear-gradient(180deg, rgba(10,10,10,.45) 0%, transparent 22%, transparent 55%, var(--bg) 100%); }
  .hero__bird { top: -58px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 46svh; }
  .hero__media { height: 58svh; }
}
