/* ============================================
   StarFromAI — Global Styles
   ============================================ */

:root {
  /* Background scale (deep cool navy) */
  --bg-0: oklch(0.13 0.02 270);    /* near-black base */
  --bg-1: oklch(0.16 0.025 270);   /* primary bg */
  --bg-2: oklch(0.19 0.028 270);   /* card */
  --bg-3: oklch(0.23 0.03 270);    /* elevated */
  --line: oklch(0.30 0.03 270);    /* border */
  --line-soft: oklch(0.26 0.025 270);

  /* Text */
  --fg-0: oklch(0.98 0.005 270);
  --fg-1: oklch(0.88 0.01 270);
  --fg-2: oklch(0.66 0.02 270);
  --fg-3: oklch(0.50 0.025 270);

  /* Accent — from logo */
  --accent-blue: #3B82F6;
  --accent-purple: #8B5CF6;
  --accent-violet: #A855F7;
  --grad: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 60%, #A855F7 100%);
  --grad-soft: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(168,85,247,0.18));

  /* Semantic */
  --ok: #34D399;
  --warn: #F59E0B;

  /* Type */
  --f-display: 'Space Grotesk', 'Noto Sans SC', system-ui, sans-serif;
  --f-sans: 'DM Sans', 'Noto Sans SC', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Layout */
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-1);
  color: var(--fg-0);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

img { display: block; max-width: 100%; }

/* Language visibility — text is populated via JS into elements with data-zh/data-en */

body[data-lang="en"] { font-family: var(--f-sans); }
body[data-lang="zh"] .hero__title,
body[data-lang="zh"] .section__title,
body[data-lang="zh"] .cta__title { letter-spacing: -0.01em; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: oklch(0.13 0.02 270 / 0.72);
  border-bottom: 1px solid oklch(0.30 0.03 270 / 0.5);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.brand__mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
}
.brand__name { color: var(--fg-0); }
.brand__ai {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 2px;
}
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: 16px;
}
.nav__links a {
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--fg-0); }
.nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--fg-2);
}
.lang__btn {
  padding: 4px 6px;
  border-radius: 6px;
  color: var(--fg-2);
  transition: color 0.15s, background 0.15s;
}
.lang__btn.is-active { color: var(--fg-0); background: oklch(0.23 0.03 270 / 0.9); }
.lang__btn:hover { color: var(--fg-0); }
.lang__sep { color: var(--fg-3); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--f-sans);
  transition: transform 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 6px 24px -8px rgba(99, 102, 241, 0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -8px rgba(99, 102, 241, 0.7), inset 0 1px 0 rgba(255,255,255,0.2); }
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--fg-1);
  background: oklch(0.19 0.025 270 / 0.6);
}
.btn--ghost:hover { border-color: oklch(0.40 0.04 270); background: oklch(0.23 0.03 270 / 0.8); }
.btn--lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }
.btn--full { width: 100%; justify-content: center; }

/* ============================================
   HERO
   ============================================ */
.hero { position: relative; overflow: hidden; padding-top: 56px; }
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, oklch(0.30 0.03 270 / 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.30 0.03 270 / 0.25) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  opacity: 0.5;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.hero__glow--blue {
  top: -10%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, #3B82F6 0%, transparent 70%);
}
.hero__glow--purple {
  top: 10%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, #A855F7 0%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--gutter) 60px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  background: oklch(0.19 0.025 270 / 0.6);
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-1);
  text-transform: uppercase;
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px oklch(0.7 0.18 152 / 0.18);
}
.eyebrow__tag {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--grad);
  color: white;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 24px 0 24px;
  color: var(--fg-0);
  text-wrap: balance;
}

.hero__sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 540px;
  margin: 0 0 32px;
  text-wrap: pretty;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero__meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero__meta-num {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 28px;
  color: var(--fg-0);
  letter-spacing: -0.02em;
}
.hero__meta-unit {
  font-size: 18px;
  color: var(--fg-2);
  margin-left: 1px;
}
.hero__meta-label {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-3);
}
.hero__meta-divider {
  width: 1px;
  height: 32px;
  background: var(--line);
}

