/* ============================================================
   SOCIAL GEAR → design system
   Warm-dark · orange/coral accent · grotesque + mono
   ============================================================ */

:root {
  /* --- surfaces (warm near-black) --- */
  --bg-0: oklch(0.155 0.012 52);   /* deepest page bg */
  --bg-1: oklch(0.185 0.013 54);   /* panel */
  --bg-2: oklch(0.215 0.014 56);   /* raised card */
  --bg-3: oklch(0.255 0.015 58);   /* hover / inset */
  --line: oklch(0.30 0.014 56);    /* hairline border */
  --line-soft: oklch(0.26 0.013 56);

  /* --- text --- */
  --tx-hi: oklch(0.965 0.006 75);
  --tx-mid: oklch(0.74 0.012 68);
  --tx-dim: oklch(0.56 0.013 62);
  --tx-faint: oklch(0.44 0.012 60);

  /* --- accents (shared L/C, hue varies) --- */
  --acc: oklch(0.72 0.18 45);      /* warm orange → primary */
  --acc-2: oklch(0.72 0.18 25);    /* coral → data-viz sibling */
  --acc-3: oklch(0.78 0.16 70);    /* amber → sparing third for charts */
  --acc-ink: oklch(0.20 0.04 45);  /* text on accent fills */
  --acc-glow: oklch(0.72 0.18 45 / 0.35);

  /* --- type --- */
  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* --- metrics --- */
  --maxw: 1240px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--tx-mid);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* faint global grid texture sitting behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, oklch(0.30 0.014 56 / 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.30 0.014 56 / 0.10) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 35%, transparent 78%);
}

::selection { background: var(--acc); color: var(--acc-ink); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; z-index: 1; padding-block: clamp(72px, 11vw, 150px); }
.section--tight { padding-block: clamp(48px, 7vw, 92px); }

/* ---------- type helpers ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--tx-hi); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; margin: 0; }
.display { font-size: clamp(2.6rem, 6.4vw, 5.1rem); font-weight: 700; letter-spacing: -0.035em; }
.h-sec { font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -0.03em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.32rem); color: var(--tx-mid); line-height: 1.55; }
.tx-hi { color: var(--tx-hi); }
.acc { color: var(--acc); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--acc);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--acc);
  opacity: 0.7;
}
.eyebrow--center::before { display: none; }

.kicker {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tx-dim);
}

/* mono index numbers like 01 / 02 */
.idx { font-family: var(--f-mono); color: var(--acc); font-size: 0.82rem; letter-spacing: 0.1em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-body); font-weight: 600; font-size: 0.96rem;
  padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent; transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--acc); color: var(--acc-ink); box-shadow: 0 0 0 0 var(--acc-glow); }
.btn--primary:hover { box-shadow: 0 8px 34px -8px var(--acc-glow); transform: translateY(-1px); filter: brightness(1.05); }
.btn--ghost { background: transparent; color: var(--tx-hi); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--acc); color: var(--acc); }
.btn--block { width: 100%; justify-content: center; }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* link with arrow */
.tlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.05em;
  color: var(--tx-hi); text-transform: uppercase;
  border-bottom: 1px solid var(--line); padding-bottom: 3px;
  transition: all 0.22s var(--ease);
}
.tlink:hover { color: var(--acc); border-color: var(--acc); }
.tlink .arr { transition: transform 0.22s var(--ease); }
.tlink:hover .arr { transform: translateX(3px); }

/* ---------- tag / chip ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.04em;
  color: var(--tx-mid); background: var(--bg-1);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 13px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); flex: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: oklch(0.155 0.012 52 / 0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line-soft);
}
.nav__inner { width: 100%; max-width: var(--maxw); padding: 15px var(--gutter); display: flex; align-items: center; gap: 28px; box-sizing: border-box; }

.logo { display: flex; align-items: center; gap: 11px; font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; color: var(--tx-hi); letter-spacing: -0.02em; white-space: nowrap; flex: none; }
.logo__mark {
  width: 26px; height: 26px; border-radius: 7px; flex: none; position: relative;
  background: var(--acc); display: grid; place-items: center;
  box-shadow: 0 0 22px -4px var(--acc-glow);
}
.logo__mark::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--acc-ink); transform: rotate(45deg); }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex-wrap: nowrap; }
.nav__item { position: relative; }
.nav__item--product::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 9px 14px; border-radius: 9px; font-size: 0.93rem; font-weight: 500;
  color: var(--tx-mid); transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--tx-hi); background: var(--bg-1); }
.nav__caret { width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-1px); transition: transform 0.25s var(--ease); opacity: 0.7; }
.nav__item.open .nav__caret { transform: rotate(225deg) translateY(-1px); }

.nav__spacer { flex: 1; }
.nav__cta { display: flex; align-items: center; gap: 12px; }

/* dropdown */
.dropdown {
  position: absolute; top: 100%; margin-top: 12px; left: 50%; transform: translateX(-50%) translateY(8px);
  width: 560px; max-width: 80vw;
  background: oklch(0.185 0.013 54 / 0.97); backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  box-shadow: 0 30px 70px -30px #000;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
}
.nav__item.open .dropdown,
.nav__item--product:hover .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dd-item { display: flex; align-items: flex-start; gap: 13px; padding: 13px; border-radius: var(--radius-sm); transition: background 0.18s; }
.dd-item:hover { background: var(--bg-3); }
.dd-item__ico { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line); }
.dd-item:hover .dd-item__ico { border-color: var(--acc); }
.dd-item > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dd-item__t { display: block; font-family: var(--f-display); font-weight: 600; font-size: 0.95rem; color: var(--tx-hi); }
.dd-item__d { display: block; font-size: 0.8rem; color: var(--tx-dim); line-height: 1.4; }

