/* =========================================================
   THE FACELESS DIGITAL STORE — THANK-YOU PAGE STYLES
   Colors and fonts are defined once here. Change them in :root.
   ========================================================= */

:root {
  /* Colors */
  --brown:        #93552d;   /* buttons, accents, number circles */
  --brown-hover:  #7d4624;
  --ink:          #2f2219;   /* headings */
  --body:         #6b5f57;   /* paragraph text */
  --muted:        #a0948a;   /* small text under buttons */
  --bg-warm:      #f6f2ea;   /* hero + lower section background */
  --bg-light:     #fdfbf7;   /* steps section + cards */
  --rule:         #e2d8ce;   /* divider lines + card borders */
  --dark:         #34251c;   /* "Start Here Tonight" box */
  --dark-text:    #efe4da;
  --dark-script:  #d39364;
  --footer:       #231e1b;
  --footer-text:  #8c8078;

  /* Fonts */
  --serif:  "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:   "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --script: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --content-width: 704px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--bg-warm);
  border-top: 4px solid var(--brown);   /* thin brown bar at the very top */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, figure, blockquote, ol { margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: calc(var(--content-width) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- shared text styles ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown);
}
.eyebrow--left { text-align: left; }

.script {
  font-family: var(--script);
  font-weight: 500;
  color: var(--brown);
}

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--rule);
  text-align: center;
  padding: 88px 24px 66px;
}
.hero__inner { max-width: 640px; margin: 0 auto; }

.hero__script {
  font-size: 40px;
  line-height: 1;
  margin-top: 30px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.08;
  color: var(--ink);
  margin-top: 22px;
}
.hero__title em {
  font-style: italic;
  font-weight: 600;
  color: var(--brown);
}

.hero__lead {
  max-width: 530px;
  margin: 26px auto 0;
  font-size: 16px;
  line-height: 1.72;
  color: var(--body);
}

/* ---------- Download buttons (both identical) ---------- */
.download { margin-top: 36px; }
.download + .download { margin-top: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 269px;
  height: 62px;
  padding: 0 40px;
  background: var(--brown);
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--brown-hover); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.download__note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* =========================================================
   2. STEPS
   ========================================================= */
.steps {
  background: var(--bg-light);
  border-bottom: 1px solid var(--rule);
  padding: 76px 0 64px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 22px;
}
.br-mobile { display: none; }

.step-list {
  list-style: none;
  margin-top: 28px;
  border-top: 1px solid var(--rule);
}
.step {
  display: flex;
  gap: 30px;
  padding: 21px 0 22px;
  border-bottom: 1px solid var(--rule);
}
.step__num {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__title {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}
.step__text {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--body);
}

/* =========================================================
   3. START HERE TONIGHT / GOOD HANDS / QUOTE
   Colors and spacing measured from the desktop reference screenshot.
   ========================================================= */
.tonight {
  --t-bg:          #f8f3ed;
  --t-dark:        #38271f;   /* dark box + quote text */
  --t-orange:      #cf772e;   /* "Start Here Tonight:" + "About 20 minutes" */
  --t-dark-text:   #e9ddd2;
  --t-white:       #fffdf9;
  --t-brown:       #9b592c;   /* labels, card titles, signature */
  --t-card-bg:     #fffdf9;
  --t-card-border: #e8d8ca;
  --t-card-text:   #655247;

  background: var(--t-bg);
  padding: 64px 0 82px;
}

.feature {
  background: var(--t-dark);
  border-radius: 8px;
  padding: 32px 40px 42px;
  color: var(--t-dark-text);
}
.feature__script {
  font-size: 30px;
  line-height: 40px;
  color: var(--t-orange);
}
.feature__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 30px;
  color: var(--t-white);
  margin-top: 7px;
}
.feature__text {
  margin-top: 11px;
  font-size: 15px;
  line-height: 25.5px;
  color: var(--t-dark-text);
}
.feature__time {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-orange);
}

.tonight .eyebrow { color: var(--t-brown); line-height: 18px; }
.good-hands__label { margin-top: 69px; }

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}
.card {
  background: var(--t-card-bg);
  border: 1px solid var(--t-card-border);
  border-radius: 5px;
  padding: 25px 26px 26px;
}
.card__title {
  font-size: 24px;
  line-height: 30px;
  color: var(--t-brown);
}
.card__text {
  margin-top: 7px;
  font-size: 14.5px;
  line-height: 24.5px;
  color: var(--t-card-text);
}

/* Desktop: fixed line breaks in the "One step at a time" card */
.card__line {
  display: block;
  white-space: nowrap;
}

.quote {
  text-align: center;
  margin: 81px auto 0;
}
/* Desktop: always exactly two lines, broken after "beautiful" */
.quote__line {
  display: block;
  white-space: nowrap;
}
.quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  line-height: 35px;
  color: var(--t-dark);
}
.quote figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--t-brown);
}

/* =========================================================
   4. FOOTER
   ========================================================= */
.footer {
  background: var(--footer);
  text-align: center;
  padding: 34px 0 26px;
}
.footer p {
  font-size: 12px;
  color: var(--footer-text);
}
.footer__line {
  display: block;
  height: 4px;
  background: var(--brown);
  margin-top: 30px;
}

/* =========================================================
   MOBILE (phones)
   ========================================================= */
@media (max-width: 640px) {
  .hero { padding: 76px 24px 54px; }

  .hero__script { font-size: 36px; margin-top: 30px; }

  .hero__title { font-size: 34px; line-height: 1.12; margin-top: 18px; }

  .hero__lead {
    font-size: 17px;
    line-height: 1.68;
    margin-top: 22px;
  }

  .download { margin-top: 32px; }
  .download + .download { margin-top: 26px; }

  .btn {
    display: flex;
    width: 100%;
    min-width: 0;
    height: 64px;
    padding: 0 16px;
    font-size: 16px;
  }

  .download__note { font-size: 12.5px; margin-top: 14px; }

  .steps { padding: 60px 0 56px; }
  .section-title { font-size: 29px; margin-top: 18px; }
  .br-mobile { display: inline; }

  .step { gap: 24px; }
  .step__text { font-size: 15px; }

  .tonight { padding: 56px 0 70px; }

  .feature { padding: 34px 25px 34px; }
  .feature__script { font-size: 30px; }
  .feature__title { font-size: 23px; }
  .feature__text { font-size: 15px; }

  .good-hands__label { margin-top: 64px; }

  .cards { grid-template-columns: 1fr; gap: 18px; }

  .quote { margin-top: 80px; max-width: 340px; }
  .quote__line { display: inline; white-space: normal; }
  .card__line { display: inline; white-space: normal; }
  .quote blockquote { font-size: 23px; line-height: 1.55; }

  .footer { padding: 30px 0 24px; }
}

/* Very small phones */
@media (max-width: 360px) {
  .hero__title { font-size: 30px; }
  .hero__lead { font-size: 16px; }
  .download__note { font-size: 11.5px; }
}
