/* Smart Plan Doc site styles (moved verbatim from index.html; order preserved) */
/* ══════════════════════════════════════════════════════════════
   Smart Plan Doc · Enterprise healthcare application aesthetic
   ──────────────────────────────────────────────────────────────
   GOVERNING RULE: product UI is the visual storytelling
   mechanism. Every text surface is opaque, navy typography on
   white/off-white, one blue accent for CTAs, links and active
   states. Every foreground colour below is verified at
   WCAG AAA (7:1+) against the surface it is used on.
   ══════════════════════════════════════════════════════════════ */
:root{
  --navy:#0F172A; --navy-950:#020617;

  /* text ramp on white/off-white */
  --ink:#020617;    /* foreground, ~19:1 on white */
  --muted:#334155;  /* muted body text, ~8.9:1 on white */
  --soft:#475569;   /* secondary/caption text, ~6.6:1 on white */

  /* single accent, CTA + links + active states only */
  --accent:#0369A1; --accent-700:#025580;

  --surface:#FFFFFF; --bg:#F8FAFC; --bg-alt:#F1F5F9; --bg-deep:#E2E8F0;
  --border:#E2E8F0; --border-soft:#EDF1F5;

  --ok:#05614A;   --ok-bg:#F5FCF9;   --ok-bd:#A9DCC8;
  --warn:#734709; --warn-bg:#FEFCF7; --warn-bd:#E8CE9C;
  --stop:#99241C; --stop-bg:#FDF0EE; --stop-bd:#EDBCB6;
  --info:#0369A1; --info-bg:#EFF6FB; --info-bd:#BEE0F2;

  /* kept as aliases so component rules that reference the former AI-native
     accent / hover-glow / gradient-shadow tokens still resolve flat, without
     a second accent color or a gradient */
  --ai:var(--accent); --ai-tint:#EFF6FB; --ai-glow:rgba(3,105,161,.16);

  --r-sm:10px; --r-md:14px; --r-lg:20px; --r-xl:28px;
  --sh-1:0 1px 2px rgba(2,6,23,.06), 0 1px 3px rgba(2,6,23,.04);
  --sh-2:0 4px 14px rgba(2,6,23,.07), 0 1px 3px rgba(2,6,23,.04);
  --sh-3:0 18px 40px rgba(2,6,23,.1), 0 4px 12px rgba(2,6,23,.05);
  --sh-4:0 24px 60px rgba(2,6,23,.12), 0 6px 16px rgba(2,6,23,.05);

  --max:1220px; --ease:cubic-bezier(.16,1,.3,1);
  --focus:var(--accent); --tap:44px;
}
*,*::before,*::after{box-sizing:border-box; min-width:0}
html{scroll-behavior:smooth}
body{margin:0; background:var(--bg); color:var(--ink);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:17px; line-height:1.65; -webkit-font-smoothing:antialiased; overflow-x:hidden}
h1,h2,h3,h4,h5{margin:0; line-height:1.18; letter-spacing:-.022em; font-weight:700; overflow-wrap:break-word}
p{margin:0; overflow-wrap:break-word}
a{color:inherit; text-decoration:none}
button{font:inherit; cursor:pointer; border:0; background:none; color:inherit}
svg{display:block}
::selection{background:var(--ai-tint); color:var(--navy-950)}
.wrap{max-width:var(--max); margin:0 auto; padding:0 28px; position:relative; z-index:2}
.mono{font-family:"IBM Plex Mono",ui-monospace,monospace; font-variant-numeric:tabular-nums}

/* ── Inclusive Design: focus, skip link, screen-reader text ── */
:focus-visible{outline:4px solid var(--focus); outline-offset:3px; border-radius:8px}
.skip{position:absolute; left:16px; top:-70px; z-index:300; background:var(--navy-950); color:#fff;
  padding:14px 22px; border-radius:0 0 12px 12px; font-weight:700; transition:top .2s}
.skip:focus{top:0}
.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}

.logo-full{width:190px; height:47px; object-fit:contain; display:block; flex:none}
.logo-full.sm{width:160px; height:40px}
.logo-full.inv{filter:brightness(0) invert(1)}

/* ══════════════ NAV ══════════════ */
.nav{position:fixed; inset:0 0 auto 0; z-index:100; background:rgba(248,250,252,.92);
  border-bottom:1px solid transparent; transition:border-color .3s, box-shadow .3s;
  transform:translateZ(0); -webkit-transform:translateZ(0); backface-visibility:hidden; -webkit-backface-visibility:hidden}
.nav.stuck{border-bottom-color:var(--border); box-shadow:0 1px 16px rgba(2,6,23,.05); background:rgba(255,255,255,.98)}
.nav-in{display:flex; align-items:center; gap:20px; height:78px}
.nav-links{display:flex; gap:2px; margin-left:auto}
.nav-links a{display:flex; align-items:center; min-height:var(--tap); padding:0 12px; border-radius:10px;
  font-size:14.5px; font-weight:600; color:var(--muted); transition:color .18s, background .18s}
.nav-links a:hover{color:var(--navy); background:var(--bg-alt)}
.nav-cta{display:flex; gap:9px; align-items:center}

.btn{display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:var(--tap);
  padding:0 22px; border-radius:12px; font-size:15px; font-weight:600; white-space:nowrap;
  transition:transform .2s var(--ease), box-shadow .24s, background .2s, border-color .2s, color .2s, opacity .2s}
