/* Henry Moy shop (henrymoy.com): large type, high contrast, one column on phones.
   Class names are the shop engine's (engine/README.md); colours, type and look are this shop's own. */
/* The web fonts: Latin-only files (Fontsource 5.x, the subsets Google Fonts serves; OFL, see fonts/README.md). */
@font-face { font-family: "Literata"; src: url("/fonts/literata-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Literata"; src: url("/fonts/literata-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* The text shows at once in a system font sized to match Literata and Atkinson Hyperlegible, so little moves when the
   web fonts arrive (font-display: swap; the two most-used fonts are preloaded at low priority, so they don't hold up the
   stylesheet). size-adjust is each web font's width over the fallback's, measured per weight in Chromium on this page's
   own text (21 Oct): Times New Roman and Arial (Windows, Mac, iPhone; Liberation Serif and Sans on Linux have the same
   widths), Noto Serif and Roboto (Android). Vertical overrides use the shipped files' own metrics (Literata 1177/308,
   Atkinson Hyperlegible 950/290 per 1000), divided by the size-adjust. */
@font-face { font-family: "Literata Fallback Times"; src: local('Times New Roman Bold'), local('TimesNewRomanPS-BoldMT'), local('Liberation Serif Bold'), local('LiberationSerif-Bold'); font-weight: 600; font-style: normal; size-adjust: 112.83%; ascent-override: 104.31%; descent-override: 27.30%; line-gap-override: 0%; }
@font-face { font-family: "Literata Fallback Times"; src: local('Times New Roman Italic'), local('TimesNewRomanPS-ItalicMT'), local('Liberation Serif Italic'), local('LiberationSerif-Italic'); font-weight: 400; font-style: italic; size-adjust: 109.52%; ascent-override: 107.47%; descent-override: 28.12%; line-gap-override: 0%; }
@font-face { font-family: "Literata Fallback Noto"; src: local('Noto Serif Bold'), local('NotoSerif-Bold'); font-weight: 600; font-style: normal; size-adjust: 96.68%; ascent-override: 121.74%; descent-override: 31.86%; line-gap-override: 0%; }
@font-face { font-family: "Literata Fallback Noto"; src: local('Noto Serif Italic'), local('NotoSerif-Italic'); font-weight: 400; font-style: italic; size-adjust: 95.31%; ascent-override: 123.49%; descent-override: 32.31%; line-gap-override: 0%; }
@font-face { font-family: "Atkinson Fallback Arial"; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'); font-weight: 400; font-style: normal; size-adjust: 98.85%; ascent-override: 96.10%; descent-override: 29.34%; line-gap-override: 0%; }
@font-face { font-family: "Atkinson Fallback Arial"; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'); font-weight: 700; font-style: normal; size-adjust: 100.91%; ascent-override: 94.15%; descent-override: 28.74%; line-gap-override: 0%; }
@font-face { font-family: "Atkinson Fallback Roboto"; src: local('Roboto'), local('Roboto-Regular'); font-weight: 400; font-style: normal; size-adjust: 99.53%; ascent-override: 95.45%; descent-override: 29.14%; line-gap-override: 0%; }
@font-face { font-family: "Atkinson Fallback Roboto"; src: local('Roboto Bold'), local('Roboto-Bold'); font-weight: 700; font-style: normal; size-adjust: 108.05%; ascent-override: 87.92%; descent-override: 26.84%; line-gap-override: 0%; }

/* ---------- Henry's look, redesigned (HQ, 29 Nov): jade green, takeout red and cream, with a warm amber on the dark
   bands. Big serif headings with an italic second voice, large clear body type, cards with soft shadows, the arched
   window with the cover, a takeout awning over the footer. Type stays big and contrast strong (large-print readers). */
:root {
  --jade-deep: #142319;  /* the darkest bands: numbers, price cards, footer */
  --jade: #1E3829;       /* hero, chapters */
  --jade-mid: #2F4A3A;   /* Henry's kitchen green */
  --jade-soft: #5E7D69;  /* thin rules and frames */
  --red: #9B2A1E;        /* takeout red: headings' second voice, prices, buttons */
  --red-deep: #7E2117;
  --red-edge: #64180F;
  --amber: #F2BC5E;      /* warm light on the dark bands */
  --amber-deep: #D99A2B;
  --cream: #F6EFE2;
  --cream-deep: #EDE3D1;
  --paper: #FFFDF8;
  --ink: #1D1B18;
  --muted: #4E4A44;
  --struck: #6B655D;
  --line: #DCD1BD;
  --on-dark: #F6EFE2;
  --on-dark-muted: #CFC6B5;
  --white: #ffffff;
  /* names the engine's shared rules use */
  --burgundy: var(--red);
  --rose: var(--red);
  --rose-dark: var(--red-deep);
  --gold: var(--jade-soft);
  --soft: var(--cream-deep);
  --radius: 16px;
  --measure: 720px;
  --serif: "Literata", "Literata Fallback Times", "Literata Fallback Noto", Georgia, serif;
  --sans: "Atkinson Hyperlegible", "Atkinson Fallback Arial", "Atkinson Fallback Roboto", "Segoe UI", Helvetica, Arial, sans-serif;
  /* Henry's ornament: a small lantern diamond */
  --diamond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 18'%3E%3Cpath d='M6 1 11 9 6 17 1 9z' fill='%239B2A1E'/%3E%3C/svg%3E");
  --diamond-amber: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 18'%3E%3Cpath d='M6 1 11 9 6 17 1 9z' fill='%23F2BC5E'/%3E%3C/svg%3E");
  --diamond-cream: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 18'%3E%3Cpath d='M6 1 11 9 6 17 1 9z' fill='%23F6EFE2'/%3E%3C/svg%3E");
  /* a faint takeout-window lattice on the dark bands */
  --lattice: repeating-linear-gradient(45deg, rgba(246, 239, 226, 0.035) 0 1px, transparent 1px 26px), repeating-linear-gradient(-45deg, rgba(246, 239, 226, 0.035) 0 1px, transparent 1px 26px);
  --shadow: 0 22px 48px -28px rgba(29, 27, 24, 0.45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 20px; line-height: 1.6; overflow-wrap: break-word; } /* a long address wraps rather than scroll sideways */
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--red); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.15; }
h1 { font-size: 42px; margin: 8px 0 14px; }
h2 { font-size: 34px; margin: 0 0 14px; text-wrap: balance; }
h3 { font-size: 24px; margin: 0 0 6px; }
.lead { font-size: 22px; margin: 0 0 22px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
section { padding: 56px 0; }

/* Headings: a small line above (eyebrow), then the heading, its second voice in italic */
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 12px; font-size: 15px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.accent { font-style: italic; font-weight: 400; color: var(--red); }
section > .wrap > h2, .pricebox-head h2 { text-align: center; }
.intro { max-width: 34em; margin: 0 auto 28px; text-align: center; color: var(--muted); }

/* ---------- Buttons ---------- */
.buy {
  display: block; width: 100%; text-align: center; text-decoration: none; cursor: pointer;
  min-height: 64px; padding: 16px 22px; border: 0; border-radius: 999px;
  background: var(--red); color: #FFFFFF;
  font-family: var(--sans); font-size: 22px; font-weight: 700; line-height: 1.25;
  box-shadow: 0 4px 0 var(--red-edge), 0 14px 28px -14px rgba(126, 33, 23, 0.7);
}
.buy:hover { background: var(--red-deep); }
.buy:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--red-edge); }
button.buy { font-family: var(--sans); }
.buy[disabled] { opacity: 0.7; cursor: progress; }
.buy.small { display: inline-block; width: auto; min-width: 0; min-height: 56px; font-size: 20px; padding: 14px 24px; }
.buy-form { margin: 0; width: 100%; }
.buttons { display: grid; gap: 14px; justify-items: center; }
.reassure { text-align: center; font-size: 18px; color: var(--muted); margin: 16px 0 0; }
.reassure.secure { margin-top: 6px; }
.product-note { margin: 10px auto 2px; font-size: 18px; color: var(--muted); max-width: 460px; text-align: center; }
.link-button { background: none; border: 0; color: var(--red); text-decoration: underline; text-underline-offset: 3px; font: inherit; font-size: 19px; cursor: pointer; padding: 10px 14px; min-height: 48px; }
/* the big amber button on the dark bands */
.showcase .buy, .finale .buy, .story-cta .buy { background: var(--amber); color: var(--ink); box-shadow: 0 4px 0 var(--amber-deep), 0 16px 30px -14px rgba(0, 0, 0, 0.55); }
.showcase .buy:hover, .finale .buy:hover { background: #F7CD82; }

/* ---------- 1. Timer bar (sticky, at most 64 px on a phone) ---------- */
.timer-bar { position: sticky; top: 0; z-index: 40; background: var(--jade-deep); color: var(--on-dark); border-bottom: 1px solid rgba(242, 188, 94, 0.45); }
.timer-bar.aside { visibility: hidden; }
.bar-inner { max-width: 1180px; margin: 0 auto; padding: 3px 10px; display: flex; align-items: center; justify-content: center; gap: 10px 16px; }
.bar-text { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.bar-label { font-size: 15px; font-weight: 700; line-height: 1.2; color: var(--on-dark); text-align: center; }
.bar-label strong { letter-spacing: 0.04em; color: var(--amber); }
.timer-bar .cd { display: inline-flex; gap: 4px; }
.timer-bar .cd-box { display: inline-flex; flex-direction: column; align-items: center; min-width: 42px; padding: 2px 4px 1px; border: 1px solid rgba(242, 188, 94, 0.45); border-radius: 8px; background: rgba(246, 239, 226, 0.06); box-shadow: none; }
.timer-bar .cd-box b { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.05; color: var(--amber); font-variant-numeric: tabular-nums; }
.timer-bar .cd-box small { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.2; color: var(--on-dark-muted); }
.bar-button { flex: none; min-height: 56px; padding: 0 20px; white-space: nowrap; font-family: var(--sans); font-size: 18px; font-weight: 700; color: var(--ink); background: var(--amber); border: 0; border-radius: 999px; cursor: pointer; }
.bar-button:hover { background: #F7CD82; }
.timer-bar button:focus-visible { outline-color: var(--amber); }

/* ---------- 2. Top bar and the first screen ---------- */
.topbar { background: var(--jade); }
.topbar .wrap { display: flex; align-items: center; justify-content: center; min-height: 52px; gap: 12px; max-width: 1180px; }
.brand { display: inline-block; padding: 6px 4px; font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-dark); text-decoration: none; }
.topbar a:focus-visible { outline-color: var(--amber); }
.page-sales .topbar .wrap { border-bottom: 1px solid rgba(246, 239, 226, 0.16); }

.showcase { position: relative; overflow: hidden; color: var(--on-dark); background-color: var(--jade); background-image: radial-gradient(90% 60% at 80% 40%, rgba(242, 188, 94, 0.14) 0%, rgba(242, 188, 94, 0) 60%), var(--lattice); padding: 26px 0 48px; }
.showcase .wrap { max-width: 1180px; }
.showcase-grid { display: grid; gap: 34px; }
.byline { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.35; color: var(--amber); }
.byline .portrait.tiny { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--amber); box-shadow: 0 0 0 3px var(--jade), 0 0 0 4px rgba(242, 188, 94, 0.5); }
.showcase h1 { font-size: clamp(32px, 8.6vw, 38px); line-height: 1.1; color: var(--on-dark); margin: 0 0 16px; letter-spacing: -0.005em; text-wrap: balance; }
.showcase h1 .accent { display: block; color: var(--amber); margin-top: 4px; }
.showcase .lead { color: var(--on-dark); font-size: 20px; line-height: 1.6; margin: 0 0 22px; max-width: 32em; }
.showcase .lead b { color: #FFFFFF; }
.showcase .lead em { font-family: var(--serif); font-style: italic; color: #FFFFFF; }
.offer { margin: 0 0 6px; }
.price-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; }
.price-line .price-next { font-size: 24px; color: var(--struck); text-decoration-thickness: 2px; }
.price-line .price-now { font-family: var(--serif); font-weight: 600; font-size: 54px; line-height: 1; color: var(--red); }
.price-later { margin: 4px 0 0; font-size: 17px; color: var(--muted); }
.showcase .price-next, .finale .price-next { color: var(--on-dark-muted); }
.showcase .price-now, .finale .price-now { color: var(--amber); }
.showcase .price-later, .finale .price-later { color: var(--on-dark-muted); }
.offer .buttons { margin: 18px 0 0; justify-items: stretch; }
.offer .per-page { margin: 10px 0 0; font-size: 18px; color: var(--on-dark-muted); text-align: left; }
.alt-offer { margin: 12px 0 0; font-size: 19px; }
.alt-offer a, .see-inside { color: var(--on-dark); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 5px; display: inline-block; padding: 8px 0; }
.alt-offer a:hover, .see-inside:hover { color: var(--amber); }
.showcase a:focus-visible, .finale a:focus-visible, .showcase button:focus-visible, .finale button:focus-visible { outline-color: var(--amber); }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 17px; color: var(--on-dark-muted); }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: "\2713"; content: "\2713" / ""; position: absolute; left: 2px; top: 0; color: var(--amber); font-weight: 700; }
.hero-links { margin: 10px 0 0; font-size: 19px; }
.showcase .notice { color: var(--ink); }
.showcase-art { position: relative; }
.badge-round { position: absolute; z-index: 5; right: 2%; top: 4%; width: 104px; height: 104px; margin: 0; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--red); color: #FFFFFF; border: 3px solid var(--amber); box-shadow: 0 0 0 4px var(--red), 0 14px 30px rgba(0, 0, 0, 0.4); transform: rotate(8deg); text-align: center; line-height: 1; }
.badge-round b { font-family: var(--serif); font-weight: 600; font-size: 40px; }
.badge-round span { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 3px; }

/* The arched window with the cover (Henry's partial): a warm stove glow under kitchen green, steam drifting up. */
.hero-covers { position: relative; width: 100%; max-width: 420px; aspect-ratio: 0.8 / 1; margin: 0 auto; }
.hero-covers .window { position: absolute; left: 0; top: 0; width: 100%; height: 91%; border-radius: 999px 999px 8px 8px; overflow: hidden; border: 1px solid rgba(242, 188, 94, 0.6); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4); background: linear-gradient(180deg, #24402F 0%, #2F4A3A 30%, #6B3B26 58%, #B4532C 72%, #E39A55 84%, #F2C27A 92%); z-index: 0; }
.hero-covers .glow { position: absolute; left: 12%; width: 76%; top: 40%; aspect-ratio: 1 / 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 226, 168, 0.9) 0%, rgba(246, 181, 104, 0.55) 40%, rgba(214, 112, 58, 0) 70%); }
.hero-covers .counter { position: absolute; left: 0; right: 0; bottom: 0; height: 9%; background: linear-gradient(180deg, #8A5A36 0%, #6E4528 100%); border-top: 1px solid rgba(246, 239, 226, 0.35); }
.hero-covers .inner { position: absolute; inset: 7px; border-radius: 999px 999px 4px 4px; border: 1px solid rgba(246, 239, 226, 0.5); pointer-events: none; }
.hero-covers .lantern { position: absolute; left: 50%; top: 5%; transform: translateX(-50%); color: var(--amber); }
.hero-covers .dust { position: absolute; inset: -26% -32% -4% -32%; overflow: hidden; pointer-events: none; z-index: 1; -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); }
.hero-covers .dust-a { position: absolute; top: 0; left: 0; right: 0; height: calc(100% + 220px); background-size: 220px 220px;
  background-image: radial-gradient(circle at 18px 26px, rgba(246,239,226,.85) 0, rgba(246,239,226,.85) .9px, rgba(246,239,226,0) 2.1px), radial-gradient(circle at 96px 12px, rgba(246,239,226,.7) 0, rgba(246,239,226,.7) .7px, rgba(246,239,226,0) 1.9px), radial-gradient(circle at 160px 60px, rgba(246,239,226,.8) 0, rgba(246,239,226,.8) 1.1px, rgba(246,239,226,0) 2.3px), radial-gradient(circle at 40px 120px, rgba(246,239,226,.6) 0, rgba(246,239,226,.6) .8px, rgba(246,239,226,0) 2px), radial-gradient(circle at 120px 150px, rgba(246,239,226,.9) 0, rgba(246,239,226,.9) 1.2px, rgba(246,239,226,0) 2.4px), radial-gradient(circle at 200px 110px, rgba(246,239,226,.55) 0, rgba(246,239,226,.55) .7px, rgba(246,239,226,0) 1.9px), radial-gradient(circle at 70px 190px, rgba(246,239,226,.75) 0, rgba(246,239,226,.75) 1px, rgba(246,239,226,0) 2.2px), radial-gradient(circle at 180px 200px, rgba(246,239,226,.65) 0, rgba(246,239,226,.65) .8px, rgba(246,239,226,0) 2px); }
.hero-covers .dust-sway { position: absolute; inset: 0; }
.hero-covers .dust-b { position: absolute; top: 0; left: 0; right: 0; height: calc(100% + 360px); background-size: 360px 360px;
  background-image: radial-gradient(circle at 40px 60px, rgba(246,239,226,.45) 0, rgba(246,239,226,0) 3.5px), radial-gradient(circle at 220px 30px, rgba(246,239,226,.35) 0, rgba(246,239,226,0) 4px), radial-gradient(circle at 300px 180px, rgba(246,239,226,.5) 0, rgba(246,239,226,0) 3px), radial-gradient(circle at 120px 240px, rgba(246,239,226,.3) 0, rgba(246,239,226,0) 4.5px), radial-gradient(circle at 260px 310px, rgba(246,239,226,.4) 0, rgba(246,239,226,0) 3.5px); }
.hero-covers .float { position: absolute; z-index: 2; }
.hero-covers .tilt { transform: rotate(var(--rot, 0deg)); border-radius: 4px; overflow: hidden; line-height: 0; box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(246, 239, 226, 0.2); }
.hero-covers .tilt img { width: 100%; height: auto; }
.hero-covers .float-book { left: 17%; top: 17%; width: 66%; z-index: 4; --dur: 7s; --rise: -7px; --delay: 0s; }

/* ---------- 3. The ribbon of dishes ---------- */
.ribbon { padding: 0; overflow: hidden; background: var(--red); color: var(--on-dark); border-top: 1px solid var(--red-deep); border-bottom: 1px solid var(--red-deep); }
.ribbon-track { display: flex; width: max-content; }
.ribbon ul { list-style: none; display: flex; margin: 0; padding: 14px 0; }
.ribbon li { display: flex; align-items: center; white-space: nowrap; padding: 0 0 0 22px; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.3; }
.ribbon li::after { content: ""; width: 9px; height: 14px; margin-left: 22px; background: var(--diamond-amber) center / 9px 14px no-repeat; }

/* ---------- 4. The numbers ---------- */
.stats { background: var(--jade-deep); background-image: var(--lattice); color: var(--on-dark); padding: 40px 0; }
.stats .wrap { max-width: 1180px; }
.stat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
.stat-grid li { text-align: center; }
.stat-grid b { display: block; font-family: var(--serif); font-weight: 600; font-size: 46px; line-height: 1.05; color: var(--amber); font-variant-numeric: lining-nums; }
.stat-grid span { display: block; margin-top: 4px; font-size: 17px; line-height: 1.35; color: var(--on-dark-muted); }

/* ---------- 5. What goes wrong at home ---------- */
.pains { background: var(--cream); }
.pain-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.pain-list li { position: relative; background: var(--paper); border-radius: 14px; border-left: 5px solid var(--red); padding: 18px 18px 16px 70px; box-shadow: var(--shadow); }
.pain-list li::before { content: "\2715"; content: "\2715" / ""; position: absolute; left: 18px; top: 18px; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(155, 42, 30, 0.1); color: var(--red); font-weight: 700; font-size: 17px; }
.pain { margin: 0; font-size: 21px; line-height: 1.45; }
.pain b { color: var(--ink); }
.fix { margin: 8px 0 0; font-size: 18px; color: var(--jade-mid); }
.fix::before { content: "\2192\00a0"; content: "\2192\00a0" / ""; font-weight: 700; }
.fix b { color: var(--jade-mid); }
.pains-after { margin: 34px auto 0; max-width: 24em; text-align: center; font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.35; color: var(--ink); text-wrap: balance; }
.pains-after .accent { display: inline; }
.pains-after b { display: block; margin-top: 6px; font-weight: 600; }

/* ---------- 6. Henry's story ---------- */
.story { background: var(--paper); }
.story .wrap { max-width: 1180px; }
.story-grid { display: grid; gap: 30px; align-items: start; }
.story-photo { margin: 0 auto; max-width: 440px; width: 100%; }
.story-photo .arch { width: 100%; aspect-ratio: 900 / 1058; object-fit: cover; border-radius: 999px 999px 14px 14px; border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--amber-deep), 0 30px 60px -30px rgba(29, 27, 24, 0.6); }
.story-photo figcaption { margin: 12px 0 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); }
.story-text .eyebrow { justify-content: flex-start; }
.story-text .eyebrow::after { display: none; }
.story-text h2 { text-align: left; }
.story-text h3 { margin: 30px 0 10px; font-size: 26px; }
.story-text p { margin: 0 0 16px; }
.pull { margin: 26px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--red); }
.pull p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.4; color: var(--red); }
.signature { margin: 8px 0 0; font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--red); }
.story-cta { margin: 26px 0 0; }

