/* =========================================================================
   WellnessTrim — shared design system
   Tokens · base · layout · header · hero · sections · cards · commerce ·
   review widgets · forms · bands · footer · utilities
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --teal-950: #00262d;
  --teal-900: #002f37;
  --teal-800: #01545b;
  --teal-700: #0a6970;
  --teal-100: #e1efef;
  --green-800: #17661a;
  --green-700: #1f7a1a;
  --green-600: #2f8a2f;
  --green-500: #43a33a;
  --green-200: #cfe6c7;
  --green-100: #e6f2e1;
  --mint-100: #e3ece1;
  --mint-50: #f2f7f0;
  --orange-600: #e5670a;
  --orange-500: #f8780f;
  --orange-100: #ffe9d6;
  --red-600: #d6322b;
  --red-100: #fde4e1;
  --gold-500: #f5a623;
  --ink: #0f2f36;
  --text: #34444b;
  --muted: #5f6b72;
  --line: #e2e8e5;
  --line-strong: #cfd9d4;
  --bg: #ffffff;
  --bg-soft: #f7faf6;
  --footer-bg: #063b3c;
  --footer-bg-2: #08494a;

  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-script: "Caveat", "Segoe Script", "Bradley Hand", cursive;

  --container: 1200px;
  --gutter: clamp(1rem, 3vw, 1.5rem);
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(15, 47, 54, .06);
  --shadow-sm: 0 2px 10px rgba(15, 47, 54, .07);
  --shadow: 0 10px 30px rgba(15, 47, 54, .10);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.1rem); font-weight: 700; }
h3 { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--teal-800); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-700); }
ul, ol { padding-left: 1.25rem; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--green-200); color: var(--ink); }
.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.6em; height: 1.6em; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--teal-900); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }
.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;
}

/* Placeholder values (unknown facts: prices, ratings, stats, names). Kept visible for editors. */
.ph { font-variant-numeric: tabular-nums; overflow-wrap: break-word; word-break: normal; }
.stat__value.ph { font-size: 1rem; }
.rating .ph { min-width: 0; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem); }
.section--tight { padding-block: clamp(1.75rem, 1.5rem + 1.5vw, 2.5rem); }
.section--mint { background: linear-gradient(180deg, var(--mint-50), #fff 85%); }
.section--mint-solid { background: var(--mint-50); }
.section--soft { background: var(--bg-soft); }
.section--line { border-top: 1px solid var(--line); }
.stack > * + * { margin-top: var(--stack, 1rem); }
.grid { display: grid; gap: clamp(1rem, .8rem + 1vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.grid--5 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.grid--6 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
@media (min-width: 1100px) {
  .grid--3.grid--fixed { grid-template-columns: repeat(3, 1fr); }
  .grid--4.grid--fixed { grid-template-columns: repeat(4, 1fr); }
  .grid--5.grid--fixed { grid-template-columns: repeat(5, 1fr); }
  .grid--6.grid--fixed { grid-template-columns: repeat(6, 1fr); }
}
.layout-sidebar { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); align-items: start; }
@media (min-width: 1000px) {
  .layout-sidebar { grid-template-columns: minmax(0, 1fr) 340px; }
  .layout-sidebar--left { grid-template-columns: 280px minmax(0, 1fr); }
}
.sticky { position: sticky; top: calc(var(--header-h) + 16px); }

/* ---------- Typography helpers ---------- */
.accent { color: var(--green-600); }
.accent-orange { color: var(--orange-500); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-800); margin-bottom: .75rem;
}
.eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green-600); }
.lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: var(--text); line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.script {
  font-family: var(--font-script); font-weight: 600; color: var(--teal-800);
  font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); line-height: 1; transform: rotate(-6deg);
}
.script--orange { color: var(--orange-500); }
.text-center { text-align: center; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--teal-800); --btn-fg: #fff; --btn-bd: var(--teal-800);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: .7rem 1.35rem; border-radius: var(--radius-pill);
  border: 1.5px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(1, 84, 91, .22); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.05em; height: 1.05em; }
/* The designs' buttons are a brighter emerald than the text greens; this is the closest shade that keeps
   white button text at WCAG AA contrast (4.7:1). */
