:root{
  --bg:#0b1220;
  --bg2:#0f1a2e;
  --card:#121c33;
  --text:#e7eefc;
  --muted:#b7c5e3;
  --brand:#33f0b1;
  --brand2:#4aa3ff;
  --border:rgba(255,255,255,.10);
  --shadow: 0 12px 40px rgba(0,0,0,.35);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 15% 20%, rgba(74,163,255,.18), transparent 60%),
    radial-gradient(1100px 700px at 80% 30%, rgba(51,240,177,.14), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

a{color:inherit;text-decoration:none}
.container{max-width:1100px;margin:0 auto;padding:0 18px}

/* ===== Compact Header (stable) ===== */
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.65);
  border-bottom: 1px solid var(--border);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 6px 0;
  gap: 14px;
}
.brand{display:flex; gap:10px; align-items:center}
.brand img{width:26px;height:26px;border-radius:10px;box-shadow:var(--shadow)}
.brand .name{font-weight:800;letter-spacing:.2px;font-size:13px;line-height:1.05}
.brand .tag{font-size:10px;color:var(--muted);margin-top:0}
.nav-links{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.nav-links a{font-size:13px;color:var(--muted)}
.nav-links a:hover{color:var(--text)}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:7px 10px;border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
  font-size:12px;
}
.btn:hover{background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.18)}
.btn:active{transform: translateY(1px)}
.btn-primary{
  border:none;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  color:#06101f;
  font-weight:800;
}

/* ===== Layout ===== */
.hero{padding:22px 0 18px}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;align-items:stretch}
@media (max-width: 900px){.hero-grid{grid-template-columns:1fr}}
.kicker{color:var(--brand);font-weight:800;letter-spacing:.3px;font-size:13px}

h1{font-size:42px;line-height:1.08;margin:12px 0 10px}
@media (max-width: 520px){h1{font-size:34px}}
.lead{color:var(--muted);font-size:16px;line-height:1.55;margin:0 0 14px}

.card, .hero-card{
  background: rgba(18,28,51,.72);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:16px;
}

.badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.badge{
  font-size:12px;color:var(--muted);
  padding:8px 10px;border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
}

.section{padding:20px 0}
.section h2{font-size:26px;margin:0 0 10px}
.section p{color:var(--muted);margin:0 0 14px;line-height:1.6}

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

.step{display:flex;gap:12px}
.step .n{
  width:34px;height:34px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background: rgba(51,240,177,.14);
  border:1px solid rgba(51,240,177,.25);
  color:var(--brand);
  font-weight:900;
}
.step h3{margin:0;font-size:16px}
.step p{margin:6px 0 0;color:var(--muted);font-size:14px;line-height:1.5}

.hr{height:1px;background:var(--border);margin:14px 0}

.form-row{display:flex;gap:10px;flex-wrap:wrap}
input, select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:var(--text);
  outline:none;
}
input::placeholder{color:rgba(231,238,252,.55)}
.form-row > *{flex:1 1 220px}

.small{font-size:12px;color:rgba(231,238,252,.60);line-height:1.45}

.notice{
  border:1px solid rgba(74,163,255,.25);
  background: rgba(74,163,255,.10);
  border-radius: var(--radius);
  padding:14px;
  color: rgba(231,238,252,.85);
}

.split{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width: 900px){.split{grid-template-columns:1fr}}

.pill{
  display:inline-flex;gap:8px;align-items:center;
  padding:9px 12px;border-radius:999px;
  border:1px solid rgba(51,240,177,.25);
  background: rgba(51,240,177,.10);
  color: rgba(231,238,252,.92);
  font-weight:800;
}

.kpi{
  display:flex;justify-content:space-between;gap:12px;
  padding:12px 14px;border-radius:16px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
}
.kpi strong{font-size:18px}
.kpi span{color:var(--muted);font-size:13px}

.footer{padding:18px 0 40px;color:rgba(231,238,252,.65)}
.footer a{color:rgba(231,238,252,.75);text-decoration:underline}

/* ===== Comic Banner sizing ===== */
.comic-banner{
  display:block;
  width: 72%;
  max-width: 900px;
  height:auto;
  margin: 0 auto;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
}
@media (max-width: 900px){
  .comic-banner{ width: 100%; }
}