/* Daily Remedy Kitchen sales page */
:root {
  --cream: #F7F1E6;
  --paper: #FFFDF8;
  --forest: #1F3B2C;
  --forest-2: #2E5A40;
  --clay: #9A5532;
  --clay-soft: #F1E1D3;
  --ink: #2B2A26;
  --muted: #5F5B52;
  --line: #E4DACA;
  --radius: 14px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); color: var(--forest); margin: 0; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 6vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--forest); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -9999px; top: 8px; background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- top strip + header ---------- */
.strip {
  background: var(--forest); color: #F3EAD9; text-align: center;
  font-size: .78rem; letter-spacing: .02em; padding: 8px 16px; font-weight: 500;
}
.site-header { border-bottom: 1px solid var(--line); background: var(--cream); }
.site-header .wrap { display: flex; align-items: center; justify-content: center; height: 56px; }
.brand {
  font-family: var(--serif); font-weight: 800; font-size: 1.3rem; color: var(--forest);
  text-decoration: none; letter-spacing: -.01em;
}
.brand em { color: var(--clay); font-weight: 600; }

.eyebrow {
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  color: var(--clay); margin-bottom: 10px;
}

/* ---------- hero ---------- */
.hero { display: grid; gap: 14px; padding-top: 20px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(2rem, 9vw, 3.3rem); font-weight: 800; letter-spacing: -.015em; }
.hero h1 em { color: var(--clay); font-weight: 600; }
.lede { margin-top: 14px; color: var(--muted); font-size: 1.02rem; }