/* ---------- 7. Look inside: real pages as cards ---------- */
.look { background: var(--cream-deep); }
.look .wrap { max-width: 1180px; }
.page-cards { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 4px 26px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scrollbar-width: thin; }
.page-cards figure { flex: 0 0 70%; max-width: 300px; margin: 0; scroll-snap-align: center; }
.page-cards .enlarge { display: block; background: #FFFFFF; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 40px -22px rgba(29, 27, 24, 0.55); }
.page-cards figcaption { margin: 12px 2px 0; font-size: 17px; line-height: 1.45; color: var(--muted); }
.look .hint { margin: 6px 0 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); }

/* ---------- 8. What's inside: the chapters as cards on the green ---------- */
.chapters { background: var(--jade); background-image: radial-gradient(80% 50% at 50% 0%, rgba(242, 188, 94, 0.1) 0%, rgba(242, 188, 94, 0) 70%), var(--lattice); color: var(--on-dark); }
.chapters .wrap { max-width: 1180px; }
.chapters h2 { color: var(--on-dark); }
.chapters .accent { color: var(--amber); }
.chapters .eyebrow { color: var(--amber); }
.chapter-cards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.chapter-cards > li { background: rgba(246, 239, 226, 0.06); border: 1px solid rgba(242, 188, 94, 0.28); border-radius: 14px; padding: 18px 20px 16px; }
.card-eyebrow { margin: 0 0 4px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.chapter-cards h3 { color: var(--on-dark); font-size: 24px; margin: 0 0 6px; }
.chapter-cards p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--on-dark-muted); }
.dishes { list-style: none; margin: 6px 0 0; padding: 0; }
.dishes li { position: relative; padding: 2px 0 2px 20px; font-size: 18px; line-height: 1.45; color: var(--on-dark); }
.dishes li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 12px; background: var(--diamond-amber) center / 8px 12px no-repeat; }
.chapters .after { color: var(--on-dark-muted); text-align: center; }