.btn--green { --btn-bg: #12844a; --btn-bd: #12844a; }
.btn--green:hover { --btn-bg: #0e6e3c; --btn-bd: #0e6e3c; box-shadow: 0 6px 16px rgba(18, 132, 74, .25); }
.btn--orange { --btn-bg: var(--orange-500); --btn-bd: var(--orange-500); }
.btn--orange:hover { --btn-bg: var(--orange-600); box-shadow: 0 6px 16px rgba(229, 103, 10, .28); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--teal-800); --btn-bd: var(--teal-800); }
.btn--outline:hover { --btn-bg: var(--teal-800); --btn-fg: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--teal-800); --btn-bd: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--teal-800); --btn-bd: transparent; padding-inline: .5rem; }
.btn--sm { min-height: 38px; padding: .5rem 1rem; font-size: .875rem; }
.btn--lg { min-height: 54px; padding: .85rem 1.75rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--square { border-radius: var(--radius-sm); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9rem;
  color: var(--teal-800); text-decoration: none;
}
.link-arrow .icon { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow--green { color: var(--green-700); }
.link-pill {
  display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1rem;
  border: 1.5px solid var(--green-200); border-radius: var(--radius-pill); background: #fff;
  font-size: .85rem; font-weight: 600; color: var(--teal-800); text-decoration: none; white-space: nowrap;
}
.link-pill:hover { border-color: var(--green-600); color: var(--green-700); }
.link-pill .icon { width: 1em; height: 1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line); backdrop-filter: saturate(160%) blur(8px);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(15, 47, 54, .08); }
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; flex: none; }
.logo__mark { width: 46px; height: 46px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; letter-spacing: -.02em; color: var(--teal-900); }
.logo__name span { color: var(--green-600); }
.logo__tagline { font-size: .66rem; color: var(--muted); margin-top: .25rem; letter-spacing: .02em; }

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav__item { position: relative; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: .25rem; padding: .55rem .7rem; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500; color: var(--ink); text-decoration: none; background: none; border: 0;
  white-space: nowrap;
}
.nav__link:hover, .nav__toggle:hover, .nav__item:focus-within > .nav__toggle { color: var(--green-700); background: var(--mint-50); }
.nav__link[aria-current="page"] { color: var(--green-700); box-shadow: inset 0 -2px 0 var(--green-600); border-radius: 0; }
.nav__link.is-section, .nav__toggle.is-section { color: var(--green-700); box-shadow: inset 0 -2px 0 var(--green-600); border-radius: 0; }
@media (max-width: 1080px) { .nav__link.is-section, .nav__toggle.is-section { box-shadow: none; } }
.nav__toggle .icon { width: .95em; height: .95em; transition: transform .2s; }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; z-index: 20;
  list-style: none; margin: 0; padding: .5rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__item:hover > .nav__sub, .nav__toggle[aria-expanded="true"] + .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: .55rem .75rem; border-radius: var(--radius-sm); font-size: .9rem; color: var(--ink); text-decoration: none; }
.nav__sub a:hover { background: var(--mint-50); color: var(--green-700); }

