/* ============================================================
   Clarity LP — Design tokens + base styles
   Brand: Beomytech (teal → violet gradient, charcoal ink)
   ============================================================ */

:root {
  /* Brand colors derived from logo */
  --brand-teal: #34BFB1;
  --brand-teal-deep: #1F9D90;
  --brand-violet: #6B5BD6;
  --brand-violet-deep: #5444C2;
  --grad-brand: linear-gradient(135deg, #34BFB1 0%, #6B5BD6 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(52, 191, 177, 0.16) 0%, rgba(107, 91, 214, 0.16) 100%);
  --grad-brand-vert: linear-gradient(180deg, #34BFB1 0%, #6B5BD6 100%);

  /* Ink + neutrals (cool slate) */
  --ink: #0B0F14;
  --ink-2: #1F2630;
  --ink-3: #3A4452;
  --mute: #5B6470;
  --mute-2: #8A93A0;
  --hairline: #E5E7EB;
  --hairline-strong: #CDD2DA;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-tint: #F7F8FA;
  --bg-tint-2: #EEF0F4;
  --bg-dark: #0B0F14;
  --bg-dark-2: #14181F;

  /* Semantic */
  --warn: #C2710C;
  --warn-bg: #FEF7EA;
  --success: #16A34A;
  --success-bg: #ECFDF3;
  --danger: #B91C1C;

  /* Type */
  --font-sans: 'Heebo', 'Assistant', 'Rubik', 'Noto Sans Hebrew', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-32: 128px;

  /* Radius */
  --r-1: 6px;
  --r-2: 10px;
  --r-3: 14px;
  --r-4: 20px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-1: 0 1px 2px rgba(11, 15, 20, 0.04), 0 0 0 1px rgba(11, 15, 20, 0.04);
  --shadow-2: 0 4px 12px rgba(11, 15, 20, 0.06), 0 0 0 1px rgba(11, 15, 20, 0.05);
  --shadow-3: 0 18px 50px rgba(11, 15, 20, 0.12), 0 0 0 1px rgba(11, 15, 20, 0.04);
  --shadow-glow: 0 0 0 1px rgba(107, 91, 214, 0.28), 0 20px 60px -10px rgba(107, 91, 214, 0.28);

  /* Layout */
  --container: 1200px;
  --container-tight: 1040px;
  --container-narrow: 760px;

  /* Density */
  --section-y: clamp(32px, 4vw, 60px);
}

/* ============================================================
   Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  word-spacing: 0.02em;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

button { font: inherit; cursor: pointer; }

::selection { background: rgba(107, 91, 214, 0.22); color: var(--ink); }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 16px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-2);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--brand-violet);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.012em;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}

.display {
  font-size: clamp(40px, 5.8vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.022em;
}
.h1 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.1; letter-spacing: -0.018em; }
.h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -0.014em; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.01em; }
.h4 { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.35; font-weight: 700; }

.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink-3);
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; color: var(--ink); }

.num, [dir="ltr"].num, bdo.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============================================================
   Layout primitives
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}
.container--tight { max-width: var(--container-tight); }
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--bg-dark); color: #E5E7EB; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.stack-2 { display: flex; flex-direction: column; gap: 8px; }
.stack-3 { display: flex; flex-direction: column; gap: 12px; }
.stack-4 { display: flex; flex-direction: column; gap: 16px; }
.stack-6 { display: flex; flex-direction: column; gap: 24px; }
.stack-8 { display: flex; flex-direction: column; gap: 32px; }
.stack-12 { display: flex; flex-direction: column; gap: 48px; }

.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   Components
   ============================================================ */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  min-height: 52px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-lg { padding: 18px 32px; min-height: 60px; font-size: 17px; }

.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-3);
}
.btn-primary:hover::before { opacity: 1; }

.btn-grad {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  background-size: 200% 200%;
  background-position: 0% 50%;
  transition: background-position 0.6s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-grad:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow: 0 14px 40px -8px rgba(107, 91, 214, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-strong);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--bg-tint);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--bg-tint); }

.btn .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn:hover .arrow { transform: translateX(-4px); }

/* Card */
.card {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-4);
  padding: clamp(20px, 2.4vw, 32px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.card--tint { background: var(--bg-tint); border-color: transparent; }
.card--lift:hover { box-shadow: var(--shadow-2); border-color: var(--hairline-strong); }
.card--accent {
  border-color: transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--grad-brand) border-box;
  border: 1.5px solid transparent;
}

