/* tsudo marketing site — dark, lavender, glass.
   Tokens mirror Marketing/video/src/brand.ts. No frameworks, no external requests. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/plexmono-500.woff") format("woff"); }

:root {
  --ink: #101012;
  --ink-top: #1F1E23;
  --panel: #18171C;
  --panel-hi: #222129;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #F2EEFF;
  --dim: rgba(242, 238, 255, 0.68);
  --faint: rgba(242, 238, 255, 0.5);
  --lav: #C9B6FF;
  --lav-light: #E4DAFF;
  --lav-deep: #A58BFF;
  --glow: #B49CFF;
  --green: #7EE2A8;
  --amber: #FFC97A;
  --red: #FF8A8A;
  --blue: #8FB8FF;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 64px;
  --glass: linear-gradient(180deg, rgba(34, 33, 41, 0.9) 0%, rgba(22, 21, 27, 0.96) 100%);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.35), 0 30px 80px -20px rgba(0, 0, 0, 0.65), 0 0 0 0.5px rgba(201, 182, 255, 0.18);
  --rainbow: conic-gradient(from 200deg, rgba(255, 170, 205, 0.7), rgba(255, 214, 150, 0.6), rgba(160, 240, 200, 0.55), rgba(150, 200, 255, 0.7), rgba(201, 182, 255, 0.85), rgba(255, 170, 205, 0.7));
  --dashes: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'><g fill='none' stroke-linecap='round' stroke-width='1.8'><path d='M24 38l7-3' stroke='%23C9B6FF' stroke-opacity='.5'/><path d='M92 18l5 5' stroke='%23A58BFF' stroke-opacity='.45'/><path d='M170 44l7 1' stroke='%238FB8FF' stroke-opacity='.4'/><path d='M228 22l-4 6' stroke='%23E4DAFF' stroke-opacity='.35'/><path d='M52 104l6 4' stroke='%23FF9ACB' stroke-opacity='.3'/><path d='M130 92l7-2' stroke='%23C9B6FF' stroke-opacity='.45'/><path d='M206 118l2 7' stroke='%237EE2A8' stroke-opacity='.3'/><path d='M16 176l6-5' stroke='%23A58BFF' stroke-opacity='.4'/><path d='M96 160l7 2' stroke='%23E4DAFF' stroke-opacity='.35'/><path d='M160 196l5-5' stroke='%23C9B6FF' stroke-opacity='.45'/><path d='M236 178l-6 3' stroke='%23FFC97A' stroke-opacity='.28'/><path d='M60 238h7' stroke='%238FB8FF' stroke-opacity='.35'/><path d='M190 244l4 5' stroke='%23C9B6FF' stroke-opacity='.4'/></g></svg>");
  interpolate-size: allow-keywords;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
button { font: inherit; color: inherit; }
code, pre, kbd { font-family: var(--mono); }
::selection { background: rgba(201, 182, 255, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--lav); color: var(--ink); font-weight: 600; text-decoration: none; transition: top 0.2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }

/* Faint rainbow edge film on glass (Finn's glossy-glass taste). */
.edge { position: relative; isolation: isolate; }
.edge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--rainbow);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0.32;
  pointer-events: none;
  z-index: 5;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.btn .ico { width: 18px; height: 18px; flex: none; }
.btn-primary {
  color: #141218;
  background: linear-gradient(180deg, #F1ECFF 0%, #D4C4FF 48%, #B9A2FF 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -3px 8px rgba(120, 90, 220, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.14), 0 12px 32px -10px rgba(180, 156, 255, 0.7);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 1px 14px auto;
  height: 45%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -3px 8px rgba(120, 90, 220, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2), 0 16px 44px -10px rgba(180, 156, 255, 0.9); }
.btn-primary:active { transform: translateY(0) scale(0.985); }
.btn-glass {
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035));
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 10px 30px -12px rgba(0, 0, 0, 0.7);
}
.btn-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--rainbow);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0.4;
  pointer-events: none;
}
.btn-glass:hover { transform: translateY(-1px); background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14.5px; }
.btn-lg { height: 60px; padding: 0 34px; font-size: 17px; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), -webkit-backdrop-filter 0.4s, backdrop-filter 0.4s;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(16, 16, 18, 0.68);
  -webkit-backdrop-filter: saturate(170%) blur(20px);
  backdrop-filter: saturate(170%) blur(20px);
  border-bottom-color: var(--line);
}
.header-inner { max-width: 1240px; height: var(--header-h); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; border-radius: 10px; }
.brand-glyph { width: 45px; height: 24px; overflow: visible; }
.brand-word { width: 70px; height: 20px; fill: var(--text); }
.site-nav { margin: 0 auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.site-nav a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--dim); text-decoration: none; transition: color 0.25s, background 0.25s; }
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.site-nav + .header-actions { margin-left: 0; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.05); cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 1.6px; border-radius: 2px; background: var(--text); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.menu-btn i:nth-of-type(1) { top: 15px; }
.menu-btn i:nth-of-type(2) { top: 23px; }
.menu-btn[aria-expanded="true"] i:nth-of-type(1) { top: 19px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-of-type(2) { top: 19px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: clamp(700px, 100svh, 1040px);
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 40px) 20px 80px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(55% 45% at 50% 36%, rgba(180, 156, 255, 0.12), transparent 70%),
    radial-gradient(40% 30% at 85% 90%, rgba(143, 184, 255, 0.06), transparent 70%),
    var(--ink);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(180deg, transparent, var(--ink)); z-index: -1; pointer-events: none; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 1120px; }