.header-actions { display: flex; align-items: center; gap: .6rem; flex: none; }
.header-search { position: relative; display: flex; align-items: center; }
.header-search input {
  width: 230px; height: 42px; padding: 0 2.75rem 0 1rem; border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill); background: #fff; font-size: .9rem;
}
.header-search input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px var(--green-100); }
.header-search button {
  position: absolute; right: 4px; width: 34px; height: 34px; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-700); color: #fff;
}
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); place-items: center;
}
@media (max-width: 1360px) {
  .header-search input { position: absolute; right: 0; width: 0; padding: 0; border-color: transparent; opacity: 0; transition: width .2s, opacity .2s; }
  .header-search:focus-within input { width: 240px; padding: 0 2.75rem 0 1rem; border-color: var(--green-600); opacity: 1; z-index: 3; }
  .header-search button { position: static; width: 40px; height: 40px; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .header-search { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; background: #fff; overflow-y: auto;
    padding: 1rem var(--gutter) 2rem; opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; border-top: 1px solid var(--line);
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link, .nav__toggle { width: 100%; justify-content: space-between; padding: .9rem .25rem; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link[aria-current="page"] { box-shadow: none; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .5rem .75rem; display: none; min-width: 0; }
  .nav__item:hover > .nav__sub { display: none; }
  .nav__toggle[aria-expanded="true"] + .nav__sub { display: block; }
  .nav__mobile-search { display: block !important; margin-bottom: 1rem; }
  .header-actions .btn { display: none; }
}
/* Header variants: each page uses the header its design shows.
   --search: dropdown menus + a visible search field (review, compare, guide pages).
   --flat:   one row of topic links + a search icon + "Join Free" (deals, legal, blog pages). */
.site-header--search .site-header__inner, .site-header--flat .site-header__inner { width: min(100% - 2 * var(--gutter), 1320px); }
.site-header--search .logo__mark { width: 50px; height: 50px; }
.site-header--search .logo__name { font-size: 1.68rem; }
.site-header--search .logo__tagline { font-size: .72rem; }
.site-header--search .nav__link, .site-header--search .nav__toggle { font-size: .92rem; padding: .55rem .45rem; }
@media (min-width: 1241px) {
  .site-header--search .header-search { min-width: 190px; }
  .site-header--search .header-search input { position: static; width: 100%; padding: 0 2.75rem 0 1rem; border-color: var(--line-strong); opacity: 1; }
  .site-header--search .header-search button { position: absolute; right: 4px; width: 34px; height: 34px; }
}
.site-header--search .header-actions { flex: 0 1 290px; min-width: 0; justify-content: flex-end; }
.site-header--search .header-search { width: 100%; }
@media (max-width: 1240px) { .site-header--search .header-actions { flex: none; } .site-header--search .header-search { width: auto; } }
.nav__item:last-child > .nav__sub, .nav__item:nth-last-child(2) > .nav__sub { left: auto; right: 0; }
.site-header--flat .logo__mark { width: 40px; height: 40px; }
.site-header--flat .logo__name { font-size: 1.38rem; }
.site-header--flat .nav__list { gap: 0; }
.site-header--flat .nav__link { font-size: .84rem; padding: .5rem .42rem; }
.site-header--flat .header-search input { position: absolute; right: 0; width: 0; padding: 0; border-color: transparent; opacity: 0; transition: width .2s, opacity .2s; }
.site-header--flat .header-search:focus-within input { width: 240px; padding: 0 2.75rem 0 1rem; border-color: var(--green-600); opacity: 1; z-index: 3; }
.site-header--flat .header-search button { position: static; width: 40px; height: 40px; background: #fff; color: var(--ink); border: 1px solid var(--line-strong); }
@media (max-width: 1366px) {
  .site-header--flat .logo__tagline { display: none; }
  .site-header--flat .nav__link { font-size: .8rem; padding: .5rem .3rem; }
}
/* The flat row needs ~1240px; below that it uses the same menu drawer as small screens. */
@media (max-width: 1240px) and (min-width: 1081px) {
  .site-header--flat .nav-toggle { display: grid; }
  .site-header--flat .header-search { display: none; }
  .site-header--flat .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; background: #fff; overflow-y: auto;
    padding: 1rem var(--gutter) 2rem; opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; border-top: 1px solid var(--line);
  }
  .site-header--flat .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .site-header--flat .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header--flat .nav__link { width: 100%; justify-content: space-between; padding: .9rem .25rem; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-header--flat .nav__link[aria-current="page"] { box-shadow: none; }
  .site-header--flat .nav__mobile-search { display: block !important; margin-bottom: 1rem; }
  .site-header--flat .header-actions { margin-left: auto; }
}
.nav__mobile-search { display: none; }
.nav__mobile-search input { width: 100%; height: 48px; padding: 0 1rem; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); }
body.nav-open { overflow: hidden; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .85rem; color: var(--muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: .35rem; }
.breadcrumb li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; margin-right: .2rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-700); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(105deg, #fbfdfb 0%, #f3f8f1 55%, #eaf3e6 100%); }
.hero__inner {
  position: relative; display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3rem); align-items: center;
  padding-block: clamp(2rem, 1.5rem + 3vw, 3.75rem);
}
@media (min-width: 900px) { .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.hero .breadcrumb { margin-bottom: 1rem; }
.hero__title { margin-bottom: .45em; }
.hero__title .accent { display: block; }
.hero__lead { max-width: 36rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero__checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .85rem; color: var(--text); }
.hero__checks li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__checks .icon { color: var(--green-600); }
.hero__media { position: relative; }
.hero__media img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.hero__script { position: absolute; right: clamp(.5rem, 3vw, 2.5rem); top: clamp(.5rem, 3vw, 2rem); z-index: 2; pointer-events: none; }
/* Full-bleed photo hero: picture fills the band, copy sits on the open side */
.hero--bleed { background: #f4f8f2; }
.hero--bleed .hero__bg { position: absolute; inset: 0; }
.hero--bleed .hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; border-radius: 0; }
.hero--bleed .hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(250, 252, 249, .97) 0%, rgba(250, 252, 249, .9) 34%, rgba(250, 252, 249, .25) 58%, rgba(250, 252, 249, 0) 72%);
}
.hero--bleed .hero__inner { grid-template-columns: minmax(0, 1fr); min-height: clamp(360px, 32vw, 480px); }
.hero--bleed .hero__copy { position: relative; max-width: 600px; }
@media (max-width: 899px) {
  .hero--bleed .hero__bg { position: relative; inset: auto; height: 260px; }
  .hero--bleed .hero__bg::after { background: linear-gradient(180deg, rgba(250, 252, 249, 0) 55%, rgba(250, 252, 249, 1) 100%); }
  .hero--bleed .hero__inner { min-height: 0; padding-top: 1rem; }
  .hero__script { display: none; }
}
.hero--compact .hero__inner { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem); }

/* Page header for utility/legal pages (no big image) */
.page-head { background: linear-gradient(180deg, var(--mint-50), #fff); padding-block: clamp(1.75rem, 1.4rem + 2vw, 3rem); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); }

/* ---------- Trust strip / stats ---------- */
.trust-strip { background: var(--mint-50); border-block: 1px solid var(--mint-100); }
.trust-strip__list {
  list-style: none; margin: 0 auto; padding: 1.1rem 0; display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.trust-item { display: flex; align-items: center; gap: .85rem; }
.trust-item__icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--green-700); box-shadow: var(--shadow-xs);
}
.trust-item__icon .icon { width: 22px; height: 22px; }
.trust-item__title { display: block; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); line-height: 1.25; }
.trust-item__text { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; }
@media (min-width: 900px) { .trust-strip__list > li + li { border-left: 1px solid var(--line-strong); padding-left: 1.25rem; } }
.trust-strip--card { background: none; border: 0; }
.trust-strip--card .trust-strip__list { background: var(--mint-50); border: 1px solid var(--mint-100); border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--shadow-xs); }

