:root {
  --brand-navy:#0B1B2B;
  --brand-blue:#1E63FF;
  --max:1240px;
  --radius:14px;
  --font:"Segoe UI Variable","Segoe UI",Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  --mono:"Cascadia Code","SFMono-Regular",Consolas,monospace;
  --ease:cubic-bezier(.2,.75,.25,1);
}
html[data-theme="dark"] {
  --bg:#07131E;
  --bg-2:#0A1825;
  --surface:#0D1E2D;
  --surface-2:#102434;
  --text:#EEF4F8;
  --muted:#8FA1B1;
  --muted-2:#64788A;
  --line:rgba(184,211,230,.13);
  --line-strong:rgba(184,211,230,.23);
  --soft-blue:rgba(30,99,255,.13);
  --shadow:0 30px 90px rgba(0,0,0,.22);
  color-scheme:dark;
}
html[data-theme="light"] {
  --bg:#F6F8FB;
  --bg-2:#FFFFFF;
  --surface:#FFFFFF;
  --surface-2:#EEF3F8;
  --text:#0B1B2B;
  --muted:#5F7081;
  --muted-2:#82909E;
  --line:rgba(11,27,43,.10);
  --line-strong:rgba(11,27,43,.18);
  --soft-blue:rgba(30,99,255,.08);
  --shadow:0 26px 70px rgba(15,35,55,.08);
  color-scheme:light;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-width:320px;
  font-family:var(--font);
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  transition:background .35s var(--ease),color .35s var(--ease);
}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{color:inherit}
svg{display:block}
::selection{background:var(--brand-blue);color:#fff}

.shell{width:min(calc(100% - 40px),var(--max));margin-inline:auto}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid var(--line);
  background:color-mix(in srgb,var(--bg) 87%,transparent);
  backdrop-filter:blur(18px);
}
.topbar-inner{
  min-height:72px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:720;
  letter-spacing:-.035em;
  font-size:18px;
}
.logo-box{
  width:38px;height:38px;
  padding:5px;
  background:#fff;
  border:1px solid rgba(11,27,43,.08);
  border-radius:9px;
  overflow:hidden;
}
.logo-box img{width:100%;height:100%;object-fit:contain;display:block}
.navlinks{
  display:flex;
  justify-content:center;
  gap:26px;
}
.navlinks a{
  color:var(--muted);
  font-size:12px;
  font-weight:650;
  transition:color .2s ease;
}
.navlinks a:hover{color:var(--text)}
.nav-actions{display:flex;align-items:center;gap:10px}
.theme-toggle{
  width:42px;height:42px;
  display:grid;place-items:center;
  border:1px solid var(--line);
  border-radius:10px;
  background:transparent;
  cursor:pointer;
}
.theme-toggle:hover{border-color:var(--line-strong)}
.theme-icon{font-size:16px;line-height:1}
.nav-cta{
  min-height:42px;
  padding:0 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--brand-blue);
  color:#fff;
  border-radius:10px;
  font-size:11px;
  font-weight:750;
  letter-spacing:.01em;
}

