/* ============================================================
   NAV
   ============================================================ */
.nav{position:sticky;top:0;z-index:60;background:color-mix(in srgb,var(--bg) 80%,transparent);
  backdrop-filter:blur(14px) saturate(150%);border-bottom:1px solid var(--border);}
/* Firefox only: its backdrop-filter is CPU-bound, so a sticky header re-blurs the
   whole strip every scroll frame (~35-40% CPU). The header background is already
   80% opaque, so a lighter blur and no saturate is nearly indistinguishable here
   while roughly halving the per-frame cost. Chrome/Safari keep the full filter. */
@-moz-document url-prefix(){
  .nav{backdrop-filter:blur(6px);}
}
.nav__in{height:68px;display:flex;align-items:center;gap:26px;}
.nav__brand{display:flex;align-items:center;min-height:44px;text-decoration:none;}
.nav__logo{height:26px;}
.nav__links{display:flex;gap:22px;margin-left:4px;}
.nav__links a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;font-size:var(--text-sm);font-weight:500;color:var(--fg-2);text-decoration:none;transition:color var(--dur) var(--ease);}
.nav__links a:hover{color:var(--accent);}
.nav__links a[aria-current="page"]{color:var(--accent);font-weight:600;}
.nav__sp{flex:1;}
.nav__actions{display:flex;align-items:center;gap:10px;}
.tt{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--r-pill);
  border:1px solid var(--border);background:var(--surface);color:var(--fg-2);cursor:pointer;transition:all var(--dur) var(--ease);}
.tt:hover{color:var(--accent);border-color:var(--accent);}
/* Nav action buttons stay flat — no drop shadow / accent glow that can
   read as a stray coloured line at the button edge. */
.nav__actions .btn{box-shadow:none;}
.nav__actions .btn:hover{box-shadow:none;}
.tt:focus-visible{outline:none;box-shadow:0 0 0 4px var(--ring);}
.tt svg{width:18px;height:18px;}

/* ============================================================
   HERO
   ============================================================ */
.hero{position:relative;overflow:hidden;padding-top:clamp(64px,7vw,112px);padding-bottom:clamp(72px,8vw,124px);}
.hero__bg{position:absolute;inset:0;z-index:0;}
.hero__bg .glow{width:640px;height:640px;right:-180px;top:-240px;}
.hero__bg .glow.two{width:480px;height:480px;left:-200px;bottom:-280px;background:radial-gradient(60% 60% at 50% 50%,rgba(17,107,248,.26),transparent 70%);}
.hero__grid{position:relative;z-index:1;display:grid;grid-template-columns:.88fr 1.12fr;gap:clamp(42px,5vw,76px);align-items:center;}
.hero h1{margin-top:18px;}
.signal-word{background:none;font-style:inherit;color:var(--accent);}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .signal-word{color:var(--cyan);}
}
[data-theme="dark"] .signal-word{color:var(--cyan);}
.hero__tagline{
  position:relative;display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;
  width:fit-content;max-width:100%;margin:18px 0 0;padding:9px 13px 9px 12px;
  font-family:var(--font-body);font-size:var(--text-sm);font-weight:600;line-height:1.1;
  letter-spacing:0;color:var(--fg-2);
  border:1px solid color-mix(in srgb,var(--accent) 26%,var(--border));
  border-radius:var(--r-pill);
  background:
    linear-gradient(120deg,color-mix(in srgb,var(--accent) 9%,transparent),transparent 58%),
    color-mix(in srgb,var(--surface) 86%,var(--signal-bg));
  box-shadow:0 14px 34px -28px rgba(5,11,31,.45);
}
.hero__tagline::before{
  content:"";width:7px;height:7px;border-radius:50%;flex:none;
  background:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 14%,transparent);
}
.hero__tagline-main{color:var(--fg-muted);}
.hero__tagline-pause{
  width:24px;height:1px;flex:none;
  background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 65%,transparent),transparent);
}
.hero__tagline-accent{color:var(--accent);font-weight:800;}
[data-theme="dark"] .hero__tagline-accent{color:var(--cyan);}
[data-theme="dark"] .hero__tagline::before{background:var(--cyan);box-shadow:0 0 0 4px rgba(33,188,238,.14);}
.hero__lead{margin-top:18px;max-width:42rem;}
.hero__cta{display:flex;gap:14px;margin-top:32px;flex-wrap:wrap;}
.hero__copy{max-width:640px;}
.hero__title{font-family:var(--font-display);font-weight:800;font-size:clamp(2rem,calc(1.2rem + 2.8vw),3.5rem);line-height:1.1;letter-spacing:0;max-width:13em;}
.hero__attrs{display:flex;align-items:center;gap:0;margin-top:20px;flex-wrap:wrap;}
.hero__attr{font-family:var(--font-mono);font-size:var(--text-xs);font-weight:600;color:var(--fg-2);}
.hero__attr strong{color:var(--accent);font-weight:700;}
.hero__attr-sep{width:1px;height:12px;background:var(--border-strong);margin:0 12px;flex:none;}

