:root {
  --bg: #0b0914;
  --bg-soft: #151126;
  --surface: rgba(23, 18, 43, 0.84);
  --surface-strong: rgba(31, 24, 57, 0.94);
  --surface-border: rgba(255, 255, 255, 0.14);
  --text: #f3ecff;
  --text-muted: #bdb3d7;
  --text-soft: #9388b2;
  --accent: #e6b7ff;
  --accent-strong: #b58cff;
  --accent-warm: #ffd8a8;
  --success: #96f6d5;
  --shadow: 0 32px 80px rgba(3, 2, 10, 0.42);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(181, 140, 255, 0.2), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(255, 216, 168, 0.16), transparent 24%),
    linear-gradient(180deg, #090712 0%, #0c0917 48%, #120c22 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 44%, transparent 100%);
  opacity: 0.18;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #140f25;
}

.skip-link:focus {
  top: 16px;
}

.site-shell {
  position: relative;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 36px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  margin-top: 20px;
  padding: 18px 24px;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background: rgba(9, 7, 18, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 40px rgba(3, 2, 10, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, #fffbe8 0%, #ffe2ac 28%, #c89bff 60%, #5b2b9f 100%);
  box-shadow: 0 0 22px rgba(230, 183, 255, 0.5);
}

.brand-wordmark,
.footer-brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a,
.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--text);
}

.hero,
.section,
.legal-hero,
.support-grid {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 72px 0 36px;
}

.eyebrow,
.panel-label,
.support-kicker,
.trust-kicker {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--accent-warm);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.98;
  font-weight: 600;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h3 {
  font-size: 1.7rem;
}

p,
li,
input,
button {
  font-size: 1rem;
}

.hero-lead,
.hero-note,
.footer-copy,
.legal-hero p,
.statement-card p,
.info-card p,
.support-card p,
.trust-card p,
.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.hero-lead {
  max-width: 56ch;
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #f0ccff 0%, #d3b5ff 48%, #ffc89d 100%);
  color: #170f28;
  box-shadow: 0 18px 34px rgba(206, 172, 255, 0.22);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero-card,
.info-card,
.statement-card,
.trust-card,
.support-card,
.legal-aside,
.legal-content,
.waitlist-shell {
  border: 1px solid var(--surface-border);
  background: linear-gradient(180deg, rgba(28, 22, 52, 0.82) 0%, rgba(15, 12, 29, 0.9) 100%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 24px;
  border-radius: 36px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
}

.orb-a {
  right: 18px;
  top: 18px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at center, rgba(255, 223, 182, 0.8), rgba(255, 223, 182, 0));
}

.orb-b {
  left: -14px;
  bottom: 24px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at center, rgba(181, 140, 255, 0.66), rgba(181, 140, 255, 0));
}

.card-panel {
  position: relative;
  margin-top: 18px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.feature-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.section {
  padding: 34px 0;
}

.section-alt {
  padding: 42px 28px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.025);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 24px;
}

.three-up,
.trust-grid,
.support-grid,
.split-grid,
.legal-layout {
  display: grid;
  gap: 20px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.statement-card,
.support-card {
  padding: 24px;
  border-radius: 24px;
}

.split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.disclaimer-inline {
  max-width: 70ch;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-soft);
}

.waitlist-section {
  padding-top: 48px;
}

.waitlist-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  padding: 28px;
  border-radius: 32px;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-label {
  margin-bottom: 10px;
  font-weight: 700;
}

.form-row {
  display: flex;
  gap: 12px;
}

input[type="email"] {
  flex: 1;
  min-height: 52px;
  min-width: 0;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

input[type="email"]::placeholder {
  color: #958ab2;
}

input[type="email"]:focus-visible,
.button:focus-visible,
.site-nav a:focus-visible,
.footer-nav a:focus-visible {
  outline: 3px solid rgba(255, 216, 168, 0.5);
  outline-offset: 2px;
}

.form-helper,
.form-feedback {
  margin: 12px 0 0;
  color: var(--text-soft);
}

.form-feedback.is-success {
  color: var(--success);
}

.form-feedback.is-error {
  color: #ffb2c8;
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
}

.trust-card {
  display: block;
  padding: 24px;
  border-radius: 24px;
  text-decoration: none;
}

.trust-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.site-footer {
  margin: 34px 0 12px;
  padding: 24px 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-page,
.support-page {
  padding: 48px 0 14px;
}

.legal-hero {
  max-width: 800px;
  padding: 28px 0 18px;
}

.legal-layout {
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
}

.legal-aside,
.legal-content {
  border-radius: 24px;
}

.legal-aside {
  position: sticky;
  top: 108px;
  padding: 20px;
}

.legal-aside p {
  margin-top: 0;
  color: var(--accent-warm);
  font-weight: 700;
}

.legal-aside a {
  display: block;
  margin: 8px 0;
  color: var(--text-muted);
  text-decoration: none;
}

.legal-content {
  padding: 28px;
}

.legal-content section + section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-content ul {
  padding-left: 22px;
}

.support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 30px;
}

.support-card {
  min-height: 100%;
}

.support-faq a,
.legal-content a,
.support-card a:not(.button) {
  color: #ffd8a8;
}

@media (max-width: 1024px) {
  .hero,
  .waitlist-shell,
  .legal-layout,
  .three-up,
  .trust-grid,
  .support-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    padding: 18px;
    border-radius: 28px;
  }

  .site-nav,
  .footer-nav {
    gap: 14px;
  }

  h1 {
    font-size: clamp(2.9rem, 14vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3.1rem);
  }

  .hero-card,
  .section-alt,
  .waitlist-shell,
  .legal-content,
  .legal-aside {
    border-radius: 24px;
  }

  .hero-card {
    min-height: 420px;
  }

  .form-row {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