.hero{
  padding:72px 0 66px;
  border-bottom:1px solid var(--line);
}
.hero-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:72px;
  align-items:center;
}
.eyebrow,.section-tag{
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--muted);
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.status-dot{
  width:7px;height:7px;border-radius:50%;
  background:var(--brand-blue);
  box-shadow:0 0 14px color-mix(in srgb,var(--brand-blue) 65%,transparent);
}
.hero h1{
  max-width:650px;
  margin:22px 0 20px;
  font-size:clamp(44px,5.8vw,78px);
  line-height:.98;
  letter-spacing:-.06em;
  font-weight:720;
}
.hero h1 span{color:var(--brand-blue)}
.hero-copy>p{
  max-width:600px;
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.72;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px;
}
.button{
  min-height:46px;
  padding:0 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:10px;
  font-size:12px;
  font-weight:720;
}
.button.primary{background:var(--brand-blue);color:#fff}
.button.secondary{border:1px solid var(--line-strong);background:var(--surface)}
.button:hover{transform:translateY(-1px)}
.hero-notes{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  margin-top:42px;
  padding-top:20px;
  border-top:1px solid var(--line);
}
.hero-notes div{min-width:130px}
.hero-notes small{
  display:block;
  margin-bottom:5px;
  color:var(--muted-2);
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.hero-notes strong{font-size:12px;font-weight:650}

.hero-panel{
  min-height:500px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.panel-head{
  min-height:48px;
  padding:0 15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  color:var(--muted);
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.panel-live{display:flex;align-items:center;gap:7px;color:var(--brand-blue)}
.panel-live i{width:6px;height:6px;border-radius:50%;background:var(--brand-blue)}
.signal-wrap{
  position:relative;
  height:300px;
  background:
    linear-gradient(var(--line) 1px,transparent 1px),
    linear-gradient(90deg,var(--line) 1px,transparent 1px);
  background-size:40px 40px;
  overflow:hidden;
}
#signalCanvas{width:100%;height:100%;display:block}
.signal-overlay{
  position:absolute;
  inset:12px 14px auto;
  display:flex;
  justify-content:space-between;
  color:var(--muted-2);
  font-family:var(--mono);
  font-size:8px;
  pointer-events:none;
}
.signal-tabs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line);
}
.signal-tab{
  min-height:46px;
  border:0;
  border-right:1px solid var(--line);
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  font-size:10px;
  font-weight:680;
}
.signal-tab:last-child{border-right:0}
.signal-tab.active{background:var(--soft-blue);color:var(--brand-blue)}
.panel-foot{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line);
}
.panel-stat{
  padding:14px;
  border-right:1px solid var(--line);
}
.panel-stat:last-child{border-right:0}
.panel-stat small{
  display:block;
  margin-bottom:6px;
  color:var(--muted-2);
  font-family:var(--mono);
  font-size:8px;
  text-transform:uppercase;
}
.panel-stat strong{font-size:11px;font-weight:650}

.section{padding:110px 0}
.section-head{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:70px;
  align-items:end;
  margin-bottom:55px;
}
.section-title h2{
  margin:17px 0 0;
  max-width:600px;
  font-size:clamp(34px,4.5vw,58px);
  line-height:1.03;
  letter-spacing:-.055em;
  font-weight:710;
}
.section-copy{
  max-width:520px;
  justify-self:end;
  color:var(--muted);
  font-size:14px;
  line-height:1.72;
}

.system-flow{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line-strong);
  border-bottom:1px solid var(--line-strong);
}
.flow-step{
  min-height:250px;
  padding:24px 22px;
  border-right:1px solid var(--line);
  position:relative;
}
.flow-step:last-child{border-right:0}
.flow-number{
  color:var(--muted-2);
  font-family:var(--mono);
  font-size:9px;
}
.flow-icon{
  width:42px;height:42px;
  margin:46px 0 24px;
  display:grid;place-items:center;
  border:1px solid var(--line-strong);
  border-radius:50%;
  color:var(--brand-blue);
  font-family:var(--mono);
  font-size:13px;
}
.flow-step h3{margin:0 0 9px;font-size:18px;letter-spacing:-.03em}
.flow-step p{margin:0;color:var(--muted);font-size:12px;line-height:1.65}
.flow-arrow{
  position:absolute;
  top:50%;
  right:-8px;
  z-index:2;
  width:16px;height:16px;
  display:grid;place-items:center;
  background:var(--bg);
  color:var(--muted-2);
  font-size:11px;
}

.dashboard{
  background:var(--bg-2);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.dashboard-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
}
.card{
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:var(--radius);
}
.card-head{
  min-height:48px;
  padding:0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
}
.card-head strong{font-size:12px;letter-spacing:-.01em}
.card-head span{
  color:var(--muted-2);
  font-family:var(--mono);
  font-size:8px;
  text-transform:uppercase;
}