/* Buy strips between the sections */
.buy-strip-section { padding: 30px 0; background: var(--cream-deep); }
.buy-strip { text-align: center; }
.buy-strip .reassure { margin-top: 12px; }

/* ---------- 9. Made for easy reading ---------- */
.features { background: var(--cream); }
.features .wrap { max-width: 1180px; }
.feature-grid { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 26px 20px; }
.feature-grid li { text-align: center; padding: 0 6px; }
.feature-grid .icon { width: 72px; height: 72px; padding: 13px; margin: 0 auto 14px; border-radius: 50%; background: var(--paper); color: var(--red); box-shadow: 0 0 0 1px var(--line), 0 14px 26px -16px rgba(29, 27, 24, 0.5); }
.feature-grid h3 { font-size: 23px; }
.feature-grid p { margin: 0 auto; max-width: 20em; font-size: 19px; color: var(--muted); }

/* ---------- 10. What the kitchen knows: numbered truths ---------- */
.rules { background: var(--paper); counter-reset: rule; }
.rules .wrap { max-width: 1180px; }
.rule-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.rule-grid li { counter-increment: rule; position: relative; padding: 18px 18px 18px 84px; background: var(--cream); border-radius: 14px; border: 1px solid var(--line); }
.rule-grid li::before { content: counter(rule); position: absolute; left: 18px; top: 18px; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--on-dark); background: var(--jade-mid); box-shadow: 0 0 0 3px var(--cream), 0 0 0 4px var(--jade-soft); }
.rule-grid h3 { font-size: 23px; margin: 0 0 4px; }
.rule-grid p { margin: 0; font-size: 19px; color: var(--muted); }