/* mobile nav toggle */
.nav__burger { display: none; width: 42px; height: 42px; flex: none; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-1); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__burger span { width: 17px; height: 1.6px; background: var(--tx-hi); transition: 0.25s; }

@media (max-width: 940px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { gap: 12px; }
  .nav__cta { gap: 8px; }
  .nav__cta .btn--primary { padding: 10px 14px; font-size: 0.86rem; white-space: nowrap; }
}
@media (max-width: 420px) {
  .nav__cta .btn--primary .arr { display: none; }
  .nav__cta .btn--primary { padding: 9px 12px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: 90px; }
#hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 30% 38%, transparent 30%, oklch(0.155 0.012 52 / 0.55) 100%),
    linear-gradient(to bottom, oklch(0.155 0.012 52 / 0.3) 0%, transparent 25%, transparent 55%, var(--bg-0) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero h1 { margin: 22px 0 0; max-width: 14ch; }
.hero__sub { margin-top: 26px; max-width: 48ch; }
.hero__cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.hero__stats { display: flex; gap: 34px; margin-top: 54px; flex-wrap: wrap; }
.stat__n { font-family: var(--f-display); font-weight: 700; font-size: 1.9rem; color: var(--tx-hi); letter-spacing: -0.02em; }
.stat__l { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx-dim); margin-top: 2px; }

/* hero console chip stack (right side) */
.hero__panel { display: flex; flex-direction: column; gap: 10px; }
.hp-card {
  display: flex; align-items: center; gap: 14px;
  background: oklch(0.185 0.013 54 / 0.6); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 17px; transition: transform 0.3s var(--ease), border-color 0.3s;
}
.hp-card:hover { transform: translateX(-6px); border-color: var(--acc); }
.hp-card__n { font-family: var(--f-mono); font-size: 0.74rem; color: var(--acc); }
.hp-card__t { font-family: var(--f-display); font-weight: 600; color: var(--tx-hi); font-size: 1rem; }
.hp-card__d { font-size: 0.8rem; color: var(--tx-dim); }
.hp-card__bar { margin-left: auto; width: 3px; align-self: stretch; border-radius: 3px; background: linear-gradient(var(--acc), var(--acc-2)); opacity: 0.5; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__panel { display: none; }
}

/* ============================================================
   MARQUEE / SOCIAL PROOF
   ============================================================ */
.proof { border-block: 1px solid var(--line-soft); background: oklch(0.165 0.012 52 / 0.6); }
.proof__inner { display: flex; align-items: center; gap: 30px; padding-block: 26px; }
.proof__label { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx-dim); white-space: nowrap; flex: none; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marq 34s linear infinite; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }
.logo-ph { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: var(--tx-dim); letter-spacing: -0.01em; opacity: 0.7; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.logo-ph::before { content: ""; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--tx-faint); }
@media (max-width: 760px) { .proof__label { display: none; } }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .h-sec { margin-top: 18px; }
.sec-head p { margin-top: 20px; }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.tab-mess { display: flex; flex-wrap: wrap; gap: 8px; }
.tab-chip {
  font-family: var(--f-mono); font-size: 0.76rem; color: var(--tx-dim);
  border: 1px dashed var(--line); border-radius: 8px; padding: 9px 13px;
  display: flex; align-items: center; gap: 8px; background: var(--bg-1);
  transition: 0.3s var(--ease);
}
.tab-chip .x { color: var(--acc-2); font-weight: 700; }
.reveal .tab-chip:hover { transform: rotate(-1.5deg); border-color: var(--acc-2); }
.arrow-merge { display: flex; align-items: center; gap: 12px; margin: 26px 0; font-family: var(--f-mono); font-size: 0.78rem; color: var(--acc); letter-spacing: 0.1em; }
.arrow-merge .ln { flex: 1; height: 1px; background: linear-gradient(to right, var(--line), var(--acc)); }
.one-box {
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--acc); border-radius: var(--radius);
  padding: 18px 20px; display: flex; align-items: center; gap: 14px;
  box-shadow: 0 0 50px -20px var(--acc-glow);
}

/* ============================================================
   FOUR CONSOLES SHOWCASE
   ============================================================ */
.consoles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cons-card {
  position: relative; background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px; overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.cons-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px 240px at var(--mx,50%) var(--my,0%), oklch(0.72 0.18 45 / 0.10), transparent 70%);
  opacity: 0; transition: opacity 0.35s;
}
.cons-card:hover { transform: translateY(-5px); border-color: oklch(0.72 0.18 45 / 0.55); background: var(--bg-2); }
.cons-card:hover::after { opacity: 1; }
.cons-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.cons-card__glyph { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-3); display: grid; place-items: center; }
.cons-card h3 { font-size: 1.45rem; margin-bottom: 8px; }
.cons-card__d { font-size: 0.95rem; color: var(--tx-mid); margin-bottom: 20px; }
.cons-card__feats { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 7px; }
.cons-card__feats li { font-family: var(--f-mono); font-size: 0.7rem; color: var(--tx-dim); border: 1px solid var(--line-soft); border-radius: 6px; padding: 5px 9px; }
.cons-card.feature-lead { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: center; }
.cons-card.feature-lead .lead-viz { align-self: stretch; }

@media (max-width: 820px) {
  .consoles-grid { grid-template-columns: 1fr; }
  .cons-card.feature-lead { grid-column: auto; grid-template-columns: 1fr; }
}

/* glyph primitives (simple shapes only, no illustrative SVG) */
.glyph { --gc: var(--acc); }
.glyph i { display: block; background: var(--gc); }