.hero-mark { position: relative; width: clamp(190px, 21vw, 290px); aspect-ratio: 592 / 314; margin-bottom: clamp(30px, 4.5vh, 52px); opacity: calc(1 - var(--scat, 0) * 1.25); }
.hero-mark::before { content: ""; position: absolute; inset: -70% -45%; background: radial-gradient(closest-side, rgba(180, 156, 255, 0.22), transparent); filter: blur(10px); z-index: -1; pointer-events: none; }
.hero-mark svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 18px rgba(180, 156, 255, 0.45)); transition: opacity 1.6s var(--ease), transform 1.8s var(--ease), filter 1.6s var(--ease); }
.js .hero-mark svg { opacity: 0; transform: scale(0.97); filter: blur(6px) drop-shadow(0 0 18px rgba(180, 156, 255, 0.45)); }
.js .hero.mark-on .hero-mark svg, .js.no-canvas .hero-mark svg { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 0 18px rgba(180, 156, 255, 0.45)); }
.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--dim);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--lav); box-shadow: 0 0 10px var(--lav); }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--lav); opacity: 0; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.9); opacity: 0; } }
.hero-title { margin-top: 26px; font-size: clamp(46px, 7.3vw, 112px); line-height: 0.98; letter-spacing: -0.048em; font-weight: 500; text-wrap: balance; }
.hero-title em, .feature h2 em, .speed-x {
  font-style: normal;
  background: linear-gradient(100deg, #F1ECFF 0%, #C9B6FF 50%, #A58BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-split].is-split em { background: none; color: inherit; }
[data-split].is-split em .w {
  background: linear-gradient(100deg, #F1ECFF 0%, #C9B6FF 55%, #A58BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}
.hero-sub { margin-top: 28px; max-width: 640px; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: var(--dim); text-wrap: pretty; }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-note { margin-top: 20px; font-size: 13.5px; color: var(--faint); letter-spacing: 0.01em; }

/* ---------- word reveal (Antigravity-style rise + un-blur) ---------- */
.js [data-split] .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.42em);
  filter: blur(12px);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease), filter 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms + var(--base, 0ms));
}
.js [data-split].is-in .w { opacity: 1; transform: none; filter: blur(0); }
.js .hero-seq { opacity: 0; transform: translateY(16px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: calc(950ms + var(--d, 0) * 130ms); }
.js .hero-seq[style*="--d:0"] { transition-delay: 150ms; }
.js .hero.is-in .hero-seq { opacity: 1; transform: none; filter: blur(0); }
.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(8px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease), filter 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }

/* ---------- film ---------- */
.film { padding: clamp(24px, 4vw, 48px) 0 clamp(80px, 10vw, 140px); perspective: 2000px; }
.film-card {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 16 / 9;
  border-radius: clamp(18px, 2.6vw, 34px);
  overflow: hidden;
  background: #141318;
  box-shadow: 0 50px 140px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line-strong), 0 0 120px -30px rgba(180, 156, 255, 0.35);
  transform-origin: 50% 100%;
  transform: rotateX(calc(var(--tilt, 0) * 22deg)) scale(calc(1 - var(--tilt, 0) * 0.08));
  will-change: transform;
}
.film-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 22px);
  background: var(--dashes), radial-gradient(60% 70% at 50% 45%, rgba(165, 139, 255, 0.22), transparent 70%), linear-gradient(180deg, #1C1A23 0%, #111014 100%);
  background-size: 260px 260px, auto, auto;
}
.film-aurora { position: absolute; inset: 20% 25%; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 182, 255, 0.28), transparent); filter: blur(30px); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: 0.75; } }
.film-glyph { position: relative; width: clamp(110px, 20%, 260px); aspect-ratio: 592 / 314; height: auto; overflow: visible; filter: drop-shadow(0 0 30px rgba(180, 156, 255, 0.45)); }
.film-kicker { position: relative; font-family: var(--mono); font-size: clamp(10px, 1.1vw, 14px); letter-spacing: 0.32em; text-transform: uppercase; color: var(--lav); margin-top: clamp(6px, 1.5vw, 18px); }
.film-word { position: relative; width: clamp(110px, 24%, 300px); height: auto; aspect-ratio: 5232 / 1513; fill: var(--text); }
.film-poster, .film-loop, .film-main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-poster { z-index: 1; }
.film-loop { z-index: 1; opacity: 0; transition: opacity 1.2s var(--ease); }
.film-loop.is-ready { opacity: 1; }
.film-main { z-index: 4; background: #000; object-fit: contain; }
.film-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: clamp(14px, 6%, 44px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 22px 8px 8px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 16px 40px -14px rgba(0, 0, 0, 0.8);
  transition: transform 0.35s var(--ease), background 0.35s;
}
.film-play:hover { transform: translateX(-50%) scale(1.03); background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.07)); }
.film-play-ring { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #F1ECFF, #BCA6FF); color: var(--ink); box-shadow: 0 0 24px rgba(180, 156, 255, 0.55); }
.film-play-ring svg { width: 16px; height: 16px; margin-left: 2px; }
.film-card.is-playing .film-play { display: none; }
.film-play-label { white-space: nowrap; }
@container (max-width: 560px) {
  .film-fallback { gap: 8px; padding-bottom: 46px; }
  .film-word { display: none; }
  .film-glyph { width: 30%; }
  .film-kicker { font-size: 10px; margin-top: 4px; }
  .film-play { padding: 5px 16px 5px 5px; gap: 9px; font-size: 13px; bottom: 12px; }
  .film-play-ring { width: 30px; height: 30px; }
  .film-play-ring svg { width: 12px; height: 12px; }
}
.film-status { position: absolute; z-index: 3; top: 16px; left: 50%; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--text); background: rgba(16, 16, 18, 0.72); border: 1px solid var(--line-strong); white-space: nowrap; }
.film-status:empty { display: none; }
.film-caption { margin: 24px auto 0; max-width: 700px; text-align: center; font-size: 15px; line-height: 1.5; font-weight: 400; color: var(--dim); letter-spacing: 0; }

/* ---------- tool chips marquee ---------- */
.tools { padding: 0 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.tools-title { text-align: center; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 26px; padding: 0 20px; }
.marquee {
  display: flex;
  gap: 12px;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee + .marquee { margin-top: 6px; }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; flex: none; animation: marquee 64s linear infinite; }
.marquee-rev .marquee-track { animation-direction: reverse; animation-duration: 78s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - 12px)); } }
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 24px 0 18px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 12px 30px -14px rgba(0, 0, 0, 0.8);
}
.chip::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--rainbow);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0.22;
  pointer-events: none;
}
.chip svg { width: 20px; height: 20px; color: var(--lav); flex: none; }
.chip small, .tag { font-size: 11px; font-weight: 500; color: var(--amber); border: 1px solid rgba(255, 201, 122, 0.4); padding: 2px 8px; border-radius: 999px; letter-spacing: 0.02em; line-height: 1.4; }

