﻿:root{
  --bg:#0b1220;
  --surface:#0f1a2f;
  --surface2:#0c1528;
  --text:#eaf0ff;
  --muted:#b7c4e1;
  --line:rgba(255,255,255,.10);
  --brand:#7c5cff;
  --brand2:#3ae3ff;
  --good:#46f0a4;
  --warn:#ffcf5c;
  --shadow: 0 22px 70px rgba(0,0,0,.45);
  --radius:18px;
  --radius2:24px;
  --max:1120px;
}

:root[data-theme="light"]{
  --bg:#f6f8ff;
  --surface:#ffffff;
  --surface2:#f2f5ff;
  --text:#0c1220;
  --muted:#4b5a7a;
  --line:rgba(12,18,32,.12);
  --shadow: 0 16px 50px rgba(15,20,30,.12);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(124,92,255,.35), transparent 55%),
    radial-gradient(900px 500px at 80% 0%, rgba(58,227,255,.25), transparent 55%),
    radial-gradient(900px 600px at 30% 100%, rgba(70,240,164,.15), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}

.skip{
  position:absolute; left:-999px; top:8px;
  background:var(--surface); border:1px solid var(--line);
  padding:10px 12px; border-radius:10px; z-index:999;
}
.skip:focus{left:12px}

.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex; align-items:center; gap:18px; padding:14px 0}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none}
.brand-mark{
  width:36px; height:36px; display:grid; place-items:center;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color:#07101f; font-weight:800; border-radius:12px; letter-spacing:.2px;
}
.brand-text{font-weight:700; letter-spacing:.2px}

.nav{display:flex; gap:14px; margin-left:8px}
.nav a{
  text-decoration:none; color:var(--muted);
  padding:8px 10px; border-radius:12px;
}
.nav a:hover{background:color-mix(in srgb, var(--surface) 45%, transparent); color:var(--text)}

.header-cta{margin-left:auto; display:flex; gap:10px; align-items:center}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:14px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  border:1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  color:#07101f; font-weight:700; text-decoration:none;
  box-shadow: 0 10px 30px rgba(124,92,255,.22);
}
.btn:hover{filter:brightness(1.02)}
.btn.ghost{
  background:transparent;
  color:var(--text);
  border:1px solid var(--line);
  box-shadow:none;
}
.btn.ghost:hover{background:color-mix(in srgb, var(--surface) 45%, transparent)}
.btn.full{width:100%}

.hamburger{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  background:transparent;
  border:1px solid var(--line);
}
.hamburger span{display:block; height:2px; background:var(--text); margin:6px 10px; border-radius:4px}

.mobile-nav{border-top:1px solid var(--line); background:color-mix(in srgb, var(--bg) 70%, transparent)}
.mobile-nav-inner{display:grid; gap:10px; padding:14px 0}
.mobile-nav a{color:var(--muted); text-decoration:none; padding:10px 12px; border-radius:14px; border:1px solid transparent}
.mobile-nav a:hover{color:var(--text); border-color:var(--line); background:color-mix(in srgb, var(--surface) 40%, transparent)}

.hero{padding:56px 0 30px}
.hero-grid{display:grid; grid-template-columns: 1.15fr .85fr; gap:26px; align-items:start}
.pill{
  display:inline-flex; gap:8px; align-items:center;
  padding:8px 12px; border-radius:999px;
  border:1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 45%, transparent);
  color:var(--muted);
}

h1{font-size: clamp(2.0rem, 4vw, 3.2rem); line-height:1.05; margin:14px 0 12px}
.lead{font-size:1.05rem; color:var(--muted); max-width:54ch}
.hero-actions{display:flex; gap:10px; margin:18px 0 18px; flex-wrap:wrap}

.metrics{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; margin-top:16px}
.metric{border:1px solid var(--line); background: color-mix(in srgb, var(--surface) 55%, transparent); border-radius:var(--radius); padding:14px}
.metric-kpi{font-weight:700}
.metric-sub{color:var(--muted); font-size:.92rem; margin-top:6px}