/* Pill / chip */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--bg-tint);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  border: 1px solid var(--hairline);
}
.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-teal);
}
.pill--warn { background: var(--warn-bg); border-color: rgba(194, 113, 12, 0.2); color: var(--warn); }
.pill--warn .dot { background: var(--warn); }
.pill--success { background: var(--success-bg); border-color: rgba(22, 163, 74, 0.18); color: var(--success); }
.pill--success .dot { background: var(--success); }

/* Tabular numbers helper */
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* Number/stat */
.stat-num {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(56px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-num--grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 15px;
  line-height: 1.45;
  color: var(--mute);
  font-weight: 500;
}

/* Numbered badge */
.badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.badge-num--outline {
  background: transparent;
  border: 1.5px solid var(--hairline-strong);
  color: var(--ink);
}

/* Divider */
.divider { height: 1px; background: var(--hairline); border: 0; margin: 0; }
.divider--dashed { background: none; border-top: 1px dashed var(--hairline-strong); }

/* ============================================================
   Logo / nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(11, 15, 20, 0.06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  display: inline-block;
  height: 30px;
  width: auto;
}
.brand-divider {
  width: 1px;
  height: 22px;
  background: var(--hairline-strong);
  display: inline-block;
}
.brand-product {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.012em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-sans);
}
.footer .brand-logo { height: 32px; }
.footer .brand-product { font-size: 22px; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-block: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 50px); position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -5% auto auto;
  width: 65%;
  height: 90%;
  background:
    radial-gradient(circle at 30% 30%, rgba(52, 191, 177, 0.18), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(107, 91, 214, 0.20), transparent 55%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.hero-eyebrow .tag {
  background: var(--ink);
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 72px);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero h1 .emph { color: var(--ink); position: relative; white-space: nowrap; }
.hero h1 .emph::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  bottom: 6px;
  height: 14px;
  background: var(--grad-brand-soft);
  z-index: -1;
  border-radius: 4px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero-microcopy {
  margin-top: 20px;
  font-size: 14px;
  color: var(--mute);
  line-height: 1.6;
  max-width: 56ch;
}
.hero-microcopy strong { color: var(--ink-2); }

/* Hero visual — document stack preview */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}
.doc-stack {
  position: relative;
  width: 100%;
  height: 100%;
}
.doc {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  box-shadow: var(--shadow-3);
  padding: 16px 18px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-3);
  overflow: hidden;
  direction: ltr;
  text-align: start;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 500;
  /* opacity 0 + transform — animated in by JS-free onload */
  opacity: 0;
  animation:
    docIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
    docFloat 8s ease-in-out infinite;
}
.doc__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 12px;
}
.doc__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.doc__chip.chip--warn { background: #B45309; }
.doc__chip.chip--accent { background: var(--grad-brand); color: #fff; }
.doc__hd-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mute);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.doc__title-line {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
}
.doc__body { display: flex; flex-direction: column; gap: 12px; }

/* PRD list */
.prd-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.prd-li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 9px;
  align-items: center;
  font-size: 11.5px;
  color: var(--ink-3);
}
.prd-check {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1.5px solid var(--hairline-strong);
  position: relative;
  flex-shrink: 0;
}
.prd-li.done .prd-check {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
}
.prd-li.done .prd-check::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg) translate(-1px, -2px);
  width: 4px;
  height: 8px;
  left: 4px;
}
.prd-li.half .prd-check {
  background: linear-gradient(90deg, var(--brand-teal) 50%, transparent 50%);
  border-color: var(--brand-teal);
}
.prd-li.done span:last-child { color: var(--ink-2); }
.prd-li:not(.done):not(.half) span:last-child { color: var(--mute); }

/* Scan line overlay */
.doc__scan {
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  top: 60px;
  height: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(52, 191, 177, 0.18) 50%, transparent 100%);
  pointer-events: none;
  animation: scanLine 4s ease-in-out infinite;
  border-radius: var(--r-1);
}

