:root {
  --bg: #160d2e;
  --bg-deeper: #0e0926;
  --purple-glow: rgba(88, 28, 235, 0.28);
  --purple-line: rgba(139, 92, 246, 0.42);
  --purple-light: #c4b5fd;
  --gold: #fde047;
  --gold-bright: #fbbf24;
  --gold-soft: rgba(253, 224, 71, 0.35);
  --text: #ece9ff;
  --text-muted: #a89dcf;

  --slime: #22c55e;
  --drake: #ef4444;
  --golem: #cbd5e1;
  --sprite: #fde047;
  --wraith: #c084fc;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 12%, var(--purple-glow) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(180, 83, 9, 0.10) 0%, transparent 55%);
  z-index: -2;
}

.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(196,181,253,0.45) 0.7px, transparent 0.7px),
    radial-gradient(circle, rgba(253,224,71,0.20) 0.6px, transparent 0.6px);
  background-size: 42px 42px, 67px 67px;
  background-position: 0 0, 21px 21px;
  opacity: 0.55;
  z-index: -1;
}

main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(20px, 3.5vw, 40px) 20px clamp(12px, 2vw, 20px);
}

.hero { text-align: center; }

.eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin: 0 0 10px;
}

.wordmark {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 900;
  font-size: clamp(34px, 7.5vw, 64px);
  line-height: 0.95;
  letter-spacing: 0.045em;
  margin: 0;
  text-transform: uppercase;
  background: linear-gradient(135deg, #b45309 0%, #fbbf24 30%, #fde047 50%, #fbbf24 70%, #b45309 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 18px rgba(253, 224, 71, 0.12));
}

.wordmark .word { display: block; }

.tagline {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(14px, 1.9vw, 17px);
  color: var(--purple-light);
  letter-spacing: 0.04em;
  margin: clamp(10px, 1.5vw, 14px) auto 0;
  max-width: 34ch;
  line-height: 1.35;
}

.divider {
  height: 1px;
  width: min(70%, 320px);
  margin: clamp(14px, 2.2vw, 22px) auto;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

.teaser { text-align: center; margin-top: clamp(14px, 2.2vw, 22px); }

.teaser p {
  font-size: clamp(14px, 1.7vw, 16px);
  color: var(--text);
  max-width: 50ch;
  margin: 0 auto;
  line-height: 1.5;
}

.teaser-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px !important;
}

.signup {
  text-align: center;
  padding: clamp(12px, 2vw, 20px) clamp(14px, 2.5vw, 26px);
  background: linear-gradient(180deg, rgba(46, 16, 101, 0.35), rgba(14, 9, 38, 0.65));
  border: 1px solid var(--purple-line);
  border-radius: 14px;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(253, 224, 71, 0.06);
}

.signup h2 {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 900;
  font-size: clamp(18px, 3vw, 24px);
  margin: 0 0 6px;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.form-frame {
  margin: 0 auto;
  max-width: 460px;
  background: #ffffff;
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.ml-embedded { color: #0f172a; }

/* Compress MailerLite's internal padding */
.ml-form-embedContainer,
.ml-form-align-center,
.ml-form-embedWrapper {
  padding: 0 !important;
  margin: 0 !important;
}
.ml-form-embedBody,
.ml-form-embedContent,
.ml-form-formContent {
  padding: 10px 14px !important;
  margin: 0 !important;
}
.ml-form-embedBody h4,
.ml-form-embedContent h4,
.ml-form-embedBody p,
.ml-form-embedContent p {
  margin: 0 0 8px !important;
  line-height: 1.35 !important;
}
.ml-form-embedSubmit,
.ml-form-formContent .ml-form-fieldRow {
  margin-bottom: 6px !important;
  padding: 0 !important;
}
.ml-form-embedPermissions {
  padding: 0 !important;
  margin-top: 4px !important;
}

footer {
  text-align: center;
  padding: 10px 16px 14px;
  color: rgba(168, 157, 207, 0.5);
  font-size: 10px;
  letter-spacing: 0.08em;
}

footer p { margin: 0; }

@media (max-width: 480px) {
  .eyebrow { font-size: 9px; letter-spacing: 0.26em; margin-bottom: 8px; }
  .form-frame { padding: 2px; }
  main { padding-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
