/* OkComputer marketing site - built from the app's Glass design system.
   Tokens lifted from okc-react-frontend (tailwind.config.js + src/index.css):
   backdrop #0B0C10, surfaces #15161C/#1C1E26/#232631, ink #EEF1F4…#6B7280,
   frost hairlines at white/12.2%, accent = the app's default deep blue
   (#7AA2F7, lifted variant #9FBCF9), quintic ease cubic-bezier(.22,1,.36,1). */

:root {
  --backdrop: #0B0C10;
  --surface-1: #15161C;
  --surface-2: #1C1E26;
  --surface-3: #232631;
  --ink: #EEF1F4;
  --ink-2: #C8CCD3;
  --ink-muted: #9BA0AA;
  --ink-faint: #6B7280;
  --accent: 122 162 247;     /* #7AA2F7 */
  --accent-2: 159 188 249;   /* #9FBCF9 */
  --jade: 106 212 163;       /* #6AD4A3 */
  --sky: 130 200 229;        /* #82C8E5 */
  --frost: rgba(255, 255, 255, 0.122);
  --frost-strong: rgba(255, 255, 255, 0.2);
  --quint: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-float: 0 18px 60px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08);
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; color-scheme: dark; }

body {
  background: var(--backdrop);
  color: var(--ink);
  font-family: "Segoe UI Variable", "Segoe UI", Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(var(--jade) / 0.32); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.16); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.34); }

a { color: inherit; text-decoration: none; }

/* ── ambient backdrop ───────────────────────────────────────────────────── */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora i {
  position: absolute; display: block; border-radius: 999px;
  filter: blur(120px); will-change: transform;
  animation: drift 26s var(--quint) infinite alternate;
}
.aurora .a1 { left: -15%; top: -20%; width: 55vh; height: 55vh; background: rgba(var(--jade) / 0.20); }
.aurora .a2 { right: -10%; top: 8%; width: 50vh; height: 50vh; background: rgba(var(--accent) / 0.18); animation-delay: -7s; }
.aurora .a3 { left: 35%; bottom: -20%; width: 45vh; height: 45vh; background: rgba(var(--sky) / 0.12); filter: blur(130px); animation-delay: -14s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(6vw, 4vh) scale(1.15); }
}
.aurora::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, transparent 50%, rgba(0,0,0,.45));
}
.grid-tex {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .025;
  background-image:
    linear-gradient(rgba(255,255,255,.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.8) 1px, transparent 1px);
  background-size: 46px 46px;
}