/* ---------- statement (scroll fill) ---------- */
.statement { padding: clamp(60px, 8vw, 110px) 0 clamp(60px, 8vw, 120px); }
.statement-text { max-width: 1120px; margin: 0 auto; font-size: clamp(29px, 4.1vw, 60px); line-height: 1.13; letter-spacing: -0.032em; font-weight: 500; text-wrap: pretty; }
.js .statement-text .fw { color: rgba(242, 238, 255, 0.17); transition: color 0.45s linear; }
.js .statement-text .fw.on { color: var(--text); }
.js .statement-text .fw.on.hi { color: var(--lav); }

/* ---------- feature sections ---------- */
.feature { padding-top: clamp(90px, 11vw, 170px); }
.feature-head { max-width: 920px; margin: 0 auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lav); }
.eyebrow span { color: var(--dim); display: inline-flex; align-items: center; gap: 14px; }
.eyebrow span::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, var(--lav), rgba(201, 182, 255, 0.2)); }
.feature h2 { font-size: clamp(40px, 6.2vw, 88px); line-height: 1; letter-spacing: -0.048em; text-wrap: balance; }
.lede { margin: 26px auto 0; max-width: 690px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--dim); text-wrap: pretty; }
.footnote { margin: 22px auto 0; max-width: 840px; font-size: 13.5px; line-height: 1.55; color: var(--dim); text-align: center; }