/* ============================================================
   CONSOLE DEEP-DIVE
   ============================================================ */
.deep { position: relative; }
.deep + .deep { border-top: 1px solid var(--line-soft); }
.deep__grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.deep--flip .deep__grid { direction: rtl; }
.deep--flip .deep__grid > * { direction: ltr; }
.deep__copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-top: 16px; }
.deep__copy p { margin-top: 18px; max-width: 46ch; }
.feat-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.feat-list li { background: var(--bg-1); padding: 13px 16px; display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--tx-mid); transition: background 0.2s; }
.feat-list li:hover { background: var(--bg-2); }
.feat-list .fi { width: 20px; height: 20px; flex: none; border-radius: 6px; background: oklch(0.72 0.18 45 / 0.16); border: 1px solid oklch(0.72 0.18 45 / 0.4); display: grid; place-items: center; margin-top: 1px; }
.feat-list .fi::before { content: ""; width: 7px; height: 4px; border-left: 1.6px solid var(--acc); border-bottom: 1.6px solid var(--acc); transform: rotate(-45deg) translate(0px,-1px); }
.deep__pricing { margin-top: 28px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--bg-1); }
.deep__pricing .pm-tag { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc); }
.deep__pricing .pm-txt { font-size: 0.92rem; color: var(--tx-hi); font-weight: 500; }

@media (max-width: 880px) {
  .deep__grid, .deep--flip .deep__grid { grid-template-columns: 1fr; direction: ltr; }
}

/* ============================================================
   PRODUCT MOCKUP FRAMES (swappable)
   ============================================================ */
.frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-1);
  box-shadow: 0 40px 90px -50px #000, 0 0 0 1px oklch(0.30 0.014 56 / 0.3) inset;
}
.frame__bar { display: flex; align-items: center; gap: 8px; padding: 11px 15px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.frame__bar .d { width: 9px; height: 9px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line); }
.frame__bar .url { margin-left: 10px; font-family: var(--f-mono); font-size: 0.7rem; color: var(--tx-dim); }
.frame__body { padding: 18px; position: relative; }
/* slot for real screenshots later */
.frame[data-swap] .frame__body { min-height: 240px; }

/* striped placeholder per house rules */
.ph {
  position: relative; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background-color: var(--bg-2);
  background-image: repeating-linear-gradient(135deg, oklch(0.255 0.015 58 / 0.6) 0 9px, transparent 9px 18px);
  display: grid; place-items: center; overflow: hidden;
}
.ph span { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.08em; color: var(--tx-dim); text-transform: uppercase; background: var(--bg-1); padding: 3px 8px; border-radius: 5px; border: 1px solid var(--line); }
.ph--avatar { border-radius: 50%; }

/* mockup interior bits */
.mk-row { display: flex; gap: 10px; }
.mk-col { display: flex; flex-direction: column; gap: 10px; }
.mk-chip { font-family: var(--f-mono); font-size: 0.66rem; padding: 6px 10px; border-radius: 7px; border: 1px solid var(--line); color: var(--tx-mid); background: var(--bg-2); white-space: nowrap; }
.mk-chip.on { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.mk-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.mk-label { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-dim); }
.mk-val { font-family: var(--f-display); font-weight: 700; color: var(--tx-hi); font-size: 1.25rem; }
.mk-bar { height: 6px; border-radius: 4px; background: var(--bg-3); overflow: hidden; }
.mk-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--acc-2), var(--acc)); border-radius: 4px; }
.mk-match { font-family: var(--f-mono); font-size: 0.7rem; color: var(--acc); }

/* mini bar chart */
.chart { display: flex; align-items: flex-end; gap: 6px; height: 92px; }
.chart i { flex: 1; background: linear-gradient(var(--acc), var(--acc-2)); border-radius: 3px 3px 0 0; opacity: 0.85; transition: height 0.6s var(--ease); }
.chart i:nth-child(odd) { opacity: 0.55; }

/* creator row */
.cr-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 9px; background: var(--bg-2); border: 1px solid var(--line); }
.cr-row__name { font-family: var(--f-display); font-weight: 600; color: var(--tx-hi); font-size: 0.86rem; }
.cr-row__meta { font-family: var(--f-mono); font-size: 0.64rem; color: var(--tx-dim); }

/* CTV device strip */
.ctv-strip { display: flex; gap: 6px; flex-wrap: wrap; }

/* ============================================================
   AI ENGINE
   ============================================================ */
