:root {
  --bg: #0A0E1A;
  --surface: #0F1425;
  --surface-raised: #141932;
  --accent: #F4C542;
  --accent-dim: rgba(244, 197, 66, 0.12);
  --text: #F5F0E8;
  --text-muted: #8A8FA8;
  --text-faint: #4A4E66;
  --border: rgba(244, 197, 66, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ─────────────────────────────────── */
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 48px;
}

/* ── Hero ─────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero .section-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 440px;
}

.hero-sub em { font-style: italic; color: var(--text); }

.hero-cta {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 28px;
  background: var(--accent);
  color: #0A0E1A;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
}

.hero-cta:hover {
  background: #f5d060;
  transform: translateY(-1px);
}

/* ── Signup Form ───────────────────────────── */
.signup-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.signup-container {
  width: 100%;
  max-width: 520px;
}

.signup-header {
  text-align: center;
  margin-bottom: 40px;
}

.signup-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.signup-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.signup-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 16px;
  font-family: 'DM Sans', system-ui, sans-serif;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-input::placeholder { color: var(--text-faint); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fca5a5;
  font-size: 14px;
  margin-bottom: 24px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #0A0E1A;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.02em;
}

.form-submit:hover { background: #f5d060; }
.form-submit:active { transform: scale(0.99); }

.form-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-faint);
}

.form-footer a { color: var(--accent); text-decoration: none; }

/* Price badge */
.price-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

.price-badge strong { color: var(--accent); }

/* ── Checkout Success / Cancel ───────────── */
.checkout-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.checkout-card {
  text-align: center;
  max-width: 480px;
}

.checkout-icon {
  font-size: 48px;
  margin-bottom: 24px;
}

.checkout-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.checkout-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.checkout-link {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent);
  color: #0A0E1A;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
}

/* ── Responsive ─────────────────────────────── */
.hero-cosmos {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 500px;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-center {
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 40px var(--accent), 0 0 80px rgba(244, 197, 66, 0.3);
}

.orbit-path {
  position: absolute;
  width: 85%;
  height: 85%;
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: orbit-spin 20s linear infinite;
}

.orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbit-travel 20s linear infinite;
  box-shadow: 0 0 20px var(--accent);
}

@keyframes orbit-travel {
  0%   { transform: translate(-50%, -50%) rotate(0deg) translateX(42.5%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg) translateX(42.5%) rotate(-360deg); }
}

@keyframes orbit-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Stars */
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--text);
  border-radius: 50%;
  opacity: 0.4;
}
.star-1 { top: 15%; left: 20%; animation: twinkle 3s ease-in-out infinite; }
.star-2 { top: 35%; right: 30%; animation: twinkle 4s ease-in-out infinite 0.5s; }
.star-3 { bottom: 25%; left: 10%; animation: twinkle 5s ease-in-out infinite 1s; }
.star-4 { top: 60%; right: 15%; animation: twinkle 3.5s ease-in-out infinite 1.5s; }

.planet-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
}
.planet-1 { width: 8px; height: 8px; background: rgba(244,197,66,0.6); top: 40%; left: 55%; }
.planet-2 { width: 5px; height: 5px; background: rgba(245,240,232,0.4); top: 20%; right: 20%; }
.planet-3 { width: 4px; height: 4px; background: rgba(244,197,66,0.4); bottom: 35%; right: 35%; }

@keyframes twinkle {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.9; }
}

/* ── How It Works ────────────────────────────── */
.howitworks {
  padding: 100px 0;
  background: var(--surface);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 40px;
}

.step-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.step h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}

.step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

.step-icon {
  margin-bottom: 20px;
  opacity: 0.85;
}

.step-connector {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin-top: 48px;
  flex-shrink: 0;
}

/* ── The Message ─────────────────────────────── */
.themessage {
  padding: 100px 0;
}

.message-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  margin-top: 0;
  max-width: 680px;
}

.transit-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.message-body p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}
.message-body p:last-child { margin-bottom: 0; }

.message-meta {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.message-tone, .message-length {
  font-size: 12px;
  color: var(--text-faint);
}

.message-caption {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-faint);
  max-width: 680px;
}

/* ── Science ─────────────────────────────────── */
.science {
  padding: 100px 0;
  background: var(--surface);
}

.science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.science-text h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 24px;
  margin-top: 0;
}

.science-text > p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.science-specs {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.spec-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* Chart visual */
.chart-orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.orbit-circle-1 { width: 50%; height: 50%; }
.orbit-circle-2 { width: 75%; height: 75%; border-style: dashed; }
.orbit-circle-3 { width: 95%; height: 95%; opacity: 0.5; }

.birth-point {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent);
  z-index: 2;
}

.orbit-label {
  position: absolute;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
}
.orbit-label-sun  { top: 15%; left: 50%; transform: translateX(-50%); }
.orbit-label-moon { bottom: 15%; right: 15%; }
.orbit-label-mars { top: 40%; right: 8%; }
.orbit-label-venus { bottom: 35%; left: 8%; }
.orbit-label-saturn { top: 8%; right: 20%; font-size: 10px; opacity: 0.5; }

/* ── Manifesto ───────────────────────────────── */
.manifesto {
  padding: 120px 0;
}

.manifesto-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 56px;
}

.manifesto-body p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: left;
}

/* ── Footer ─────────────────────────────────── */
.site-footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.footer-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-legal {
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.6;
  max-width: 600px;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .hero .section-inner,
  .science-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-cosmos {
    max-width: 320px;
    margin: 0 auto;
  }

  .steps-grid {
    flex-direction: column;
    gap: 0;
  }

  .step-connector {
    width: 1px;
    height: 40px;
    margin: 0 auto;
  }

  .section-inner { padding: 0 24px; }

  .message-card { padding: 32px 24px; }

  .hero { padding: 80px 0 60px; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 44px; }
  .manifesto-quote { font-size: 26px; }
  .science-text h2 { font-size: 32px; }
}