/* =========================================================
   Amanda — Coming Soon
   Palette: burgundy / dusty rose / cream / soft gold
   Typography: Playfair Display (serif) + Inter (sans)
   ========================================================= */

:root {
  /* Type scale (fluid) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 7rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Amanda palette */
  --cream: #F5EFE7;
  --cream-2: #FAF6F0;
  --burgundy: #6B2737;
  --burgundy-deep: #4F1B28;
  --rose: #C9A0A0;
  --rose-soft: #DDC0BC;
  --gold: #B89968;
  --gold-soft: #D8C29B;
  --charcoal: #2B2B2B;
  --charcoal-muted: #5A5856;

  /* Semantic */
  --color-bg: var(--cream);
  --color-surface: var(--cream-2);
  --color-text: var(--charcoal);
  --color-text-muted: var(--charcoal-muted);
  --color-primary: var(--burgundy);

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-pill: 9999px;

  /* Fonts */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

  /* Widths */
  --content-narrow: 640px;
  --content-default: 880px;
  --content-wide: 1120px;
}

/* ========== Base reset ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-12);
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; font-weight: 400; }
p { text-wrap: pretty; max-width: 60ch; }

::selection {
  background: rgba(107, 39, 55, 0.18);
  color: var(--burgundy-deep);
}

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

a {
  color: var(--burgundy);
  text-decoration: none;
  transition: color 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
a:hover { color: var(--burgundy-deep); text-decoration: underline; text-underline-offset: 4px; }

button { cursor: pointer; background: none; border: none; }

em, i { font-family: var(--font-display); font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== Layout primitives ========== */
.container {
  width: 100%;
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container-narrow { max-width: var(--content-narrow); }

.serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.gold-rule {
  width: 80px;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: 0 auto;
  opacity: 0.7;
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: var(--space-6);
}

.section-heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.12;
  color: var(--burgundy-deep);
  margin-bottom: var(--space-10);
}
.section-heading-center { text-align: center; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: var(--space-8);
}

/* ========== Topbar ========== */
.topbar {
  padding: var(--space-6) var(--space-6);
  border-bottom: 1px solid rgba(184, 153, 104, 0.18);
}
.wordmark {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--burgundy-deep);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.wordmark:hover { text-decoration: none; color: var(--burgundy); }

/* ========== Hero ========== */
.hero {
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
  text-align: center;
}
.hero .container { max-width: var(--content-narrow); }

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  color: var(--burgundy-deep);
  line-height: 1.04;
  margin-bottom: var(--space-8);
  letter-spacing: -0.015em;
}

.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--charcoal);
  margin: 0 auto var(--space-8);
  max-width: 28ch;
}

.hero-micro {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--rose);
  letter-spacing: 0.02em;
  margin: 0 auto var(--space-10);
  max-width: 42ch;
}

.hero-cta { margin-bottom: var(--space-5); }

.hero-foot {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--charcoal-muted);
  letter-spacing: 0.05em;
  margin: 0 auto;
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
              background 180ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--burgundy);
  color: var(--cream);
  box-shadow: 0 4px 14px rgba(79, 27, 40, 0.2);
}
.btn-primary:hover { background: var(--burgundy-deep); color: var(--cream); box-shadow: 0 8px 22px rgba(79, 27, 40, 0.28); }

.btn-cream {
  background: var(--cream);
  color: var(--burgundy-deep);
  border-color: var(--cream);
}
.btn-cream:hover { background: var(--cream-2); color: var(--burgundy-deep); }

/* ========== Story / What / Real / Category sections ========== */
.story, .what, .real, .category {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}

.prose {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--charcoal);
  max-width: 60ch;
}
.prose p { margin-bottom: var(--space-5); max-width: 60ch; }
.prose p:last-child { margin-bottom: 0; }
.prose-emphasis {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--burgundy-deep);
}
.prose em { color: var(--burgundy-deep); }

/* Pull quote */
.pullquote {
  margin-top: var(--space-12);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--burgundy);
  text-align: center;
  line-height: 1.3;
  padding: var(--space-8) var(--space-4);
  border-block: 1px solid rgba(184, 153, 104, 0.3);
  max-width: none;
}