/* Risk list */
.risk-list { display: flex; flex-direction: column; gap: 6px; }
.risk-li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  padding: 5px 0;
  border-bottom: 1px dashed var(--hairline);
}
.risk-li:last-child { border-bottom: 0; }
.risk-dot { width: 8px; height: 8px; border-radius: 50%; }
.risk-dot--high { background: #DC2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15); }
.risk-dot--med { background: #D97706; box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12); }
.risk-dot--low { background: #16A34A; box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12); }
.risk-label { color: var(--ink-2); font-weight: 500; }
.risk-sev {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 2px 6px;
  border-radius: var(--r-pill);
  background: var(--bg-tint);
}

/* Cost bar */
.cost-bar { margin-top: 4px; padding-top: 12px; border-top: 1px dashed var(--hairline); }
.cost-bar__hd {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mute);
  font-weight: 600;
}
.cost-bar__amt {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0;
}
.cost-bar__track {
  height: 5px;
  background: var(--bg-tint-2);
  border-radius: var(--r-pill);
  overflow: hidden;
  position: relative;
}
.cost-bar__fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad-brand);
  border-radius: inherit;
  animation: costFill 1.6s 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Gantt */
.gantt {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gantt__row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 8px;
  align-items: center;
  height: 14px;
}
.gantt__label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mute);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.gantt__row::after {
  content: "";
  display: block;
  height: 6px;
  background: var(--bg-tint-2);
  border-radius: var(--r-pill);
  grid-column: 2;
}
.gantt__bar {
  grid-column: 2;
  grid-row: 1;
  height: 6px;
  border-radius: var(--r-pill);
  margin-inline-start: var(--start);
  width: 0;
  background: var(--grad-brand);
  animation: barFill 1s var(--delay, 0s) cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.gantt__bar--1 { --delay: 0.5s; }
.gantt__bar--2 { --delay: 0.8s; }
.gantt__bar--3 { --delay: 1.1s; }
.gantt__bar--4 { --delay: 1.4s; }
.gantt__weeks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--mute);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 4px;
  margin-inline-start: 44px;
}
.gantt__weeks span { text-align: center; }

/* Split badges */
.split-badges {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--hairline);
}
.split-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--bg-tint);
  color: var(--ink-2);
}
.split-badge__dot { width: 7px; height: 7px; border-radius: 50%; }
.split-badge--ai .split-badge__dot { background: var(--brand-teal); }
.split-badge--sr .split-badge__dot { background: var(--brand-violet); }

/* Card positioning + per-card animation timing */
.doc--1 {
  top: 0;
  inset-inline-start: 2%;
  width: 70%;
  transform: rotate(-3deg) translateY(8px);
  z-index: 1;
  animation-delay: 0s, 0.9s;
  animation-duration: 0.9s, 9s;
}
.doc--2 {
  top: 22%;
  inset-inline-end: -2%;
  width: 66%;
  transform: rotate(2.5deg) translateY(8px);
  z-index: 3;
  animation-delay: 0.15s, 1.1s;
  animation-duration: 0.9s, 10s;
}
.doc--3 {
  bottom: 2%;
  inset-inline-start: 6%;
  width: 76%;
  transform: rotate(-1deg) translateY(8px);
  z-index: 2;
  animation-delay: 0.3s, 1.3s;
  animation-duration: 0.9s, 11s;
}

/* Hover: cards bloom apart */
.hero-visual:hover .doc--1 { transform: rotate(-5deg) translate(6px, -6px); }
.hero-visual:hover .doc--2 { transform: rotate(3.5deg) translate(-8px, -4px); }
.hero-visual:hover .doc--3 { transform: rotate(-2deg) translateY(2px); }

@keyframes docIn {
  0%   { opacity: 0; transform: translateY(20px) rotate(var(--start-rot, -3deg)); }
  100% { opacity: 1; }
}
.doc--1 { --start-rot: -3deg; }
.doc--2 { --start-rot: 2.5deg; }
.doc--3 { --start-rot: -1deg; }
.doc--1 { animation-name: docIn1, docFloat1; }
.doc--2 { animation-name: docIn2, docFloat2; }
.doc--3 { animation-name: docIn3, docFloat3; }
.doc { animation-fill-mode: both; }

@keyframes docIn1 {
  0%   { opacity: 0; transform: rotate(-3deg) translateY(20px); }
  100% { opacity: 1; transform: rotate(-3deg) translateY(0); }
}
@keyframes docIn2 {
  0%   { opacity: 0; transform: rotate(2.5deg) translateY(20px); }
  100% { opacity: 1; transform: rotate(2.5deg) translateY(0); }
}
@keyframes docIn3 {
  0%   { opacity: 0; transform: rotate(-1deg) translateY(20px); }
  100% { opacity: 1; transform: rotate(-1deg) translateY(0); }
}
@keyframes docFloat1 {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-3.5deg) translateY(-4px); }
}
@keyframes docFloat2 {
  0%, 100% { transform: rotate(2.5deg) translateY(0); }
  50%      { transform: rotate(3deg) translateY(-6px); }
}
@keyframes docFloat3 {
  0%, 100% { transform: rotate(-1deg) translateY(0); }
  50%      { transform: rotate(-1.5deg) translateY(-3px); }
}

@keyframes scanLine {
  0%   { top: 50px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 92%; opacity: 0; }
}

@keyframes costFill {
  0%   { width: 0; }
  100% { width: 68%; }
}

@keyframes barFill {
  0%   { width: 0; }
  100% { width: var(--width); }
}

