/* Healthy with Fox — built from the Figma file "Healthy with Fox" (Landing — Desktop, Thank you — Desktop). */

:root {
  --bg: #fff9f6;
  --pink: #bf2e7b;
  --pink-soft: #fbe4ee;
  --plum: #49152f;
  --plum-2: #5b2943;
  --ink: #34252e;
  --muted: #786b73;
  --line: #eedfe6;
  --peach: #ffebd2;
  --mint: #e7f5d6;
  --lilac: #f4e9ef;
  --stone: #f3eff1;
  --green: #387819;
  --orange: #a55008;
  --on-plum: #efcdd9;
  --footer: #2d1a24;
  --footer-text: #e6d5de;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Lora", Georgia, serif;
  --gutter: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
.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; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(1216px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(1132px + 2 * var(--gutter)); }
.wrap--faq { max-width: calc(876px + 2 * var(--gutter)); }

.title-xl { font-weight: 800; font-size: 56px; line-height: 1.15; color: var(--plum); }
.title-l { font-weight: 800; font-size: 38px; line-height: 1.15; color: var(--plum); }
.center { text-align: center; }
.eyebrow { font-weight: 700; font-size: 13px; color: var(--plum); }
.eyebrow--pink { color: var(--pink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 58px; padding: 0 32px; border: 0; border-radius: 100px;
  background: var(--pink); color: #fff; font: 700 16px/1.5 var(--font);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: #a8246a; }
.btn:active { transform: translateY(1px); }
.btn--sm { height: 44px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--white { background: #fff; color: var(--pink); }
.btn--white:hover { background: #fdf0f6; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 44px; object-fit: contain; }
.brand span { font-weight: 800; font-size: 19px; color: var(--plum); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--pink); }

/* Hero */
.hero { background: var(--pink-soft); }
.hero .wrap { display: flex; align-items: center; gap: 40px; padding-top: 80px; padding-bottom: 80px; }
.hero__copy { flex: 0 1 560px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.badge { background: var(--plum); color: #fff; border-radius: 40px; padding: 8px 16px; font-weight: 700; font-size: 13px; }
.quote-line { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--pink); }
.hero__lead { font-size: 17px; }
.purchase { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.purchase__was { font-size: 15px; color: var(--muted); text-decoration: line-through; }
.purchase__per { font-weight: 700; font-size: 14px; color: var(--plum); }
.small-note { font-size: 13px; color: var(--muted); }
.hero__art { flex: 0 1 620px; margin-left: auto; }
.hero__art img { width: 100%; }

/* At a glance */
.glance { padding: 48px 0; }
.glance__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-hl { border-radius: 24px; padding: 28px; min-height: 216px; display: flex; flex-direction: column; gap: 12px; }
.card-hl__k { font-weight: 700; font-size: 12px; color: var(--plum); }
.card-hl__t { font-weight: 800; font-size: 22px; line-height: 1.2; }
.card-hl__d { font-size: 15px; color: var(--muted); }
.bg-pink { background: var(--pink-soft); }
.bg-peach { background: var(--peach); }
.bg-mint { background: var(--mint); }
.bg-lilac { background: var(--lilac); }

/* Value and price */
.value { padding: 80px 0; }
.value__box {
  background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 56px;
  display: flex; gap: 64px; align-items: flex-start;
}
.value__benefits { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.value__benefits h2 { font-weight: 800; font-size: 34px; line-height: 1.15; color: var(--plum); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; }
.ticks img { width: 22px; height: 22px; flex: none; }
.price-card { flex: 0 0 516px; background: var(--pink-soft); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price__now { font-weight: 800; font-size: 60px; line-height: 1.1; color: var(--plum); }
.price__was { font-size: 20px; color: var(--muted); text-decoration: line-through; }
.pill { background: var(--pink); color: #fff; border-radius: 30px; padding: 5px 12px; font-weight: 700; font-size: 12px; align-self: center; }

/* Author promise */
.promise { background: var(--plum); }
.promise .wrap { display: flex; gap: 64px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.promise__copy { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.promise__copy h2 { font-weight: 800; font-size: 40px; line-height: 1.15; color: #fff; }
.promise__copy p { font-size: 18px; color: var(--on-plum); }
.promise__quote { flex: 1; margin: 0; background: var(--plum-2); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.promise__quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.4; color: #fff; }
.author { display: flex; gap: 14px; align-items: center; }
.author img { width: 39px; height: 47px; object-fit: contain; }
.author b { display: block; font-size: 16px; color: #fff; }
.author span { display: block; font-size: 13px; color: var(--on-plum); }

/* Books */
.books { padding: 80px 0; }
.books .title-l { margin-bottom: 80px; }
.books__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.book { border-radius: 28px; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.book img { width: 180px; height: 255px; border-radius: 5px; object-fit: cover; }
.book h3 { font-weight: 700; font-size: 18px; }
.book p { font-size: 14px; color: var(--muted); }
.book .btn { width: 100%; height: 50px; background: #fff; font-size: 14px; padding: 0 20px; margin-top: auto; }
.book .btn img { width: 16px; height: 16px; }
.book--pink .btn { color: var(--pink); }
.book--green .btn { color: var(--green); }
.book--orange .btn { color: var(--orange); }
.book .btn:hover { background: #fff; box-shadow: inset 0 0 0 2px currentColor; }

/* Offer banner */
.offer { padding: 0; }
.offer__box { background: var(--pink); border-radius: 30px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.offer__copy { max-width: 650px; display: flex; flex-direction: column; gap: 12px; color: #fff; }
.offer__copy .eyebrow { color: #f8d5e8; }
.offer__copy h2 { font-weight: 800; font-size: 38px; line-height: 1.2; }

/* Inside */
.inside { padding: 80px 0; }
.inside__intro { display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; }
.inside__intro p { color: var(--muted); }
.inside__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sample { border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.sample img { width: 100%; aspect-ratio: 324 / 454; }
.sample figcaption { font-weight: 700; font-size: 14px; text-align: center; }
.sample--pink figcaption { color: var(--pink); }
.sample--green figcaption { color: var(--green); }
.sample--orange figcaption { color: var(--orange); }
.cta-row { display: flex; justify-content: center; margin-top: 48px; }

/* Before / after */
.familiar { padding: 80px 0; }
.familiar .title-l { margin-bottom: 48px; }
.familiar__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.familiar__col { border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.familiar__col h3 { font-weight: 700; font-size: 22px; }
.familiar__col--without { background: var(--stone); }
.familiar__col--with { background: var(--pink-soft); }
.familiar__col--with h3 { color: var(--pink); }

/* Pack / order */
.pack { background: var(--pink-soft); }
.pack .wrap { display: flex; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.pack__list { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.included { background: #fff; border-radius: 18px; padding: 16px; display: flex; gap: 18px; align-items: center; }
.included img { width: 64px; height: 74px; border-radius: 5px; object-fit: cover; flex: none; }
.included h3 { font-weight: 700; font-size: 16px; }
.included p { font-size: 13px; color: var(--muted); }
.included__buy { margin-left: auto; flex: none; font-weight: 700; font-size: 13px; color: var(--pink); background: none; border: 0; cursor: pointer; padding: 8px; text-decoration: underline; text-underline-offset: 3px; }
.order { flex: 0 0 576px; background: #fff; border-radius: 30px; padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.countdown { display: flex; justify-content: space-between; align-items: center; }
.countdown[hidden] { display: none; }
.timer { display: flex; gap: 6px; }
.timer span { width: 44px; height: 38px; border-radius: 8px; background: var(--plum); color: #fff; font-weight: 800; font-size: 17px; display: grid; place-items: center; }
.order .price__now { line-height: 1.5; }
.save-tag { align-self: flex-start; background: var(--mint); color: var(--green); border-radius: 10px; padding: 8px 14px; font-weight: 700; font-size: 12px; }
.pay-methods { font-weight: 600; font-size: 13px; text-align: center; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.assure { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; font-size: 13px; }
.assure li { display: flex; gap: 12px; }

/* FAQ */
.faq { padding: 80px 0; }
.faq .title-l { margin-bottom: 32px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.qa summary { list-style: none; cursor: pointer; display: flex; gap: 20px; align-items: flex-start; padding: 26px; font-weight: 700; font-size: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary span { flex: 1; }
.qa summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--pink); }
.qa[open] summary::after { content: "\2212"; }
.qa p { padding: 0 26px 26px; font-size: 14px; color: var(--muted); }

/* Footer */
.footer { background: var(--footer); color: var(--footer-text); }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.footer .brand img { width: 32px; height: 35px; }
.footer .brand span { color: #fff; font-size: 16px; }
.footer small { display: block; font-size: 12px; margin-top: 4px; }
.footer nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translate(-50%, 20px);
  background: var(--plum); color: #fff; padding: 14px 22px; border-radius: 14px;
  font-size: 14px; max-width: calc(100% - 32px); box-shadow: 0 10px 30px rgba(73, 21, 47, .25);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Thank-you page */
.thanks { padding: 64px 0 80px; }
.thanks__head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-bottom: 48px; }
.thanks__tick { width: 56px; height: 56px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; }
.thanks__tick img { width: 26px; height: 26px; }
.thanks__head .title-l { font-size: 44px; }
.thanks__head p { max-width: 640px; }
.steps { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 32px; }
.steps ol { margin: 14px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.thanks__help { margin-top: 32px; text-align: center; font-size: 14px; color: var(--muted); }
.thanks__help a { color: var(--pink); }

/* Legal pages */
.legal { padding: 64px 0 80px; }
.legal article { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 48px; }
.legal h1 { font-weight: 800; font-size: 38px; line-height: 1.15; color: var(--plum); margin-bottom: 8px; }
.legal h2 { font-weight: 700; font-size: 20px; color: var(--plum); margin: 32px 0 8px; }
.legal p, .legal li { font-size: 15px; color: var(--ink); }
.legal p + p { margin-top: 10px; }
.legal .updated { color: var(--muted); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  :root { --gutter: 48px; }
  .price-card, .order { flex-basis: 440px; }
  .value__box { gap: 40px; padding: 40px; }
}

@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .nav a:not(.btn) { display: none; }
  .hero .wrap, .value__box, .promise .wrap, .pack .wrap, .offer__box { flex-direction: column; align-items: stretch; }
  .hero__copy, .hero__art { flex: none; }
  .hero__art { margin: 0 auto; max-width: 560px; width: 100%; }
  .glance__grid { grid-template-columns: 1fr 1fr; }
  .price-card, .order { flex-basis: auto; }
  .books__grid, .inside__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .familiar__grid { grid-template-columns: 1fr; }
  .offer__box .btn { align-self: flex-start; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .header .wrap { height: 64px; }
  .brand span { font-size: 16px; }
  .brand img { width: 32px; height: 36px; }
  .nav .btn { padding: 0 18px; height: 40px; font-size: 13px; }
  .title-xl { font-size: 36px; }
  .title-l, .offer__copy h2 { font-size: 28px; }
  .value__benefits h2, .promise__copy h2 { font-size: 28px; }
  .hero .wrap, .promise .wrap, .pack .wrap { padding-top: 48px; padding-bottom: 48px; }
  .value, .books, .inside, .familiar, .faq { padding: 56px 0; }
  .books .title-l { margin-bottom: 40px; }
  .glance { padding: 32px 0; }
  .glance__grid { grid-template-columns: 1fr; gap: 12px; }
  .card-hl { min-height: 0; }
  .value__box, .offer__box, .price-card, .order, .promise__quote, .familiar__col { padding: 24px; border-radius: 22px; }
  .price__now { font-size: 46px; }
  .promise__quote blockquote { font-size: 20px; }
  .btn { white-space: normal; text-align: center; height: auto; min-height: 54px; padding: 12px 24px; }
  .purchase .btn, .cta-row .btn { width: 100%; }
  .included { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; row-gap: 6px; align-items: start; }
  .included img { width: 56px; height: 66px; grid-row: span 2; }
  .included__buy { grid-column: 2; justify-self: start; margin: 0; padding: 0; }
  .footer .wrap { flex-direction: column; align-items: flex-start; }
  .qa summary { padding: 20px; }
  .qa p { padding: 0 20px 20px; }
  .thanks__head .title-l { font-size: 30px; }
  .legal article { padding: 24px; }
  .legal h1 { font-size: 28px; }
}
