/* =========================================================
   Zomyra Waitlist — Main Stylesheet
   Design: Refined modern-Indian minimalism
   Palette: Deep aubergine bg · Soft lavender text · Royal-purple accent
   Type: Cormorant Garamond (display) + DM Sans (body)
   ========================================================= */

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colours */
  --bg:          #faf8fd;
  --bg-subtle:   #f3eefb;
  --bg-dark:     #1e0f2a;
  --bg-dark-2:   #2c1640;
  --text:        #1e0f2a;
  --text-muted:  #6b5a7e;
  --accent:      #6d2c91;
  --accent-light:#a874d0;
  --accent-dim:  #ece1f6;
  --border:      #e4dcef;
  --border-dark: #3a2150;
  --success:     #1e6b3e;
  --error:       #9b2020;
  --info:        #3a2d6b;

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs:  0.375rem;
  --space-sm:  0.75rem;
  --space-md:  1.25rem;
  --space-lg:  2rem;
  --space-xl:  3.5rem;
  --space-2xl: 6rem;

  /* Layout */
  --container: 72rem;
  --radius:    0.25rem;
  --radius-lg: 0.5rem;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Accessibility ────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  background: var(--text);
  color: var(--bg);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 253, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo-icon { font-size: 1.25rem; line-height: 1; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text);
}
.nav-cta {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
  padding: 0.4rem 1rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--accent); color: #fff; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(158deg, #1e0f2a 0%, #2c1640 58%, #3a1d54 100%);
  color: #f2ecf8;
  overflow: hidden;
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 10vw, 7rem);
}
.hero-inner { position: relative; z-index: 2; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  opacity: 0.7;
}
.eyebrow-line { flex: 0 0 40px; height: 1px; background: var(--accent); }
.eyebrow-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  white-space: nowrap;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #f2ecf8;
  margin-bottom: 1.5rem;
}
.hero-heading em {
  font-style: italic;
  color: var(--accent-light);
}

.hero-sub {
  max-width: 42rem;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  color: #c7b8d8;
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  opacity: 0.7;
  font-size: 0.875rem;
  color: #9d8bb3;
  min-height: 1.4rem;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-light);
}

/* Decorative rings */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.bg-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.12;
}
.bg-ring-1 { right: -120px; top: -120px; width: 500px; height: 500px; }
.bg-ring-2 { right: -200px; top: -200px; width: 700px; height: 700px; opacity: 0.07; }
.bg-ring-3 { right: -100px; bottom: -200px; width: 400px; height: 400px; opacity: 0.06; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  transition: background 0.2s, transform 0.15s var(--ease-out), box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(109, 44, 145, 0.3);
}
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: #c7b8d8;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(199, 184, 216, 0.35);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: #c7b8d8; color: #f2ecf8; }

/* ── Section shared ───────────────────────────────────────── */
.section-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.section-sub {
  max-width: 48rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

/* ── Problem section ──────────────────────────────────────── */
.problem {
  padding: var(--space-2xl) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.pain-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: 0;
  counter-reset: pain;
}
.pain-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.pain-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--accent-light);
  line-height: 1;
  flex-shrink: 0;
  width: 3rem;
  padding-top: 0.125rem;
}
.pain-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.pain-desc { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; }

/* ── Differentiators ──────────────────────────────────────── */
.differentiators {
  padding: var(--space-2xl) 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.diff-card {
  background: var(--bg-subtle);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
}
.diff-card:hover { background: var(--bg); }
.diff-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.diff-title {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.diff-desc { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; }

/* ── Waitlist section ─────────────────────────────────────── */
.waitlist-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-dark);
  color: #f2ecf8;
  border-top: 1px solid var(--border-dark);
}
.waitlist-section .section-label { color: var(--accent-light); opacity: 0.8; }
.waitlist-section .section-heading { color: #f2ecf8; }
.waitlist-section .section-sub { color: #9d8bb3; }

.form-card {
  max-width: 40rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

/* ── Form elements ────────────────────────────────────────── */
.waitlist-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 30rem) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.375rem; }

.form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9d8bb3;
}
.form-optional {
  font-size: 0.75rem;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  color: #7c6a95;
  margin-left: 0.25rem;
}
.required-mark {
  color: var(--accent-light);
  margin-left: 0.1rem;
  font-size: 0.9em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: #f2ecf8;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.5;
  padding: 0.6875rem 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(109, 44, 145, 0.2);
}
.form-input.is-error,
.form-select.is-error,
.form-textarea.is-error {
  border-color: #d96060;
  box-shadow: 0 0 0 2px rgba(217, 96, 96, 0.15);
}

