:root{
  --bg:#ffffff;
  --ink:#0B0F14;
  --muted:#667281;
  --muted2:#A8B2BE;

  --hero-bg:#0B1624;
  --hero-bg-deep:#08101B;
  --nav-bg:rgba(11,22,36,0.94);
  --footer-bg:#08101B;

  --line:rgba(11,15,20,0.08);
  --line-dark:rgba(255,255,255,0.14);

  --accent:#00A8FF;
  --accent-soft:rgba(0,168,255,0.10);

  --card:#ffffff;
  --soft:#F5F8FB;

  --radius-sm:12px;
  --radius-md:16px;

  --space-1:8px;
  --space-2:12px;
  --space-3:18px;
  --space-4:24px;
  --space-5:32px;
  --space-6:44px;
  --space-7:64px;
  --space-8:92px;

  --shadow-soft:0 10px 28px rgba(10,15,20,0.08);
  --shadow-card:0 14px 34px rgba(10,15,20,0.08);
}

*{margin:0;padding:0;box-sizing:border-box}
html,body{height:100%}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
}

body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  color:var(--ink);
  background:var(--bg);
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
.wrap{max-width:1160px;margin:auto;padding:0 32px}

/* NAV */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--nav-bg);
  backdrop-filter:blur(12px) saturate(145%);
  border-bottom:1px solid var(--line-dark);
}
.navRow{
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--space-3);
}
.brand{
  display:flex;
  align-items:center;
  gap:13px;
  font-weight:620;
  letter-spacing:0.05em;
  font-size:16px;
  color:#F1F6FD;
}
.brand img{width:30px;height:30px;display:block}
.brand span{color:#C2CFDD;font-weight:560;margin-left:6px}

.navLinks{display:flex;align-items:center;gap:8px}
.navLinks a{
  font-size:14px;
  color:#CED9E6;
  padding:9px 13px;
  border-radius:999px;
  transition:background 120ms ease,color 120ms ease;
}
.navLinks a:hover{background:rgba(255,255,255,0.08);color:#F6FAFF}
.navLinks a.active{
  background:rgba(255,255,255,0.12);
  color:#FFFFFF;
}

.navRight{display:flex;align-items:center;gap:11px;color:#B4C1CF;font-size:14px}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 11px;
  margin-top: 5px;
  border:1px solid rgba(255,255,255,0.16);
  border-radius:999px;
  background:rgba(255,255,255,0.06);
}
.pillDot{width:7px;height:7px;border-radius:99px;background:rgba(0,168,255,0.96)}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#FFFFFF;
  color:#0A0F14;
  padding:12px 19px;
  border-radius:var(--radius-sm);
  font-size:14px;
  font-weight:620;
  border:1px solid rgba(11,15,20,0.10);
  box-shadow:0 8px 20px rgba(10,15,20,0.07);
  transition:transform 120ms ease, background 120ms ease, border-color 120ms ease;
}
.githubCta{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.githubIcon{
  width:15px;
  height:15px;
  flex:none;
  fill:currentColor;
}
.button:hover{transform:translateY(-1px)}
.button.primary{
  background:linear-gradient(180deg,#FFFFFF 0%,#F2F7FF 100%);
  border:1px solid rgba(0,168,255,0.34);
}
.button.ghost{
  background:transparent;
  box-shadow:none;
}
.button.ghostDark{
  color:#F5F7FA;
  border-color:rgba(255,255,255,0.18);
  background:rgba(255,255,255,0.05);
  box-shadow:none;
}

/* Mobile nav toggle button (minimal, matches design) */
.navToggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.18);
  background:rgba(255,255,255,0.05);
  box-shadow:none;
  cursor:pointer;
  align-items:center;
  justify-content:center;
}
.navToggleBars{
  display:block;
  width:18px;
  height:2px;
  background:#EAF2FB;
  position:relative;
  border-radius:2px;
  opacity:0.9;
}
.navToggleBars::before,
.navToggleBars::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background:#EAF2FB;
  border-radius:2px;
}
.navToggleBars::before{top:-6px}
.navToggleBars::after{top:6px}

/* HERO */
.hero{
  background:
    radial-gradient(1200px 700px at 16% 0%,rgba(0,168,255,0.17),transparent 64%),
    radial-gradient(850px 630px at 84% 10%,rgba(18,38,63,0.27),transparent 58%),
    var(--hero-bg);
  color:#F5F7FA;
  padding:15px 0 60px 0;
  border-bottom:1px solid rgba(255,255,255,0.07);
}