@media (prefers-reduced-motion: reduce) {
  .doc, .doc__scan, .cost-bar__fill, .gantt__bar { animation: none !important; opacity: 1 !important; width: var(--width, auto); }
  .cost-bar__fill { width: 68%; }
}

/* ============================================================
   Reality strip (Section 2)
   ============================================================ */
.reality {
  background: var(--bg-tint);
  border-block: 1px solid var(--hairline);
}
.reality-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
}
@media (max-width: 880px) {
  .reality-grid { grid-template-columns: 1fr; }
}
.reality-cell {
  padding: 32px clamp(20px, 3vw, 36px);
  border-inline-start: 1px solid var(--hairline);
}
.reality-cell:first-child { border-inline-start: 0; }
@media (max-width: 880px) {
  .reality-cell { border-inline-start: 0; border-block-start: 1px solid var(--hairline); }
  .reality-cell:first-child { border-block-start: 0; }
}
.reality-cell .label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 12px;
}
.reality-cell .price {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.reality-cell .price.struck { text-decoration: line-through; text-decoration-color: var(--mute-2); text-decoration-thickness: 2px; color: var(--mute); }
.reality-cell .price.grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.reality-cell .sub { margin-top: 8px; font-size: 14px; color: var(--mute); line-height: 1.5; }

.reality-callout {
  margin-top: 48px;
  padding: 28px clamp(24px, 3.5vw, 40px);
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-4);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px 24px;
  align-items: center;
  position: relative;
}
.reality-callout::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad-brand-vert);
  border-radius: var(--r-pill);
}
@media (max-width: 720px) {
  .reality-callout { grid-template-columns: 1fr; padding-inline-start: 28px; }
}
.reality-callout__price {
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.018em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

/* ============================================================
   Trust strip (Section 3)
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 880px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
.trust-card {
  padding: 32px clamp(20px, 2.2vw, 28px);
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-4);
  position: relative;
  overflow: hidden;
}
.trust-card .stat-num {
  font-size: clamp(48px, 5vw, 76px);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}
.trust-card .stat-label {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
  font-weight: 500;
}
.trust-card em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 13px;
  color: var(--mute);
  line-height: 1.5;
}

.logo-strip {
  margin-top: 56px;
  padding-block: 36px;
  border-block: 1px solid var(--hairline);
}
.logo-strip__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 28px;
}
.logo-row {
  width: 100%;
  overflow: hidden;
  direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logo-row__track {
  display: flex;
  width: max-content;
  animation: logoMarquee 28s linear infinite;
  will-change: transform;
}
.logo-row__set {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  padding-inline: clamp(20px, 3vw, 48px);
  flex-shrink: 0;
}
.logo-row img {
  height: 72px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: brightness(0) opacity(0.45);
  transition: filter 0.25s ease, transform 0.25s ease;
}
.logo-row img:hover {
  filter: none;
  transform: scale(1.05);
}
.logo-row img[src*="11-mantaray"] {
  filter: grayscale(1) brightness(0.72) opacity(0.72);
}
.logo-row img[src*="11-mantaray"]:hover {
  filter: none;
}
@keyframes logoMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 720px) {
  .logo-row img {
    height: 56px;
    max-width: 220px;
  }
  .logo-row__track { animation-duration: 28s; }
}

/* Capacity strip */
.capacity {
  margin-top: 56px;
  padding: 18px clamp(20px, 3vw, 32px);
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  align-items: center;
}
@media (max-width: 720px) { .capacity { grid-template-columns: 1fr; } }
.capacity__row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--ink-2);
}
.capacity__row .month { font-weight: 700; color: var(--ink); }
.capacity__row .count { font-weight: 700; font-variant-numeric: tabular-nums; }
.capacity__note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--mute);
  border-top: 1px dashed var(--hairline-strong);
  padding-top: 14px;
  margin-top: 4px;
}

/* ============================================================
   Section header
   ============================================================ */
.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }

/* ============================================================
   Problem scenarios (Section 4)
   ============================================================ */
.scenarios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .scenarios { grid-template-columns: 1fr; } }
.scenario {
  padding: 28px clamp(20px, 2.4vw, 32px);
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-4);
  position: relative;
}
.scenario__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--mute);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.scenario h3 {
  font-size: 21px;
  margin-bottom: 16px;
  line-height: 1.25;
}
.scenario p { font-size: 15px; color: var(--ink-3); line-height: 1.65; margin-bottom: 12px; }
.scenario p:last-child { margin-bottom: 0; }
.scenario .cost {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--hairline-strong);
  font-size: 14px;
  color: var(--ink-2);
}
.scenario .cost strong { color: var(--danger); }