.btn svg{flex:none}
.btn-sm{min-height:var(--tap); padding:0 16px; font-size:14px; border-radius:11px}
.btn-lg{min-height:54px; padding:0 28px; font-size:16px}
.btn-primary{background:var(--accent); color:#fff; box-shadow:0 3px 12px rgba(3,105,161,.26)}
.btn-primary:hover{background:var(--accent-700); box-shadow:0 10px 24px rgba(3,105,161,.28); transform:translateY(-2px)}
.btn-aurora{background:var(--accent); color:#fff; box-shadow:0 3px 12px rgba(3,105,161,.26)}
.btn-aurora:hover{background:var(--accent-700); box-shadow:0 10px 24px rgba(3,105,161,.28); transform:translateY(-2px)}
.btn-ghost{background:var(--surface); color:var(--ink); border:1.5px solid var(--border); box-shadow:var(--sh-1)}
.btn-ghost:hover{border-color:var(--accent); color:var(--accent); transform:translateY(-2px)}
.btn-warn{background:var(--warn-bg); color:var(--warn); border:1.5px solid var(--warn-bd)}
.btn-warn:hover{background:#F9EDD6; transform:translateY(-2px)}
.btn:disabled{opacity:.45; cursor:not-allowed; transform:none!important; box-shadow:none!important}

.nav-toggle{display:none; width:var(--tap); height:var(--tap); border-radius:11px; border:1.5px solid var(--border); background:var(--surface); place-items:center; margin-left:auto}

.mobile-backdrop{position:fixed; inset:0; background:rgba(15,23,42,.45); z-index:190; opacity:0; pointer-events:none; transition:opacity .26s var(--ease)}
.mobile-backdrop.open{opacity:1; pointer-events:auto}
.mobile-drawer{position:fixed; top:0; right:0; bottom:0; width:min(82vw,320px); background:var(--surface); z-index:200;
  box-shadow:-10px 0 32px rgba(2,6,23,.16); transform:translateX(100%); transition:transform .3s var(--ease);
  display:flex; flex-direction:column; padding:16px 20px 28px; overflow-y:auto}
.mobile-drawer.open{transform:translateX(0)}
.mobile-drawer-top{display:flex; justify-content:flex-end; margin-bottom:6px}
.mobile-drawer-links{display:flex; flex-direction:column; gap:2px; margin-top:8px}
.mobile-drawer-links a{display:flex; align-items:center; min-height:var(--tap); padding:0 12px; border-radius:10px;
  font-size:16px; font-weight:600; color:var(--ink); transition:color .18s, background .18s}
.mobile-drawer-links a:hover{color:var(--navy); background:var(--bg-alt)}

/* ══════════════ SECTION FURNITURE ══════════════ */
section{position:relative}
.sec{padding:106px 0}
.sec-alt{background:var(--surface); border-block:1px solid var(--border-soft)}
.eyebrow{display:inline-flex; align-items:center; gap:9px; min-height:32px; padding:4px 15px; border-radius:999px;
  background:var(--info-bg); color:var(--accent); border:1.5px solid var(--info-bd);
  font-size:13px; font-weight:700; letter-spacing:.1em; text-transform:uppercase}
.eyebrow .dot{width:8px; height:8px; border-radius:50%; flex:none; background:var(--accent)}
.hero-kicker,.eyebrow-plain{display:inline-block; color:var(--accent); font-size:13px; font-weight:700; letter-spacing:.1em; text-transform:uppercase}
.eyebrow-bar{position:relative; display:inline-flex; align-items:center; padding:6px 16px 6px 18px; background:var(--info-bg); border-radius:var(--r-sm);
  color:var(--accent); font-size:13.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; line-height:1}
.eyebrow-bar::before{content:""; position:absolute; left:0; top:0; bottom:0; width:5px; background:var(--accent); border-radius:var(--r-sm) 0 0 var(--r-sm)}
.sec-head{max-width:800px; margin-bottom:52px}
.sec-head.wide{max-width:1000px}
.sec-head.center{margin-inline:auto; text-align:center}
.sec-head h2{font-size:clamp(30px,3.5vw,45px); margin:10px 0 16px; letter-spacing:-.034em; font-weight:800; color:var(--navy)}
.sec-head p{font-size:18px; color:var(--muted); line-height:1.68}
.lede-strong{color:var(--ink); font-weight:700}
.aur-text{color:var(--accent)}

/* ══════════════ HERO ══════════════ */
.hero{padding:150px 0 90px; position:relative; overflow:hidden; background:var(--bg)}
.hero-in{display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center}
.hero h1{font-size:clamp(37px,4.9vw,58px); letter-spacing:-.042em; margin:10px 0 20px; font-weight:800; color:var(--ink)}
.hero h1 .grad{color:var(--accent); font-style:italic}
.hero-sub{font-size:18.5px; color:var(--muted); max-width:520px; line-height:1.62}
.hero-actions{display:flex; gap:13px; margin:30px 0 0; flex-wrap:wrap}
.hero-note{margin-top:26px; font-size:14px; color:var(--soft)}

.ingest{display:flex; align-items:stretch; gap:16px; padding:26px 20px}
.ingest-side{flex:1; min-width:0; display:flex; flex-direction:column; justify-content:center}
.ingest-label{display:block; font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  color:var(--soft); margin-bottom:10px}
.ingest-arrow{flex:none; color:var(--accent); display:grid; place-items:center}
.ingest-doc-card{border:1px solid var(--border-soft); border-radius:var(--r-md); background:var(--bg);
  padding:16px 15px; display:flex; flex-direction:column; gap:8px; color:var(--soft)}
.ingest-line{display:block; height:6px; border-radius:3px; background:var(--border)}
.ingest-line.hl{background:var(--accent); opacity:.55}
.ingest-fields{display:flex; flex-direction:column; gap:7px}
.ingest-field{display:flex; flex-direction:column; gap:2px; padding:8px 11px; border-radius:var(--r-sm);
  border:1px solid var(--border-soft); background:var(--bg)}
.ingest-field span{font-size:10.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--soft)}
.ingest-field b{font-size:13px; font-weight:600; color:var(--ink)}
.ingest-field.hl{border-color:var(--info-bd); background:var(--info-bg)}
.ingest-field.hl b{color:var(--navy)}
.ingest-cap{display:block; margin-top:10px; font-size:11.5px; color:var(--soft); text-align:center}
.hero-tbl-cap{display:flex; align-items:center; gap:9px; padding:14px 20px; margin:0;
  border-top:1px solid var(--border-soft); font-size:13px; color:var(--soft); background:var(--bg)}
.hero-tbl-cap svg{flex:none; color:var(--ok)}

.glass{background:var(--surface); border:1px solid var(--border); border-radius:var(--r-xl); box-shadow:var(--sh-3); overflow:hidden; color:var(--ink)}
.glass-bar{min-height:46px; display:flex; align-items:center; gap:9px; padding:6px 17px; flex-wrap:wrap;
  border-bottom:1px solid var(--border-soft); background:linear-gradient(180deg,#FBFCFE,#F3F7FB)}
.glass-bar .path{font-size:12.5px; color:var(--soft); font-weight:600}

/* chips: icon + colour + border, never colour alone */
.chip{display:inline-flex; align-items:center; gap:6px; min-height:26px; padding:3px 11px; border-radius:999px;
  font-size:12.5px; font-weight:700; white-space:nowrap; border:1px solid transparent}
.chip svg{flex:none}
.chip-ok{background:var(--ok-bg); color:var(--ok); border-color:var(--ok-bd)}
.chip-warn{background:var(--warn-bg); color:var(--warn); border-color:var(--warn-bd)}
.chip-stop{background:var(--stop-bg); color:var(--stop); border-color:var(--stop-bd)}
.chip-info{background:var(--info-bg); color:var(--info); border-color:var(--info-bd)}
.chip-ai{background:var(--ai-tint); color:var(--ai); border-color:var(--info-bd)}
.chip-idle{background:var(--bg-alt); color:#35485A; border-color:var(--border)}

/* ══════════════ AI-NATIVE PRIMITIVES ══════════════ */
.thinking{display:inline-flex; align-items:center; gap:5px}
.thinking i{width:7px; height:7px; border-radius:50%; background:var(--ai); display:block; animation:blink 1.3s infinite}
.thinking i:nth-child(2){animation-delay:.18s}
.thinking i:nth-child(3){animation-delay:.36s}
@keyframes blink{0%,60%,100%{opacity:.25; transform:translateY(0)}30%{opacity:1; transform:translateY(-3px)}}
.ctx{border:1px solid var(--border); border-left:4px solid var(--ai); background:var(--surface);
  border-radius:var(--r-sm); padding:12px 15px; margin:9px 0}
.ctx .src{display:flex; align-items:center; gap:7px; font-size:12.5px; font-weight:700; color:var(--ai); margin-bottom:5px}
.ctx p{font-size:14px; color:var(--muted); line-height:1.6}
.cite{display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:700; color:var(--ai);
  background:var(--ai-tint); border:1px solid var(--info-bd); border-radius:7px; padding:2px 8px}
.shimmer{position:relative; overflow:hidden}
.shimmer::after{content:""; position:absolute; inset:0;
  background:linear-gradient(100deg,transparent 20%,rgba(3,105,161,.1) 50%,transparent 80%);
  transform:translateX(-100%); animation:sweep 1.5s infinite}
@keyframes sweep{to{transform:translateX(100%)}}

/* ══════════════ FEATURE SPOTLIGHTS ══════════════ */
.mods{display:block}

/* ══════════════ LIFECYCLE LOOPBACK ══════════════ */
.loopback{display:inline-flex; gap:10px; align-items:center; font-size:14px; color:var(--warn); font-weight:600;
  background:var(--warn-bg); border:1.5px solid var(--warn-bd); border-radius:999px; padding:11px 20px; margin-top:40px}


/* ══════════════ AI SECTION ══════════════ */
.ai-band{background:var(--bg); position:relative; overflow:hidden}
.ai-in{display:grid; grid-template-columns:1.06fr .94fr; gap:56px; align-items:center; position:relative; z-index:2}
.ai-band h2{font-size:clamp(29px,3.3vw,43px); margin:10px 0 18px; letter-spacing:-.034em; font-weight:800; color:var(--ink)}
.ai-band h2 .grad{color:var(--accent)}
.ai-lede{font-size:17px; color:var(--muted); line-height:1.7; margin-bottom:28px}
.ai-list{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:16px}
.ai-list li{display:flex; gap:14px; align-items:flex-start; font-size:15.5px; color:var(--muted); line-height:1.62}
.ai-list li b{color:var(--ink); font-weight:700}
.ai-tick{width:26px; height:26px; border-radius:50%; flex:none; margin-top:1px; display:grid; place-items:center;
  background:var(--info-bg); border:1.5px solid var(--info-bd); color:var(--accent)}
.ai-dot{width:8px; height:8px; border-radius:50%; background:var(--accent); position:relative; flex:none}
.ai-dot::after{content:""; position:absolute; inset:0; border-radius:50%; background:var(--accent); animation:pulse 2.4s infinite}
@keyframes pulse{0%{transform:scale(1);opacity:.7}70%{transform:scale(3.4);opacity:0}100%{opacity:0}}

/* the guardrail statement, visually prominent */
.guardrail{background:var(--surface); border:1px solid var(--border); border-left:5px solid var(--navy);
  border-radius:var(--r-lg); padding:30px 32px; box-shadow:var(--sh-2)}
.guardrail .gi{width:44px; height:44px; border-radius:13px; display:grid; place-items:center; margin-bottom:18px;
  background:var(--navy); color:#fff}
.guardrail p{font-size:clamp(18px,1.9vw,22px); line-height:1.5; font-weight:700; color:var(--navy);
  letter-spacing:-.022em}
.guardrail p + p{margin-top:11px}
.guardrail .last{color:var(--accent)}

/* ══════════════ THE OLD WAY (problem) ══════════════ */
.pains{display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:8px}
.pain{background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:26px 24px;
  box-shadow:var(--sh-1); position:relative}
.pain .pn{font-family:"IBM Plex Mono",ui-monospace,monospace; font-size:12.5px; font-weight:600;
  color:var(--soft); letter-spacing:.06em; display:block; margin-bottom:14px}
.pain h3{font-size:16.5px; margin-bottom:10px; color:var(--navy); letter-spacing:-.018em}
.pain p{font-size:14px; color:var(--muted); line-height:1.62}
.pain-head{display:block; width:100%; text-align:left; background:none; border:0; padding:0; margin:0; font:inherit; color:inherit; cursor:default}
.pain-chevron{display:none}
.problem-lede{max-width:none; margin-bottom:48px}
.problem-lede p{font-size:17.5px; color:var(--muted); line-height:1.7}
.problem-lede p + p{margin-top:15px}
.problem-lede .beat{font-weight:700; color:var(--ink)}
.problem-cta{margin-top:32px; font-size:18px; font-weight:700; color:var(--ink); text-align:center}

/* ══════════════ VALUE PROP ══════════════ */
.vals{display:grid; grid-template-columns:repeat(3,1fr); gap:20px}
.val{background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:28px 26px;
  box-shadow:var(--sh-1); transition:transform .3s var(--ease), box-shadow .3s}
.val:hover{transform:translateY(-5px); box-shadow:var(--sh-3)}
.val .vi{width:44px; height:44px; border-radius:13px; background:var(--info-bg); color:var(--accent);
  border:1px solid var(--info-bd); display:grid; place-items:center; margin-bottom:16px}
.val h3{font-size:17.5px; margin-bottom:10px; color:var(--navy); letter-spacing:-.02em}
.val p{font-size:14.5px; color:var(--muted); line-height:1.64}
.val-head{display:block; width:100%; text-align:left; background:none; border:0; padding:0; margin:0; font:inherit; color:inherit; cursor:default}
.val-chevron{display:none}
.val-lede{max-width:none; margin-bottom:44px}
.val-lede p{font-size:17.5px; color:var(--muted); line-height:1.7}
.val-lede p + p{margin-top:13px}
.val-lede .beat{font-weight:700; color:var(--ink)}

/* ══════════════ LIFECYCLE ══════════════ */
.lc{display:grid; grid-template-columns:repeat(6,1fr); gap:0; margin:0 0 34px; padding:0; list-style:none;
  border:1px solid var(--border); border-radius:var(--r-lg); background:var(--surface);
  box-shadow:var(--sh-1); overflow:hidden}
.lc-node::marker{content:""}
.lc-node{padding:20px 16px; text-align:center; position:relative; border-right:1px solid var(--border-soft)}
.lc-node:last-child{border-right:0}
.lc-node .lcn{width:38px; height:38px; border-radius:50%; display:grid; place-items:center; margin:0 auto 11px;
  font-family:"IBM Plex Mono",ui-monospace,monospace; font-size:13px; font-weight:600; color:#fff;
  background:var(--navy); letter-spacing:-.01em}
.lc-node b{display:block; font-size:14.5px; color:var(--navy); letter-spacing:-.015em}
.lc-node.on{background:var(--info-bg)}
.lc-node.on .lcn{background:var(--accent); box-shadow:0 0 0 4px var(--ai-glow)}

.lc-steps{display:grid; grid-template-columns:repeat(3,1fr); gap:20px}
.lc-step{background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:26px 24px;
  box-shadow:var(--sh-1); display:flex; flex-direction:column; gap:0}
.lc-step .sh{display:flex; align-items:center; gap:12px; margin-bottom:14px}
.lc-step .sk{font-family:"IBM Plex Mono",ui-monospace,monospace; font-size:12.5px; font-weight:600;
  color:var(--accent); letter-spacing:.04em; flex:none}
.lc-step .si2{width:34px; height:34px; border-radius:10px; flex:none; display:grid; place-items:center;
  background:var(--info-bg); color:var(--accent); border:1px solid var(--info-bd); margin-left:auto}
.lc-step h3{font-size:17px; margin-bottom:9px; color:var(--navy); letter-spacing:-.02em}
.lc-step p{font-size:14px; color:var(--muted); line-height:1.62}

/* ══════════════ DOCUMENT GENERATION VISUAL ══════════════ */
.gen{display:grid; grid-template-columns:1fr; gap:12px}
.gen-src{border:1.5px solid var(--ok-bd); background:var(--ok-bg); border-radius:var(--r-md);
  padding:15px 17px; text-align:center; min-width:0}
.gen-src b{display:block; font-size:14px; color:var(--navy); overflow-wrap:break-word}
.gen-src span{font-size:12px; color:var(--soft); overflow-wrap:break-word}
.gen-tpls{display:grid; gap:8px; min-width:0}
.gen-tpl{border:1px solid var(--border); background:var(--bg); border-radius:var(--r-sm);
  padding:9px 12px; font-size:13px; font-weight:600; color:var(--muted); display:flex; align-items:center; gap:8px; min-width:0}
.gen-tpl svg{flex:none; color:var(--soft)}
.gen-outs{display:grid; gap:8px; min-width:0}
.gen-out{border:1px solid var(--info-bd); background:var(--info-bg); border-radius:var(--r-sm);
  padding:9px 12px; font-size:13px; font-weight:600; color:var(--navy); display:flex; align-items:center; gap:8px; min-width:0}
.gen-out svg{flex:none; color:var(--accent)}
.gen-op{color:var(--accent); display:grid; place-items:center; flex:none; width:20px; height:20px; transform:rotate(90deg); justify-self:center}

/* ══════════════ PLAN BUILD PIPELINE ══════════════ */
.pipe{list-style:none; margin:0; padding:0; display:flex; align-items:stretch; gap:9px; flex-wrap:wrap}
.pipe li{flex:1 1 0; min-width:104px; border:1px solid var(--border); background:var(--surface);
  border-radius:var(--r-md); padding:14px 12px; text-align:center; box-shadow:var(--sh-1)}
.pipe li .pi{width:32px; height:32px; border-radius:9px; display:grid; place-items:center; margin:0 auto 9px;
  background:var(--info-bg); color:var(--accent); border:1px solid var(--info-bd)}
.pipe li b{display:block; font-size:13px; color:var(--navy); line-height:1.35}
.pipe li.term{background:var(--ok-bg); border-color:var(--ok-bd)}
.pipe li.term .pi{background:#fff; color:var(--ok); border-color:var(--ok-bd)}

/* ══════════════ CODE SOURCES ══════════════ */
.codes{display:flex; flex-wrap:wrap; gap:11px; justify-content:center; margin-bottom:34px}
.code-badge{border:1.5px solid var(--border); background:var(--surface); border-radius:var(--r-md);
  padding:13px 22px; box-shadow:var(--sh-1); text-align:center}
.code-badge b{display:block; font-size:16px; font-weight:800; color:var(--navy); letter-spacing:-.01em}
.code-badge span{display:block; font-size:12px; color:var(--soft); margin-top:2px}
.code-badge.more{background:var(--bg); border-style:dashed}
.code-badge.more b{color:var(--soft); font-weight:600; font-size:14px}

/* ══════════════ SECURITY ══════════════ */
.trust{display:grid; grid-template-columns:repeat(4,1fr); gap:18px}
.trust-3{grid-template-columns:repeat(3,1fr); margin-top:18px}
.trust-card{background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:26px 24px;
  box-shadow:var(--sh-1); transition:transform .3s var(--ease), box-shadow .3s}
.trust-card:hover{transform:translateY(-5px); box-shadow:var(--sh-3)}
.trust-card .ti{width:44px; height:44px; border-radius:13px; background:var(--info-bg);
  color:var(--navy); border:1px solid var(--info-bd); display:grid; place-items:center; margin-bottom:15px}
.trust-card h3{font-size:16.5px; margin-bottom:9px}
.trust-card p{font-size:14px; color:var(--muted); line-height:1.62}
.trust-head{display:block; width:100%; text-align:left; background:none; border:0; padding:0; margin:0; font:inherit; color:inherit; cursor:default}
.trust-chevron{display:none}
.trust-card .meta{margin-top:11px; padding-top:11px; border-top:1px solid var(--border-soft);
  font-size:12.5px; color:var(--soft); font-weight:600}

/* ══════════════ CONTACT FORM ══════════════ */
.cf-wrap{display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:center}
.cf-intro h2{font-size:clamp(30px,3.5vw,45px); margin:10px 0 16px; letter-spacing:-.034em; font-weight:800; color:var(--navy)}
.cf-intro p{font-size:18px; color:var(--muted); line-height:1.68}
.contact-form{background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:36px; box-shadow:var(--sh-1)}
.cf-row{display:grid; grid-template-columns:1fr 1fr; gap:18px}
.cf-field{margin-bottom:18px}
.cf-field label{display:block; font-size:13.5px; font-weight:700; color:var(--navy); margin-bottom:7px}
.cf-field input, .cf-field textarea{width:100%; border:1.5px solid var(--border); border-radius:11px;
  padding:12px 14px; font:inherit; font-size:15px; color:var(--ink); background:var(--bg)}
.cf-field textarea{resize:vertical; line-height:1.6}
.cf-field input:focus, .cf-field textarea:focus{outline:4px solid var(--focus); outline-offset:2px;
  border-color:var(--accent); background:var(--surface)}
.cf-field input.bad, .cf-field textarea.bad{border-color:var(--stop)}
.cf-err{display:block; min-height:0; font-size:12.5px; font-weight:600; color:var(--stop); margin-top:6px}
.cf-form-err{background:var(--stop-bg); border:1px solid var(--stop-bd); border-radius:11px; padding:12px 14px;
  font-size:13.5px; color:var(--stop); font-weight:600}
.cf-actions{display:flex; justify-content:flex-end}
.cf-actions-center{justify-content:center; margin-top:16px}
.btn .cf-spinner{margin-right:2px}
.btn:disabled{pointer-events:none}
.cf-success{padding:44px 30px}
.cf-check-ring{stroke-dasharray:63; stroke-dashoffset:63}
.cf-check-mark{stroke-dasharray:14; stroke-dashoffset:14}
.cf-success:not([hidden]) .cf-check-ring{animation:cf-draw .5s var(--ease) forwards}
.cf-success:not([hidden]) .cf-check-mark{animation:cf-draw .3s var(--ease) .45s forwards}
@keyframes cf-draw{to{stroke-dashoffset:0}}
@media (max-width:900px){.cf-wrap{grid-template-columns:1fr}}
@media (max-width:640px){.cf-row{grid-template-columns:1fr}}

/* ══════════════ COMPLIANCE STRIP ══════════════ */
.compliance{background:var(--surface); border-bottom:1px solid var(--border-soft); padding:16px 0}
.compliance-in{display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:14px 18px}
.cbadge{font-size:14.5px; font-weight:700; color:var(--ink); white-space:nowrap}
.cbadge-sep{color:var(--border); font-size:14px}

/* ══════════════ SITEMAP ══════════════ */
.sm-link{display:flex;flex-direction:column;gap:.2rem;padding:.55rem .7rem;border-radius:8px;text-decoration:none;transition:background .15s,color .15s;border:1px solid transparent;}
.sm-link:hover{background:var(--bg);border-color:var(--border);text-decoration:none;}
.sm-link strong{font-size:.83rem;font-weight:700;color:var(--ink);line-height:1.3;}
.sm-link span{font-size:.74rem;color:var(--muted);line-height:1.45;}
.sm-link:hover strong{color:var(--accent);}

/* ══════════════ FOOTER ══════════════ */
footer{background:var(--surface); color:var(--soft); padding:60px 0 30px; position:relative; overflow:hidden; border-top:1px solid var(--border-soft)}
.foot-grid{display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:42px; padding-bottom:36px}
.foot-grid p{font-size:14.5px; line-height:1.68; margin-top:18px; max-width:300px}
.foot-col h3{font-size:12px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--ink); margin:0 0 16px}
.foot-col a{display:flex; align-items:center; min-height:38px; font-size:14.5px; color:var(--soft); transition:color .18s}
.foot-col a:hover{color:var(--accent)}
.foot-btm{border-top:1px solid var(--border-soft); padding-top:24px; display:flex; justify-content:space-between;
  gap:18px; flex-wrap:wrap; font-size:13.5px; color:var(--soft)}
.foot-btm a{color:var(--accent)}
.foot-btm a:hover{color:var(--accent-700)}
.foot-legal{display:flex; gap:22px; flex-wrap:wrap}
.rv{opacity:1}
body.gsap-ready .rv{opacity:0}

/* ══════════════ DEMO SHELLS ══════════════ */
.demo-shell{background:var(--surface); border:1px solid var(--border); border-radius:var(--r-xl);
  box-shadow:var(--sh-4); overflow:hidden; position:relative; z-index:2}
.demo-top{display:flex; align-items:center; gap:13px; padding:15px 22px; border-bottom:1px solid var(--border-soft);
  background:linear-gradient(180deg,#FBFCFE,#F2F6FC); flex-wrap:wrap}
.demo-top .title{display:flex; align-items:center; gap:11px; font-weight:700; font-size:15.5px; white-space:nowrap}
.demo-spacer{flex:1}
.live-dot{width:9px; height:9px; border-radius:50%; background:var(--ok); position:relative; flex:none}
.live-dot::after{content:""; position:absolute; inset:0; border-radius:50%; background:var(--ok); animation:pulse 2.4s infinite}
.demo-label{font-size:12px; font-weight:800; letter-spacing:.11em; text-transform:uppercase; color:var(--soft); margin-bottom:14px}
.pane-label{display:none; font-size:15px; font-weight:700; letter-spacing:normal; text-transform:none; color:var(--ink)}

/* reviewer */
.rail{display:flex; padding:0 20px; border-bottom:1px solid var(--border-soft); background:var(--surface); overflow-x:auto; scrollbar-width:none; margin:0}
.rail::-webkit-scrollbar{display:none}
.rail-step{display:flex; align-items:center; gap:10px; padding:16px 19px 14px; border-bottom:3px solid transparent;
  font-size:14px; font-weight:600; color:var(--soft); white-space:nowrap; transition:.25s; list-style:none}
.rail-step .num{width:25px; height:25px; border-radius:50%; background:var(--bg-alt); color:var(--soft);
  display:grid; place-items:center; font-size:12px; font-weight:800; flex:none; transition:.25s}
.rail-step.done{color:var(--muted)}
.rail-step.done .num{background:var(--ok-bg); color:var(--ok); border:1px solid var(--ok-bd)}
.rail-step.now{color:var(--navy); border-bottom-color:var(--ai)}
.rail-step.now .num{background:var(--navy); color:#fff; box-shadow:0 0 0 4px var(--ai-glow)}
.rv-stage{padding:32px 30px; min-height:540px}
.rv-pane{display:none} .rv-pane.active{display:block}
.rv-center{max-width:460px; margin:22px auto; text-align:center}
.mailcard{border:1px solid var(--border); border-radius:var(--r-lg); background:var(--surface); box-shadow:var(--sh-2); text-align:left; overflow:hidden}
.mailcard .mh{padding:14px 18px; border-bottom:1px solid var(--border-soft); background:var(--bg); font-size:13.5px; color:var(--soft)}
.mailcard .mh b{color:var(--ink); font-weight:600}
.mailcard .mb{padding:22px 18px}
.mailcard .mb h3{font-size:17px; margin-bottom:10px}
.mailcard .mb p{font-size:14.5px; color:var(--muted); line-height:1.64}
.rvdoc{display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:24px}
.docinfo{display:grid; grid-template-columns:repeat(4,1fr); gap:13px; margin-bottom:22px}
.docinfo div{background:var(--bg); border:1px solid var(--border-soft); border-radius:var(--r-md); padding:12px 14px}
.docinfo dt{font-size:11.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--soft); margin:0}
.docinfo dd{font-size:14.5px; margin:4px 0 0; font-weight:600}
.tbl{width:100%; border-collapse:collapse; font-size:14px; min-width:560px}
.scrollx{overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none}
.scrollx::-webkit-scrollbar{display:none}
.scrollx-top{overflow-x:auto; overflow-y:hidden; height:14px; margin-bottom:2px; -webkit-overflow-scrolling:touch}
.scrollx-top > div{height:1px}
.tbl th{text-align:left; font-size:12px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:var(--soft);
  padding:11px 13px; border-bottom:1.5px solid var(--border)}
.tbl td{padding:13px; border-bottom:1px solid var(--border-soft); vertical-align:middle}
.tbl tbody tr{transition:background .18s}
.tbl tbody tr:hover{background:#F6FAFE}
.tbl .strong{font-weight:600}
.tbl .dim{color:var(--soft); font-size:13px}
.matrix-group th{background:linear-gradient(90deg,var(--info-bg),var(--ai-tint)); font-weight:800; font-size:12.5px;
  letter-spacing:.06em; text-transform:uppercase; color:var(--navy); text-align:left; padding:11px 13px}
.cs{font-size:13.5px; font-weight:600}
.cs small{display:block; font-weight:400; color:var(--soft); font-size:12.5px}
tr.noted{background:#FDF6E9!important}
tr.noted td:first-child{box-shadow:inset 4px 0 0 var(--warn)}
.cbtn{width:var(--tap); height:var(--tap); border-radius:11px; display:grid; place-items:center; color:var(--muted);
  background:var(--surface); border:1.5px solid var(--border); box-shadow:var(--sh-1); transition:.18s; position:relative}
.cbtn:hover{background:var(--ai-tint); color:var(--ai); border-color:var(--info-bd)}
.cbtn.has{color:var(--warn); background:var(--warn-bg); border-color:var(--warn-bd)}
.cbtn .cnt{position:absolute; top:2px; right:2px; min-width:18px; height:18px; border-radius:9px; background:var(--warn);
  color:#fff; font-size:11px; font-weight:800; display:grid; place-items:center; padding:0 4px}
.lane{border:1px solid var(--border); border-radius:var(--r-lg); background:var(--bg); padding:18px;
  position:sticky; top:100px; max-height:560px; overflow-y:auto}
.lane h4{font-size:14.5px; margin-bottom:5px}
.lane .sub{font-size:13px; color:var(--soft); margin-bottom:15px}
.lane-empty{text-align:center; color:var(--soft); font-size:13.5px; padding:28px 8px; line-height:1.6}
.lane-empty svg{margin:0 auto 12px; opacity:.5}
.note{border:1px solid var(--warn-bd); background:#FDF6E9; border-radius:var(--r-md); padding:14px; margin-bottom:11px}
.note .row{display:flex; align-items:center; gap:7px; font-size:12.5px; font-weight:800; color:var(--warn);
  text-transform:uppercase; letter-spacing:.05em; margin-bottom:7px}
.note p{font-size:13.5px; color:var(--muted); line-height:1.6}
.note .del{margin-top:9px; font-size:13px; font-weight:600; color:var(--muted); display:inline-flex; align-items:center; gap:6px; min-height:36px; padding:0 4px}
.note .del:hover{color:var(--stop)}
.composer{border:1.5px solid var(--ai); border-radius:var(--r-md); background:var(--surface); padding:15px;
  box-shadow:0 0 0 4px var(--ai-glow); margin-bottom:11px}
.composer .row{font-size:12.5px; font-weight:800; color:var(--navy); text-transform:uppercase; letter-spacing:.05em; margin-bottom:9px}
.composer .aihead{display:flex; align-items:center; gap:8px; margin-bottom:9px; flex-wrap:wrap}
.composer textarea{width:100%; min-height:88px; resize:vertical; border:1.5px solid var(--border); border-radius:11px;
  padding:11px 13px; font:inherit; font-size:14px; color:var(--ink); background:var(--bg); line-height:1.6}
.composer textarea:focus{outline:4px solid var(--focus); outline-offset:2px; border-color:var(--ai); background:var(--surface)}
.composer .acts{display:flex; gap:9px; margin-top:11px; flex-wrap:wrap}
.linkbtn{display:inline-flex; align-items:center; gap:6px; min-height:38px; padding:0 10px; border-radius:9px;
  font-size:13px; font-weight:700; color:var(--ai)}
.linkbtn:hover{background:var(--ai-tint)}
.rv-actions{display:flex; gap:11px; align-items:center; margin-top:22px; padding-top:20px; border-top:1px solid var(--border-soft); flex-wrap:wrap}
.rv-actions .note-count{font-size:14.5px; color:var(--muted); margin-right:auto}
.rv-btnrow{display:flex; gap:11px}
.done-card{max-width:540px; margin:16px auto; text-align:center; border:1px solid var(--border); border-radius:var(--r-lg);
  padding:34px 30px; background:var(--surface); box-shadow:var(--sh-2)}
.done-ring{width:64px; height:64px; border-radius:50%; display:grid; place-items:center; margin:0 auto 18px}
.done-card h3{font-size:22px; margin-bottom:11px}
.done-card p{font-size:15.5px; color:var(--muted); line-height:1.64}
.done-sum{text-align:left; margin-top:22px; border:1px solid var(--border-soft); border-radius:var(--r-md); overflow:hidden}
.done-sum div{display:flex; justify-content:space-between; gap:12px; padding:12px 15px; font-size:14px; border-bottom:1px solid var(--border-soft)}
.done-sum div:last-child{border-bottom:0}
.done-sum dt{color:var(--soft)} .done-sum dd{margin:0; font-weight:600; text-align:right}

/* claim demo */
.demo-grid{display:grid; grid-template-columns:300px minmax(0,1fr) 360px; min-height:540px}
.demo-col{padding:24px}
.demo-col + .demo-col{border-left:1px solid var(--border-soft)}
.pick{width:100%; text-align:left; padding:14px; border-radius:var(--r-md); border:1.5px solid var(--border);
  background:var(--surface); margin-bottom:10px; min-height:var(--tap); transition:border-color .2s, background .2s, box-shadow .2s}
.pick:hover{border-color:var(--ai); background:#FCFCFF}
.pick[aria-pressed="true"]{border-color:var(--ai); background:var(--ai-tint); box-shadow:0 0 0 4px var(--ai-glow)}
.pick b{display:block; font-size:14.5px; font-weight:600; margin-bottom:4px}
.pick span{font-size:13px; color:var(--soft); display:block}
.pick .amt{font-size:13.5px; font-weight:700; color:var(--navy); margin-top:6px; display:block}
.seg{display:flex; gap:6px; background:var(--bg-alt); padding:5px; border-radius:12px}
.seg button{flex:1; min-height:40px; border-radius:9px; font-size:13.5px; font-weight:700; color:var(--muted); transition:.18s}
.seg button[aria-pressed="true"]{background:var(--surface); color:var(--ai); box-shadow:var(--sh-1); border:1px solid var(--info-bd)}
.stages{display:flex; flex-direction:column; gap:9px}
.stage{display:flex; align-items:center; gap:13px; padding:12px 14px; border-radius:var(--r-md);
  border:1px solid var(--border-soft); background:var(--bg); opacity:.5;
  transition:opacity .3s, background .3s, border-color .3s, transform .3s var(--ease)}
.stage.on{opacity:1; background:var(--surface); border-color:var(--border); box-shadow:var(--sh-1); transform:translateX(2px)}
.stage.run{border-color:var(--ai); background:#FBFBFF; box-shadow:0 0 0 3px var(--ai-glow)}
.stage-ico{width:30px; height:30px; border-radius:9px; flex:none; display:grid; place-items:center;
  background:var(--bg-alt); color:var(--soft); transition:.25s; border:1px solid transparent}
.stage.on .stage-ico{background:var(--ok-bg); color:var(--ok); border-color:var(--ok-bd)}
.stage.run .stage-ico{background:var(--ai-tint); color:var(--ai); border-color:var(--info-bd)}
.stage.flag .stage-ico{background:var(--warn-bg); color:var(--warn); border-color:var(--warn-bd)}
.stage.stop .stage-ico{background:var(--stop-bg); color:var(--stop); border-color:var(--stop-bd)}
.stage .meta{flex:1; min-width:0}
.stage .meta b{display:block; font-size:14px; font-weight:600}
.stage .meta span{display:block; font-size:12.5px; color:var(--soft); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.spinner{width:15px; height:15px; border:2.5px solid #D6D3F7; border-top-color:var(--ai); border-radius:50%; animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
/* AI-native trace: a light streaming transcript, not a terminal */
.trace{border:1px solid var(--border); border-radius:var(--r-md); background:var(--bg); padding:14px; height:260px; overflow-y:auto}
.trace .ln{display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:start; padding:5px 0; font-size:13.5px; line-height:1.55; opacity:0}
.trace .bul{width:18px; height:18px; border-radius:50%; flex:none; margin-top:2px; display:grid; place-items:center;
  background:var(--bg-alt); color:var(--soft); border:1px solid var(--border)}
.trace .ln.ok .bul{background:var(--ok-bg); color:var(--ok); border-color:var(--ok-bd)}
.trace .ln.wr .bul{background:var(--warn-bg); color:var(--warn); border-color:var(--warn-bd)}
.trace .ln.er .bul{background:var(--stop-bg); color:var(--stop); border-color:var(--stop-bd)}
.trace .ln.hl .bul{background:var(--ai-tint); color:var(--ai); border-color:var(--info-bd)}
.trace .ln.hl .tx{font-weight:700; color:var(--navy)}
.trace .tx{color:var(--muted)}
.trace .ts{font-family:"IBM Plex Mono",monospace; font-size:12px; color:var(--soft); flex:none}
.verdict-card{border-radius:var(--r-lg); border:1.5px solid var(--border); padding:20px; background:var(--surface); box-shadow:var(--sh-2)}
.verdict-card.is-approved{border-color:var(--ok-bd); background:linear-gradient(180deg,var(--ok-bg),#fff 60%)}
.verdict-card.is-denied{border-color:var(--stop-bd); background:linear-gradient(180deg,var(--stop-bg),#fff 60%)}
.verdict-card.is-pended{border-color:var(--warn-bd); background:linear-gradient(180deg,var(--warn-bg),#fff 60%)}
.verdict-head{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:15px; flex-wrap:wrap}
.verdict-head .d{display:flex; align-items:center; gap:9px; font-size:23px; font-weight:800; letter-spacing:-.03em}
.is-approved .d{color:var(--ok)} .is-denied .d{color:var(--stop)} .is-pended .d{color:var(--warn)}
.meter{height:8px; border-radius:4px; background:var(--bg-deep); overflow:hidden; margin:7px 0 4px}
.meter i{display:block; height:100%; width:0; border-radius:4px; background:var(--accent); transition:width 1s var(--ease)}
.kv{display:flex; justify-content:space-between; gap:12px; font-size:13.5px; padding:9px 0; border-top:1px solid var(--border-soft)}
.kv dt{color:var(--soft)} .kv dd{margin:0; font-weight:600; text-align:right}
.reasons{margin:14px 0 0; padding:0; list-style:none; display:flex; flex-direction:column; gap:9px}
.reasons li{display:grid; grid-template-columns:auto minmax(0,1fr); gap:10px; font-size:13.5px; color:var(--muted); line-height:1.55}
.reasons li svg{margin-top:3px; flex:none}
.slm{margin-top:16px; border:1.5px solid var(--border); border-left:4px solid var(--ai); border-radius:var(--r-md); padding:16px; background:var(--surface)}
.slm.disagree{border-color:var(--warn-bd); border-left-color:var(--warn); background:var(--warn-bg)}
.slm-head{display:flex; align-items:center; gap:10px; font-size:13.5px; font-weight:800; margin-bottom:10px; flex-wrap:wrap}
.slm p{font-size:13.5px; color:var(--muted); line-height:1.6}
.demo-empty{display:grid; place-items:center; height:100%; min-height:280px; text-align:center; color:var(--soft); padding:32px}
.demo-empty svg{margin-bottom:14px; opacity:.55}
.demo-empty b{display:block; font-size:15px; color:var(--muted); margin-bottom:6px}
.demo-empty span{font-size:13.5px; max-width:250px; display:block; line-height:1.6}

/* ══════════════ SEE IT LIVE ══════════════ */
.tabs{display:flex; justify-content:center; gap:7px; overflow-x:auto; padding-bottom:5px; margin-bottom:24px; scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs button{min-height:var(--tap); padding:0 17px; border-radius:12px; font-size:14.5px; font-weight:600; color:var(--muted);
  border:1.5px solid transparent; white-space:nowrap; transition:.2s; display:flex; align-items:center; gap:9px; flex:none}
.tabs button:hover{color:var(--ai); background:var(--ai-tint)}
.tabs button[aria-selected="true"]{background:var(--navy); color:#fff; box-shadow:0 3px 10px rgba(2,6,23,.24)}
.tab-stepper{display:none; position:relative; align-items:center; justify-content:center; min-height:var(--tap); margin-bottom:14px}
.tab-step-btn{position:absolute; top:50%; transform:translateY(-50%); width:var(--tap); height:var(--tap); flex:none; display:grid; place-items:center; border-radius:12px;
  border:0; background:none; color:var(--navy); transition:color .2s, opacity .2s}
#tabStepPrev{left:0}
#tabStepNext{right:0}
.tab-step-btn:hover{color:var(--ai)}
.tab-step-btn:active{background:none}
.tab-step-btn:disabled{opacity:.3; cursor:not-allowed; pointer-events:none}
.tab-step-label{display:flex; align-items:center; gap:9px; padding:0 17px; min-height:var(--tap); border-radius:12px;
  background:var(--navy); color:#fff; font-size:14.5px; font-weight:700; white-space:nowrap; box-shadow:0 3px 10px rgba(2,6,23,.24)}
.tab-dots{display:none; align-items:center; justify-content:center; gap:8px; margin-bottom:24px}
.tab-dot{width:6px; height:6px; padding:0; border:0; border-radius:999px; background:var(--soft); opacity:.3; flex:none; transition:.2s}
.tab-dot[aria-current="true"]{width:16px; height:6px; background:var(--accent); opacity:1}
.screen{background:var(--surface); border:1px solid var(--border); border-radius:var(--r-xl); box-shadow:var(--sh-4); overflow:hidden; position:relative; z-index:2}
.screen-body{padding:24px; min-height:440px}
.panel{display:none} .panel.active{display:block}
.shot{margin:0; border:1px solid var(--border); border-radius:12px; overflow:hidden; background:#fff; box-shadow:0 1px 2px rgba(15,23,42,.06)}
.shot img{display:block; width:100%; height:auto}
.screen-cap{margin-top:18px; font-size:15px; color:var(--muted); display:flex; gap:11px; align-items:flex-start; line-height:1.62}
.screen-cap svg{flex:none; margin-top:4px; color:var(--ai)}
.toolbar{display:flex; align-items:center; gap:11px; margin-bottom:18px; flex-wrap:wrap}
.toolbar-row1{display:contents}
.toolbar-row1 .chip{order:2; margin-left:auto}
.toolbar-row2{display:flex; flex-direction:row; align-items:center; gap:6px}
.diff-row1{display:flex; flex-direction:row; align-items:center; gap:8px; flex-wrap:nowrap}
.diff-row2{display:flex; flex-direction:row; gap:6px; margin-left:auto}
.notes-row1{display:flex}
.notes-row2{display:flex; gap:11px; margin-left:auto}
.gen-row1{display:flex}
.gen-row2{display:flex; margin-left:auto}
.build-row1{display:flex; gap:11px}
.build-row2{display:flex; margin-left:auto}
.note .row svg{flex:none}
.fake-input{flex:1; min-width:200px; min-height:42px; border:1.5px solid var(--border); border-radius:11px; background:var(--bg);
  display:flex; align-items:center; gap:10px; padding:0 14px; font-size:14px; color:var(--soft)}
.fake-sel{min-height:42px; border:1.5px solid var(--border); border-radius:11px; background:var(--surface); display:flex;
  align-items:center; gap:9px; padding:0 14px; font-size:14px; font-weight:600; white-space:nowrap}
.diff-row td:first-child{border-left:4px solid transparent}
.diff-changed td:first-child{border-left-color:var(--warn-bd)}
.diff-added td:first-child{border-left-color:var(--ok-bd)}
.diff-removed td:first-child{border-left-color:var(--stop-bd)}
.diff-removed td{color:var(--soft)}
.was{color:var(--soft); text-decoration:line-through; margin-right:8px}
.now{color:var(--ink); font-weight:700}
.cs-out{border:1.5px solid var(--info-bd); background:var(--info-bg); border-radius:var(--r-md); padding:17px 19px}
.cs-out .lbl{font-size:12px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; color:var(--ai); margin-bottom:7px}
.cs-out .val{font-size:16px; font-weight:600; color:var(--navy-950); line-height:1.55}

/* ══════════════ SECTION RHYTHM ══════════════ */
.sec-sm{padding:64px 0}
.wrap-narrow{max-width:920px}
.sec-head.tight{margin-bottom:36px}

/* ── feature spotlights (alternating text / visual) ── */
.spot{display:grid; grid-template-columns:1fr 1fr; gap:52px; align-items:center; margin-bottom:56px}
.spot:last-child{margin-bottom:0}
.spot.flip .spot-txt{order:2}
.spot h3{font-size:clamp(23px,2.3vw,30px); letter-spacing:-.028em; margin:14px 0 14px; color:var(--navy)}
.spot > .spot-txt > p{font-size:16.5px; color:var(--muted); line-height:1.66; margin-bottom:18px}
.spot-pts{list-style:none; margin:0; padding:0; display:grid; gap:11px}
.spot-pts li{display:flex; gap:11px; align-items:flex-start; font-size:15px; color:var(--muted); line-height:1.55}
.spot-pts b{color:var(--ink); font-weight:700}
.spot-tick{flex:none; width:20px; height:20px; border-radius:50%; display:grid; place-items:center; margin-top:1px;
  background:var(--info-bg); color:var(--accent); border:1px solid var(--info-bd)}
.spot-vis{background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg);
  padding:22px; box-shadow:var(--sh-2)}
.spot-vis .lbl{font-size:11.5px; font-weight:800; letter-spacing:.09em; text-transform:uppercase;
  color:var(--soft); margin-bottom:13px}
.conf{display:grid; gap:10px}
.conf-row{display:grid; grid-template-columns:1fr auto; align-items:center; gap:12px;
  border:1px solid var(--border-soft); border-radius:var(--r-md); background:var(--bg); padding:12px 14px}
.conf-row.held{border-color:var(--warn-bd); background:var(--warn-bg)}
.conf-row b{font-size:14px; display:block}
.conf-row span.dim{font-size:12.5px; color:var(--soft)}
.quote-vis{border-left:3px solid var(--accent); padding-left:16px; margin-bottom:16px}
.quote-vis p{font-size:15px; color:var(--muted); line-height:1.6; font-style:italic}
.quote-vis .who{font-style:normal; font-size:12.5px; color:var(--soft); margin-top:8px}

.hier-note{text-align:center; font-size:14px; color:var(--soft); margin-top:20px}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width:1250px){ .nav-links a{padding:0 9px; font-size:14px} .logo-full{width:166px; height:41px} }
@media (max-width:1100px){
  .demo-grid{grid-template-columns:270px minmax(0,1fr)}
  .demo-col:nth-child(3){grid-column:1/-1; border-left:0; border-top:1px solid var(--border-soft)}
  .trust,.trust-3{grid-template-columns:repeat(2,1fr)}
  .trust-3 .trust-card:last-child{grid-column:1/-1; max-width:calc((100% - 18px) / 2); margin:0 auto}
  .rvdoc{grid-template-columns:1fr}
  .lane{position:static; max-height:none}
  .ai-in{grid-template-columns:1fr; gap:40px}
  .spot{grid-template-columns:1fr; gap:20px}
  .spot.flip .spot-txt{order:0}
  .pains{grid-template-columns:repeat(2,1fr)}
  .vals{grid-template-columns:1fr}
  .lc{grid-template-columns:repeat(3,1fr)}
  .lc-node:nth-child(3){border-right:0}
  .lc-node:nth-child(-n+3){border-bottom:1px solid var(--border-soft)}
  .lc-steps{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:940px){
  .nav-links{display:none}
  .nav-cta{display:none}
  .nav-toggle{display:grid}
  .nav-in{gap:12px; height:70px}
  .hero-in{grid-template-columns:1fr; gap:44px}
  .hero{padding-top:118px}
  .docinfo{grid-template-columns:repeat(2,1fr)}
  .foot-grid{grid-template-columns:1fr 1fr; gap:34px}
  .tabs{display:none}
  .tab-stepper{display:flex}
  .tab-dots{display:flex}
  .rv-actions{justify-content:flex-end}
  .rv-btnrow{flex:1 0 100%; flex-wrap:nowrap; justify-content:flex-end}
  .rv-btnrow .btn{flex:none}
}
@media (min-width:941px){
  .mobile-drawer,.mobile-backdrop{display:none!important}
}
@media (min-width:681px) and (max-width:940px){
  .toolbar-notes{flex-wrap:nowrap}
  .notes-row1{flex:none}
  .notes-row2{flex:1; min-width:0; gap:6px}
  .notes-row2 .chip{flex:1; min-width:0; justify-content:center; text-align:center; padding:3px 8px; font-size:11px; white-space:nowrap}
}
@media (min-width:1101px){
  .slm-head{gap:5px; font-size:11px; flex-wrap:nowrap}
  .slm-head svg{width:14px; height:14px}
  .slm-head .chip{padding:2px 7px; font-size:10px}
}
@media (max-width:680px){
  .slm-head .chip{margin-left:auto}
  .status-ico{width:26px; height:26px; padding:0; flex:none; justify-content:center}
  .status-ico .status-label{display:none}
  .trust-3 .trust-card:last-child{max-width:none; margin:0}
  .toolbar-stacked{flex-direction:column; align-items:stretch; width:100%}
  .toolbar-row1{display:flex; justify-content:space-between; width:100%}
  .toolbar-row1 .chip{order:0; margin-left:0}
  .toolbar-row1 .toolbar-plan{flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; justify-content:center; text-align:center}
  .toolbar-row2{margin-top:8px; width:100%}
  .toolbar-row2 .fake-sel{flex:1; min-width:0; justify-content:center; text-align:center}
  .wrap{padding:0 24px}
  .sec{padding:70px 0}
  .hero{padding-top:98px}
  .hero-sub,.sec-head p,.cf-intro p,.problem-lede p,.val-lede p,.ai-lede{font-size:16px}
  .cbadge-sep{display:none}
  .compliance-in{gap:10px 32px}
  .cs-out .val .now{display:block}
  .path-sep{display:none}
  .path-tab{display:block; margin-top:2px}
  .trust,.trust-3{grid-template-columns:1fr}
  .pains,.lc-steps{grid-template-columns:1fr}
  #problem .sec-head.tight{margin-bottom:16px}
  #problem .problem-lede{margin-bottom:28px}
  .pain-head{display:flex; align-items:center; gap:10px; cursor:pointer}
  .pain-head .pn{margin-bottom:0}
  .pain-head h3{margin-bottom:0; flex:1}
  .pain-chevron{display:block; flex:none; color:var(--soft); transition:transform .22s var(--ease)}
  .pain.open .pain-chevron{transform:rotate(180deg)}
  .pain p{display:none}
  .pain.open p{display:block; margin-top:12px}
  .pain{box-shadow:none!important}
  .pain.open{box-shadow:var(--sh-1)!important}
  .val-head{display:flex; align-items:center; gap:12px; cursor:pointer}
  .val-head .vi{margin-bottom:0}
  .val-head h3{margin-bottom:0; flex:1}
  .val-chevron{display:block; flex:none; color:var(--soft); transition:transform .22s var(--ease)}
  .val.open .val-chevron{transform:rotate(180deg)}
  .val p{display:none}
  .val.open p{display:block; margin-top:12px}
  .val{box-shadow:none!important}
  .val.open{box-shadow:var(--sh-1)!important}
  .val:hover{transform:none}
  .lc{grid-template-columns:repeat(2,1fr)}
  .lc-node:nth-child(2n){border-right:0}
  .lc-node:nth-child(-n+4){border-bottom:1px solid var(--border-soft)}
  .guardrail{padding:24px 22px}
  .sec-sm{padding:52px 0}
  .demo-grid{grid-template-columns:1fr}
  .demo-col + .demo-col{border-left:0; border-top:1px solid var(--border-soft)}
  .screen-body,.rv-stage{padding:16px; min-height:0}
  .hero-actions .btn{flex:1 1 100%}
  .logo-full{width:152px; height:38px}
  .foot-grid{grid-template-columns:1fr}
  .docinfo{grid-template-columns:1fr}
  .demo-top{flex-wrap:nowrap}
  .demo-top .title{flex:1; min-width:0}
  #review-demo .demo-top .title{white-space:normal}
  .demo-spacer{display:none}
  #rvReset{width:var(--tap); height:var(--tap); padding:0; flex:none}
  #rvReset .btn-label{display:none}
  #btnReset,#btnRun{width:var(--tap); height:var(--tap); padding:0; flex:none}
  #btnReset .btn-label,#btnRun .btn-label{display:none}
  .claim-trace-col{display:none}
  .rail-label{display:none}
  .rail{justify-content:center}
  .pane-label{display:block}
  .rv-actions{justify-content:flex-end}
  .rv-btnrow{flex:1 0 100%; flex-wrap:nowrap; justify-content:flex-end}
  .rv-btnrow .btn{flex:none}
  .rv-btnrow.icons-hidden .btn svg{display:none}
  .rv-btnrow.icons-hidden .btn{gap:0}
  .toolbar-diff{flex-direction:column; align-items:flex-start}
  .diff-row1{width:100%; gap:4px}
  .diff-row1 .fake-sel{padding:0 8px; font-size:12.5px; flex:1; min-width:0; justify-content:center; text-align:center}
  .diff-row1 svg{width:14px; height:14px; flex:none}
  .diff-row2{width:100%; margin-left:0; margin-top:8px}
  .diff-row2 .chip{flex:1; justify-content:center; text-align:center}
  .toolbar-notes{flex-direction:column; align-items:flex-start}
  .notes-row1{width:100%}
  .notes-row1 .fake-sel{width:100%; justify-content:center; text-align:center}
  .notes-row2{width:100%; margin-left:0; margin-top:8px; gap:4px}
  .notes-row2 .chip{flex:1; min-width:0; justify-content:center; text-align:center; padding:3px 8px; font-size:10px}
  .toolbar-gen{flex-direction:column; align-items:flex-start}
  .gen-row1{width:100%}
  .gen-row1 .fake-sel{width:100%; justify-content:center; text-align:center}
  .gen-row2{width:100%; margin-left:0; margin-top:8px}
  .gen-row2 .chip{width:100%; justify-content:center; text-align:center}
  .toolbar-build{flex-direction:column; align-items:flex-start}
  .build-row1{width:100%}
  .build-row1 + .build-row1{margin-top:8px}
  .build-row1 .fake-sel{width:100%; justify-content:center; text-align:center}
  .build-row2{width:100%; margin-left:0; margin-top:8px}
  .build-row2 .chip{width:100%; justify-content:center; text-align:center}
  .trust-head{display:flex; align-items:center; gap:12px; cursor:pointer}
  .trust-head .ti{margin-bottom:0}
  .trust-head h3{margin-bottom:0; flex:1}
  .trust-chevron{display:block; flex:none; color:var(--soft); transition:transform .22s var(--ease)}
  .trust-card.open .trust-chevron{transform:rotate(180deg)}
  .trust-card p{display:none}
  .trust-card.open p{display:block; margin-top:12px}
  .trust-card.open .meta{margin-top:11px}
  .trust-card{box-shadow:none!important; transform:none!important}
  .trust-card.open{box-shadow:var(--sh-1)!important}
  .trust-card:hover{transform:none!important}
}

/* ══════════════ INCLUSIVE DESIGN: motion, contrast, forced colors ══════════════ */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  body.gsap-ready .rv{opacity:1}
}
html[data-motion="reduced"] *,html[data-motion="reduced"] *::before,html[data-motion="reduced"] *::after{
  animation-duration:.001ms!important; animation-iteration-count:1!important;
  transition-duration:.001ms!important; scroll-behavior:auto!important}
html[data-motion="reduced"] body.gsap-ready .rv{opacity:1}
html[data-motion="reduced"] .shimmer::after{display:none}
@media (prefers-contrast:more){
  :root{--border:#7A8CA0; --border-soft:#9AAABC; --muted:#28394A; --soft:#28394A}
  .trust-card,.glass,.demo-shell,.screen,.spot-vis,
  .pain,.val,.lc,.lc-step,.guardrail,.code-badge,.pipe li{border-width:2px}
}
@media (forced-colors:active){
  .shimmer::after{display:none}
  .chip,.trust-card,.pain,.val,.lc-step,.btn{border:1px solid CanvasText}
}

/* ── Top call bar ── */
.topbar{background:var(--navy); color:#fff; font-size:14px; font-weight:600}
.topbar-in{display:flex; align-items:center; justify-content:center; gap:10px; min-height:38px; flex-wrap:wrap; text-align:center}
.topbar a{display:inline-flex; align-items:center; gap:7px; color:#fff; font-weight:800; letter-spacing:.01em; text-decoration:underline; text-underline-offset:3px; text-decoration-color:rgba(255,255,255,.45)}
.topbar a:hover{text-decoration-color:#fff}
html{scroll-padding-top:124px}
.hero{padding-top:188px}
@media (max-width:940px){ .hero{padding-top:154px} html{scroll-padding-top:116px} }
@media (max-width:680px){ .topbar{font-size:13px} .topbar-in{min-height:34px; gap:6px} .hero{padding-top:132px} html{scroll-padding-top:112px} }

/* ── Apollo contact form, Smart Plan Doc styling ── */
.apollo-card{background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:36px; box-shadow:var(--sh-1)}
#apollo-forms{min-height:120px; font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif !important; color:var(--ink)}
#apollo-forms *{font-family:inherit !important; box-sizing:border-box}
#apollo-forms form{background:transparent !important; border:0 !important; box-shadow:none !important; padding:0 !important; margin:0 !important; max-width:none !important; width:100% !important}
#apollo-forms label{display:block; font-size:13.5px !important; font-weight:700 !important; color:var(--navy) !important; margin-bottom:7px}
#apollo-forms input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
#apollo-forms select, #apollo-forms textarea{width:100% !important; border:1.5px solid var(--border) !important; border-radius:11px !important;
  padding:12px 14px !important; font-size:15px !important; color:var(--ink) !important; background:var(--bg) !important; box-shadow:none !important; min-height:46px}
#apollo-forms textarea{resize:vertical; line-height:1.6; min-height:110px}
#apollo-forms input:focus, #apollo-forms select:focus, #apollo-forms textarea:focus{outline:4px solid var(--focus) !important; outline-offset:2px;
  border-color:var(--accent) !important; background:var(--surface) !important}
#apollo-forms input[type=checkbox], #apollo-forms input[type=radio]{accent-color:var(--accent); width:18px; height:18px}
#apollo-forms button, #apollo-forms input[type=submit], #apollo-forms [type=submit]{display:inline-flex !important; align-items:center; justify-content:center;
  min-height:54px !important; padding:0 28px !important; border:0 !important; border-radius:12px !important; font-size:16px !important; font-weight:600 !important;
  background:var(--accent) !important; color:#fff !important; box-shadow:0 3px 12px rgba(3,105,161,.26) !important; cursor:pointer;
  transition:transform .2s var(--ease), box-shadow .24s, background .2s}
#apollo-forms button:hover, #apollo-forms [type=submit]:hover{background:var(--accent-700) !important; box-shadow:0 10px 24px rgba(3,105,161,.28) !important; transform:translateY(-2px)}
#apollo-forms a{color:var(--accent)}
#apollo-forms iframe{width:100% !important; border:0 !important; display:block}
.apollo-alt{margin-top:22px; padding-top:18px; border-top:1px solid var(--border); font-size:14px; color:var(--muted); text-align:center}
.apollo-alt a{color:var(--accent); font-weight:700; white-space:nowrap}
@media (max-width:680px){ .apollo-card{padding:24px 20px} }

/* ── FAQ ── */
.faq-list{max-width:860px; margin:0 auto; display:flex; flex-direction:column; gap:12px}
.faq-item{background:var(--surface); border:1px solid var(--border); border-radius:var(--r-md); box-shadow:var(--sh-1)}
.faq-item summary{list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px; min-height:var(--tap)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary h3{font-size:17px; font-weight:700; color:var(--navy); letter-spacing:-.01em; margin:0}
.faq-chev{flex:none; color:var(--accent); transition:transform .2s}
.faq-item[open] .faq-chev{transform:rotate(180deg)}
.faq-item p{padding:0 24px 22px; color:var(--muted); font-size:16px; line-height:1.68; margin:0}
@media (max-width:680px){ .faq-item summary{padding:16px 18px} .faq-item p{padding:0 18px 18px} .faq-item summary h3{font-size:16px} }

/* ── Savings calculator ── */
.savings-calc{margin-top:2.5rem; display:grid; grid-template-columns:1.1fr .9fr; gap:24px; align-items:start}
.savings-calc .sc-inputs{background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:28px; box-shadow:var(--sh-1)}
.savings-calc h3{font-size:20px; color:var(--navy); margin:0 0 4px}
.savings-calc .sc-note{font-size:14px; color:var(--soft); margin:0 0 20px}
.savings-calc .sc-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px 18px}
.savings-calc .sc-field{display:flex; flex-direction:column; justify-content:flex-end}
.savings-calc .sc-field-top{display:flex; justify-content:space-between; align-items:flex-end; gap:12px}
.savings-calc .sc-field label{display:block; font-size:13.5px; font-weight:700; color:var(--navy); line-height:1.4}
.savings-calc .sc-field output{flex:none; font-size:15px; font-weight:700; color:var(--accent); font-variant-numeric:tabular-nums}
.savings-calc .sc-field input{width:100%; min-height:var(--tap); margin:0; accent-color:var(--accent); cursor:pointer}
.savings-calc .sc-results{background:var(--navy); color:#fff; border-radius:var(--r-lg); padding:28px; display:flex; flex-direction:column; gap:16px}
.savings-calc .sc-kicker{font-size:13px; color:rgba(255,255,255,.8); text-transform:uppercase; letter-spacing:.06em; font-weight:600}
.savings-calc .sc-total{font-size:clamp(32px,4vw,42px); font-weight:800; letter-spacing:-.02em; line-height:1.1; font-variant-numeric:tabular-nums}
.savings-calc .sc-unit{font-size:18px; font-weight:400; color:rgba(255,255,255,.8)}
.savings-calc .sc-sub{font-size:15px; color:rgba(255,255,255,.85); margin-top:-10px}
.savings-calc .sc-table{width:100%; border-collapse:collapse; font-size:14px; font-variant-numeric:tabular-nums}
.savings-calc .sc-table th, .savings-calc .sc-table td{padding:8px 0; border-bottom:1px solid rgba(255,255,255,.14); text-align:right; vertical-align:top}
.savings-calc .sc-table td{padding-left:12px; white-space:nowrap}
.savings-calc .sc-table th[scope=row], .savings-calc .sc-table thead th:first-child{text-align:left; font-weight:500; color:rgba(255,255,255,.9)}
.savings-calc .sc-table thead th{font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:rgba(255,255,255,.75); font-weight:600}
.savings-calc .sc-recover{background:rgba(34,197,94,.15); border:1px solid rgba(34,197,94,.3); border-radius:12px; padding:14px 16px}
.savings-calc .sc-recover label{display:block; font-size:14px; font-weight:600; color:#fff; margin-bottom:8px}
.savings-calc .sc-recover input{width:100%; accent-color:#4ade80; min-height:var(--tap); margin:0}
.savings-calc .sc-recover-val{font-size:20px; font-weight:700; color:#4ade80; font-variant-numeric:tabular-nums}
.savings-calc .sc-disclaimer{font-size:13px; color:rgba(255,255,255,.8); line-height:1.55}
.savings-calc .sc-results :focus-visible{outline-color:#7dd3fc}
.savings-calc #sc-send{align-self:flex-start}
@media (max-width:900px){ .savings-calc{grid-template-columns:1fr} }
@media (max-width:640px){ .savings-calc .sc-grid{grid-template-columns:1fr} .savings-calc .sc-inputs, .savings-calc .sc-results{padding:20px} .savings-calc #sc-send{align-self:stretch; white-space:normal} }

/* ── Hero + Document Generation illustrations (--spd-* mapped to site tokens) ── */
.spd-hero-viz,.spd-gen-panel{--spd-brand:var(--accent);--spd-brand-soft:var(--info-bg);--spd-brand-glow:var(--ai-glow);--spd-ink:var(--ink);--spd-text:var(--muted);--spd-muted:var(--soft);--spd-line:var(--border);--spd-soft:var(--bg-alt);--spd-ok:var(--ok);--spd-ok-soft:var(--ok-bg);--spd-card:var(--surface);--spd-deep:var(--navy);--spd-shadow:0 1px 2px rgba(11,19,36,.06),0 24px 48px -24px rgba(11,19,36,.22);--spd-ease:cubic-bezier(.22,.8,.24,1)}
.spd-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.spd-hero-viz{position:relative;height:520px;margin:0;box-sizing:border-box}
.spd-hero-viz *{box-sizing:border-box}
.spd-hv-page{position:absolute;left:0;top:12px;width:72%;height:440px;background:var(--spd-card);border-radius:14px;box-shadow:var(--spd-shadow);padding:26px 26px 0;overflow:hidden;transform:rotate(-2.5deg);transform-origin:30% 50%}
.spd-hv-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:var(--spd-muted);margin-bottom:18px}
.spd-hv-top>span:first-child{display:flex;align-items:center;gap:8px;font-weight:600;color:var(--spd-text)}
.spd-hv-docx{width:22px;height:22px;border-radius:5px;background:#2B579A;color:#fff;font-size:11px;font-weight:800;display:grid;place-items:center}
.spd-hv-ttl{height:12px;width:52%;border-radius:6px;background:var(--spd-ink);opacity:.82;margin:6px 0 16px}
.spd-hv-line{position:relative;height:9px;border-radius:5px;background:var(--spd-line);margin:0 0 13px;transition:background-color .4s}
.spd-hv-key.lit{background:var(--spd-brand-soft)}
.spd-hv-key::after{content:"";position:absolute;inset:-4px -6px;border-radius:7px;box-shadow:0 0 0 2px var(--spd-brand);opacity:0;transition:opacity .5s}
.spd-hv-key.lit::after{opacity:1}
.spd-hv-key.done::after{opacity:0}
.spd-hv-beam{position:absolute;left:0;right:0;top:0;height:90px;background:linear-gradient(180deg,transparent,var(--spd-brand-glow) 60%,transparent);transform:translateY(-100px);pointer-events:none}
.spd-hv-beam.go{animation:spdScan 4.6s var(--spd-ease) forwards}
@keyframes spdScan{to{transform:translateY(460px)}}
.spd-hv-plan{position:absolute;right:0;bottom:0;width:66%;background:var(--spd-card);border-radius:16px;box-shadow:var(--spd-shadow);padding:18px 20px 16px;z-index:2}
.spd-hv-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px}
.spd-hv-head strong{color:var(--spd-ink);font-size:15px}
.spd-hv-head span{font-size:12px;color:var(--spd-muted)}
.spd-hv-rows{margin:0}
.spd-hv-row{display:grid;grid-template-columns:104px 1fr;gap:10px;padding:9px 0;font-size:14px;border-top:1px solid var(--spd-line)}
.spd-hv-row dt{color:var(--spd-muted)}
.spd-hv-row dd{margin:0;position:relative;font-weight:600;color:var(--spd-ink)}
.spd-hv-row dd::before{content:"";position:absolute;left:0;top:4px;height:12px;width:70%;border-radius:4px;background:var(--spd-soft);transition:opacity .3s}
.spd-hv-v{display:inline-block;opacity:0;transform:translateX(-6px);transition:opacity .45s var(--spd-ease),transform .45s var(--spd-ease)}
.spd-hv-row.on .spd-hv-v{opacity:1;transform:none}
.spd-hv-row.on dd::before{opacity:0}
.spd-hv-chip{position:absolute;left:0;top:0;z-index:5;padding:5px 10px;border-radius:8px;background:var(--spd-brand);color:#fff;font-size:12.5px;font-weight:700;white-space:nowrap;pointer-events:none;box-shadow:0 10px 20px -8px var(--spd-brand)}
.spd-hv-stamp{position:absolute;right:18px;top:-18px;display:flex;align-items:center;gap:8px;padding:8px 14px 8px 10px;border-radius:999px;background:var(--spd-ok-soft);color:var(--spd-ok);font-size:13px;font-weight:700;opacity:0;transform:scale(.6) rotate(-8deg);transition:opacity .4s,transform .6s cubic-bezier(.2,1.6,.4,1)}
.spd-hv-stamp.on{opacity:1;transform:scale(1) rotate(-3deg)}
.spd-hv-replay{position:absolute;left:4px;bottom:6px;background:none;border:0;color:var(--spd-muted);font:inherit;font-size:13px;font-weight:500;cursor:pointer;opacity:0;transition:opacity .4s}
.spd-hv-replay.on{opacity:1}
.spd-hv-replay:hover{color:var(--spd-ink)}
.spd-hv-replay:focus-visible{outline:2px solid var(--spd-brand);outline-offset:2px;border-radius:4px}
@media (max-width:720px){
  .spd-hero-viz{height:auto;padding-bottom:36px}
  .spd-hv-page{position:relative;top:0;width:94%;height:330px}
  .spd-hv-plan{position:relative;width:92%;margin:-40px 0 0 auto}
}
.spd-gen-panel{position:relative;background:linear-gradient(155deg,var(--spd-brand-soft),#FFFFFF 70%);border-radius:28px;padding:clamp(22px,3.4vw,44px);min-height:400px;display:grid;align-items:center;overflow:hidden;box-sizing:border-box}
.spd-gen-viz{position:relative;height:330px;width:100%}
.spd-gen-src{position:absolute;left:50%;top:74%;transform:translate(-50%,-50%);z-index:4;background:var(--spd-deep);color:#fff;border-radius:16px;padding:16px 20px;font-size:14px;box-shadow:var(--spd-shadow);text-align:center;min-width:200px}
.spd-gen-src b{display:block;font-size:15.5px}
.spd-gen-src span{color:#9AA5BC;font-size:12.5px}
.spd-gen-doc{position:absolute;left:50%;top:50%;width:150px;height:190px;margin:-95px 0 0 -75px;background:var(--spd-card);border-radius:12px;box-shadow:var(--spd-shadow);padding:16px;box-sizing:border-box;transition:transform 1.1s var(--spd-ease)}
.spd-gen-doc b{display:block;font-size:22px;color:var(--spd-ink);letter-spacing:-.02em}
.spd-gen-doc small{display:block;font-size:11.5px;color:var(--spd-muted);margin-bottom:12px}
.spd-gen-doc i{display:block;height:6px;border-radius:3px;background:var(--spd-line);margin-bottom:8px}
.spd-gen-doc i:nth-child(odd){width:80%}
.spd-gen-viz.is-in .spd-gen-a{transform:translate(-140px,-6px) rotate(-8deg)}
.spd-gen-viz.is-in .spd-gen-b{transform:translate(0,-74px);transition-delay:.15s}
.spd-gen-viz.is-in .spd-gen-c{transform:translate(140px,-6px) rotate(8deg);transition-delay:.3s}
@media (max-width:720px){
  .spd-gen-viz.is-in .spd-gen-a{transform:translate(-95px,20px) rotate(-8deg)}
  .spd-gen-viz.is-in .spd-gen-c{transform:translate(95px,20px) rotate(8deg)}
}
@media (max-width:480px){
  .spd-gen-doc{width:124px;height:160px;margin:-80px 0 0 -62px;padding:13px}
  .spd-gen-viz.is-in .spd-gen-a{transform:translate(-78px,20px) rotate(-8deg)}
  .spd-gen-viz.is-in .spd-gen-c{transform:translate(78px,20px) rotate(8deg)}
}
@media (prefers-reduced-motion: reduce){.spd-gen-doc{transition:none}}
/* ══════════ Animated product illustrations (platform + old way) ══════════ */
.spd-panel,.spd-pain-ill{--spd-brand:var(--accent);--spd-brand-soft:var(--info-bg);--spd-ink:var(--ink);--spd-text:var(--muted);--spd-muted:var(--soft);--spd-line:var(--border);--spd-soft:var(--bg-alt);--spd-card:var(--surface);--spd-ok:var(--ok);--spd-ok-soft:var(--ok-bg);--spd-ok-bd:var(--ok-bd);--spd-warn:var(--warn);--spd-warn-soft:var(--warn-bg);--spd-warn-bd:var(--warn-bd);--spd-err:var(--stop);--spd-err-soft:var(--stop-bg);--spd-err-bd:var(--stop-bd);--spd-shadow:0 1px 2px rgba(11,19,36,.06),0 24px 48px -24px rgba(11,19,36,.22);--spd-ease:cubic-bezier(.22,.8,.24,1)}
.spd-panel{position:relative;background:linear-gradient(155deg,var(--spd-brand-soft),#FFFFFF 70%);border-radius:28px;padding:clamp(20px,3vw,40px);display:grid;align-items:center;min-height:360px;box-sizing:border-box;min-width:0}
.spd-card{background:var(--spd-card);border:1px solid var(--spd-line);border-radius:16px;box-shadow:var(--spd-shadow);overflow:hidden;width:100%;font-size:14px;line-height:1.5;color:var(--spd-text)}
.spd-card *{box-sizing:border-box}
.spd-ch{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--spd-line);font-size:12.5px;color:var(--spd-muted)}
.spd-ch strong{color:var(--spd-ink);font-size:14.5px}
.spd-ch span{text-align:right}
.spd-tag{display:inline-block;font-size:12px;font-weight:700;line-height:1.3;padding:4px 10px;border-radius:999px;white-space:nowrap;transition:background-color .35s,color .35s,box-shadow .35s}
.spd-t-ok{background:var(--spd-ok-soft);color:var(--spd-ok);box-shadow:inset 0 0 0 1px var(--spd-ok-bd)}
.spd-t-warn{background:var(--spd-warn-soft);color:var(--spd-warn);box-shadow:inset 0 0 0 1px var(--spd-warn-bd)}
.spd-t-err{background:var(--spd-err-soft);color:var(--spd-err);box-shadow:inset 0 0 0 1px var(--spd-err-bd)}
.spd-t-neutral{background:var(--spd-soft);color:var(--spd-muted);box-shadow:inset 0 0 0 1px var(--spd-line)}
.spd-dim{color:var(--spd-muted);font-weight:400;font-size:12.5px;margin-left:8px}
.spd-foot{margin:0;padding:12px 18px;border-top:1px solid var(--spd-line);font-size:12.5px;color:var(--spd-muted);text-align:center}
/* shared reveal helpers: --d sets each element's delay */
.spd-fade,.spd-flag,.spd-ver-list li,.spd-pipe-log li{opacity:0;transform:translateY(8px);transition:opacity .5s var(--spd-ease),transform .5s var(--spd-ease);transition-delay:var(--d,0s)}
.is-in .spd-fade,.is-in .spd-flag,.is-in .spd-ver-list li,.is-in .spd-pipe-log li{opacity:1;transform:none}
.spd-old{position:relative;color:var(--spd-muted)}
.spd-old::after{content:"";position:absolute;left:-2px;right:-2px;top:52%;height:1.5px;background:var(--spd-err);transform:scaleX(0);transform-origin:left;transition:transform .5s var(--spd-ease);transition-delay:var(--d,0s)}
.is-in .spd-old::after{transform:scaleX(1)}
.spd-new{display:inline-block;margin-left:8px;opacity:0;transform:translateX(-6px);font-weight:700;color:var(--spd-ink);background:var(--spd-warn-soft);box-shadow:inset 0 0 0 1px var(--spd-warn-bd);padding:2px 8px;border-radius:6px;white-space:nowrap;transition:opacity .5s var(--spd-ease),transform .5s var(--spd-ease);transition-delay:var(--d,0s)}
td .spd-new{margin-left:0}
.spd-pop{opacity:0;transform:scale(.8);transition:opacity .4s var(--spd-ease),transform .5s cubic-bezier(.2,1.6,.4,1);transition-delay:var(--d,0s)}
.is-in .spd-new,.is-in .spd-pop{opacity:1;transform:none}

/* ingest */
.spd-ing-bar{height:6px;border-radius:3px;background:var(--spd-line);margin:16px 18px 10px;overflow:hidden}
.spd-ing-bar i{display:block;height:100%;width:0;background:var(--spd-brand);border-radius:3px;transition:width 2.2s var(--spd-ease)}
.spd-ing.is-in .spd-ing-bar i{width:100%}
.spd-ing-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 18px 14px;color:var(--spd-ink)}
.spd-ing-meta b{font-size:15px;font-variant-numeric:tabular-nums}
.spd-ing-meta .spd-tag{opacity:0;transition:opacity .4s 2.2s}
.spd-ing.is-in .spd-ing-meta .spd-tag{opacity:1}
.spd-flag{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 18px;border-top:1px solid var(--spd-line)}
.spd-flag b,.spd-ver-list b{display:block;color:var(--spd-ink);font-size:14px}
.spd-flag small,.spd-ver-list small,.spd-cmp th small{display:block;color:var(--spd-muted);font-size:12.5px;font-weight:400}

/* version history */
.spd-ver-list{list-style:none;margin:0;padding:12px 18px 4px;position:relative}
.spd-ver-list::before{content:"";position:absolute;left:27px;top:28px;bottom:30px;width:2px;background:var(--spd-line);transform:scaleY(0);transform-origin:top;transition:transform 1.6s var(--spd-ease)}
.spd-ver.is-in .spd-ver-list::before{transform:none}
.spd-ver-list li{position:relative;display:grid;grid-template-columns:20px 1fr auto;gap:12px;align-items:center;padding:9px 0}
.spd-ver-dot{width:12px;height:12px;margin-left:3px;border-radius:50%;background:var(--spd-card);box-shadow:0 0 0 2px var(--spd-brand);position:relative;z-index:1}
.spd-ver-draft .spd-ver-dot{background:var(--spd-warn-soft);box-shadow:0 0 0 2px var(--spd-warn)}
.spd-ver-edit{margin:6px 18px 18px 50px;padding:12px 14px;border-radius:12px;background:var(--spd-soft);color:var(--spd-ink);font-weight:600}
.spd-ver-edit small{display:block;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--spd-muted);margin-bottom:6px}

/* review */
.spd-rev-ben{display:flex;justify-content:space-between;gap:10px;padding:14px 18px;background:var(--spd-warn-soft);font-weight:600;color:var(--spd-ink)}
.spd-bubble{position:relative;margin:14px 18px 6px 54px;padding:13px 15px;border-radius:14px 14px 14px 4px;background:var(--spd-card);border:1px solid var(--spd-line);box-shadow:0 12px 24px -16px rgba(2,6,23,.3);color:var(--spd-ink);font-style:italic;opacity:0;transform:translateY(10px) scale(.97);transform-origin:left bottom;transition:opacity .5s var(--spd-ease) .3s,transform .6s var(--spd-ease) .3s}
.spd-bubble small{display:block;margin-top:6px;color:var(--spd-muted);font-size:12px;font-style:normal}
.spd-av{position:absolute;left:-38px;bottom:0;width:28px;height:28px;border-radius:50%;background:#F7C59F;color:#5A3412;font-size:11px;font-weight:800;font-style:normal;display:grid;place-items:center}
.spd-rev.is-in .spd-bubble{opacity:1;transform:none}
.spd-appr{list-style:none;margin:10px 0 0;padding:0}
.spd-appr li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 18px;border-top:1px solid var(--spd-line);color:var(--spd-ink)}
.spd-sign{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;padding:10px 18px 14px;border-top:1px solid var(--spd-line)}
.spd-sign svg{width:190px;height:50px;color:var(--spd-brand)}
.spd-sign path{stroke-dasharray:640;stroke-dashoffset:640;transition:stroke-dashoffset 1.6s var(--spd-ease)}
.spd-sign.on path{stroke-dashoffset:0}
.spd-sign small{font-size:12px;color:var(--spd-muted);text-align:right}

/* compare */
.spd-scroll{overflow-x:auto}
.spd-cmp table{width:100%;border-collapse:collapse;min-width:400px}
.spd-cmp th,.spd-cmp td{text-align:left;padding:11px 18px;border-top:1px solid var(--spd-line);vertical-align:middle}
.spd-cmp thead th{border-top:0;font-size:12px;font-weight:700;color:var(--spd-muted)}
.spd-cmp tbody th{font-weight:600;color:var(--spd-ink)}
.spd-cmp td{white-space:nowrap}
.spd-none{color:var(--spd-muted)}

/* advisor */
.spd-adv-body{padding:18px;display:flex;flex-direction:column;gap:12px;min-height:250px}
.spd-q{align-self:flex-end;max-width:86%;background:var(--spd-brand);color:#fff;padding:12px 16px;border-radius:16px 16px 4px 16px;font-weight:500}
.spd-a{max-width:94%;background:var(--spd-soft);color:var(--spd-ink);padding:14px 16px;border-radius:16px 16px 16px 4px;min-height:48px}
.spd-cite{display:block;margin-top:10px;font-size:12.5px;font-weight:600;color:var(--spd-brand);opacity:0;transition:opacity .5s}
.spd-cite.on{opacity:1}
.spd-dots{display:inline-flex;gap:5px}
.spd-dots i{width:7px;height:7px;border-radius:50%;background:var(--spd-muted);animation:spdDot 1.1s infinite}
.spd-dots i:nth-child(2){animation-delay:.15s}.spd-dots i:nth-child(3){animation-delay:.3s}
@keyframes spdDot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}

/* plan build pipeline */
.spd-pipe-track{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:20px 10px 10px}
.spd-pipe-track::before,.spd-pipe-fill{content:"";position:absolute;left:10%;top:41px;height:2px;border-radius:2px}
.spd-pipe-track::before{right:10%;background:var(--spd-line)}
.spd-pipe-fill{width:0;background:var(--spd-brand);transition:width 2.8s var(--spd-ease);z-index:0}
.spd-pipe.is-in .spd-pipe-fill{width:80%}
.spd-node{position:relative;z-index:1;text-align:center;font-size:12px;font-weight:600;line-height:1.3;color:var(--spd-muted);transition:color .4s;transition-delay:var(--d,0s)}
.spd-node i{width:42px;height:42px;margin:0 auto 8px;border-radius:12px;display:grid;place-items:center;background:var(--spd-card);border:1px solid var(--spd-line);color:var(--spd-muted);transition:background-color .4s,color .4s,border-color .4s,transform .4s var(--spd-ease);transition-delay:var(--d,0s)}
.spd-node svg{width:18px;height:18px}
.spd-pipe.is-in .spd-node{color:var(--spd-ink)}
.spd-pipe.is-in .spd-node i{background:var(--spd-brand);border-color:var(--spd-brand);color:#fff;transform:translateY(-2px)}
.spd-pipe.is-in .spd-node.spd-live i{background:var(--spd-ok);border-color:var(--spd-ok)}
.spd-pipe-log{list-style:none;margin:6px 0 0;padding:0}
.spd-pipe-log li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 18px;border-top:1px solid var(--spd-line);color:var(--spd-ink)}
.spd-pipe-log b{font-variant-numeric:tabular-nums}

/* old way card illustrations */
.spd-pain-ill{height:96px;margin:-8px -6px 16px;border-radius:12px;background:var(--bg);overflow:hidden}
.spd-pain-ill svg{display:block;width:100%;height:100%;transition:transform .5s var(--spd-ease)}
.pain:hover .spd-pain-ill svg{transform:translateY(-3px)}
.spd-pencil{animation:spdWrite 2.6s ease-in-out infinite;transform-box:fill-box}
.spd-type{transform-box:fill-box;transform-origin:left;animation:spdType 2.6s ease-in-out infinite}
.spd-env{animation:spdBob 3s ease-in-out infinite}
.spd-lens{animation:spdScanLens 3.4s ease-in-out infinite}
.spd-blink{animation:spdBlink 2.4s ease-in-out infinite}.spd-blink2{animation-delay:1.2s}
@keyframes spdWrite{0%,100%{transform:translate(0,0)}50%{transform:translate(-10px,4px)}}
@keyframes spdType{0%,100%{transform:scaleX(.35)}50%{transform:scaleX(1)}}
@keyframes spdBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes spdScanLens{0%,100%{transform:translate(0,0)}50%{transform:translate(-62px,-14px)}}
@keyframes spdBlink{0%,100%{opacity:.75}50%{opacity:.25}}
@media (max-width:680px){
  .spd-pain-ill{display:none}
  .spd-ver-edit{margin-left:18px}
  .spd-node{font-size:11px}
  .spd-node i{width:36px;height:36px}
  .spd-pipe-track::before,.spd-pipe-fill{top:38px}
}
@media (prefers-reduced-motion: reduce){
  .spd-panel *,.spd-panel *::before,.spd-panel *::after,.spd-pain-ill *{transition:none!important;animation:none!important}
}

/* ── CSR Coverage Lookup (was the second inline <style> block) ── */
/* CSR group picker buttons */
.csr-group-btn {
  display:flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:10px;
  border:1.5px solid var(--border); background:var(--surface);
  cursor:pointer; text-align:left; transition:border-color .15s, background .15s;
  width:100%;
}
.csr-group-btn:hover { border-color:var(--accent); }
.csr-group-btn[aria-pressed="true"] {
  border-color:var(--accent); background:var(--ai-tint);
}
.csr-group-icon {
  width:34px; height:34px; border-radius:8px;
  background:var(--bg-alt); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; font-size:.85rem; font-weight:700; color:var(--accent);
  font-family:'IBM Plex Mono',monospace;
}
.csr-group-info { display:flex; flex-direction:column; gap:2px; }
.csr-group-name { font-size:.82rem; font-weight:600; color:var(--ink); line-height:1.2; }
.csr-group-meta { font-size:.7rem; color:var(--soft); }

/* CSR question buttons */
.csr-q-btn {
  display:block; width:100%; padding:9px 11px; border-radius:8px;
  border:1.5px solid var(--border); background:var(--surface);
  font-size:.79rem; color:var(--ink); cursor:pointer; text-align:left;
  line-height:1.4; transition:border-color .15s, background .15s;
  opacity:.45; pointer-events:none;
}
.csr-q-btn.active-qs { opacity:1; pointer-events:auto; }
.csr-q-btn.active-qs:hover { border-color:var(--accent); }
.csr-q-btn.selected { border-color:var(--accent); background:var(--ai-tint); font-weight:500; }

/* CSR answer card */
.csr-answer-card {
  border:1.5px solid var(--border); border-radius:var(--r-md);
  background:var(--surface); overflow:hidden;
}
.csr-answer-header {
  background:var(--bg-alt); border-bottom:1px solid var(--border);
  padding:.55rem .9rem; display:flex; align-items:center; gap:.5rem;
  font-size:.72rem; color:var(--muted); font-weight:600;
}
.csr-answer-body { padding:1rem .9rem; }
.csr-verdict {
  font-size:.78rem; font-weight:700; letter-spacing:.04em;
  text-transform:uppercase; margin-bottom:.6rem; display:flex; align-items:center; gap:.5rem;
}
.csr-verdict.covered { color:var(--ok); }
.csr-verdict.not-covered { color:var(--stop); }
.csr-verdict.conditional { color:var(--warn); }
.csr-answer-text { font-size:.85rem; color:var(--ink); line-height:1.6; margin-bottom:.85rem; }
.csr-citation { border:1.5px solid var(--info-bd); border-radius:10px; overflow:hidden; margin-top:.25rem; }
.csr-citation-hdr {
  display:flex; align-items:center; gap:.5rem;
  padding:.45rem .85rem; background:var(--accent); color:#fff;
  font-size:.7rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
}
.csr-citation-hdr svg { width:13px; height:13px; flex-shrink:0; }
.csr-citation-body {
  background:var(--info-bg); padding:.65rem .85rem;
  display:grid; grid-template-columns:auto 1fr; gap:.2rem .75rem; font-size:.78rem;
}
.csr-citation-lbl { color:var(--muted); font-weight:600; white-space:nowrap; padding-top:.05rem; }
.csr-citation-val { color:var(--ink); font-weight:500; line-height:1.45; }
.csr-citation-excerpt {
  padding:.6rem .85rem; background:#fff; border-top:1px solid var(--info-bd);
  font-size:.75rem; font-style:italic; color:var(--muted); line-height:1.6;
}
.csr-thinking-wrap { display:flex; flex-direction:column; gap:8px; padding:16px 0; }
.csr-thinking-bar {
  height:12px; border-radius:6px; background:var(--bg-deep);
  animation:csr-shimmer 1.2s ease-in-out infinite;
}
@keyframes csr-shimmer {
  0%,100%{opacity:.4} 50%{opacity:.85}
}

/* ══════════════ FEATURES MENU (header dropdown + mobile drawer list) ══════════════ */
.nav-dd{position:relative; display:flex}
.nav-dd-btn{display:flex; align-items:center; gap:5px; min-height:var(--tap); padding:0 12px; border-radius:10px;
  font-size:14.5px; font-weight:600; color:var(--muted); transition:color .18s, background .18s}
.nav-dd-btn:hover,.nav-dd.open .nav-dd-btn{color:var(--navy); background:var(--bg-alt)}
.nav-dd-btn svg{transition:transform .2s var(--ease)}
.nav-dd.open .nav-dd-btn svg{transform:rotate(180deg)}
.nav-dd-menu{position:absolute; top:calc(100% + 8px); left:0; z-index:120; min-width:276px; padding:8px;
  display:none; flex-direction:column; gap:2px; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r-md); box-shadow:var(--sh-3)}
.nav-dd-menu::before{content:""; position:absolute; left:0; right:0; top:-10px; height:10px}
.nav-dd.open .nav-dd-menu{display:flex}
.nav-links .nav-dd-menu a{min-height:40px; color:var(--ink); white-space:nowrap}
.nav-links .nav-dd-menu a[aria-current="page"],.mobile-drawer-links a[aria-current="page"]{color:var(--accent); background:var(--info-bg)}
.nav-dd-sep{height:1px; margin:5px 8px; background:var(--border-soft)}
@media (max-width:1250px){ .nav-dd-btn{padding:0 9px; font-size:14px} }
/* room for Features: links 4px tighter per side on wide screens; the trigger is hidden where it can't fit (footer still lists the pages) */
.nav-dd-btn{white-space:nowrap; height:var(--tap)}
@media (min-width:1251px){ .nav-links > a{padding:0 8px} .nav-dd-btn{padding:0 7px; gap:3px} }
@media (min-width:941px) and (max-width:1200px){ .nav-dd{display:none} }
.m-dd-btn{display:flex; align-items:center; justify-content:space-between; width:100%; min-height:var(--tap); padding:0 12px;
  border-radius:10px; font-size:16px; font-weight:600; color:var(--ink); text-align:left}
.m-dd-btn:hover{color:var(--navy); background:var(--bg-alt)}
.m-dd-btn svg{transition:transform .2s var(--ease)}
.m-dd-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
.m-dd-list{display:flex; flex-direction:column; gap:2px; margin:2px 0 6px; padding-left:12px; border-left:2px solid var(--border-soft); margin-left:12px}
.m-dd-list[hidden]{display:none}
.mobile-drawer-links .m-dd-list a{font-size:15px; font-weight:500}

/* footer with a Features column (5 columns) */
.foot-grid.fg5{grid-template-columns:1.4fr repeat(4,1fr); gap:36px}
@media (max-width:1100px){ .foot-grid.fg5{grid-template-columns:repeat(4,1fr)} .foot-grid.fg5 > div:first-child{grid-column:1/-1} }
@media (max-width:940px){ .foot-grid.fg5{grid-template-columns:1fr 1fr; gap:34px} }
@media (max-width:680px){ .foot-grid.fg5{grid-template-columns:1fr} }

/* ══════════════ FEATURE PAGES (.fp-*) ══════════════ */
.fp-hero{padding-bottom:84px}
.fp-hero .hero-sub{max-width:720px}
.fp-hero h1{max-width:900px}
.fp-crumbs{margin:0 0 22px; font-size:13.5px; color:var(--soft)}
.fp-crumbs ol{list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:6px}
.fp-crumbs li{display:flex; align-items:center; gap:6px}
.fp-crumbs li + li::before{content:"/"; color:var(--border)}
.fp-crumbs a{color:var(--accent); font-weight:600}
.fp-crumbs a:hover{text-decoration:underline; text-underline-offset:3px}
.fp-crumbs [aria-current="page"]{color:var(--muted)}
.fp-lede{font-size:18px; color:var(--muted); line-height:1.68; max-width:760px}
.fp-lede + .fp-lede{margin-top:14px}
.fp-cards{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:36px}
.fp-cards.two{grid-template-columns:repeat(2,1fr)}
.fp-card{background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:26px 24px; box-shadow:var(--sh-1)}
.fp-card h3{font-size:17px; margin-bottom:9px; color:var(--navy); letter-spacing:-.02em}
.fp-card p{font-size:15px; color:var(--muted); line-height:1.62}
.fp-steps{list-style:none; margin:36px 0 0; padding:0; display:grid; gap:16px; counter-reset:fp}
.fp-steps li{counter-increment:fp; display:grid; grid-template-columns:48px 1fr; gap:18px; align-items:start;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:22px 24px; box-shadow:var(--sh-1)}
.fp-steps li::before{content:counter(fp, decimal-leading-zero); display:grid; place-items:center; width:48px; height:48px; border-radius:13px;
  background:var(--info-bg); border:1px solid var(--info-bd); color:var(--accent); font-family:"IBM Plex Mono",ui-monospace,monospace; font-weight:600; font-size:15px}
.fp-steps h3{font-size:17.5px; color:var(--navy); margin:4px 0 6px; letter-spacing:-.02em}
.fp-steps p{font-size:15.5px; color:var(--muted); line-height:1.64}
.fp-shot{margin-top:44px}
.fp-related{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:36px}
.fp-related a{display:flex; flex-direction:column; gap:8px; height:100%; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:24px; box-shadow:var(--sh-1); transition:transform .2s var(--ease), box-shadow .2s, border-color .2s}
.fp-related a:hover{transform:translateY(-4px); box-shadow:var(--sh-3); border-color:var(--info-bd)}
.fp-related b{font-size:17px; color:var(--navy); letter-spacing:-.02em; display:flex; align-items:center; gap:8px}
.fp-related span{font-size:15px; color:var(--muted); line-height:1.6}
.fp-cta{background:var(--navy); color:#fff; border-radius:var(--r-xl); padding:clamp(32px,5vw,60px); text-align:center}
.fp-cta h2{font-size:clamp(28px,3.4vw,42px); letter-spacing:-.034em; font-weight:800; color:#fff; margin:0 0 14px}
.fp-cta p{font-size:17px; color:rgba(255,255,255,.85); line-height:1.65; max-width:620px; margin:0 auto}
.fp-cta .hero-actions{justify-content:center}
.fp-cta .btn-ghost{background:transparent; color:#fff; border-color:rgba(255,255,255,.4); box-shadow:none}
.fp-cta .btn-ghost:hover{border-color:#fff; color:#fff}
.fp-cta :focus-visible{outline-color:#7dd3fc}
@media (max-width:940px){ .fp-cards,.fp-related{grid-template-columns:1fr 1fr} .fp-hero{padding-bottom:64px} }
@media (max-width:680px){ .fp-cards,.fp-cards.two,.fp-related{grid-template-columns:1fr} .fp-steps li{grid-template-columns:1fr; gap:12px; padding:20px} }
.spot .fp-h2{font-size:clamp(23px,2.3vw,30px); letter-spacing:-.028em; margin:14px 0 14px; color:var(--navy)}
.spot > .spot-txt > p + p{margin-top:-4px}
/* homepage "Learn more" links: long labels may wrap on narrow screens */
.btn.lm{white-space:normal; max-width:100%; padding-block:9px; line-height:1.35}