.ai { position: relative; overflow: hidden; background: linear-gradient(to bottom, var(--bg-0), oklch(0.17 0.014 50), var(--bg-0)); }
.ai__head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); }
.ai__stage { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: oklch(0.165 0.013 52 / 0.6); }
#ai-net { display: block; width: 100%; height: 460px; }
.ai__legend { position: absolute; left: 18px; bottom: 16px; font-family: var(--f-mono); font-size: 0.66rem; color: var(--tx-dim); letter-spacing: 0.1em; }
.ai__caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.ai-cap { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; transition: border-color 0.3s, transform 0.3s; }
.ai-cap:hover { border-color: var(--acc); transform: translateY(-3px); }
.ai-cap__t { font-family: var(--f-display); font-weight: 600; color: var(--tx-hi); font-size: 1rem; margin-bottom: 6px; display: flex; align-items: center; gap: 9px; }
.ai-cap__d { font-size: 0.86rem; color: var(--tx-dim); }
@media (max-width: 820px) { .ai__caps { grid-template-columns: 1fr; } #ai-net { height: 340px; } }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding-top: 26px; }
.step__line { height: 1px; background: var(--line); position: relative; margin-bottom: 22px; }
.step__line::before { content: ""; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 12px var(--acc-glow); }
.step__n { font-family: var(--f-mono); font-size: 0.72rem; color: var(--acc); letter-spacing: 0.1em; }
.step h3 { font-size: 1.2rem; margin: 10px 0 8px; }
.step p { font-size: 0.9rem; color: var(--tx-dim); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   WHO IT'S FOR
   ============================================================ */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.who-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: 0.3s var(--ease); }
.who-card:hover { border-color: var(--acc); background: var(--bg-2); }
.who-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.who-card p { font-size: 0.9rem; color: var(--tx-dim); }
.who-card .who-ico { width: 40px; height: 40px; border-radius: 10px; background: oklch(0.72 0.18 45 / 0.14); border: 1px solid oklch(0.72 0.18 45 / 0.4); margin-bottom: 18px; display: grid; place-items: center; }
@media (max-width: 820px) { .who-grid { grid-template-columns: 1fr; } }

/* ============================================================
   MARKETS
   ============================================================ */
.markets { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.market-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.market-row { background: var(--bg-1); padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; transition: background 0.2s; }
.market-row:hover { background: var(--bg-2); }
.market-row__r { font-family: var(--f-display); font-weight: 600; color: var(--tx-hi); }
.market-row__c { font-family: var(--f-mono); font-size: 0.66rem; color: var(--tx-dim); letter-spacing: 0.08em; }
@media (max-width: 820px) { .markets { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .market-list { grid-template-columns: 1fr; } }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-card {
  display: flex; flex-direction: column; background: var(--bg-1);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px;
  transition: 0.35s var(--ease); position: relative; overflow: hidden;
}
.price-card:hover { border-color: var(--acc); transform: translateY(-4px); }
.price-card__n { font-family: var(--f-mono); font-size: 0.66rem; color: var(--acc); letter-spacing: 0.12em; }
.price-card h3 { font-size: 1.22rem; margin: 12px 0 6px; }
.price-card__model { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-dim); margin-bottom: 18px; }
.price-card__headline { font-family: var(--f-display); font-weight: 600; color: var(--tx-hi); font-size: 1.02rem; line-height: 1.35; margin-bottom: 12px; }
.price-card__note { font-size: 0.85rem; color: var(--tx-dim); line-height: 1.5; flex: 1; }
.price-card__note .ph-flag { font-family: var(--f-mono); font-size: 0.62rem; color: var(--acc-2); display: inline-block; margin-top: 8px; border: 1px solid oklch(0.72 0.18 25 / 0.4); border-radius: 5px; padding: 2px 7px; }
.price-card .btn { margin-top: 22px; }
.price-card--feature { background: linear-gradient(155deg, var(--bg-2), var(--bg-1)); border-color: oklch(0.72 0.18 45 / 0.4); }
.price-foot { margin-top: 24px; text-align: center; font-size: 0.85rem; color: var(--tx-dim); }
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TRUST / TESTIMONIAL
   ============================================================ */
.trust__grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(30px, 5vw, 56px); align-items: center; }
.quote { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2.1rem); color: var(--tx-hi); line-height: 1.3; letter-spacing: -0.02em; }
.quote .mark { color: var(--acc); }
.quote__by { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.quote__by .nm { font-family: var(--f-display); font-weight: 600; color: var(--tx-hi); font-size: 0.95rem; }
.quote__by .rl { font-family: var(--f-mono); font-size: 0.7rem; color: var(--tx-dim); }
.compliance { display: flex; flex-direction: column; gap: 10px; }
.comp-badge { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); }
.comp-badge__b { font-family: var(--f-mono); font-weight: 600; font-size: 0.8rem; color: var(--acc); border: 1px solid oklch(0.72 0.18 45 / 0.4); border-radius: 6px; padding: 4px 8px; flex: none; }
.comp-badge__t { font-size: 0.82rem; color: var(--tx-dim); }
@media (max-width: 820px) { .trust__grid { grid-template-columns: 1fr; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { position: relative; text-align: center; overflow: hidden; }
.final__box {
  position: relative; border: 1px solid oklch(0.72 0.18 45 / 0.4); border-radius: var(--radius-lg);
  padding: clamp(48px, 8vw, 96px) var(--gutter); overflow: hidden;
  background: radial-gradient(120% 140% at 50% 0%, oklch(0.24 0.05 45 / 0.8), var(--bg-1) 60%);
}
.final__box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(oklch(0.72 0.18 45 / 0.08) 1px, transparent 1px), linear-gradient(90deg, oklch(0.72 0.18 45 / 0.08) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 75%);
}
.final h2 { position: relative; font-size: clamp(2.1rem, 5vw, 3.8rem); max-width: 16ch; margin: 18px auto 0; }
.final p { position: relative; margin: 22px auto 0; max-width: 50ch; }
.final__cta { position: relative; display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line-soft); padding-block: clamp(48px, 6vw, 80px) 36px; position: relative; z-index: 1; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer__brand p { font-size: 0.86rem; color: var(--tx-dim); margin-top: 16px; max-width: 30ch; }
.footer__col h4 { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-dim); margin-bottom: 16px; font-weight: 500; }
.footer__col a { display: block; font-size: 0.88rem; color: var(--tx-mid); padding: 5px 0; transition: color 0.2s; }
.footer__col a:hover { color: var(--acc); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.footer__bottom p { font-family: var(--f-mono); font-size: 0.72rem; color: var(--tx-faint); }
.footer__flags { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__flags span { font-family: var(--f-mono); font-size: 0.64rem; color: var(--tx-dim); border: 1px solid var(--line); border-radius: 5px; padding: 3px 8px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .chart i { animation: none; }
}

/* ============================================================
   INTERACTIVE CONTROLS
   ============================================================ */
/* range sliders */
.sg-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 5px; border-radius: 5px; outline: none; cursor: pointer;
  background: linear-gradient(to right, var(--acc) 0%, var(--acc) var(--fill,40%), var(--bg-3) var(--fill,40%), var(--bg-3) 100%);
}
.sg-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--acc); cursor: pointer; box-shadow: 0 0 0 4px oklch(0.72 0.18 45 / 0.22);
  transition: box-shadow 0.2s;
}
.sg-range::-webkit-slider-thumb:hover { box-shadow: 0 0 0 6px oklch(0.72 0.18 45 / 0.28); }
.sg-range::-moz-range-thumb {
  width: 16px; height: 16px; border: none; border-radius: 50%; background: var(--acc);
  cursor: pointer; box-shadow: 0 0 0 4px oklch(0.72 0.18 45 / 0.22);
}

