/* Palette and type taken from the guide itself: linen paper, dusty clay terracotta, sand, charcoal headings. */
/* Mobile first: base rules are for phones (most visitors arrive from Instagram); wider screens are layered on below. */
:root {
  --sand: #F4F1EE;            /* the guide's linen page */
  --sand-deep: #E9E3DA;       /* the guide's panels */
  --clay: #9A5A45;            /* deep clay: bands and accents; linen text on it passes WCAG AA (4.7:1) */
  --terracotta: #9A5A45;      /* buttons: white text on it passes WCAG AA (5.4:1) */
  --terracotta-deep: #7E4735;
  --terracotta-tint: #F1E2DA;
  --peach: #EFD3C4;
  --stone: #C4AA84;           /* the guide's sand table headers */
  --charcoal: #33302D;        /* the guide's headings */
  --ink: #33302D;
  --ink-soft: #6B625B;
  --mist: #F7EEE9;

  /* Same families as the guide: Playfair Display headings, Inter text, a Garamond italic for quotes. */
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --script: "EB Garamond", Garamond, Georgia, serif;

  --gutter: clamp(16px, 4vw, 48px);
  --measure: 34rem;
  --arch: 999px 999px 0 0;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .32 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0;
  color: var(--charcoal);
}
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); margin-bottom: 1rem; max-width: 18ch; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

main > section {
  padding: clamp(56px, 10vw, 128px) var(--gutter);
  max-width: 1240px;
  margin: 0 auto;
  scroll-margin-top: 12px;
}

/* Full-bleed coloured bands keep their content on the same 1240px column. */
main > section.band { max-width: none; }
.wrap { max-width: calc(1240px - 2 * var(--gutter)); margin: 0 auto; }

.section-intro { color: var(--ink-soft); max-width: var(--measure); margin-bottom: 2rem; }

/* ---------- launch banner ---------- */
.launch-bar {
  display: block;
  padding: 9px var(--gutter);
  background: var(--terracotta);
  color: #fff;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.35;
  text-decoration: none;
}

/* ---------- urgency notes ---------- */
.urgency {
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--terracotta);
}
.urgency::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  vertical-align: 0.05em;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .urgency::before { animation: none; } }
.offer-box .urgency, .inline-cta .urgency { text-align: center; }
.checkout-urgency {
  display: inline-block;
  margin: 0 auto 1.75rem;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--mist);
  font-weight: 600;
  font-size: 0.95rem;
}
.bar-note { display: block; font-size: 0.75rem; line-height: 1; margin-top: 2px; color: var(--terracotta); font-weight: 600; }

/* ---------- top bar ---------- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px var(--gutter);
  max-width: 1240px;
  margin: 0 auto;
}
.wordmark {
  font-family: var(--script);
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--clay);
  text-decoration: none;
}
.topbar-link { font-size: 0.9rem; color: var(--ink-soft); text-decoration: none; }

/* ---------- buttons & price ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.3em; /* flex drops the space between "Get the guide for" and the price */
  min-height: 52px;
  background: var(--terracotta);
  color: #fff;
  font: 600 1.05rem/1.2 var(--body);
  padding: 14px 30px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color .15s ease, transform .1s ease;
}
.button:active { transform: scale(0.98); }
.button-wide { display: flex; width: 100%; }
.button[aria-disabled="true"] {
  background: var(--stone);
  color: #fff;
  cursor: not-allowed;
  pointer-events: none;
}
@media (hover: hover) {
  .button:hover { background: var(--terracotta-deep); }
  .topbar-link:hover { color: var(--terracotta); }
}

.price { font-size: 1.05rem; margin-bottom: 1rem; color: var(--ink-soft); }
.price s { margin-right: 0.35rem; }
.price strong {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  vertical-align: -0.15em;
}
.price-note { margin-left: 0.4rem; }
.save-tag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--terracotta-tint);
  color: var(--terracotta-deep);
  font-size: 0.85rem;
  font-weight: 600;
  vertical-align: 0.35em;
}
.badges {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.badges li { display: inline-flex; align-items: center; gap: 6px; }
.badges li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--terracotta); }
.regions { margin: 12px 0 0; font-size: 0.92rem; font-style: italic; color: var(--ink-soft); }
.early-bird {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1.5px dashed var(--clay);
  border-radius: 14px;
  background: var(--terracotta-tint);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.45;
}
.early-bird-tag {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--clay);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bonus-early { border: 2px solid var(--clay); }
.bonus-list { margin: 0 0 1rem; padding-left: 1.1rem; color: var(--ink-soft); }
.bonus-list li { margin-bottom: 0.4rem; }
.bonus-list li::marker { color: var(--clay); }
.bonus .bonus-note { margin: 0; font-weight: 600; color: var(--clay); }
.fine { font-size: 0.9rem; color: var(--ink-soft); margin: 0.8rem 0 0; }