.pipeline{padding:4px 18px 12px}
.pipeline-row{
  min-height:76px;
  display:grid;
  grid-template-columns:44px 1fr auto;
  gap:14px;
  align-items:center;
  border-bottom:1px solid var(--line);
}
.pipeline-row:last-child{border-bottom:0}
.pipeline-index{
  color:var(--muted-2);
  font-family:var(--mono);
  font-size:9px;
}
.pipeline-row strong{display:block;font-size:13px;margin-bottom:5px}
.pipeline-row small{color:var(--muted);font-size:10px}
.status{
  padding:6px 9px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  font-family:var(--mono);
  font-size:8px;
  text-transform:uppercase;
}
.status.active{border-color:color-mix(in srgb,var(--brand-blue) 50%,var(--line));color:var(--brand-blue);background:var(--soft-blue)}

.mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.mini-card{min-height:188px;padding:18px}
.mini-card small{
  color:var(--muted-2);
  font-family:var(--mono);
  font-size:8px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.mini-card h3{margin:18px 0 8px;font-size:20px;letter-spacing:-.04em}
.mini-card p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}
.mini-chart{height:58px;margin-top:20px}
.mini-chart svg{width:100%;height:100%}
.mini-chart path{fill:none;stroke:var(--brand-blue);stroke-width:2;vector-effect:non-scaling-stroke}
.mini-chart .ghost{stroke:var(--line-strong)}

.roadmap{
  position:relative;
}
.roadmap-track{
  position:relative;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  padding-top:22px;
}
.roadmap-line{
  position:absolute;
  left:0;right:0;top:28px;height:1px;background:var(--line-strong);
}
.milestone{
  position:relative;
  padding:30px 34px 0 0;
}
.milestone-dot{
  position:absolute;
  top:0;left:0;
  width:13px;height:13px;
  border-radius:50%;
  border:2px solid var(--muted-2);
  background:var(--bg);
}
.milestone.current .milestone-dot{border-color:var(--brand-blue);background:var(--brand-blue)}
.milestone small{
  color:var(--brand-blue);
  font-family:var(--mono);
  font-size:8px;
  text-transform:uppercase;
}
.milestone h3{margin:12px 0 8px;font-size:17px;letter-spacing:-.03em}
.milestone p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}

.goals-layout{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:72px;
}
.goal-statement{
  min-height:390px;
  padding:34px;
  border-radius:var(--radius);
  background:var(--brand-blue);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.goal-statement small{
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.09em;
  text-transform:uppercase;
  opacity:.7;
}
.goal-statement h2{
  margin:30px 0;
  max-width:500px;
  font-size:clamp(36px,4.4vw,58px);
  line-height:.98;
  letter-spacing:-.055em;
  font-weight:710;
}
.goal-statement p{max-width:470px;margin:0;font-size:12px;line-height:1.65;opacity:.78}
.goal-list{border-top:1px solid var(--line-strong)}
.goal-item{
  min-height:126px;
  display:grid;
  grid-template-columns:52px 1fr auto;
  gap:18px;
  align-items:center;
  border-bottom:1px solid var(--line);
}
.goal-item>span{
  color:var(--muted-2);
  font-family:var(--mono);
  font-size:9px;
}
.goal-item h3{margin:0 0 6px;font-size:17px;letter-spacing:-.03em}
.goal-item p{margin:0;color:var(--muted);font-size:11px}
.goal-item b{font-size:15px;color:var(--muted-2)}

.updates{
  background:var(--bg-2);
  border-top:1px solid var(--line);
}
.update-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.update{
  min-height:265px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
  display:flex;
  flex-direction:column;
}
.update-meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:var(--muted-2);
  font-family:var(--mono);
  font-size:8px;
  text-transform:uppercase;
}
.update h3{margin:62px 0 10px;font-size:19px;letter-spacing:-.035em}
.update p{margin:0;color:var(--muted);font-size:11px;line-height:1.62}
.update a{margin-top:auto;color:var(--brand-blue);font-size:10px;font-weight:700}