/* Workbench visual */
.workbench {
  position: relative;
  height: 540px;
}
.workbench__halo {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 50%, rgba(139,92,246,0.25), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.wb-card {
  position: absolute;
  background: linear-gradient(180deg, oklch(0.21 0.028 270) 0%, oklch(0.18 0.025 270) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), inset 0 1px 0 oklch(0.35 0.03 270 / 0.5);
}
.wb-card--thread {
  top: 0;
  left: 0;
  width: 78%;
  z-index: 2;
}
.wb-card--pick {
  bottom: 0;
  right: 0;
  width: 70%;
  z-index: 3;
}
.wb-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 14px;
}
.wb-card__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--fg-3);
}
.wb-card__dot--live {
  background: var(--ok);
  box-shadow: 0 0 0 3px oklch(0.7 0.18 152 / 0.2);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px oklch(0.7 0.18 152 / 0.2); }
  50% { box-shadow: 0 0 0 6px oklch(0.7 0.18 152 / 0.05); }
}
.wb-card__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.wb-card__chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 6px;
  background: oklch(0.23 0.03 270);
  color: var(--fg-1);
  text-transform: uppercase;
}
.wb-card__chip-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-purple);
  animation: pulse 2.4s ease-in-out infinite;
}
.wb-card__rank {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--accent-violet);
  letter-spacing: 0.04em;
}

/* Thread / chat */
.thread { display: flex; flex-direction: column; gap: 12px; }
.thread__row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.thread__row--user { justify-content: flex-end; }
.thread__row--user .thread__avatar { order: 2; }
.thread__avatar {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.thread__avatar--user {
  background: oklch(0.30 0.04 270);
  color: var(--fg-0);
}
.thread__avatar--agent {
  background: var(--grad);
  padding: 6px;
}
.thread__avatar--agent svg { width: 100%; height: 100%; }
.thread__bubble {
  background: oklch(0.23 0.03 270);
  border: 1px solid var(--line-soft);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--fg-1);
  max-width: 80%;
}
.thread__row--user .thread__bubble {
  background: var(--grad-soft);
  border: 1px solid oklch(0.40 0.08 280);
  color: var(--fg-0);
}
.thread__bubble--agent { padding: 12px 14px; }
.thread__step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 4px 0;
  color: var(--fg-2);
}
.thread__step-i {
  font-family: var(--f-mono);
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: oklch(0.30 0.04 270);
  color: var(--fg-1);
  display: grid;
  place-items: center;
}
.thread__check {
  margin-left: auto;
  color: var(--ok);
  font-size: 13px;
}
.thread__check--loading {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-purple);
  border-top-color: transparent;
  color: transparent;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.thread__result {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-soft);
  font-size: 12px;
  color: var(--accent-violet);
  font-weight: 500;
}

/* Pick */
.pick {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
}
.pick__img {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  background: linear-gradient(135deg, oklch(0.27 0.04 270), oklch(0.32 0.06 280));
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.pick__img-stripe {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0, transparent 6px, oklch(0.4 0.06 280 / 0.25) 6px, oklch(0.4 0.06 280 / 0.25) 7px);
}
.pick__img-label {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  font-family: var(--f-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  color: oklch(0.85 0.02 270 / 0.7);
  text-transform: uppercase;
}
.pick__cat {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  margin-bottom: 2px;
}
.pick__name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--fg-0);
  margin-bottom: 10px;
}
.pick__stats {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}
.pick__stat { display: flex; flex-direction: column; gap: 2px; }
.pick__stat-k {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.pick__stat-v {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--fg-0);
}
.pick__stat-v--up { color: var(--accent-violet); }
.pick__stat-v--low { color: var(--ok); }
.pick__spark {
  margin-top: 4px;
  height: 30px;
  width: 100%;
}
.pick__spark svg { width: 100%; height: 100%; }

/* Floating chips */
.wb-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: oklch(0.22 0.03 270 / 0.92);
  border: 1px solid var(--line);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 32px -10px rgba(0,0,0,0.6);
  z-index: 4;
}
.wb-chip--1 { top: 32%; right: -10px; }
.wb-chip--2 { bottom: 32%; left: -8px; }
.wb-chip__icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  color: var(--accent-violet);
  border: 1px solid oklch(0.40 0.08 280);
}
.wb-chip__icon--alert {
  color: var(--warn);
  background: oklch(0.4 0.12 60 / 0.2);
  border-color: oklch(0.4 0.12 60 / 0.5);
}
.wb-chip__k {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.wb-chip__v {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--fg-0);
}

/* Trust strip */
.trust {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--gutter);
  display: flex;
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.trust__label {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  flex-shrink: 0;
}
.trust__rail {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
  justify-content: space-around;
}
.trust__item {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--fg-2);
  letter-spacing: -0.01em;
  opacity: 0.7;
  transition: opacity 0.15s, color 0.15s;
}
.trust__item:hover { opacity: 1; color: var(--fg-0); }

