:root {
  color-scheme: dark;
  --bg: #08080c;
  --bg-2: #101018;
  --surface: #15141d;
  --surface-2: #1c1a26;
  --line: rgba(224, 215, 255, .13);
  --line-strong: rgba(224, 215, 255, .24);
  --ink: #f5f2fb;
  --muted: #aaa3b6;
  --soft: #7d748c;
  --purple: #8c6dff;
  --purple-dark: #5f45c8;
  --green: #77d59a;
  --shadow: 0 24px 70px rgba(0, 0, 0, .32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(140, 109, 255, .16), transparent 36rem),
    linear-gradient(180deg, var(--bg) 0%, #090910 48%, #07070b 100%);
  color: var(--ink);
  font: 16px/1.58 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }
.shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  padding: 24px 0 72px;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 88px;
}

.brand {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.nav-links a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: 46px;
  align-items: center;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: .98;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.05;
  letter-spacing: 0;
}
h3 {
  margin-bottom: 8px;
  font-size: 17px;
  letter-spacing: 0;
}
p { color: var(--muted); }
.hero-lead {
  max-width: 760px;
  color: #d8d2e4;
  font-size: clamp(18px, 2vw, 22px);
}

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

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, .045);
  color: var(--ink);
  font: inherit;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
button {
  border-color: rgba(140, 109, 255, .72);
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
}

.hero-panel,
.quiet-card,
.facts,
.steps article,
.safety-list div,
.waitlist-form {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(28, 26, 38, .92), rgba(17, 16, 24, .88));
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 24px;
}
.hero-panel strong {
  display: block;
  margin-bottom: 8px;
}
.small {
  color: var(--soft);
  font-size: 14px;
}

.mini-loop {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0;
}
.mini-loop span {
  border: 1px solid rgba(140, 109, 255, .24);
  border-radius: 8px;
  padding: 10px 11px;
  color: var(--ink);
  background: rgba(140, 109, 255, .08);
  font-weight: 720;
}

.section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: 34px;
  align-items: start;
}

.quiet-card,
.facts,
.waitlist-form {
  padding: 24px;
}

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

li + li { margin-top: 8px; }

.facts {
  display: grid;
  gap: 12px;
}
.facts div,
.safety-list div {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 13px;
}
.facts div:first-child,
.safety-list div:first-child {
  border-top: 0;
  padding-top: 0;
}
.facts span,
.safety-list span {
  display: block;
  color: var(--soft);
  font-size: 13px;
}
.facts strong,
.safety-list strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.steps article {
  min-height: 210px;
  padding: 20px;
}
.steps span {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--purple);
  font-weight: 800;
}

.safety-list {
  display: grid;
  gap: 14px;
}

.signal {
  background: rgba(255,255,255,.018);
}

.waitlist-form {
  display: grid;
  gap: 10px;
}
.waitlist-form label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 13px;
  background: rgba(255,255,255,.055);
  color: var(--ink);
  font: inherit;
}
textarea { resize: vertical; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.4;
}
.consent input {
  width: auto;
  margin-top: 4px;
}
.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-status {
  min-height: 22px;
  color: var(--green);
}

.site-footer {
  padding: 36px 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.footer-grid div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav,
  .hero,
  .split,
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  .nav-links,
  .footer-grid div:last-child {
    justify-content: start;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 22px, 520px);
  }
  .site-header {
    padding-bottom: 54px;
  }
  .nav {
    margin-bottom: 58px;
  }
  .nav-links {
    gap: 12px;
  }
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 30px;
  }
  .section {
    padding: 56px 0;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps article {
    min-height: auto;
  }
  .steps span {
    margin-bottom: 28px;
  }
}
