:root {
  color-scheme: dark;
  --bg: #10101b;
  --bg-soft: #17172a;
  --card: rgba(255, 255, 255, 0.075);
  --card-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.13);
  --text: #f7f4ff;
  --muted: #b8b2ca;
  --soft: #817b98;
  --accent: #9286ff;
  --accent-2: #f0b7d7;
  --ok: #9fe0c5;
  --danger: #ffb4bd;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 8%, rgba(146, 134, 255, 0.28), transparent 34rem),
    radial-gradient(circle at 86% 18%, rgba(240, 183, 215, 0.18), transparent 28rem),
    linear-gradient(180deg, #171735 0%, var(--bg) 54%, #0d0d16 100%);
}

a {
  color: inherit;
}

.site-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 16, 27, 0.62);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 26%, rgba(255, 255, 255, 0.95), transparent 16%),
    radial-gradient(circle at 65% 70%, rgba(255, 181, 214, 0.9), transparent 24%),
    linear-gradient(135deg, #8276ff, #f3a9d1);
  box-shadow: 0 0 32px rgba(146, 134, 255, 0.44);
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

.hero {
  padding: 74px 0 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d9d4ff;
  background: rgba(146, 134, 255, 0.14);
  border: 1px solid rgba(146, 134, 255, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

h1 {
  margin: 22px 0 14px;
  max-width: 820px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.45;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 750;
}

.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
  padding: 24px 0 80px;
}

.toc {
  position: sticky;
  top: 100px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.toc-title {
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 10px;
}

.toc a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.25;
  padding: 9px 10px;
  border-radius: 12px;
}

.toc a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
}

.content {
  display: grid;
  gap: 16px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.055));
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 34px);
}

.panel.warning {
  border-color: rgba(255, 180, 189, 0.32);
  background: linear-gradient(180deg, rgba(255, 180, 189, 0.12), rgba(255, 255, 255, 0.055));
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 3.8vw, 36px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 24px 0 8px;
  font-size: 19px;
}

p,
li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

p {
  margin: 0 0 14px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

strong {
  color: var(--text);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.mini-card b {
  display: block;
  margin-bottom: 6px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.08);
}

.button.primary {
  border-color: rgba(146, 134, 255, 0.4);
  background: linear-gradient(135deg, #756bdf, #9a8fff);
  box-shadow: 0 12px 40px rgba(146, 134, 255, 0.22);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px 0 44px;
  color: var(--soft);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 14px;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.support-card {
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.065);
  text-decoration: none;
}

.support-card span {
  display: block;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 18px;
}

.support-card b {
  display: block;
  font-size: 22px;
  margin-bottom: 8px;
}

.support-card p {
  font-size: 15px;
}

.faq-button {
  width: 100%;
  padding: 20px 0;
  border: 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 18px;
  font-weight: 850;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding-bottom: 20px;
}

.faq-item.open .faq-answer {
  display: block;
}

@media (max-width: 860px) {
  .site-shell {
    width: min(100% - 28px, 680px);
  }

  .nav-inner {
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .layout {
    grid-template-columns: 1fr;
    padding-top: 12px;
  }

  .toc {
    position: static;
  }

  .grid,
  .support-list {
    grid-template-columns: 1fr;
  }
}