/* ---------- hero: the arched window ---------- */
.hero {
  display: grid;
  gap: 18px;
  padding-top: 4px;
}
.hero-arch {
  margin: 0 auto;
  width: min(100%, 420px);
  border-radius: var(--arch);
  overflow: hidden;
  border: 10px solid #fff;
  border-bottom: 0;
  box-shadow: 0 0 0 1px var(--sand-deep);
  aspect-ratio: 4 / 3.2;
  max-height: 36vh;
  max-height: 36svh;
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}
.hero h1 {
  font-size: clamp(2.3rem, 9vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin-bottom: 1rem;
}
.lede { font-size: 1.1rem; max-width: var(--measure); color: var(--ink-soft); margin-bottom: 1.25rem; }
.offer .price { margin-bottom: 0.9rem; }
.offer .button { width: 100%; }

/* ---------- decide before you buy ---------- */
.decide { display: grid; gap: 32px; }
.decide-copy p:not(.eyebrow) { max-width: var(--measure); }
.value-math {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 10px;
  max-width: 480px;
}
.value-row { border-radius: 18px; padding: 18px 14px; text-align: center; }
.value-cheap { background: var(--sand-deep); border: 2px solid var(--clay); }
.value-costly { background: var(--terracotta-tint); }
.value-label { margin: 0 0 4px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.value-amount { margin: 0 0 4px; font-family: var(--display); font-weight: 700; font-size: 1.7rem; line-height: 1.1; color: var(--clay); }
.value-costly .value-amount { color: var(--terracotta-deep); }
.value-note { margin: 0; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.35; }
.value-vs { align-self: center; margin: 0; font-family: var(--script); font-style: italic; color: var(--ink-soft); }

/* ---------- what you'll learn ---------- */
.learn { padding-top: 32px; }
.outcomes { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.outcomes li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--sand-deep);
}
.outcomes p { margin: 0; color: var(--ink-soft); }
.outcomes strong { color: var(--ink); }
.tick {
  width: 26px; height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--clay);
  position: relative;
}
.tick::after {
  content: "";
  position: absolute;
  left: 9px; top: 6px;
  width: 6px; height: 11px;
  border: solid var(--sand);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- story ---------- */
.story { display: grid; gap: 32px; }
.story-copy p { max-width: var(--measure); }
.facts { margin: 0; border-top: 1px solid var(--stone); }
.facts div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--stone);
}
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; font-family: var(--display); font-size: 1.4rem; color: var(--clay); }

/* ---------- the problem ---------- */
.problem { background: var(--clay); color: var(--sand); }
.problem h2 { color: var(--sand); }
.problem .section-intro { color: var(--mist); }
.pains { list-style: none; margin: 0 0 2rem; padding: 0; max-width: 40rem; }
.pains li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-top: 1px solid rgba(247, 238, 233, 0.25);
}
.pains li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 22px; height: 22px;
  border-radius: 50%;
  /* a small cross: these are mistakes to avoid */
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7.5 7.5l7 7M14.5 7.5l-7 7' stroke='%239A5A45' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
}
.problem-turn {
  font-family: var(--script);
  font-style: italic;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  line-height: 1.3;
  max-width: 28ch;
  margin: 0;
  color: var(--peach);
}