.select-wrapper { position: relative; }
.form-select { padding-right: 2.25rem; cursor: pointer; }
.select-arrow {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #7c6a95;
  font-size: 0.75rem;
  pointer-events: none;
  font-style: normal;
}
/* Style native select options for dark background */
.form-select option { background: var(--bg-dark-2); color: #f2ecf8; }

.form-textarea { resize: vertical; min-height: 6rem; }

.form-error {
  font-size: 0.8125rem;
  color: #e08080;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.form-hint { font-size: 0.75rem; color: #6e5a88; }

/* ── Flash messages ───────────────────────────────────────── */
.flash {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border-left: 3px solid;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}
.flash-success { background: rgba(30, 107, 62, 0.15); border-color: #4caf80; color: #a8d8be; }
.flash-error   { background: rgba(155, 32, 32, 0.15); border-color: #d96060; color: #e8a0a0; }
.flash-info    { background: rgba(26, 74, 107, 0.15); border-color: #6090c0; color: #a0c0e0; }
.flash-icon { font-size: 1rem; margin-top: 0.1rem; flex-shrink: 0; }

/* ── Submit button ────────────────────────────────────────── */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s var(--ease-out), box-shadow 0.2s;
  margin-top: 0.5rem;
}
.btn-submit:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(109, 44, 145, 0.35);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: #8878a0;
  margin-top: 0.25rem;
}

/* ── Thank-you page ───────────────────────────────────────── */
.thankyou-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-dark);
  color: #f2ecf8;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.thankyou-inner { text-align: center; max-width: 36rem; margin-inline: auto; }
.ty-icon { font-size: 3.5rem; margin-bottom: 1.5rem; }
.ty-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: #f2ecf8;
  margin-bottom: 1.5rem;
}
.ty-sub {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #9d8bb3;
  margin-bottom: 1.25rem;
}
.ty-sub + .btn-primary { margin-top: 1rem; }

/* ── Error page ───────────────────────────────────────────── */
.error-page {
  display: flex;
  align-items: center;
  min-height: 70vh;
  padding: var(--space-2xl) 0;
}
.error-page .container { text-align: center; }
.error-code {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1rem;
}
.error-msg { color: var(--text-muted); margin-bottom: 2rem; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: var(--space-xl) 0;
}
.footer-inner { text-align: center; }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: #f2ecf8;
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.875rem;
  color: #6e5a88;
  margin-bottom: 1rem;
}
.footer-copy { font-size: 0.75rem; color: #7a6a95; }

/* ── Entry animations ─────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .hero-heading,
  .hero-sub,
  .hero-cta-group,
  .hero-stat,
  .hero-eyebrow {
    animation: fadeUp 0.7s var(--ease-out) both;
  }
  .hero-eyebrow   { animation-delay: 0.05s; }
  .hero-heading   { animation-delay: 0.15s; }
  .hero-sub       { animation-delay: 0.25s; }
  .hero-cta-group { animation-delay: 0.35s; }
  .hero-stat      { animation-delay: 0.45s; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ── Responsive tweaks ────────────────────────────────────── */
@media (max-width: 48rem) {
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
  .form-card { border-radius: var(--radius); }
  .diff-grid { border-radius: var(--radius); }
}

@media (max-width: 30rem) {
  .pain-item { flex-direction: column; gap: 0.5rem; }
  .pain-num { font-size: 1.5rem; }
}

/* ── Print ────────────────────────────────────────────────── */
@media print {
  .site-header,
  .hero-bg,
  .hero-cta-group,
  .waitlist-section,
  .site-footer { display: none; }
}

/* ── Social proof badge (hero) ────────────────────────────── */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.proof-avatars {
  display: flex;
  align-items: center;
}
.proof-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  margin-left: -0.5rem;
  flex-shrink: 0;
  opacity: 0.85;
}
.proof-dot:first-child { margin-left: 0; }
.proof-dot:nth-child(2) { background: linear-gradient(135deg, #7c3aa8 0%, #a874d0 100%); }
.proof-dot:nth-child(3) { background: linear-gradient(135deg, #5b2c70 0%, #8a4bb0 100%); }
.proof-dot:nth-child(4) { background: linear-gradient(135deg, #3a2150 0%, #6d2c91 100%); }
.proof-dot:nth-child(5) { background: linear-gradient(135deg, #2c1640 0%, #5b2c70 100%); }
.proof-text {
  font-size: 0.9rem;
  color: #9d8bb3;
  line-height: 1.4;
}
.proof-text strong { color: var(--accent-light); font-weight: 500; }

/* ── Consent checkbox ─────────────────────────────────────── */
.form-group--consent { margin-top: 0.25rem; }

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.875rem;
  font-weight: 300;
  color: #9d8bb3;
  line-height: 1.5;
}
.consent-checkbox {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.1rem;
  accent-color: var(--accent);
  cursor: pointer;
  border-radius: 3px;
}
.consent-checkbox.is-error { outline: 2px solid #d96060; outline-offset: 2px; }
.consent-text { flex: 1; }
.consent-link {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-link:hover { color: #fff; }

/* ── Footer legal nav ─────────────────────────────────────── */
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
}
.footer-legal a {
  color: #6e5a88;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--accent-light); }

/* ── Legal pages ──────────────────────────────────────────── */
.legal-page {
  background: var(--bg);
  min-height: 80vh;
  padding: var(--space-xl) 0 var(--space-2xl);
}
.legal-container { max-width: 52rem; }

.legal-back {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.legal-back:hover { color: var(--text); }

.legal-header { margin-bottom: 3rem; border-bottom: 1px solid var(--border); padding-bottom: 2rem; }

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.legal-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-body { color: var(--text); line-height: 1.8; }

.legal-body .legal-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid var(--border);
}

.legal-body p { margin-bottom: 1rem; }

.legal-body ul, .legal-body ol {
  margin: 0.75rem 0 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-body li { line-height: 1.7; }

.legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-body a:hover { color: var(--text); }

.legal-body strong { font-weight: 500; color: var(--text); }

/* ── Thank-you email link ─────────────────────────────────── */
.ty-link {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Brand marks (header / footer / thank-you) ────────────────────── */
.logo-mark { width: 1.9rem; height: 1.9rem; flex-shrink: 0; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-mark { width: 1.6rem; height: 1.6rem; }
.ty-icon { display: block; width: 3.75rem; height: 3.75rem; margin: 0 auto 1.5rem; }

/* ── Manifesto band ───────────────────────────────────────────────── */
.manifesto {
  background: var(--accent-dim);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-2xl) 0;
}
.manifesto-inner { max-width: 54rem; text-align: center; margin-inline: auto; }
.manifesto-kicker {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.manifesto-quote em { font-style: italic; color: var(--accent); }
.manifesto-sub {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 44rem;
  margin-inline: auto;
}

/* ── Manifesto: paired love photos ────────────────────────────────── */
.manifesto-sub strong { color: var(--text); font-weight: 500; }

.love-pair {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1.25rem, 5vw, 3.5rem);
  margin-top: var(--space-xl);
}
.love-shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  max-width: 19rem;
  flex: 1 1 0;
}
.love-shot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 14px 40px rgba(30, 15, 42, 0.16);
  background: var(--bg);
}
/* A gentle scrapbook tilt — warmth, not perfection */
.love-shot--a img { transform: rotate(-2deg); }
.love-shot--b img { transform: rotate(1.75deg); }
.love-cap {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
}
@media (max-width: 40rem) {
  .love-pair { flex-direction: column; align-items: center; gap: 2.25rem; }
  .love-shot { max-width: 17rem; }
  .love-shot--a img, .love-shot--b img { transform: none; }
}

/* ── Philosophy ───────────────────────────────────────────────────── */
.philosophy {
  background: linear-gradient(168deg, #1e0f2a 0%, #2c1640 62%, #3a1d54 100%);
  color: #f2ecf8;
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border-dark);
}
.philosophy-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.philosophy-media { position: relative; }
.philosophy-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
/* Melt the image edges into the section's own gradient */
.philosophy-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 60%, transparent 55%, rgba(30, 15, 42, 0.45) 100%);
}

.philosophy-kicker {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
}
.philosophy-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #f2ecf8;
  margin-bottom: 1.75rem;
}
.philosophy-heading em { font-style: italic; color: var(--accent-light); }

.philosophy-copy p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #c7b8d8;
  margin-bottom: 1.25rem;
  max-width: 36rem;
}
.philosophy-lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.625rem) !important;
  font-style: italic;
  line-height: 1.5 !important;
  color: #f2ecf8 !important;
  margin-bottom: 1.75rem !important;
}
.philosophy-accent {
  font-family: var(--font-display);
  font-size: 1.5rem !important;
  font-style: italic;
  color: var(--accent-light) !important;
  margin: 1.75rem 0 !important;
}
.philosophy-close {
  color: #f2ecf8 !important;
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
  margin-top: 2rem !important;
}

@media (max-width: 52rem) {
  .philosophy-inner { grid-template-columns: 1fr; }
  .philosophy-media { max-width: 22rem; margin-inline: auto; }
  .philosophy-copy p { max-width: none; }
}

/* Waitlist heading emphasis */
.waitlist-section .section-heading em {
  font-style: italic;
  color: var(--accent-light);
}

/* ── How it works (steps) ─────────────────────────────────────────── */
.steps {
  padding: var(--space-2xl) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 2.5rem;
  margin-top: var(--space-lg);
}
.step { position: relative; }
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.step-desc { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; }

/* ── Founding-member perks (waitlist) ─────────────────────────────── */
.perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 40rem;
  margin-bottom: var(--space-lg);
}
.perk {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #c7b8d8;
  line-height: 1.5;
}
.perk-check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(168, 116, 208, 0.18);
  color: var(--accent-light);
  font-size: 0.75rem;
  margin-top: 0.05rem;
}

/* ─── Honeypot ──────────────────────────────────────────────────────────────
   Hidden from sighted users and screen readers alike, and kept out of the tab
   order by tabindex="-1" on the input. display:none is deliberately avoided —
   some bots skip fields that are display:none, which would defeat the point. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ─── Hero note (replaces the removed social-proof row) ─────────────────────
   Sits on the dark hero gradient, so it takes light text. */
.hero-note {
  margin-top: var(--space-lg);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a98fc4;
}

/* ─── Legal / support page additions ────────────────────────────────────────
   These pages sit on the light --bg, so everything here uses the light
   palette tokens rather than the hero's inverted colours. */
.legal-body h3 {
  margin: var(--space-lg) 0 var(--space-xs);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.legal-body code {
  padding: 0.1em 0.4em;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.85em;
  word-break: break-word;
}

.legal-body abbr {
  text-decoration: underline dotted;
  cursor: help;
}

.legal-callout {
  margin: var(--space-lg) 0;
  padding: var(--space-md) var(--space-lg);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  background: var(--accent-dim);
  color: var(--text);
}

.legal-callout p:last-child { margin-bottom: 0; }

.legal-contact {
  margin: var(--space-md) 0;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-subtle);
  line-height: 1.8;
}

.legal-footnote {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── Data management page ──────────────────────────────────────────────── */
.data-table {
  display: grid;
  grid-template-columns: minmax(5rem, max-content) 1fr;
  gap: var(--space-sm) var(--space-lg);
  margin: var(--space-lg) 0;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-subtle);
}

.data-table dt {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.data-table dd {
  margin: 0;
  color: var(--text);
  word-break: break-word;
}

.delete-form { margin: var(--space-lg) 0 var(--space-xl); }

/* Solid fill so the destructive action is unmistakable and legible — a tinted
   outline button washed out against the light page background. */
.btn-danger {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border: 1px solid var(--error);
  border-radius: 999px;
  background: var(--error);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-danger:hover,
.btn-danger:focus-visible {
  background: #7d1919;
  border-color: #7d1919;
}

.btn-danger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ─── Thank-you: data-removal note (dark section) ──────────────────────── */
.ty-manage {
  max-width: 34rem;
  margin: var(--space-lg) auto;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid rgba(242, 236, 248, 0.16);
  border-radius: 6px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #c7b8d8;
}

@media (prefers-reduced-motion: reduce) {
  .btn-danger { transition: none; }
}

/* `.legal-body a` (specificity 0,2,0) outranks `.btn-primary` (0,1,0), which
   rendered the button's label in the link colour — purple text on a purple
   fill, effectively invisible. Restore the button's own styling where one
   appears inside legal/support/manage prose. */
.legal-body a.btn-primary,
.legal-body a.btn-ghost {
  color: #fff;
  text-decoration: none;
}

.legal-body a.btn-primary:hover,
.legal-body a.btn-primary:focus-visible {
  color: #fff;
}

/* ─── Manage-link request form ──────────────────────────────────────────────
   Sits inside .legal-body on the light page, so it borrows the form styles
   rather than the dark form-card treatment used on the landing page. */
.manage-request-form {
  max-width: 24rem;
  margin: var(--space-lg) 0;
}

.manage-request-form .form-label { color: var(--text); }

.manage-request-form .form-input {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}

.manage-request-form .form-input:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.manage-request-form .btn-primary { margin-top: var(--space-sm); }
