:root {
  --bg: #0e0624;
  --ink: #f7f4ff;
  --muted: #c9c2de;
  --line: rgba(255, 255, 255, 0.12);
  --violet: #7a4dff;
  --violet-deep: #4a12c4;
  --mint: #3ddec0;
  --coral: #ff7a59;
  --card: rgba(12, 6, 32, 0.62);
  --shadow: 0 24px 70px rgba(8, 0, 24, 0.45);
  --max: 1120px;
  --read: 740px;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(980px 520px at 8% -10%, rgba(122, 46, 230, 0.55), transparent 62%),
    radial-gradient(760px 420px at 100% 0%, rgba(255, 122, 89, 0.16), transparent 55%),
    radial-gradient(680px 380px at 88% 100%, rgba(61, 222, 192, 0.1), transparent 52%),
    var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: #c4b4ff; text-underline-offset: 3px; }
a:hover { color: white; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: white;
  color: #1a0848;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 5;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.wrap-narrow { width: min(var(--read), calc(100% - 40px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 4; backdrop-filter: blur(16px); background: rgba(14, 6, 36, 0.72); border-bottom: 1px solid transparent; }
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}
.brand img { width: 40px; height: 40px; border-radius: 12px; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; }

.nav-links { display: flex; flex-wrap: wrap; gap: 6px 4px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: white; background: rgba(255, 255, 255, 0.08); }

.hero { padding: 54px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mint);
  background: rgba(61, 222, 192, 0.08);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  max-width: 11ch;
}

.lede {
  max-width: 38rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.btn-primary { background: white; color: #3a1498; }
.btn-primary:hover { background: #efeaff; color: #2d0f78; }
.btn-ghost { border: 1px solid var(--line); color: white; background: rgba(255, 255, 255, 0.04); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.32); color: white; }
.btn-violet { background: var(--violet); color: white; }
.btn-violet:hover { background: #8b64ff; color: white; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8, 4, 24, 0.45);
  border: 1px solid var(--line);
  font-size: 0.92rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(61, 222, 192, 0.15); }
.dot.white { background: white; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12); }
.dot.coral { background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 122, 89, 0.16); }

.hero-visual { display: grid; justify-items: center; gap: 18px; }
.mark {
  width: min(240px, 70%);
  border-radius: 28%;
  box-shadow: var(--shadow);
}
.panel {
  width: min(340px, 100%);
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}
.panel-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--mint);
  font-weight: 650;
}
.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(61, 222, 192, 0.7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(61, 222, 192, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 222, 192, 0); }
}
.panel dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 0; }
.panel dt { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.panel dd { margin: 2px 0 0; font-weight: 650; }

.section { padding: 34px 0; }
.section h2, .note h2, .page h1 {
  letter-spacing: -0.04em;
}
.section-head { max-width: 40rem; margin-bottom: 18px; }
.section-head h2, .note h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p, .note p { margin: 8px 0 0; color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(16, 8, 36, 0.55);
}
.card h3 { margin: 12px 0 8px; font-size: 1.12rem; letter-spacing: -0.03em; }
.card p { margin: 0; color: var(--muted); }
.swatch { width: 36px; height: 4px; border-radius: 99px; background: var(--violet); }
.swatch.mint { background: var(--mint); }
.swatch.coral { background: var(--coral); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: white;
  color: #3a1498;
  font-weight: 700;
}
.steps h3 { margin: 0 0 6px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); }

.note {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(122, 77, 255, 0.28), rgba(12, 6, 32, 0.4));
}
.note-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(16, 8, 36, 0.45);
  padding: 4px 16px;
}
.faq summary { cursor: pointer; font-weight: 650; padding: 12px 0; }
.faq details p { margin: 0 0 14px; color: var(--muted); }

.page { padding: 36px 0 12px; }
.page h1 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.4rem); max-width: none; }
.updated { color: var(--muted); margin-top: 10px; }
.prose h2 { margin: 2rem 0 0.45rem; font-size: 1.28rem; letter-spacing: -0.03em; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }
.prose strong { color: var(--ink); font-weight: 650; }

.form { display: grid; gap: 14px; margin-top: 18px; }
.field { display: grid; gap: 6px; }
.field span { font-weight: 600; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(8, 4, 20, 0.55);
  color: white;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid #c4b4ff; outline-offset: 1px; }
.field-error { color: #ffb4a4; font-size: 0.9rem; }
.alert {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(61, 222, 192, 0.12);
  border: 1px solid rgba(61, 222, 192, 0.35);
}
.alert.error { background: rgba(255, 122, 89, 0.12); border-color: rgba(255, 122, 89, 0.4); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.site-footer { margin-top: 28px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 22px; align-items: start; }
.footer-brand img { width: 36px; height: 36px; }
.footer-tag { margin: 10px 0 0; }
.site-footer nav, .footer-contact { display: grid; gap: 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: white; }
.fine { margin: 22px 0 0; font-size: 0.88rem; }

:focus-visible { outline: 2px solid #c4b4ff; outline-offset: 2px; }

@media (max-width: 860px) {
  .hero-grid, .grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .nav-burger {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: white;
    cursor: pointer;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    padding: 8px 20px 16px;
    background: rgba(14, 6, 36, 0.96);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-bar { position: relative; flex-wrap: wrap; }
  h1 { max-width: 12ch; }
  .hero-visual { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