/* book mockups */
.hero-visual { min-width: 0; }
.stack {
  position: relative; height: clamp(250px, 70vw, 460px);
  display: flex; justify-content: center; align-items: center;
  overflow: hidden; padding: 10px 0;
}
.book {
  position: absolute; margin: 0; width: min(46%, 260px); aspect-ratio: 3 / 4;
  border-radius: 4px 10px 10px 4px; overflow: hidden; background: var(--forest);
  box-shadow: 0 18px 36px -12px rgba(31, 59, 44, .45), 0 4px 10px rgba(0,0,0,.12);
  transition: transform .45s ease, opacity .45s ease;
}
.book img { width: 100%; height: 100%; object-fit: cover; }
.book::before { /* spine highlight */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; z-index: 2;
  background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(255,255,255,.12) 60%, transparent);
}
.book::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,38,28,0) 35%, rgba(20,38,28,.55) 62%, rgba(20,38,28,.94) 100%);
}
.book-txt {
  position: absolute; left: 9%; right: 8%; bottom: 8%; z-index: 3; color: #FFF8EC;
  display: flex; flex-direction: column; gap: 4px;
}
.book-txt .k { font-size: clamp(.42rem, 1.6vw, .58rem); letter-spacing: .18em; text-transform: uppercase; color: #E8D9BF; font-weight: 600; }
.book-txt .t { font-family: var(--serif); font-weight: 800; font-size: clamp(1.15rem, 5.2vw, 1.75rem); line-height: 1.02; }
.book-txt .t i { color: #E9B88E; font-weight: 500; }
.book-txt .s { font-size: clamp(.5rem, 1.9vw, .7rem); color: #F1E7D6; }
.book-b1 .book-txt .t, .book-b2 .book-txt .t { font-size: clamp(.95rem, 4.2vw, 1.4rem); }

.book-main { z-index: 3; transform: translateX(0); }
.book-b1 { z-index: 2; transform: translateX(-34%) rotate(-7deg) scale(.86); }
.book-b2 { z-index: 1; transform: translateX(34%) rotate(7deg) scale(.86); }
/* bundle 1: only the main book; bundle 2: + Gut Reset; bundle 3: all three */
.stack[data-bundle="1"] .book-b1,
.stack[data-bundle="1"] .book-b2,
.stack[data-bundle="2"] .book-b2 { opacity: 0; transform: translateX(0) scale(.8); }
.stack[data-bundle="2"] .book-main { transform: translateX(14%); }
.stack[data-bundle="2"] .book-b1 { transform: translateX(-24%) rotate(-6deg) scale(.9); }
.stack-note { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 0; font-weight: 500; }

/* ---------- buy box ---------- */
.buybox {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 14px; box-shadow: 0 14px 40px -24px rgba(31, 59, 44, .5); min-width: 0;
}
.timer {
  display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap;
  background: linear-gradient(90deg, #1F3B2C 0%, #2E5A40 55%, #3F7350 100%);
  color: #fff; border-radius: 10px; padding: 11px 12px; font-weight: 600; font-size: .95rem;
  text-align: center;
}
.clock { flex: none; }
.clock-time { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.1rem; letter-spacing: .03em; min-width: 3.1em; text-align: left; }

.bundles { border: 0; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.bundle {
  position: relative; display: grid; grid-template-columns: 22px 1fr auto; column-gap: 12px; align-items: center;
  border: 2px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 16px 14px 14px; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s;
}
.bundle:hover { border-color: #BFCBBE; }
.bundle input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.bundle.is-selected, .bundle:has(input:checked) {
  border-color: var(--forest); background: #FBFCF8; box-shadow: 0 0 0 3px rgba(31, 59, 44, .12);
}
.bundle:has(input:focus-visible) { outline: 3px solid var(--clay); outline-offset: 2px; }
.radio {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid #9A9586; background: #fff;
  display: grid; place-items: center;
}
.radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--forest); transform: scale(0); transition: transform .15s; }
.bundle.is-selected .radio, .bundle:has(input:checked) .radio { border-color: var(--forest); }
.bundle.is-selected .radio::after, .bundle:has(input:checked) .radio::after { transform: scale(1); }
.b-main { display: flex; flex-direction: column; min-width: 0; }
.b-title { font-weight: 700; color: var(--forest); font-size: .98rem; line-height: 1.25; }
.b-meta { font-size: .83rem; color: var(--muted); margin-top: 2px; }
.b-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.now { font-weight: 800; font-size: 1.2rem; color: var(--forest); }
.was { font-size: .85rem; color: var(--muted); }
.tag {
  position: absolute; top: -11px; left: 14px; background: var(--forest); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.tag-clay { background: var(--clay); }
.bonus-rows { grid-column: 1 / -1; display: grid; gap: 6px; margin-top: 12px; }
.bonus {
  display: block; background: var(--clay-soft); border-radius: 8px; padding: 8px 10px;
  font-size: .82rem; color: #4A2A18; line-height: 1.35;
}
.free {
  display: inline-block; background: var(--clay); color: #fff; font-weight: 800; font-size: .66rem;
  letter-spacing: .08em; border-radius: 4px; padding: 2px 6px; margin-right: 6px; vertical-align: 1px;
}

.cta {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-top: 16px; min-height: 58px; padding: 14px 18px; border-radius: 12px;
  background: var(--clay); color: #fff; text-decoration: none; text-align: center;
  font-weight: 700; font-size: 1.12rem; letter-spacing: .01em;
  box-shadow: 0 10px 22px -10px rgba(154, 85, 50, .8);
  transition: transform .15s, background .2s;
}
.cta:hover { background: #87482A; }
.cta:active { transform: translateY(1px); }
.cta-price { background: rgba(255,255,255,.18); border-radius: 8px; padding: 2px 9px; font-size: 1rem; }
.assure {
  list-style: none; margin: 14px 0 2px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 16px; font-size: .78rem; color: var(--muted); font-weight: 500;
}
.assure li { display: flex; align-items: center; gap: 5px; }
.assure svg { width: 16px; height: 16px; color: var(--forest); flex: none; }
.starter { margin: 14px 0 2px; padding-top: 12px; border-top: 1px dashed var(--line); text-align: center; font-size: .82rem; line-height: 1.4; }
.starter-link { color: var(--muted); text-decoration: underline; text-decoration-color: #C9BFAE; text-underline-offset: 3px; overflow-wrap: anywhere; }
.starter-link:hover { color: var(--forest); text-decoration-color: currentColor; }

/* ---------- sections ---------- */
.section { padding: 52px 0; }
.section-alt { background: #EFE6D6; }
.section-lede { color: var(--muted); margin-top: 10px; max-width: 640px; }
.fine { font-size: .8rem; color: var(--muted); margin-top: 10px; }

/* collections */
.collections { display: grid; gap: 16px; margin-top: 28px; }
.col-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.col-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #E6DCC9; }
.col-body { padding: 16px 18px 18px; }
.col-num { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); font-weight: 700; margin-bottom: 4px; }
.col-card h3, .bonus-card h3 { font-size: 1.3rem; }
.col-card ul, .bonus-card ul { margin: 10px 0 0; padding: 0; list-style: none; }
.col-card li, .bonus-card li { position: relative; padding-left: 18px; font-size: .93rem; margin: 4px 0; }
.col-card li::before, .bonus-card li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: #8FAE8B;
}
.more { font-size: .85rem; color: var(--muted); margin-top: 6px; font-weight: 600; }

.sub-h { margin-top: 40px; font-size: 1.35rem; }
.sub-h span { font-family: var(--sans); font-size: .85rem; color: var(--muted); font-weight: 500; }
.bonus-books { display: grid; gap: 16px; margin-top: 16px; }
.bonus-card {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
}
.bonus-card img { width: 96px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px 7px 7px 3px; box-shadow: 0 8px 16px -8px rgba(0,0,0,.35); background: #E6DCC9; }
.bonus-card > div { min-width: 0; }
.bonus-desc { font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* gallery */
.gallery {
  display: flex; align-items: flex-start; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 24px 16px 14px; margin-top: 4px; scroll-padding: 0 16px;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.gallery:focus-visible { outline-offset: -3px; }
.page-card {
  flex: 0 0 78%; max-width: 300px; scroll-snap-align: start;
  background: var(--paper); border-radius: 6px; overflow: hidden;
  box-shadow: 0 12px 28px -16px rgba(31, 59, 44, .55), 0 1px 0 var(--line);
  display: flex; flex-direction: column;
}
.pc-photo { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #DCE5D6, #EFE3CF); }
.pc-photo img { width: 100%; height: 100%; object-fit: cover; }
.pc-photo.noimg { background: linear-gradient(135deg, #2E5A40, #1F3B2C); }
.pc-body { padding: 14px 16px 18px; }
.pc-kicker { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); font-weight: 700; }
.page-card h3 { font-size: 1.12rem; margin-top: 4px; }
.pc-meta { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.pc-nut { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pc-nut span { font-size: .74rem; font-weight: 600; background: #EEF2EA; color: var(--forest); border-radius: 999px; padding: 3px 9px; }
.page-plan { background: var(--forest); }
.page-plan .pc-body { padding: 20px 18px; }
.page-plan .pc-kicker { color: #E9B88E; }
.page-plan h3 { color: #FFF8EC; }
.page-plan .pc-meta { color: #D9E2D3; margin-top: 12px; }
.plan { margin: 14px 0 0; display: grid; gap: 8px; }
.plan div { display: grid; grid-template-columns: 76px 1fr; gap: 8px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 8px; }
.plan dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: #E9B88E; font-weight: 700; padding-top: 2px; }
.plan dd { margin: 0; font-size: .86rem; color: #F3EEE3; }

/* features */
.features { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.features li {
  display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
}
.f-icon { width: 48px; height: 48px; border-radius: 12px; background: #E5ECE1; color: var(--forest); display: grid; place-items: center; }
.f-icon svg { width: 24px; height: 24px; }
.features h3 { font-size: 1.08rem; }
.features p { font-size: .92rem; color: var(--muted); margin-top: 4px; }

/* faq */
.faq { margin-top: 24px; display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; position: relative;
  font-weight: 600; color: var(--forest); font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--clay); border-bottom: 2px solid var(--clay); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:focus-visible { outline-offset: -3px; border-radius: 12px; }
.ans { padding: 0 18px 18px; color: var(--muted); font-size: .95rem; }

/* final cta */
.final { background: var(--forest); color: #EDE5D6; text-align: center; padding: 56px 0; }
.final h2 { color: #FFF8EC; }
.final p { margin-top: 12px; }
.cta-light { display: inline-flex; margin-top: 22px; min-width: 240px; }

/* footer */
.site-footer { background: #17301F; color: #CFD7CB; padding: 36px 0 110px; font-size: .82rem; }
.brand-foot { color: #FFF8EC; font-size: 1.15rem; }
.brand-foot em { color: #E9B88E; }
.disclaimer { margin-top: 14px; line-height: 1.6; }
.disclaimer strong { color: #fff; }
.copy { margin-top: 14px; color: #A9B6A6; }

/* mobile sticky buy bar */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 248, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -12px rgba(0,0,0,.25);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-bar.show { transform: translateY(0); }
.sb-info { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
.sb-name { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-price { font-weight: 800; color: var(--forest); font-size: 1.1rem; }
.cta-sm { margin: 0; min-height: 48px; padding: 10px 16px; font-size: .98rem; flex: none; }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  .collections { grid-template-columns: 1fr 1fr; }
  .bonus-books { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .page-card { flex-basis: 280px; }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-areas: "copy box" "visual box";
    column-gap: 48px; row-gap: 10px; align-items: start; padding-top: 44px; padding-bottom: 64px;
  }
  .hero-copy { grid-area: copy; }
  .hero-visual { grid-area: visual; }
  .buybox { grid-area: box; position: sticky; top: 20px; padding: 18px; }
  .stack { height: 440px; }
  .book { width: 250px; }
  .collections { grid-template-columns: repeat(3, 1fr); }
  .gallery { max-width: 1120px; margin-left: auto; margin-right: auto; }
  .sticky-bar { display: none; }
  .site-footer { padding-bottom: 40px; }
}