/* ---------- everything you get ---------- */
.receipt {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  border-top: 1px solid var(--stone);
}
.receipt li {
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--stone);
  position: relative;
}
.receipt li::before {
  content: "";
  position: absolute;
  left: 4px; top: 21px;
  width: 7px; height: 13px;
  border: solid var(--terracotta);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.item { margin: 0; font-weight: 600; }
.item-note { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.bonus-heading {
  font-family: var(--script);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--clay);
  margin-bottom: 1rem;
}
.bonuses { display: grid; gap: 16px; }
.included { background: var(--sand-deep); }
.bonus {
  background: #fff;
  border-radius: 20px;
  padding: 24px 22px;
  border: 1px solid #E8D9C3;
}
.bonus h3 { margin-bottom: 0.6rem; }
.bonus p:last-child { margin: 0; color: var(--ink-soft); }
.bonus-tag {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.offer-box {
  margin: 2.5rem auto 0;
  max-width: 420px;
  background: #fff;
  border: 2px solid var(--clay);
  border-radius: 24px;
  padding: 24px 20px;
  text-align: center;
}
.offer-cover { width: 150px; margin: -4px auto 18px; border-radius: 4px; box-shadow: 0 12px 28px rgba(60, 40, 25, .25); transform: rotate(-2deg); }
.offer-box-title { font-family: var(--display); font-size: 1.4rem; color: var(--charcoal); margin-bottom: 0.4rem; }
.offer-box .price { margin-bottom: 0.4rem; }
.offer-box .save-tag { margin: 0 0 1.1rem; }
.inline-cta { margin-top: 2.5rem; text-align: center; }
.inline-cta .button { width: 100%; max-width: 420px; }

/* ---------- chapters ---------- */
.chapters {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: chapter;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  column-gap: clamp(24px, 4vw, 56px);
}
.chapters-rest { counter-reset: chapter 6; }
.chapter {
  counter-increment: chapter;
  padding: 16px 0 18px;
  border-top: 1px solid var(--stone);
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  column-gap: 0.5rem;
}
.chapter::before {
  content: counter(chapter);
  grid-row: span 2;
  font-family: var(--script);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--terracotta);
}
.chapter h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.chapter p { font-size: 0.98rem; color: var(--ink-soft); margin: 0; }
.more-chapters > summary {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 22px;
  border: 1.5px solid var(--clay);
  border-radius: 999px;
  color: var(--clay);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.more-chapters > summary::-webkit-details-marker { display: none; }
.more-chapters[open] > summary { display: none; }

/* ---------- sample ---------- */
.sample { display: grid; gap: 32px; }
.sample-arch {
  margin: 0;
  border-radius: var(--arch);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-width: 280px;
}
.sample-arch img { width: 100%; height: 100%; object-fit: cover; }
blockquote {
  margin: 1.25rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--terracotta);
  font-family: var(--script);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 36rem;
}
.sample-more { color: var(--ink-soft); max-width: var(--measure); font-weight: 600; }

/* ---------- why this guide ---------- */
.why { background: none; }
.why-list li { box-shadow: 0 1px 0 var(--sand-deep), 0 8px 24px rgba(60, 40, 25, .06); }
.why-story { max-width: 40rem; margin-bottom: 2rem; }
.why-story p { color: var(--ink-soft); }
.why-story p:last-child { font-family: var(--script); font-style: italic; font-size: 1.35rem; line-height: 1.4; color: var(--clay); }
.why-list { list-style: none; margin: 0; padding: 0; counter-reset: why; display: grid; gap: 14px; }
.why-list li {
  counter-increment: why;
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 20px 20px 20px 66px;
}
.why-list li::before {
  content: counter(why);
  position: absolute;
  left: 18px; top: 20px;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
}
.why-list h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.why-list p { margin: 0; color: var(--ink-soft); }

/* ---------- for you ---------- */
.for-you { background: var(--sand-deep); }
.fit { display: grid; gap: 24px; margin-top: 1.5rem; }
.fit h3 { margin-bottom: 0.9rem; }
.fit ul { margin: 0 0 1.25rem; padding-left: 1.1rem; }
.fit li { margin-bottom: 0.6rem; max-width: var(--measure); }
.fit li::marker { color: var(--terracotta); }
.note { font-family: var(--script); font-style: italic; font-size: 1.2rem; color: var(--clay); max-width: 28rem; margin: 0; }

/* ---------- about ---------- */
.about { display: grid; gap: 28px; }
.about-photo { margin: 0; max-width: 280px; }
.about-photo img { border-radius: 10px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-copy p { max-width: var(--measure); }
.text-link { color: var(--terracotta); font-weight: 600; text-underline-offset: 4px; }

/* ---------- checkout ---------- */
.checkout {
  background: var(--clay);
  color: var(--sand);
  max-width: none;
  border-radius: 48px 48px 0 0;
  text-align: center;
}
main > section.checkout { max-width: none; padding-bottom: clamp(56px, 8vw, 96px); }
.final-quote {
  font-family: var(--script);
  font-style: italic;
  font-size: clamp(1.7rem, 4.5vw, 3rem);
  line-height: 1.2;
  max-width: 20ch;
  margin: 0 auto 2rem;
}
.checkout-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--sand);
  color: var(--ink);
  border-radius: 24px;
  padding: 24px 20px;
  text-align: left;
  box-shadow: 0 18px 50px rgba(40, 30, 15, 0.35);
}
.checkout-title { font-family: var(--display); font-size: 1.35rem; color: var(--charcoal); line-height: 1.2; margin-bottom: 0.6rem; }
.checkout-summary .price { margin-bottom: 0.8rem; }
.checkout-list { margin: 0 0 1.25rem; padding-left: 1.1rem; font-size: 0.98rem; color: var(--ink-soft); }
.checkout-list li { margin-bottom: 0.3rem; }
.checkout-list li::marker { color: var(--terracotta); }
.steps { list-style: none; margin: 0; padding: 0; }
.step { padding: 18px 0 4px; border-top: 1px solid var(--sand-deep); }
.step-label { font-weight: 600; display: flex; align-items: center; gap: 10px; margin-bottom: 0.8rem; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--sand);
  font-size: 0.85rem;
}
.step.is-locked { opacity: 0.45; }
.step.is-locked .step-num { background: var(--stone); }
.email-form input[type="email"] {
  display: block;
  width: 100%;
  min-height: 52px;
  margin-bottom: 12px;
  padding: 12px 16px;
  font: 400 1rem/1.3 var(--body); /* 16px or more stops iOS zooming into the field */
  font-size: max(16px, 1rem);
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--stone);
  border-radius: 14px;
  -webkit-appearance: none;
  appearance: none;
}
.email-form input[type="email"]:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(154, 90, 69, 0.2); }
.email-form input[type="email"][aria-invalid="true"] { border-color: var(--terracotta); }
.form-error { color: var(--terracotta); font-size: 0.92rem; margin: -4px 0 10px; }
.email-done { margin: 0 0 6px; font-size: 0.98rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.email-done strong { color: var(--ink); }
.link-button {
  background: none;
  border: 0;
  padding: 4px 2px;
  font: inherit;
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- faq ---------- */
.faq { max-width: 860px; }
.faq h2 { margin-bottom: 1.5rem; }
.faq details { border-top: 1px solid var(--stone); }
.faq details:last-of-type { border-bottom: 1px solid var(--stone); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 2.5rem 18px 0;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--charcoal);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--body);
  font-size: 1.6rem;
  color: var(--terracotta);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); max-width: 40rem; padding-bottom: 12px; }