/* ---------- 11. The set: the framed picture, the card pages, then the words ---------- */
.set-section { background: var(--cream-deep); }
.set-section .wrap { max-width: 1180px; }
.set-section h2 { text-align: center; }
.photo-frame { max-width: 560px; margin: 30px auto 0; padding: 8px; background: var(--paper); border-radius: 14px; box-shadow: var(--shadow); }
.photo-frame img { width: 100%; border-radius: 8px; }
.samples { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; max-width: 700px; margin: 0 auto; }
.samples figure { margin: 0; }
.samples .enlarge { display: block; background: #FFFFFF; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 34px -20px rgba(29, 27, 24, 0.5); }
.samples figcaption { font-size: 16px; line-height: 1.45; color: var(--muted); padding: 10px 0 0; }
.set-section .muted { text-align: center; color: var(--muted); margin: 30px 0 16px; }
.feature-text { max-width: 36em; margin: 30px auto 0; font-size: 21px; text-align: center; }
.set-section .after { font-size: 20px; color: var(--muted); text-align: center; margin-top: 18px; font-weight: 700; }
.enlarge { display: block; }

/* ---------- 12. Who it is for ---------- */
.audience { background: var(--paper); }
.audience .wrap { max-width: 1000px; }
.audience-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.audience-grid li { position: relative; padding: 16px 18px 16px 50px; background: var(--cream); border-radius: 14px; font-size: 20px; line-height: 1.5; }
.audience-grid li::before { content: ""; position: absolute; left: 20px; top: 22px; width: 12px; height: 18px; background: var(--diamond) center / 12px 18px no-repeat; }

/* Honest about what's American: a short note */
.honest { background: var(--paper); padding-top: 0; }
.honest .wrap { max-width: 820px; padding-top: 30px; padding-bottom: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.honest h2 { font-size: 28px; }
.honest p { margin: 0; text-align: center; color: var(--muted); }

/* ---------- 13. The price cards, on the darkest green ---------- */
.buy-section { background: var(--jade-deep); background-image: var(--lattice); padding: 56px 0; }
.buy-section .wrap { max-width: 1100px; padding: 0 14px; }
.pricebox { position: relative; text-align: center; }
.pricebox-head { color: var(--on-dark); }
.pricebox-head .eyebrow { color: var(--amber); }
.price-heading { font-size: 36px; color: var(--on-dark); margin: 0 0 6px; }
.countdown { margin: 14px 0 6px; }
.countdown-label { margin: 0 0 10px; font-size: 19px; font-weight: 700; color: var(--on-dark); }
.cd { display: inline-flex; gap: 6px; justify-content: center; }
.cd-box { display: inline-flex; flex-direction: column; align-items: center; min-width: 58px; padding: 9px 4px 6px; background: var(--paper); border-radius: 12px; box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.6); }
.cd-box b { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.05; color: var(--red); font-variant-numeric: tabular-nums; }
.cd-box small { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; line-height: 1.2; color: var(--muted); }
.ends { margin: 10px 0 0; color: var(--on-dark-muted); font-size: 17px; }
.price-cards { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; text-align: left; }
.price-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: 18px; padding: 24px 20px 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.price-card.featured { box-shadow: 0 0 0 3px var(--amber), 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.card-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); margin: 0; white-space: nowrap; padding: 5px 14px; border-radius: 999px; background: var(--amber); color: var(--ink); font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }
.card-img { width: 128px; margin: 4px auto 14px; }
.card-img img { width: 100%; border-radius: 6px; box-shadow: 0 16px 26px -14px rgba(29, 27, 24, 0.55); }
.price-card h3 { margin: 0; font-size: 28px; text-align: center; }
.card-tagline { margin: 2px 0 12px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--muted); }
.includes { list-style: none; margin: 6px 0 16px; padding: 0; }
.includes li { position: relative; padding: 4px 0 4px 32px; font-size: 19px; line-height: 1.45; }
.includes li::before { content: "\2713"; content: "\2713" / ""; position: absolute; left: 2px; top: 5px; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--jade-mid); color: #FFFFFF; font-weight: 700; font-size: 13px; }
.includes b { color: var(--ink); }
.price-card .price-line { justify-content: center; margin-top: auto; }
.price-card .price-later { text-align: center; }
.price-card .per-page { margin: 4px 0 0; font-size: 17px; color: var(--muted); text-align: center; }
.price-card .buttons { margin: 16px 0 0; justify-items: stretch; }
.price-card .product-note { margin-top: 8px; }
.notice { background: var(--cream-deep); border-radius: 14px; padding: 18px 20px; margin: 18px 0 0; font-size: 24px; font-weight: 700; color: var(--ink); text-align: center; }
.gift-note { margin: 18px 0 0; font-size: 19px; font-weight: 700; color: var(--amber); }
.buy-message { margin: 14px 0 0; background: #fff4d6; border: 1px solid #ecd9a0; color: #4a3800; border-radius: 10px; padding: 12px 14px; font-size: 19px; text-align: left; }
.buy-section .reassure { color: var(--on-dark-muted); }

/* ---------- 13b. What it saves you (the new book): the calculator, then five proof cards and the small print ---------- */
.savings { background: var(--paper); }
.savings .wrap { max-width: 1180px; }
.savings h2 { max-width: 20em; margin-left: auto; margin-right: auto; }
.savings .intro { max-width: 36em; }
.calc { max-width: 760px; margin: 0 auto; padding: 24px 18px 22px; background: var(--cream); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); text-align: center; }
.calc-question { display: block; max-width: 26em; margin: 0 auto 14px; font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.35; color: var(--ink); text-wrap: balance; }
.calc-input { display: flex; align-items: center; gap: 14px; }
/* The slider: a thick track filled in red up to the amount (--fill, set by the page and the script), a big thumb */
.calc-input input[type="range"] { flex: 1; min-width: 0; height: 48px; margin: 0; padding: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.calc-input input[type="range"]::-webkit-slider-runnable-track { height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--red) 0 var(--fill, 0%), #D6C8AF var(--fill, 0%) 100%); box-shadow: inset 0 0 0 1px rgba(29, 27, 24, 0.28); }
.calc-input input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 36px; height: 36px; margin-top: -12px; border-radius: 50%; background: var(--red); border: 4px solid var(--paper); box-shadow: 0 0 0 2px var(--red), 0 6px 14px -4px rgba(29, 27, 24, 0.5); }
.calc-input input[type="range"]::-moz-range-track { height: 12px; border-radius: 999px; background: #D6C8AF; box-shadow: inset 0 0 0 1px rgba(29, 27, 24, 0.28); }
.calc-input input[type="range"]::-moz-range-progress { height: 12px; border-radius: 999px; background: var(--red); }
.calc-input input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--red); border: 4px solid var(--paper); box-shadow: 0 0 0 2px var(--red), 0 6px 14px -4px rgba(29, 27, 24, 0.5); }
.calc-input input[type="range"]:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; border-radius: 999px; }
/* The number box beside it: "$ 118", typed in whole dollars */
.calc-box { flex: none; display: inline-flex; align-items: center; gap: 2px; min-height: 58px; padding: 0 12px; background: var(--paper); border: 2px solid var(--jade-soft); border-radius: 12px; font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1; color: var(--ink); }
.calc-box:focus-within { border-color: var(--red); outline: 3px solid var(--red); outline-offset: 2px; }
/* Windows high contrast: the browser's own slider, which its colours can draw. */
@media (forced-colors: active) { .calc-input input[type="range"] { -webkit-appearance: auto; appearance: auto; } }
.calc-box input { width: 3.4ch; margin: 0; padding: 10px 0; border: 0; background: transparent; font: inherit; color: inherit; text-align: right; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.calc-box input::-webkit-outer-spin-button, .calc-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-box input:focus { outline: none; }
.calc-note { margin: 8px 0 0; font-size: 17px; line-height: 1.45; color: var(--muted); text-wrap: balance; }
.calc-results { margin: 20px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--line); }
.calc-results p { margin: 0; }
.calc-there, .calc-home { font-size: 21px; line-height: 1.5; color: var(--ink); text-wrap: balance; }
.calc-results b { font-variant-numeric: tabular-nums; }
.calc-keep { margin-top: 12px !important; font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1.2; color: var(--jade-mid); }
.calc-keep b { font-weight: 600; color: var(--red); white-space: nowrap; }
.calc .offer { max-width: 460px; margin: 22px auto 0; }
.calc .price-line { justify-content: center; }
.calc .price-later, .calc .offer .per-page { text-align: center; color: var(--muted); }
/* The five proof cards, words only: the dish, what it costs there, and what it costs at home */
.proof-cards { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 12px; }
.proof-cards li { display: flex; flex-direction: column; padding: 16px 18px 15px; background: var(--cream); border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: 14px; box-shadow: 0 18px 30px -24px rgba(29, 27, 24, 0.5); text-align: left; }
.proof-cards h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.3; }
.proof-there { margin: auto 0 0; font-size: 18px; line-height: 1.4; color: var(--muted); }
.proof-home { margin: 2px 0 0; font-size: 22px; font-weight: 700; line-height: 1.35; color: var(--red); }
.small-print { max-width: 860px; margin: 30px auto 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
.small-print p { margin: 0 0 8px; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- 14. Questions ---------- */
.faq-section { background: var(--cream); }
.faq-section .wrap { max-width: 860px; }
details { margin: 0 0 10px; background: var(--paper); border-radius: 14px; border: 1px solid var(--line); padding: 0 18px; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font-size: 21px; font-weight: 700; line-height: 1.35; color: var(--ink); }
summary:hover { color: var(--red); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(155, 42, 30, 0.1); font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1; color: var(--red); }
details[open] summary::after { content: "\2212"; }
details p { margin: 0 0 18px; }

/* ---------- 15. The guarantee ---------- */
.promise-section { background: var(--cream); padding-top: 8px; }
.promise { max-width: 820px; margin: 0 auto; background: var(--paper); border-radius: 18px; padding: 32px 22px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line); }
.promise-text { position: relative; }
.shield { display: block; width: 40px; height: 46px; color: var(--jade-mid); margin: 0 auto 12px; }
.promise h2 { font-size: 28px; line-height: 1.3; max-width: 22em; margin: 0 auto 10px; text-wrap: balance; }
.promise p { margin: 0 auto; max-width: 34em; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.55; }

/* ---------- 16. The last scene: Henry's counter behind the words ---------- */
.finale { position: relative; overflow: hidden; background: var(--jade-deep); color: var(--on-dark); text-align: center; padding: 72px 0; isolation: isolate; }
.finale-bg { position: absolute; inset: 0; z-index: -1; }
.finale-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.finale-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 35, 25, 0.86) 0%, rgba(20, 35, 25, 0.8) 45%, rgba(20, 35, 25, 0.94) 100%); }
.finale .eyebrow { color: var(--amber); }
.finale h2 { color: var(--on-dark); font-size: 38px; }
.finale h2 .accent { display: block; color: var(--amber); }
.finale-text { max-width: 30em; margin: 0 auto 22px; color: var(--on-dark); }
.finale .offer { max-width: 520px; margin: 0 auto; }
.finale .price-line { justify-content: center; }
.finale .offer .per-page { text-align: center; }
.signoff { margin: 26px 0 0; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--amber); }