.hero-card .card{border-radius:var(--radius2); overflow:hidden; border:1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow:var(--shadow)}
.card-top{display:flex; align-items:center; gap:8px; padding:12px 14px; border-bottom:1px solid var(--line)}
.dot{width:10px; height:10px; border-radius:50%}
.dot.red{background:#ff5c7a}
.dot.yellow{background:#ffd36a}
.dot.green{background:#46f0a4}
.card-title{margin-left:8px; color:var(--muted); font-weight:600; font-size:.92rem}
.card-body{padding:14px}

.spark-row{display:grid; grid-template-columns: 1fr 1fr; gap:10px; margin-bottom:12px}
.label{color:var(--muted); font-size:.85rem}
.value{font-weight:700}

.signal{border:1px solid var(--line); border-radius:var(--radius); background: color-mix(in srgb, var(--surface2) 70%, transparent); padding:12px}
.signal-head{display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:8px}
.badge{display:inline-flex; align-items:center; padding:6px 10px; border-radius:999px; font-weight:700; font-size:.85rem}
.badge.warn{background: color-mix(in srgb, var(--warn) 35%, transparent); border:1px solid color-mix(in srgb, var(--warn) 55%, transparent)}
.signal-text{margin:0; color:var(--text)}
.muted{color:var(--muted)}

.mini-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:8px; margin-top:10px}
.mini{border:1px solid var(--line); border-radius:14px; padding:10px; background: color-mix(in srgb, var(--surface) 55%, transparent)}
.mini-k{color:var(--muted); font-size:.82rem}
.mini-v{font-weight:800}

.chips{display:flex; gap:8px; flex-wrap:wrap; margin-top:12px}
.chip{border:1px solid var(--line); border-radius:999px; padding:6px 10px; color:var(--muted); background:color-mix(in srgb, var(--surface) 40%, transparent); font-size:.85rem}

.section{padding:56px 0}
.section.alt{background: color-mix(in srgb, var(--surface) 14%, transparent); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.section-head{display:flex; align-items:end; justify-content:space-between; gap:18px; flex-wrap:wrap; margin-bottom:18px}
.section-head h2{margin:0; font-size:1.7rem}
.section-head p{margin:0; max-width:70ch}

.cards{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.feature{border:1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); border-radius:var(--radius2); padding:16px}
.feature h3{margin:0 0 6px}
.feature p{margin:0 0 12px; color:var(--muted)}
.feature ul{margin:0; padding-left:18px; color:var(--muted)}

.grid-2{display:grid; grid-template-columns: repeat(2, 1fr); gap:14px}
.panel{border:1px solid var(--line); border-radius:var(--radius2); padding:16px; background: color-mix(in srgb, var(--surface) 65%, transparent)}
.panel h3{margin:0 0 6px}
.panel p{margin:0 0 12px; color:var(--muted)}
.list{display:grid; gap:10px}
.li{display:flex; gap:10px; justify-content:space-between; border:1px solid var(--line); border-radius:16px; padding:10px; background: color-mix(in srgb, var(--surface2) 75%, transparent)}
.k{font-weight:700}
.v{color:var(--muted); text-align:right}

.steps{display:grid; gap:12px}
.step{display:flex; gap:12px; border:1px solid var(--line); border-radius:var(--radius2); padding:14px; background: color-mix(in srgb, var(--surface) 60%, transparent)}
.step-n{width:34px; height:34px; border-radius:12px; display:grid; place-items:center; font-weight:900; background: color-mix(in srgb, var(--brand) 35%, transparent); border:1px solid color-mix(in srgb, var(--brand) 45%, transparent)}
.step h3{margin:0}
.step p{margin:6px 0 0; color:var(--muted)}

.callout{margin-top:18px; border:1px solid var(--line); border-radius:var(--radius2); padding:16px; background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 70%, transparent), color-mix(in srgb, var(--surface2) 70%, transparent))}
.callout h3{margin:0 0 6px}
.callout p{margin:0}
.callout-bullets{display:grid; grid-template-columns: repeat(2, 1fr); gap:10px; margin-top:12px}
.bullet{border:1px solid var(--line); border-radius:16px; padding:10px; color:var(--muted); background: color-mix(in srgb, var(--surface) 55%, transparent)}

.resource-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; margin-top:16px}
.resource{border:1px solid var(--line); border-radius:var(--radius2); padding:14px; background: color-mix(in srgb, var(--surface) 60%, transparent); text-decoration:none}
.resource:hover{transform: translateY(-2px); transition: transform .15s ease}
.resource-k{font-weight:800; margin-bottom:6px}
.resource-v{color:var(--muted); font-size:.95rem}

.contact{display:grid; grid-template-columns: 1fr 1fr; gap:16px; border:1px solid var(--line); border-radius:var(--radius2); padding:16px; background: color-mix(in srgb, var(--surface) 60%, transparent)}
.contact h2{margin:0 0 8px}
.contact-meta{display:grid; gap:10px; margin-top:14px}
.contact-meta > div{display:flex; justify-content:space-between; gap:10px; border:1px solid var(--line); border-radius:16px; padding:10px; background: color-mix(in srgb, var(--surface2) 75%, transparent)}

.form{display:grid; gap:10px}
label span{display:block; font-weight:600; margin-bottom:6px}
input, textarea{
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: color-mix(in srgb, var(--surface2) 70%, transparent);
  color:var(--text);
  outline:none;
}
input:focus, textarea:focus{border-color: color-mix(in srgb, var(--brand2) 55%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand2) 20%, transparent)}
.form-note{margin:0; color:var(--muted)}

.footer{padding:26px 0; border-top:1px solid var(--line); background: color-mix(in srgb, var(--bg) 72%, transparent)}
.footer-inner{display:flex; gap:16px; justify-content:space-between; align-items:center; flex-wrap:wrap}
.footer-links{display:flex; gap:14px}
.footer-links a{color:var(--muted); text-decoration:none; padding:8px 10px; border-radius:12px; border:1px solid transparent}
.footer-links a:hover{color:var(--text); border-color:var(--line); background: color-mix(in srgb, var(--surface) 45%, transparent)}
.footer-meta{display:flex; gap:10px; align-items:center}
.sep{opacity:.6}

.fineprint{color:var(--muted); font-size:.9rem; margin-top:14px}

.page{padding:46px 0}
.page .content{border:1px solid var(--line); border-radius:var(--radius2); padding:18px; background: color-mix(in srgb, var(--surface) 60%, transparent)}
.page h1{margin-top:0}
.page h2{margin-top:18px}
.page ul{color:var(--muted)}
.page p{color:var(--muted)}

@media (max-width: 960px){
  .hero-grid{grid-template-columns: 1fr}
  .metrics{grid-template-columns: 1fr}
  .cards{grid-template-columns: 1fr}
  .resource-grid{grid-template-columns: 1fr}
  .grid-2{grid-template-columns: 1fr}
  .contact{grid-template-columns: 1fr}
  .nav{display:none}
  .hamburger{display:inline-block; margin-left:auto}
  .header-cta{display:none}
}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important; transition:none !important; animation:none !important}
}
