:root {
  --bg: #050a18;
  --bg-2: #091127;
  --card: rgba(20, 29, 54, 0.84);
  --card-2: rgba(17, 26, 48, 0.92);
  --text: #eef2ff;
  --muted: #a6b0c8;
  --border: rgba(255,255,255,0.08);
  --primary: #6c63ff;
  --primary-2: #8f8aff;
  --teal: #2dd4bf;
  --teal-soft: rgba(45, 212, 191, 0.10);
  --shadow: 0 18px 50px rgba(0,0,0,0.28);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* ─── Topbar ─── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  margin: 0 -20px 20px;
  backdrop-filter: blur(12px);
  background: rgba(5, 10, 24, 0.70);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .01em;
}
.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.brand-badge--emoji {
  background: linear-gradient(135deg, var(--primary), #7bd1e8);
  display: grid;
  place-items: center;
  color: white;
  font-size: 16px;
}
.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.nav-links a:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255,255,255,0.03);
}
.nav-links a.active {
  color: var(--text);
  border-color: rgba(108,99,255,0.28);
  background: rgba(108,99,255,0.10);
}

/* ─── Back link ─── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 16px;
  transition: color .15s ease;
}
.back-link:hover { color: var(--text); }

/* ─── Hero ─── */
.hero {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.hero h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.hero p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 54ch;
  line-height: 1.65;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(108,99,255,0.15);
  background: rgba(108,99,255,0.06);
  color: var(--primary-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}

/* ─── Cards ─── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: border-color .2s ease;
}
.card:hover {
  border-color: rgba(255,255,255,0.12);
}
.card + .card { margin-top: 16px; }
h2.section-title {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: -0.01em;
}
h3.subsection-title {
  margin: 16px 0 6px;
  font-size: 15px;
  color: var(--primary-2);
  font-weight: 600;
}
p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.card p:last-child { margin-bottom: 0; }
ul {
  margin: 0;
  padding-left: 20px;
}
li {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.notice {
  border: 1px solid rgba(45,212,191,0.18);
  background: var(--teal-soft);
  border-radius: 14px;
  padding: 16px;
}
.contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(108,99,255,0.06);
  transition: border-color .15s ease;
}
.contact:hover {
  border-color: rgba(108,99,255,0.35);
}
.contact a {
  color: var(--primary-2);
  text-decoration: none;
  font-weight: 600;
}
.footer-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(166,176,200,0.5);
  font-size: 12px;
}
@media (max-width: 640px) {
  .hero h1 { font-size: 26px; }
  .hero { padding: 22px 20px; }
  .card { padding: 20px; }
  .topbar { align-items: flex-start; flex-direction: column; }
}