/* ============================================
   SECTIONS
   ============================================ */
.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px var(--gutter);
}
.section--alt {
  max-width: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, oklch(0.20 0.04 280 / 0.4) 0%, transparent 60%),
    var(--bg-0);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.section--alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section--alt .section__head, .section--alt .workflow, .section--alt .bignums, .section--alt .cases { padding-left: var(--gutter); padding-right: var(--gutter); }

.section__head {
  max-width: 760px;
  margin-bottom: 64px;
}
.section__eyebrow {
  display: inline-flex;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: oklch(0.19 0.025 270 / 0.6);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-1);
  margin-bottom: 20px;
}
.section__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.section__sub {
  font-size: 17px;
  color: var(--fg-2);
  max-width: 620px;
  text-wrap: pretty;
}

/* ============================================
   CAPABILITY GRID
   ============================================ */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cap {
  grid-column: span 2;
  background: linear-gradient(180deg, oklch(0.20 0.025 270), oklch(0.17 0.022 270));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.cap:hover {
  border-color: oklch(0.40 0.06 280);
  transform: translateY(-2px);
}
.cap--lg { grid-column: span 2; }
.cap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 60% at 0% 0%, oklch(0.30 0.06 280 / 0.25), transparent 60%);
  pointer-events: none;
  opacity: 0.6;
}
.cap > * { position: relative; }
.cap__head {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.cap__num {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-violet);
  letter-spacing: 0.04em;
}
.cap__phase {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--fg-2);
  text-transform: uppercase;
}
.cap__phase--live {
  color: var(--ok);
  border-color: oklch(0.55 0.16 152 / 0.4);
}
.cap__phase-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 2px oklch(0.7 0.18 152 / 0.2);
}
.cap__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--fg-0);
}
.cap__desc {
  font-size: 14.5px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 0 0 16px;
}
.cap__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.cap__bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--fg-1);
}
.cap__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--grad);
}

/* Cap viz: ranklist */
.cap__viz {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: oklch(0.15 0.02 270 / 0.6);
}
.ranklist { display: flex; flex-direction: column; gap: 10px; }
.ranklist__row {
  display: grid;
  grid-template-columns: 30px 1fr 36px 80px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.ranklist__rk {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-3);
}
.ranklist__nm { color: var(--fg-1); }
.ranklist__sc {
  font-family: var(--f-mono);
  font-weight: 600;
  color: var(--accent-violet);
  text-align: right;
}
.ranklist__bar {
  position: relative;
  height: 4px;
  border-radius: 2px;
  background: oklch(0.25 0.025 270);
  overflow: hidden;
}
.ranklist__bar i {
  position: absolute;
  inset: 0;
  background: var(--grad);
  display: block;
}

/* Cap viz: image grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.image-grid__cell {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, oklch(0.27 0.04 270), oklch(0.32 0.06 280));
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: end;
  padding: 6px;
}
.image-grid__cell span {
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: oklch(0.85 0.02 270 / 0.75);
  text-transform: uppercase;
}
.image-grid__cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 4px, oklch(0.4 0.06 280 / 0.3) 4px 5px);
  pointer-events: none;
}
.image-grid__cell--src {
  background: linear-gradient(135deg, oklch(0.35 0.10 245), oklch(0.40 0.16 280));
}
.image-grid__cell--src::before {
  background: none;
}
.image-grid__shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, oklch(0.95 0.02 270 / 0.2), transparent);
  animation: shimmer 3.2s ease-in-out infinite;
}
@keyframes shimmer { 0% { left: -100%; } 50%, 100% { left: 200%; } }

/* ============================================
   WORKFLOW
   ============================================ */
.workflow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.workflow__line {
  position: absolute;
  top: 60px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-purple), transparent);
  opacity: 0.5;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.step__index {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-violet);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.step__node {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 2px solid var(--accent-purple);
  position: relative;
  margin-bottom: 28px;
  z-index: 1;
}
.step__node-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.7 0.2 280 / 0.4), transparent 60%);
  animation: pulse 2s ease-in-out infinite;
}
.step__card {
  width: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, oklch(0.20 0.025 270), oklch(0.17 0.022 270));
}
.step__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--fg-0);
}
.step__desc {
  font-size: 13.5px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 0 0 14px;
}
.step__chip {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--grad-soft);
  border: 1px solid oklch(0.40 0.08 280);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent-violet);
}