.stat__value { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--ink); line-height: 1.1; }

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.section-head h2 { margin: 0; }
.section-head p { margin: .35rem 0 0; color: var(--muted); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: var(--radius-xs);
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2;
  background: var(--green-700); color: #fff;
}
.badge--teal { background: var(--teal-800); }
.badge--orange { background: var(--orange-500); }
.badge--red { background: var(--red-600); }
.badge--soft { background: var(--green-100); color: var(--green-800); }
.badge--outline { background: #fff; color: var(--teal-800); border: 1px solid var(--line-strong); }
.badge--pill { border-radius: var(--radius-pill); text-transform: none; letter-spacing: 0; font-size: .78rem; padding: .3rem .75rem; }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-xs); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-200); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mint-50); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__media .badge { position: absolute; left: .75rem; top: .75rem; }
.card__body { display: flex; flex-direction: column; gap: .45rem; padding: 1rem 1.1rem 1.15rem; flex: 1; }
.card__title { font-size: 1.02rem; font-weight: 600; margin: 0; line-height: 1.3; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }      /* whole card clickable */
.card__text { font-size: .875rem; color: var(--muted); margin: 0; }
.card__meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; font-size: .78rem; color: var(--muted); }
.card__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.card__foot { margin-top: auto; padding-top: .5rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; position: relative; z-index: 2; }
.card .link-arrow, .card .btn { position: relative; z-index: 2; }

/* Category card: copy left, image right (home "Popular categories") */
.cat-card { flex-direction: row; min-height: 140px; }
.cat-card .card__body { padding: 1rem; flex: 1 1 55%; }
.cat-card__icon { width: 34px; height: 34px; color: var(--green-600); }
.cat-card__img { flex: 1 1 45%; position: relative; }
.cat-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-card .circle-arrow { margin-top: auto; }
.circle-arrow { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--green-200); display: grid; place-items: center; color: var(--green-700); }
.circle-arrow .icon { width: 15px; height: 15px; }

/* Horizontal list card (image left) */
.row-card { flex-direction: row; align-items: stretch; }
.row-card .card__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 120px; }
.row-card .card__body { padding: .85rem 1rem; }
.row-card--sm .card__media { flex-basis: 96px; min-height: 96px; }
@media (max-width: 480px) { .row-card { flex-direction: column; } .row-card .card__media { aspect-ratio: 16/9; } }

/* Feature tile (icon on top, centered) */
.tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem;
  padding: 1.1rem .75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-xs);
}
.tile__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.tile__icon .icon { width: 24px; height: 24px; }
.tile__title { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); margin: 0; }
.tile__text { font-size: .82rem; color: var(--muted); margin: 0; }

/* Icon feature row (icon + title + text, left aligned) */
.feature { display: flex; gap: .9rem; align-items: flex-start; }
.feature__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.feature__icon .icon { width: 22px; height: 22px; }
.feature h3 { font-size: 1rem; margin: 0 0 .2rem; }
.feature p { font-size: .875rem; color: var(--muted); margin: 0; }