/* ========== Compare table ========== */
.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}
@media (min-width: 680px) {
  .compare { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}
.compare-col {
  padding: var(--space-6);
  border-radius: var(--radius-md);
  background: var(--cream-2);
  border: 1px solid rgba(184, 153, 104, 0.2);
}
.compare-old { background: rgba(201, 160, 160, 0.08); }
.compare-new {
  background: rgba(107, 39, 55, 0.05);
  border-color: rgba(107, 39, 55, 0.2);
}
.compare-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: var(--space-4);
}
.compare-new .compare-label { color: var(--burgundy); }
.compare-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.compare-col li {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--charcoal);
  padding-left: var(--space-5);
  position: relative;
  max-width: none;
}
.compare-old li::before {
  content: "×";
  position: absolute; left: 0; top: 0;
  color: var(--rose);
  font-weight: 600;
}
.compare-new li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--burgundy);
  font-weight: 600;
}

/* ========== How it works steps ========== */
.how { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); }
.how .container { max-width: var(--content-wide); }
.how .section-label { text-align: center; }

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-4);
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-10); }
}

.step {
  text-align: center;
  padding: var(--space-6);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--cream);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  margin-bottom: var(--space-5);
}
.step-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--burgundy-deep);
  margin-bottom: var(--space-3);
}
.step-body {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--charcoal-muted);
  margin: 0 auto;
  max-width: 32ch;
}

/* ========== CTA / Early Access ========== */
.cta {
  margin-top: var(--space-16);
  padding-block: clamp(var(--space-20), 9vw, var(--space-32));
  background: var(--burgundy);
  color: var(--cream);
  text-align: center;
}
.cta-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-soft);
  margin-bottom: var(--space-6);
}
.cta-heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--cream);
  line-height: 1.12;
  margin-bottom: var(--space-6);
}
.cta-sub {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--rose-soft);
  margin: 0 auto var(--space-10);
  max-width: 44ch;
  line-height: 1.7;
}
.cta-sub strong { color: var(--cream); font-weight: 600; }

.cta-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 480px;
  margin: 0 auto var(--space-5);
}
@media (min-width: 560px) {
  .cta-form { flex-direction: row; gap: var(--space-2); }
}

.cta-form input[type="email"] {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  background: rgba(245, 239, 231, 0.07);
  border: 1px solid rgba(245, 239, 231, 0.25);
  color: var(--cream);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-base);
  outline: none;
}
.cta-form input[type="email"]::placeholder {
  color: rgba(245, 239, 231, 0.5);
}
.cta-form input[type="email"]:focus {
  background: rgba(245, 239, 231, 0.12);
  border-color: var(--cream);
}

.cta-fineprint {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--rose-soft);
  margin: 0 auto var(--space-10);
  max-width: 36ch;
  letter-spacing: 0.02em;
}

.cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--rose-soft);
  letter-spacing: 0.02em;
}
.cta-trust li { max-width: none; }

.cta-success {
  max-width: 480px;
  margin: 0 auto;
  padding: var(--space-8);
  background: rgba(245, 239, 231, 0.08);
  border: 1px solid rgba(245, 239, 231, 0.25);
  border-radius: var(--radius-md);
}
.cta-success h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--cream);
  margin-bottom: var(--space-3);
}
.cta-success p {
  color: var(--rose-soft);
  font-family: var(--font-body);
  font-size: var(--text-base);
  margin: 0 auto;
  max-width: none;
}
.cta-signoff {
  font-family: var(--font-display);
  font-style: italic;
  margin-top: var(--space-4) !important;
  color: var(--cream) !important;
}

/* ========== Footer ========== */
.footer {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  text-align: center;
  background: var(--cream);
}
.footer-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--burgundy);
  margin: 0 auto var(--space-4);
  max-width: 44ch;
}
.footer-sig {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-base);
  color: var(--charcoal);
  margin: 0 auto var(--space-2);
}
.footer-meta {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: var(--charcoal-muted);
  margin: 0 auto;
}
.footer-rule { margin-block: var(--space-12); }
.footer-small {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--charcoal-muted);
  line-height: 1.7;
  margin: 0 auto var(--space-6);
  max-width: 40ch;
}
.footer-contact {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  margin: 0 auto;
}
.footer-contact a { color: var(--burgundy); }

/* ========== Tiny screens tighten ========== */
@media (max-width: 420px) {
  .hero { padding-block: var(--space-16); }
  .pullquote { font-size: var(--text-lg); padding: var(--space-6) var(--space-2); }
  .container { padding-inline: var(--space-5); }
}
