/* ===== MedAxis AI — design tokens (dark, green + gold) ===== */
:root{
  --bg:#08161A; --surface:#0E2226; --surface-2:#132E32; --ink:#EAF5F3;
  --muted:#9FC1BE; --muted-2:#7FA6A3; --line:#1D3C40;
  --accent:#3FD0C6; --accent-2:#2A9B94; --accent-ink:#052224; --accent-soft:#123B3B;
  --safe:#4FD98A; --safe-soft:#123B2C;
  --amber:#E3A855; --amber-soft:#3B2C14;
  --danger:#E88072; --danger-soft:#3B1D18;
  --gold:#D4A84B; --gold-2:#E8C56A; --gold-soft:#2A220C; --gold-line:#6B551F;
  --hero-a:#020C0D; --hero-b:#04292C; --hero-c:#0A5C64;
  --shadow: 0 20px 60px -20px rgba(0,0,0,.6);
  --radius: 16px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{ font-family:'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif; font-weight:700; margin:0 0 .5em; line-height:1.2; letter-spacing:-.01em; }
p{margin:0 0 1em; color:var(--muted)}
a{color:inherit; text-decoration:none}
.wrap{max-width:1180px; margin:0 auto; padding:0 24px}
.mono{font-family:'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace}

/* ===== nav ===== */
.nav{ position:sticky; top:0; z-index:50; background:color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.nav-inner{ display:flex; align-items:center; justify-content:space-between; height:72px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:'IBM Plex Sans'; font-weight:700; font-size:1.15rem; letter-spacing:-.01em; color:var(--ink); }
.brand svg{ flex-shrink:0; }
.brand-ai{ color:var(--gold); font-weight:700; }
.nav-links{ display:flex; gap:28px; font-size:.94rem; font-weight:500; color:var(--muted); }
.nav-links a:hover{ color:var(--gold-2); }
.nav-cta{ display:flex; align-items:center; gap:14px; }

/* ===== buttons ===== */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 20px; border-radius:12px; font-weight:600; font-size:.94rem; cursor:pointer; border:1px solid transparent; transition:transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:linear-gradient(135deg, var(--gold-2), var(--gold)); color:#241a04; box-shadow:0 8px 24px -10px color-mix(in srgb, var(--gold) 70%, transparent); border-color:color-mix(in srgb, var(--gold) 40%, transparent); }
.btn-primary:hover{ box-shadow:0 12px 28px -10px color-mix(in srgb, var(--gold) 85%, transparent); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--gold); color:var(--gold-2); }
.btn-lg{ padding:14px 26px; font-size:1rem; }
.btn-pulse{ animation:pulseGlow 2.6s ease-in-out infinite; }
@keyframes pulseGlow{
  0%,100%{ box-shadow:0 8px 24px -10px color-mix(in srgb, var(--gold) 70%, transparent); }
  50%{ box-shadow:0 10px 36px -6px color-mix(in srgb, var(--gold) 95%, transparent); }
}
@media (prefers-reduced-motion: reduce){ .btn-pulse{ animation:none; } }

/* ===== scroll reveal ===== */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* ===== eyebrow / section head ===== */
.eyebrow{ display:inline-flex; align-items:center; gap:8px; font-family:'IBM Plex Mono'; font-size:.78rem; letter-spacing:.06em; text-transform:uppercase; color:var(--gold-2); margin-bottom:14px; }
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 4px var(--gold-soft); }
@media (prefers-reduced-motion: no-preference){
  .eyebrow .dot{ animation:goldPulse 2.4s ease-in-out infinite; }
}
@keyframes goldPulse{
  0%,100%{ box-shadow:0 0 0 4px var(--gold-soft); }
  50%{ box-shadow:0 0 0 8px color-mix(in srgb, var(--gold) 18%, transparent); }
}
.gold-text{
  background:linear-gradient(100deg, var(--gold-2), var(--gold), var(--gold-2));
  background-size:200% auto;
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
@media (prefers-reduced-motion: no-preference){
  .section-head.is-visible .gold-text,
  .split-copy.is-visible .gold-text,
  .cta-inner.is-visible .gold-text,
  .aios-head.is-visible .gold-text,
  .hero-copy.is-visible .gold-text{ animation:goldShimmer 4.5s ease-in-out infinite; }
}
@keyframes goldShimmer{
  0%,100%{ background-position:0% center; }
  50%{ background-position:100% center; }
}
.section{ padding:96px 0; }
.section-alt{ background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.aios-section{
  position:relative; overflow:hidden;
  background:linear-gradient(180deg, #F4F8F7 0%, #EAF3F1 55%, #F7F5EE 100%);
  color:#0E2A2C;
  border-top:1px solid color-mix(in srgb, var(--gold) 28%, transparent);
  border-bottom:1px solid color-mix(in srgb, var(--gold) 28%, transparent);
}
.aios-wash{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 80%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 55%),
    radial-gradient(ellipse 40% 35% at 0% 60%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 50%);
}
.aios-section > .wrap{ position:relative; z-index:1; }
.aios-section .eyebrow{ color:#8A6B1F; }
.aios-section .eyebrow .dot{ background:var(--gold); box-shadow:0 0 0 4px rgba(212,168,75,.2); }
.aios-section .section-head h2{ color:#0E2A2C; }
.aios-section .section-sub{ color:#3D5C5E; }
.aios-section .gold-text{
  background:linear-gradient(100deg, #B8862A, #D4A84B, #B8862A);
  background-size:200% auto;
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.section-head{ max-width:680px; margin:0 auto 52px; text-align:center; }
.section-head h2{ font-size:clamp(1.6rem, 3vw, 2.2rem); }
.section-sub{ font-size:1.05rem; }

/* ===== hero ===== */
.hero{ position:relative; overflow:hidden; padding:64px 0 96px; background:linear-gradient(180deg, var(--hero-a), var(--hero-b) 65%, var(--hero-c) 150%); color:#EAF5F3; }
.hero::before{ content:''; position:absolute; inset:0; background-image:radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0); background-size:26px 26px; opacity:.5; pointer-events:none; }
.hero-inner{ position:relative; z-index:2; display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.orb{ position:absolute; border-radius:50%; filter:blur(70px); opacity:.4; pointer-events:none; z-index:1; }
.orb-1{ width:420px; height:420px; background:radial-gradient(circle, var(--accent), transparent 70%); top:-140px; right:-60px; opacity:.35; }
.orb-2{ width:340px; height:340px; background:radial-gradient(circle, var(--gold), transparent 70%); bottom:-120px; left:-80px; opacity:.22; }
@media (prefers-reduced-motion: no-preference){
  .orb-1{ animation:floatOrb 10s ease-in-out infinite alternate; }
  .orb-2{ animation:floatOrb 13s ease-in-out infinite alternate-reverse; }
}
@keyframes floatOrb{ from{ transform:translate(0,0) scale(1); } to{ transform:translate(-24px,26px) scale(1.08); } }
.hero .eyebrow{ color:var(--gold-2); }
.hero .eyebrow .dot{ background:var(--gold); box-shadow:0 0 0 4px var(--gold-soft); }
.hero h1{ font-size:clamp(2.1rem, 4vw, 3.1rem); color:#fff; }
.grad-text{ background:linear-gradient(90deg, var(--accent), var(--gold-2)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-sub{ font-size:1.12rem; color:#C4DAD8; max-width:520px; }
.hero-actions{ display:flex; gap:14px; margin:28px 0 40px; flex-wrap:wrap; }
.hero .btn-ghost{ border-color:rgba(255,255,255,.3); color:#fff; }
.hero .btn-ghost:hover{ border-color:var(--gold-2); color:var(--gold-2); }
.hero-trust{ display:flex; gap:32px; flex-wrap:wrap; }
.trust-item{ display:flex; flex-direction:column; gap:2px; }
.trust-item strong{ font-family:'IBM Plex Sans'; font-weight:700; font-size:1.3rem; color:#fff; }
.trust-item span{ font-size:.82rem; color:#9FC1BE; max-width:150px; }

/* slider card */
.slider-card{ background:rgba(14,34,38,.55); border:1px solid rgba(255,255,255,.14); border-radius:20px; padding:22px; backdrop-filter:blur(6px); box-shadow:var(--shadow); }
.slider-head{ display:flex; align-items:center; gap:8px; font-family:'IBM Plex Mono'; font-size:.78rem; color:#9FC1BE; margin-bottom:16px; }
.pulse-dot{ width:8px; height:8px; border-radius:50%; background:var(--safe); box-shadow:0 0 0 4px rgba(31,157,103,.3); animation:pulse 2s infinite; }
@keyframes pulse{ 0%,100%{opacity:1} 50%{opacity:.4} }
.slider-viewport{ position:relative; min-height:190px; }
.slide{ position:absolute; inset:0; opacity:0; transform:translateY(8px); transition:opacity .5s ease, transform .5s ease; pointer-events:none; }
.slide.is-active{ opacity:1; transform:translateY(0); pointer-events:auto; }
.slide-label{ font-family:'IBM Plex Mono'; font-size:.72rem; color:var(--gold-2); text-transform:uppercase; letter-spacing:.06em; margin-bottom:12px; }
.chat-bubble{ background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); border-radius:14px; padding:16px; font-size:1.02rem; color:#EAF5F3; }
.slide-row{ display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.1); font-size:.92rem; }
.slide-row span{ color:#9FC1BE; }
.slide-row b{ color:#EAF5F3; font-weight:600; }
.slide-row b.ok{ color:#6EE7B7; }
.slide-foot{ margin-top:14px; font-size:.78rem; color:#7FA6A3; }
.slider-dots{ display:flex; gap:8px; justify-content:center; margin-top:18px; }
.slider-dots button{ width:8px; height:8px; border-radius:50%; border:none; background:rgba(255,255,255,.25); cursor:pointer; padding:0; }
.slider-dots button.is-active{ background:var(--gold); width:22px; border-radius:5px; transition:width .3s ease; }

/* ===== risk cards (problem section) ===== */
.problem-section{ position:relative; overflow:hidden; }
.problem-section::before{
  content:''; position:absolute; inset:0; pointer-events:none; z-index:0;
  background:radial-gradient(ellipse 70% 50% at 50% 0%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 70%);
}
.problem-section > .wrap{ position:relative; z-index:1; }
.problem-head .section-sub{ max-width:540px; margin-left:auto; margin-right:auto; }

.risk-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.risk-card{
  position:relative; overflow:hidden;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px; color:var(--ink);
  transition:transform .35s cubic-bezier(.16,.8,.3,1), border-color .35s ease, box-shadow .35s ease;
}
.risk-card::before{
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg, transparent, var(--gold), transparent);
  transform:scaleX(0); transform-origin:center;
  transition:transform .55s cubic-bezier(.16,.8,.3,1);
}
.risk-card.is-visible::before{ transform:scaleX(1); }
.risk-card-glow{
  position:absolute; inset:auto -20% -40% -20%; height:55%;
  background:radial-gradient(ellipse at center, color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%);
  opacity:0; pointer-events:none; transition:opacity .4s ease;
}
.risk-card:hover{
  transform:translateY(-8px);
  border-color:var(--gold-line);
  box-shadow:0 20px 40px -22px rgba(0,0,0,.55), 0 0 0 1px color-mix(in srgb, var(--gold) 22%, transparent);
}
.risk-card:hover .risk-card-glow{ opacity:1; }
.risk-meta{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
.risk-num{
  font-family:'IBM Plex Mono'; font-size:.78rem; font-weight:600; letter-spacing:.08em;
  color:var(--gold);
}
.risk-tag{
  font-family:'IBM Plex Mono'; font-size:.68rem; letter-spacing:.06em; text-transform:uppercase;
  color:var(--gold-2); background:var(--gold-soft); border:1px solid var(--gold-line);
  border-radius:20px; padding:3px 10px;
}
.risk-card h3{ font-size:1.15rem; margin-bottom:.55em; color:var(--ink); }
.risk-card p{ font-size:.95rem; line-height:1.55; margin:0; color:var(--muted); }
.icon-badge{ width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; transition:transform .35s ease, box-shadow .35s ease; }
.icon-gold{ background:var(--gold-soft); color:var(--gold-2); border:1px solid color-mix(in srgb, var(--gold) 35%, transparent); }
.risk-card:hover .icon-badge{ transform:scale(1.08); box-shadow:0 0 20px -4px color-mix(in srgb, var(--gold) 55%, transparent); }
.icon-danger{ background:var(--danger-soft); color:var(--danger); }
.icon-amber{ background:var(--amber-soft); color:var(--amber); }
.icon-accent{ background:var(--gold-soft); color:var(--gold-2); border:1px solid color-mix(in srgb, var(--gold) 35%, transparent); }

@media (prefers-reduced-motion: no-preference){
  .risk-card.reveal{ opacity:0; transform:translateY(32px) scale(.98); }
  .risk-card.reveal.is-visible{ opacity:1; transform:translateY(0) scale(1); }
}

/* ===== split (AE shield) ===== */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.check-list{ list-style:none; padding:0; margin:20px 0 28px; display:flex; flex-direction:column; gap:12px; }
.check-list li{ display:flex; align-items:flex-start; gap:10px; font-size:.98rem; color:var(--ink); }
.report-card{ background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:26px; box-shadow:var(--shadow); }
.report-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; font-weight:600; }
.badge{ font-family:'IBM Plex Mono'; font-size:.72rem; padding:4px 10px; border-radius:20px; font-weight:600; letter-spacing:.04em; }
.badge-ok{ background:var(--safe-soft); color:var(--safe); }
.report-id{ font-family:'IBM Plex Mono'; font-size:.78rem; color:var(--muted-2); margin-bottom:18px; }
.report-row{ display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--line); font-size:.92rem; }
.report-row span{ color:var(--muted); }
.report-row b{ font-weight:600; }
.report-row b.ok{ color:var(--safe); }
.report-row b.warn{ color:var(--amber); }
.report-foot{ margin-top:16px; font-size:.8rem; color:var(--muted-2); }

/* ===== AE Shield certificate ===== */
.cert-layout{ display:grid; grid-template-columns:1.3fr .8fr; gap:40px; align-items:center; }
.cert-card{ position:relative; overflow:hidden; background:radial-gradient(circle at 20% 0%, var(--surface-2), var(--surface) 60%); border:1px solid var(--gold-line); border-radius:20px; padding:44px 40px; text-align:center; box-shadow:0 20px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(231,185,76,.08), 0 0 50px -18px rgba(231,185,76,.35); }
.cert-card::after{ content:''; position:absolute; inset:0; background:linear-gradient(115deg, transparent 30%, rgba(231,185,76,.14) 45%, transparent 60%); background-size:220% 220%; animation:certShimmer 7s ease-in-out infinite; pointer-events:none; }
@keyframes certShimmer{ 0%{ background-position:120% -20%; } 50%{ background-position:-20% 120%; } 100%{ background-position:120% -20%; } }
.cert-corner{ position:absolute; width:22px; height:22px; border-color:var(--gold); opacity:.8; z-index:1; }
.cert-corner-tl{ top:14px; left:14px; border-top:2px solid; border-left:2px solid; border-radius:4px 0 0 0; }
.cert-corner-tr{ top:14px; right:14px; border-top:2px solid; border-right:2px solid; border-radius:0 4px 0 0; }
.cert-corner-bl{ bottom:14px; left:14px; border-bottom:2px solid; border-left:2px solid; border-radius:0 0 0 4px; }
.cert-corner-br{ bottom:14px; right:14px; border-bottom:2px solid; border-right:2px solid; border-radius:0 0 4px 0; }
.cert-seal{ margin:0 auto 8px; display:flex; justify-content:center; }
.cert-eyebrow{ font-family:'IBM Plex Mono'; font-size:.74rem; letter-spacing:.06em; color:var(--gold-2); margin-bottom:14px; }
.cert-title{ font-size:1.7rem; margin-bottom:18px; letter-spacing:-.01em; }
.cert-certifies{ font-family:'IBM Plex Mono'; font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted-2); margin-bottom:10px; }
.cert-agent{ font-size:1.3rem; font-weight:700; color:var(--ink); margin-bottom:10px; }
.cert-agent .mono{ color:var(--gold); }
.cert-scope{ max-width:480px; margin:0 auto 18px; font-size:.84rem; color:var(--gold-2); }
.cert-desc{ max-width:460px; margin:0 auto 26px; font-size:.92rem; }
.cert-stats{ display:flex; justify-content:center; gap:36px; padding:22px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin-bottom:26px; flex-wrap:wrap; }
.cert-stat{ display:flex; flex-direction:column; gap:2px; }
.cert-stat b{ font-family:'IBM Plex Sans'; font-weight:700; font-size:1.3rem; color:var(--gold-2); }
.cert-stat span{ font-size:.76rem; color:var(--muted-2); }
.cert-fields{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; text-align:left; margin-bottom:28px; }
.cert-field{ display:flex; flex-direction:column; gap:4px; }
.cert-field span{ font-family:'IBM Plex Mono'; font-size:.68rem; letter-spacing:.06em; text-transform:uppercase; color:var(--muted-2); }
.cert-field b{ font-size:.9rem; font-weight:600; color:var(--ink); }
.cert-bottom{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding-top:18px; border-top:1px dashed var(--line); }
.cert-verify{ font-family:'IBM Plex Mono'; font-size:.72rem; color:var(--muted-2); text-align:left; }
.cert-stamp{ font-family:'IBM Plex Mono'; font-size:.82rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-2); border:2px dashed var(--gold); border-radius:10px; padding:8px 18px; transform:rotate(-4deg); flex-shrink:0; background:var(--gold-soft); }
.cert-notes h4{ font-size:1.05rem; margin-bottom:16px; }
.cert-notes .check-list{ margin-bottom:26px; }

/* ===== evidence chain ===== */
.chain-wrap{ position:relative; }
.chain-line{ position:absolute; top:26px; left:6%; right:6%; height:2px; background:linear-gradient(90deg, transparent, var(--line) 8%, var(--line) 92%, transparent); z-index:0; }
.chain-pulse{ position:absolute; top:-4px; left:0; width:10px; height:10px; border-radius:50%; background:var(--gold); box-shadow:0 0 14px 3px color-mix(in srgb, var(--gold) 70%, transparent); }
@media (prefers-reduced-motion: no-preference){ .chain-pulse{ animation:chainFlow 4.5s linear infinite; } }
@keyframes chainFlow{ 0%{ left:0%; opacity:0; } 8%{ opacity:1; } 92%{ opacity:1; } 100%{ left:calc(100% - 10px); opacity:0; } }
.chain{ display:flex; align-items:flex-start; justify-content:space-between; gap:8px; position:relative; z-index:1; }
.chain-step{ display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; width:130px; }
.chain-icon{ width:52px; height:52px; border-radius:50%; background:var(--surface); border:2px solid var(--line); display:flex; align-items:center; justify-content:center; color:var(--gold); transition:transform .3s ease, border-color .3s ease, background .3s ease; }
.chain-step:hover .chain-icon{ border-color:var(--gold); background:var(--gold-soft); transform:scale(1.1); }
.chain-label{ font-weight:700; font-size:.88rem; color:var(--ink); }
.chain-caption{ font-size:.74rem; color:var(--muted-2); line-height:1.4; }
.chain-final .chain-icon{ background:var(--gold); color:#241a04; border-color:var(--gold); }
.chain-final .chain-label{ color:var(--gold-2); }

/* ===== healthcare AIOS (light heart section) ===== */
.aios-question{
  text-align:center; max-width:720px; margin:0 auto 56px;
  padding:36px 28px 40px;
  border-top:1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  border-bottom:1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  position:relative;
}
.aios-question::before, .aios-question::after{
  content:''; position:absolute; width:10px; height:10px; border-color:var(--gold); opacity:.7;
}
.aios-question::before{ top:-1px; left:50%; transform:translateX(-50%); border-top:2px solid; width:40px; height:0; }
.aios-question::after{ bottom:-1px; left:50%; transform:translateX(-50%); border-bottom:2px solid; width:40px; height:0; }
.aios-question-label{
  font-family:'IBM Plex Mono'; font-size:.74rem; letter-spacing:.14em; text-transform:uppercase;
  color:#8A6B1F; margin:0 0 14px;
}
.aios-question-mark{
  margin:0; font-size:clamp(1.6rem, 3.4vw, 2.35rem); font-weight:700; line-height:1.25;
  letter-spacing:-.02em; color:#0E2A2C;
}
@media (prefers-reduced-motion: no-preference){
  .aios-question.is-visible .aios-question-mark{
    animation:aiosQuestionIn .9s cubic-bezier(.16,.8,.3,1) both;
  }
}
@keyframes aiosQuestionIn{
  from{ opacity:0; transform:translateY(12px); letter-spacing:.04em; }
  to{ opacity:1; transform:translateY(0); letter-spacing:-.02em; }
}

.aios-planes{
  display:grid; grid-template-columns:1fr auto 1.15fr; gap:0 28px;
  align-items:start; margin-bottom:56px; max-width:980px; margin-left:auto; margin-right:auto;
}
.aios-plane-kicker{
  font-family:'IBM Plex Mono'; font-size:.72rem; letter-spacing:.1em; text-transform:uppercase;
  color:#8A6B1F; margin:0 0 8px;
}
.aios-plane h3{
  font-size:1.25rem; margin:0 0 18px; color:#0E2A2C; letter-spacing:-.01em;
}
.aios-plane ul{
  list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px;
}
.aios-plane li{
  position:relative; padding-left:18px; font-size:.95rem; color:#2F4A4C; line-height:1.45;
}
.aios-plane li::before{
  content:''; position:absolute; left:0; top:.65em; width:7px; height:1.5px; background:var(--accent);
}
.aios-plane-focus li::before{ background:var(--gold); width:9px; }
.aios-plane-focus h3{ color:#0E2A2C; }
.aios-plane-divider{
  display:flex; align-items:stretch; justify-content:center; padding-top:42px;
}
.aios-plane-divider span{
  width:1px; min-height:100%;
  background:linear-gradient(180deg, transparent, var(--gold), transparent);
  position:relative;
}
.aios-plane-divider span::after{
  content:''; position:absolute; top:42%; left:50%; transform:translate(-50%,-50%);
  width:9px; height:9px; border-radius:50%; background:var(--gold);
  box-shadow:0 0 0 5px rgba(212,168,75,.18);
}
@media (prefers-reduced-motion: no-preference){
  .aios-plane-divider span::after{ animation:goldPulse 2.4s ease-in-out infinite; }
}

.aios-orbit{ margin-bottom:48px; text-align:center; }
.aios-orbit-label{
  font-family:'IBM Plex Mono'; font-size:.74rem; letter-spacing:.12em; text-transform:uppercase;
  color:#8A6B1F; margin:0 0 20px;
}
.aios-orbit-ring{
  display:flex; flex-wrap:wrap; justify-content:center; gap:10px; max-width:900px; margin:0 auto;
}
.aios-chip{
  display:flex; flex-direction:column; align-items:flex-start; gap:2px;
  text-align:left; padding:12px 16px; min-width:150px;
  background:rgba(255,255,255,.72); border:1px solid color-mix(in srgb, var(--gold) 28%, #C5D8D5);
  border-radius:12px; backdrop-filter:blur(6px);
  transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.aios-chip:hover{
  transform:translateY(-3px);
  border-color:var(--gold);
  box-shadow:0 12px 28px -16px rgba(14,42,44,.25);
}
.aios-chip b{ font-size:.9rem; color:#0E2A2C; }
.aios-chip span{ font-size:.78rem; color:#5A7577; }

.aios-stack{
  text-align:center; max-width:820px; margin:0 auto 28px; padding-top:8px;
}
.aios-stack-label{
  font-family:'IBM Plex Mono'; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase;
  color:#8A6B1F; margin:0 0 12px;
}
.aios-stack-line{
  margin:0 0 10px; font-family:'IBM Plex Mono'; font-size:.84rem; line-height:1.7;
  color:#2F4A4C; letter-spacing:.02em;
}
.aios-stack-meta{
  margin:0; font-size:.82rem; font-weight:600; color:#1A7A5C;
}
.aios-footnote{
  text-align:center; max-width:560px; margin:0 auto; font-size:.92rem;
  color:#5A7577; line-height:1.55;
}

/* ===== interactive demo ===== */
.demo-layout{ display:grid; grid-template-columns:.85fr 1.15fr; gap:28px; align-items:start; }
.demo-steps{ display:flex; flex-direction:column; gap:8px; position:sticky; top:96px; }
.demo-step{ display:flex; align-items:center; gap:14px; text-align:left; background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:14px 16px; cursor:pointer; font-family:inherit; transition:border-color .2s ease, background .2s ease; }
.demo-step:hover{ border-color:var(--gold-line); }
.demo-step.is-active{ border-color:var(--gold); background:var(--gold-soft); }
.demo-step-num{ flex-shrink:0; width:30px; height:30px; border-radius:50%; background:var(--bg); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono'; font-size:.85rem; font-weight:600; color:var(--muted-2); }
.demo-step.is-active .demo-step-num{ background:var(--gold); border-color:var(--gold); color:#241a04; }
.demo-step.is-done{ border-color:var(--safe); }
.demo-step.is-done .demo-step-num{ position:relative; background:var(--safe-soft); border-color:var(--safe); color:transparent; }
.demo-step.is-done .demo-step-num::after{ content:'✓'; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:var(--safe); font-family:'IBM Plex Mono'; }
.demo-step-text{ display:flex; flex-direction:column; gap:2px; }
.demo-step-text b{ font-size:.92rem; }
.demo-step-text small{ font-size:.78rem; color:var(--muted-2); }
.demo-window{ border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow:var(--shadow); }
.demo-chrome{ display:flex; align-items:center; gap:8px; padding:12px 16px; background:var(--surface-2); border-bottom:1px solid var(--line); }
.demo-dot{ width:10px; height:10px; border-radius:50%; }
.demo-dot-r{ background:var(--danger); } .demo-dot-y{ background:var(--amber); } .demo-dot-g{ background:var(--safe); }
.demo-chrome-title{ margin-left:8px; font-family:'IBM Plex Mono'; font-size:.76rem; color:var(--muted-2); }
.demo-live{ margin-left:auto; display:flex; align-items:center; gap:6px; font-family:'IBM Plex Mono'; font-size:.72rem; color:var(--safe); text-transform:uppercase; letter-spacing:.06em; }
.demo-panel-wrap{ position:relative; min-height:260px; background:var(--surface); }
.demo-panel{ display:none; background:var(--surface); padding:28px; animation:fadeIn .35s ease; }
.demo-panel.is-active{ display:block; }
@keyframes fadeIn{ from{opacity:0; transform:translateY(6px)} to{opacity:1; transform:translateY(0)} }
.demo-panel-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; font-size:.9rem; }
.demo-note{ margin-top:14px; font-size:.86rem; color:var(--muted-2); margin-bottom:0; }

/* ===== module grid ===== */
.module-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.module-card{ position:relative; background:var(--bg); border:1px solid var(--line); border-radius:var(--radius); padding:22px; transition:border-color .25s ease, transform .25s ease, box-shadow .25s ease, background .25s ease; }
.module-card:hover{ border-color:var(--gold-line); transform:translateY(-5px); background:var(--surface); box-shadow:0 18px 36px -20px rgba(0,0,0,.5), 0 0 0 1px color-mix(in srgb, var(--gold) 30%, transparent); }
.module-card:hover .icon-badge{ transform:scale(1.12); background:var(--gold); color:#241a04; }
.module-card h4{ font-size:1rem; margin-bottom:6px; }
.module-card p{ font-size:.88rem; margin:0; }

/* ===== how clients connect ===== */
.connect-section{ position:relative; overflow:hidden; }
.connect-section::before{
  content:''; position:absolute; inset:0; pointer-events:none; z-index:0;
  background:radial-gradient(ellipse 60% 45% at 50% 0%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 70%);
}
.connect-section > .wrap{ position:relative; z-index:1; }

.connect-trust{
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px;
  max-width:900px; margin:0 auto 40px;
}
.connect-trust-item{
  display:flex; flex-direction:column; gap:4px; align-items:center; text-align:center;
  padding:18px 14px; border:1px solid var(--gold-line); border-radius:14px;
  background:color-mix(in srgb, var(--gold-soft) 70%, transparent);
}
.connect-trust-ico{
  width:8px; height:8px; border-radius:50%; background:var(--gold);
  box-shadow:0 0 0 4px color-mix(in srgb, var(--gold) 20%, transparent);
  margin-bottom:6px;
}
.connect-trust-item b{ font-size:.92rem; color:var(--ink); }
.connect-trust-item span{ font-size:.78rem; color:var(--muted-2); }

.connect-picker{
  background:var(--surface); border:1px solid var(--line); border-radius:20px;
  overflow:hidden; margin-bottom:56px; box-shadow:var(--shadow);
}
.connect-tabs{
  display:grid; grid-template-columns:repeat(3,1fr); gap:0;
  border-bottom:1px solid var(--line); background:var(--surface-2);
}
.connect-tab{
  display:flex; align-items:center; gap:12px; padding:18px 16px;
  background:transparent; border:none; border-right:1px solid var(--line);
  color:var(--muted); cursor:pointer; font-family:inherit; text-align:left;
  transition:background .25s ease, color .25s ease;
}
.connect-tab:last-child{ border-right:none; }
.connect-tab:hover{ color:var(--ink); background:color-mix(in srgb, var(--gold-soft) 40%, transparent); }
.connect-tab.is-active{
  color:var(--ink); background:var(--surface);
  box-shadow:inset 0 -2px 0 var(--gold);
}
.connect-tab-letter{
  flex-shrink:0; width:34px; height:34px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-family:'IBM Plex Mono'; font-weight:700; font-size:.9rem;
  background:var(--bg); border:1px solid var(--line); color:var(--muted-2);
  transition:background .25s ease, color .25s ease, border-color .25s ease;
}
.connect-tab.is-active .connect-tab-letter{
  background:var(--gold); color:#241a04; border-color:var(--gold);
}
.connect-tab-copy{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.connect-tab-copy small{
  font-family:'IBM Plex Mono'; font-size:.68rem; letter-spacing:.06em;
  text-transform:uppercase; color:var(--gold-2);
}
.connect-tab:not(.is-active) .connect-tab-copy small{ color:var(--muted-2); }
.connect-tab-copy b{ font-size:.95rem; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.connect-panels{ padding:28px; }
.connect-panel{ display:none; animation:fadeIn .4s ease; }
.connect-panel.is-active{ display:grid; grid-template-columns:1.1fr .9fr; gap:32px; align-items:center; }

.connect-flow{
  display:flex; align-items:center; justify-content:center; gap:0;
  flex-wrap:wrap; padding:20px 8px;
}
.connect-flow-offline{ gap:0; }
.connect-node{
  background:var(--bg); border:1px solid var(--line); border-radius:14px;
  padding:14px 16px; min-width:130px; text-align:center;
  transition:border-color .3s ease, box-shadow .3s ease;
}
.connect-node-us{
  border-color:var(--gold-line); background:var(--gold-soft);
  box-shadow:0 0 24px -10px color-mix(in srgb, var(--gold) 50%, transparent);
}
.connect-node-secure{ border-color:var(--accent); background:var(--accent-soft); }
.connect-node-label{
  display:block; font-family:'IBM Plex Mono'; font-size:.68rem;
  letter-spacing:.06em; text-transform:uppercase; color:var(--muted-2); margin-bottom:4px;
}
.connect-node strong{ font-size:.9rem; color:var(--ink); }
.connect-wire{
  position:relative; flex:1; min-width:72px; max-width:140px; height:2px;
  background:linear-gradient(90deg, var(--line), var(--gold), var(--line));
  margin:0 6px; display:flex; align-items:center; justify-content:center;
}
.connect-wire-static{ background:var(--line); }
.connect-wire-pulse{
  position:absolute; width:8px; height:8px; border-radius:50%;
  background:var(--gold); box-shadow:0 0 12px 2px color-mix(in srgb, var(--gold) 60%, transparent);
  left:0;
}
@media (prefers-reduced-motion: no-preference){
  .connect-panel.is-active .connect-wire-pulse{ animation:wirePulse 2.2s linear infinite; }
  .connect-wire-out .connect-wire-pulse{ animation-direction:reverse; }
}
@keyframes wirePulse{
  0%{ left:0; opacity:0; }
  15%{ opacity:1; }
  85%{ opacity:1; }
  100%{ left:calc(100% - 8px); opacity:0; }
}
.connect-wire-text{
  position:absolute; top:10px; left:50%; transform:translateX(-50%);
  white-space:nowrap; font-family:'IBM Plex Mono'; font-size:.62rem;
  letter-spacing:.04em; color:var(--gold-2); background:var(--surface); padding:0 6px;
}
.connect-panel-body h3{ font-size:1.25rem; margin:0 0 10px; }
.connect-panel-body p{ font-size:.95rem; margin:0 0 12px; color:var(--muted); }
.connect-fit{
  font-size:.84rem; color:var(--gold-2); font-style:italic; margin:0 !important;
  padding-top:12px; border-top:1px solid var(--line);
}

.connect-journey-head{ text-align:center; margin-bottom:28px; }
.connect-journey-eyebrow{
  font-family:'IBM Plex Mono'; font-size:.74rem; letter-spacing:.1em;
  text-transform:uppercase; color:var(--gold-2); margin:0 0 8px;
}
.connect-journey-head h3{ font-size:clamp(1.2rem, 2.4vw, 1.55rem); margin:0 0 10px; }
.connect-journey-status{
  margin:0; font-family:'IBM Plex Mono'; font-size:.78rem; letter-spacing:.06em;
  color:var(--gold); text-transform:uppercase;
}

.journey-track{
  position:relative; max-width:720px; margin:0 auto 28px; padding-left:28px;
}
.journey-rail{
  position:absolute; left:17px; top:18px; bottom:18px; width:2px;
  background:var(--line); border-radius:2px; z-index:0;
}
.journey-rail-fill{
  position:absolute; left:0; top:0; width:100%; height:0%;
  background:linear-gradient(180deg, var(--gold-2), var(--gold));
  border-radius:2px; box-shadow:0 0 12px color-mix(in srgb, var(--gold) 50%, transparent);
  transition:height .55s cubic-bezier(.16,.8,.3,1);
}
.journey-steps{
  list-style:none; margin:0; padding:0;
  display:flex; flex-direction:column; gap:10px;
  position:relative; z-index:1;
}
.journey-step{
  display:grid; grid-template-columns:36px 1fr; gap:16px; align-items:start;
  opacity:.38; transform:translateX(-6px);
  transition:opacity .45s ease, transform .45s cubic-bezier(.16,.8,.3,1);
}
.journey-step.is-active,
.journey-step.is-done{
  opacity:1; transform:translateX(0);
}
.journey-dot{
  position:relative; width:36px; height:36px; border-radius:50%; border:1px solid var(--line);
  background:var(--bg); color:var(--muted-2); cursor:pointer;
  display:flex; align-items:center; justify-content:center; padding:0;
  font-family:'IBM Plex Mono'; font-weight:700; font-size:.85rem;
  transition:background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s ease;
  z-index:2;
}
.journey-dot-check{ display:none; }
.journey-step.is-done .journey-dot-num{ display:none; }
.journey-step.is-done .journey-dot-check{ display:inline; }
.journey-step.is-done .journey-dot{
  background:var(--gold-soft); color:var(--gold-2); border-color:var(--gold);
}
.journey-step.is-active .journey-dot{
  background:var(--gold); color:#241a04; border-color:var(--gold);
  box-shadow:0 0 0 5px color-mix(in srgb, var(--gold) 22%, transparent);
  transform:scale(1.12);
}
@media (prefers-reduced-motion: no-preference){
  .journey-step.is-active .journey-dot{ animation:journeyPulse 1.6s ease-in-out infinite; }
}
@keyframes journeyPulse{
  0%,100%{ box-shadow:0 0 0 5px color-mix(in srgb, var(--gold) 22%, transparent); }
  50%{ box-shadow:0 0 0 10px color-mix(in srgb, var(--gold) 8%, transparent); }
}
.journey-card{
  background:var(--surface); border:1px solid var(--line); border-radius:14px;
  padding:16px 18px;
  transition:border-color .35s ease, background .35s ease, box-shadow .35s ease, transform .35s ease;
}
.journey-step.is-active .journey-card{
  border-color:var(--gold); background:var(--gold-soft);
  box-shadow:0 16px 34px -18px rgba(0,0,0,.55), 0 0 0 1px color-mix(in srgb, var(--gold) 25%, transparent);
  transform:translateY(-2px);
}
.journey-step.is-done .journey-card{
  border-color:var(--gold-line);
}
.journey-step-cert.is-active .journey-card{
  background:linear-gradient(135deg, var(--gold-soft), color-mix(in srgb, var(--surface) 70%, var(--gold-soft)));
}
.journey-card h4{ font-size:.98rem; margin:0 0 6px; color:var(--ink); }
.journey-card p{ font-size:.86rem; margin:0; color:var(--muted); line-height:1.45; }
.journey-step.is-active .journey-card h4{ color:var(--gold-2); }

.connect-note{
  text-align:center; max-width:640px; margin:0 auto 28px;
  font-size:.9rem; color:var(--muted); line-height:1.55;
}
.connect-cta{ display:flex; flex-direction:column; align-items:center; gap:12px; }
.connect-cta-hint{ font-size:.82rem; color:var(--muted-2); text-align:center; }

/* ===== steps ===== */
.steps-wrap{ position:relative; }
.steps-line{ position:absolute; top:44px; left:6%; right:6%; height:2px; background:repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); z-index:0; }
.steps{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; position:relative; z-index:1; }
.step-card{
  position:relative; overflow:hidden;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:22px; cursor:default;
  transition:transform .35s cubic-bezier(.16,.8,.3,1), border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.step-card::before{
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg, transparent, var(--gold), transparent);
  transform:scaleX(0); transform-origin:center;
  transition:transform .4s cubic-bezier(.16,.8,.3,1);
}
.step-card::after{
  content:''; position:absolute; inset:auto -30% -50% -30%; height:70%;
  background:radial-gradient(ellipse at center, color-mix(in srgb, var(--gold) 18%, transparent), transparent 70%);
  opacity:0; pointer-events:none; transition:opacity .35s ease;
}
.step-card:nth-child(even){ transform:translateY(16px); }
.step-card:hover,
.step-card:focus-within{
  transform:translateY(-8px);
  border-color:var(--gold);
  background:linear-gradient(165deg, var(--surface), var(--gold-soft));
  box-shadow:
    0 22px 40px -20px rgba(0,0,0,.55),
    0 0 0 1px color-mix(in srgb, var(--gold) 30%, transparent),
    0 0 36px -12px color-mix(in srgb, var(--gold) 45%, transparent);
}
.step-card:nth-child(even):hover,
.step-card:nth-child(even):focus-within{
  transform:translateY(4px);
}
.step-card:hover::before,
.step-card:focus-within::before{ transform:scaleX(1); }
.step-card:hover::after,
.step-card:focus-within::after{ opacity:1; }
.step-card-final{ border-color:var(--gold-line); background:linear-gradient(160deg, var(--surface), var(--gold-soft)); }
.step-card-final:hover,
.step-card-final:focus-within{ border-color:var(--gold); }
.step-num{
  width:40px; height:40px; border-radius:50%;
  background:var(--gold-soft); color:var(--gold-2);
  border:1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  display:flex; align-items:center; justify-content:center; margin-bottom:14px;
  transition:transform .35s ease, background .35s ease, color .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.step-card:hover .step-num,
.step-card:focus-within .step-num{
  transform:scale(1.12) rotate(-6deg);
  background:var(--gold); color:#241a04; border-color:var(--gold);
  box-shadow:0 0 18px -2px color-mix(in srgb, var(--gold) 55%, transparent);
}
.step-card-final .step-num{ background:var(--gold-soft); color:var(--gold-2); }
.step-card h4{
  font-size:.98rem; margin-bottom:6px; color:var(--ink);
  transition:color .3s ease;
}
.step-card:hover h4,
.step-card:focus-within h4{ color:var(--gold-2); }
.step-card p{ font-size:.85rem; margin:0; position:relative; z-index:1; }
.step-card .step-num,
.step-card h4{ position:relative; z-index:1; }
@media (prefers-reduced-motion: reduce){
  .step-card,
  .step-card::before,
  .step-card::after,
  .step-num{ transition:none; }
  .step-card:hover,
  .step-card:nth-child(even):hover{ transform:none; }
}

/* ===== roles ===== */
.role-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.role-card{
  position:relative; overflow:hidden;
  background:var(--bg); border:1px solid var(--line); border-radius:var(--radius);
  padding:24px; cursor:default;
  transition:transform .35s cubic-bezier(.16,.8,.3,1), border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.role-card::before{
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg, transparent, var(--gold), transparent);
  transform:scaleX(0); transform-origin:center;
  transition:transform .4s cubic-bezier(.16,.8,.3,1);
}
.role-card::after{
  content:''; position:absolute; inset:auto -30% -55% -30%; height:70%;
  background:radial-gradient(ellipse at center, color-mix(in srgb, var(--gold) 18%, transparent), transparent 70%);
  opacity:0; pointer-events:none; transition:opacity .35s ease;
}
.role-card:hover,
.role-card:focus-within{
  transform:translateY(-8px);
  border-color:var(--gold);
  background:linear-gradient(165deg, var(--bg), var(--gold-soft));
  box-shadow:
    0 22px 40px -20px rgba(0,0,0,.55),
    0 0 0 1px color-mix(in srgb, var(--gold) 30%, transparent),
    0 0 36px -12px color-mix(in srgb, var(--gold) 45%, transparent);
}
.role-card:hover::before,
.role-card:focus-within::before{ transform:scaleX(1); }
.role-card:hover::after,
.role-card:focus-within::after{ opacity:1; }
.role-card .icon-badge{
  position:relative; z-index:1;
  transition:transform .35s ease, background .35s ease, color .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.role-card:hover .icon-badge,
.role-card:focus-within .icon-badge{
  transform:scale(1.12) rotate(-6deg);
  background:var(--gold); color:#241a04;
  border-color:var(--gold);
  box-shadow:0 0 18px -2px color-mix(in srgb, var(--gold) 55%, transparent);
}
.role-card h4{
  position:relative; z-index:1;
  font-size:1rem; transition:color .3s ease;
}
.role-card:hover h4,
.role-card:focus-within h4{ color:var(--gold-2); }
.role-card p{ position:relative; z-index:1; font-size:.88rem; margin:0; }
@media (prefers-reduced-motion: reduce){
  .role-card,
  .role-card::before,
  .role-card::after,
  .role-card .icon-badge{ transition:none; }
  .role-card:hover{ transform:none; }
}

/* ===== metrics ===== */
.metrics-section{
  position:relative; overflow:hidden;
  padding:88px 0;
  background:linear-gradient(135deg, #C9962E 0%, var(--gold) 35%, var(--gold-2) 70%, #E8C56A 100%);
  border-top:1px solid color-mix(in srgb, #8A6B1F 40%, transparent);
  border-bottom:1px solid color-mix(in srgb, #8A6B1F 40%, transparent);
}
.metrics-section::before{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(ellipse 50% 80% at 15% 50%, rgba(255,255,255,.22), transparent 55%),
    radial-gradient(ellipse 40% 70% at 90% 40%, rgba(36,26,4,.12), transparent 50%);
}
.metrics-shine{
  position:absolute; top:0; bottom:0; width:40%; left:-40%;
  background:linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  pointer-events:none; z-index:0;
}
@media (prefers-reduced-motion: no-preference){
  .metrics-section.is-counting .metrics-shine{
    animation:metricsShine 2.8s ease-in-out 1;
  }
}
@keyframes metricsShine{
  0%{ left:-40%; opacity:0; }
  20%{ opacity:1; }
  100%{ left:110%; opacity:0; }
}
.metrics-grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center;
}
.metric{
  position:relative; isolation:isolate;
  display:flex; flex-direction:column; align-items:center; gap:8px;
  padding:28px 18px 26px;
  background:rgba(36,26,4,.1);
  border:1px solid rgba(36,26,4,.18);
  border-radius:18px;
  backdrop-filter:blur(4px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28);
  opacity:0; transform:translateY(22px) scale(.96);
  transition:opacity .6s cubic-bezier(.16,.8,.3,1), transform .6s cubic-bezier(.16,.8,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.metric.is-in{
  opacity:1; transform:translateY(0) scale(1);
}
.metric.is-done{
  border-color:rgba(36,26,4,.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 12px 28px -16px rgba(36,26,4,.35);
}
.metric:hover{
  border-color:rgba(36,26,4,.4);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4),
    0 16px 32px -14px rgba(36,26,4,.4);
}
.metric-ring{
  position:absolute; inset:10px; border-radius:14px; pointer-events:none; z-index:0;
  border:1px solid transparent;
}
.metric.is-done .metric-ring{
  animation:metricRing 1.1s ease-out 1;
}
@keyframes metricRing{
  0%{ border-color:rgba(36,26,4,.0); transform:scale(.92); opacity:0; }
  40%{ border-color:rgba(36,26,4,.35); opacity:1; }
  100%{ border-color:rgba(36,26,4,.0); transform:scale(1.06); opacity:0; }
}
.metric-num{
  position:relative; z-index:1;
  display:block; font-family:'IBM Plex Sans'; font-weight:700;
  font-size:clamp(2.4rem, 4vw, 3.2rem); line-height:1;
  color:#241a04; letter-spacing:-.03em;
  text-shadow:0 1px 0 rgba(255,255,255,.3);
}
.metric.is-done .metric-num{
  animation:metricPop .55s cubic-bezier(.16,.8,.3,1) 1;
}
@keyframes metricPop{
  0%{ transform:scale(1); }
  40%{ transform:scale(1.12); }
  100%{ transform:scale(1); }
}
.metric-label{
  position:relative; z-index:1;
  font-size:.86rem; color:#4A3A12; font-weight:500;
  max-width:150px; line-height:1.35;
}
@media (prefers-reduced-motion: reduce){
  .metric{ opacity:1; transform:none; transition:none; }
  .metrics-shine, .metric-ring, .metric.is-done .metric-num{ animation:none; }
}

/* ===== security ===== */
.security-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.security-item{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:22px; }
.security-item h4{ font-size:.98rem; }
.security-item p{ font-size:.86rem; margin:0; }

/* ===== faq ===== */
.faq-list{ max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq-item{ background:var(--bg); border:1px solid var(--line); border-radius:14px; padding:18px 22px; transition:border-color .25s ease, background .25s ease; }
.faq-item[open]{ border-color:var(--gold-line); background:var(--gold-soft); }
.faq-item summary{ cursor:pointer; font-weight:600; list-style:none; display:flex; justify-content:space-between; align-items:center; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:'+'; font-size:1.3rem; color:var(--gold); margin-left:12px; display:inline-block; transition:transform .3s ease; }
.faq-item[open] summary::after{ transform:rotate(135deg); }
.faq-item p{ margin-top:12px; margin-bottom:0; font-size:.94rem; animation:fadeIn .3s ease; }

/* ===== cta ===== */
.cta-section{ text-align:center; }
.cta-inner{ max-width:560px; margin:0 auto; }
.cta-inner h2{ font-size:clamp(1.6rem,3vw,2.2rem); }

/* ===== footer ===== */
.footer{ border-top:1px solid var(--line); padding:36px 0; }
.footer-inner{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.footer-note{ font-size:.85rem; color:var(--muted-2); margin:0; }
.footer-link{ color:var(--gold-2); text-decoration:underline; text-underline-offset:3px; }
.footer-link:hover{ color:var(--gold); }

/* ===== responsive ===== */
@media (max-width: 960px){
  .hero-inner, .split, .aios-planes, .demo-layout, .cert-layout{ grid-template-columns:1fr; }
  .aios-plane-divider{ display:none; }
  .aios-planes{ gap:36px; max-width:560px; }
  .chain{ flex-wrap:wrap; justify-content:center; gap:24px 12px; }
  .chain-line{ display:none; }
  .risk-grid, .module-grid, .role-grid, .security-grid, .metrics-grid{ grid-template-columns:repeat(2,1fr); }
  .connect-trust{ grid-template-columns:1fr; max-width:420px; }
  .connect-tabs{ grid-template-columns:1fr; }
  .connect-tab{ border-right:none; border-bottom:1px solid var(--line); }
  .connect-tab:last-child{ border-bottom:none; }
  .connect-panel.is-active{ grid-template-columns:1fr; }
  .connect-wire-text{ white-space:normal; text-align:center; max-width:100px; }
  .steps{ grid-template-columns:repeat(2,1fr); }
  .steps-line{ display:none; }
  .step-card:nth-child(even){ transform:none; }
  .step-card:nth-child(even):hover,
  .step-card:nth-child(even):focus-within{ transform:translateY(-8px); }
  .nav-links{ display:none; }
  .demo-steps{ position:static; flex-direction:row; overflow-x:auto; }
  .demo-step{ min-width:220px; }
}
@media (max-width: 640px){
  .risk-grid, .module-grid, .role-grid, .security-grid, .metrics-grid, .steps{ grid-template-columns:1fr; }
  .aios-chip{ min-width:calc(50% - 10px); }
  .connect-tab-copy b{ white-space:normal; }
  .chain{ flex-wrap:wrap; justify-content:center; gap:24px 12px; }
  .chain-line{ display:none; }
  .chain{ flex-wrap:wrap; justify-content:center; gap:24px 12px; }
  .chain-line{ display:none; }
  .hero-trust{ gap:20px; }
  .demo-steps{ flex-direction:column; overflow-x:visible; }
  .cert-card{ padding:34px 22px; }
  .cert-stats{ gap:20px; }
  .cert-fields{ grid-template-columns:1fr; text-align:center; }
  .cert-bottom{ flex-direction:column; align-items:center; text-align:center; }
}