/* ---------- Ratings & prices ---------- */
.rating { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--muted); }
.stars { display: inline-flex; gap: 1px; color: var(--gold-500); }
.stars .icon { width: 15px; height: 15px; fill: currentColor; stroke: currentColor; stroke-width: 1; }
.stars--outline .icon { fill: none; stroke-width: 1.6; }
.price { display: inline-flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; font-family: var(--font-head); }
.price__now { font-size: 1.3rem; font-weight: 700; color: var(--red-600); }
.price__now--green { color: var(--green-700); }
.price__was { font-size: .9rem; color: var(--muted); text-decoration: line-through; font-weight: 500; }
.save-tag { display: inline-block; padding: .2rem .55rem; border-radius: var(--radius-xs); background: var(--orange-500); color: #fff; font-size: .72rem; font-weight: 700; }

/* Product / deal card */
.product-card .card__media { aspect-ratio: 1 / 1; background: #fff; }
.product-card .card__media img { object-fit: contain; padding: 1rem; }
.product-card .card__media .badge { z-index: 1; }
.product-card .card__media .badge--right { left: auto; right: .75rem; }
.product-card .card__title { font-size: .98rem; }
.product-card .card__foot { flex-wrap: wrap; }

/* Small horizontal deal tile */
.deal-mini { flex-direction: row; align-items: center; gap: .75rem; padding: .75rem; }
.deal-mini .deal-mini__img { flex: 0 0 76px; height: 76px; }
.deal-mini .deal-mini__img img { width: 100%; height: 100%; object-fit: contain; }
.deal-mini .card__title { font-size: .86rem; }
.deal-mini .price__now { font-size: 1rem; }

/* Brand tile (text wordmarks: no third-party logos) */
.brand-tile {
  display: grid; place-items: center; min-height: 64px; padding: .75rem; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-xs);
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; letter-spacing: .02em; color: var(--teal-900); text-decoration: none;
}
.brand-tile:hover { border-color: var(--green-200); color: var(--green-700); }

/* ---------- Chips / filters / tabs / pagination ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 38px; padding: .4rem .95rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: #fff;
  font-size: .85rem; font-weight: 500; color: var(--ink); text-decoration: none; cursor: pointer;
}
.chip:hover { border-color: var(--green-600); color: var(--green-700); }
.chip[aria-pressed="true"], .chip.is-active, .chip[aria-current="page"] { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: 1.25rem; }
.select-inline { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--muted); }
.select-inline select { height: 40px; padding: 0 2rem 0 .85rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }

.tabs { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.tabs__list { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list a { display: block; padding: 1rem 1.1rem; font-size: .92rem; font-weight: 500; color: var(--text); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.tabs__list a:hover { color: var(--green-700); }
.tabs__list a.is-active, .tabs__list a[aria-current="true"] { color: var(--green-700); border-bottom-color: var(--green-600); font-weight: 600; }

.pagination { display: flex; justify-content: center; margin-top: 2rem; }
.pagination ul { list-style: none; padding: 0; margin: 0; display: flex; gap: .4rem; flex-wrap: wrap; }
.pagination a, .pagination li > span {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .75rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem;
}
.pagination a:hover { border-color: var(--green-600); color: var(--green-700); }
.pagination [aria-current="page"] { background: var(--green-700); border-color: var(--green-700); color: #fff; }

/* ---------- Review & comparison widgets ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, .8rem + 1vw, 1.5rem); box-shadow: var(--shadow-xs); }
.panel--mint { background: var(--mint-50); border-color: var(--mint-100); }
.panel__title { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; margin-bottom: .75rem; }
.panel__title .icon { color: var(--green-600); }
.verdict { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 700px) { .verdict { grid-template-columns: 1fr auto; } }
.score-box { text-align: center; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); min-width: 150px; }
.score-box__value { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.ring {
  --value: 0; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin-inline: auto;
  background: conic-gradient(var(--green-600) calc(var(--value) * 1%), var(--green-100) 0);
}
.ring__inner { width: 66px; height: 66px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink); text-align: center; line-height: 1.1; padding: .25rem; }
.pros-cons { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.check-list, .x-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.check-list li, .x-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.check-list .icon { color: var(--green-600); margin-top: .15rem; }
.x-list .icon { color: var(--red-600); margin-top: .15rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th, .data-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--mint-50); font-family: var(--font-head); font-weight: 600; color: var(--ink); white-space: nowrap; }
.data-table tbody th { font-weight: 600; color: var(--ink); background: #fbfdfb; width: 32%; }
.data-table tr:last-child > * { border-bottom: 0; }
.data-table--center td, .data-table--center th:not(:first-child) { text-align: center; }
.compare-head { display: grid; gap: .4rem; justify-items: center; text-align: center; }
.compare-head img { width: 110px; height: 110px; object-fit: contain; }
.offer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.offer-list li { display: flex; align-items: center; gap: .75rem; justify-content: space-between; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.offer-list__store { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--ink); }
.buy-box { position: relative; }
.buy-box .price__now { font-size: 2rem; }
.buy-box .btn { width: 100%; }
.perk-list { list-style: none; padding: 0; margin: .75rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .78rem; color: var(--muted); }
.perk-list li { display: inline-flex; align-items: center; gap: .3rem; }
.perk-list .icon { color: var(--green-600); width: 1em; height: 1em; }

/* Coupon */
.coupon { display: flex; align-items: stretch; border: 2px dashed var(--green-500); border-radius: var(--radius-sm); overflow: hidden; background: var(--mint-50); }
.coupon__code { flex: 1; display: grid; place-items: center; padding: .55rem 1rem; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; color: var(--teal-900); }
.coupon__copy { border: 0; background: var(--green-700); color: #fff; font-weight: 600; padding: 0 1rem; display: inline-flex; align-items: center; gap: .4rem; }
.coupon__copy:hover { background: var(--green-800); }
.copy-status { font-size: .8rem; color: var(--green-700); min-height: 1.2em; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: step; }
.step { display: flex; gap: .9rem; align-items: flex-start; }
.step__icon { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.step__icon .icon { width: 26px; height: 26px; }
.step h3 { font-size: 1rem; margin: 0 0 .25rem; }
.step p { font-size: .86rem; color: var(--muted); margin: 0; }

/* Accordion (native details/summary) */
.accordion { display: grid; gap: .65rem; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .95rem 1.1rem; font-weight: 600; color: var(--ink); font-size: .95rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.35rem; line-height: 1; color: var(--teal-800); transition: transform .2s; }
.accordion details[open] summary::after { content: "−"; }
.accordion details[open] summary { border-bottom: 1px solid var(--line); }
.accordion .accordion__body { padding: .9rem 1.1rem 1.1rem; font-size: .92rem; color: var(--text); }
.accordion .accordion__body > :last-child { margin-bottom: 0; }

/* ---------- Article / prose ---------- */
.prose { font-size: 1.04rem; line-height: 1.75; color: var(--text); max-width: 72ch; }
.prose h2 { margin-top: 2rem; font-size: clamp(1.4rem, 1.15rem + 1vw, 1.8rem); }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li + li { margin-top: .35em; }
.prose figure { margin: 1.5rem 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--green-600); background: var(--mint-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); }
.toc { font-size: .9rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; counter-reset: toc; }
.toc a { display: block; padding: .4rem .6rem; border-radius: var(--radius-xs); color: var(--text); text-decoration: none; border-left: 2px solid transparent; }
.toc a:hover, .toc a.is-active { background: var(--mint-50); color: var(--green-700); border-left-color: var(--green-600); }
.callout { display: flex; gap: .85rem; padding: 1rem 1.15rem; border-radius: var(--radius-sm); background: var(--mint-50); border: 1px solid var(--mint-100); font-size: .92rem; }
.callout .icon { color: var(--green-700); margin-top: .15rem; }
.callout--warning { background: #fff7ed; border-color: #fde3c4; }
.callout--warning .icon { color: var(--orange-600); }
.callout--info { background: var(--teal-100); border-color: #cfe3e3; }
.callout--info .icon { color: var(--teal-800); }
.callout > :last-child { margin-bottom: 0; }
.author-box { display: flex; gap: 1rem; align-items: center; }
.author-box img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box__name { font-weight: 600; color: var(--ink); display: block; line-height: 1.3; }
.author-box__role { font-size: .82rem; color: var(--muted); }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; font-size: .85rem; color: var(--muted); }
.meta-row span, .meta-row time { display: inline-flex; align-items: center; gap: .35rem; }
.meta-row .icon { color: var(--teal-800); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: grid; gap: .35rem; }
.field label, .field .label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field .req { color: var(--red-600); }
.field input, .field select, .field textarea, .input {
  width: 100%; min-height: 48px; padding: .7rem .95rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; font-size: .95rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px var(--green-100); }
.field__hint { font-size: .8rem; color: var(--muted); }
.field__error { font-size: .82rem; color: var(--red-600); display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red-600); box-shadow: 0 0 0 3px var(--red-100); }
.field.is-invalid .field__error { display: block; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; }
.checkbox input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--green-700); }
.form-status { font-size: .9rem; font-weight: 600; }
.form-status.is-success { color: var(--green-700); }
.form-status.is-error { color: var(--red-600); }
.inline-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.inline-form .input-wrap { position: relative; flex: 1 1 240px; }
.inline-form .input-wrap .icon { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.inline-form input[type="email"], .inline-form input[type="search"], .inline-form input[type="text"] {
  width: 100%; height: 50px; padding: 0 1rem 0 2.75rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; font-size: .95rem;
}
.inline-form input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px var(--green-100); }
.inline-form .btn { height: 50px; border-radius: var(--radius-sm); }

