:root{
  --bg:#0b1220;
  --card:#101a31;
  --text:#eef2ff;
  --muted:#c7d2fe;
  --accent:#22c55e;
  --accent2:#60a5fa;
  --border:rgba(255,255,255,.12);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1080px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1100px 600px at 20% 0%, rgba(96,165,250,.25), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(34,197,94,.18), transparent 60%),
    var(--bg);
  line-height:1.5;
}

a{color:inherit}

.wrap{max-width:var(--max); margin:0 auto; padding:22px}

.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.65);
  border-bottom: 1px solid var(--border);
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 22px;
  max-width:var(--max);
  margin:0 auto;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}

.brand img{
  width:132px;
  height:132px;
  border-radius:12px;
  object-fit:cover;
  background: rgba(255,255,255,.06);
  border:1px solid var(--border);
}

.brand-title{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.brand-title strong{font-size:15px}
.brand-title span{font-size:12px; color:var(--muted)}

nav{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
}

nav a{
  text-decoration:none;
  font-size:13px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:12px;
}

nav a:hover{
  background: rgba(255,255,255,.06);
  color: var(--text);
}

.cta{
  display: flex;
  flex-direction: column;   /* stack vertically */
  gap: 8px;
  align-items: flex-end;    /* keep buttons right-aligned */
  min-width: auto;          /* remove forced width */
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  text-decoration:none;
  font-weight:650;
  font-size:13px;
  white-space:nowrap;
}

.btn:hover{transform: translateY(-1px);}

.btn.primary{
  background: linear-gradient(180deg, rgba(34,197,94,.95), rgba(34,197,94,.72));
  border-color: rgba(34,197,94,.65);
  color:#05130b;
}

.btn.secondary{
  background: linear-gradient(180deg, rgba(96,165,250,.95), rgba(96,165,250,.65));
  border-color: rgba(96,165,250,.55);
  color:#06101f;
}

header.hero{padding:26px 0 8px}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
  align-items:stretch;
}

.card{
  background: rgba(16,26,49,.75);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}

.hero h1{
  margin:0 0 10px;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing:-0.02em;
  line-height:1.08;
}

.lead{
  color:var(--muted);
  font-size:16px;
  margin:0 0 16px;
  max-width:62ch;
}

.pillrow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:10px 0 18px;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  font-size:13px;
}

.tiny{font-size:12px; color:var(--muted)}

.list{
  margin:10px 0 0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.list li{
  display:flex;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
}

.check{
  width:22px;
  height:22px;
  border-radius:7px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(34,197,94,.18);
  border:1px solid rgba(34,197,94,.35);
  flex:0 0 22px;
  margin-top:2px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:16px;
  margin:16px 0;
}

.col-12{grid-column: span 12;}

h2{margin:0 0 10px; font-size:22px}

.muted{color:var(--muted)}

.notice{
  border-left:4px solid rgba(96,165,250,.8);
  padding:10px 12px;
  background: rgba(96,165,250,.10);
  border-radius:12px;
  margin-top:12px;
}

footer{
  margin:24px 0 10px;
  padding:18px 0 8px;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:12px;
}

@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;}
  .grid{grid-template-columns: repeat(6, 1fr);}
  .col-12{grid-column: span 6;}
  .topbar-inner{flex-wrap:wrap; justify-content:center}
  .brand{min-width:unset;}
  .cta{min-width:unset; justify-content:center}
  nav{justify-content:center}
}

nav a.active {
  background: rgba(255,255,255,.12);
  color: var(--text);
}