/* ---------- sticky buy bar (phones) ---------- */
.buy-bar {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(244, 241, 238, 0.97);
  border-top: 1px solid var(--sand-deep);
  box-shadow: 0 -6px 20px rgba(46, 38, 32, 0.08);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .25s ease, visibility 0s linear .25s;
}
.buy-bar.is-visible { transform: none; visibility: visible; transition: transform .25s ease; }
.buy-bar .price { margin: 0; white-space: nowrap; }
.buy-bar .price strong { font-size: 1.8rem; }
.buy-bar .button { min-height: 48px; padding: 10px 24px; }
@media (prefers-reduced-motion: reduce) {
  .buy-bar, .buy-bar.is-visible { transition: none; }
}

/* ---------- footer ---------- */
.footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px var(--gutter) calc(110px + env(safe-area-inset-bottom));
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 1rem; }
.footer a { color: var(--clay); display: inline-block; padding: 6px 0; }

/* ---------- legal pages ---------- */
.thanks .button { margin: 0.5rem 0 0; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: 0.6rem; }
.legal li::marker { color: var(--terracotta); }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--terracotta); }
.legal { max-width: 720px; margin: 0 auto; padding: 32px var(--gutter) 96px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }

/* ---------- tablets and up ---------- */
@media (min-width: 600px) {
  .offer .button { width: auto; }
  .bonuses { grid-template-columns: 1fr 1fr; }
}