/* ── nav ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 28px;
  border-bottom: 1px solid transparent;
  transition: background .36s var(--quint), border-color .36s var(--quint), padding .36s var(--quint);
}
.nav.scrolled {
  background: rgba(19, 20, 26, 0.8);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--frost);
  padding: 10px 28px;
}
.brand { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.brand .mark { flex-shrink: 0; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 6px 13px; border-radius: 999px;
  font-size: 13px; color: var(--ink-muted);
  transition: color .22s var(--quint), background .22s var(--quint);
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.06); }

/* ── buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 24px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; letter-spacing: .005em;
  cursor: pointer; white-space: nowrap;
  transition: transform .22s var(--quint), box-shadow .22s var(--quint), filter .22s var(--quint), background .22s var(--quint), border-color .22s var(--quint);
}
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: scale(.97); }
.btn-accent {
  background: linear-gradient(135deg, rgb(var(--accent-2)), rgb(var(--accent)));
  color: var(--backdrop);
  box-shadow: 0 0 18px rgba(var(--accent) / 0.25), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-accent:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 0 1px rgba(var(--accent) / 0.35), 0 8px 32px rgba(var(--accent) / 0.28);
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1px solid var(--frost);
  background: rgba(255,255,255,.04);
  color: var(--ink-2);
}
.btn-ghost:hover { border-color: rgba(var(--accent) / 0.4); color: var(--ink); transform: translateY(-1px); }
.btn-sm { padding: 8px 17px; font-size: 13px; }
.btn-lg { padding: 15px 32px; font-size: 16px; }

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: 150px 28px 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(440px, 7fr) minmax(320px, 5fr);
  gap: 64px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 15px; border-radius: 999px;
  border: 1px solid var(--frost);
  background: rgba(28, 30, 38, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  font-size: 12.5px; font-weight: 500; color: var(--ink-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.hero-kicker .dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: rgb(var(--accent));
  box-shadow: 0 0 12px rgba(var(--accent) / 0.8);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.hero-title {
  margin: 26px 0 0;
  font-size: clamp(42px, 5.6vw, 74px);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.028em;
}
.hero-title .grad {
  background: linear-gradient(120deg, rgb(var(--accent-2)), rgb(var(--accent)) 55%, rgb(var(--sky)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 640px; margin: 24px 0 0;
  font-size: 16px; line-height: 1.72;
  color: var(--ink-muted);
}
.hero-cta { display: flex; gap: 14px; margin-top: 32px; }

/* floating glass facts on the hero's right */
.hero-side {
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.side-card {
  border-radius: 16px;
  border: 1px solid var(--frost);
  background: rgba(28, 30, 38, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: var(--shadow-float);
  padding: 18px 20px;
  animation: floaty 7s ease-in-out infinite alternate;
}
.card-engines { margin-right: 26px; }
.card-models { margin-left: 34px; animation-delay: -2.4s; }
.card-files { margin-right: 12px; animation-delay: -4.6s; }
@keyframes floaty {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}
.side-label {
  display: block;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint);
}
.engine-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.engine-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px 5px 6px; border-radius: 999px;
  border: 1px solid var(--frost);
  background: rgba(255,255,255,.03);
  font-size: 12.5px; font-weight: 600; color: var(--ink-muted);
  transition: border-color .45s var(--quint), background .45s var(--quint), color .45s var(--quint), box-shadow .45s var(--quint);
}
.engine-chip .eng-logo {
  display: grid; place-items: center;
  width: 19px; height: 19px; border-radius: 6px;
  background: rgba(255,255,255,.07);
  font-style: normal; font-size: 10px; font-weight: 700; color: var(--ink-2);
  transition: inherit;
}
.engine-chip.is-on {
  border-color: rgba(var(--accent) / 0.55);
  background: rgba(var(--accent) / 0.16);
  color: rgb(var(--accent-2));
  box-shadow: 0 0 16px rgba(var(--accent) / 0.22);
}
.engine-chip.is-on .eng-logo { background: rgba(var(--accent) / 0.25); color: rgb(var(--accent-2)); }
.side-foot { display: block; margin-top: 11px; font-size: 11.5px; color: var(--ink-faint); }
.side-num {
  display: block;
  font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -0.02em;
  background: linear-gradient(120deg, rgb(var(--accent-2)), rgb(var(--accent)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.side-cap { display: block; margin-top: 5px; font-size: 13px; color: var(--ink-muted); }
.side-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.side-tags span {
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--frost);
  font-size: 11px; color: var(--ink-muted);
}
.file-row {
  display: flex; align-items: center; gap: 9px;
  margin-top: 10px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 11.5px; color: var(--ink-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.file-row svg { width: 13px; height: 13px; flex-shrink: 0; color: rgb(var(--accent)); }

.hero-stage { position: relative; margin-top: 72px; }
.stage-glow {
  position: absolute; left: 50%; top: -8%;
  width: 92%; height: 110%;
  transform: translateX(-50%);
  background: radial-gradient(55% 55% at 50% 38%, rgba(var(--accent) / 0.16), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* ── demo frames ────────────────────────────────────────────────────────── */
.frame {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--frost);
  background: var(--backdrop);
  box-shadow: var(--shadow-float), 0 0 80px rgba(var(--accent) / 0.07);
  overflow: hidden;
}
.frame::before { /* lit-top hairline, same trick as the app's panels */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  pointer-events: none;
}
.live-pill {
  position: absolute; right: 12px; top: 12px; z-index: 4;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--frost);
  background: rgba(11, 12, 16, 0.78);
  backdrop-filter: blur(12px);
  font-size: 10.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--ink-2); text-transform: uppercase;
  pointer-events: none;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: rgb(var(--jade));
  box-shadow: 0 0 10px rgba(var(--jade) / 0.9);
  animation: pulse 1.8s ease-in-out infinite;
}
/* demo apps render at a fixed 1280×800 logical size and CSS-scale to the frame,
   so the UI inside always lays out like the desktop app */
.scaler { position: relative; width: 100%; aspect-ratio: 1280 / 800; overflow: hidden; }
.scaler iframe {
  position: absolute; left: 0; top: 0;
  width: 1280px; height: 800px; border: 0;
  transform: scale(var(--s, 1));
  transform-origin: top left;
  background: var(--backdrop);
  pointer-events: auto; /* the demo is interactive: chips drive it, and direct clicks work too */
}
/* exported demo video (preferred when present; iframe is the fallback) */
.scaler video {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  background: var(--backdrop);
}
.scaler.has-video iframe { display: none; }
.scaler:not(.has-video) video { display: none; }
/* self-contained HTML replay: the file scales itself, so the iframe just fills */
.scaler.has-html iframe {
  width: 100%; height: 100%;
  transform: none;
}

/* ── feature sections ───────────────────────────────────────────────────── */
.feature {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 90px 28px;
  display: grid;
  grid-template-columns: minmax(320px, 5fr) minmax(380px, 7fr);
  gap: 56px;
  align-items: center;
  scroll-margin-top: 80px;
}
.feature.flip .feature-text { order: 2; }
.feature.flip .feature-demo { order: 1; }

/* wide variant: text on top, full-width demo below - used where the app UI is
   dense (sessions, fork tree) and needs the room to be legible */
.feature-wide { display: block; }
.feature-wide .feature-text { max-width: 780px; }
.feature-wide .feature-demo { margin-top: 36px; }
.feature-wide .facts {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 28px;
}

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px; border-radius: 999px;
  border: 1px solid rgba(var(--accent) / 0.4);
  background: rgba(var(--accent) / 0.18);
  color: rgb(var(--accent-2));
  font-size: 12px; font-weight: 600; letter-spacing: .03em;
}
.kicker svg { width: 13px; height: 13px; }

.feature-text h2 {
  margin-top: 18px;
  font-size: clamp(27px, 3.1vw, 36px);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -0.022em;
}
.feature-text p {
  margin-top: 16px;
  font-size: 15px; line-height: 1.74;
  color: var(--ink-muted);
}
.facts { margin-top: 20px; list-style: none; display: grid; gap: 9px; }
.facts li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px; line-height: 1.55;
  color: var(--ink-2);
}
.facts li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 16px; height: 16px; border-radius: 5px;
  background: rgba(var(--accent) / 0.18) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%239FBCF9" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / 10px no-repeat;
  border: 1px solid rgba(var(--accent) / 0.3);
}