.problem-closing {
  margin-top: 48px;
  text-align: center;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 800px;
  margin-inline: auto;
}
.problem-closing strong { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ============================================================
   How we build (Section 5)
   ============================================================ */
.stage-card {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-4);
  position: relative;
}
.stage-card--1 {
  background: var(--ink);
  color: #E5E7EB;
}
.stage-card--1 h3, .stage-card--1 h4, .stage-card--1 .stage-meta strong { color: #fff; }
.stage-card--2 {
  background: var(--bg);
  border: 1px solid var(--hairline);
}
.stage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.15);
}
.stage-card--2 .stage-head { border-bottom-color: var(--hairline); }
.stage-head__l { display: flex; flex-direction: column; gap: 8px; }
.stage-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand-teal);
}
.stage-card--2 .stage-tag { color: var(--brand-violet); }
.stage-card h3 { font-size: clamp(24px, 2.4vw, 32px); }
.stage-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: rgba(229, 231, 235, 0.7);
  text-align: end;
}
.stage-card--2 .stage-meta { color: var(--mute); }
.stage-meta strong { font-size: 20px; font-weight: 800; }

/* Deliverables table */
.deliv {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.deliv th, .deliv td {
  padding: 14px 16px;
  text-align: start;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.55;
  border-block-end: 1px solid rgba(229, 231, 235, 0.08);
}
.stage-card--2 .deliv th, .stage-card--2 .deliv td { border-block-end-color: var(--hairline); }
.deliv th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(229, 231, 235, 0.55);
  padding-bottom: 12px;
}
.stage-card--2 .deliv th { color: var(--mute); }
.deliv td:first-child {
  width: 50px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--brand-teal);
  font-size: 16px;
}
.deliv td:nth-child(2) { font-weight: 700; color: #fff; width: 36%; }
.stage-card--2 .deliv td:nth-child(2) { color: var(--ink); }
.deliv td:nth-child(3) { color: rgba(229, 231, 235, 0.75); }
.stage-card--2 .deliv td:nth-child(3) { color: var(--ink-3); }
.deliv tr:last-child td { border-block-end: 0; }

.stage-close {
  margin-top: 28px;
  padding: 20px 24px;
  background: rgba(52, 191, 177, 0.1);
  border: 1px solid rgba(52, 191, 177, 0.25);
  border-radius: var(--r-3);
  font-size: 16px;
  line-height: 1.55;
}
.stage-card--1 .stage-close,
.stage-card--1 .stage-close strong {
  color: #fff;
}
.stage-card--2 .stage-close { background: rgba(107, 91, 214, 0.06); border-color: rgba(107, 91, 214, 0.2); }

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.principle {
  padding: 22px 24px;
  border-radius: var(--r-3);
  background: var(--bg-tint);
  border: 1px solid var(--hairline);
}
.principle h4 { font-size: 17px; margin-bottom: 8px; }
.principle p { font-size: 14px; color: var(--ink-3); line-height: 1.55; margin: 0; }
.principle__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--brand-violet);
}

.stage-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-block: 12px;
  color: var(--mute);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stage-connector__line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--brand-teal), var(--brand-violet));
}