/* hero__viz responsive handled in hero-viz.css */

/* ============================================================
   SECTION HEAD
   ============================================================ */
.head{max-width:760px;margin-bottom:clamp(32px,4vw,56px);}
.head.center{margin-inline:auto;text-align:center;}
.head.center .marker{justify-content:center;}
.head .marker{margin-bottom:16px;}
.head h2{margin:0;}
.head p{margin-top:16px;}

/* ---------- PROBLEM / SYSTEM FLOW ---------- */
.cols-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.cols-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;}

.sys-flow{
  position:relative;
  display:grid;
  grid-template-columns:1fr 60px 1fr;
  gap:24px;
  align-items:center;
  padding:clamp(24px,3vw,40px);
  border-radius:var(--r-xl);
  border:1px solid var(--border);
  background:var(--surface);
  box-shadow:var(--shadow-sm);
  overflow:hidden;
}
.sys-side-label{
  font-family:var(--font-mono);font-size:var(--text-xs);font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;color:var(--fg-muted);
  margin-bottom:14px;
}
.sys-stack{display:flex;flex-direction:column;gap:7px;}
.sys-layer{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:9px 14px;border-radius:var(--r-sm);
  border:1px solid var(--border);background:var(--surface-2);
  font-size:var(--text-sm);font-weight:600;color:var(--fg);
  transition:opacity .3s ease;
}
.sys-layer.dim{opacity:.45;border-style:dashed;}
.sys-l-sub{font-size:.6875rem;font-weight:500;color:var(--fg-muted);text-align:right;flex-shrink:0;}

/* CDN-first layers: accumulation stress */
.sys-l0{border-color:var(--border-strong);}
.sys-l1,.sys-l2{opacity:.88;}
.sys-l3{opacity:.92;border-color:rgba(251,146,60,.32);color:var(--fg);}
.sys-l3 .sys-l-sub{color:rgba(251,146,60,.7);}
.sys-l4{opacity:.9;border-color:rgba(248,113,113,.28);}
.sys-l4 .sys-l-sub{color:rgba(248,113,113,.6);}

/* Quanteec layers */
.sys-q-cdn{background:var(--surface-2);border-color:var(--border-accent);opacity:.8;}
.sys-q-sdk{
  background:linear-gradient(135deg,var(--signal-bg),rgba(17,107,248,.08));
  border-color:var(--border-accent);
  color:var(--accent);
  font-weight:700;
  box-shadow:var(--shadow-sm);
}
.sys-q-sdk .sys-l-sub{color:var(--accent);opacity:.75;}

.sys-viewers{
  display:flex;flex-wrap:wrap;gap:7px;justify-content:center;
  padding:14px 10px 8px;
  border-radius:var(--r-sm);
  border:1px dashed var(--border-accent);
  margin-top:7px;
}
.sys-viewer-dot{
  width:9px;height:9px;border-radius:50%;
  background:var(--border-strong);
  flex:none;
}
.sys-viewer-dot.active{background:var(--cyan);box-shadow:0 0 6px rgba(33,188,238,.5);}