/* ---------- Bands ---------- */
.newsletter {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(100deg, #eef6ea, #f7fbf5 60%, #eef6ea);
  border: 1px solid var(--mint-100); padding: clamp(1.25rem, 1rem + 2vw, 2rem); display: grid; gap: 1.25rem; align-items: center;
}
@media (min-width: 900px) { .newsletter { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr); } }
.newsletter__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--green-700); color: #fff; }
.newsletter__icon .icon { width: 30px; height: 30px; }
.newsletter h2 { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.6rem); margin: 0 0 .25rem; }
.newsletter p { margin: 0; color: var(--muted); }
.newsletter__note { font-size: .78rem; color: var(--muted); margin-top: .5rem; }
.leaf-deco { position: absolute; width: clamp(70px, 9vw, 120px); opacity: .9; pointer-events: none; }
.leaf-deco--left { left: -18px; bottom: -14px; }
.leaf-deco--right { right: -18px; top: -10px; transform: scaleX(-1); }

/* Lead magnet band with CSS book mockup */
.lead-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--mint-100);
  background: linear-gradient(100deg, #f4f9f1, #ffffff 55%, #f1f7ee); padding: clamp(1.25rem, 1rem + 2vw, 2.25rem);
  display: grid; gap: clamp(1.25rem, 1rem + 2vw, 2.5rem); align-items: center;
}
@media (min-width: 960px) { .lead-band { grid-template-columns: 220px minmax(0, 1.4fr) minmax(0, 1fr); } }
.lead-band h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem); margin-bottom: .4rem; }
.lead-band .check-inline { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .82rem; }
.lead-band .check-inline li { display: inline-flex; align-items: center; gap: .35rem; }
.lead-band .check-inline .icon { color: var(--green-600); width: 1.05em; height: 1.05em; }
.lead-band__perks { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; font-size: .92rem; color: var(--ink); }
.lead-band__perks li { display: flex; align-items: center; gap: .75rem; }
.lead-band__perks .icon { color: var(--green-600); width: 26px; height: 26px; }
.book {
  position: relative; width: min(190px, 60vw); aspect-ratio: 3 / 4; margin-inline: auto; transform: perspective(900px) rotateY(-14deg) rotate(-4deg);
  border-radius: 4px 10px 10px 4px; overflow: hidden; box-shadow: -6px 10px 24px rgba(0, 47, 55, .28), inset 6px 0 0 rgba(0, 0, 0, .12);
  background: #f2f8ef;
}
.book img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book__cover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-start; padding: 14% 10% 0; background: linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .8) 42%, rgba(255, 255, 255, 0) 62%); text-align: center; }
.book__kicker { font-family: var(--font-head); font-weight: 700; font-size: .62rem; letter-spacing: .12em; color: var(--teal-800); }
.book__title { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; line-height: 1.05; color: var(--teal-900); text-transform: uppercase; margin-top: .2rem; }
.book__sub { font-family: var(--font-script); font-size: 1rem; color: var(--green-700); margin-top: .3rem; line-height: 1; }