/* ============================================================
   Manifesto (Section 6)
   ============================================================ */
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.manifesto-card {
  padding: 32px clamp(24px, 2.6vw, 32px);
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-4);
  position: relative;
}
.manifesto-card__num {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.manifesto-card h3 { font-size: 19px; margin-bottom: 14px; line-height: 1.3; }
.manifesto-card p { font-size: 15px; color: var(--ink-3); line-height: 1.65; }
.manifesto-card strong { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ============================================================
   Pricing (Section 7)
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 880px) { .pricing { grid-template-columns: 1fr; } }
.price-card {
  padding: clamp(28px, 3vw, 36px);
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-4);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.price-card__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mute);
}
.price-card__title { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.price-card__amount {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.price-card__amount .vat { font-size: 13px; font-weight: 400; color: var(--mute); letter-spacing: 0; }
.price-card__amount .unit { font-size: 0.55em; font-weight: 700; color: var(--ink-3); }
.price-card--featured .price-card__amount .unit { color: rgba(255,255,255,.8); }
.price-card__meta { font-size: 14px; color: var(--ink-3); line-height: 1.6; }
.price-card--featured {
  background: var(--ink);
  border-color: transparent;
  color: #E5E7EB;
  position: relative;
  overflow: hidden;
}
.price-card--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(52, 191, 177, 0.35), transparent 50%), radial-gradient(circle at 20% 100%, rgba(107, 91, 214, 0.35), transparent 50%);
  pointer-events: none;
}
.price-card--featured > * { position: relative; z-index: 1; }
.price-card--featured .price-card__title,
.price-card--featured .price-card__amount { color: #fff; }
.price-card--featured .price-card__tag { color: var(--brand-teal); }
.price-card--featured .price-card__meta { color: rgba(229, 231, 235, 0.8); }
.price-card--featured .price-card__badge {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* Inner wrapper on credit card needs its own flex column + gap, since the
   outer .price-card flex gap doesn't reach grandchildren. */
.price-card__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-card__connector {
  position: absolute;
  top: 50%;
  inset-inline-end: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad-brand);
  transform: translateY(-50%);
  z-index: 2;
  display: none;
}

.pricing-fineprint {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  font-size: 14px;
  color: var(--ink-3);
}
.pricing-fineprint li { list-style: none; display: flex; gap: 10px; }
.pricing-fineprint li::before {
  content: "✓";
  color: var(--brand-teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   Process timeline (Section 8)
   ============================================================ */
.process-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-4);
  overflow: hidden;
}
.process-table th, .process-table td {
  padding: 16px 20px;
  text-align: start;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.55;
  border-block-end: 1px solid var(--hairline);
}
.process-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mute);
  background: var(--bg-tint);
}
.process-table td:nth-child(1) { width: 70px; font-family: var(--font-mono); font-weight: 700; color: var(--brand-violet); }
.process-table td:nth-child(2) { width: 32%; font-weight: 600; color: var(--ink); }
.process-table td:nth-child(4) { width: 160px; color: var(--mute); white-space: nowrap; }
.process-table tr:last-child td { border-block-end: 0; }
.process-table tr.phase-break td { background: var(--bg-tint); border-block-start: 1px solid var(--hairline); }

@media (max-width: 720px) {
  .process-table thead { display: none; }
  .process-table, .process-table tbody, .process-table tr, .process-table td { display: block; width: 100% !important; }
  .process-table tr { padding: 16px 18px; border-block-end: 1px solid var(--hairline); }
  .process-table tr:last-child { border-block-end: 0; }
  .process-table td { padding: 4px 0; border: 0; }
  .process-table td:nth-child(1) { font-size: 12px; color: var(--mute); }
  .process-table td:nth-child(2) { font-size: 16px; margin-block: 4px; }
  .process-table td:nth-child(4) { padding-top: 8px; font-size: 13px; }
}

/* ============================================================
   For/Not-for (Section 9)
   ============================================================ */
.fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 720px) { .fit { grid-template-columns: 1fr; } }
.fit-col {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-4);
  background: var(--bg);
  border: 1px solid var(--hairline);
}
.fit-col--yes { border-color: rgba(22, 163, 74, 0.25); background: var(--success-bg); }
.fit-col--no { border-color: rgba(185, 28, 28, 0.16); background: #FEF2F2; }
.fit-col h3 { font-size: 21px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.fit-col--yes h3 { color: var(--success); }
.fit-col--no h3 { color: var(--danger); }
.fit-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.fit-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.fit-list li::before {
  content: "✓";
  font-weight: 800;
  font-size: 16px;
  color: var(--success);
  line-height: 1.55;
}
.fit-col--no .fit-list li::before { content: "✕"; color: var(--danger); }
.fit-list li strong { color: var(--ink); }

/* ============================================================
   FAQ (Section 10)
   ============================================================ */
.faq {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-4);
  overflow: hidden;
}
.faq-item { border-block-end: 1px solid var(--hairline); }
.faq-item:last-child { border-block-end: 0; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(20px, 2.4vw, 28px);
  background: transparent;
  border: 0;
  text-align: start;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.faq-q:hover { background: var(--bg-tint); }
.faq-q__sign {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--hairline-strong);
  position: relative;
  transition: transform 0.3s ease, border-color 0.2s ease;
}
.faq-q__sign::before, .faq-q__sign::after {
  content: "";
  position: absolute;
  background: var(--ink-2);
  top: 50%;
  left: 50%;
  transition: transform 0.25s ease;
}
.faq-q__sign::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-q__sign::after { width: 1.5px; height: 10px; transform: translate(-50%, -50%); }
.faq-item.open .faq-q__sign { border-color: var(--brand-violet); }
.faq-item.open .faq-q__sign::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.faq-a__inner {
  padding: 0 clamp(20px, 2.4vw, 28px) 24px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-3);
  max-width: 70ch;
}
.faq-item.open .faq-a { max-height: 400px; }

/* ============================================================
   Final CTA + form (Section 11)
   ============================================================ */