/* ---------- 17. Footer: the awning, then the green band ---------- */
footer, .site-footer { background: var(--jade-deep); color: var(--on-dark); border-top: 0; padding: 0 0 44px; font-size: 18px; line-height: 1.6; text-align: center; }
.footer-awning { position: relative; height: clamp(44px, 6vw, 70px); background: var(--cream); filter: drop-shadow(0 3px 2px rgba(29, 27, 24, 0.18)); }
main:has(.finale) + .site-footer .footer-awning { background: var(--jade-deep); }
.footer-awning svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
.site-footer .wrap { max-width: 760px; padding: 10px 20px 0; }
.site-footer .wrap::before { content: ""; display: block; width: 12px; height: 18px; margin: 0 auto 12px; background: var(--diamond-amber) center / 12px 18px no-repeat; }
.site-footer p { margin: 0 0 10px; }
.site-footer a { color: var(--amber); text-underline-offset: 3px; }
.site-footer a:hover { color: #FFFFFF; }
.site-footer a:focus-visible { outline-color: var(--amber); }

/* ---------- 18. The buy bar at the bottom of a phone ---------- */
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--jade-deep); border-top: 1px solid rgba(242, 188, 94, 0.45); box-shadow: 0 -10px 24px rgba(20, 35, 25, 0.35); }
.buy-bar[hidden] { display: none; }
.buy-bar-inner { max-width: 860px; margin: 0 auto; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.buy-bar .buy-form { margin: 0; }
.buy.bar-buy { display: block; width: 100%; min-width: 0; min-height: 56px; padding: 8px 6px; font-size: 18px; line-height: 1.2; }
.buy-bar .buy-form:first-child .bar-buy { background: var(--amber); color: var(--ink); box-shadow: 0 3px 0 var(--amber-deep); }
.buy-bar .buy-form:first-child .bar-buy:hover { background: #F7CD82; }
.buy-bar button:focus-visible { outline-color: var(--amber); }
body.has-buy-bar { padding-bottom: 96px; }
/* The floating bar (Maxim, 30 Nov, after Daniel Chen's): Henry's photo, the book's name and the two Buy buttons on a
   rounded panel. It slides up once no Buy button is on screen and back down when one comes into view (the script
   adds .is-shown); with reduced motion it simply appears. Hidden, it can't be reached or read. */
.buy-bar.float { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); max-width: 980px; margin: 0 auto; border: 1px solid rgba(242, 188, 94, 0.5); border-radius: 20px; background: var(--jade-deep); box-shadow: 0 20px 44px rgba(12, 18, 14, 0.5); transform: translate3d(0, calc(100% + 32px), 0); visibility: hidden; transition: transform 420ms var(--ease), visibility 0s linear 420ms; }
.buy-bar.float.is-shown { transform: none; visibility: visible; transition: transform 420ms var(--ease), visibility 0s; }
.buy-bar.float .buy-bar-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 8px; }
.bar-who { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0 4px; }
.bar-portrait { flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--amber); }
.bar-title { margin: 0; min-width: 0; display: flex; align-items: baseline; gap: 8px; line-height: 1.25; color: var(--on-dark); white-space: nowrap; overflow: hidden; }
.bar-title strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-family: var(--serif); font-weight: 600; font-size: 17px; }
.bar-title span { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 14px; color: var(--on-dark-muted); }
.bar-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body.has-float-bar { padding-bottom: 136px; }
/* While the bar is up, a link or button reached by Tab is scrolled clear of it (WCAG 2.4.11). */
html.bar-up { scroll-padding-bottom: 150px; }
/* Frosted glass where the browser can blur what is behind it; solid green where it can't. */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .buy-bar.float { background: rgba(20, 35, 25, 0.86); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
}
/* On narrow phones the photo and the book's name are enough beside the buttons. */
@media (max-width: 419px) { .bar-title span { display: none; } }

/* ---------- The page viewer (Maxim, 30 Nov): a tapped page, larger, on the page. The page fills the space between
   the close button and a row with the arrows and "2 of 4", so no control or caption ever covers it. ---------- */
html.viewer-open { overflow: hidden; }
.viewer { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--on-dark); overflow: hidden; }
.viewer::backdrop { background: rgba(12, 18, 14, 0.97); }
.viewer-inner { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 64px 12px calc(12px + env(safe-area-inset-bottom)); }
.viewer-page { flex: 1 1 auto; min-height: 0; width: 100%; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.viewer-page img { flex: 1 1 0; min-height: 0; width: 100%; max-width: 920px; height: auto; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55)); }
.viewer-page figcaption { flex: none; max-width: 34em; text-align: center; font-size: 18px; line-height: 1.45; color: var(--on-dark); }
.viewer-controls { flex: none; display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; }
.viewer-count { margin: 0; min-width: 4.5em; text-align: center; font-size: 15px; font-weight: 700; letter-spacing: 0.08em; color: var(--amber); }
.viewer-count:empty { display: none; }
.viewer button { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0 0 4px; border-radius: 50%; border: 1px solid rgba(246, 239, 226, 0.4); background: rgba(20, 35, 25, 0.8); color: #FFFFFF; font-family: var(--serif); font-size: 34px; line-height: 1; cursor: pointer; }
.viewer button:hover { background: var(--red); border-color: var(--red); }
.viewer button:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
/* A hidden arrow keeps its place, so "2 of 4" doesn't move at the first and last page. */
.viewer button[hidden] { display: flex; visibility: hidden; }
.viewer-close { position: absolute; top: 8px; right: 10px; z-index: 1; }
/* A short screen (a phone turned sideways): the arrows beside the page, no caption, so the page gets the height. */
@media (max-height: 500px) {
  .viewer-inner { padding: 8px 76px; }
  .viewer-page figcaption { display: none; }
  .viewer-controls { position: absolute; inset: 0; z-index: 0; justify-content: space-between; padding: 0 12px; pointer-events: none; }
  .viewer-controls button { pointer-events: auto; }
  .viewer-count { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); }
}
/* Windows high contrast: an edge round the page. */
@media (forced-colors: active) { .viewer-page img { filter: none; outline: 1px solid CanvasText; } }

/* A part of the page reached from a link takes the focus quietly (keyboard and screen readers go on from there). */
[tabindex="-1"]:focus { outline: none; }

/* ---------- 19. The $10 gift pop-up ---------- */
/* The pop-up keeps the browser's own position: fixed for a modal dialog. */
.gift-popup { border: 0; padding: 0; max-width: min(560px, calc(100vw - 24px)); width: 100%; max-height: calc(100vh - 24px); overflow-y: auto; color: var(--ink); background: var(--paper); border-radius: 22px; box-shadow: 0 0 0 3px var(--amber), 0 28px 70px rgba(12, 18, 14, 0.55); }
.gift-popup::backdrop { background: rgba(20, 35, 25, 0.66); }
.gift-inner { position: relative; padding: 30px 18px 16px; text-align: center; }
.gift-inner .portrait { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 6px; border: 3px solid var(--amber); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px rgba(217, 154, 43, 0.5); }
.gift-inner h2 { font-size: 28px; margin: 6px 0 10px; text-wrap: balance; }
.gift-inner p { margin: 0 0 14px; font-size: 20px; }
.gift-code { white-space: nowrap; font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 10vw, 44px); letter-spacing: 0.06em; color: var(--red); background: var(--cream); border: 2px dashed var(--red); border-radius: 14px; padding: 10px 12px; margin: 6px 0 14px !important; }
.gift-ends { color: var(--muted); margin: 0 0 14px; }
.gift-ends .cd { margin: 0 0 8px; }
.gift-ends .cd-box { background: var(--cream); box-shadow: none; border: 1px solid var(--line); }
.gift-ends p { margin: 0 !important; font-size: 18px !important; color: var(--muted); }
.gift-inner .buy { width: 100%; min-width: 0; }
.gift-inner .small { font-size: 17px !important; line-height: 1.5; color: var(--muted); margin-top: 14px; }
.gift-inner .link-button { font-size: 19px; color: var(--red); }
.turnstile-box { position: fixed; right: 12px; bottom: 12px; z-index: 50; }

