:root {
  color-scheme: dark;
  --deep-night-navy: #0B0E1A;
  --midnight-indigo: #151A2E;
  --surface-indigo: #1F2547;
  --surface-border: #35345E;
  --moon-lilac: #B79CFF;
  --soft-violet: #7C5CFF;
  --glow-lavender: #D9C9FF;
  --sunrise-gold: #FFB84D;
  --cloud-white: #F5F7FF;
  --mist-text: #C9C9DD;
  --muted-text: #9090A8;
  --border: rgba(183, 156, 255, .18);
  --card: rgba(21, 26, 46, .72);
  --card-strong: rgba(31, 37, 71, .86);
  --shadow: 0 20px 70px rgba(0,0,0,.35);
  --violet-glow: 0 18px 60px rgba(124,92,255,.28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 4%, rgba(183,156,255,.18), transparent 34rem),
    radial-gradient(circle at 86% 16%, rgba(124,92,255,.16), transparent 30rem),
    linear-gradient(180deg, var(--deep-night-navy), var(--midnight-indigo) 52%, var(--deep-night-navy));
  color: var(--cloud-white);
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }

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

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin: 12px 0 34px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(11, 14, 26, .72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand-link img { height: 46px; width: auto; }
.site-nav { display: none; justify-content: center; gap: 8px; }
.site-nav a,
.site-footer nav a {
  color: var(--mist-text);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 14px;
}
.site-nav a:hover,
.site-footer nav a:hover { color: var(--cloud-white); background: rgba(183,156,255,.12); }

.menu-button,
.header-cta,
.button {
  border: 0;
  border-radius: 16px;
  padding: 12px 16px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--moon-lilac), var(--soft-violet));
  box-shadow: 0 12px 28px rgba(124, 92, 255, .32);
  cursor: pointer;
}

.header-cta { display: none; }
.menu-button { justify-self: end; }
.site-header.menu-open { align-items: start; }
.site-header.menu-open .site-nav {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  justify-content: stretch;
}
.site-header.menu-open .site-nav a { background: rgba(183,156,255,.08); }

.hero-section,
.content-section,
.legal-section,
.cta-section,
.not-found-section {
  border: 1px solid var(--border);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(31,37,71,.70), rgba(11,14,26,.56));
  box-shadow: var(--shadow);
}

.hero-section {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 8vw, 72px);
  overflow: hidden;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: -20% 20% auto -20%;
  height: 330px;
  background: radial-gradient(circle, rgba(183,156,255,.18), transparent 62%);
  pointer-events: none;
}

.hero-copy,
.hero-visual { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(183,156,255,.3);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--glow-lavender);
  background: rgba(124,92,255,.14);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}

h1, h2, h3 { margin: 0; letter-spacing: -.055em; }
h1 { font-size: clamp(42px, 13vw, 86px); line-height: .92; margin-top: 22px; }
h2 { font-size: clamp(30px, 8vw, 56px); line-height: 1; }
h3 { font-size: 22px; }
p { color: var(--mist-text); line-height: 1.65; font-size: 16px; }
.hero-copy p { font-size: clamp(17px, 4.4vw, 22px); max-width: 740px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; }
.button-secondary { background: rgba(183,156,255,.12); border: 1px solid var(--border); box-shadow: none; color: var(--cloud-white); }

.hero-visual {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--violet-glow);
}
.hero-visual img { width: 100%; height: auto; }

.section-stack { display: grid; gap: 18px; margin: 18px 0; }
.content-section,
.legal-section,
.cta-section,
.not-found-section { padding: clamp(24px, 7vw, 56px); }
.content-section--image_text { display: grid; gap: 22px; }
.content-section__image { border-radius: 24px; overflow: hidden; border: 1px solid var(--border); background: rgba(245,247,255,.06); }
.content-section__image img { width: 100%; height: auto; }

.feature-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.feature-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  background: rgba(11,14,26,.38);
}
.feature-card p { margin-bottom: 0; }

.trust-panel {
  background:
    radial-gradient(circle at 12% 12%, rgba(183,156,255,.16), transparent 34rem),
    linear-gradient(180deg, rgba(31,37,71,.78), rgba(11,14,26,.72));
}

.legal-section article { max-width: 820px; }
.legal-section p { white-space: pre-wrap; }

.site-footer {
  display: grid;
  gap: 22px;
  padding: 38px 0 46px;
  color: var(--muted-text);
}
.site-footer img { height: 44px; margin-bottom: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px; }

.loading-state,
.error-state {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  color: var(--mist-text);
  background: rgba(11,14,26,.42);
}

@media (min-width: 760px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .menu-button { display: none; }
  .site-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .hero-section { grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); align-items: center; }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .content-section--image_text { grid-template-columns: .9fr 1.1fr; align-items: center; }
  .site-footer { grid-template-columns: 1fr auto; align-items: end; }
}

@media (max-width: 420px) {
  .site-shell { width: min(100% - 20px, 1180px); }
  .brand-link img { height: 40px; }
  .hero-section,
  .content-section,
  .legal-section,
  .cta-section,
  .not-found-section { border-radius: 24px; }
  .button, .header-cta, .menu-button { width: 100%; }
}