/* Dark community band */
.community {
  position: relative; overflow: hidden; background: radial-gradient(1200px 300px at 10% 0%, #0d5452, transparent), var(--footer-bg);
  color: #e4efee; padding-block: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
}
.community__inner { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 900px) { .community__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.community h2 { color: #fff; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.6rem); margin: 0 0 .25rem; }
.community p { margin: 0; color: #cfe2e0; font-size: .92rem; }
.community .inline-form input { border-color: transparent; }
.community .check-inline { list-style: none; padding: 0; margin: .6rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .78rem; color: #cfe2e0; }
.community .check-inline li { display: inline-flex; gap: .3rem; align-items: center; }
.community .check-inline .icon { color: #8fd27e; width: 1em; height: 1em; }

/* Green CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #fff;
  background: linear-gradient(100deg, #3f7f2a 0%, #5d9a2c 55%, #7fae2f 100%);
  padding: clamp(1.25rem, 1rem + 2vw, 2rem) clamp(1.25rem, 1rem + 3vw, 3rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
}
.cta-band h2 { color: #fff; font-size: clamp(1.25rem, 1.1rem + .9vw, 1.7rem); margin: 0 0 .25rem; }
.cta-band p { margin: 0; color: #eef7e8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #c9dcda; font-size: .9rem; margin-top: 0; }
.site-footer a { color: #e3efee; text-decoration: none; }
.site-footer a:hover { color: #9fe08b; text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2rem; padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.8fr; } }
.footer-brand .logo__name { color: #fff; }
.footer-brand .logo__name span { color: #8fd27e; }
.footer-brand p { margin: .75rem 0 1rem; font-size: .85rem; color: #b8cfcc; }
.footer-col h2 { color: #fff; font-family: var(--font-head); font-size: .98rem; font-weight: 600; margin: 0 0 .85rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.social-list { list-style: none; padding: 0; margin: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.social-list a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; }
.social-list a:hover { background: var(--green-600); text-decoration: none; }
.social-list .icon { width: 17px; height: 17px; }
.footer-newsletter p { font-size: .85rem; color: #b8cfcc; margin: 0 0 .85rem; }
.footer-newsletter .inline-form input { height: 46px; padding-left: 1rem; border: 0; }
.footer-newsletter .inline-form .btn { height: 46px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; font-size: .8rem; color: #a9c2bf; }
.site-footer__bottom ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.inline-form--stacked { flex-direction: column; }
.inline-form--stacked .input-wrap { flex: none; }
.inline-form--stacked .btn { width: 100%; }
.footer-consent { font-size: .74rem; color: #9db8b5; margin: .1rem 0 0; }
.footer-consent a { text-decoration: underline; }
.footer-disclosure { font-size: .76rem; color: #9db8b5; padding-bottom: 1rem; margin: 0; }

/* Compact footer on desktop: the designs' footers are short bands, not tall blocks. */
@media (min-width: 1000px) {
  .site-footer__grid { padding-block: 1.75rem 1.25rem; gap: 1.5rem; }
  .footer-col h2 { margin-bottom: .5rem; }
  .footer-links { gap: .1rem; font-size: .84rem; line-height: 1.45; }
  .footer-brand p { margin: .5rem 0 .75rem; }
  .footer-disclosure { padding-bottom: .6rem; }
  .site-footer__bottom { padding-block: .7rem; }
}
/* Light footer: the pages whose design ends in a pale footer (set by inject.py). */
.site-footer--light { background: linear-gradient(180deg, var(--mint-50), #fff); color: var(--muted); border-top: 1px solid var(--line); }
.site-footer--light a { color: var(--ink); }
.site-footer--light a:hover { color: var(--green-700); }
.site-footer--light .footer-brand .logo__name { color: var(--teal-900); }
.site-footer--light .footer-brand .logo__name span { color: var(--green-600); }
.site-footer--light .footer-brand p, .site-footer--light .footer-newsletter p, .site-footer--light .footer-consent, .site-footer--light .footer-disclosure { color: var(--muted); }
.site-footer--light .footer-col h2 { color: var(--teal-900); }
.site-footer--light .social-list a { background: var(--mint-100, #e3f1df); color: var(--teal-900); }
.site-footer--light .social-list a:hover { background: var(--green-600); color: #fff; }
.site-footer--light .footer-newsletter .inline-form input { border: 1px solid var(--line-strong); }
.site-footer--light .site-footer__grid { padding-block: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem); }
.site-footer--light .footer-links { gap: .3rem; font-size: .85rem; }
.site-footer--light .site-footer__bottom { border-top-color: var(--line); color: var(--muted); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 2rem 0; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.kpis { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); list-style: none; padding: 0; margin: 0; }
.notice { font-size: .82rem; color: var(--muted); }
.cluster { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.split { display: grid; gap: clamp(1.25rem, 1rem + 2vw, 2.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split--wide-left { grid-template-columns: 1.3fr 1fr; } }
.empty-state { text-align: center; padding: 2rem 1rem; color: var(--muted); }
[hidden] { display: none !important; }
@media print {
  .site-header, .site-footer, .newsletter, .community, .cta-band, .lead-band, .tabs { display: none !important; }
  a { color: inherit; text-decoration: underline; }
}
.m-0 { margin: 0; }