/* ============================================
   PREVIEW
   ============================================ */
.preview {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: center;
}

/* Phone */
.phone {
  width: 320px;
  height: 640px;
  background: linear-gradient(180deg, oklch(0.21 0.028 270), oklch(0.16 0.02 270));
  border-radius: 42px;
  padding: 10px;
  border: 1px solid oklch(0.30 0.03 270);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7), inset 0 1px 0 oklch(0.40 0.04 270 / 0.5);
  position: relative;
}
.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: black;
  border-radius: 14px;
  z-index: 2;
}
.phone__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, oklch(0.10 0.015 270) 0%, oklch(0.14 0.02 275) 100%);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.phone__head {
  display: flex;
  align-items: center;
  padding: 16px 24px 12px;
  padding-top: 44px;
  position: relative;
  border-bottom: 1px solid oklch(0.20 0.025 270 / 0.6);
}
.phone__time {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-1);
  position: absolute;
  top: 18px;
  left: 24px;
}
.phone__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  margin: 0 auto;
}
.phone__icons {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--f-mono);
  color: var(--fg-2);
  font-size: 13px;
}
.phone__feed {
  flex: 1;
  overflow: hidden;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone__date {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.phone__msg { display: flex; flex-direction: column; }
.phone__msg-name {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--accent-violet);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.phone__msg-body {
  padding: 10px 12px;
  background: oklch(0.20 0.025 270);
  border-radius: 12px;
  border-top-left-radius: 4px;
  font-size: 12px;
  color: var(--fg-1);
  line-height: 1.5;
  max-width: 88%;
}
.phone__msg--user { align-items: flex-end; }
.phone__msg--user .phone__msg-body {
  background: var(--grad);
  color: white;
  border-radius: 12px;
  border-top-right-radius: 4px;
}
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 8px 0;
}
.mini-stats > div {
  background: oklch(0.16 0.02 270);
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
}
.mini-stats__k {
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.mini-stats__v {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 12px;
  color: var(--fg-0);
}
.mini-stats__v--good { color: var(--ok); }
.mini-cards {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mini-cards__row {
  display: grid;
  grid-template-columns: 22px 1fr 26px;
  gap: 6px;
  align-items: center;
  padding: 6px 8px;
  background: oklch(0.16 0.02 270);
  border-radius: 6px;
  font-size: 11px;
}
.mini-cards__rk {
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--accent-violet);
}
.mini-cards__nm { color: var(--fg-1); }
.mini-cards__sc {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 11px;
  color: var(--fg-0);
  text-align: right;
}
.phone__typing {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding: 8px 12px;
  background: oklch(0.20 0.025 270);
  border-radius: 12px;
  align-self: flex-start;
  max-width: 80%;
}
.phone__typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-purple);
  animation: bounce 1.2s ease-in-out infinite;
}
.phone__typing span:nth-child(2) { animation-delay: 0.15s; }
.phone__typing span:nth-child(3) { animation-delay: 0.3s; }
.phone__typing em {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
  margin-left: 4px;
}
@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.phone__input {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  margin: 0 12px 12px;
  background: oklch(0.20 0.025 270);
  border-radius: 100px;
  border: 1px solid var(--line-soft);
}
.phone__input-ph {
  font-size: 12px;
  color: var(--fg-3);
  flex: 1;
}
.phone__input-mic {
  color: var(--accent-violet);
  font-size: 12px;
}

/* Agents map */
.agents {
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.agents__core {
  position: relative;
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
}
.agents__core-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed oklch(0.40 0.08 280 / 0.5);
  animation: spinSlow 30s linear infinite;
}
.agents__core-ring--2 {
  inset: -60px;
  border-color: oklch(0.40 0.08 280 / 0.25);
  animation-duration: 60s;
  animation-direction: reverse;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.agents__core-inner {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, oklch(0.30 0.06 270), oklch(0.18 0.025 270));
  border: 1px solid oklch(0.40 0.08 280);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 0 60px oklch(0.5 0.2 280 / 0.4), inset 0 1px 0 oklch(0.5 0.06 280);
  position: relative;
  z-index: 1;
}
.agents__core-inner img { width: 56px; height: auto; }
.agents__core-inner span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-1);
}