/* Big rounded stage holding the product UI. */
.stage {
  position: relative;
  margin-top: clamp(44px, 6vw, 76px);
  padding: clamp(16px, 5.5vw, 84px);
  border-radius: clamp(22px, 3vw, 38px);
  border: 1px solid var(--line);
  overflow: hidden;
  container-type: inline-size;
  perspective: 2000px;
  background:
    var(--dashes),
    radial-gradient(70% 70% at 12% 0%, rgba(165, 139, 255, 0.26), transparent 62%),
    radial-gradient(60% 70% at 100% 100%, rgba(120, 170, 255, 0.15), transparent 62%),
    radial-gradient(45% 45% at 85% 8%, rgba(255, 150, 200, 0.08), transparent 70%),
    linear-gradient(180deg, #1A1820 0%, #121116 100%);
  background-size: 260px 260px, auto, auto, auto, auto;
}
.stage::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07); pointer-events: none; }
.stage-speed { background: var(--dashes), radial-gradient(70% 70% at 50% 0%, rgba(165, 139, 255, 0.3), transparent 62%), radial-gradient(50% 60% at 0% 100%, rgba(126, 226, 168, 0.09), transparent 62%), radial-gradient(50% 60% at 100% 100%, rgba(143, 184, 255, 0.12), transparent 62%), linear-gradient(180deg, #1A1820 0%, #121116 100%); background-size: 260px 260px, auto, auto, auto, auto; }
.stage-control { background: var(--dashes), radial-gradient(60% 60% at 50% 45%, rgba(165, 139, 255, 0.24), transparent 65%), radial-gradient(40% 50% at 100% 0%, rgba(255, 201, 122, 0.08), transparent 62%), radial-gradient(50% 60% at 0% 100%, rgba(255, 138, 138, 0.06), transparent 62%), linear-gradient(180deg, #1A1820 0%, #121116 100%); background-size: 260px 260px, auto, auto, auto, auto; }
.stage-agents { background: var(--dashes), radial-gradient(60% 60% at 15% 10%, rgba(143, 184, 255, 0.16), transparent 62%), radial-gradient(60% 70% at 90% 90%, rgba(165, 139, 255, 0.24), transparent 62%), linear-gradient(180deg, #1A1820 0%, #121116 100%); background-size: 260px 260px, auto, auto, auto; }
.tilt {
  transform-origin: 50% 0%;
  transform: rotateX(calc(var(--tilt, 0) * 16deg)) translateY(calc(var(--tilt, 0) * 40px)) scale(calc(1 - var(--tilt, 0) * 0.06));
  will-change: transform;
}

/* ---------- app window recreation (em-based; scales with the stage) ---------- */
.win {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  font-size: clamp(7.5px, 1.2cqi, 14px);
  line-height: 1.45;
  text-align: left;
  color: var(--text);
  border-radius: 1.5em;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--line-strong);
  box-shadow: var(--glass-shadow);
}
.win-bar { height: 3.6em; display: flex; align-items: center; gap: 1em; padding: 0 1.3em; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.lights { display: inline-flex; gap: 0.55em; }
.lights i { width: 0.9em; height: 0.9em; border-radius: 50%; background: #FF5F57; opacity: 0.9; }
.lights i:nth-child(2) { background: #FEBC2E; }
.lights i:nth-child(3) { background: #28C840; }
.win-title { margin-left: 0.6em; font-size: 1.05em; font-weight: 500; color: var(--dim); white-space: nowrap; }
.model-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 0.6em; padding: 0.45em 1em; border-radius: 99em; font-size: 0.95em; font-weight: 600; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-strong); white-space: nowrap; }
.live { width: 0.62em; height: 0.62em; border-radius: 50%; background: var(--green); box-shadow: 0 0 0.7em var(--green); }
.win-body { display: grid; grid-template-columns: 15em minmax(0, 1fr); }
.win-side { padding: 1.4em 0.9em; border-right: 1px solid var(--line); }
.side-label { margin: 0 0.75em 0.7em; font-size: 0.78em; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.side-item { margin-bottom: 0.25em; padding: 0.62em 0.8em; border-radius: 0.7em; border: 1px solid transparent; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-item.is-active { color: var(--text); background: rgba(201, 182, 255, 0.12); border-color: rgba(201, 182, 255, 0.22); }
.win-main { display: flex; flex-direction: column; min-width: 0; }
.chat { display: flex; flex-direction: column; gap: 0.65em; padding: 1.6em 2.2em 0.8em; }
.msg-user { align-self: flex-end; max-width: 80%; margin-bottom: 0.35em; padding: 0.8em 1.2em; border-radius: 1.2em 1.2em 0.4em 1.2em; font-size: 1.06em; background: linear-gradient(180deg, rgba(201, 182, 255, 0.22), rgba(165, 139, 255, 0.13)); border: 1px solid rgba(201, 182, 255, 0.28); }
.tool-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 0.75em; padding: 0.68em 1em; border-radius: 0.8em; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.tr-ico { width: 1.2em; height: 1.2em; color: var(--lav); }
.tool-row b { font-weight: 600; white-space: nowrap; }
.tool-row code { font-size: 0.92em; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st { padding: 0.25em 0.75em; border-radius: 99em; font-size: 0.85em; font-weight: 600; color: var(--dim); background: rgba(255, 255, 255, 0.06); white-space: nowrap; }
.st-ok { color: var(--green); background: rgba(126, 226, 168, 0.12); }
.st-wait { color: var(--amber); background: rgba(255, 201, 122, 0.13); }
ins { color: var(--green); text-decoration: none; }
del { color: var(--red); text-decoration: none; }
.diff { border-radius: 0.85em; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.3); overflow: hidden; }
.diff-head { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 0.55em 0.7em 0.55em 1em; border-bottom: 1px solid var(--line); }
.diff-head code { font-size: 0.92em; color: var(--dim); }
.diff-revert { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.25em 0.75em; border-radius: 99em; font-size: 0.9em; font-weight: 600; color: var(--lav); background: rgba(201, 182, 255, 0.08); border: 1px solid rgba(201, 182, 255, 0.3); }
.diff-revert svg { width: 1.05em; height: 1.05em; }
.diff-body { padding: 0.5em 0; font-family: var(--mono); font-size: 0.94em; line-height: 1.75; overflow: hidden; }
.dl { padding: 0 1em; white-space: pre; color: rgba(242, 238, 255, 0.55); }
.dl-del { background: rgba(255, 138, 138, 0.1); color: #FFB8B8; }
.dl-add { background: rgba(126, 226, 168, 0.1); color: #B6F2CF; }
.msg-ai { margin-top: 0.3em; font-size: 1.05em; line-height: 1.5; }
.composer { display: flex; align-items: center; justify-content: space-between; margin: 0.5em 2.2em 1.2em; padding: 0.7em 0.7em 0.7em 1.3em; border-radius: 1.1em; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.035); color: var(--faint); }
.send { width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; background: var(--lav); color: var(--ink); }
.send svg { width: 1.1em; height: 1.1em; }
.win-pane { border-top: 1px solid var(--line); }
.pane-tabs { display: flex; gap: 0.4em; padding: 0.7em 1.4em; border-bottom: 1px solid var(--line); }
.pane-tabs span { padding: 0.4em 0.9em; border-radius: 0.6em; font-size: 0.92em; font-weight: 600; color: var(--faint); }
.pane-tabs .is-active { color: var(--text); background: rgba(201, 182, 255, 0.14); }
.term { margin: 0; padding: 0.9em 1.6em 1.3em; font-size: 0.92em; line-height: 1.7; color: var(--dim); white-space: pre; overflow: hidden; }
.t-ok { color: var(--green); }
.t-dim { color: var(--faint); }

@container (max-width: 640px) {
  .win { font-size: 2.75cqi; }
  .win-body { grid-template-columns: minmax(0, 1fr); }
  .win-side, .win-pane { display: none; }
  .chat { padding: 1.2em 1.2em 0.6em; }
  .composer { margin: 0.4em 1.2em 1em; }
  .model-pill { font-size: 0.82em; }
}

/* ---------- feature cards ---------- */
.cards { list-style: none; margin: clamp(26px, 4vw, 44px) 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  padding: 26px 24px 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.35s, background 0.35s, opacity 0.9s var(--ease), transform 1.1s var(--ease), filter 0.9s var(--ease);
}
.card:hover { border-color: rgba(201, 182, 255, 0.25); background: linear-gradient(180deg, rgba(201, 182, 255, 0.07), rgba(255, 255, 255, 0.015)); }
.card-ico { width: 42px; height: 42px; padding: 10px; border-radius: 13px; color: var(--lav); background: rgba(201, 182, 255, 0.1); border: 1px solid rgba(201, 182, 255, 0.2); }
.card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.012em; }
.card p { font-size: 15.5px; line-height: 1.55; color: var(--dim); }
.card strong { color: var(--text); font-weight: 600; }
.card code { font-size: 0.9em; color: var(--lav-light); background: rgba(201, 182, 255, 0.1); padding: 1px 6px; border-radius: 6px; }

/* ---------- speed ---------- */
.speed-card {
  margin: 0 auto;
  max-width: 900px;
  padding: clamp(20px, 4.5cqi, 48px);
  border-radius: clamp(18px, 2.4cqi, 28px);
  background: var(--glass);
  border: 1px solid var(--line-strong);
  box-shadow: var(--glass-shadow);
}
.speed-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-bottom: 30px; font-size: 14px; color: var(--dim); }
.speed-model { font-family: var(--mono); color: var(--lav-light); }
.fn-ref { color: var(--lav); text-decoration: none; margin-left: 2px; font-size: 0.75em; vertical-align: super; line-height: 0; }
.bar-row { display: grid; grid-template-columns: 118px minmax(0, 1fr) 84px; align-items: center; gap: 18px; margin-bottom: 20px; }
.bar-label { font-size: 15px; color: var(--dim); }
.bar-track { position: relative; height: 20px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4); }
.bar { position: absolute; inset: 0 auto 0 0; width: calc(var(--to) / 75 * 100%); display: flex; transform-origin: left center; transform: scaleX(0.02); transition: transform 1.6s var(--ease) 0.3s; }
.js .is-in .bar, .no-anim .bar { transform: scaleX(1); }
html:not(.js) .bar { transform: none; }
.bar-solid { width: calc(var(--from) / var(--to) * 100%); height: 100%; border-radius: 99px 0 0 99px; }
.bar-range { flex: 1; height: 100%; border-radius: 0 99px 99px 0; }
.bar-plain .bar-solid { background: rgba(242, 238, 255, 0.34); }
.bar-plain .bar-range { background: rgba(242, 238, 255, 0.18); }
.bar-mtp .bar-solid { background: linear-gradient(90deg, #8E70FF, #C9B6FF); box-shadow: 0 0 26px rgba(180, 156, 255, 0.55); }
.bar-mtp .bar-range { background: repeating-linear-gradient(-45deg, rgba(228, 218, 255, 0.8) 0 5px, rgba(201, 182, 255, 0.45) 5px 10px); }
.bar-value { font-family: var(--mono); font-size: clamp(17px, 2.3cqi, 24px); text-align: right; font-variant-numeric: tabular-nums; }
.bar-value-hi { color: var(--lav-light); text-shadow: 0 0 20px rgba(180, 156, 255, 0.5); }
.bar-axis { display: flex; justify-content: space-between; margin: 2px 102px 0 136px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.speed-big { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); font-size: clamp(20px, 3.2cqi, 32px); font-weight: 500; letter-spacing: -0.02em; }
.speed-x { font-size: 1.45em; letter-spacing: -0.035em; margin-right: 6px; }
.lede a { color: var(--lav-light); text-decoration: underline; text-decoration-color: rgba(201, 182, 255, 0.4); text-underline-offset: 3px; transition: text-decoration-color 0.25s; }
.lede a:hover { text-decoration-color: var(--lav); }

/* ---------- models (tier cards; every number from research/estimates.md § Copy we can use) ---------- */
.stage-models {
  padding: clamp(16px, 3.6vw, 52px);
  background: var(--dashes), radial-gradient(70% 70% at 90% 0%, rgba(165, 139, 255, 0.26), transparent 62%), radial-gradient(55% 65% at 0% 100%, rgba(143, 184, 255, 0.12), transparent 62%), radial-gradient(40% 40% at 50% 100%, rgba(126, 226, 168, 0.05), transparent 70%), linear-gradient(180deg, #1A1820 0%, #121116 100%);
  background-size: 260px 260px, auto, auto, auto, auto;
}
.tiers-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin: 0 4px 20px; text-align: left; }
.tiers-kicker { font-size: clamp(15px, 1.3vw, 17px); font-weight: 500; color: var(--text); text-wrap: pretty; }
.tiers-legend { display: inline-flex; align-items: center; font-size: 13.5px; color: var(--dim); white-space: nowrap; }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "t16 t24 t24 t32" "me me me me"; text-align: left; }
.tier-16 { grid-area: t16; }
.tier-24 { grid-area: t24; }
.tier-32 { grid-area: t32; }
.tier-me { grid-area: me; }
.tier { position: relative; display: flex; flex-direction: column; padding: 22px 20px 24px; border-radius: 24px; background: var(--glass); border: 1px solid var(--line-strong); box-shadow: var(--glass-shadow); }
.tier-mem { font-size: clamp(38px, 3.4vw, 48px); line-height: 1; font-weight: 500; letter-spacing: -0.045em; }
.tier-mem span { margin-left: 2px; font-size: 0.4em; font-weight: 500; letter-spacing: 0; color: var(--dim); }
.tier-sub { margin-top: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.tier-sub .fn-ref { letter-spacing: 0; }
.tier-pill { order: -1; align-self: flex-start; margin-bottom: 14px; padding: 4px 11px; border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: 0.01em; color: var(--ink); white-space: nowrap; background: linear-gradient(180deg, #EDE6FF, #C3AEFF); box-shadow: 0 0 18px rgba(180, 156, 255, 0.45); }
.tier-me { border-color: rgba(201, 182, 255, 0.34); background: radial-gradient(90% 60% at 100% 0%, rgba(165, 139, 255, 0.22), transparent 70%), var(--glass); box-shadow: var(--glass-shadow), 0 0 80px -30px rgba(180, 156, 255, 0.55); }
.tier-me .tier-sub { color: var(--lav); }
/* The measured card is a full-width strip under the estimates: head | model | speeds. */
.tier-me { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.8fr); align-items: stretch; padding: 24px 28px; }
.me-head { display: flex; flex-direction: column; justify-content: center; }
.tier-me .tm { margin: 0; padding: 0 0 0 28px; border-top: 0; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.me-speeds { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding-left: 28px; border-left: 1px solid var(--line); }
.me-speed .tm-speed { margin-top: 0; }
.tm-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.tm { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.tm-alt { margin-left: 4px; font-size: 12.5px; font-weight: 400; letter-spacing: 0; color: var(--faint); white-space: nowrap; }
.tm-name { font-size: 17px; font-weight: 600; letter-spacing: -0.012em; }
.tm-q { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.tm-q span { padding: 1px 8px; border-radius: 99px; font-family: var(--mono); font-size: 11.5px; line-height: 1.6; color: var(--lav-light); background: rgba(201, 182, 255, 0.08); border: 1px solid rgba(201, 182, 255, 0.22); white-space: nowrap; }
.tm-q .tm-untested { font-family: var(--sans); font-weight: 500; color: var(--amber); background: none; border-color: rgba(255, 201, 122, 0.4); }
.tm-speed { margin-top: 14px; font-family: var(--mono); font-size: clamp(21px, 1.9vw, 25px); line-height: 1.2; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; word-spacing: -0.38em; }
.tm-speed small { margin-left: 2px; font-family: var(--sans); font-size: 13px; letter-spacing: 0; word-spacing: normal; color: var(--dim); }
.tm-speed-hi { color: var(--lav-light); text-shadow: 0 0 20px rgba(180, 156, 255, 0.5); }
.tm-speed-hi small { text-shadow: none; }
.tm-on { margin-top: 8px; font-size: 13px; color: var(--dim); }
.tm-note { margin-top: 2px; font-size: 13px; color: var(--amber); }
/* "est." is always shown in a dashed pill, so an estimate never reads as a measurement. */
.est { display: inline-block; margin-right: 7px; padding: 0 7px; border-radius: 99px; border: 1px dashed rgba(242, 238, 255, 0.42); font-family: var(--mono); font-size: 12px; font-weight: 500; line-height: 1.55; letter-spacing: 0; color: var(--dim); text-decoration: none; vertical-align: 0.3em; text-shadow: none; }
.tiers-legend .est { vertical-align: baseline; }
/* Range bars on one shared 0–60 tok/s scale: solid to the low end, hatched across the range. */
.rng { position: relative; display: block; height: 7px; margin-top: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4); }
.rng i { position: absolute; inset: 0 auto 0 0; width: calc(var(--to) / 75 * 100%); display: flex; transform-origin: left center; transform: scaleX(0.02); transition: transform 1.5s var(--ease) 0.35s; }
.js .tier.is-in .rng i { transform: scaleX(1); }
html:not(.js) .rng i { transform: none; }
.rng i::before { content: ""; width: calc(var(--from) / var(--to) * 100%); border-radius: 99px 0 0 99px; background: rgba(242, 238, 255, 0.2); }
.rng i::after { content: ""; flex: 1; border-radius: 0 99px 99px 0; background: rgba(242, 238, 255, 0.12); }
.rng-est i::after { background: repeating-linear-gradient(-45deg, rgba(201, 182, 255, 0.55) 0 3px, rgba(201, 182, 255, 0.14) 3px 6px); }
.rng-plain i::before { background: rgba(242, 238, 255, 0.34); }
.rng-plain i::after { background: rgba(242, 238, 255, 0.18); }
.rng-mtp i::before { background: linear-gradient(90deg, #8E70FF, #C9B6FF); box-shadow: 0 0 16px rgba(180, 156, 255, 0.5); }
.rng-mtp i::after { background: repeating-linear-gradient(-45deg, rgba(228, 218, 255, 0.8) 0 4px, rgba(201, 182, 255, 0.45) 4px 8px); }
/* keeps "3-bit" on one line (it broke as "3-" / "bit" at 390 px) */
.nw { white-space: nowrap; }
.models-notes { max-width: 860px; margin: 22px auto 0; }
.models-notes .footnote { margin: 0 auto; text-wrap: balance; }
.models-notes .footnote + .footnote { margin-top: 8px; }
.models-notes strong { color: var(--text); font-weight: 600; font-family: var(--mono); font-size: 0.95em; }
@media (max-width: 1000px) {
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "t16 t24" "t32 t24" "me me"; }
  .tm-pair { grid-template-columns: minmax(0, 1fr); }
  .tier-me { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); grid-template-areas: "head tm" "head sp"; }
  .me-head { grid-area: head; }
  .tier-me .tm { grid-area: tm; padding-bottom: 14px; }
  .me-speeds { grid-area: sp; }
}
@media (max-width: 600px) {
  .tiers { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t16" "t24" "t32" "me"; }
  .tier-me { display: flex; flex-direction: column; padding: 20px 18px 22px; }
  .tier-me .tm { margin-top: 18px; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .me-speeds { margin-top: 14px; padding-left: 0; border-left: 0; }
  .tiers-head { margin-bottom: 16px; }
  .tiers-legend { white-space: normal; }
  .tier { padding: 20px 18px 22px; }
}

/* ---------- privacy ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split-text { text-align: left; margin: 0; }
.split-text .lede { margin-left: 0; }
.feature-split h2 { font-size: clamp(56px, 9vw, 132px); }
.fine { margin-top: 24px; max-width: 520px; padding-left: 16px; border-left: 2px solid rgba(201, 182, 255, 0.35); font-size: 14.5px; line-height: 1.55; color: var(--dim); }
.privacy-card {
  padding: clamp(20px, 3vw, 32px);
  border-radius: 30px;
  background: radial-gradient(80% 60% at 100% 0%, rgba(165, 139, 255, 0.18), transparent 70%), var(--glass);
  border: 1px solid var(--line-strong);
  box-shadow: var(--glass-shadow), 0 0 100px -30px rgba(180, 156, 255, 0.4);
}
.pc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.pc-glyph { width: 62px; height: 33px; flex: none; overflow: visible; filter: drop-shadow(0 0 14px rgba(180, 156, 255, 0.5)); }
.pc-title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.pc-sub { margin-top: 2px; font-size: 14px; color: var(--dim); }
.pc-rows { margin: 0; }
.pc-rows > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 2px; border-top: 1px solid var(--line); }
.pc-rows dt { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--dim); white-space: nowrap; }
.pc-rows dt svg { width: 18px; height: 18px; color: var(--lav); flex: none; }
.pc-rows dd { margin: 0; font-size: 15px; text-align: right; }
.pc-rows .ok { color: var(--green); }
.pc-net { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); }
.pc-net-label { font-size: 14px; color: var(--dim); }
.seg { display: inline-flex; padding: 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.seg span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 99px; font-size: 13px; color: var(--dim); white-space: nowrap; }
.seg .is-on { color: var(--ink); background: linear-gradient(180deg, #EDE6FF, #C3AEFF); font-weight: 600; box-shadow: 0 0 16px rgba(180, 156, 255, 0.4); }
.seg svg { width: 14px; height: 14px; }

/* ---------- control ---------- */
.access-pill { margin-left: auto; padding: 0.45em 1em; border-radius: 99em; font-size: 0.92em; color: var(--lav-light); background: rgba(201, 182, 255, 0.08); border: 1px solid rgba(201, 182, 255, 0.3); white-space: nowrap; }
.stop-pill { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.45em 1em; border-radius: 99em; font-size: 0.92em; font-weight: 600; color: #FFB8B8; background: rgba(255, 138, 138, 0.12); border: 1px solid rgba(255, 138, 138, 0.35); white-space: nowrap; }
.stop-pill svg { width: 1.15em; height: 1.15em; }
.win-body-solo { grid-template-columns: minmax(0, 1fr); min-height: 25em; }
.win-dim .chat { opacity: 0.4; filter: blur(0.5px); }
.sheet {
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
  width: min(35em, 88%);
  padding: 1.7em 2em 1.6em;
  border-radius: 1.4em;
  background: linear-gradient(180deg, rgba(42, 40, 50, 0.97), rgba(28, 27, 34, 0.98));
  border: 1px solid var(--line-strong);
  box-shadow: 0 2.4em 6em rgba(0, 0, 0, 0.65), 0 0 0 0.5px rgba(201, 182, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 6em -1em rgba(180, 156, 255, 0.35);
}
.sheet-from { margin-bottom: 0.9em; text-align: center; font-size: 0.92em; color: var(--faint); }
.sheet-title { margin-bottom: 0.9em; font-size: 1.5em; font-weight: 600; letter-spacing: -0.012em; }
.sheet-now { margin-bottom: 0.25em; font-size: 1.1em; font-weight: 600; }
.sheet-path { margin-bottom: 1em; font-family: var(--mono); color: var(--lav-light); }
.sheet-body { margin-bottom: 1.4em; color: var(--dim); }
.sheet-actions { display: flex; justify-content: flex-end; gap: 0.7em; }
.sbtn { padding: 0.7em 1.3em; border-radius: 0.75em; font-weight: 600; background: rgba(255, 255, 255, 0.08); white-space: nowrap; }
.sbtn-primary { color: var(--ink); background: linear-gradient(180deg, #EDE6FF, #C3AEFF); box-shadow: 0 0 1.6em rgba(180, 156, 255, 0.5); }

/* ---------- agents ---------- */
.board { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.4em; font-size: clamp(8px, 1.3cqi, 15px); line-height: 1.45; text-align: left; }
.goal { padding: 1.4em 1.6em 1.6em; border-radius: 1.5em; background: var(--glass); border: 1px solid var(--line-strong); box-shadow: var(--glass-shadow); }
.goal-kicker { display: inline-flex; align-items: center; gap: 0.55em; margin-bottom: 1em; font-family: var(--mono); font-size: 0.85em; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lav); }
.goal-kicker svg { width: 1.3em; height: 1.3em; }
.goal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9em; }
.goal-grid > div { padding: 0.9em 1.1em; border-radius: 1em; background: rgba(0, 0, 0, 0.24); border: 1px solid var(--line); }
.goal-grid span { font-size: 0.78em; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.goal-grid p { margin-top: 0.35em; font-size: 1.05em; font-weight: 500; }
.goal-grid code { font-size: 0.92em; color: var(--lav-light); }
.threads { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2em; }
.thread { position: relative; padding: 1.3em 1.4em 1.4em; border-radius: 1.3em; background: var(--glass); border: 1px solid var(--line-strong); box-shadow: var(--glass-shadow); }
.thread::before { content: ""; position: absolute; left: 50%; top: -1.45em; height: 1.45em; border-left: 1px dashed rgba(201, 182, 255, 0.45); }
.th-role { display: flex; align-items: center; gap: 0.6em; font-size: 1.15em; font-weight: 600; }
.th-role i { width: 0.7em; height: 0.7em; border-radius: 50%; }
.r-m { background: var(--lav); box-shadow: 0 0 0.8em var(--lav); }
.r-w { background: var(--blue); box-shadow: 0 0 0.8em var(--blue); }
.r-r { background: var(--green); box-shadow: 0 0 0.8em var(--green); }
.th-task { margin: 0.3em 0 0.9em; font-size: 0.98em; color: var(--dim); }
.th-line { margin-top: 0.45em; padding: 0.55em 0.8em; border-radius: 0.65em; font-size: 0.95em; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.th-line code { font-size: 0.92em; }
.board-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8em; }
.mini-chip { display: inline-flex; align-items: center; gap: 0.55em; padding: 0.6em 1.1em; border-radius: 99em; font-size: 0.98em; font-weight: 500; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong); }
.mini-chip svg { width: 1.25em; height: 1.25em; color: var(--lav); }
.mini-chip small { font-size: 0.82em; font-weight: 400; color: var(--faint); }
.mini-chip-flow { border-color: rgba(201, 182, 255, 0.35); background: rgba(201, 182, 255, 0.08); }
@container (max-width: 640px) {
  .board { font-size: 3.1cqi; }
  .goal-grid, .threads { grid-template-columns: minmax(0, 1fr); }
  .thread::before { display: none; }
}

/* ---------- compare ---------- */
.compare .wrap { max-width: 1380px; }
.table-card { margin-top: clamp(40px, 5vw, 60px); border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)); border: 1px solid var(--line); }
.js .table-card[data-reveal] { filter: none; }
.table-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: rgba(201, 182, 255, 0.3) transparent; }
.table-scroll:focus-visible { outline-offset: -3px; border-radius: 26px; }
.ctable { width: 100%; min-width: 1180px; border-collapse: separate; border-spacing: 0; font-size: 13.5px; line-height: 1.4; }
.ctable caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ctable th, .ctable td { padding: 14px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ctable thead th { padding-top: 20px; font-size: 12px; font-weight: 600; line-height: 1.35; color: var(--dim); vertical-align: bottom; background: #17161B; }
.ctable tbody th { font-size: 14.5px; font-weight: 600; min-width: 156px; }
.ctable th:first-child { position: sticky; left: 0; z-index: 1; background: #141317; box-shadow: 1px 0 0 var(--line); }
.ctable thead th:first-child { z-index: 2; background: #17161B; }
.ctable tbody tr:last-child > * { border-bottom: 0; }
.ctable .n { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: var(--dim); }
.ctable td.txt { font-size: 13px; }
.v { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; white-space: nowrap; }
.v::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; }
.v-yes::before { background: var(--lav) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.4 8.3l2.3 2.3 4.9-4.9' fill='none' stroke='%23101012' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat; }
.v-partial::before { background: linear-gradient(90deg, var(--amber) 50%, transparent 50%); box-shadow: inset 0 0 0 1.5px var(--amber); }
.v-no { color: var(--dim); }
.v-no::before { box-shadow: inset 0 0 0 1.5px rgba(242, 238, 255, 0.35); background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M5 8h6' stroke='%23a9a5b3' stroke-width='1.8' stroke-linecap='round'/></svg>") center / 12px no-repeat; }
.v-unknown { color: var(--dim); }
.v-unknown::before { content: "?"; display: grid; place-items: center; font-size: 10px; font-weight: 600; color: var(--dim); box-shadow: inset 0 0 0 1.5px rgba(242, 238, 255, 0.28); }
.ctable .is-us > * { background: rgba(201, 182, 255, 0.075); }
.ctable .is-us th { background: #1E1A28; box-shadow: inset 3px 0 0 var(--lav), 1px 0 0 var(--line); }
.us-name { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; }
.us-name svg { width: 30px; height: 16px; overflow: visible; }
.scroll-hint { display: none; align-items: center; gap: 6px; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.scroll-hint svg { width: 14px; height: 14px; }
.compare-notes { max-width: 920px; margin: 24px auto 0; }
.compare-notes .footnote { max-width: none; text-align: left; margin: 0; }
.compare-notes .footnote strong { color: var(--text); font-weight: 600; }
.sources { margin-top: 16px; padding: 0 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.sources summary { display: flex; align-items: center; gap: 8px; padding: 13px 0; font-size: 14px; font-weight: 500; color: var(--lav-light); cursor: pointer; list-style: none; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary::before { content: "+"; width: 14px; font-family: var(--mono); color: var(--lav); }
.sources[open] summary::before { content: "−"; }
.sources ul { margin: 0 0 16px; padding-left: 18px; font-size: 13px; line-height: 1.75; color: var(--dim); }
.sources b { color: var(--text); font-weight: 600; }
.sources a { color: var(--lav-light); text-decoration: underline; text-decoration-color: rgba(201, 182, 255, 0.4); text-underline-offset: 2px; }
.sources a:hover { text-decoration-color: var(--lav); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 48px); margin: 0; text-align: left; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 2px; cursor: pointer; list-style: none; font-size: clamp(17px, 1.55vw, 21px); font-weight: 500; letter-spacing: -0.012em; border-radius: 10px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 22px; height: 22px; flex: none; color: var(--lav); transition: transform 0.4s var(--ease); }
.qa[open] summary svg { transform: rotate(45deg); }
.qa-body { padding: 0 2px 26px; max-width: 640px; font-size: 16px; line-height: 1.62; color: var(--dim); }
.qa-body p + p { margin-top: 12px; }
.qa-body .footnote { margin: 12px 0 0; text-align: left; font-size: 13px; }
@supports selector(::details-content) {
  .qa::details-content { block-size: 0; overflow: clip; transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
  .qa[open]::details-content { block-size: auto; }
}

/* ---------- download ---------- */
.download { padding: clamp(100px, 12vw, 180px) 0 clamp(80px, 10vw, 140px); }
.dl-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(52px, 8vw, 112px) 24px;
  border-radius: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  background: var(--dashes), radial-gradient(60% 70% at 50% 0%, rgba(165, 139, 255, 0.3), transparent 70%), linear-gradient(180deg, #1C1A24 0%, #121116 100%);
  background-size: 260px 260px, auto, auto;
}
.dl-aurora { position: absolute; left: 50%; top: 10%; width: 70%; aspect-ratio: 2 / 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(180, 156, 255, 0.26), transparent); filter: blur(30px); pointer-events: none; }
.dl-card > *:not(.dl-aurora) { position: relative; }
.dl-icon { width: 128px; height: 128px; margin: 0 auto 30px; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 40px rgba(180, 156, 255, 0.35)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-1deg); } }
.dl-card h2 { font-size: clamp(40px, 6.2vw, 88px); line-height: 1; letter-spacing: -0.048em; }
.dl-sub { margin: 22px auto 36px; max-width: 560px; font-size: clamp(16px, 1.4vw, 19px); color: var(--dim); text-wrap: pretty; }
.dl-meta { margin-top: 20px; font-family: var(--mono); font-size: 13px; color: var(--dim); }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; padding-top: 72px; border-top: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 100%, rgba(165, 139, 255, 0.1), transparent 70%); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.foot-brand p { margin-top: 16px; font-size: 15px; color: var(--dim); }
.foot-links { display: flex; flex-wrap: wrap; gap: clamp(40px, 7vw, 110px); }
.foot-h { margin-bottom: 16px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.foot-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-links a { font-size: 15px; text-decoration: none; color: var(--text); opacity: 0.88; transition: color 0.25s, opacity 0.25s; border-radius: 6px; }
.foot-links a:hover { color: var(--lav-light); opacity: 1; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }
.giant { margin-top: clamp(28px, 5vw, 64px); padding: 0 clamp(10px, 2vw, 28px); }
.giant svg { width: 100%; height: auto; aspect-ratio: 5232 / 1513; margin-bottom: -6%; overflow: visible; filter: drop-shadow(0 0 60px rgba(180, 156, 255, 0.18)); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scroll-hint { display: flex; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .site-nav { position: absolute; top: calc(var(--header-h) - 4px); left: 12px; right: 12px; margin: 0; display: none; padding: 8px; border-radius: 20px; background: rgba(24, 23, 28, 0.96); border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 13px 16px; font-size: 16px; border-radius: 12px; color: var(--text); }
  .header-actions { margin-left: auto; }
  .split, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-inner { padding: 0 14px; gap: 10px; }
  .brand-glyph { width: 40px; height: 21px; }
  .brand-word { width: 62px; height: 18px; }
  .btn-sm { padding: 0 14px; font-size: 14px; }
  .hero { padding-top: calc(var(--header-h) + 28px); padding-bottom: 64px; }
  .hero-ctas { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .eyebrow-chip { font-size: 12.5px; }
  .cards-3, .cards-4 { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px 20px 24px; }
  .bar-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; margin-bottom: 16px; }
  .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .bar-axis { margin: 2px 0 0; }
  .pc-rows > div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .pc-rows dd { text-align: left; padding-left: 28px; }
  .foot-links { gap: 28px 40px; }
  .chip { height: 48px; font-size: 15px; padding: 0 20px 0 16px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .js [data-reveal], .js [data-split] .w, .js .hero-seq { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .film-card, .tilt { transform: none !important; }
  .bar, .rng i { transform: none !important; transition: none !important; }
  .js .statement-text .fw { color: var(--text) !important; }
  .marquee { -webkit-mask: none; mask: none; flex-wrap: wrap; justify-content: center; padding: 0 20px; }
  .marquee-track { animation: none !important; flex-wrap: wrap; justify-content: center; flex: 1 1 100%; }
  .marquee-track[aria-hidden="true"], .marquee-rev { display: none; }
}

/* Download is not public yet: the CTA is a label, not a link. */
.btn[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; }

/* About: two-paragraph lede and a suggestion button under it. */
.about .lede + .lede { margin-top: 16px; }
.about-cta { margin-top: 28px; }
.about-card .pc-rows dd a { color: var(--lav); text-decoration: none; border-bottom: 1px solid rgba(201, 182, 255, 0.35); }
.about-card .pc-rows dd a:hover { border-bottom-color: var(--lav); }

/* Updates: dated posts, Antigravity "latest" cards. */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 56px; }
.post { position: relative; padding: 30px 30px 26px; border-radius: 24px; background: linear-gradient(180deg, rgba(34, 33, 41, 0.72), rgba(22, 21, 27, 0.82)); border: 1px solid var(--line); text-align: left; }
.post-meta { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--mono); font-size: 13px; color: var(--dim); }
.post-tag { padding: 3px 10px; border-radius: 999px; background: rgba(201, 182, 255, 0.12); color: var(--lav); font-family: var(--sans, inherit); font-size: 12.5px; }
.post-title { margin: 0 0 12px; font-size: clamp(21px, 2vw, 26px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
.post-body { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--dim); }
.post-body a, .post-links a { color: var(--lav); text-decoration: none; border-bottom: 1px solid rgba(201, 182, 255, 0.35); }
.post-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 18px 0 0; font-size: 15px; }
@media (max-width: 760px) { .posts { grid-template-columns: minmax(0, 1fr); } .post { padding: 24px 22px 22px; } }

.eyebrow-chip .chip-link { color: inherit; text-decoration: none; }
.eyebrow-chip .chip-link:hover { color: var(--lav); }

.speed-sub { margin: 6px 0 0; font-size: 14px; color: var(--dim); }
