:root{
  --bg:#0b0d10;
  --panel:#12151b;
  --panel2:#0f1217;
  --text:#e9eef7;
  --muted:#a8b3c7;
  --line:rgba(255,255,255,.10);
  --shadow:0 12px 30px rgba(0,0,0,.35);
  --radius:16px;
  --max:980px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(900px 600px at 20% -10%, rgba(87,140,255,.18), transparent 60%),
              radial-gradient(900px 600px at 90% 10%, rgba(255,120,180,.10), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.5;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.95}

.container{
  width:100%;
  max-width:var(--max);
  margin:0 auto;
  padding:0 16px;
}

.site-header{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter:saturate(140%) blur(10px);
  background:rgba(11,13,16,.72);
  border-bottom:1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:64px;
  gap:12px;
}

.brand{
  font-weight:800;
  letter-spacing:.2px;
}

.nav{
  display:flex;
  gap:6px;
  align-items:center;
  font-size:.95rem;
  color:var(--muted);
  flex-wrap:wrap;
}
.nav a{padding:8px 10px; border-radius:10px; white-space:nowrap}
.nav a.active, .nav a:hover{background:rgba(255,255,255,.06); color:var(--text)}

main{padding:26px 0 44px}

.hero{
  padding:22px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow:var(--shadow);
}
.hero.compact{padding:18px}
.kicker{margin:0 0 8px; color:var(--muted); font-size:.95rem}
h1{margin:0 0 10px; font-size:clamp(1.6rem, 3.5vw, 2.4rem); line-height:1.12}
.lead{margin:0; color:rgba(233,238,247,.92); font-size:1.07rem; max-width:70ch}

.notice{
  margin-top:14px;
  padding:12px 14px;
  border:1px dashed rgba(255,255,255,.18);
  border-radius:14px;
  background:rgba(0,0,0,.22);
  color:var(--muted);
  font-size:.95rem;
}

.card{
  margin-top:16px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(18,21,27,.72);
  box-shadow:var(--shadow);
}
.card h2{margin:0 0 10px; font-size:1.2rem}
.card h3{margin:0 0 6px; font-size:1.05rem}
.muted{color:var(--muted)}
.prose p{color:rgba(233,238,247,.9)}
.prose h2{margin-top:18px}

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

.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 16px;
  min-height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  color:var(--text);
  font-size:1rem;
  font-weight:650;
  cursor:pointer;
  user-select:none;
}
.btn:hover{background:rgba(255,255,255,.08)}
.btn.primary{
  background:linear-gradient(180deg, rgba(87,140,255,.30), rgba(87,140,255,.14));
  border-color:rgba(87,140,255,.40);
}
.btn.disabled{
  opacity:.55;
  cursor:not-allowed;
  pointer-events:none;
}

.bullets{margin:10px 0 0 18px; color:rgba(233,238,247,.9)}
.bullets li{margin:6px 0}

.stack{display:flex; flex-direction:column; gap:12px}
.lane{
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.18);
}
.lane p{margin:0}
.lane ul{margin-top:8px}

.chip-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  color:var(--text);
  padding:10px 12px;
  border-radius:999px;
  cursor:pointer;
  font-weight:650;
  font-size:1rem;
  font-family:inherit;
  line-height:1.4;
  -webkit-appearance:none;
  appearance:none;
  text-decoration:none;
}
.chip:hover{background:rgba(255,255,255,.08)}
.chip.ghost{
  opacity:.85;
}
.chip.selected{
  border-color:rgba(87,140,255,.55);
  background:rgba(87,140,255,.18);
}

.list{display:flex; flex-direction:column; gap:10px}
.list-item{
  display:block;
  padding:14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.18);
}
.list-item:hover{background:rgba(255,255,255,.06)}
.li-title{font-weight:800; margin-bottom:4px}
.li-meta{color:var(--muted); font-size:.95rem}

.search-row{margin-top:14px}
input[type="search"]{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.25);
  color:var(--text);
  outline:none;
}
input[type="search"]::placeholder{color:rgba(168,179,199,.85)}
input[type="search"]:focus{border-color:rgba(87,140,255,.55)}

.divider{
  height:1px;
  background:var(--line);
  margin:16px 0;
}

.site-footer{
  border-top:1px solid var(--line);
  padding:18px 0 26px;
  color:var(--muted);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.footer-links{display:flex; gap:12px; flex-wrap:wrap}
.footer-links a{color:var(--muted)}
.footer-links a:hover{color:var(--text)}

.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

@media (max-width:600px){
  .header-inner{
    min-height:56px;
    flex-wrap:wrap;
    padding:10px 0;
    gap:8px;
  }
  .nav{
    font-size:.85rem;
    gap:2px;
  }
  .nav a{padding:6px 8px}
  .hero{padding:16px}
  .hero.compact{padding:14px}
  .card{padding:14px}
  h1{font-size:clamp(1.4rem, 6vw, 2rem)}
  .lead{font-size:1rem}
  .chip{
    padding:10px 14px;
    min-height:44px;
    font-size:.95rem;
  }
  .cta-row{
    flex-direction:column;
  }
  .cta-row .btn{
    width:100%;
    text-align:center;
  }
  main{padding:16px 0 32px}
}