/* Surrounding agent nodes — positioned around a 380px circle */
.agent-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
  background: oklch(0.20 0.025 270 / 0.85);
  border: 1px solid var(--line);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  min-width: 80px;
  z-index: 2;
}
.agent-node__icon {
  font-family: var(--f-display);
  font-size: 18px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.agent-node__name {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-1);
}
.agent-node__line {
  position: absolute;
  background: linear-gradient(90deg, oklch(0.40 0.08 280 / 0.6), transparent);
  height: 1px;
  transform-origin: 0 50%;
  pointer-events: none;
}
/* Positions around the circle */
.agent-node--1 { top: 8%; left: 14%; }
.agent-node--2 { top: 8%; right: 14%; }
.agent-node--3 { top: 44%; left: 0%; }
.agent-node--4 { top: 44%; right: 0%; }
.agent-node--5 { bottom: 8%; left: 14%; }
.agent-node--6 { bottom: 8%; right: 14%; }

/* ============================================
   RESULTS / BIGNUMS / CASES
   ============================================ */
.bignums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, oklch(0.20 0.025 270), oklch(0.17 0.022 270));
}
.bignum {
  padding: 36px 28px;
  border-right: 1px solid var(--line-soft);
  position: relative;
}
.bignum:last-child { border-right: 0; }
.bignum__v {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.bignum__u {
  font-size: 0.55em;
  color: var(--accent-violet);
  -webkit-text-fill-color: var(--accent-violet);
  margin-left: 2px;
}
.bignum__k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, oklch(0.20 0.025 270), oklch(0.17 0.022 270));
  display: flex;
  flex-direction: column;
}
.case__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.case__logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  color: white;
  font-size: 14px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.case__name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--fg-0);
}
.case__meta {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.case__tag {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 6px;
  background: oklch(0.25 0.03 270);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--fg-1);
  text-transform: uppercase;
}
.case__quote {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-1);
  margin: 0 0 24px;
  flex: 1;
  text-wrap: pretty;
}
.case__foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.case__foot-v {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--fg-0);
  letter-spacing: -0.01em;
}
.case__foot-k {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-top: 2px;
}

/* ============================================
   PRICING
   ============================================ */
.billing {
  display: inline-flex;
  margin-top: 28px;
  background: oklch(0.19 0.025 270);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px;
}
.billing__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2);
  border-radius: 100px;
  transition: background 0.15s, color 0.15s;
}
.billing__btn.is-active {
  background: var(--grad);
  color: white;
}
.billing__save {
  font-family: var(--f-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: oklch(0.30 0.04 270);
  color: var(--fg-0);
}
.billing__btn.is-active .billing__save { background: rgba(255,255,255,0.2); color: white; }

.prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, oklch(0.20 0.025 270), oklch(0.17 0.022 270));
  display: flex;
  flex-direction: column;
  position: relative;
}
.price--featured {
  border-color: oklch(0.50 0.14 280);
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, oklch(0.30 0.10 280 / 0.4), transparent 60%),
    linear-gradient(180deg, oklch(0.22 0.03 270), oklch(0.18 0.025 270));
  box-shadow: 0 30px 60px -20px oklch(0.5 0.2 280 / 0.3), inset 0 1px 0 oklch(0.45 0.08 280);
}
.price__ribbon {
  position: absolute;
  top: -1px;
  right: 24px;
  padding: 4px 12px;
  background: var(--grad);
  border-radius: 0 0 8px 8px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: white;
  text-transform: uppercase;
  font-weight: 600;
}
.price__head { margin-bottom: 24px; }
.price__name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--fg-1);
  margin-bottom: 16px;
}
.price__amt {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 14px;
}
.price__cur {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--fg-2);
}
.price__num {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fg-0);
}
.price__num--word { font-size: 40px; }
.price__per {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--fg-2);
}
.price__desc {
  font-size: 13.5px;
  color: var(--fg-2);
  margin: 0;
  text-wrap: pretty;
}
.price__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.price__list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: var(--fg-1);
}
.price__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'><path d='M1 4l3.5 3L13 1' stroke='%23A855F7' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  position: relative;
  overflow: hidden;
  padding: 120px var(--gutter);
  text-align: center;
  border-top: 1px solid var(--line-soft);
}
.cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.cta__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.cta__sub {
  font-size: 17px;
  color: var(--fg-2);
  margin: 0 0 32px;
}
.cta__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--line-soft);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--gutter) 40px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
}
.footer__brand .brand { margin-bottom: 16px; }
.footer__tagline {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--fg-2);
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}
.footer__addr {
  font-size: 13px;
  color: var(--fg-3);
  margin: 0;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__h {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 4px;
}
.footer__col a,
.footer__link {
  font-size: 13.5px;
  color: var(--fg-1);
  transition: color 0.15s;
  text-align: left;
}
.footer__col a:hover,
.footer__link:hover { color: var(--accent-violet); }
.footer__link:focus-visible {
  outline: 2px solid var(--accent-violet);
  outline-offset: 3px;
  border-radius: 4px;
}
.footer__bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--gutter);
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
}

