:root{
  --bg:#070b14;
  --panel:#0b1220;
  --panel-2:#0f1a2e;
  --text:#e9eefb;
  --muted:#a9b4cc;
  --line:rgba(255,255,255,.10);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --shadow-soft: 0 10px 30px rgba(0,0,0,.35);
  --radius:18px;
  --radius-sm:14px;
  --max:1140px;
  --grad: linear-gradient(135deg, rgba(102,227,255,.9), rgba(138,92,255,.9));
  --grad-soft: radial-gradient(800px 500px at 10% 0%, rgba(102,227,255,.12), transparent 60%),
               radial-gradient(700px 500px at 90% 10%, rgba(138,92,255,.12), transparent 60%);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height:1.6;
  letter-spacing:.2px;
  background-image: var(--grad-soft);
}
a{color:inherit}
img{max-width:100%; height:auto}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.skip-link{
  position:absolute; left:-999px; top:10px;
  background:#fff; color:#000; padding:10px 12px; border-radius:12px;
  z-index:9999;
}
.skip-link:focus{left:10px}
.muted{color:var(--muted)}
hr.sep{border:0; border-top:1px solid var(--line); margin:26px 0}

.site-header{
  position:sticky; top:0; z-index:40;
  backdrop-filter: blur(14px);
  background: rgba(7,11,20,.55);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 0}
.brand{display:flex; gap:12px; text-decoration:none; align-items:center}
.brand-mark{
  width:38px; height:38px; border-radius:14px;
  background: var(--panel);
  border:1px solid var(--line);
  position:relative;
  box-shadow: var(--shadow-soft);
}
.brand-mark::before{
  content:"";
  position:absolute; inset:9px;
  border-radius:12px;
  background: var(--grad);
  filter: blur(0px);
  opacity:.95;
  mask: radial-gradient(circle at 30% 30%, #000 0 55%, transparent 60%),
        radial-gradient(circle at 70% 70%, #000 0 55%, transparent 60%);
}
.brand-text{display:flex; flex-direction:column; line-height:1.1}
.brand-name{font-weight:700; letter-spacing:.4px}
.brand-sub{font-size:12px; color:var(--muted); margin-top:2px}

.site-nav ul{list-style:none; display:flex; gap:16px; padding:0; margin:0; align-items:center}
.site-nav a{
  text-decoration:none;
  color:var(--muted);
  font-size:14px;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
}
.site-nav a:hover{color:var(--text); border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.04)}
.site-nav a.is-active{color:var(--text); border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.06)}
.nav-cta{margin-left:10px}
.nav-toggle{
  display:none; border:1px solid var(--line); background: rgba(255,255,255,.04);
  padding:10px; border-radius:14px; cursor:pointer;
}
.nav-toggle-bar{display:block; width:20px; height:2px; background: var(--text); opacity:.9; margin:4px 0; border-radius:2px}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:14px;
  text-decoration:none; font-weight:600;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow-soft);
  cursor:pointer;
}
.btn:hover{background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18)}
.btn-primary{
  background: linear-gradient(135deg, rgba(102,227,255,.18), rgba(138,92,255,.18));
  border-color: rgba(102,227,255,.26);
}
.btn-primary:hover{background: linear-gradient(135deg, rgba(102,227,255,.26), rgba(138,92,255,.26))}
.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,.14);
}
.btn-small{padding:8px 12px; font-size:14px; border-radius:12px}

main{padding:34px 0 64px}
.hero{
  padding:34px 0 18px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:stretch;
}
.hero-card{
  background: rgba(11,18,32,.72);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:26px;
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
.hero-card::after{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(600px 300px at 30% 10%, rgba(102,227,255,.18), transparent 60%),
              radial-gradient(600px 300px at 80% 40%, rgba(138,92,255,.16), transparent 60%);
  pointer-events:none;
}
.hero-card > *{position:relative}
.kicker{
  display:inline-flex; gap:8px; align-items:center;
  padding:6px 10px; border-radius:999px;
  border:1px solid rgba(102,227,255,.22);
  background: rgba(102,227,255,.08);
  color: #bff5ff;
  font-size:13px;
}
.kicker-dot{
  width:8px; height:8px; border-radius:99px;
  background: var(--grad);
}
h1{font-size:44px; line-height:1.08; margin:14px 0 10px}
.lead{font-size:17px; color: var(--muted); max-width: 62ch}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}
.trust-strip{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-top:16px;
}
.pill{
  font-size:13px;
  color: var(--muted);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding:8px 10px;
  border-radius:999px;
}
.side-card{
  background: rgba(11,18,32,.55);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:20px;
  box-shadow: var(--shadow-soft);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.side-title{font-weight:700; margin:0 0 10px}
.side-list{margin:0; padding-left:18px; color: var(--muted)}
.side-list li{margin:8px 0}
.section{
  margin-top:30px;
}
.section h2{margin:0 0 10px; font-size:26px}
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.card{
  background: rgba(11,18,32,.58);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow-soft);
}
.card h3{margin:0 0 8px; font-size:18px}
.card p{margin:0; color: var(--muted)}
.card .meta{margin-top:10px; display:flex; flex-wrap:wrap; gap:8px}
.tag{
  font-size:12px;
  padding:6px 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--muted);
}
.card-link{display:block; text-decoration:none}
.card-link:hover .card{border-color: rgba(102,227,255,.22)}
.col-4{grid-column: span 4}
.col-6{grid-column: span 6}
.col-8{grid-column: span 8}
.col-12{grid-column: span 12}