/* selectable creator rows */
.cr-row { cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.15s; }
.cr-row:hover { border-color: oklch(0.72 0.18 45 / 0.6); transform: translateX(2px); }
.cr-row.sel { border-color: var(--acc); background: oklch(0.72 0.18 45 / 0.10); }
.cr-row__pick {
  width: 18px; height: 18px; border-radius: 6px; border: 1px solid var(--line); flex: none;
  display: grid; place-items: center; margin-left: 4px; transition: 0.2s;
}
.cr-row.sel .cr-row__pick { background: var(--acc); border-color: var(--acc); }
.cr-row.sel .cr-row__pick::before { content: ""; width: 7px; height: 4px; border-left: 1.7px solid var(--acc-ink); border-bottom: 1.7px solid var(--acc-ink); transform: rotate(-45deg) translateY(-1px); }
#cr-results { display: flex; flex-direction: column; gap: 8px; max-height: 232px; overflow-y: auto; padding-right: 4px; }
#cr-results::-webkit-scrollbar { width: 6px; }
#cr-results::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 6px; }
#cr-results .empty { font-family: var(--f-mono); font-size: 0.72rem; color: var(--tx-dim); text-align: center; padding: 26px 0; }
.cr-row { display: grid; grid-template-columns: 34px 1fr auto 18px; gap: 12px; align-items: center; }
button.mk-chip { font-family: var(--f-mono); }
#cr-brief { border: none; transition: filter 0.2s, transform 0.15s; }
#cr-brief:hover { filter: brightness(1.06); }
#cr-brief:active { transform: scale(0.98); }
#cr-brief[disabled] { background: var(--bg-3); color: var(--tx-faint); cursor: not-allowed; }

/* AI flow tabs */
.ai__controls { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.ai-tab {
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--tx-mid); background: var(--bg-1); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; transition: 0.2s var(--ease);
}
.ai-tab:hover { border-color: var(--acc); color: var(--tx-hi); }
.ai-tab.on { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
#ai-net { cursor: pointer; }

/* ============================================================
   WEBGL SHADER SURFACES (mounted via [data-sg-shader])
   ============================================================ */
.sg-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }

/* --- NEW: global atmosphere overlay (variant 3) → clean vignette + warm bloom --- */
.sg-grain {
  position: fixed; inset: 0; width: 100%; height: 100%; display: block;
  z-index: 95; pointer-events: none; mix-blend-mode: normal; opacity: 1;
}

/* --- NEW: liquid-metal core showpiece (variant 4) behind consoles header --- */
.sg-metal {
  position: absolute; top: clamp(8px, 2vw, 34px); right: clamp(-70px, -3vw, -30px);
  width: clamp(300px, 36vw, 540px); height: clamp(300px, 36vw, 540px);
  z-index: 0; display: block; pointer-events: auto;
  filter: drop-shadow(0 30px 80px oklch(0.6 0.18 45 / 0.25));
}
#consoles { overflow: hidden; }
#consoles > .wrap { position: relative; z-index: 1; }
@media (max-width: 820px) { .sg-metal { opacity: 0.5; right: -90px; top: -10px; width: 300px; height: 300px; } }

/* --- NEW: warm caustic backdrop (variant 5) behind pricing --- */
.sg-caustic { z-index: 0; opacity: 0.55; }
#pricing > .wrap { position: relative; z-index: 1; }

/* social-proof aurora band */
.proof { position: relative; overflow: hidden; }
#proof-gl { opacity: 0.85; }
.proof__inner { position: relative; z-index: 1; }

/* AI stage: shader backdrop behind the live 2D network */
.ai__stage { position: relative; }
#ai-gl { z-index: 0; opacity: 0.9; }
#ai-net { position: relative; z-index: 1; }
.ai__legend { z-index: 2; }

/* final CTA tunnel */
.final__box { isolation: isolate; }
#final-gl { z-index: 0; }
.final__box::before { opacity: 0.16; z-index: 1; }
.final__box > .eyebrow, .final__box > h2, .final__box > p, .final__box > .final__cta { position: relative; z-index: 2; }