.final-cta {
  background: var(--bg-dark);
  color: #E5E7EB;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(52, 191, 177, 0.18), transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(107, 91, 214, 0.25), transparent 50%);
  pointer-events: none;
}
.final-cta > .container { position: relative; z-index: 1; }
.final-cta h2 { color: #fff; font-size: clamp(36px, 4.4vw, 56px); }
.final-cta .lead { color: rgba(229, 231, 235, 0.78); }

.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
@media (max-width: 880px) { .final-grid { grid-template-columns: 1fr; } }

.final-trust {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.final-trust li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(229, 231, 235, 0.85);
}
.final-trust li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.final-contact {
  margin-top: 32px;
  font-size: 15px;
  color: rgba(229, 231, 235, 0.6);
}
.final-contact a {
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  border-block-end: 1px solid rgba(255, 255, 255, 0.3);
  padding-block-end: 1px;
}
.final-contact a:hover { border-block-end-color: var(--brand-teal); text-decoration: none; }

/* Form */
.lead-form {
  background: var(--bg);
  border-radius: var(--r-4);
  padding: clamp(28px, 3.4vw, 40px);
  box-shadow: var(--shadow-3);
  color: var(--ink);
}
.lead-form__head { margin-bottom: 24px; }
.lead-form__head h3 { font-size: 22px; margin-bottom: 6px; }
.lead-form__head p { color: var(--mute); font-size: 14px; }
.lead-form__steps { display: flex; gap: 8px; margin-bottom: 24px; }
.lead-form__step {
  flex: 1;
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--hairline);
  transition: background 0.3s ease;
}
.lead-form__step.active { background: var(--grad-brand); }
.lead-form__step.done { background: var(--brand-violet); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.field label .req { color: var(--danger); margin-inline-start: 2px; }
.field input, .field textarea {
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border-radius: var(--r-2);
  border: 1.5px solid var(--hairline);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
  min-height: 52px;
}
.field input:focus, .field textarea:focus {
  border-color: var(--brand-violet);
  box-shadow: 0 0 0 4px rgba(107, 91, 214, 0.12);
}
.field textarea { min-height: 96px; resize: vertical; }
.field .hint { font-size: 12px; color: var(--mute); }
.field .err { font-size: 13px; color: var(--danger); }

.radio-group { display: flex; flex-direction: column; gap: 8px; }
.radio {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--hairline);
  border-radius: var(--r-2);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  font-size: 15px;
  color: var(--ink-2);
}
.radio:hover { border-color: var(--hairline-strong); background: var(--bg-tint); }
.radio input { position: absolute; opacity: 0; }
.radio .dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--hairline-strong);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.15s;
}
.radio.checked { border-color: var(--brand-violet); background: rgba(107, 91, 214, 0.06); }
.radio.checked .dot { border-color: var(--brand-violet); }
.radio.checked .dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--brand-violet);
}

.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.form-actions .btn { flex: 1; min-width: 180px; }
.form-actions .skip-btn { flex: 0 1 auto; background: transparent; border: 0; color: var(--mute); font-weight: 600; padding: 12px 16px; border-radius: var(--r-pill); }
.form-actions .skip-btn:hover { background: var(--bg-tint); color: var(--ink); }

.form-success {
  text-align: center;
  padding: 32px 8px;
}
.form-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  margin-bottom: 20px;
}
.form-success h3 { font-size: 22px; margin-bottom: 10px; }
.form-success p { color: var(--mute); font-size: 15px; max-width: 36ch; margin-inline: auto; }

/* ============================================================
   Footer (Section 13)
   ============================================================ */