.sys-arrow{
  display:flex;flex-direction:column;align-items:center;gap:8px;
}
.sys-arrow-svg{width:48px;height:32px;}
.sys-arrow-label{
  font-family:var(--font-mono);font-size:.625rem;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;color:var(--accent);
  text-align:center;white-space:nowrap;
}
.sys-peak-badge{
  display:inline-flex;align-items:center;gap:6px;
  margin-top:12px;
  font-family:var(--font-mono);font-size:var(--text-xs);font-weight:700;
  letter-spacing:.06em;color:rgba(248,113,113,.9);
}
.sys-peak-badge.accent{color:var(--accent);}
.sys-peak-badge svg{flex:none;}

.icard{display:flex;flex-direction:column;gap:12px;}
.icard .ic{width:46px;height:46px;border-radius:var(--r-md);display:grid;place-items:center;background:var(--signal-bg);color:var(--accent);border:1px solid var(--border-accent);}
.icard .ic svg{width:22px;height:22px;}
.icard h3{font-size:var(--text-h4);}
.icard p{font-size:var(--text-sm);color:var(--fg-2);}
.knum{font-family:var(--font-display);font-weight:800;font-size:1.5rem;color:var(--accent);letter-spacing:0;}

/* ---------- ARCHITECTURE FLOW ---------- */
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px;}
.chip{font-size:var(--text-xs);font-weight:500;padding:6px 12px;border-radius:var(--r-pill);background:var(--surface-2);border:1px solid var(--border);color:var(--fg-2);}

.arch-flow{
  position:relative;
  display:flex;flex-direction:column;align-items:center;gap:0;
  padding:clamp(20px,3vw,36px);
  border-radius:var(--r-xl);border:1px solid var(--border);
  background:linear-gradient(180deg,var(--surface),var(--surface-2));
  box-shadow:var(--shadow-sm);
  overflow:hidden;
  margin-bottom:24px;
}
.arch-node{
  width:100%;max-width:640px;
  padding:16px 22px;border-radius:var(--r-lg);
  border:1px solid var(--border);background:var(--surface);
  box-shadow:var(--shadow-sm);text-align:center;
}
.arch-node strong{display:block;font-family:var(--font-display);font-size:1.1rem;font-weight:700;color:var(--fg-strong);margin:6px 0 4px;}
.arch-node small{font-size:var(--text-xs);color:var(--fg-muted);}
.arch-tag{display:inline-block;font-family:var(--font-mono);font-size:.6875rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--fg-muted);background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-pill);padding:3px 10px;}
.arch-tag.accent{color:var(--accent);background:var(--signal-bg);border-color:var(--border-accent);}

