:root {
  --bg: #0a0610;
  --text: #ffffff;
  --muted: #c8c8cc;
  --line: rgba(255, 255, 255, 0.16);
  --accent: #c4a1ff;
  --font: "Noto Sans", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  background-image:
    radial-gradient(720px 380px at 8% -8%, rgba(168, 85, 247, 0.22), transparent 58%),
    radial-gradient(640px 360px at 96% 4%, rgba(124, 58, 237, 0.16), transparent 52%);
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

.wrap { width: min(980px, calc(100% - 48px)); margin: 0 auto; }
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); background: rgba(10, 6, 16, 0.72); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-weight: 700; letter-spacing: -0.02em; font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 14px; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: none;
  cursor: pointer;
  font-weight: 600;
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-radius: 999px;
  padding: 10px 18px;
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--text); }

.hero { padding: 92px 0 40px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: end; }
.kicker {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; color: var(--text); }
h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  margin: 14px 0 18px;
}
h2 { font-size: 28px; }
h3 { font-size: 16px; }
.lede { color: var(--muted); font-size: 17px; max-width: 46ch; }
.hero-actions { display: flex; gap: 22px; margin-top: 32px; align-items: center; }

.panel { border-top: 1px solid var(--line); padding-top: 18px; }
.pair { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pair:last-child { border-bottom: 0; }
.pair strong { font-weight: 600; }
.pair small { color: var(--muted); font-weight: 400; margin-left: 8px; }
.up { color: var(--text); }
.down { color: var(--muted); }

section { padding: 28px 0 56px; }
.section-head { margin-bottom: 28px; max-width: 46ch; }
.section-head p { color: var(--muted); margin-top: 8px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }

.steps { display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 16px; }
.step span { color: var(--muted); font-size: 15px; font-weight: 600; }
.step p { color: var(--muted); }

.cta { margin: 8px 0 72px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; align-items: end; }

.page { padding: 72px 0 88px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); }
.prose { max-width: 680px; color: var(--muted); }
.prose h2 { margin: 36px 0 10px; color: var(--text); font-size: 22px; }
.prose p, .prose li { margin-bottom: 12px; }
.prose ul { padding-left: 18px; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); margin-top: 8px; }

form { display: grid; gap: 14px; margin-top: 22px; max-width: 520px; }
label { font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
input, textarea, select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0;
  color: var(--text);
}
input:focus, textarea:focus, select:focus { outline: none; border-bottom-color: #ffffff; }
textarea { min-height: 110px; resize: vertical; }
.form-note { color: var(--muted); font-size: 13px; }
.toast { display: none; margin-top: 8px; color: var(--text); }

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a:hover { color: var(--text); }

@media (max-width: 860px) {
  .hero, .grid-3, .cta { grid-template-columns: 1fr; display: grid; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    right: 24px;
    left: 24px;
    background: #140c1c;
    padding: 18px;
    gap: 14px;
  }
  .menu-btn { display: inline-flex; }
}