.footer {
  padding-block: 56px 36px;
  background: var(--bg);
  border-top: 1px solid var(--hairline);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col a { color: var(--ink-3); }
.footer__col a:hover { color: var(--brand-violet); }
.footer__bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--mute);
}
.cookie-notice {
  font-size: 13px;
  color: var(--mute);
  background: var(--bg-tint);
  padding: 14px 18px;
  border-radius: var(--r-2);
  margin-top: 24px;
}
.cookie-notice a { color: var(--brand-violet); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   Legal pages
   ============================================================ */
.legal-page {
  background: var(--bg-tint);
}
.legal-section {
  padding-block: clamp(36px, 5vw, 72px);
}
.legal-doc {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-4);
  padding: clamp(28px, 4vw, 56px);
  box-shadow: var(--shadow-1);
}
.legal-doc h1 {
  font-size: 22px;
  margin-bottom: 18px;
}
.legal-doc h2 {
  font-size: 18px;
  margin-top: 36px;
  margin-bottom: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.legal-doc p,
.legal-doc li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-3);
}
.legal-doc p {
  margin-bottom: 16px;
}
.legal-doc ul {
  margin: 0 0 18px;
  padding-inline-start: 22px;
}
.legal-doc a {
  color: var(--brand-violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-doc strong {
  color: var(--ink);
}
.legal-footer-bottom a {
  color: var(--brand-violet);
  font-weight: 700;
}

/* ============================================================
   Sticky mobile CTA
   ============================================================ */
.mobile-cta {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--hairline);
  z-index: 40;
  display: none;
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mobile-cta.visible { transform: translateY(0); }
.mobile-cta .btn { width: 100%; }
@media (max-width: 880px) { .mobile-cta { display: block; } }

/* ============================================================
   Animations
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   Variant: hero
   ============================================================ */
body[data-hero="centered"] .hero-grid { grid-template-columns: 1fr; text-align: center; max-width: 880px; margin-inline: auto; }
body[data-hero="centered"] .hero-visual { display: none; }
body[data-hero="centered"] .hero-cta-row { justify-content: center; }
body[data-hero="centered"] .hero-microcopy { margin-inline: auto; }

body[data-hero="editorial"] .hero-grid { grid-template-columns: 1fr; max-width: 1040px; margin-inline: auto; }
body[data-hero="editorial"] .hero-visual { display: none; }
body[data-hero="editorial"] .hero h1 { font-size: clamp(48px, 8vw, 110px); letter-spacing: -0.03em; }

/* Variant: pricing */
body[data-pricing="flow"] .pricing {
  grid-template-columns: 1fr 0.6fr 1fr;
  align-items: stretch;
  position: relative;
}
@media (max-width: 880px) {
  body[data-pricing="flow"] .pricing { grid-template-columns: 1fr; }
}
body[data-pricing="flow"] .price-card--credit {
  background: transparent;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
body[data-pricing="flow"] .price-card--credit .price-card__inner {
  padding: 24px;
  background: var(--grad-brand);
  color: #fff;
  border-radius: var(--r-4);
  width: 100%;
}
body[data-pricing="flow"] .price-card--credit .price-card__title,
body[data-pricing="flow"] .price-card--credit .price-card__amount { color: #fff; }
body[data-pricing="flow"] .price-card--credit .price-card__tag { color: rgba(255,255,255,.7); }
body[data-pricing="flow"] .price-card--credit .price-card__meta { color: rgba(255,255,255,.85); }

body[data-pricing="banner"] .pricing { grid-template-columns: 1fr 1fr; }
@media (max-width: 880px) { body[data-pricing="banner"] .pricing { grid-template-columns: 1fr; } }
body[data-pricing="banner"] .price-card--credit {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px clamp(28px, 3vw, 40px);
}
body[data-pricing="banner"] .price-card--credit .price-card__amount { font-size: clamp(40px, 4vw, 52px); }
body[data-pricing="banner"] .price-card--credit > * { margin: 0; }

/* Density */
body[data-density="comfy"] { --section-y: clamp(36px, 4.5vw, 72px); }
body[data-density="compact"] { --section-y: clamp(24px, 3vw, 44px); }

/* English/RTL helpers */
.ltr { unicode-bidi: isolate; direction: ltr; display: inline-block; }
.ltr.tnum, .ltr { white-space: nowrap; }
.nowrap { white-space: nowrap; }
.final-contact a { white-space: nowrap; }

/* Mobile responsiveness guardrails */
@media (max-width: 720px) {
  .container {
    padding-inline: 16px;
  }

  .site-header__inner {
    gap: 10px;
    padding-block: 10px;
    min-width: 0;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
    gap: 8px;
  }

  .brand-logo {
    height: 24px;
    flex-shrink: 1;
  }

  .brand-divider {
    height: 18px;
  }

  .brand-product {
    font-size: 16px;
  }

  .nav-cta {
    flex: 0 0 auto;
    gap: 8px;
  }

  .nav-cta .btn-ghost {
    display: none;
  }

  .nav-cta .btn-grad {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 14px;
  }

  .hero {
    padding-block-start: 28px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-content {
    min-width: 0;
  }

  .hero-eyebrow {
    max-width: 100%;
    white-space: normal;
    align-items: flex-start;
    line-height: 1.35;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.08;
  }

  .hero h1 .emph {
    white-space: normal;
  }

  .hero-cta-row {
    align-items: stretch;
  }

  .hero-cta-row .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .btn-lg {
    padding: 14px 18px;
    min-height: 54px;
    font-size: 15px;
  }

  .process-table td:nth-child(4),
  .ltr.tnum,
  .ltr,
  .nowrap,
  .final-contact a {
    white-space: normal;
  }
}

@media (max-width: 380px) {
  .brand-divider,
  .brand-product {
    display: none;
  }

  .brand-logo {
    max-width: 118px;
  }

  .nav-cta .btn-grad {
    padding-inline: 12px;
  }
}
