:root{
  --bg: #0b0d12;
  --panel: #121622;
  --text: #e8ebf3;
  --muted: #a9b0c3;
  --border: rgba(255,255,255,0.10);
  --shadow: 0 10px 35px rgba(0,0,0,0.35);
  --primary: #7aa2ff;
  --primary-2: #94f7c5;
  --focus: #ffd37a;
  --radius: 18px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
}

[data-theme="light"]{
  --bg: #ffffff;
  --panel: #f6f7fb;
  --text: #111424;
  --muted: #4e5872;
  --border: rgba(17,20,36,0.12);
  --shadow: 0 10px 35px rgba(15,20,45,0.10);
  --primary: #2b59ff;
  --primary-2: #00a56a;
  --focus: #ff9f1a;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(122,162,255,0.25), transparent 60%),
              radial-gradient(900px 500px at 95% 10%, rgba(148,247,197,0.18), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.6;
}

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

a{color:inherit}
.inline-link{
  color:var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(122,162,255,0.35);
}
.inline-link:hover{border-bottom-color: var(--primary)}

.skip-link{
  position:absolute; left:-999px; top:0;
  background:var(--panel); color:var(--text);
  padding:10px 14px; border-radius:12px;
}
.skip-link:focus{left:12px; top:12px; outline:2px solid var(--focus)}

.site-header{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(12px);
  background: rgba(10,12,18,0.55);
  border-bottom:1px solid var(--border);
}
[data-theme="light"] .site-header{ background: rgba(255,255,255,0.75); }

.header-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{display:flex; align-items:center; gap:12px}
.brand-mark{
  width:44px; height:44px; display:grid; place-items:center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(122,162,255,0.35), rgba(148,247,197,0.18));
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  font-weight: 800;
}
.brand-title{font-weight:800; letter-spacing:0.2px}
.brand-subtitle{font-size:0.92rem; color:var(--muted)}

.nav{display:flex; align-items:center; gap:14px; flex-wrap:wrap; justify-content:flex-end}
.nav a{
  text-decoration:none;
  color:var(--muted);
  font-weight:600;
  padding:8px 10px;
  border-radius:12px;
}
.nav a:hover{color:var(--text); background: rgba(255,255,255,0.06)}
[data-theme="light"] .nav a:hover{background: rgba(17,20,36,0.05)}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  text-decoration:none;
  font-weight:700;
  cursor:pointer;
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0px)}
.btn:focus{outline:2px solid var(--focus); outline-offset:2px}

.btn-primary{
  background: linear-gradient(135deg, rgba(122,162,255,0.95), rgba(148,247,197,0.55));
  border:1px solid rgba(255,255,255,0.20);
  color:#0b0d12;
}
.btn-secondary{
  background: rgba(255,255,255,0.05);
}
.btn-ghost{
  background: transparent;
}

.hero{padding:42px 0 18px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap:20px;
  align-items:start;
}
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .nav{justify-content:flex-start}
}

.eyebrow{
  display:inline-block;
  font-size:0.92rem;
  color:var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.03);
}

h1{
  margin:14px 0 8px;
  line-height:1.15;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing:-0.6px;
}
.lede{color:var(--muted); font-size:1.05rem; max-width: 65ch}

.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:16px}

.stats{
  display:flex; gap:14px; flex-wrap:wrap;
  margin-top:22px;
}
.stat{
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:12px 14px;
  background: rgba(255,255,255,0.03);
  min-width: 170px;
}
.stat-number{font-weight:900; font-size:1.25rem}
.stat-label{color:var(--muted); font-size:0.92rem}

.section{padding:42px 0}
.section.subtle{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.section-head{margin-bottom:18px}
.section-head h2{margin:0 0 6px; font-size:1.6rem}
.muted{color:var(--muted)}
.small{font-size:0.92rem}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
@media (max-width: 980px){ .grid-3{grid-template-columns:1fr} }

.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:16px;
}
@media (max-width: 980px){ .grid-2{grid-template-columns:1fr} }

.card{
  background: rgba(255,255,255,0.03);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
[data-theme="light"] .card{background: rgba(255,255,255,0.90)}
.card-hover:hover{border-color: rgba(122,162,255,0.45); transform: translateY(-2px)}
.card-title{margin:0 0 10px; font-size:1.1rem}
.card-divider{height:1px; background: var(--border); margin:14px 0}

.checklist{margin:0; padding-left:18px}
.checklist li{margin:8px 0}

.tags{display:flex; flex-wrap:wrap; gap:8px; margin:12px 0}
.tag{
  font-size:0.85rem;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  color:var(--muted);
  background: rgba(255,255,255,0.02);
}

.pill{
  font-size:0.82rem;
  font-weight:800;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid var(--border);
  color:var(--muted);
  margin-right:8px;
}

.split{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap:16px;
}
@media (max-width: 980px){ .split{grid-template-columns:1fr} }

.principles{margin:0; padding-left:18px}
.principles li{margin:10px 0}

.bullets{margin:0; padding-left:18px}
.bullets li{margin:8px 0}

.site-footer{
  border-top:1px solid var(--border);
  padding:18px 0;
}
.footer-row{display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap}

code, pre{
  font-family: var(--mono);
}