/* ── closing CTA ────────────────────────────────────────────────────────── */
.closing { max-width: var(--maxw); margin: 0 auto; padding: 70px 28px 110px; }
.closing-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--frost);
  background: rgba(21, 22, 28, 0.78);
  backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: var(--shadow-float);
  padding: 68px 32px;
  text-align: center;
  overflow: hidden;
}
.closing-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent) / 0.5), transparent);
}
.closing-glow {
  position: absolute; left: 50%; top: 0;
  width: 70%; height: 100%;
  transform: translateX(-50%);
  background: radial-gradient(50% 60% at 50% 0%, rgba(var(--accent) / 0.13), transparent 70%);
  pointer-events: none;
}
.closing-card h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 650;
  letter-spacing: -0.024em;
}
.closing-card p {
  max-width: 560px; margin: 14px auto 30px;
  font-size: 15px; line-height: 1.7;
  color: var(--ink-muted);
}
.closing-note { display: block; margin-top: 16px; font-size: 12px; color: var(--ink-faint); }

/* ── legal pages (terms, privacy) ───────────────────────────────────────── */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 130px 28px 90px;
}
.legal h1 {
  font-size: clamp(32px, 4.4vw, 46px);
  font-weight: 650;
  letter-spacing: -0.024em;
}
.legal-meta { margin: 10px 0 30px; font-size: 13px; color: var(--ink-faint); }
.legal h2 {
  margin: 38px 0 0;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.legal p { margin-top: 13px; font-size: 14.5px; line-height: 1.75; color: var(--ink-muted); }
.legal ul { margin: 13px 0 0 5px; padding-left: 18px; display: grid; gap: 8px; }
.legal li { font-size: 14.5px; line-height: 1.65; color: var(--ink-muted); }
.legal li strong, .legal p strong { color: var(--ink-2); font-weight: 600; }
.legal a { color: rgb(var(--accent-2)); }
.legal a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── footer ─────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--frost); background: rgba(15, 16, 21, 0.6); }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 26px 28px;
  font-size: 12.5px; color: var(--ink-faint);
}
.brand-sm { font-size: 13px; color: var(--ink-2); }
.footer-sep { flex: 1; }
.footer-inner a:hover { color: var(--ink-2); }