.arch-node.arch-sdk{border-color:var(--border-accent);box-shadow:var(--shadow-md);}
.arch-node.arch-viewers{background:var(--signal-bg);border-color:var(--border-accent);}
.arch-node.arch-obs{background:linear-gradient(135deg,#071126,#050b1f);border-color:rgba(17,107,248,.35);}
.arch-node.arch-obs strong{color:#fff;}
.arch-node.arch-obs small{color:#878EA0;}
.arch-node.arch-obs .arch-tag{color:#21BCEE;background:rgba(33,188,238,.12);border-color:rgba(33,188,238,.28);}

.arch-connector{color:var(--border-accent);margin:0;}
.arch-connector svg{width:24px;height:32px;display:block;}
.arch-connector.arch-lateral{transform:rotate(0deg);}

.arch-row{
  width:100%;max-width:640px;
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:0;
}
.arch-row .arch-lateral{width:48px;justify-self:center;}
.arch-row .arch-lateral svg{width:48px;height:24px;}

.arch-caps{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px 24px;
  margin-bottom:16px;
}
.arch-caps li{font-size:var(--text-sm);color:var(--fg-2);padding-left:16px;position:relative;}
.arch-caps li::before{content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;border-radius:50%;background:var(--accent);}
.arch-caps li strong{color:var(--fg);font-weight:600;margin-right:6px;}

/* ---------- PROOF ---------- */
.proof-metrics{
  position:relative;
  display:grid;grid-template-columns:repeat(3,1fr);gap:1px;
  background:var(--border);border:1px solid var(--border);
  border-radius:var(--r-xl);overflow:hidden;
  box-shadow:var(--shadow-sm);
  margin-bottom:24px;
}
.pm-strip{
  background:var(--surface);padding:clamp(16px,2.5vw,28px);
  display:flex;flex-direction:column;gap:8px;
}
.pm-label{font-family:var(--font-mono);font-size:.6875rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--fg-muted);}
.pm-val{display:flex;align-items:baseline;gap:4px;}
.pm-num{font-family:var(--font-display);font-size:clamp(2rem,calc(1.6rem + 1.2vw),2.8rem);font-weight:800;line-height:1;color:var(--fg-strong);letter-spacing:0;}
.pm-unit{font-size:.5em;font-weight:600;color:var(--accent);margin-left:2px;}
.pm-sub{font-size:var(--text-xs);color:var(--fg-muted);font-weight:500;}
.pm-cap{font-family:var(--font-mono);font-size:.6875rem;font-weight:600;color:var(--accent);}
.pm-compare{display:flex;align-items:center;gap:12px;}
.pm-col{display:flex;flex-direction:column;gap:4px;}
.pm-col.accent .pm-num{color:var(--accent);}
.pm-col.muted .pm-num{color:var(--fg-muted);font-size:clamp(1.5rem,calc(1.2rem + .8vw),2rem);}
.pm-vs{font-family:var(--font-mono);font-size:.6875rem;font-weight:700;color:var(--fg-muted);letter-spacing:.06em;}

/* ---- Latest-highlight panel (example figures from most recent event) ---- */
.proof-highlight{
  position:relative;margin-bottom:24px;
  border:1px solid var(--border-accent);border-radius:var(--r-xl);overflow:hidden;
  background:var(--surface);box-shadow:0 18px 50px -30px rgba(5,11,31,.55);
}
.proof-highlight::before{
  content:"";position:absolute;inset:0 0 auto 0;height:3px;
  background:var(--gradient);z-index:1;
}
.proof-highlight__bar{
  display:flex;align-items:center;gap:12px 18px;flex-wrap:wrap;
  padding:16px 22px;background:var(--signal-bg);border-bottom:1px solid var(--border-accent);
}
.proof-highlight__eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  font-family:var(--font-mono);font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);
}
.proof-highlight__dot{
  width:8px;height:8px;border-radius:50%;background:var(--accent);flex:none;
  box-shadow:0 0 0 0 rgba(17,107,248,.5);animation:ph-pulse 2.2s ease-out infinite;
}
@keyframes ph-pulse{
  0%{box-shadow:0 0 0 0 rgba(17,107,248,.45);}
  70%{box-shadow:0 0 0 9px rgba(17,107,248,0);}
  100%{box-shadow:0 0 0 0 rgba(17,107,248,0);}
}
.proof-highlight__id{display:flex;flex-direction:column;gap:2px;margin-right:auto;}
.proof-highlight__title{font-family:var(--font-display);font-weight:800;color:var(--fg-strong);font-size:1.08rem;line-height:1.1;}
.proof-highlight__meta{font-size:var(--text-sm);color:var(--fg-2);}
.proof-highlight__chip{
  font-family:var(--font-mono);font-size:.62rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;
  color:var(--accent);background:var(--surface);border:1px solid var(--border-accent);border-radius:var(--r-pill);padding:6px 12px;
}
.proof-highlight .proof-metrics{
  border:0;border-radius:0;box-shadow:none;margin:0;
  grid-template-columns:repeat(4,1fr);
}
/* simple, uniform strip: label · big number · one caption line */
.proof-highlight .pm-strip{gap:8px;padding:clamp(16px,2vw,24px);}
.proof-highlight .pm-strip p{margin:0;}
.proof-highlight .pm-num{
  display:block;font-family:var(--font-display);font-weight:800;line-height:1;
  color:var(--fg-strong);letter-spacing:-.01em;
  font-size:clamp(1.85rem,calc(1.3rem + 1.1vw),2.35rem);
}
.proof-highlight .pm-unit{font-size:.5em;font-weight:600;color:var(--accent);margin-left:1px;}
.proof-highlight .pm-unit--word{margin-left:6px;letter-spacing:0;}
.proof-highlight .pm-cap{
  font-family:var(--font-body);font-size:var(--text-sm);font-weight:500;
  color:var(--fg-2);letter-spacing:0;text-transform:none;line-height:1.45;
}
@media (max-width:860px){ .proof-highlight .proof-metrics{grid-template-columns:repeat(2,1fr);} }
@media (max-width:480px){ .proof-highlight .proof-metrics{grid-template-columns:1fr;} }
.proof-highlight__note{
  margin:0;padding:12px 22px 14px;font-size:var(--text-xs);color:var(--fg-muted);font-style:italic;
  background:var(--surface-2);border-top:1px solid var(--border);
}
@media (prefers-reduced-motion:reduce){
  .proof-highlight__dot{animation:none;}
}

/* Event log */
.proof-log{
  border:1px solid var(--border);border-radius:var(--r-xl);overflow:hidden;
  background:var(--surface);box-shadow:var(--shadow-sm);
  margin-bottom:24px;
}
.proof-log-head{
  display:grid;grid-template-columns:80px 2fr 2fr 1fr;gap:16px;
  padding:10px 20px;background:var(--surface-2);
  font-family:var(--font-mono);font-size:.6875rem;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;color:var(--fg-muted);
}
.proof-log-row{
  position:relative;
  display:grid;grid-template-columns:80px 2fr 2fr 1fr;gap:16px;align-items:center;
  padding:10px 20px;border-top:1px solid var(--border);
  font-size:var(--text-sm);color:var(--fg);
  transition:background var(--dur) var(--ease);
}
.proof-log-row:hover{background:var(--surface-2);}
.pl-thumb{width:72px;height:48px;object-fit:cover;border-radius:var(--r-sm);flex:none;display:block;}
.pl-thumb-empty{width:72px;height:48px;border-radius:var(--r-sm);background:var(--surface-2);display:block;flex:none;}
.pl-col-img{display:block;}
.pl-event{font-weight:600;color:var(--fg-strong);}
.pl-platform{color:var(--fg-2);}
.pl-status{display:flex;align-items:center;gap:6px;font-family:var(--font-mono);font-size:.6875rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);}
.dot-ok{width:6px;height:6px;border-radius:50%;background:var(--accent);flex:none;}

/* Client logos */
.proof-logos{
  display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;
  border-radius:var(--r-lg);margin-bottom:24px;padding:4px 0;
}
.proof-logo-pill{
  display:flex;align-items:center;justify-content:center;
  background:var(--ink-800);border-radius:var(--r-md);
  padding:14px 24px;border:1px solid rgba(255,255,255,.10);
}
.proof-logo-pill img{display:block;height:24px;width:auto;opacity:.9;}

/* Why strip (kept for proof section) */
.proof-metrics .ph-label,.proof-log-row .ph-label{
  position:absolute;inset:0;border-radius:0;font-size:.55rem;
  pointer-events:none;
}

/* ---------- SUSTAINABILITY ---------- */
.sust-metrics{
  display:flex;align-items:center;gap:0;
  border:1px solid var(--border);border-radius:var(--r-xl);
  background:var(--surface);box-shadow:var(--shadow-sm);
  overflow:hidden;
  margin-bottom:24px;
}
.sm-item{flex:1;padding:clamp(20px,3vw,36px);display:flex;flex-direction:column;gap:6px;}
.sm-val{font-family:var(--font-display);font-size:clamp(2.5rem,calc(2rem + 1.8vw),3.5rem);font-weight:800;line-height:1;color:var(--fg-strong);letter-spacing:0;}
.sm-unit{font-size:.45em;font-weight:700;color:var(--accent);}
.sm-label{font-size:var(--text-sm);font-weight:600;color:var(--fg);}
.sm-sub{font-size:var(--text-xs);color:var(--fg-muted);}
.sm-sep{width:1px;align-self:stretch;background:var(--border);flex:none;}
.sm-ph{position:relative;}
.sm-link{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-sm);font-weight:600;color:var(--accent);text-decoration:none;margin-top:4px;}
.sm-link:hover{text-decoration:underline;}
.sm-link svg{flex:none;}