.whitelist{
  padding:90px 0;
  background:var(--brand-navy);
  color:#fff;
}
.whitelist-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
  align-items:center;
}
.whitelist h2{
  margin:15px 0 14px;
  max-width:570px;
  font-size:clamp(36px,4.6vw,60px);
  line-height:1;
  letter-spacing:-.055em;
  font-weight:710;
}
.whitelist p{
  max-width:520px;
  margin:0;
  color:rgba(255,255,255,.62);
  font-size:13px;
  line-height:1.68;
}
.whitelist-form{
  padding:24px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius);
  background:rgba(255,255,255,.04);
}
.whitelist-form label{
  display:block;
  margin-bottom:9px;
  color:rgba(255,255,255,.56);
  font-family:var(--mono);
  font-size:8px;
  text-transform:uppercase;
}
.email-row{display:grid;grid-template-columns:1fr auto;gap:8px}
.email-row input{
  min-width:0;
  height:48px;
  padding:0 13px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:9px;
  outline:none;
  background:rgba(255,255,255,.06);
  color:#fff;
}
.email-row input:focus{border-color:var(--brand-blue)}
.email-row button{
  border:0;
  padding:0 16px;
  border-radius:9px;
  background:var(--brand-blue);
  color:#fff;
  font-size:11px;
  font-weight:750;
  cursor:pointer;
}
.form-note{
  min-height:17px;
  margin-top:10px;
  color:rgba(255,255,255,.48);
  font-size:9px;
  line-height:1.5;
}

.follow-row{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:22px;
}
.follow-link{
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:8px;
  color:rgba(255,255,255,.7);
  font-size:9px;
  font-weight:650;
}