/* ── changelog ──────────────────────────────────────────────────────────── */
.changelog-main { max-width: 880px; }
.changelog { display: grid; gap: 16px; margin-top: 36px; }
.cl-entry {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 26px;
  padding: 26px 28px;
  background: rgba(28, 30, 38, 0.55);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--frost);
  border-radius: 16px;
  box-shadow: var(--shadow-float);
}
.cl-meta { display: flex; flex-direction: column; gap: 5px; }
.cl-version { font-size: 15px; font-weight: 650; color: var(--ink); letter-spacing: -0.01em; }
.cl-date { font-size: 12.5px; color: var(--ink-faint); }
.cl-body h3 { font-size: 17px; font-weight: 650; color: var(--ink); letter-spacing: -0.012em; }
.cl-lead { margin-top: 12px; font-size: 14.5px; line-height: 1.7; color: var(--ink-muted); }
.cl-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 11px; }
.cl-list li { font-size: 14px; line-height: 1.6; color: var(--ink-muted); display: flex; gap: 10px; align-items: baseline; }
.cl-list li strong { color: var(--ink-2); font-weight: 600; }
.cl-tag {
  flex-shrink: 0; font-size: 9.5px; font-weight: 650; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 3px 8px; border-radius: 999px; line-height: 1;
  position: relative; top: 1px;
}
.cl-tag--new { color: rgb(var(--accent-2)); background: rgba(var(--accent) / 0.14); border: 1px solid rgba(var(--accent) / 0.3); }
.cl-tag--imp { color: rgb(var(--sky)); background: rgba(var(--sky) / 0.13); border: 1px solid rgba(var(--sky) / 0.28); }
.cl-tag--fix { color: rgb(var(--jade)); background: rgba(var(--jade) / 0.13); border: 1px solid rgba(var(--jade) / 0.28); }
@media (max-width: 620px) {
  .cl-entry { grid-template-columns: 1fr; gap: 12px; padding: 22px 20px; }
  .cl-meta { flex-direction: row; align-items: baseline; gap: 10px; }
}