.heroGrid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);
  gap:clamp(28px,4vw,48px);
  align-items:start;
}

.heroGridCentered{
  grid-template-columns:minmax(0,1fr);
}
.heroGridCentered .heroMain{
  margin-left:auto;
  margin-right:auto;
  max-width:min(860px,100%);
  text-align:center;
}
.heroGridCentered .kicker{margin-left:auto;margin-right:auto}
.heroGridCentered .heroMain h1,
.heroGridCentered .heroMain p{margin-left:auto;margin-right:auto}
.heroGridCentered .heroMain h1{max-width:22ch}
.heroGridCentered .heroActions{justify-content:center}
.heroGridCentered .note{margin-left:auto;margin-right:auto}

.heroMain{
  max-width:560px;
  min-width:0;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#DCE9F6;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.10);
  padding:8px 12px;
  border-radius:999px;
}
.kicker .dot{width:8px;height:8px;border-radius:99px;background:rgba(0,168,255,0.94)}
.hero h1{
  margin-top:var(--space-3);
  font-size:56px;
  font-weight:650;
  line-height:1.08;
  letter-spacing:-1.2px;
  margin-bottom:6px;
  max-width:20ch;
}
.heroSubhead{
  font-size:26px;
  font-weight:520;
  color:rgba(220, 230, 240, 0.92);
  margin-top:0;
  margin-bottom:22px;
}
.heroLead{
  color:var(--muted2);
  font-size:18px;
  line-height:1.6;
  max-width:720px;
  margin-bottom:26px;
}
.heroActions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  margin-top: 15px;
}
.note{
  margin-top:var(--space-4);
  color:rgba(200,213,226,0.90);
  font-size:14px;
  max-width:68ch;
  border-left:2px solid rgba(0,168,255,0.48);
  padding-left:12px;
}

.heroPreview{
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
  min-width:0;
}
.heroPreview,
.demoFrame,
.demoViewport { min-width: 0; }

.demoFrame{
  display:flex;
  flex-direction:column;
  width:100%;
  max-width:min(720px, 100%);
  margin-left:auto;
  background:#0b0f14;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:18px;
  overflow:hidden;
  position:relative;
  transform:translateY(4px);
  box-shadow:
    0 30px 90px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.04);
}

/* Keep look, avoid overflow edge cases */
.proofFrame{
  width:100%;
  max-width:min(860px,100%);
  margin-top:18px;
  margin-left:0;
  transform:none;
  box-shadow:0 16px 38px rgba(3,8,14,0.30);
}
.proofFrame .terminal{
  margin:0;
  border-radius:0 0 18px 18px;
}