/* ============================================
   LEGAL MODAL
   ============================================ */
.is-legal-open { overflow: hidden; }
.legal-modal[hidden] { display: none; }
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}
.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 23, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.legal-modal__panel {
  position: relative;
  width: min(900px, 100%);
  max-height: min(760px, 88vh);
  overflow: hidden;
  border: 1px solid oklch(0.34 0.05 270);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 30% at 50% 0%, oklch(0.30 0.10 280 / 0.32), transparent 70%),
    linear-gradient(180deg, oklch(0.20 0.025 270), oklch(0.15 0.02 270));
  box-shadow: 0 40px 110px -28px rgba(0,0,0,0.78), inset 0 1px 0 rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease;
  outline: none;
}
.legal-modal.is-open .legal-modal__backdrop { opacity: 1; }
.legal-modal.is-open .legal-modal__panel { opacity: 1; transform: none; }
.legal-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.legal-modal__eyebrow {
  margin: 0 0 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-violet);
}
.legal-modal__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.legal-modal__close {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: oklch(0.18 0.025 270 / 0.8);
  color: var(--fg-1);
  font-size: 28px;
  line-height: 1;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.legal-modal__close:hover {
  border-color: oklch(0.42 0.06 280);
  color: white;
  background: oklch(0.24 0.035 270 / 0.9);
}
.legal-modal__meta {
  padding: 16px 34px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--fg-2);
}
.legal-modal__body {
  max-height: calc(min(760px, 88vh) - 190px);
  overflow: auto;
  padding: 28px 34px 34px;
  color: var(--fg-1);
  scrollbar-color: oklch(0.42 0.08 280) transparent;
}
.legal-modal__body p {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--fg-1);
}
.legal-modal__body h3 {
  margin: 28px 0 10px;
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--fg-0);
}
.legal-modal__body ul {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--fg-1);
}
.legal-modal__body li {
  margin: 8px 0;
  font-size: 14.5px;
  line-height: 1.7;
}
.legal-modal__body strong { color: var(--fg-0); }
.legal-modal__body a {
  color: var(--accent-violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; padding-top: 60px; }
  .workbench { height: 480px; }
  .preview { grid-template-columns: 1fr; gap: 40px; }
  .agents { height: 420px; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap--lg, .cap { grid-column: span 1; }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .workflow__line { display: none; }
  .bignums { grid-template-columns: repeat(2, 1fr); }
  .bignum:nth-child(2) { border-right: 0; }
  .bignum:nth-child(1), .bignum:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .cases { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
}
@media (max-width: 680px) {
  .nav__inner { gap: 12px; padding: 10px 16px; }
  .nav__right .btn--ghost { display: none; }
  .hero__meta { flex-wrap: wrap; gap: 16px; }
  .hero__meta-divider { display: none; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap__bullets { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: 1fr; }
  .bignums { grid-template-columns: 1fr; }
  .bignum { border-right: 0 !important; border-bottom: 1px solid var(--line-soft); }
  .bignum:last-child { border-bottom: 0; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; gap: 8px; }
  .legal-modal { padding: 12px; }
  .legal-modal__panel { max-height: 92vh; border-radius: 18px; }
  .legal-modal__head { padding: 22px 20px 14px; }
  .legal-modal__meta { padding: 14px 20px; }
  .legal-modal__body { padding: 22px 20px 26px; max-height: calc(92vh - 174px); }
  .legal-modal__close { width: 34px; height: 34px; border-radius: 10px; }
  .workbench { height: auto; min-height: 600px; }
  .wb-card--thread { width: 92%; }
  .wb-card--pick { width: 92%; position: relative; margin-top: 280px; }
  .wb-chip { display: none; }
}


/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s cubic-bezier(0.2, 0.65, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .step__node-pulse, .wb-card__dot--live, .wb-card__chip-dot, .phone__typing span, .image-grid__shimmer, .agents__core-ring { animation: none !important; }
}