/* ── entrance animations ────────────────────────────────────────────────── */
.rise {
  opacity: 0;
  transform: translateY(22px);
  animation: rise .9s var(--quint) forwards;
  animation-delay: var(--d, 0s);
}
.hero-title .rise { display: inline-block; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .85s var(--quint), transform .85s var(--quint);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .feature { grid-template-columns: 1fr; gap: 34px; padding: 64px 24px; }
  .feature.flip .feature-text { order: 1; }
  .feature.flip .feature-demo { order: 2; }
  .feature-wide { display: block; }
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-side { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .hero-side .side-card { margin: 0; flex: 1 1 260px; }
}
@media (max-width: 620px) {
  .hero { padding-top: 120px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora i, .hero-kicker .dot, .live-dot, .side-card { animation: none; }
  .rise { animation-duration: .01s; }
  .reveal { transition-duration: .01s; }
}

/* ── hero: demo-forward single column ─────────────────────────────────────── */
.hero { display: block; }
.hero-copy { max-width: 840px; margin: 0 auto; text-align: center; }
.hero-sub { margin-left: auto; margin-right: auto; }
.hero-cta { justify-content: center; }
.hero-trial { margin-top: 18px; font-size: 14px; line-height: 1.6; font-weight: 600; color: rgb(var(--accent-2)); }
.hero-stage { margin-top: 56px; }

/* ── interactive demo chips ──────────────────────────────────────────────── */
.demo-chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px; margin-top: 20px; }
.feature-demo .demo-chips { justify-content: flex-start; margin-top: 16px; }
.demo-chips-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); margin-right: 2px;
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--frost);
  background: rgba(255,255,255,.04);
  color: var(--ink-2); font-size: 13px; font-weight: 600; font-family: inherit;
  cursor: pointer;
  transition: transform .2s var(--quint), border-color .2s var(--quint), background .2s var(--quint), color .2s var(--quint), box-shadow .2s var(--quint);
}
.chip:hover { border-color: rgba(var(--accent) / 0.45); color: var(--ink); transform: translateY(-1px); }
.chip:active { transform: scale(.97); }
.chip.is-active {
  border-color: rgba(var(--accent) / 0.55);
  background: rgba(var(--accent) / 0.16);
  color: rgb(var(--accent-2));
  box-shadow: 0 0 16px rgba(var(--accent) / 0.2);
}
.demo-cap { margin-top: 14px; font-size: 12.5px; line-height: 1.55; color: var(--ink-faint); }
.demo-chips + .demo-cap { text-align: center; }
.demo-cap--inline { margin-top: 18px; color: var(--ink-muted); }

/* ── differentiation grid ────────────────────────────────────────────────── */
.why { max-width: var(--maxw); margin: 0 auto; padding: 84px 28px 24px; }
.why-head { max-width: 760px; }
.why-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 650; letter-spacing: -0.022em; line-height: 1.16; }
.why-head p { margin-top: 16px; font-size: 15.5px; line-height: 1.74; color: var(--ink-muted); }
.why-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card {
  border-radius: 16px; border: 1px solid var(--frost);
  background: rgba(28, 30, 38, 0.5);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: var(--shadow-float);
  padding: 24px 22px;
}
.why-ic {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: rgba(var(--accent) / 0.14); border: 1px solid rgba(var(--accent) / 0.3);
  color: rgb(var(--accent-2)); margin-bottom: 14px;
}
.why-ic svg { width: 20px; height: 20px; }
.why-card h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.why-card p { margin-top: 9px; font-size: 14px; line-height: 1.66; color: var(--ink-muted); }
@media (max-width: 1020px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ── scrollytelling: scrolling descriptions + a pinned demo ───────────────── */
.scrolly { max-width: 1600px; margin: 0 auto; padding: 8px 32px 28px; }
.scrolly-intro { max-width: 680px; margin: 0 auto 8px; text-align: center; }
.scrolly-intro h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 650; letter-spacing: -0.022em; line-height: 1.14; }
.scrolly-intro p { margin-top: 14px; font-size: 15.5px; line-height: 1.7; color: var(--ink-muted); }
.scrolly-grid {
  display: grid;
  grid-template-columns: minmax(290px, 1fr) minmax(0, 1.78fr);
  gap: 40px;
  align-items: start;
}
.scrolly-rail { display: flex; flex-direction: column; }
.scrolly-step {
  min-height: 82vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 4vh 0;
  opacity: 0.32;
  transition: opacity 0.45s var(--quint);
}
.scrolly-step.active { opacity: 1; }
.scrolly-step h2 {
  margin-top: 16px;
  font-size: clamp(25px, 2.8vw, 36px); font-weight: 650;
  letter-spacing: -0.022em; line-height: 1.16;
}
.scrolly-step p { margin-top: 16px; font-size: 16px; line-height: 1.74; color: var(--ink-muted); max-width: 470px; }
.scrolly-step .step-note { margin-top: 14px; font-size: 13px; color: var(--ink-faint); max-width: 460px; }
.scrolly-stage {
  position: sticky; top: 86px;
  height: calc(100vh - 130px); min-height: 380px;
  display: flex; align-items: center;
}
/* size the demo to the panel: capped by the column width and by the stage height
   (so it never overflows). */