/* ---------- PROOF ---------- */
.proof-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:20px;}
.proof-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.proof-tile{min-height:150px;padding:24px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);display:flex;flex-direction:column;justify-content:space-between;}
.proof-tile strong{font-family:var(--font-display);font-size:clamp(1.25rem,calc(1.05rem + .75vw),1.75rem);line-height:1.1;color:var(--fg-strong);letter-spacing:0;}
.proof-tile span{font-size:var(--text-sm);font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--accent);}
.pcard{display:flex;flex-direction:column;}
.pcard__top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px;}
.pcard__title{font-family:var(--font-display);font-weight:700;font-size:1.125rem;color:var(--fg-strong);}
.pcard__sub{font-size:var(--text-xs);color:var(--fg-muted);}
.pcard.feature{background:var(--surface-invert);color:var(--fg-on-invert);border-color:rgba(255,255,255,.1);}
.pcard.feature .pcard__title,.pcard.feature .big{color:#fff;}
.pcard.feature .pcard__sub{color:rgba(180,200,235,.8);}
.metrics{display:flex;flex-direction:column;gap:14px;margin-top:auto;}
.metric{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--border);}
.pcard.feature .metric{border-color:rgba(255,255,255,.12);}
.metric:last-child{border-bottom:0;padding-bottom:0;}
.metric .ml{font-size:var(--text-sm);color:var(--fg-muted);}
.pcard.feature .metric .ml{color:rgba(180,200,235,.85);}
.metric .mv{font-family:var(--font-mono);font-weight:600;font-size:var(--text-sm);color:var(--fg);text-align:right;}
.pcard.feature .metric .mv{color:#eaf0fb;}
.metric .mv b{color:var(--accent-2);font-weight:700;}
.big{font-family:var(--font-display);font-weight:800;font-size:2.6rem;line-height:1;letter-spacing:0;color:var(--fg-strong);}

/* ---------- COMPARE ---------- */
.compare{border-radius:var(--r-lg);border:1px solid var(--border);overflow:hidden;background:var(--surface);}
.compare__row{display:grid;grid-template-columns:1.4fr 1fr 1fr;border-bottom:1px solid var(--border);}
.compare__row:last-child{border-bottom:0;}
.compare__row>div{padding:16px 20px;display:flex;align-items:center;gap:8px;font-size:var(--text-sm);}
.compare__row.h>div{font-weight:600;font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.08em;color:var(--fg-muted);background:var(--surface-2);}
.compare__row .feat{font-weight:500;color:var(--fg);}
.compare__row .q{background:var(--signal-bg);color:var(--fg);font-weight:500;}
.compare__row .q svg{color:var(--accent);}
.compare__row .o{color:var(--fg-muted);}
.compare svg{width:18px;height:18px;flex:none;}
.assurance-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:24px;
}
.assurance-card{
  min-height:168px;
  padding:22px;
  border:1px solid var(--border);
  border-radius:var(--r-lg);
  background:linear-gradient(180deg,var(--surface),var(--surface-2));
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:22px;
}
.assurance-card-accent{
  border-color:var(--border-accent);
  background:linear-gradient(160deg,var(--signal-bg),var(--surface));
}
.assurance-kicker{
  font-family:var(--font-mono);
  font-size:.6875rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--accent);
}
.assurance-card h3{
  margin:0;
  font-family:var(--font-display);
  font-size:clamp(1.05rem,calc(.98rem + .25vw),1.25rem);
  line-height:1.18;
  letter-spacing:0;
  color:var(--fg-strong);
}
.assurance-card p{
  margin-top:8px;
  font-size:var(--text-sm);
  line-height:1.45;
  color:var(--fg-2);
}

