:root{
  --bg:#070a12;
  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.045);
  --border:rgba(255,255,255,.10);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.65);
  --accent:#4ea3ff;
  --accent2:#7c5cff;
  --shadow:0 18px 50px rgba(0,0,0,.45);
  --radius:18px;
  --max:1100px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

/* FORCE dark theme at the document level */
html, body{
  background: var(--bg) !important;
  color: var(--text);
}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(78,163,255,.35), transparent 55%),
    radial-gradient(900px 500px at 85% 0%, rgba(124,92,255,.30), transparent 55%),
    linear-gradient(180deg,#050812,#070a12);
  line-height:1.65;
}

a{color:inherit;text-decoration:none}
a:hover{color:var(--accent)}

.container{width:min(var(--max),calc(100% - 40px));margin:auto}

/* Icon safety: never huge */
.icon{
  width:18px;
  height:18px;
  display:inline-block;
  flex:0 0 auto;
}

/* Topbar */
.topbar{
  position:sticky;top:0;z-index:50;
  background:rgba(7,10,18,.75);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
}

.brand-badge{
  width:34px;height:34px;border-radius:10px;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
}

.menu{
  margin-left:auto;
  display:flex;
  gap:22px;
  flex-wrap:wrap;
}

.menu a{
  font-size:14px;
  color:var(--muted);
  padding:6px 12px;
  border-radius:10px;
}

.menu a.active,
.menu a:hover{
  color:var(--text);
  background:rgba(255,255,255,.06);
}

/* Layout */
.hero{padding:48px 0}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:24px}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr}}

.card{
  background:linear-gradient(180deg,var(--panel),var(--panel2));
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.hero-main{padding:26px}
.hero-side{padding:20px}

/* Headings */
.kicker{
  display:flex;
  gap:10px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:rgba(255,255,255,.7);
}

.kicker-dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--accent);
}

h1{margin:12px 0 6px;font-size:42px}
.subtitle{color:var(--muted)}

/* Buttons */
.hero-actions{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  font-weight:600;
  font-size:14px;
}

.btn.primary{
  background:linear-gradient(135deg,rgba(78,163,255,.25),rgba(124,92,255,.20));
}

.btn:hover{transform:translateY(-1px)}

/* Profile */
.profile{
  display:flex;
  align-items:center;
  gap:12px;
}

.profile img{
  width:150px;
  height:150px;
  border-radius:20px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.15);
}

.profile span{font-size:13px;color:var(--muted)}

.panel-title{font-size:14px;color:rgba(255,255,255,.7)}

.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
}

/* Body */
.section{padding-bottom:48px}
.prose{padding:22px}
.prose p{margin:0 0 14px}

/* Footer */
.footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:18px 0;
  color:var(--muted);
  font-size:13px;
}
.small-links{display:flex;gap:14px}