.scrolly-stage .frame { width: min(100%, calc((100vh - 170px) * 1.6)); margin-inline: auto; }
/* progress dots down the left edge of the pinned demo */
.scrolly-dots { display: flex; flex-direction: column; gap: 9px; margin-right: 2px; }
@media (max-width: 1020px) {
  .scrolly { padding-top: 0; }
  .scrolly-grid { grid-template-columns: 1fr; gap: 0; }
  .scrolly-stage { order: -1; position: sticky; top: 60px; height: auto; min-height: 0; margin-bottom: 4px; }
  .scrolly-step { min-height: 0; padding: 30px 0; opacity: 1; }
  .scrolly-step:not(:last-child) { border-bottom: 1px solid var(--frost); }
}

/* ── hero visual polish ───────────────────────────────────────────────────── */
.hero { position: relative; padding-top: 134px; padding-bottom: 26px; overflow: visible; }
.hero-spot {
  position: absolute; left: 50%; top: 3%; transform: translateX(-50%);
  width: min(960px, 94%); height: 580px; z-index: -1; pointer-events: none;
  background: radial-gradient(48% 50% at 50% 42%, rgba(var(--accent) / 0.28), rgba(var(--accent) / 0.08) 46%, transparent 72%);
  filter: blur(14px);
  animation: heroPulse 7s ease-in-out infinite alternate;
}
@keyframes heroPulse {
  from { opacity: .72; transform: translateX(-50%) scale(.98); }
  to   { opacity: 1;   transform: translateX(-50%) scale(1.05); }
}

.hero-title { text-shadow: 0 1px 44px rgba(var(--accent) / 0.22); }
.hero-logos { margin-top: 42px; display: flex; flex-direction: column; align-items: center; gap: 13px; }
.hero-logos-label { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.logo-chip {
  padding: 8px 17px; border-radius: 999px; border: 1px solid var(--frost);
  background: rgba(255, 255, 255, 0.035); color: var(--ink-2);
  font-size: 13.5px; font-weight: 600;
  transition: border-color .25s var(--quint), color .25s var(--quint), transform .25s var(--quint);
}
.logo-chip:hover { border-color: rgba(var(--accent) / 0.4); color: var(--ink); transform: translateY(-1px); }
.logo-chip.more { color: rgb(var(--accent-2)); border-color: rgba(var(--accent) / 0.35); background: rgba(var(--accent) / 0.1); }
.hero-scrollcue {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  margin-top: 44px; color: var(--ink-faint);
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.hero-scrollcue:hover { color: var(--ink-2); }
.hero-scrollcue svg { width: 19px; height: 19px; animation: cueBounce 1.8s var(--quint) infinite; }
@keyframes cueBounce { 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(5px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-spot, .hero-scrollcue svg { animation: none; } }