.footer{
  background:var(--brand-navy);
  color:rgba(255,255,255,.44);
  border-top:1px solid rgba(255,255,255,.08);
}
.footer-inner{
  min-height:115px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:20px;
  align-items:center;
  font-size:9px;
}
.footer-brand{display:flex;align-items:center;gap:9px;color:#fff;font-size:14px;font-weight:700}
.footer-brand .logo-box{width:32px;height:32px;border-radius:8px}
.footer-inner>span:last-child{justify-self:end}

.reveal{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .65s var(--ease),transform .65s var(--ease);
}
.reveal.visible{opacity:1;transform:none}

@media(max-width:980px){
  .navlinks{display:none}
  .topbar-inner{grid-template-columns:auto 1fr auto}
  .hero-grid,.section-head,.dashboard-grid,.goals-layout,.whitelist-grid{grid-template-columns:1fr}
  .hero-grid{gap:38px}
  .hero-panel{min-height:auto}
  .section-copy{justify-self:start}
  .system-flow{grid-template-columns:1fr 1fr}
  .flow-step:nth-child(2){border-right:0}
  .flow-step:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .flow-arrow{display:none}
  .roadmap-track{grid-template-columns:1fr 1fr;gap:44px 24px}
  .roadmap-line{display:none}
  .update-grid{grid-template-columns:1fr 1fr}
  .update:last-child{grid-column:1/-1}
}
@media(max-width:640px){
  .shell{width:min(calc(100% - 24px),var(--max))}
  .topbar-inner{min-height:64px}
  .nav-cta{display:none}
  .hero{padding:48px 0}
  .hero h1{font-size:48px}
  .hero-copy>p{font-size:14px}
  .hero-panel{border-radius:12px}
  .signal-wrap{height:240px}
  .panel-foot{grid-template-columns:1fr}
  .panel-stat{border-right:0;border-bottom:1px solid var(--line)}
  .panel-stat:last-child{border-bottom:0}
  .section{padding:82px 0}
  .section-head{gap:20px;margin-bottom:38px}
  .section-title h2{font-size:38px}
  .system-flow,.mini-grid,.roadmap-track,.update-grid{grid-template-columns:1fr}
  .flow-step{border-right:0;border-bottom:1px solid var(--line)}
  .flow-step:last-child{border-bottom:0}
  .update:last-child{grid-column:auto}
  .goal-statement{min-height:340px;padding:24px}
  .goal-item{grid-template-columns:38px 1fr}
  .goal-item b{display:none}
  .email-row{grid-template-columns:1fr}
  .email-row button{height:46px}
  .footer-inner{padding:28px 0;grid-template-columns:1fr}
  .footer-inner>span:last-child{justify-self:start}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .reveal{opacity:1;transform:none}
}

/* ---- V6.1: logo, links and multi-device responsive refinements ---- */

.mobile-menu-toggle{
  display:none;
  width:42px;
  height:42px;
  padding:0;
  border:1px solid var(--line);
  border-radius:10px;
  background:transparent;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;
}
.mobile-menu-toggle span{
  width:18px;
  height:1px;
  background:currentColor;
  transition:transform .2s ease, opacity .2s ease;
}
.mobile-menu-toggle.open span:first-child{transform:translateY(3.5px) rotate(45deg)}
.mobile-menu-toggle.open span:last-child{transform:translateY(-3.5px) rotate(-45deg)}

.mobile-menu{
  display:none;
  border-top:1px solid var(--line);
  background:var(--bg);
}
.mobile-menu.open{display:block}
.mobile-menu-inner{
  padding-block:14px 20px;
  display:grid;
  gap:2px;
}
.mobile-menu-inner>a{
  padding:13px 0;
  border-bottom:1px solid var(--line);
  font-size:14px;
  font-weight:650;
}
.mobile-socials{
  padding-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.mobile-socials a{
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:8px;
  color:var(--muted);
  font-size:10px;
}

.connect{
  border-top:1px solid var(--line);
}
.connect-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line-strong);
  border-bottom:1px solid var(--line-strong);
}
.connect-card{
  position:relative;
  min-height:205px;
  padding:24px;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  transition:background .2s ease, transform .2s ease;
}
.connect-card:last-child{border-right:0}
.connect-card:hover{
  background:var(--surface);
  transform:translateY(-2px);
}
.connect-label{
  color:var(--brand-blue);
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.connect-card strong{
  margin-top:auto;
  font-size:18px;
  letter-spacing:-.035em;
}
.connect-card small{
  margin-top:8px;
  color:var(--muted);
  font-size:10px;
}
.connect-card b{
  position:absolute;
  top:22px;
  right:22px;
  color:var(--muted-2);
  font-size:15px;
}

.footer-links{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
}
.footer-links a{
  color:rgba(255,255,255,.56);
  transition:color .2s ease;
}
.footer-links a:hover{color:#fff}

/* Large desktops / wide monitors */
@media(min-width:1440px){
  :root{--max:1320px}
  .hero{padding-top:82px;padding-bottom:76px}
  .hero-grid{grid-template-columns:.9fr 1.1fr;gap:86px}
  .hero-panel{min-height:530px}
  .signal-wrap{height:325px}
  .section{padding-block:124px}
}

/* Laptops / compact desktops */
@media(max-width:1180px){
  .hero-grid{gap:42px}
  .hero h1{font-size:clamp(42px,5.4vw,68px)}
  .section{padding-block:96px}
  .system-flow{grid-template-columns:repeat(2,1fr)}
  .flow-step:nth-child(2){border-right:0}
  .flow-step:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .flow-arrow{display:none}
  .connect-grid{grid-template-columns:repeat(2,1fr)}
  .connect-card:nth-child(2){border-right:0}
  .connect-card:nth-child(-n+2){border-bottom:1px solid var(--line)}
}

/* Tablets and smaller */
@media(max-width:980px){
  .navlinks{display:none}
  .nav-cta{display:none}
  .mobile-menu-toggle{display:flex}
  .hero-grid{
    grid-template-columns:1fr;
    gap:34px;
  }
  .hero-copy{max-width:720px}
  .hero-panel{width:100%}
  .dashboard-grid,
  .goals-layout,
  .whitelist-grid{grid-template-columns:1fr}
  .section-head{
    grid-template-columns:1fr;
    gap:20px;
  }
  .section-copy{justify-self:start}
  .roadmap-track{
    grid-template-columns:1fr 1fr;
    gap:42px 24px;
  }
  .roadmap-line{display:none}
  .update-grid{grid-template-columns:1fr 1fr}
  .update:last-child{grid-column:1/-1}
}

/* Portrait tablets / large phones */
@media(max-width:760px){
  .shell{width:min(calc(100% - 28px),var(--max))}
  .topbar-inner{min-height:66px}
  .brand{font-size:16px}
  .logo-box{width:35px;height:35px}
  .hero{padding:48px 0}
  .hero h1{font-size:clamp(40px,11vw,55px)}
  .hero-copy>p{font-size:14px}
  .hero-notes{display:grid;grid-template-columns:1fr 1fr;gap:16px}
  .signal-wrap{height:250px}
  .signal-tabs{grid-template-columns:1fr 1fr}
  .signal-tab:nth-child(2){border-right:0}
  .signal-tab:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .panel-foot{grid-template-columns:1fr 1fr}
  .panel-stat:nth-child(2){border-right:0}
  .panel-stat:last-child{
    grid-column:1/-1;
    border-top:1px solid var(--line);
    border-right:0;
  }
  .system-flow,
  .mini-grid,
  .roadmap-track,
  .update-grid,
  .connect-grid{grid-template-columns:1fr}
  .flow-step,
  .connect-card{
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .connect-card:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .connect-card:last-child{border-bottom:0}
  .update:last-child{grid-column:auto}
  .goal-statement{min-height:320px}
  .whitelist{padding-block:74px}
}

/* Small phones */
@media(max-width:480px){
  .shell{width:min(calc(100% - 20px),var(--max))}
  .topbar-inner{gap:12px}
  .theme-toggle,.mobile-menu-toggle{width:40px;height:40px}
  .hero{padding-top:36px}
  .hero h1{font-size:38px}
  .hero-actions{display:grid}
  .button{width:100%}
  .hero-notes{grid-template-columns:1fr}
  .panel-head{
    align-items:flex-start;
    gap:7px;
    padding-block:12px;
    flex-direction:column;
  }
  .signal-wrap{height:220px}
  .section{padding-block:70px}
  .section-title h2{font-size:34px}
  .flow-step{min-height:220px}
  .pipeline-row{
    grid-template-columns:32px 1fr;
    padding-block:14px;
  }
  .pipeline-row .status{
    grid-column:2;
    justify-self:start;
  }
  .goal-item{
    min-height:112px;
    grid-template-columns:34px 1fr;
  }
  .email-row{grid-template-columns:1fr}
  .email-row button{height:46px}
  .follow-row{display:grid}
  .follow-link{text-align:center}
  .footer-inner{
    padding-block:26px;
    grid-template-columns:1fr;
  }
  .footer-links{
    justify-content:flex-start;
    gap:10px 14px;
  }
  .footer-inner>span:last-child{justify-self:start}
}


/* ---- V6.2: contact email + YouTube + live Tally whitelist ---- */

.contact-section{
  border-top:1px solid var(--line);
  background:var(--bg);
}

.contact-layout{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:18px;
}

.contact-form,
.contact-info{
  padding:24px;
}

.contact-field{
  display:grid;
  gap:8px;
  margin-bottom:16px;
}

.contact-field label{
  color:var(--muted-2);
  font-family:var(--mono);
  font-size:8px;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.contact-field input,
.contact-field textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:9px;
  outline:none;
  background:var(--bg-2);
  color:var(--text);
  padding:12px 13px;
  transition:border-color .2s ease, background .2s ease;
}

.contact-field input{
  min-height:46px;
}

.contact-field textarea{
  resize:vertical;
  min-height:150px;
  line-height:1.55;
}

.contact-field input:focus,
.contact-field textarea:focus{
  border-color:var(--brand-blue);
}

.contact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:4px;
}

.contact-actions button{
  border:0;
  cursor:pointer;
}

.contact-note{
  margin-top:13px;
  color:var(--muted);
  font-size:9px;
  line-height:1.5;
}

.contact-info{
  min-height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.contact-email{
  display:block;
  margin-top:14px;
  color:var(--text);
  font-size:clamp(22px,3vw,34px);
  font-weight:700;
  letter-spacing:-.045em;
  overflow-wrap:anywhere;
}

.contact-info p{
  max-width:440px;
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
}

.contact-links-mini{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.contact-links-mini a{
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:8px;
  color:var(--muted);
  font-size:9px;
}

.contact-links-mini a:hover{
  color:var(--text);
  border-color:var(--line-strong);
}

.connect-grid{
  grid-template-columns:repeat(5,1fr);
}

.tally-card{
  padding:18px;
}

.tally-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(255,255,255,.12);
}

.tally-head>div{
  display:grid;
  gap:5px;
}

.tally-head strong{
  font-size:13px;
}

.tally-head a{
  color:rgba(255,255,255,.65);
  font-size:9px;
  white-space:nowrap;
}

.tally-embed-wrap{
  margin-top:14px;
  min-height:520px;
  overflow:hidden;
  border-radius:10px;
  background:#fff;
}

.tally-embed-wrap iframe{
  display:block;
  width:100%;
  min-height:520px;
  border:0;
  background:#fff;
}

.whitelist .form-note a{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:2px;
}

@media(max-width:1180px){
  .connect-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .connect-card:nth-child(2),
  .connect-card:nth-child(-n+2){
    border-right:1px solid var(--line);
    border-bottom:1px solid var(--line);
  }

  .connect-card:nth-child(3){
    border-right:0;
  }

  .connect-card:nth-child(-n+3){
    border-bottom:1px solid var(--line);
  }
}

@media(max-width:980px){
  .contact-layout{
    grid-template-columns:1fr;
  }

  .connect-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .connect-card:nth-child(odd){
    border-right:1px solid var(--line);
  }

  .connect-card:nth-child(even){
    border-right:0;
  }

  .connect-card:nth-child(-n+3){
    border-bottom:1px solid var(--line);
  }
}

@media(max-width:640px){
  .contact-form,
  .contact-info{
    padding:18px;
  }

  .contact-actions{
    display:grid;
  }

  .contact-actions .button{
    width:100%;
  }

  .connect-grid{
    grid-template-columns:1fr;
  }

  .connect-card,
  .connect-card:nth-child(odd),
  .connect-card:nth-child(even){
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  .connect-card:last-child{
    border-bottom:0;
  }

  .tally-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .tally-embed-wrap,
  .tally-embed-wrap iframe{
    min-height:590px;
  }
}


/* ---- V6.3 deployment hardening + separate whitelist page ---- */

.logo-box svg{
  width:100%;
  height:100%;
  display:block;
}

.whitelist-promo{
  padding:72px 0;
  background:var(--brand-navy);
  color:#fff;
  border-top:1px solid rgba(255,255,255,.08);
}

.whitelist-promo-inner{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:60px;
  align-items:center;
}

.whitelist-promo h2{
  margin:12px 0 12px;
  max-width:650px;
  font-size:clamp(32px,4.3vw,52px);
  line-height:1.02;
  letter-spacing:-.05em;
  font-weight:710;
}

.whitelist-promo p{
  max-width:650px;
  margin:0;
  color:rgba(255,255,255,.62);
  font-size:13px;
  line-height:1.68;
}

.whitelist-promo-actions{
  justify-self:end;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.whitelist-secondary{
  color:#fff;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.04);
}

.whitelist-secondary:hover{
  border-color:rgba(255,255,255,.35);
}

/* Dedicated whitelist page */
.whitelist-page-main{
  min-height:calc(100svh - 72px);
  padding:76px 0 100px;
}

.whitelist-page-hero{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:70px;
  align-items:start;
}

.whitelist-page-copy{
  position:sticky;
  top:110px;
}

.whitelist-page-copy h1{
  margin:20px 0 18px;
  max-width:560px;
  font-size:clamp(42px,5vw,68px);
  line-height:.98;
  letter-spacing:-.06em;
  font-weight:720;
}

.whitelist-page-copy p{
  max-width:520px;
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.72;
}

.whitelist-benefits{
  margin-top:34px;
  border-top:1px solid var(--line-strong);
}

.whitelist-benefit{
  min-height:74px;
  display:grid;
  grid-template-columns:42px 1fr;
  gap:14px;
  align-items:center;
  border-bottom:1px solid var(--line);
}

.whitelist-benefit span{
  color:var(--brand-blue);
  font-family:var(--mono);
  font-size:9px;
}

.whitelist-benefit strong{
  font-size:12px;
  font-weight:650;
}

.whitelist-tally-card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.whitelist-tally-head{
  min-height:56px;
  padding:0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border-bottom:1px solid var(--line);
}

.whitelist-tally-head strong{
  font-size:12px;
}

.whitelist-tally-head a{
  color:var(--brand-blue);
  font-size:9px;
  font-weight:700;
}

.whitelist-tally-card iframe{
  display:block;
  width:100%;
  min-height:720px;
  border:0;
  background:#fff;
}

.whitelist-page-back{
  display:inline-flex;
  gap:7px;
  align-items:center;
  margin-bottom:24px;
  color:var(--muted);
  font-size:10px;
  font-weight:700;
}

.whitelist-page-back:hover{
  color:var(--text);
}

@media(max-width:980px){
  .whitelist-promo-inner{
    grid-template-columns:1fr;
    gap:28px;
  }

  .whitelist-promo-actions{
    justify-self:start;
  }

  .whitelist-page-hero{
    grid-template-columns:1fr;
    gap:42px;
  }

  .whitelist-page-copy{
    position:static;
  }
}

@media(max-width:640px){
  .whitelist-promo{
    padding:58px 0;
  }

  .whitelist-promo-actions{
    display:grid;
    width:100%;
  }

  .whitelist-promo-actions .button{
    width:100%;
  }

  .whitelist-page-main{
    padding:46px 0 72px;
  }

  .whitelist-page-copy h1{
    font-size:40px;
  }

  .whitelist-tally-card iframe{
    min-height:760px;
  }
}


/* ---- V6.4 Thank-you page ---- */
.thanks-page-main{
  min-height:calc(100svh - 72px);
  padding:90px 0 110px;
}
.thanks-layout{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:82px;
  align-items:center;
}
.thanks-copy{max-width:570px}
.thanks-check{
  width:52px;height:52px;margin:30px 0 24px;display:grid;place-items:center;
  border-radius:50%;background:var(--brand-blue);color:#fff;font-size:22px;font-weight:800;
}
.thanks-copy h1{
  margin:0 0 18px;font-size:clamp(44px,5.3vw,72px);line-height:.97;letter-spacing:-.06em;font-weight:720;
}
.thanks-copy p,.thanks-social>p{
  margin:0;color:var(--muted);font-size:14px;line-height:1.72;
}
.thanks-actions{
  display:flex;flex-wrap:wrap;gap:10px;margin-top:30px;
}
.thanks-social{
  border-top:1px solid var(--line-strong);padding-top:24px;
}
.thanks-social h2{
  margin:14px 0 10px;font-size:clamp(30px,3.8vw,48px);line-height:1;letter-spacing:-.05em;font-weight:700;
}
.thanks-social-list{margin-top:34px;border-top:1px solid var(--line)}
.thanks-social-list a{
  min-height:88px;display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;
  border-bottom:1px solid var(--line);transition:padding .2s ease,background .2s ease;
}
.thanks-social-list a:hover{padding-left:10px;background:var(--surface)}
.thanks-social-list small{
  display:block;margin-bottom:5px;color:var(--muted-2);font-family:var(--mono);font-size:8px;
  letter-spacing:.08em;text-transform:uppercase;
}
.thanks-social-list strong{font-size:15px;letter-spacing:-.025em}
.thanks-social-list span{color:var(--brand-blue);font-size:16px}

@media(max-width:900px){
  .thanks-layout{grid-template-columns:1fr;gap:58px}
}
@media(max-width:640px){
  .thanks-page-main{padding:56px 0 78px}
  .thanks-copy h1{font-size:42px}
  .thanks-actions{display:grid}
  .thanks-actions .button{width:100%}
}