/* ---------- Other pages (thank-you, download, refund, privacy, terms, 404): the same chrome, cream pages ---------- */
.preview-banner { background: #fff4d6; color: #5a4300; text-align: center; font-size: 16px; padding: 8px 12px; border-bottom: 1px solid #ecd9a0; }
main > section:only-child, .page-sales main > section:not([class]) { border-bottom: 0; }
.download { display: block; text-align: center; text-decoration: none; background: var(--red); color: #FFFFFF; font-weight: 700; font-size: 24px; padding: 20px; border-radius: 999px; box-shadow: 0 4px 0 var(--red-edge); margin: 18px 0 8px; }
.download:hover { background: var(--red-deep); }
.file-meta { text-align: center; font-size: 16px; color: var(--muted); margin: 0 0 6px; word-break: break-all; }
.tips { margin: 18px 0; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 6px 0 6px 36px; position: relative; }
.checks li::before { content: "\2713"; content: "\2713" / ""; position: absolute; left: 4px; top: 5px; color: var(--red); font-weight: 700; }
.panel { background: var(--paper); border-radius: 14px; border: 1px solid var(--line); padding: 22px 22px; margin: 22px 0; }
.prose h1 { color: var(--ink); }
.prose h2 { font-size: 26px; margin: 26px 0 6px; text-align: left; }
.prose p { margin: 0 0 12px; }
.legal { background: var(--cream-deep); border-radius: 12px; padding: 18px 20px; font-size: 19px; }
.after { color: var(--muted); margin-top: 22px; }
.center { text-align: center; }

/* Admin (unchanged) */
.wrap.wide { max-width: 1100px; }
.admin h2 { margin-top: 30px; font-size: 26px; text-align: left; }
.admin table { border-collapse: collapse; width: 100%; font-size: 17px; background: var(--white); }
.admin th, .admin td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.admin .kv th { width: 210px; background: var(--cream-deep); }
.table-wrap { overflow-x: auto; }
.admin-inline { display: inline-block; margin: 6px 8px 6px 0; }
.admin-confirm { display: inline-block; margin: 0 10px 0 0; font-size: 17px; }
.admin-form { display: grid; gap: 12px; max-width: 420px; }
.admin input { font: inherit; padding: 10px 12px; border: 2px solid var(--line); border-radius: 10px; min-height: 52px; }
.ok { color: #1d6b33; font-weight: 700; }
.bad { color: #a01c1c; font-weight: 700; }

/* ---------- Tablets and computers ---------- */
@media (min-width: 640px) {
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .chapter-cards { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .samples { grid-template-columns: 1fr 1fr; }
  .page-cards figure { flex-basis: 44%; }
}
@media (min-width: 760px) {
  body { font-size: 21px; }
  h1 { font-size: 54px; }
  h2 { font-size: 44px; }
  section { padding: 80px 0; }
  .buy { display: inline-block; width: auto; min-width: min(420px, 100%); }
  .buttons { justify-items: center; }
  .offer .buttons { justify-items: start; }
  .offer .buy, .price-card .buy { display: block; width: 100%; min-width: 0; }
  .buy-strip .buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; }
  .buy-strip .buy-form { width: auto; }
  .buy-strip .buy { min-width: 340px; }
  .bar-inner { padding: 7px 12px; gap: 10px 18px; }
  .bar-text { flex-direction: row; gap: 4px 14px; }
  .bar-label { font-size: 18px; }
  .timer-bar .cd-box b { font-size: 20px; }
  .timer-bar .cd-box small { font-size: 11px; }
  .topbar .wrap { justify-content: flex-start; padding: 6px 40px; }
  .brand { font-size: 19px; }

  .showcase { padding: 30px 0 76px; }
  .showcase .wrap { padding: 0 40px; }
  .showcase-grid { grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr); align-items: center; gap: 56px; }
  .showcase h1 { font-size: clamp(42px, 4.1vw, 56px); }
  .byline { font-size: 19px; }
  .showcase .lead { font-size: 22px; }
  .price-line .price-now { font-size: 62px; }
  .offer { max-width: 500px; }
  .badge-round { width: 124px; height: 124px; right: -2%; }
  .badge-round b { font-size: 48px; }

  .stats { padding: 46px 0; }
  .stat-grid { grid-template-columns: repeat(6, 1fr); }
  .stat-grid b { font-size: 52px; }

  .pains .wrap { max-width: 900px; }
  .pain-list { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pain-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pains-after { font-size: 32px; }

  .story-grid { grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
  .story-photo { position: sticky; top: 96px; }

  .page-cards { overflow: visible; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin: 0; padding: 26px 0 30px; }
  .page-cards figure { max-width: none; }
  .page-cards figure:nth-child(4n + 1) { transform: rotate(-2deg); }
  .page-cards figure:nth-child(4n + 2) { transform: rotate(1.5deg) translateY(10px); }
  .page-cards figure:nth-child(4n + 3) { transform: rotate(-1deg); }
  .page-cards figure:nth-child(4n + 4) { transform: rotate(2deg) translateY(8px); }

  .chapter-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .chapter-cards > li.wide { grid-column: span 2; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .rule-grid { grid-template-columns: repeat(3, 1fr); }
  .rule-grid li { padding: 86px 22px 24px; text-align: center; }
  .rule-grid li::before { left: 50%; top: 22px; transform: translateX(-50%); }
  .samples { gap: 30px 36px; }
  .samples figcaption { font-size: 17px; }
  .audience-grid li { font-size: 21px; }
  .buy-section { padding: 86px 0; }
  .price-cards { grid-template-columns: 1fr 1fr; gap: 26px; max-width: 920px; margin-left: auto; margin-right: auto; }
  .price-card { padding: 30px 30px 26px; }
  .price-heading { font-size: 44px; }
  .calc { padding: 34px 40px 30px; }
  .calc-question { font-size: 27px; }
  .calc-box { font-size: 30px; }
  .calc-there, .calc-home { font-size: 23px; }
  .calc-keep { font-size: 46px; }
  .proof-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
  .proof-cards li { flex: 0 1 calc((100% - 36px) / 3); padding: 22px 18px 20px; border-left-width: 1px; border-top: 5px solid var(--red); text-align: center; }
  .proof-cards h3 { margin-bottom: 12px; }
  .cd { gap: 8px; }
  .cd-box { min-width: 66px; }
  .cd-box b { font-size: 32px; }
  summary { font-size: 22px; }
  details { padding: 0 24px; }
  .promise { padding: 46px 52px; }
  .promise h2 { font-size: 32px; }
  .finale { padding: 110px 0; }
  .finale h2 { font-size: 54px; }
  .site-footer .wrap { padding: 10px 40px 0; }
  .gift-inner { padding: 30px 36px 16px; }
  .gift-inner h2 { font-size: 32px; }
  .buy-bar.float { left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .buy-bar.float .buy-bar-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 10px 12px 10px 14px; }
  .bar-portrait { width: 54px; height: 54px; }
  .bar-title { flex-direction: column; align-items: flex-start; gap: 2px; }
  .bar-title strong { font-size: 22px; }
  .bar-title span { font-size: 16px; }
  .buy-bar.float .bar-buttons { grid-template-columns: auto auto; gap: 12px; }
  .buy-bar.float .buy.bar-buy { padding: 8px 26px; font-size: 19px; }
  body.has-float-bar { padding-bottom: 110px; }
  html.bar-up { scroll-padding-bottom: 120px; }
  .viewer-inner { padding: 70px 24px 18px; }
  .viewer-close { top: 18px; right: 24px; }
}
@media (min-width: 1600px) {
  body { font-size: 26px; }
  :root { --measure: 880px; }
  h1 { font-size: 64px; }
  .buy { font-size: 26px; }
  .topbar .wrap, .showcase .wrap, .story .wrap, .look .wrap, .chapters .wrap, .features .wrap, .rules .wrap, .set-section .wrap, .stats .wrap { max-width: 1440px; }
  .showcase h1 { font-size: 70px; }
  .pricebox .notice, .countdown { font-size: 26px; }
  .calc { max-width: 900px; }
  .calc-question { font-size: 32px; }
  .calc-note { font-size: 20px; }
  .calc-there, .calc-home { font-size: 26px; }
  .calc-keep { font-size: 54px; }
  .proof-cards h3 { font-size: 23px; }
  .proof-there { font-size: 20px; }
  .proof-home { font-size: 25px; }
  .small-print p { font-size: 19px; }
}
@media (min-width: 1100px) {
  .proof-cards li { flex-basis: calc((100% - 72px) / 5); }
}

/* ---------- The modern pass (Maxim, 30 Nov: "make the whole website feel super modern"): no flat beige or white
   left. The light sections get warm glows and a fine grain over a soft gradient, rounded tops that rise over the band
   above, frosted cards and pill labels; "Made for easy reading" turns deep green, so light and dark take turns down the
   page; headings grow, their second voice in a red-to-amber gradient; buttons get depth. Nothing moves on its own near a
   Buy button, type stays big and contrast strong. ---------- */
:root {
  /* A fine grain, so no surface is ever flat (an SVG noise tile, about 1 KB). */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0.075 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.96 0 0 0 0 0.9 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* Light grounds: a warm glow in one corner, a faint red one in the other, over cream that deepens downwards. */
  --ground-warm: radial-gradient(70% 55% at 0% 0%, rgba(242, 188, 94, 0.34) 0%, rgba(242, 188, 94, 0) 70%), radial-gradient(60% 50% at 100% 100%, rgba(155, 42, 30, 0.15) 0%, rgba(155, 42, 30, 0) 70%), var(--grain), linear-gradient(180deg, #FCF8F0 0%, #F3EADB 100%);
  --ground-jade: radial-gradient(65% 55% at 100% 0%, rgba(47, 74, 58, 0.22) 0%, rgba(47, 74, 58, 0) 70%), radial-gradient(60% 50% at 0% 100%, rgba(242, 188, 94, 0.3) 0%, rgba(242, 188, 94, 0) 70%), var(--grain), linear-gradient(180deg, #F8F4EA 0%, #EEE6D6 100%);
  --ground-dark: radial-gradient(70% 60% at 85% 0%, rgba(242, 188, 94, 0.14) 0%, rgba(242, 188, 94, 0) 65%), radial-gradient(60% 55% at 0% 100%, rgba(155, 42, 30, 0.22) 0%, rgba(155, 42, 30, 0) 65%), var(--grain-light), var(--lattice), linear-gradient(180deg, #1B3426 0%, var(--jade-deep) 100%);
  --card: rgba(255, 253, 248, 0.82);
  --card-edge: rgba(255, 255, 255, 0.9);
  --lift: 0 1px 0 var(--card-edge) inset, 0 24px 48px -26px rgba(29, 27, 24, 0.42), 0 4px 12px -6px rgba(29, 27, 24, 0.12);
  --accent-ink: linear-gradient(100deg, #9B2A1E 0%, #B5481F 100%); /* its lightest end stays above 3:1 */
  --radius-slab: 34px;
}

/* Pill labels instead of ruled lines, a small diamond inside. */
.eyebrow { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 16px; padding: 7px 15px 7px 13px; gap: 9px; border-radius: 999px; background: rgba(155, 42, 30, 0.08); border: 1px solid rgba(155, 42, 30, 0.22); font-size: 15px; letter-spacing: 0.14em; line-height: 1.2; }
.eyebrow::before { width: 8px; height: 12px; opacity: 1; background: var(--diamond) center / 8px 12px no-repeat; }
.eyebrow::after { display: none; }
.story-text .eyebrow { margin-left: 0; }
:is(.chapters, .features, .audience, .stats, .finale, .pricebox-head, .story) .eyebrow { color: var(--amber); background: rgba(242, 188, 94, 0.1); border-color: rgba(242, 188, 94, 0.36); }
:is(.chapters, .features, .audience, .stats, .finale, .pricebox-head, .story) .eyebrow::before { background-image: var(--diamond-amber); }
/* On the red band amber is too faint for a small label (3.3 to 3.9:1): white, 5.7:1 and up. */
.audience .eyebrow { color: #FFFFFF; }

/* Headings: bigger, tighter, the second voice in a red-to-amber ink on the light grounds. */
h2 { letter-spacing: -0.012em; line-height: 1.12; }
.accent { background: var(--accent-ink); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: 0.08em; }
:is(.showcase, .chapters, .features, .audience, .finale, .pricebox-head, .stats, .story) .accent { background: none; -webkit-text-fill-color: currentColor; padding-right: 0; }

/* Buttons with depth. */
.buy { background: linear-gradient(180deg, #B23526 0%, var(--red) 55%, #86231A 100%); }
.buy:hover { background: linear-gradient(180deg, #A02D21 0%, var(--red-deep) 100%); }
.showcase .buy, .finale .buy { background: linear-gradient(180deg, #F9D691 0%, var(--amber) 58%, #E8A846 100%); }
.showcase .buy:hover, .finale .buy:hover { background: linear-gradient(180deg, #FBDFA6 0%, #F5C673 100%); }

/* The light grounds: glows and grain, never flat. */
.pains, .rules, .faq-section, .savings, .buy-strip-section { background: var(--ground-warm); }
.look, .set-section, .promise-section, .honest { background: var(--ground-jade); }

/* A band rises over the one before it on rounded corners, so the page reads as stacked panels (never over the thin
   red strip of names, which it would cover). */
:is(.stats, .chapters, .buy-section, .features, .audience, .story) + :is(.pains, .look, .rules, .set-section, .faq-section, .savings, .buy-strip-section, .honest),
:is(.pains, .look, .rules, .set-section, .faq-section, .savings, .buy-strip-section, .honest, .promise-section) + :is(.chapters, .features, .audience, .buy-section, .finale, .story) { position: relative; z-index: 1; margin-top: calc(-1 * var(--radius-slab)); border-radius: var(--radius-slab) var(--radius-slab) 0 0; padding-top: calc(56px + var(--radius-slab) * 0.4); }

/* Frosted cards on the light grounds. */
.pain-list li, .rule-grid li, details, .calc, .proof-cards li, .panel { background: var(--card); box-shadow: var(--lift); border-color: rgba(220, 209, 189, 0.75); }
.proof-cards li { border-left-color: var(--red); }
.pain-list li { border-left: 5px solid var(--red); border-radius: 18px; }
.pain-list li::before { background: linear-gradient(145deg, rgba(155, 42, 30, 0.16), rgba(155, 42, 30, 0.06)); }
.pains-after { font-size: 28px; }

/* Henry's story on deep green (light and dark take turns down the page): cream words, amber accents, a warm light
   behind his photo, a big quotation mark on the pull quote. */
.story { isolation: isolate; overflow-x: clip; background: var(--ground-dark); color: var(--on-dark); } /* the glow never reaches past the screen */
.story h2, .story h3, .story-text p { color: var(--on-dark); }
.story .accent { color: var(--amber); }
@media (max-width: 759px) { .story-photo { position: relative; } } /* on computers it is sticky beside the story */
.story-photo::before { content: ""; position: absolute; z-index: -1; inset: -10% -16% 0; background: radial-gradient(closest-side, rgba(242, 188, 94, 0.42), rgba(242, 188, 94, 0)); }
.story-photo .arch { border-color: var(--jade-deep); box-shadow: 0 0 0 2px var(--amber-deep), 0 34px 70px -30px rgba(0, 0, 0, 0.8); }
.story-photo figcaption { color: var(--on-dark-muted); }
.pull { position: relative; padding: 14px 18px 14px 26px; border-left: 0; background: linear-gradient(90deg, rgba(242, 188, 94, 0.14), rgba(242, 188, 94, 0)); border-radius: 0 14px 14px 0; box-shadow: inset 4px 0 0 var(--amber); }
.pull p { color: var(--amber); }
.pull::before { content: "\201C"; content: "\201C" / ""; position: absolute; right: 12px; top: -26px; font-family: var(--serif); font-weight: 600; font-size: 110px; line-height: 1; color: rgba(242, 188, 94, 0.22); }
.signature { color: var(--amber); }
.story a:not(.buy) { color: var(--amber); }
.story a:focus-visible { outline-color: var(--amber); }
.story-cta .buy { background: linear-gradient(180deg, #F9D691 0%, var(--amber) 58%, #E8A846 100%); color: var(--ink); box-shadow: 0 4px 0 var(--amber-deep), 0 16px 30px -14px rgba(0, 0, 0, 0.55); }
.story-cta .buy:hover { background: linear-gradient(180deg, #FBDFA6 0%, #F5C673 100%); }

/* Look inside: a mark that says a page opens larger. */
.page-cards .enlarge, .samples .enlarge { position: relative; }
.page-cards .enlarge::after, .samples .enlarge::after { content: ""; position: absolute; right: 10px; bottom: 10px; width: 42px; height: 42px; border-radius: 50%; background: rgba(20, 35, 25, 0.82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6EFE2' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / 22px 22px no-repeat; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.5); }

/* "Made for easy reading" on deep green: frosted tiles, the icons in amber. */
.features { background: var(--ground-dark); color: var(--on-dark); }
.features h2 { color: var(--on-dark); }
.features .accent { color: var(--amber); }
.features .intro { color: var(--on-dark-muted); }
.feature-grid li { padding: 28px 20px 26px; border-radius: 22px; background: rgba(246, 239, 226, 0.06); border: 1px solid rgba(242, 188, 94, 0.24); box-shadow: 0 30px 60px -38px rgba(0, 0, 0, 0.7); }
.feature-grid .icon { background: linear-gradient(145deg, #F9D691 0%, var(--amber-deep) 100%); color: var(--jade-deep); box-shadow: 0 14px 28px -12px rgba(242, 188, 94, 0.55); }
.feature-grid h3 { color: var(--on-dark); }
.feature-grid p { color: var(--on-dark-muted); }

/* What the kitchen knows: frosted cards, the numbers in green-and-amber badges. */
.rule-grid li { border-radius: 20px; }
.rule-grid li::before { color: var(--amber); background: linear-gradient(145deg, var(--jade-mid) 0%, var(--jade-deep) 100%); box-shadow: 0 0 0 3px rgba(255, 253, 248, 0.9), 0 10px 20px -8px rgba(20, 35, 25, 0.6); }

/* Who it is for, on takeout red: cream words, frosted chips. */
.audience { background: radial-gradient(70% 60% at 100% 0%, rgba(242, 188, 94, 0.22) 0%, rgba(242, 188, 94, 0) 65%), var(--grain-light), linear-gradient(160deg, #A02E21 0%, var(--red-deep) 55%, #62170E 100%); color: var(--on-dark); }
.audience h2 { color: #FFFFFF; }
.audience .accent { color: var(--amber); }
.audience .intro { color: rgba(255, 255, 255, 0.86); }
.audience-grid li { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); color: #FFFFFF; border-radius: 18px; box-shadow: 0 20px 40px -30px rgba(0, 0, 0, 0.6); }
.audience-grid li::before { background-image: var(--diamond-amber); }

/* The numbers glow amber. */
.stat-grid b { background: linear-gradient(180deg, #FFE6AE 0%, var(--amber) 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* The guarantee in a frame of amber and red. */
.promise { border: 2px solid transparent; background: linear-gradient(var(--paper), var(--paper)) padding-box, linear-gradient(135deg, var(--amber) 0%, var(--red) 100%) border-box; box-shadow: var(--lift); }
.shield { width: 64px; height: 64px; padding: 12px; border-radius: 50%; color: var(--amber); background: linear-gradient(145deg, var(--jade-mid), var(--jade-deep)); box-shadow: 0 12px 24px -10px rgba(20, 35, 25, 0.6); }

/* The questions: frosted cards, the sign turns red when open. */
details { border-radius: 18px; }
details[open] summary::after { background: var(--red); color: #FFFFFF; }

/* The countdown bar: a lit green strip with a fine amber edge, the label in Henry's italic, cream tiles. */
.timer-bar { background: linear-gradient(90deg, #0E1B12 0%, var(--jade-deep) 22%, #1F3A2A 50%, var(--jade-deep) 78%, #0E1B12 100%) var(--jade-deep); border-bottom: 0; box-shadow: 0 10px 24px -16px rgba(12, 18, 14, 0.8); }
.timer-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(242, 188, 94, 0) 0%, rgba(242, 188, 94, 0.85) 30%, rgba(242, 188, 94, 0.85) 70%, rgba(242, 188, 94, 0) 100%); }
.bar-label { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 16px; letter-spacing: 0.01em; }
.bar-label strong { font-family: var(--sans); font-style: normal; font-weight: 700; }
.timer-bar .cd { gap: 5px; }
.timer-bar .cd-box { border: 0; border-radius: 8px; background: linear-gradient(180deg, #FFFFFF 0%, var(--cream) 100%); box-shadow: inset 0 -2px 0 rgba(29, 27, 24, 0.12), 0 6px 12px -6px rgba(0, 0, 0, 0.7); }
.timer-bar .cd-box b { color: var(--red); }
.timer-bar .cd-box small { color: var(--muted); }
.bar-button { background: linear-gradient(180deg, #F9D691 0%, var(--amber) 58%, #E8A846 100%); box-shadow: 0 3px 0 var(--amber-deep), 0 12px 22px -12px rgba(242, 188, 94, 0.8); }

/* The set: the framed photo in amber and red with a warm light behind it; the card pages lift like the book's. */
.set-section { isolation: isolate; overflow-x: clip; }
.photo-frame { position: relative; border: 2px solid transparent; background: linear-gradient(var(--paper), var(--paper)) padding-box, linear-gradient(135deg, var(--amber) 0%, var(--red) 100%) border-box; border-radius: 22px; box-shadow: var(--lift); }
.photo-frame::before { content: ""; position: absolute; z-index: -1; inset: -16% -12%; background: radial-gradient(closest-side, rgba(242, 188, 94, 0.38), rgba(242, 188, 94, 0)); pointer-events: none; }
.photo-frame img { border-radius: 14px; }
.samples .enlarge { border-radius: 10px; box-shadow: var(--lift); }

/* Honest about what's American: a floating card, not ruled lines. */
.honest .wrap { border: 0; max-width: 860px; padding: 30px 26px; background: var(--card); border-radius: 22px; box-shadow: var(--lift); }
.honest { padding: 46px 0 calc(46px + var(--radius-slab)); }

/* The bands a rounded band rises over keep their content clear of it (as .honest above). */
.stats { padding-bottom: calc(40px + var(--radius-slab)); }
.buy-strip-section { padding-bottom: calc(30px + var(--radius-slab)); }

/* The buy strip between the sections: a frosted band. */
.buy-strip-section .buy-strip { max-width: 900px; margin: 0 auto; padding: 22px 18px; background: var(--card); border-radius: 24px; box-shadow: var(--lift); }

/* The questions open with a short glide where the browser can animate to the answer's height, and the sign turns, only
   when motion is allowed: the reduced-motion rule at the end can't reach these pseudo-elements. The answer's space
   below is padding, so the glide ends where it stops (a margin would jump in at the end). */
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    details::details-content { height: 0; overflow: clip; transition: height 320ms var(--ease), content-visibility 320ms allow-discrete; }
    details[open]::details-content { height: auto; }
    details p { margin: 0; padding-bottom: 18px; }
  }
  summary { transition: color 200ms ease; }
  summary::after { transition: background-color 200ms ease, color 200ms ease, transform 300ms var(--ease); }
}
details[open] summary::after { transform: rotate(180deg); }

/* The new book's strip of famous dishes (Maxim, 30 Nov): cream pills on the red band, like a delivery app's menu, each
   restaurant's name in bold; "Inspired by" pinned at the left edge over a fade. The band moves as before. */
.ribbon { position: relative; }
.ribbon-lead { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; margin: 0; display: flex; align-items: center; padding: 0 30px 0 16px; background: linear-gradient(90deg, var(--red-deep) 0%, var(--red-deep) 72%, rgba(126, 33, 23, 0) 100%); color: var(--amber); font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.ribbon-lead + .ribbon-track { margin-left: 150px; }
.ribbon.pills ul { padding: 12px 0; }
.ribbon.pills li { margin-left: 12px; padding: 7px 18px 8px; border-radius: 999px; background: var(--cream); color: var(--ink); font-family: var(--sans); font-style: normal; font-size: 20px; line-height: 1.25; box-shadow: 0 2px 0 rgba(100, 24, 15, 0.45); }
.ribbon.pills li b { margin-right: 7px; color: var(--red); font-weight: 700; }
.ribbon.pills li::after { display: none; }

@media (min-width: 760px) {
  :root { --radius-slab: 48px; }
  .ribbon.pills li { font-size: 21px; }
  .proof-cards li { border-left-color: rgba(220, 209, 189, 0.75); border-top-color: var(--red); }
  h2 { font-size: 50px; }
  .bar-label { font-size: 20px; }
  .pains-after { font-size: 34px; }
  .feature-grid li { padding: 34px 24px 30px; }
}
@media (min-width: 1600px) {
  h2 { font-size: 58px; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .pain-list li, .rule-grid li, .feature-grid li, .audience-grid li, .proof-cards li { transition: transform 450ms var(--ease), box-shadow 450ms ease; }
  .pain-list li:hover, .rule-grid li:hover, .proof-cards li:hover { transform: translate3d(0, -4px, 0); box-shadow: 0 1px 0 var(--card-edge) inset, 0 34px 60px -30px rgba(29, 27, 24, 0.5); }
  .feature-grid li:hover, .audience-grid li:hover { transform: translate3d(0, -4px, 0); }
}

/* ---------- Calm motion: the cover floats, steam drifts, the ribbon drifts sideways, sections fade in once.
   Nothing moves near the buy buttons and nothing flashes. All of it stops when the device asks for reduced motion. ---------- */
@keyframes henryFloat { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, var(--rise, -6px), 0); } }
@keyframes henryRise220 { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -220px, 0); } }
@keyframes henryRise360 { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -360px, 0); } }
@keyframes henrySway { 0%, 100% { transform: translate3d(-12px, 0, 0); } 50% { transform: translate3d(12px, 0, 0); } }
@keyframes henryRibbon { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-covers .float { animation: henryFloat var(--dur, 7s) ease-in-out var(--delay, 0s) infinite; will-change: transform; }
  .hero-covers .dust-a { animation: henryRise220 46s linear infinite; will-change: transform; }
  .hero-covers .dust-sway { animation: henrySway 15s ease-in-out infinite; will-change: transform; }
  .hero-covers .dust-b { animation: henryRise360 80s linear infinite; will-change: transform; }
  .hero.is-offscreen .float, .hero.is-offscreen .dust-a, .hero.is-offscreen .dust-sway, .hero.is-offscreen .dust-b { animation-play-state: paused; }
  .ribbon-track { animation: henryRibbon 70s linear infinite; will-change: transform; }
  /* The new strip's band (38 dishes) is longer: a longer loop keeps the first strip's speed (46 px a second). */
  .ribbon.pills .ribbon-track { animation-duration: 266s; }
  @media (min-width: 760px) { .ribbon.pills .ribbon-track { animation-duration: 277s; } }
  html.reveal-on .reveal:not(.is-in) { opacity: 0; transform: translate3d(0, 18px, 0); }
  .reveal { transition: opacity 900ms ease, transform 900ms var(--ease); }
  @media (hover: hover) and (pointer: fine) {
    .hero-covers .tilt { transition: transform 450ms var(--ease), box-shadow 450ms ease; }
    .hero-covers .float:hover .tilt { transform: rotate(var(--rot, 0deg)) translateY(-8px); box-shadow: 0 34px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(246, 239, 226, 0.35); }
    .page-cards .enlarge, .price-card, .chapter-cards > li { transition: transform 450ms var(--ease), box-shadow 450ms ease; }
    .page-cards .enlarge:hover { transform: translate3d(0, -8px, 0); box-shadow: 0 34px 50px -22px rgba(29, 27, 24, 0.6); }
    .price-card:hover { transform: translate3d(0, -4px, 0); }
    .chapter-cards > li:hover { transform: translate3d(0, -3px, 0); }
  }
}
@media print { .reveal { opacity: 1 !important; transform: none !important; } }
/* Printed without background graphics, words drawn in a gradient would come out blank: their own colour instead. */
@media print { .accent, .stat-grid b { background: none; -webkit-text-fill-color: currentColor; } }
/* Windows high contrast: the bands take the theme's colours (a picture layer, the grain, would keep their gradients),
   the countdown bar keeps an edge and the strip's label stays solid. */
@media (forced-colors: active) {
  :root { --grain: none; --grain-light: none; }
  .timer-bar { border-bottom: 1px solid CanvasText; }
  .ribbon-lead { background: Canvas; }
}
/* A browser without overflow-x: clip (Safari before 16) would let the photo glows push the page sideways: no glows. */
@supports not (overflow-x: clip) { .story-photo::before, .photo-frame::before { display: none; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