/* ---------- SUSTAINABILITY ---------- */
.sust{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(28px,4vw,56px);align-items:center;}
.sust__panel{position:relative;overflow:hidden;padding:40px;border-radius:var(--r-xl);background:var(--gradient);color:#fff;}
.sust__panel .glow{width:360px;height:360px;right:-120px;bottom:-160px;background:radial-gradient(60% 60% at 50% 50%,rgba(255,255,255,.22),transparent 70%);}
.sust__big{font-family:var(--font-display);font-weight:900;font-size:clamp(3.5rem,calc(2rem + 6vw),5.5rem);line-height:.95;letter-spacing:0;color:#fff;}
.cred{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border-radius:var(--r-pill);background:var(--surface-2);border:1px solid var(--border);font-size:var(--text-sm);font-weight:500;color:var(--fg);}
.cred svg{width:18px;height:18px;color:var(--accent);}

/* ---------- CONVERT ---------- */
.convert{position:relative;overflow:hidden;border-radius:var(--r-xl);padding:clamp(36px,5vw,72px);text-align:center;background:linear-gradient(135deg,#050b1f 0%,#05269B 55%,#116BF8 100%);color:#eef3fb;}
.convert .glow{width:460px;height:460px;left:50%;top:-220px;transform:translateX(-50%);}
.convert__inner{position:relative;z-index:1;width:100%;max-width:760px;margin-inline:auto;}
.convert h2{color:#fff;max-width:18em;margin-inline:auto;}
.convert .qline{color:rgba(190,205,235,.85);max-width:40em;margin:14px auto 0;font-size:var(--text-sm);}
.form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;width:min(100%,560px);max-width:560px;margin:28px auto 0;align-items:end;}
.form__field{min-width:0;display:flex;flex-direction:column;gap:6px;text-align:left;}
.form__label{font-size:var(--text-xs);font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(190,205,235,.8);}
.form input{
  font-family:var(--font-body);font-size:var(--text-body);color:#fff;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.2);
  border-radius:var(--r-pill);padding:13px 20px;width:100%;min-width:0;
}
.form .btn{min-width:174px;}
.form input::placeholder{color:#d6e2f7;opacity:1;}
.form input:focus{outline:none;border-color:var(--cyan);box-shadow:0 0 0 4px rgba(33,188,238,.22);}
.form input[aria-invalid="true"]{border-color:#f87171;}
.form input[aria-invalid="true"]:focus{box-shadow:0 0 0 4px rgba(248,113,113,.22);}
.form__error{font-size:var(--text-xs);color:#f87171;font-weight:500;margin:0;padding:0;}
.form__hint{color:#d6e2f7;font-size:var(--text-xs);line-height:1.5;max-width:32rem;margin:10px auto 0;}
.form__done{color:var(--cyan);font-weight:600;margin-top:8px;font-size:var(--text-sm);}
.convert__paths{display:flex;align-items:center;gap:10px;justify-content:center;flex-wrap:wrap;max-width:560px;margin:18px auto 0;font-size:var(--text-sm);color:#d6e2f7;}
.convert__path-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;color:var(--cyan);text-align:center;text-decoration:none;font-weight:600;}
.convert__path-link:hover{text-decoration:underline;}

/* ---------- FOOTER ---------- */
.footer{border-top:1px solid var(--border);padding-block:38px 30px;}
.footer__inner{
  display:grid;grid-template-columns:minmax(240px,1fr) auto;
  gap:24px 40px;align-items:start;
}
.footer__brand{display:grid;gap:14px;max-width:31rem;}
.footer__brand p{margin:0;}
.footer__logo{height:38px;}
.footer__right{display:grid;gap:16px;justify-items:end;}
.footer__nav{display:flex;align-items:center;justify-content:flex-end;gap:10px 20px;flex-wrap:wrap;}
.footer__nav a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;font-size:var(--text-sm);font-weight:500;color:var(--fg-2);text-decoration:none;transition:color var(--dur) var(--ease);}
.footer__nav a:hover{color:var(--accent);}
.footer__social{display:flex;align-items:center;gap:14px;}
.footer__social a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:var(--fg-muted);transition:color var(--dur) var(--ease);}
.footer__social a:hover{color:var(--accent);}
.footer__social svg{width:20px;height:20px;}
.footer__bottom{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:4px;padding-top:22px;border-top:1px solid var(--border);font-size:var(--text-xs);color:var(--fg-muted);flex-wrap:wrap;}
.footer__legal{display:inline-flex;align-items:center;gap:8px;}
.footer__legal a{display:inline-flex;align-items:center;min-height:44px;color:var(--fg-muted);text-decoration:none;transition:color var(--dur) var(--ease);}
.footer__legal a:hover{color:var(--accent);}

/* Scroll margin: account for sticky nav (68px) when jumping to anchors */
.section[id],.faq-item{scroll-margin-top:88px;}

/* ---------- REVEAL ANIMATION ---------- */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .85s var(--ease),transform .85s var(--ease);}
.reveal.in{opacity:1;transform:none;}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none;}
  html{scroll-behavior:auto;}
  .badge.live .dot,.q-badge.live .dot{animation:none;}
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:980px){
  .hero__grid{grid-template-columns:1fr;}
  .hero__viz{margin-top:8px;}
  .sys-flow{grid-template-columns:1fr;gap:20px;}
  .sys-arrow{flex-direction:row;justify-content:center;}
  .sys-arrow-svg{width:80px;height:24px;}
  .proof-metrics{grid-template-columns:1fr;}
  .proof-log-head,.proof-log-row{grid-template-columns:56px 1fr 1fr;}
  .proof-log-head span:last-child,.pl-status{display:none;}
  .sust-metrics{flex-direction:column;}
  .sm-sep{width:100%;height:1px;align-self:auto;}
  .assurance-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .footer__inner{grid-template-columns:1fr;gap:22px;}
  .footer__nav{justify-content:flex-start;}
  .footer__right{justify-items:start;}
  .nav__links{display:none;}
  .db-controls{flex-direction:column;align-items:flex-start;}
}
@media (max-width:620px){
  .hero__title{font-size:clamp(1.75rem,calc(1.5rem + 2.8vw),2.5rem);}
  .hero__attrs{gap:8px;}
  .hero__attr-sep{display:none;}
  .cols-3{grid-template-columns:1fr;}
  .cols-2{grid-template-columns:1fr;}
  .proof-metrics{grid-template-columns:1fr;}
  .proof-log-head,.proof-log-row{grid-template-columns:1fr;}
  .proof-log-head span:nth-child(2),.pl-platform,.pl-thumb,.pl-thumb-empty,.pl-col-img{display:none;}
  .assurance-grid{grid-template-columns:1fr;}
  .assurance-card{min-height:auto;padding:20px;}
  .footer{padding-block:32px 26px;}
  .footer__nav{gap:10px 16px;}
  .footer__bottom{display:grid;gap:8px;}
  .db-tabs{flex-wrap:wrap;}
  .arch-row{grid-template-columns:1fr;}
  .arch-row .arch-lateral{display:none;}
  .convert{
    padding:clamp(30px,8vw,44px) clamp(20px,6vw,32px);
    border-radius:clamp(20px,7vw,28px);
  }
  .convert__inner{max-width:440px;}
  .convert h2{max-width:11em;}
  .convert .qline{max-width:26ch;margin-top:12px;}
  .form{
    grid-template-columns:1fr;
    width:100%;
    gap:12px;
    align-items:stretch;
    margin-top:24px;
  }
  .form__field{width:100%;}
  .form input,.form .btn{width:100%;}
  .form .btn{min-width:0;}
  .form__hint{max-width:24ch;margin-top:12px;}
  .convert__paths{
    display:grid;
    grid-template-columns:1fr;
    gap:6px;
    width:100%;
    max-width:440px;
    margin-top:14px;
  }
  .convert__paths > span[aria-hidden="true"]{display:none;}
  .convert__path-link{
    width:100%;
    padding:7px 14px;
    border-radius:var(--r-pill);
    background:rgba(33,188,238,.08);
  }
}
@media (max-width:400px){
  .nav__in{gap:12px;}
  .nav__logo{height:22px;}
  .hero__cta{flex-direction:column;align-items:flex-start;}
  .hero__cta .btn{width:100%;justify-content:center;}
}
