/* =====================================================================
   Offner Technologies â€ website mockup shared stylesheet
   Design language derived from offner_landing_page.html + hero v5
   ===================================================================== */
:root{
  --navy:#0A1628;
  --navy-2:#0E1F33;
  --navy-3:#1B2D4A;
  --ink:#EAF3F3;
  --muted:#8CA3B3;
  --gold:#C9A227;
  --gold-l:#E8C547;
  --teal:#0B9E9E;
  --teal-l:#3FE0E0;
  --line:rgba(11,158,158,.28);
  --card:rgba(14,31,51,.72);
  --radius:12px;
  --maxw:1240px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
.skip-link{position:absolute;left:-9999px;top:0;z-index:3000;background:var(--teal-l);color:#04121a;padding:.7rem 1.1rem;border-radius:0 0 8px 0;font-weight:600}
.skip-link:focus{left:0}
:where(a,button,summary):focus-visible{outline:2px solid var(--teal-l);outline-offset:3px;border-radius:4px}
body{
  font-family:'Outfit','Segoe UI',Arial,sans-serif;
  background:var(--navy);color:var(--ink);line-height:1.65;overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.mono{font-family:'Space Mono','Consolas',monospace}

/* ---------------- NAV ---------------- */
nav{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  display:flex;justify-content:space-between;align-items:center;
  padding:1rem 3rem;
  background:rgba(10,22,40,.92);backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(11,158,158,.18);
}
nav .logo{display:flex;align-items:center;gap:12px}
nav .logo img{height:38px}
nav .logo-text{font-weight:700;letter-spacing:.18em;font-size:1.05rem}
nav .logo-text span{color:var(--teal-l)}
.nav-links{display:flex;gap:2rem;list-style:none}
.nav-links a{font-size:.9rem;color:var(--muted);letter-spacing:.04em;transition:color .25s}
.nav-links a:hover,.nav-links a.active{color:var(--teal-l)}
.nav-cta{
  background:var(--teal);color:#04121a;padding:.6rem 1.3rem;border-radius:6px;
  font-weight:600;font-size:.9rem;transition:.25s;
}
.nav-cta:hover{background:var(--teal-l);transform:translateY(-2px)}
.nav-toggle{display:none;background:none;border:0;color:var(--ink);font-size:1.5rem;cursor:pointer}

/* ---------------- HERO ---------------- */
.hero{
  min-height:92vh;display:flex;align-items:center;
  padding:8rem 0 4rem;position:relative;overflow:hidden;
  background:
    radial-gradient(1000px 700px at 65% 45%, #0E1F33 0%, #08121f 66%, #050b12 100%);
}
.hero-grid{
  max-width:var(--maxw);margin:0 auto;padding:0 3rem;
  display:grid;grid-template-columns:1fr 1.05fr;gap:3rem;align-items:center;width:100%;
}
.eyebrow{
  font-family:'Space Mono',monospace;font-size:.8rem;letter-spacing:.24em;
  text-transform:uppercase;color:var(--teal-l);margin-bottom:1rem;
}
.hero h1{
  font-size:clamp(2.4rem,5.2vw,4rem);font-weight:800;line-height:1.08;
  letter-spacing:-.02em;margin-bottom:1.2rem;
}
.hero h1 .hl{
  background:linear-gradient(120deg,var(--teal-l),var(--teal));
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.hero p.lead{font-size:1.15rem;color:#C7D6DA;max-width:560px;margin-bottom:2rem}
.hero-cta{display:flex;gap:1rem;flex-wrap:wrap}
.btn{padding:.9rem 1.7rem;border-radius:8px;font-weight:600;font-size:.98rem;transition:.28s;display:inline-block}
.btn-primary{background:var(--teal);color:#04121a}
.btn-primary:hover{background:var(--teal-l);transform:translateY(-3px);box-shadow:0 12px 30px rgba(63,224,224,.25)}
.btn-ghost{border:1px solid var(--line);color:var(--ink)}
.btn-ghost:hover{border-color:var(--teal-l);color:var(--teal-l)}
.hero-visual{position:relative}
.hero-visual img{
  border-radius:16px;border:1px solid var(--line);
  box-shadow:0 30px 80px rgba(0,0,0,.55);
}
.hero-note{
  position:absolute;bottom:-14px;left:24px;font-size:.72rem;color:var(--muted);
  border:1px solid var(--line);border-radius:999px;padding:.3rem .8rem;background:rgba(5,12,20,.85);
}
.scan-points{position:absolute;inset:0;pointer-events:none;z-index:2}
.scan-point{
  position:absolute;left:var(--x);top:var(--y);width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-radius:50%;
  background:var(--teal-l);box-shadow:0 0 0 2px rgba(63,224,224,.25),0 0 14px rgba(63,224,224,.85);
  pointer-events:auto;
}
.scan-point::before{
  content:'';position:absolute;inset:-8px;border-radius:50%;border:1px solid rgba(63,224,224,.6);
  animation:scanPulse 2.8s ease-out infinite;animation-delay:var(--d,0s);
}
.scan-point::after{
  content:attr(data-tip);position:absolute;bottom:16px;left:50%;
  transform:translateX(-50%) translateY(4px);white-space:nowrap;
  background:rgba(5,12,20,.94);border:1px solid var(--line);color:#eafffb;
  font-family:'Space Mono',monospace;font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;
  padding:.35rem .6rem;border-radius:8px;opacity:0;transition:opacity .25s,transform .25s;
  pointer-events:none;z-index:5;
}
.scan-point:hover::after{opacity:1;transform:translateX(-50%) translateY(0)}
@keyframes scanPulse{0%{transform:scale(.5);opacity:1}75%{transform:scale(1.9);opacity:0}100%{transform:scale(1.9);opacity:0}}
.scan-point.mini{
  width:5px;height:5px;margin:-2.5px 0 0 -2.5px;opacity:.75;
  box-shadow:0 0 0 1.5px rgba(63,224,224,.2),0 0 10px rgba(63,224,224,.7);
}
.scan-point.mini::before{inset:-6px}
@media (prefers-reduced-motion:reduce){.scan-point::before{animation:none}}
@media (max-width:760px){
  .scan-point{width:7px;height:7px;margin:-3.5px 0 0 -3.5px}
  .scan-point.mini{width:4px;height:4px;margin:-2px 0 0 -2px}
  .scan-point::after{display:none}
}

/* ---------------- FULL-BLEED HERO ---------------- */
.hero-full{
  position:relative;min-height:100vh;display:flex;align-items:center;overflow:hidden;
  padding:9rem 3rem 8rem;
}
.hero-full-bg{position:absolute;inset:0;z-index:0}
.hero-full-bg img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(1.05)}
.hero-full-overlay{
  position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(90deg, rgba(4,9,15,.97) 0%, rgba(4,9,15,.90) 40%, rgba(4,9,15,.42) 70%, rgba(4,9,15,.62) 100%),
    linear-gradient(180deg, rgba(4,9,15,.80) 0%, rgba(4,9,15,.10) 40%, rgba(4,9,15,.88) 100%);
}
.hero-full-content{position:relative;z-index:3;max-width:760px}
.hero-full-content h1{
  font-size:clamp(2.5rem,6vw,5rem);font-weight:800;line-height:1.04;
  letter-spacing:-.025em;margin-bottom:1.3rem;
}
.hero-full-content h1 .hl{
  background:linear-gradient(120deg,var(--teal-l),var(--teal));
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.hero-full-content .lead{font-size:clamp(1.1rem,1.8vw,1.5rem);color:#DCEAEA;max-width:640px;margin-bottom:2.2rem;font-weight:400}
.hero-full-strip{
  position:absolute;left:3rem;right:3rem;bottom:2.2rem;z-index:3;
  display:flex;gap:3rem;flex-wrap:wrap;
  border-top:1px solid var(--line);padding-top:1.4rem;
}
.hero-full .hero-note{
  position:absolute;right:3rem;bottom:6.5rem;top:auto;left:auto;z-index:3;
}

/* centered variant â€ huge image, centered text */
.hero-center{justify-content:center;text-align:center;min-height:104vh;padding:10rem 2rem 11rem}
.hero-center .hero-full-bg img{object-position:center 42%}
.hero-center .hero-full-overlay{
  background:
    radial-gradient(ellipse 820px 600px at 50% 44%, rgba(4,9,15,.95) 0%, rgba(4,9,15,.78) 45%, rgba(4,9,15,.34) 100%),
    linear-gradient(180deg, rgba(4,9,15,.82) 0%, rgba(4,9,15,.30) 40%, rgba(4,9,15,.94) 100%);
}
.hero-center-content{position:relative;z-index:3;max-width:1000px;margin:0 auto}
.hero-center-content h1{
  font-size:clamp(2.6rem,6.4vw,5.4rem);line-height:1.05;
  text-shadow:0 6px 40px rgba(0,0,0,.75);
}
.hero-center-content .lead{
  font-size:clamp(1.15rem,2vw,1.7rem);max-width:760px;margin:0 auto 2.4rem;
  text-shadow:0 3px 22px rgba(0,0,0,.8);
}
.hero-center-content .eyebrow{display:inline-block}
.hero-center .hero-full-strip{
  left:50%;transform:translateX(-50%);justify-content:center;
  width:min(1100px,90vw);gap:4rem;
}
.hero-center .hero-note{right:50%;transform:translateX(50%);bottom:0.6rem;top:auto}

/* ---------------- SCANNER-GATE HERO ---------------- */
.hero-gate{
  --gateW:min(62vh,520px,38vw);
  position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:center;overflow:hidden;
  padding:9rem 3rem 8rem;
  background:#010711;
}
/* image embedded whole (head to feet), centered in the hero; text hugs it from both sides */
.hero-gate-bg{position:absolute;inset:0;z-index:0;display:flex;justify-content:center;align-items:center;pointer-events:none}
.hero-gate-bg img,.hero-gate-bg video{
  height:var(--gateW);width:auto;max-width:none;object-fit:contain;object-position:center bottom;
  -webkit-mask-image:radial-gradient(75% 75% at 50% 50%, #000 48%, transparent 90%);
  mask-image:radial-gradient(75% 75% at 50% 50%, #000 48%, transparent 90%);
}
.hero-gate-overlay{
  position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(90deg, rgba(4,9,15,.93) 0%, rgba(4,9,15,.78) 30%, rgba(4,9,15,.12) 55%, rgba(4,9,15,.02) 72%, rgba(4,9,15,.25) 100%),
    linear-gradient(180deg, rgba(4,9,15,.55) 0%, rgba(4,9,15,0) 32%, rgba(4,9,15,.72) 86%, rgba(4,9,15,.95) 100%);
}
/* brand heading centered above the image */
.hero-gate-head{position:absolute;z-index:4;top:6.8rem;left:3rem;right:3rem;text-align:center}
.hero-gate-head .eyebrow{margin-bottom:.55rem}
.hero-gate-head h1{
  font-size:clamp(2.2rem,3.4vw,3.2rem);font-weight:800;line-height:1.05;
  letter-spacing:-.02em;margin:0;text-shadow:0 6px 34px rgba(0,0,0,.75);
}
.hero-gate-head .hero-sub{
  margin:.55rem 0 0;font-size:clamp(.9rem,1.25vw,1.05rem);font-weight:500;letter-spacing:.05em;
  color:#BFD8D8;text-shadow:0 2px 14px rgba(0,0,0,.7);
}
.hero-gate-head h1 .hl{
  background:linear-gradient(120deg,var(--teal-l),var(--teal));
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
/* text and rail anchored to the image edges: offset from center by half image width + gap */
.hero-gate-content{position:absolute;z-index:4;top:50%;transform:translateY(-50%);right:calc(50% + var(--gateW)/2 + 2.6rem);width:min(520px,calc(50vw - var(--gateW)/2 - 4.5rem))}
.hero-gate-content h2{
  font-size:clamp(1.35rem,1.9vw,1.8rem);font-weight:800;line-height:1.18;
  margin-bottom:.5rem;text-shadow:0 4px 26px rgba(0,0,0,.75);
}
.hero-gate-content h2 .hl{
  background:linear-gradient(120deg,var(--teal-l),var(--teal));
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.hero-gate-content .tagline{font-size:clamp(.98rem,1.3vw,1.15rem);font-weight:600;line-height:1.25;color:#F2F7F7;margin:0 0 1.1rem;text-shadow:0 4px 24px rgba(0,0,0,.75)}
.hero-gate-content .tagline .hl{
  background:linear-gradient(120deg,var(--teal-l),var(--teal));
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.hero-benefits{list-style:none;margin:0 0 1.5rem;padding:0;display:flex;flex-direction:column;gap:.55rem}
.hero-benefits li{
  padding:.6rem .85rem;background:rgba(6,15,24,.6);border:1px solid var(--line);
  border-left:2px solid var(--teal);border-radius:10px;backdrop-filter:blur(6px);
}
.hero-benefits .bt{display:block;font-size:.95rem;font-weight:700;color:#F2F7F7;margin-bottom:.15rem}
.hero-benefits .bw{display:block;font-size:.82rem;line-height:1.42;color:var(--muted)}
.hero-gate-content .lead{font-size:clamp(1.05rem,1.6vw,1.35rem);color:#DCEAEA;max-width:540px;margin-bottom:2rem;text-shadow:0 3px 20px rgba(0,0,0,.8)}
.hero-gate-strip{
  position:absolute;left:3rem;right:3rem;bottom:2.2rem;z-index:4;
  display:flex;gap:3rem;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:1.3rem;
}
.hero-gate .hero-note{position:absolute;left:3rem;bottom:0.5rem;top:auto;right:auto;z-index:4}

/* symbol rail â€ right side, organ targets */
.symbol-rail{
  position:absolute;left:calc(50% + var(--gateW)/2 + 2.6rem);right:auto;top:50%;transform:translateY(-50%);z-index:4;
  display:flex;flex-direction:column;gap:.7rem;
}
.symbol-rail .sym{
  cursor:pointer;
  display:flex;align-items:center;gap:.8rem;
  background:rgba(6,15,24,.72);border:1px solid var(--line);border-radius:12px;
  padding:.5rem .9rem .5rem .6rem;backdrop-filter:blur(8px);
  transition:.3s;cursor:default;
}
.symbol-rail .sym:hover{border-color:var(--teal-l);transform:translateX(-6px)}
.rail-label{font-family:'Space Mono',monospace;font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;color:var(--teal-l);text-align:right;margin-bottom:.1rem}
/* rail explainer video modal */
.video-modal{position:fixed;inset:0;z-index:90;display:none;align-items:center;justify-content:center;background:rgba(2,8,14,.85);backdrop-filter:blur(6px)}
.video-modal.open{display:flex}
.video-modal .vm-box{width:min(720px,92vw);background:#050d18;border:1px solid var(--line);border-radius:14px;padding:1.4rem 1.5rem;box-shadow:0 30px 80px rgba(0,0,0,.6)}
.vm-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}
.vm-title{font-weight:700;font-size:1.05rem}
.vm-close{background:none;border:0;color:var(--muted);font-size:1.6rem;cursor:pointer;line-height:1}
.vm-stage{aspect-ratio:16/9;border:1px dashed rgba(255,255,255,.18);border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.4rem;color:var(--muted);font-size:.9rem;text-align:center;padding:1rem}
.vm-stage svg{width:44px;height:44px;stroke:var(--teal-l);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.vm-stage b{color:#F2F7F7}
.symbol-rail .sym img{width:44px;height:44px;border-radius:8px;object-fit:cover;border:1px solid rgba(255,255,255,.08)}
.symbol-rail .sym .ic{
  width:44px;height:44px;border-radius:8px;flex:none;display:flex;align-items:center;justify-content:center;
  background:rgba(11,158,158,.12);border:1px solid var(--line);
}
.symbol-rail .sym .ic svg{width:26px;height:26px;stroke:var(--teal-l);fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.symbol-rail .sym .tx{display:flex;flex-direction:column;line-height:1.15;text-align:left}
.symbol-rail .sym .nm{font-size:.92rem;font-weight:600}
.symbol-rail .sym .sb{font-size:.72rem;color:var(--muted)}

@media(max-width:1100px){
  .symbol-rail{display:none}
  /* tablet: center the whole image behind the content, calmed for readability */
  .hero-gate{--gateW:min(62vh,540px,44vw)}
  .hero-gate-bg{justify-content:center}
  .hero-gate-bg img,.hero-gate-bg video{opacity:.5}
  .hero-gate-content{right:auto;left:3rem;width:min(520px,calc(100vw - 6rem))}
}

/* ---------------- SECTIONS ---------------- */
section{padding:5.5rem 3rem}
.wrap{max-width:var(--maxw);margin:0 auto}
.sec-label{
  font-family:'Space Mono',monospace;font-size:.78rem;letter-spacing:.22em;
  text-transform:uppercase;color:var(--teal-l);margin-bottom:.9rem;
}
.sec-title{font-size:clamp(1.7rem,3.6vw,2.6rem);font-weight:700;line-height:1.15;margin-bottom:1rem}
.sec-sub{color:var(--muted);font-size:1.05rem;max-width:720px}
.sec-head{max-width:760px;margin-bottom:3rem}
.center{text-align:center;margin-left:auto;margin-right:auto}
.alt{background:var(--navy-2)}

/* ---------------- CARDS / GRIDS ---------------- */
.grid{display:grid;gap:1.6rem}
.g2{grid-template-columns:repeat(2,1fr)}
.g3{grid-template-columns:repeat(3,1fr)}
.g4{grid-template-columns:repeat(4,1fr)}
.card{
  background:var(--card);border:1px solid rgba(255,255,255,.05);
  border-radius:var(--radius);padding:1.7rem;position:relative;overflow:hidden;transition:.35s;
}
.card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--acc,var(--teal))}
.card:hover{transform:translateY(-6px);border-color:var(--line);box-shadow:0 18px 44px rgba(0,0,0,.4)}
.card h3{font-size:1.15rem;margin-bottom:.5rem}
.card p{color:var(--muted);font-size:.95rem}
.card .tag{
  display:inline-block;font-family:'Space Mono',monospace;font-size:.7rem;letter-spacing:.12em;
  text-transform:uppercase;color:var(--teal-l);margin-bottom:.7rem;
}
.card img{border-radius:10px;margin-bottom:1rem;border:1px solid rgba(255,255,255,.06)}

/* problem list */
.prob{border-left:3px solid var(--gold);background:rgba(201,162,39,.05);border-radius:0 10px 10px 0;padding:1.1rem 1.3rem}
.prob strong{color:var(--gold-l)}
.prob p{color:#CBD8DB;font-size:.95rem;margin-top:.2rem}
/* patient / clinician perspective blocks (compromise cards) */
.persp{margin-top:1.05rem;padding-left:1rem;border-left:2px solid var(--line)}
.persp .p-tag{display:block;font-family:'Space Mono',monospace;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--teal-l);margin-bottom:.3rem}
.persp p{color:var(--muted);font-size:.92rem;line-height:1.5}

/* stats */
.stats{display:flex;gap:3rem;flex-wrap:wrap;margin-top:2.5rem}
.stat .v{font-family:'Space Mono',monospace;font-size:2.2rem;font-weight:700;color:var(--teal-l);line-height:1}
.stat .l{font-size:.8rem;color:var(--muted);margin-top:.4rem}

/* media / video placeholder */
.media{
  position:relative;border-radius:14px;overflow:hidden;border:1px solid var(--line);
  background:linear-gradient(135deg,#0E1F33,#08121f);aspect-ratio:16/9;
  display:flex;align-items:center;justify-content:center;flex-direction:column;gap:.8rem;
}
.media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.5}
.media .play{
  position:relative;z-index:2;width:64px;height:64px;border-radius:50%;
  border:2px solid var(--teal-l);display:flex;align-items:center;justify-content:center;
  background:rgba(5,12,20,.6);
}
.media .play::after{content:'';border-left:18px solid var(--teal-l);border-top:11px solid transparent;border-bottom:11px solid transparent;margin-left:5px}
.media .cap{position:relative;z-index:2;font-family:'Space Mono',monospace;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--teal-l)}
.media .dur{position:absolute;bottom:12px;right:14px;z-index:2;font-size:.72rem;color:var(--muted);background:rgba(5,12,20,.75);padding:.2rem .6rem;border-radius:6px}
.vid-note{margin-top:.8rem;font-size:.85rem;color:var(--muted)}
.vid-note b{color:var(--teal-l)}

/* image placeholder */
.ph{
  border:1px dashed var(--line);border-radius:12px;aspect-ratio:1/1;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;
  background:repeating-linear-gradient(45deg,#0b1826,#0b1826 10px,#0d1d2c 10px,#0d1d2c 20px);
  text-align:center;padding:1rem;
}
.ph .k{font-family:'Space Mono',monospace;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-l)}
.ph .n{font-size:.85rem;color:var(--muted)}

/* table */
.tbl{width:100%;border-collapse:collapse;font-size:.92rem;margin-top:1rem}
.tbl th,.tbl td{padding:.9rem 1rem;text-align:left;border-bottom:1px solid rgba(255,255,255,.07)}
.tbl th{color:var(--teal-l);font-family:'Space Mono',monospace;font-size:.75rem;letter-spacing:.1em;text-transform:uppercase}
.tbl td{color:#C7D6DA}
.tbl tr:hover td{background:rgba(11,158,158,.05)}
.yes{color:var(--teal-l)}.no{color:#e07070}

/* timeline */
.road{position:relative;padding-left:2rem;margin-top:1.5rem}
.road::before{content:'';position:absolute;left:6px;top:6px;bottom:6px;width:2px;background:var(--line)}
.road .item{position:relative;margin-bottom:1.8rem}
.road .item::before{content:'';position:absolute;left:-2rem;top:.45rem;width:14px;height:14px;border-radius:50%;background:var(--teal-l);box-shadow:0 0 0 4px rgba(63,224,224,.15)}
.road .item h4{font-size:1.05rem;margin-bottom:.25rem}
.road .item p{color:var(--muted);font-size:.93rem}

/* quote */
.quote{
  border-left:3px solid var(--teal);padding:1.2rem 1.6rem;background:rgba(11,158,158,.05);
  border-radius:0 12px 12px 0;font-size:1.15rem;color:#DCEAEA;
}

/* form */
.form{display:grid;gap:1.1rem;max-width:640px}
.form label{font-size:.85rem;color:var(--muted);margin-bottom:.3rem;display:block}
.form input,.form textarea,.form select{
  width:100%;padding:.85rem 1rem;border-radius:8px;border:1px solid rgba(255,255,255,.12);
  background:rgba(5,12,20,.6);color:var(--ink);font-family:inherit;font-size:.95rem;
}
.form input:focus,.form textarea:focus,.form select:focus{outline:none;border-color:var(--teal-l)}
.form textarea{min-height:130px;resize:vertical}

/* footer */
footer{background:#050b12;border-top:1px solid rgba(11,158,158,.15);padding:3rem}
.foot{max-width:var(--maxw);margin:0 auto;display:flex;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.foot .brand{font-weight:700;letter-spacing:.16em}
.foot .brand span{color:var(--teal-l)}
.foot-links{display:flex;gap:1.6rem;flex-wrap:wrap}
.foot-links a{color:var(--muted);font-size:.88rem}
.foot-links a:hover{color:var(--teal-l)}
.copy{max-width:var(--maxw);margin:2rem auto 0;color:#4d6172;font-size:.78rem;border-top:1px solid rgba(255,255,255,.06);padding-top:1.4rem}

/* mock badge */
.mock-badge{
  position:fixed;bottom:14px;left:14px;z-index:2000;
  font-family:'Space Mono',monospace;font-size:.68rem;letter-spacing:.1em;
  color:#04121a;background:var(--gold-l);padding:.35rem .7rem;border-radius:6px;opacity:.9;
}

/* ---------------- CREDIBILITY / SOURCES ---------------- */
.cred{
  display:grid;grid-template-columns:1.1fr .9fr;gap:2.4rem;align-items:center;
}
.cred-fig{
  background:linear-gradient(135deg,rgba(11,158,158,.10),rgba(201,162,39,.06));
  border:1px solid var(--line);border-radius:var(--radius);padding:1.8rem;
}
.cred-fig .big{font-family:'Space Mono',monospace;font-size:2rem;color:var(--teal-l);line-height:1.1}
.cred-fig .lbl{color:var(--muted);font-size:.9rem;margin-top:.5rem}
.src-list{list-style:none;margin:1.4rem 0 0;padding:0;border-top:1px solid rgba(255,255,255,.07)}
.src-list li{padding:.7rem 0;border-bottom:1px solid rgba(255,255,255,.07);font-size:.9rem;color:#C7D6DA}
.src-list li b{color:var(--ink)}
.src-list a{color:var(--teal-l)}

/* ---------------- FAQ ---------------- */
.faq{max-width:820px;margin:0 auto}
.faq details{border:1px solid rgba(255,255,255,.08);border-radius:10px;background:var(--card);margin-bottom:.8rem;overflow:hidden}
.faq summary{
  cursor:pointer;list-style:none;padding:1.1rem 1.3rem;font-weight:600;font-size:1.02rem;
  display:flex;justify-content:space-between;align-items:center;gap:1rem;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';color:var(--teal-l);font-family:'Space Mono',monospace;font-size:1.3rem;line-height:1}
.faq details[open] summary::after{content:'\2212'}
.faq details p{padding:0 1.3rem 1.2rem;color:var(--muted);font-size:.95rem}
.faq details p .brief{color:var(--teal-l);font-weight:700;font-style:normal}

/* table wrapper â€ horizontal scroll on narrow screens */
.tbl-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* responsive (single consolidated block â€ keep last so it wins) */
@media(max-width:960px){
  nav{padding:.9rem 1.2rem}
  .nav-toggle{display:block}
  .hero-gate{
    min-height:auto;flex-direction:column;align-items:flex-start;justify-content:center;
    padding:6.5rem 1.2rem 1.6rem;
  }
  .hero-gate-bg{display:block}
  .hero-gate-bg img,.hero-gate-bg video{width:100%;height:100%;object-fit:cover;object-position:50% 15%;opacity:1}
  .hero-gate-head{position:static;left:auto;right:auto;text-align:left;margin:0 0 1.2rem}
  .hero-gate-head h1{font-size:clamp(1.9rem,8.5vw,2.7rem);text-shadow:0 4px 22px rgba(0,0,0,.85)}
  .hero-gate-content{position:static;transform:none;right:auto;width:auto;max-width:100%}
  .hero-gate-content .tagline{font-size:1.02rem;margin:0 0 .9rem}
  .hero-gate-content .lead{font-size:1rem;max-width:100%;margin-bottom:1.4rem}
  .hero-cta{display:flex;gap:.7rem;width:100%;margin-bottom:1.6rem}
  .hero-cta .btn{flex:1 1 0;text-align:center;padding:.8rem .6rem;font-size:.9rem}
  .hero-gate-strip{
    position:static;left:auto;right:auto;bottom:auto;
    display:grid;grid-template-columns:repeat(2,1fr);gap:1rem .9rem;
    border-top:1px solid var(--line);padding-top:1.2rem;margin-top:0;width:100%;
  }
  .hero-gate-strip .stat .v{font-size:1.5rem}
  .hero-gate-strip .stat .l{font-size:.7rem;line-height:1.3}
  .hero-gate .hero-note{
    position:static;left:auto;bottom:auto;right:auto;
    display:inline-block;margin-top:1rem;font-size:.68rem;
  }
  .hero-gate-overlay{
    background:linear-gradient(180deg, rgba(4,9,15,.72) 0%, rgba(4,9,15,.55) 35%, rgba(4,9,15,.92) 70%, rgba(4,9,15,.99) 100%);
  }
  section{padding:3.5rem 1.2rem}
  .sec-head{margin-bottom:2rem}
  .grid{gap:1.1rem}
  .hero-grid,.g2,.g3,.g4{grid-template-columns:1fr}
  .hero-grid{padding:0 1.2rem;gap:2rem}
  .hero-visual img{height:auto}
  .stats{gap:1.4rem}
  section > .wrap[style*="grid-template-columns:1.15fr"]{grid-template-columns:1fr}
  /* --- merged from former duplicate blocks (now consolidated, last wins) --- */
  /* hero-center */
  .hero-center{padding:8rem 1.4rem 12rem}
  .hero-center .hero-full-strip{width:94vw;gap:1.4rem}
  .hero-center .hero-note{bottom:auto;top:6.5rem;transform:translateX(50%)}
  /* hero-full */
  .hero-full{padding:7rem 1.4rem 9rem}
  .hero-full-strip{left:1.4rem;right:1.4rem;bottom:1.2rem;gap:1.4rem}
  .hero-full .hero-note{right:1.4rem;bottom:auto;top:6.5rem}
  .hero-full-overlay{
    background:linear-gradient(180deg, rgba(5,11,18,.92) 0%, rgba(5,11,18,.72) 45%, rgba(5,11,18,.95) 100%);
  }
  /* credibility */
  .cred{grid-template-columns:1fr;gap:1.4rem}
  /* mobile nav panel */
  .nav-links{
    display:none;position:absolute;top:100%;left:0;right:0;
    flex-direction:column;gap:0;background:rgba(10,22,40,.98);backdrop-filter:blur(16px);
    border-bottom:1px solid var(--line);padding:.4rem 0;z-index:1200;
  }
  .nav-links.open{display:flex !important}
  .nav-links li{width:100%}
  .nav-links a{padding:.95rem 1.6rem;font-size:1rem;display:block}
  nav{flex-wrap:wrap}
  /* tables scroll horizontally instead of overflowing */
  .tbl-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
}

/* hero film â€ plays once per load; replay control */
.hero-gate-bg video,.hero-replay{pointer-events:auto}
.hero-gate-bg video{cursor:pointer}
.hero-vid-btn{
  position:absolute;z-index:8;left:50%;bottom:14%;transform:translateX(-50%);
  width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:rgba(4,9,15,.72);border:1px solid rgba(63,224,224,.55);color:#8FF0F0;
  opacity:0;visibility:hidden;transition:opacity .35s ease, visibility .35s;cursor:pointer;pointer-events:auto;
}
.hero-vid-btn svg{width:26px;height:26px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hero-vid-btn.show{opacity:1;visibility:visible}
.hero-vid-btn.done{background:rgba(11,158,158,.30)}
.hero-vid-btn:hover{background:rgba(11,158,158,.35)}
.hero-replay svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hero-replay.show{opacity:1;visibility:visible}
.hero-replay:hover{background:rgba(11,158,158,.35)}

/* explainer modal â€” video vs placeholder */
.vm-stage video{display:none;width:100%;height:100%;border-radius:10px;background:#050b12}
.vm-stage.no-video video{display:none!important}
.vm-stage:not(.no-video) video{display:block}
.vm-stage:not(.no-video) svg,.vm-stage:not(.no-video) b,.vm-stage:not(.no-video) span{display:none}

/* ---- mobile: hero becomes a stacked page — visible video card + video menu grid ---- */
@media (max-width:760px){
  .hero-gate{
    display:flex;flex-direction:column;align-items:center;
    min-height:0;padding:4.2rem 1.1rem 2.5rem;
  }
  .hero-gate-head{position:static;order:1;padding:0 .2rem}
  .hero-gate-head .hero-sub{margin:.5rem auto 0;max-width:34rem}
  .hero-gate-bg{position:relative;order:2;inset:auto;margin:1.5rem 0 .4rem;pointer-events:auto;justify-content:center}
  .hero-gate-bg video{
    height:auto;width:min(66vw,290px);max-height:44vh;object-fit:contain;
    -webkit-mask-image:none;mask-image:none;
    border:1px solid var(--line);border-radius:16px;background:#02070f;
  }
  .hero-gate-overlay{display:none}
  .hero-gate-content{position:static;transform:none;order:3;width:100%;max-width:34rem;margin:1.2rem auto 0}
  .symbol-rail{
    display:flex !important;flex-direction:row;flex-wrap:wrap;justify-content:center;
    position:static;transform:none;order:4;
    overflow:visible;
    gap:.5rem;width:100%;max-width:34rem;padding:1.3rem .2rem .4rem;margin:0 auto;
  }
  .rail-label{width:100%;text-align:center;margin:0 0 .4rem;white-space:normal}
  .symbol-rail .sym{flex:none;flex-direction:column;justify-content:center;gap:.35rem;width:102px;padding:.6rem .4rem}
  .symbol-rail .sym:hover{transform:none}
  .symbol-rail .sym .tx{align-items:center}
  .symbol-rail .sym .nm{font-size:.75rem;text-align:center}
  .symbol-rail .sym .sb{font-size:.6rem;text-align:center}
  .symbol-rail .sym .ic{width:40px;height:40px}
  .symbol-rail .sym .ic svg{width:22px;height:22px}
  .hero-gate-strip{position:static;order:5;gap:1.4rem;margin-top:1.8rem}
  .hero-gate .hero-note{position:static;order:6;margin-top:.9rem}
  .hero-vid-btn{position:static;order:7;margin:.9rem auto 0;transform:none}
}
