/* =========================================================
   NION Technologies — Operational Architecture (v3)
   Mobile-first • Executive • SEO/GEO safe
========================================================= */

:root{
  --bg:#060915;
  --bg2:#0b1026;

  --surface:rgba(255,255,255,0.05);
  --surface2:rgba(255,255,255,0.08);

  --text:#eef2ff;
  --muted:rgba(238,242,255,0.72);
  --muted2:rgba(238,242,255,0.55);

  --border:rgba(255,255,255,0.10);

  --accent:#7c3aed;
  --accent2:#22d3ee;

  --radius:14px;
  --radius-lg:18px;
  --pill:999px;

  --max:1140px;
  --pad:clamp(16px,4vw,28px);

  --h1:clamp(30px,4.5vw,48px);
  --h2:clamp(22px,3vw,30px);
  --h3:18px;
  --p:16px;

  --lh:1.6;
}

/* ================= RESET ================= */

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  background:linear-gradient(180deg,var(--bg) 0%,var(--bg2) 100%);
  color:var(--text);
  line-height:var(--lh);
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
small{color:var(--muted2)}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--pad);
}

/* Accessibility */
.skip{
  position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden;
}
.skip:focus{
  left:16px;top:16px;
  padding:10px 14px;
  background:#fff;color:#111;
  border-radius:var(--pill);
  z-index:9999;
}

/* ================= NAV ================= */

.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(6,9,21,0.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px var(--pad);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  letter-spacing:0.3px;
}

.logo{
  width:34px;height:34px;
  border-radius:10px;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
}

.links{
  display:none;
  gap:20px;
  font-size:14px;
  color:var(--muted);
}

.links a{
  padding:6px 0;
}

.links a:hover{color:#fff}

.btns{
  display:flex;
  align-items:center;
  gap:10px;
}

.burger{
  display:block;
  width:36px;height:36px;
  border-radius:10px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
}

/* Mobile menu (simple, clean) */
.mobile-menu {
  display: none;
  padding: 20px;
  background: rgba(6,9,21,0.95);
  border-top: 1px solid var(--border);
}

.mobile-menu a{
  display:block;
  padding:14px var(--pad);
  border-bottom:1px solid var(--border);
  font-size:15px;
}

/* ================= BUTTONS ================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 20px;
  border-radius:var(--pill);
  font-size:14px;
  font-weight:600;
  border:1px solid var(--border);
  background:transparent;
  color:var(--text);
}

.btn.primary{
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#071022;
  border:none;
}

.btn.outline{
  background:transparent;
}

.btn.ghost{
  border:none;
  color:var(--muted);
}

/* ================= HERO ================= */

.hero{
  padding:80px 0 60px;
}

.kicker{
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--muted2);
  display:flex;
  align-items:center;
  gap:8px;
}

.kicker .dot{
  width:6px;height:6px;
  border-radius:50%;
  background:var(--accent);
}

h1{
  font-size:var(--h1);
  line-height:1.15;
  margin:14px 0 12px;
}

.subhead{
  max-width:72ch;
  color:var(--muted);
  font-size:clamp(16px,2vw,18px);
}

.hero-cta{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:26px;
}

/* ================= SECTIONS ================= */

.section{
  padding:70px 0;
}

.section-title{
  font-size:var(--h2);
  margin-bottom:12px;
}

.section-sub{
  max-width:72ch;
  color:var(--muted);
  margin-bottom:36px;
}

/* ================= GRIDS / CARDS ================= */

.grid{
  display:grid;
  gap:22px;
}

.grid.cards{
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}

.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
}

.card.pad{padding:30px}

.card h3{margin-top:0}

.card ul{
  padding-left:18px;
  margin-top:12px;
}

.card li{
  margin-bottom:8px;
  color:var(--muted);
}

/* ================= STEPS / SPLIT ================= */

.steps{
  display:grid;
  gap:20px;
}

.step{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px;
}

.split{
  display:grid;
  gap:24px;
}

/* ================= NOTES / DIVIDERS ================= */

.hr{
  height:1px;
  background:var(--border);
  border:none;
  margin:40px 0;
}

.note-callout{
  background:rgba(255,255,255,0.04);
  border-left:3px solid var(--accent);
  padding:16px 18px;
  border-radius:6px;
  font-size:14px;
  color:var(--muted);
}

/* ================= FOOTER ================= */

.footer{
  margin-top:120px;
  padding:50px 0 40px;
  border-top:1px solid var(--border);
  font-size:14px;
}

.footer .cols{
  display:grid;
  gap:30px;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}

.footer a{
  color:var(--muted2);
}

.footer a:hover{color:#fff}

/* ================= RESPONSIVE ================= */

@media (min-width: 900px){
  .links{display:flex}
  .burger{display:none}
}

@media (max-width: 900px){
  .hero{padding-top:64px}
}