/* email volume calculator */
.vol-calc { margin: 16px 0 4px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.vol-calc .sg-range { margin-bottom: 10px; }
.vol-calc .vc-row { display: flex; align-items: center; justify-content: space-between; }
.vol-calc .vc-vol { font-family: var(--f-display); font-weight: 700; color: var(--tx-hi); font-size: 1.05rem; }
.vol-calc .vc-tier { font-family: var(--f-mono); font-size: 0.7rem; color: var(--acc); border: 1px solid oklch(0.72 0.18 45 / 0.4); border-radius: 6px; padding: 3px 9px; }

/* ============================================================
   PREMIUM CURSOR + MAGNETIC (awwwards-style polish)
   ============================================================ */
body.cursor-on, body.cursor-on a, body.cursor-on button, body.cursor-on .cr-row, body.cursor-on .mk-chip, body.cursor-on input[type="range"], body.cursor-on #ai-net, body.cursor-on .sg-metal, body.cursor-on .tlink { cursor: none; }

/* base for every cursor piece */
.cx { position: fixed; top: 0; left: 0; z-index: 10000; pointer-events: none; transform: translate(-50%, -50%); will-change: transform, width, height; display: none; }
.cx-hidden { opacity: 0; }

/* DOT */
.cx-dot { width: 7px; height: 7px; border-radius: 50%; transition: width 0.2s var(--ease), height 0.2s var(--ease), background 0.2s; }
/* RING */
.cx-ring { width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; transition: width 0.28s var(--ease), height 0.28s var(--ease), border-color 0.28s, opacity 0.28s; }
/* RETICLE (crosshair) */
.cx-cross { width: 22px; height: 22px; transition: width 0.2s var(--ease), height 0.2s var(--ease); }
.cx-cross::before, .cx-cross::after { content: ""; position: absolute; background: var(--acc); }
.cx-cross::before { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.cx-cross::after { top: 50%; left: 0; height: 1.5px; width: 100%; transform: translateY(-50%); }
.cx-cross i { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--acc); transform: translate(-50%, -50%); }
/* BRACKETS */
.cx-brk { width: 30px; height: 30px; transition: width 0.22s var(--ease), height 0.22s var(--ease); }
.cx-brk span { position: absolute; width: 8px; height: 8px; border: 1.5px solid var(--acc); }
.cx-brk span.tl { left: 0; top: 0; border-right: none; border-bottom: none; }
.cx-brk span.tr { right: 0; top: 0; border-left: none; border-bottom: none; }
.cx-brk span.bl { left: 0; bottom: 0; border-right: none; border-top: none; }
.cx-brk span.br { right: 0; bottom: 0; border-left: none; border-top: none; }

/* which pieces each style shows */
body.cs-ring .cx-dot, body.cs-ring .cx-ring { display: block; }
body.cs-dot .cx-dot { display: block; }
body.cs-reticle .cx-cross { display: block; }
body.cs-minimal .cx-ring { display: block; }
body.cs-brackets .cx-brk { display: block; }

/* per-style colour treatment */
body.cs-ring .cx-dot { background: #fff; mix-blend-mode: difference; }
body.cs-ring .cx-ring { color: #fff; mix-blend-mode: difference; }
body.cs-dot .cx-dot { width: 13px; height: 13px; background: var(--acc); box-shadow: 0 0 16px var(--acc-glow); }
body.cs-minimal .cx-ring { color: var(--acc); width: 26px; height: 26px; }

/* hover reactions per style */
body.cur-hover.cs-ring .cx-ring { width: 58px; height: 58px; }
body.cur-hover.cs-ring .cx-dot { width: 0; height: 0; }
body.cur-hover.cs-dot .cx-dot { width: 26px; height: 26px; opacity: 0.85; }
body.cur-hover.cs-reticle .cx-cross { width: 36px; height: 36px; }
body.cur-hover.cs-minimal .cx-ring { width: 48px; height: 48px; }
body.cur-hover.cs-brackets .cx-brk { width: 56px; height: 56px; }
body.cur-down.cs-ring .cx-ring, body.cur-down.cs-minimal .cx-ring { width: 24px; height: 24px; }
body.cur-down.cs-brackets .cx-brk { width: 24px; height: 24px; }

.magnetic { will-change: transform; }

/* section-header metal tag accent */
#consoles .sec-head { position: relative; z-index: 2; }
@media (max-width: 820px) { body.cursor-on, body.cursor-on * { cursor: auto !important; } .cx { display: none !important; } }

/* ============================================================
   TECH-ECOSYSTEM VERSION → added sections
   ============================================================ */

/* hero: single-column statement variant */
.hero--eco .hero__grid { grid-template-columns: 1fr; }
.hero--eco .hero h1 { max-width: 20ch; }
.hero--eco .hero__sub { max-width: 60ch; }
.hero__statement {
  margin-top: 26px; padding: 16px 20px; border-left: 2px solid var(--acc);
  background: oklch(0.185 0.013 54 / 0.5); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--f-display); font-weight: 500; color: var(--tx-hi);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem); line-height: 1.45; letter-spacing: -0.01em;
  max-width: 56ch;
}
.hero__statement b { color: var(--acc); font-weight: 600; }

/* ---------- connected-ecosystem centerpiece ---------- */
.eco { position: relative; }
.eco__stage {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background:
    radial-gradient(120% 130% at 50% 50%, oklch(0.20 0.02 50 / 0.6), oklch(0.16 0.013 52 / 0.6));
}
#eco-net { display: block; width: 100%; height: clamp(440px, 56vw, 600px); }
.eco__overlay {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  font-family: var(--f-mono); font-size: 0.66rem; color: var(--tx-dim); letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 8px;
}
.eco__overlay .dot { width: 6px; height: 6px; }
.eco__cap {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px;
}
.eco-cap { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px;
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.3s, transform 0.3s; }
.eco-cap:hover { border-color: var(--acc); transform: translateY(-2px); }
.eco-cap__n { font-family: var(--f-mono); font-size: 0.7rem; color: var(--acc); margin-top: 2px; }
.eco-cap__t { font-family: var(--f-display); font-weight: 600; color: var(--tx-hi); font-size: 0.98rem; }
.eco-cap__d { font-size: 0.85rem; color: var(--tx-dim); line-height: 1.45; }
@media (max-width: 760px) { .eco__cap { grid-template-columns: 1fr; } }

/* ---------- intelligence / data layer modules ---------- */
.intel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.intel-card {
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.intel-card:hover { border-color: var(--acc); transform: translateY(-4px); background: var(--bg-2); }
.intel-card__head { display: flex; align-items: center; justify-content: space-between; }
.intel-card__t { font-family: var(--f-display); font-weight: 600; color: var(--tx-hi); font-size: 1.08rem; }
.intel-card__d { font-size: 0.88rem; color: var(--tx-dim); line-height: 1.5; }
.intel-card .idx { font-size: 0.72rem; }
.intel-viz {
  position: relative; border-radius: var(--radius); border: 1px solid var(--line-soft);
  background: var(--bg-2); overflow: hidden; min-height: 132px; padding: 12px;
}
.eco-graph { display: block; width: 100%; height: 132px; }
.intel-viz--pad { padding: 14px; display: flex; flex-direction: column; gap: 9px; justify-content: center; }
.rec-row { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px; background: var(--bg-1); border: 1px solid var(--line); }
.rec-row__ico { width: 22px; height: 22px; border-radius: 6px; flex: none; display: grid; place-items: center; background: oklch(0.72 0.18 45 / 0.16); border: 1px solid oklch(0.72 0.18 45 / 0.4); }
.rec-row__ico::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.rec-row__t { font-size: 0.78rem; color: var(--tx-mid); flex: 1; }
.rec-row__v { font-family: var(--f-mono); font-size: 0.66rem; color: var(--acc); }
.flow-steps { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.flow-steps .fs { font-family: var(--f-mono); font-size: 0.64rem; color: var(--tx-mid); background: var(--bg-1); border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; white-space: nowrap; }
.flow-steps .fs.on { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.flow-steps .fa { color: var(--acc); font-size: 0.7rem; }
.chan-rail { display: flex; gap: 7px; flex-wrap: wrap; }
.chan-pill { font-family: var(--f-mono); font-size: 0.64rem; color: var(--tx-mid); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; display: flex; align-items: center; gap: 6px; }
.chan-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--acc-glow); }
.chan-pill.off { color: var(--tx-faint); }
.chan-pill.off::before { background: var(--tx-faint); box-shadow: none; }
@media (max-width: 900px) { .intel-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .intel-grid { grid-template-columns: 1fr; } }

/* ---------- engineering / tech-stack strip ---------- */
.stack { border-block: 1px solid var(--line-soft); background: oklch(0.165 0.012 52 / 0.55); }
.stack__inner { display: flex; align-items: center; gap: 30px; padding-block: 30px; flex-wrap: wrap; }
.stack__lab { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx-dim); flex: none; max-width: 220px; }
.stack__items { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }
.stack-pill {
  display: flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 0.78rem;
  color: var(--tx-hi); background: var(--bg-1); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px;
}
.stack-pill b { color: var(--acc); font-weight: 600; }
.stack-pill span.t { color: var(--tx-dim); font-size: 0.66rem; }
@media (max-width: 720px) { .stack__lab { max-width: none; } }

/* ============================================================
   MOBILE OPTIMIZATION
   ============================================================ */
/* mobile slide-in nav overlay */
.mnav {
  position: fixed; inset: 0; z-index: 199; display: flex; flex-direction: column;
  padding: 84px var(--gutter) 40px;
  background: oklch(0.155 0.012 52 / 0.97); backdrop-filter: blur(20px);
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform 0.4s var(--ease), opacity 0.35s var(--ease), visibility 0.4s;
  overflow-y: auto;
}
body.mnav-open .mnav { transform: none; opacity: 1; visibility: visible; }
body.mnav-open { overflow: hidden; }
.mnav a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; color: var(--tx-hi);
  padding: 16px 0; border-bottom: 1px solid var(--line-soft); letter-spacing: -0.02em;
}
.mnav a:active { color: var(--acc); }
.mnav a .ma { color: var(--acc); font-size: 1rem; }
.mnav__cta { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 28px; }
.mnav__cta .btn { justify-content: center; width: 100%; padding: 16px; font-size: 1rem; }
/* mobile product accordion */
.mnav__acc {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; color: var(--tx-hi);
  padding: 16px 0; border-bottom: 1px solid var(--line-soft); letter-spacing: -0.02em;
  background: none; border-left: none; border-right: none; border-top: none; cursor: pointer;
}
.mnav__acc .ma { color: var(--acc); font-size: 1rem; transition: transform 0.3s var(--ease); }
.mnav.mnav__acc-open .mnav__acc { color: var(--acc); }
.mnav.mnav__acc-open .mnav__acc .ma { transform: rotate(90deg); }
.mnav__sub { display: none; }
.mnav.mnav__acc-open .mnav__sub { display: block; }
.mnav__sub > div { display: flex; flex-direction: column; gap: 8px; padding: 4px 0 16px; }
.mnav__sub a {
  display: flex !important; align-items: center; justify-content: space-between; gap: 10px;
  font-family: var(--f-body) !important; font-weight: 600 !important; font-size: 0.98rem !important; color: var(--tx-mid) !important;
  padding: 14px 16px !important; border-radius: var(--radius-sm);
  background: var(--bg-1); border: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft) !important;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.mnav__sub a::after { content: "→"; color: var(--acc); font-size: 0.85rem; flex: none; opacity: 0.85; }