.demoTopbar{
  flex:0 0 auto;
  height:34px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 12px;
  background:rgba(255,255,255,0.04);
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.demoDot{
  display:inline-block;
  width:10px;
  height:10px;
  border-radius:50%;
}
.demoDot.red{background:#F46D66}
.demoDot.yellow{background:#F0C25A}
.demoDot.green{background:#67C36E}

.demoLabel{
  margin-left:8px;
  font-size:12px;
  opacity:0.7;
  color:#D5DEE7;
}

.demoViewport{
  flex:1 1 auto;
  width:100%;
  aspect-ratio:16/10;
  background:#0b0f14;
  overflow:hidden;
}

.code{
  margin-top:0;
  background:linear-gradient(180deg,rgba(11,22,36,0.98),rgba(8,16,27,0.98));
  color:#EAF2FB;
  border:1px solid rgba(255,255,255,0.11);
  border-radius:var(--radius-md);
  padding:20px;
  overflow:auto;
  box-shadow:0 16px 38px rgba(3,8,14,0.35);
}

pre, code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
}
pre{font-size:13px;line-height:1.5;white-space:pre}

.section{padding:25px 0}
.sectionAlt{
  background:var(--bg);
  border-top:none;
  border-bottom:none;
}
.section h2{
  font-size:28px;
  font-weight:650;
  letter-spacing:-0.62px;
}
.sectionLead{
  margin-top:12px;
  color:var(--muted);
  max-width:76ch;
  font-size:16px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:32px;
  margin-top:30px;
}
.card{
  background:var(--card);
  border:1px solid rgba(11,15,20,0.08);
  border-radius:var(--radius-md);
  padding:24px;
  box-shadow:var(--shadow-card);
}
.card h3{
  font-size:16px;
  margin-bottom:10px;
  font-weight:650;
}
.card p{color:var(--muted);font-size:15px}
.tag{
  margin-top:16px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:#385066;
  background:var(--accent-soft);
  border:1px solid rgba(0,168,255,0.18);
  padding:7px 10px;
  border-radius:999px;
}

.split{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:24px;
  margin-top:28px;
}
.panel{
  background:var(--card);
  border:1px solid rgba(11,15,20,0.08);
  border-radius:var(--radius-md);
  padding:24px;
  box-shadow:var(--shadow-card);
}
.panel h4{
  font-size:12px;
  color:#5C6A79;
  letter-spacing:0.10em;
  text-transform:uppercase;
}
.panel .big{
  margin-top:11px;
  font-size:18px;
  font-weight:650;
  letter-spacing:-0.2px;
}
.panel ul{
  margin-top:14px;
  padding-left:18px;
  color:var(--muted);
  font-size:15px;
}
.panel li{margin:8px 0}

.ctaStrip,
.ctaStripSoft,
.lightPanelCta,
.evalCta{
  background:var(--card);
  border:1px solid rgba(11,15,20,0.10);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-soft);
  padding:28px;
  margin-top:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.ctaStrip .title,
.ctaStripSoft .title,
.lightPanelCta .title,
.evalCta .title{
  font-weight:680;
  letter-spacing:-0.22px;
  font-size:17px;
}
.ctaStrip .desc,
.ctaStripSoft .desc,
.lightPanelCta .desc,
.evalCta .desc{
  color:var(--muted);
  font-size:15px;
  margin-top:8px;
  max-width:640px;
}
.ctaStrip .right,
.ctaStripSoft .right,
.lightPanelCta .right,
.evalCta .right{display:flex;gap:10px;flex-wrap:wrap}

footer{
  padding:52px 0;
  border-top:1px solid rgba(255,255,255,0.10);
  background:var(--footer-bg);
  color:#8994A2;
}
.footerInner{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:14px;
  flex-wrap:wrap;
  font-size:13px;
}
.footerLeft{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}
.footerCompany{color:#B2BFCD}
.footerTagline{
  font-size:13px;
  color:#97A9BC;
  max-width:40ch;
}
.footerLocation{color:#8994A2}
.footerRight{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  margin-left:auto;
  white-space:nowrap;
}
.footerLink{color:#B2BFCD}
.footerLink:hover{text-decoration:underline}
.footerDivider{
  color:#8994A2;
  line-height:1;
}

a:focus-visible,
.button:focus-visible,
.navLinks a:focus-visible{
  outline:3px solid rgba(0,168,255,0.46);
  outline-offset:3px;
  border-radius:12px;
}

/* Existing responsive rules kept */
@media(max-width:900px){
  .heroGrid{
    grid-template-columns:1fr;
    gap:22px;
  }
  .heroPreview{
    justify-content:center;
    margin-top:8px;
  }
  .demoFrame{
    max-width:100%;
    margin-left:0;
    transform:none;
  }
}

@media (max-width: 1024px) {
  .hero h1 { font-size: 44px; }
  .heroSubhead { font-size: 22px; }
}

/* MOBILE NAV: keep your behavior, but add an actual menu */
@media(max-width:980px){
  .wrap{padding:0 22px}
  .navRow{min-height:80px}

  .navToggle{display:inline-flex}

  /* previously: .navLinks{display:none} caused dead-end nav */
  .navLinks{
    display:none;
    position:absolute;
    top:80px;
    left:22px;
    right:22px;
    flex-direction:column;
    gap:6px;
    padding:10px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,0.14);
    background:rgba(11,22,36,0.98);
    box-shadow:0 18px 44px rgba(4,10,17,0.34);
  }
  .navLinks.open{display:flex}

  .navRight .pill{display:none}
  .navRight .githubCta{display:none}

  .hero{padding:30px 0 56px}
  .hero h1{max-width:20ch}
  .note{font-size:13px}

  .section{padding:40px 0}
  .grid{grid-template-columns:1fr;gap:22px}
  .split{grid-template-columns:1fr;gap:20px}

  .ctaStrip,
  .ctaStripSoft,
  .lightPanelCta,
  .evalCta{
    flex-direction:column;
    align-items:flex-start;
    padding:22px;
    margin-top:34px;
  }

  .footerInner{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }
  .footerRight{
    margin-left:0;
    justify-content:flex-start;
    white-space:normal;
  }
}

@media (max-width: 640px) {
  .wrap{padding:0 18px}
  .brand{font-size:14px;gap:10px;letter-spacing:0.04em}
  .brand img{width:26px;height:26px}
  .brand span{margin-left:4px}

  .navLinks{
    left:18px;
    right:18px;
  }
  .navRight{gap:8px}
  .navRight .button{padding:10px 14px;font-size:13px}

  .hero{padding:22px 0 44px}
  .section{padding:30px 0}
  .hero h1 { font-size: 34px; }
  .heroSubhead { font-size: 20px; }
  .heroLead { font-size: 16px; }
  .heroActions{gap:10px}
  .button{justify-content:center}
  .heroActions .button{width:auto}

  .code{padding:16px;border-radius:14px}
  pre{font-size:12px}
}

.architon-demo{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position: top center;
}

/* Early access styles unchanged (kept as-is from your file) */
.earlyAccessSubtext{
  margin-left:auto;
  margin-right:auto;
  margin-bottom:34px;
  max-width:64ch;
}
.earlyAccessCard{
  max-width:880px;
  margin:20px auto;
  background:rgba(10,20,33,0.58);
  border:1px solid rgba(255,255,255,0.14);
  border-radius:var(--radius-md);
  padding:clamp(18px,2.5vw,30px);
  box-shadow:0 18px 44px rgba(4,10,17,0.34);
}
.earlyAccessForm{ text-align:left; }
.formGrid{ display:grid; gap:14px; }
.formGrid.twoCol{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.field{ display:flex; flex-direction:column; gap:8px; margin-bottom:14px; }
.field label{ font-size:13px; color:#DAE6F2; letter-spacing:0.01em; }
.field input,
.field select,
.field textarea{
  width:100%;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.20);
  background:rgba(7,14,23,0.72);
  color:#F2F7FC;
  font-size:15px;
  line-height:1.45;
  padding:12px 14px;
  transition:border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.field textarea{ resize:vertical; min-height:118px; }
.field input::placeholder,
.field textarea::placeholder{ color:rgba(198,211,224,0.68); }
.field select option{ color:#0B0F14; }
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:none;
  border-color:rgba(0,168,255,0.74);
  box-shadow:0 0 0 3px rgba(0,168,255,0.22);
  background:rgba(7,14,23,0.92);
}
.formActions{ margin-top:6px; }
.earlyAccessForm .button{ min-width:170px; }
.earlyAccessForm .button:disabled{ opacity:0.72; cursor:not-allowed; transform:none; }
.formStatus{ min-height:24px; margin-top:14px; font-size:14px; color:#C5D4E2; }
.formStatus.success{ color:#8CE3BA; }
.formStatus.error{ color:#FFB2B2; }

@media (max-width: 760px) {
  .formGrid.twoCol{ grid-template-columns:1fr; }
  .earlyAccessCard{ padding:16px; }
  .field{ margin-bottom:12px; }
}
@media (max-width: 640px) {
  .earlyAccessForm .button{ width:100%; }
}

/* Terminal: single clean definition (no duplicates) */
.terminal{
  background:#0A0F14;
  color:#D6E2F0;
  padding:20px;
  border-radius:8px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  font-size:14px;
  line-height:1.6;
  overflow:auto;
  white-space:pre;
}
.terminalContent{ min-height:300px; }
.terminalCompact{ font-size:13px; min-height:240px; }

/* Terminal semantic colors */
.cmd{ color:#7DD3FC; }
.dim{ color:#6B7C93; }
.header{ color:#E2E8F0; font-weight:600; }
.label{ color:#94A3B8; }

.fail{ color:#FF4D4F; font-weight:600; }
.rule{ color:#F87171; }
.fix{ color:#22C55E; }
.exit{ color:#6B7C93; }

.warn{ color:#F0C25A; font-weight:600; }
.note{ color:#7DD3FC; font-weight:600; }

/* Section headers in terminal */
.section-error{ color:#FF4D4F; font-weight:600; }
.section-warn{ color:#F0C25A; font-weight:600; }
.section-note{ color:#7DD3FC; font-weight:600; }

/* Optional: keep warning rule text aligned with warning color */
.warnRule{ color:#F0C25A; }

/* Terminal tabs (kept, but now JS-driven) */
.terminal-tabs{ display:flex; gap:4px; margin-left:10px; }
.tab-btn{
  background:rgba(255,255,255,0.05);
  border:none;
  color:#6B7C93;
  padding:4px 12px;
  border-radius:4px;
  cursor:pointer;
  font-size:12px;
}
.tab-btn.active{ background:#00A8FF; color:white; }
