/* ============================================================
   The Receipts — 90-Day Tracker sales page
   Palette and type ported from the design source.
   ============================================================ */

:root {
  --cream:      #f7f2e9;  /* page background */
  --sand:       #eee6da;  /* alternating section background */
  --white:      #ffffff;
  --ink:        #2f312d;  /* headings */
  --body:       #4a4d46;  /* body copy */
  --muted:      #7c7f75;  /* fine print */
  --brown:      #8a6a55;  /* eyebrows */
  --sage:       #66755f;  /* primary action */
  --sage-dark:  #4f5d49;  /* action hover, closing section */
  --terracotta: #c07f5f;  /* accents, quote rules, step numbers */
  --rule:       #e4dccd;

  --serif: Marcellus, "Times New Roman", Georgia, serif;
  --sans: Karla, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }

a { color: var(--sage-dark); }
a:hover { color: var(--terracotta); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 700;
}

/* ---------- Layout primitives ---------- */

.shell {
  width: min(1280px, 92%);
  margin: 0 auto;
}

.section { padding: 82px 0; }
.section--sand  { background: var(--sand); }
.section--white { background: var(--white); }

/* ---------- Type ---------- */

.eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown);
}
.eyebrow--quiet { color: var(--muted); letter-spacing: 0.18em; margin-bottom: 22px; }
.eyebrow--light { color: #cbd5c5; }

.display {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.heading {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  text-wrap: pretty;
}
.heading--sm { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; margin-bottom: 24px; }
.heading--invert {
  color: var(--white);
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.12;
  max-width: 20em;
  margin: 0 auto 20px;
}

.lede {
  margin: 0 0 32px;
  max-width: 30em;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  color: var(--body);
  text-wrap: pretty;
}

.body-lg {
  margin: 0 0 22px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--body);
  text-wrap: pretty;
}
.body-lg--invert {
  color: #e3e8df;
  max-width: 30em;
  margin: 0 auto 34px;
}

.body {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}

strong { font-weight: 700; }

.fineprint {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.signature {
  margin: 10px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
}

.disclaimer {
  margin: 34px auto 0;
  max-width: 42em;
  font-size: 12px;
  line-height: 1.6;
  color: #b9c4b3;
}

/* Pull quote */
.pull {
  margin: 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--terracotta);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.35;
  color: var(--sage);
}
.pull--sm { font-size: 23px; margin-bottom: 22px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 19px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn:active { transform: translateY(1px); }

.btn--sage { background: var(--sage); color: var(--white); }
.btn--sage:hover, .btn--sage:focus-visible { background: var(--sage-dark); color: var(--white); }

.btn--cream { background: var(--white); color: var(--sage-dark); padding: 19px 34px; }
.btn--cream:hover, .btn--cream:focus-visible { background: #f0e5d8; color: var(--sage-dark); }

/* ---------- Hero ---------- */

.hero { padding: 72px 0 64px; }

.hero__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.hero__copy {
  flex: 1.15 1 300px;
  min-width: 0;
  max-width: 460px;
}

.hero__art { flex: 1.35 1 300px; min-width: 0; }

.hero__mockup {
  display: block;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  filter: drop-shadow(0 26px 40px rgba(47, 49, 45, 0.22));
}

.price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 20px;
}
.price__amount {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--ink);
}
.price__note {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- Two-column grid (problem / contents) ---------- */

.grid-2 {
  width: min(1080px, 88%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 64px;
  align-items: start;
}

.card {
  min-width: 0;
  background: var(--cream);
  border-radius: 8px;
  padding: 36px 34px;
}
.section--sand .card { background: var(--cream); }

/* Checklists */
.checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}
.checks--tight { gap: 12px; margin-bottom: 24px; }

.checks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 17px;
}
.checks li::before {
  content: "\2713";
  color: var(--sage);
  font-weight: 700;
}

/* ---------- Split sections (copy + art) ---------- */

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}
.split--portrait {
  width: min(1080px, 88%);
  gap: 60px;
  align-items: start;
}

.split__copy { flex: 1 1 280px; min-width: 0; max-width: 440px; }
.split__copy--wide { flex: 1.4 1 340px; max-width: none; }

.split__art { flex: 1.5 1 320px; min-width: 0; }
.split__art img { display: block; width: 100%; }

.split--portrait .split__art { flex: 0.8 1 200px; max-width: 360px; }

.portrait { border-radius: 8px; }

/* Numbered steps */
.steps {
  margin: 26px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--rule);
  list-style: none;
  display: grid;
  gap: 14px;
}
.steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: baseline;
  font-size: 17px;
}
.steps__num {
  font-family: var(--serif);
  color: var(--terracotta);
}

/* ---------- Closing call to action ---------- */

.closer {
  background: var(--sage-dark);
  color: var(--white);
  padding: 92px 0;
  text-align: center;
}
.closer__inner { width: min(1080px, 88%); }

/* ---------- Narrow screens ---------- */

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 52px; }
  .closer { padding: 68px 0; }
  .grid-2 { gap: 48px; }
  .split { gap: 40px; }
  .card { padding: 30px 26px; }
  .btn { display: block; text-align: center; padding: 18px 24px; }
  .split--portrait .split__art { max-width: 260px; }
}