.mnav__sub a:active { color: var(--acc); border-color: var(--acc); background: var(--bg-2); }
/* burger -> X */
body.mnav-open .nav__burger { border-color: var(--acc); }
body.mnav-open .nav__burger span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
body.mnav-open .nav__burger span:nth-child(2) { opacity: 0; }
body.mnav-open .nav__burger span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ============================================================
   LEGAL / DOC PAGES (privacy, terms, dpa, cookies)
   ============================================================ */
.legal-hero { padding: 132px 0 40px; }
.legal-hero .eyebrow { margin-bottom: 16px; }
.legal-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); max-width: 24ch; }
.legal-updated {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-family: var(--f-mono); font-size: 0.78rem; color: var(--tx-dim);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
}
.legal-body { padding: 8px 0 100px; display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 2px; }
.legal-toc a {
  font-size: 0.86rem; color: var(--tx-dim); padding: 8px 12px; border-radius: 8px;
  border-left: 2px solid transparent; transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.legal-toc a:hover { color: var(--tx-hi); background: var(--bg-1); border-color: var(--line); }
.legal-content { max-width: 74ch; color: var(--tx-mid); font-size: 0.99rem; line-height: 1.75; }
.legal-content h2 { font-size: 1.4rem; margin: 44px 0 14px; scroll-margin-top: 100px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.08rem; margin: 26px 0 10px; color: var(--tx-hi); }
.legal-content p { margin: 0 0 16px; }
.legal-content ul, .legal-content ol { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-content a.inline { color: var(--acc); text-decoration: underline; text-underline-offset: 2px; }
.legal-content strong { color: var(--tx-hi); font-weight: 600; }
.legal-note {
  margin: 20px 0; padding: 16px 18px; border-radius: var(--radius-sm);
  border: 1px solid oklch(0.72 0.18 45 / 0.35); background: oklch(0.72 0.18 45 / 0.07);
  font-size: 0.92rem; color: var(--tx-mid);
}
.legal-note strong { display: block; color: var(--acc); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px; font-family: var(--f-mono); }
.legal-placeholder { color: var(--acc-3); background: oklch(0.72 0.18 45 / 0.12); padding: 1px 6px; border-radius: 4px; font-family: var(--f-mono); font-size: 0.9em; }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 0.88rem; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border: 1px solid var(--line-soft); vertical-align: top; }
.legal-table th { background: var(--bg-1); color: var(--tx-hi); font-family: var(--f-display); font-weight: 600; }
.legal-table td { color: var(--tx-mid); }
@media (max-width: 900px) {
  .legal-body { grid-template-columns: 1fr; gap: 20px; }
  .legal-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
}

@media (max-width: 700px) {
  :root { --gutter: 20px; }
  .section { padding-block: clamp(56px, 13vw, 80px); }
  .section--tight { padding-block: clamp(44px, 10vw, 64px); }

  /* hero */
  .hero { min-height: auto; padding-top: 108px; padding-bottom: 56px; }
  .hero--eco .hero h1, .hero h1 { max-width: none; }
  .display { font-size: clamp(2.1rem, 10vw, 2.9rem); }
  .hero__statement { font-size: 1.02rem; padding: 14px 16px; }
  .hero__sub { margin-top: 20px; }
  .hero__cta { margin-top: 26px; gap: 10px; }
  .hero__cta .btn { flex: 1; justify-content: center; min-width: 0; }
  .hero__stats { gap: 22px 30px; margin-top: 38px; }
  .stat__n { font-size: 1.55rem; }

  /* section headers */
  .h-sec { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .sec-head { margin-bottom: 34px; }
  .lead { font-size: 1rem; }

  /* ecosystem stage taller & framed for portrait */
  #eco-net { height: clamp(400px, 92vw, 460px); }
  .eco__overlay { font-size: 0.6rem; left: 12px; bottom: 12px; }
  .eco__cap { gap: 10px; }
  .eco-cap { padding: 14px 15px; }

  /* consoles: hide the big metal showpiece bleed, feature card stacks */
  .sg-metal { opacity: 0.32; top: -6px; right: -110px; width: 260px; height: 260px; }
  .cons-card { padding: 22px; }
  .cons-card.feature-lead { gap: 22px; }
  .cons-card h3 { font-size: 1.28rem; }

  /* deep dives: pricing box wraps cleanly */
  .deep__pricing { flex-direction: column; align-items: flex-start; gap: 10px; }
  .deep__pricing .tlink { margin-left: 0 !important; }
  .deep__copy h2 { font-size: clamp(1.6rem, 7vw, 2rem); }

  /* AI network shorter, tabs scroll horizontally */
  #ai-net { height: 300px; }
  .ai__controls { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .ai__controls::-webkit-scrollbar { display: none; }
  .ai-tab { flex: none; }

  /* intelligence cards single column already <600; ensure viz height */
  .eco-graph { height: 120px; }

  /* markets: chips + list readable */
  .market-row { padding: 14px 15px; }

  /* pricing full width, comfy tap targets */
  .price-card { padding: 22px; }
  .price-card .btn, .btn--block { padding: 15px; }

  /* trust quote scale */
  .quote { font-size: clamp(1.25rem, 6vw, 1.6rem); }

  /* final CTA */
  .final__box { padding: 44px 22px; }
  .final h2 { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  .final__cta { flex-direction: column; }
  .final__cta .btn { width: 100%; justify-content: center; }

  /* footer */
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* tighten hero stats on very small phones */
@media (max-width: 380px) {
  .hero__stats { gap: 18px; }
  .stat__n { font-size: 1.35rem; }
  .cons-card__feats { gap: 6px; }
}

/* larger default tap targets on touch devices */
@media (hover: none) and (pointer: coarse) {
  .nav__link, .dd-item, .mk-chip, .ai-tab, .tlink, .footer__col a { min-height: 40px; }
  .sg-range { height: 8px; }
  .sg-range::-webkit-slider-thumb { width: 22px; height: 22px; }
  .sg-range::-moz-range-thumb { width: 22px; height: 22px; }
}