/* ---------- desktop ---------- */
@media (min-width: 761px) {
  body { font-size: 1.125rem; }
  .topbar { padding: 20px var(--gutter); }
  .buy-bar { display: none; }
  .footer { padding-bottom: 48px; }
  .swipe-hint { display: none; }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: end;
    padding-top: clamp(24px, 4vw, 48px);
  }
  .hero-text { order: -1; }
  .hero-arch { width: 100%; max-height: none; aspect-ratio: 3 / 4.2; border-width: 14px; }
  .hero-arch img { object-position: 50% center; }
  .lede { font-size: 1.2rem; margin-bottom: 2rem; }

  .outcomes { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); column-gap: 48px; }
  .story { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
  .decide { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
  .ledger { grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
  .receipt { columns: 2; column-gap: 48px; border-top: 0; }
  .receipt li { break-inside: avoid; }
  .bonus { padding: 32px; }
  .inline-cta .button { width: auto; }

  .sample { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
  .sample-arch { max-width: none; }
  .why-list { grid-template-columns: 1fr 1fr; gap: 20px; }
  .fit { grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: 2rem; }
  .about { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
  .about-photo { max-width: none; }
  .checkout { border-radius: var(--arch); margin: 0 var(--gutter); padding-top: clamp(96px, 12vw, 160px); }
  main > section.checkout { max-width: none; }
  .checkout-card { padding: 32px; }
}

@media (min-width: 1100px) {
  .why-list li { padding: 28px 28px 28px 78px; }
  .why-list li::before { left: 24px; top: 26px; }
}

/* ---------- phones held sideways: short screens ---------- */
@media (orientation: landscape) and (max-height: 500px) {
  .hero { align-items: center; padding-top: 12px; }
  .hero h1 { font-size: 2.4rem; margin-bottom: 0.6rem; }
  .lede { font-size: 1rem; margin-bottom: 0.8rem; }
  .hero-arch { max-height: 80vh; }
  .launch-bar { padding-top: 6px; padding-bottom: 6px; }
}

/* Thank-you page: where to find the welcome email */
.mail-note { background: var(--sand-deep); border-left: 4px solid var(--clay); border-radius: 12px; padding: 1rem 1.2rem; margin: 1.2rem 0 1.5rem; }
.mail-note p { margin: 0; }
.mail-note p + p { margin-top: 0.6rem; font-size: 0.95rem; }

/* Phones: keep the price and the buy button on the first screen, also inside Instagram's browser */
@media (max-width: 760px) {
  .hero { gap: 12px; }
  .hero-arch { max-height: 24vh; max-height: 24svh; border-width: 6px; }
  .hero .eyebrow { font-size: 0.75rem; letter-spacing: 0.14em; margin-bottom: 0.35rem; }
  .hero h1 { font-size: clamp(2rem, 8.4vw, 2.6rem); margin-bottom: 0.5rem; }
  .hero .lede { font-size: 1rem; line-height: 1.45; margin-bottom: 0.8rem; }
  .offer .price { margin-bottom: 0.6rem; }
}
@media (max-width: 760px) and (max-height: 640px) {
  .hero .eyebrow { display: none; }
  .hero-arch { max-height: 19vh; max-height: 19svh; }
}

/* "Everything you get": one line for the guide, then the bonuses */
.included-lead { font-size: 1.15rem; max-width: var(--measure); margin: 0 0 1.5rem; }

/* Order sheet: the checkout form slides up over the page when a buy button is tapped */
.buy-sheet {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(calc(100% - 32px), 480px);
  max-width: 480px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.buy-sheet::backdrop { background: rgba(51, 48, 45, 0.6); }
.buy-sheet .checkout-card { box-shadow: none; }
.buy-sheet .checkout-title { padding-right: 48px; }
.sheet-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--sand-deep);
  color: var(--charcoal);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}
html.sheet-open { overflow: hidden; }
@media (max-width: 760px) {
  .buy-sheet { width: 100%; max-width: 100%; margin: auto 0 0; max-height: 92dvh; }
  .buy-sheet .checkout-card { border-radius: 24px 24px 0 0; max-width: none; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
