:root {
  --indigo-900: #1A1F5A;
  --indigo-700: #2E3192;
  --cyan-500: #29ABD4;
  --cyan-300: #7FD3E8;
  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --ink: #1A1D23;
  --ink-2: #4B5160;
  --ink-3: #6B7280;
  --border: #E5E7EB;
  --soft: #F7F8FA;
  --white: #FFFFFF;
  --danger: #DC2626;
  --danger-hover: #B91C1C;
  --ok: #10B981;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(26, 29, 35, .06), 0 1px 3px rgba(26, 29, 35, .08);
  --shadow-lg: 0 30px 60px -20px rgba(26, 31, 90, .45), 0 12px 24px -12px rgba(26, 31, 90, .25);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --level: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
p { margin: 0; }
strong { font-weight: 700; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan-500); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 820px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 15px/1 var(--font);
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .7); }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; box-shadow: 0 8px 20px -8px rgba(220, 38, 38, .6); }
.btn-danger:hover { background: var(--danger-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--border); font-weight: 600; }
.btn-ghost:hover { border-color: #C7CBD3; color: var(--ink); background: var(--soft); }
.btn-outline-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 31, 90, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand:hover { color: #fff; }
.brand-mark { width: 30px; height: 30px; }
.nav { display: none; gap: 26px; margin-left: auto; }
.nav a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.nav a:hover { color: #fff; }
.header-cta { margin-left: auto; }
@media (min-width: 860px) {
  .nav { display: flex; }
  .header-cta { margin-left: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(125deg, #12164A 0%, var(--indigo-900) 30%, var(--indigo-700) 62%, #1F6FB0 85%, var(--cyan-500) 120%);
  background-size: 180% 180%;
  animation: heroShift 18s ease-in-out infinite alternate;
  margin-top: -64px;
  padding: 104px 0 64px;
}
@keyframes heroShift { 0% { background-position: 0% 30%; } 100% { background-position: 100% 70%; } }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.b1 { width: 520px; height: 520px; background: var(--cyan-500); top: -180px; right: -120px; animation: float1 22s ease-in-out infinite alternate; }
.b2 { width: 420px; height: 420px; background: #4F46E5; bottom: -200px; left: -140px; opacity: .5; animation: float2 26s ease-in-out infinite alternate; }
.b3 { width: 300px; height: 300px; background: var(--cyan-300); top: 40%; left: 45%; opacity: .22; animation: float3 30s ease-in-out infinite alternate; }
@keyframes float1 { to { transform: translate(-80px, 90px) scale(1.12); } }
@keyframes float2 { to { transform: translate(120px, -60px) scale(1.08); } }
@keyframes float3 { to { transform: translate(-140px, -40px) scale(.9); } }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 30% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 0%, transparent 70%);
}
.hero-inner { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) {
  .hero { padding: 136px 0 96px; }
  .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .02em;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: #E6F6FB;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 7.4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 20px 0 18px;
  text-wrap: balance;
}
.h1-accent { background: linear-gradient(90deg, var(--cyan-300), #C7F0FA); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.lede { font-size: clamp(16.5px, 2.2vw, 19px); color: rgba(255,255,255,.86); max-width: 580px; }
.lede strong { color: #fff; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: rgba(255,255,255,.92); font-size: 15.5px; }
.hero-points svg { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; background: rgba(127, 211, 232, .2); fill: none; stroke: var(--cyan-300); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.try { margin-top: 28px; }
.try-label { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.65); margin-bottom: 10px; letter-spacing: .02em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; }

/* ---------- Demo card ---------- */
.demo-card {
  position: relative;
  background: rgba(255,255,255,.97);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  border: 1px solid rgba(255,255,255,.6);
}
@media (min-width: 560px) { .demo-card { padding: 26px; } }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.agent-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.avatar {
  width: 44px; height: 44px; flex: none; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--indigo-700), var(--cyan-500));
  color: #fff; font-weight: 800; font-size: 16px;
}
.agent-name { font-weight: 800; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.agent-role { font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.muted { color: #9CA3AF; }
.badge { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.timer {
  flex: none;
  font: 700 14px/1 var(--font);
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  background: var(--soft);
  border: 1px solid var(--border);
  padding: 8px 11px;
  border-radius: 10px;
}
.timer.warn { color: #B45309; background: #FFFBEB; border-color: #FDE68A; }

/* Orb */
.orb-stage {
  --size: 168px;
  position: relative;
  height: calc(var(--size) + 84px);
  display: grid; place-items: center;
  margin: 6px 0 2px;
}
@media (min-width: 560px) { .orb-stage { --size: 188px; } }
.orb {
  position: relative;
  width: var(--size); height: var(--size);
  border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.75) 0%, rgba(255,255,255,0) 32%),
    radial-gradient(circle at 70% 78%, var(--cyan-500) 0%, rgba(41,171,212,0) 55%),
    linear-gradient(145deg, var(--indigo-700) 0%, #3B4FD0 45%, var(--cyan-500) 100%);
  box-shadow: 0 20px 50px -12px rgba(46, 49, 146, .6), inset 0 -10px 30px rgba(26,31,90,.35), inset 0 6px 18px rgba(255,255,255,.25);
  transform: scale(calc(1 + var(--level) * .12));
  transition: transform .08s linear, box-shadow .3s, filter .3s;
  display: grid; place-items: center;
  z-index: 2;
  isolation: isolate;
}
.orb:hover { filter: brightness(1.06); }
.orb-core {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(127,211,232,0), rgba(127,211,232,.55), rgba(127,211,232,0) 40%, rgba(255,255,255,.25) 70%, rgba(127,211,232,0));
  mix-blend-mode: screen;
  animation: spin 9s linear infinite;
  opacity: .7;
  z-index: -1;
}
@keyframes spin { to { transform: rotate(360deg); } }
.orb-icon { width: 54px; height: 54px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); transition: opacity .25s, transform .25s; }
.orb-bars { position: absolute; display: flex; align-items: center; gap: 6px; height: 60px; opacity: 0; transition: opacity .25s; }
.orb-bars i { display: block; width: 7px; border-radius: 4px; background: #fff; height: 12px; opacity: .95; }
.orb-ring {
  position: absolute;
  width: var(--size); height: var(--size);
  border-radius: 50%;
  border: 2px solid rgba(41, 171, 212, .35);
  transform: scale(calc(1.08 + var(--level) * .5));
  opacity: calc(.25 + var(--level) * .6);
  transition: transform .12s linear, opacity .2s;
  pointer-events: none;
}
.orb-ring.r2 { border-color: rgba(46, 49, 146, .22); transform: scale(calc(1.2 + var(--level) * .8)); opacity: calc(.18 + var(--level) * .5); }
.orb-ring.r3 { border-color: rgba(127, 211, 232, .3); transform: scale(calc(1.32 + var(--level) * 1.05)); opacity: calc(.1 + var(--level) * .4); }
.orb-stage[data-state="idle"] .orb, .orb-stage[data-state="ended"] .orb { animation: breathe 4.5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
.orb-stage[data-state="idle"] .orb-ring { animation: ripple 3.6s ease-out infinite; }
.orb-stage[data-state="idle"] .orb-ring.r2 { animation-delay: 1.2s; }
.orb-stage[data-state="idle"] .orb-ring.r3 { animation-delay: 2.4s; }
@keyframes ripple { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.55); opacity: 0; } }
.orb-stage[data-state="connecting"] .orb-ring.r1 {
  border: 3px solid transparent; border-top-color: var(--cyan-500); border-right-color: rgba(41,171,212,.4);
  transform: scale(1.1); opacity: 1; animation: spin .9s linear infinite;
}
.orb-stage[data-state="connecting"] .orb { filter: saturate(.7) brightness(.95); }
.orb-stage[data-state="listening"] .orb-icon,
.orb-stage[data-state="speaking"] .orb-icon { opacity: 0; transform: scale(.7); }
.orb-stage[data-state="listening"] .orb-bars,
.orb-stage[data-state="speaking"] .orb-bars { opacity: 1; }
.orb-stage[data-state="speaking"] .orb {
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.8) 0%, rgba(255,255,255,0) 32%),
    radial-gradient(circle at 70% 78%, var(--cyan-300) 0%, rgba(127,211,232,0) 55%),
    linear-gradient(145deg, #3B4FD0 0%, var(--cyan-500) 60%, var(--cyan-300) 100%);
  box-shadow: 0 20px 60px -10px rgba(41, 171, 212, .75), inset 0 -10px 30px rgba(26,31,90,.25), inset 0 6px 18px rgba(255,255,255,.3);
}
.orb-stage[data-state="speaking"] .orb-ring { border-color: rgba(41, 171, 212, .55); }
.orb-stage[data-state="error"] .orb { background: linear-gradient(145deg, #6B7280, #9CA3AF); box-shadow: 0 16px 40px -14px rgba(26,29,35,.5); }
.orb-stage[data-state="text"] .orb { background: linear-gradient(145deg, var(--indigo-700), var(--cyan-500)); }
.orb-stage[data-state="text"] .orb-icon { opacity: .9; }

/* Status */
.status {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 15px; color: var(--ink-2);
  min-height: 24px;
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #9CA3AF; flex: none; }
.status[data-state="connecting"] .status-dot { background: #F59E0B; animation: blink 1s infinite; }
.status[data-state="listening"] .status-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
.status[data-state="speaking"] .status-dot { background: var(--cyan-500); box-shadow: 0 0 0 4px rgba(41,171,212,.2); }
.status[data-state="error"] { color: var(--danger); }
.status[data-state="error"] .status-dot { background: var(--danger); }
.status[data-state="text"] .status-dot { background: var(--blue); }
@keyframes blink { 50% { opacity: .3; } }

.controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.controls .btn-lg { flex: 1 1 220px; max-width: 320px; }
.controls .btn-ghost { flex: 1 1 100%; max-width: 320px; }
@media (min-width: 560px) { .controls .btn-ghost { flex: 0 1 auto; } }

.notice {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.5;
  background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E3A8A;
}
.notice.warn { background: #FFFBEB; border-color: #FDE68A; color: #78350F; }
.notice.error { background: #FEF2F2; border-color: #FECACA; color: #7F1D1D; }
.notice strong { display: block; margin-bottom: 2px; }
.notice .btn { margin-top: 10px; }

/* Transcript */
.transcript {
  margin-top: 18px;
  height: 210px;
  overflow-y: auto;
  border-radius: 16px;
  background: var(--soft);
  border: 1px solid var(--border);
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}
.transcript-empty { margin: auto; color: #9CA3AF; font-size: 14px; font-weight: 600; text-align: center; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; animation: msgIn .25s ease-out; word-wrap: break-word; }
.msg .who { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; margin-bottom: 2px; opacity: .7; }
.msg-agent { align-self: flex-start; background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 6px; }
.msg-user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.msg-system { align-self: center; max-width: 100%; background: transparent; color: var(--ink-3); font-size: 13px; font-weight: 600; padding: 2px 6px; text-align: center; }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.text-form { display: flex; gap: 8px; margin-top: 12px; }
.text-form input {
  flex: 1; min-width: 0;
  font: 500 16px/1.2 var(--font);
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff; color: var(--ink);
}
.text-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.text-form .btn { padding: 0; width: 48px; height: 48px; flex: none; }

.fineprint { margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.fineprint a { color: var(--ink-2); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-soft { background: var(--soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-tight { padding: 56px 0; }
.kicker { font-size: 14px; font-weight: 800; letter-spacing: .04em; color: var(--indigo-700); margin-bottom: 12px; }
.kicker-light { color: var(--cyan-300); }
h2 { font-size: clamp(28px, 4.6vw, 42px); font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.section-lede { margin-top: 14px; font-size: 17.5px; color: var(--ink-2); max-width: 680px; }

.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.step-num { position: absolute; top: 22px; right: 24px; font-size: 44px; font-weight: 800; line-height: 1; color: #EEF0F6; letter-spacing: -0.04em; }
.step-icon, .card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(46,49,146,.1), rgba(41,171,212,.16));
  margin-bottom: 18px;
}
.step-icon svg, .card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--indigo-700); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.step h3, .card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step p, .card p { color: var(--ink-2); font-size: 15.5px; }
.stack-note { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.pill { padding: 6px 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--border); color: var(--ink-2); font-weight: 600; }

.cards { margin-top: 44px; display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(26,31,90,.35); border-color: #D5D9E2; }

/* Build CTA */
.build { position: relative; overflow: hidden; color: #fff; background: var(--indigo-900); }
.build-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(41,171,212,.35), transparent 70%),
    radial-gradient(500px 400px at 10% 100%, rgba(46,49,146,.9), transparent 70%);
}
.build-inner { position: relative; display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .build-inner { grid-template-columns: 1.15fr .85fr; gap: 64px; } }
.build h2 { color: #fff; }
.build-copy > p { margin-top: 16px; font-size: 17.5px; color: rgba(255,255,255,.84); max-width: 620px; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.facts li { position: relative; padding-left: 30px; color: rgba(255,255,255,.88); font-size: 16px; }
.facts li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, var(--cyan-300) 0 4px, rgba(127,211,232,.22) 5px); }
.facts strong { color: #fff; }
.build-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.build-link { margin-top: 18px; font-size: 15px; color: rgba(255,255,255,.75); }
.build-link a { color: var(--cyan-300); font-weight: 700; }
.build-link a:hover { color: #fff; }
.build-panel {
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.flow { display: flex; flex-direction: column; align-items: center; }
.flow-node {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  font-weight: 700; font-size: 15px; min-width: 190px; justify-content: center;
}
.flow-node-hl { background: linear-gradient(135deg, var(--blue), var(--cyan-500)); border-color: transparent; box-shadow: 0 14px 30px -12px rgba(41,171,212,.7); }
.fn-ico { opacity: .85; }
.flow-line { width: 2px; height: 26px; background: linear-gradient(var(--cyan-300), rgba(127,211,232,.2)); position: relative; overflow: hidden; }
.flow-line::after { content: ""; position: absolute; left: -2px; width: 6px; height: 8px; border-radius: 3px; background: #fff; animation: travel 1.6s linear infinite; }
@keyframes travel { from { top: -8px; } to { top: 26px; } }
.flow-split { display: flex; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.25); flex-wrap: wrap; justify-content: center; }
.flow-node.sm { min-width: 0; padding: 9px 14px; font-size: 13.5px; font-weight: 600; }

/* Learn */
.learn {
  display: grid; gap: 24px; align-items: center;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #F0F7FF 0%, #ECFAFE 100%);
  border: 1px solid #D6E8F7;
}
.learn h2 { font-size: clamp(26px, 3.8vw, 36px); }
.learn p:not(.kicker) { margin-top: 12px; color: var(--ink-2); font-size: 17px; max-width: 640px; }
@media (min-width: 860px) { .learn { grid-template-columns: 1fr auto; padding: 44px 48px; } }

/* FAQ */
.faq { margin-top: 36px; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #C9D3F0; box-shadow: 0 12px 30px -20px rgba(26,31,90,.4); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-weight: 700; font-size: 17px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--soft);
  background-image: linear-gradient(var(--indigo-700), var(--indigo-700)), linear-gradient(var(--indigo-700), var(--indigo-700));
  background-size: 10px 2px, 2px 10px; background-position: center; background-repeat: no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--ink-2); font-size: 16px; }

/* Privacy */
.privacy { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; }
.privacy > svg { width: 40px; height: 40px; flex: none; fill: none; stroke: var(--indigo-700); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.privacy h2 { font-size: 21px; margin-bottom: 6px; letter-spacing: -0.01em; }
.privacy p { color: var(--ink-2); font-size: 15.5px; }

/* Footer */
.site-footer { background: #11143D; color: rgba(255,255,255,.75); padding: 52px 0 28px; }
.footer-inner { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1fr auto; align-items: start; } }
.footer-tag { margin-top: 10px; font-size: 14.5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 34px; font-size: 13px; color: rgba(255,255,255,.55); }
.footer-bottom p { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }

/* 404 */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 16px 80px; }
.nf h1 { font-size: clamp(34px, 6vw, 52px); color: #fff; margin: 18px 0 12px; }
.nf p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 520px; margin: 0 auto; }
.nf .build-actions { justify-content: center; }
.nf-code { font-size: 15px; font-weight: 800; color: var(--cyan-300); letter-spacing: .06em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Mobile: put the demo right under the headline */
@media (max-width: 999px) {
  .hero-inner { gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { order: 1; justify-self: start; }
  .hero h1 { order: 2; margin-bottom: 14px; }
  .lede { order: 3; }
  .demo-card { order: 4; margin-top: 28px; }
  .hero-points { order: 5; margin-top: 32px; }
  .try { order: 6; }
}

/* ---------- Header contact ---------- */
.header-contact { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.header-contact .header-cta { margin-left: 6px; }
.hc-link { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.88); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px; border-radius: 10px; }
.hc-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.hc-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hc-link span { display: none; }
@media (min-width: 860px) { .nav { margin-left: auto; } .header-contact { margin-left: 12px; } }
@media (min-width: 1240px) { .hc-link span { display: inline; } }

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .process { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1040px) { .process { grid-template-columns: repeat(3, 1fr); } }
.process li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.p-num { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--indigo-700), var(--cyan-500)); }
.process h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.process p { color: var(--ink-2); font-size: 15px; }

/* ---------- Contact ---------- */
.contact-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; }
.contact-row a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; font-size: 16px; }
.contact-row a:hover { color: var(--cyan-300); }
.contact-row svg { width: 20px; height: 20px; fill: none; stroke: var(--cyan-300); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg); }
@media (min-width: 560px) { .form-card { padding: 30px; } }
.contact-form h3, .form-success h3 { font-size: 22px; font-weight: 800; }
.form-sub { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.opt { font-weight: 500; color: var(--ink-3); }
.field input, .field textarea {
  font: 500 16px/1.4 var(--font); color: var(--ink);
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--soft);
  width: 100%; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #FEF2F2; border: 1px solid #FECACA; color: #7F1D1D; font-size: 14.5px; }
.form-submit { width: 100%; margin-top: 18px; }
.form-note { margin-top: 10px; text-align: center; font-size: 13px; color: var(--ink-3); }
.form-success { text-align: center; padding: 24px 6px; }
.form-success p { margin-top: 10px; color: var(--ink-2); }
.fs-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #ECFDF5; }
.fs-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact { margin-top: 8px; font-size: 14.5px; }
.footer-contact a { color: #fff; font-weight: 600; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.learn-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.learn-all { font-weight: 700; font-size: 15px; }
.fs-mail { background: #EFF6FF; }
.fs-mail svg { stroke: var(--blue); stroke-width: 1.9; }
.form-success .btn { margin-top: 18px; }