.callout{
  border-radius: var(--radius);
  border:1px solid rgba(102,227,255,.18);
  background: linear-gradient(135deg, rgba(102,227,255,.09), rgba(138,92,255,.08));
  padding:18px;
}
.callout strong{color:#dffbff}
.cta-band{
  margin-top:26px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.cta-band .left{max-width: 68ch}
.cta-band .left .title{font-weight:800; margin-bottom:6px}

.breadcrumbs{
  display:flex; flex-wrap:wrap; gap:8px;
  color: var(--muted);
  font-size:13px;
  margin: 8px 0 18px;
}
.breadcrumbs a{color: var(--muted); text-decoration:none}
.breadcrumbs a:hover{color: var(--text)}
.page-title{font-size:34px; line-height:1.1; margin: 0 0 10px}
.page-lead{color: var(--muted); max-width: 78ch; margin: 0 0 18px}

.list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li{margin:8px 0}

.filters{
  display:flex; flex-wrap:wrap; gap:10px;
  margin: 8px 0 14px;
}
.filter-btn{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  padding:8px 10px;
  border-radius:999px;
  cursor:pointer;
  font-weight:600;
}
.filter-btn.is-active{
  color: var(--text);
  border-color: rgba(102,227,255,.22);
  background: rgba(102,227,255,.08);
}

.kv{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.kv .item{
  border:1px solid var(--line);
  border-radius: var(--radius-sm);
  padding:14px;
  background: rgba(255,255,255,.03);
}
.kv .k{font-size:12px; color: var(--muted); text-transform:uppercase; letter-spacing:.9px}
.kv .v{margin-top:6px; font-weight:700}

.diagram{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:16px;
  background: rgba(255,255,255,.03);
  overflow:auto;
}
.diagram-grid{
  display:grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap:12px;
  align-items:stretch;
}
.box{
  border:1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  background: rgba(11,18,32,.7);
  padding:14px;
}
.box .t{font-weight:800; margin-bottom:6px}
.box .s{color: var(--muted); font-size:13px}
.arrow{
  display:flex; align-items:center; justify-content:center;
  color: var(--muted);
  font-weight:800;
}
.notice{
  font-size:13px;
  color: var(--muted);
  border-left: 3px solid rgba(102,227,255,.45);
  padding:10px 12px;
  background: rgba(102,227,255,.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.site-footer{
  border-top:1px solid var(--line);
  background: rgba(7,11,20,.7);
  padding:28px 0;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap:18px;
}
.footer-brand{display:flex; gap:12px; align-items:flex-start}
.footer-title{font-weight:800}
.footer-sub{color: var(--muted); font-size:13px; margin-top:2px}
.footer-heading{font-weight:800; margin-bottom:10px}
.footer-links{list-style:none; padding:0; margin:0}
.footer-links li{margin:8px 0}
.footer-links a{color: var(--muted); text-decoration:none}
.footer-links a:hover{color: var(--text)}
.footer-bottom{
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  padding-top:18px; margin-top:18px;
  border-top:1px solid var(--line);
  color: var(--muted);
  font-size:13px;
}

.form-row{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
}
.codeblock{
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(0,0,0,.25);
  padding:14px;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  overflow:auto;
  white-space: pre-wrap;
}

@media (max-width: 980px){
  h1{font-size:38px}
  .hero-grid{grid-template-columns: 1fr}
  .footer-grid{grid-template-columns: 1fr}
  .site-nav{
    position:absolute;
    top:64px; left:0; right:0;
    background: rgba(7,11,20,.98);
    border-bottom:1px solid var(--line);
    padding:14px 20px;
    display:none;
  }
  .site-nav.is-open{display:block}
  .site-nav ul{flex-direction:column; align-items:stretch}
  .nav-cta{margin:10px 0 0}
  .nav-toggle{display:block}
  .col-4{grid-column: span 12}
  .col-6{grid-column: span 12}
  .col-8{grid-column: span 12}
  .kv{grid-template-columns: 1fr}
  .diagram-grid{grid-template-columns: 1fr}
  .arrow{display:none}
}

:focus-visible{
  outline: 2px solid rgba(102,227,255,.55);
  outline-offset: 3px;
  border-radius: 10px;
}
