/* =====================================================================
   Mr. Kitchen Adviser — homepage styles
   Tokens → base → utilities → sections (top to bottom) → responsive
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --forest: #3b4a2c;
  --forest-hover: #33412a;
  --forest-dark: #2c3720;
  --charcoal: #24211b;      /* warm near-black — footer ground */
  --footer-ink: 242, 238, 230; /* warm off-white for footer text (r,g,b) */
  --sage: #e7eedd;
  --sage-soft: #eef2e6;
  --cream: #f7f5ef;
  --cream-2: #faf8f2;
  --ink-head: #262c20;
  --text: #4c5247;
  --muted: #6b7168;
  --border: #e7e4dc;
  --accent: #7e9a66;
  --accent-light: #aec293;
  --gold: #e0a32e;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1520px;
  --header-h: 78px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; }

:focus-visible {
  outline: 3px solid rgba(126, 154, 102, .75);
  outline-offset: 2px;
  border-radius: 4px;
}

section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Utilities ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.ic { width: 20px; height: 20px; flex: none; vertical-align: middle; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 24px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn .ic { width: 18px; height: 18px; }
.btn--primary { background: var(--forest); color: #fff; }
.btn--primary:hover { background: var(--forest-hover); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(44, 55, 32, .28); }
.btn--primary:hover .ic { transform: translateX(3px); transition: transform .2s ease; }
.btn--ghost { background: #fff; color: var(--ink-head); border-color: rgba(44, 55, 32, .22); }
.btn--ghost:hover { border-color: var(--forest); background: var(--cream-2); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--forest); color: #e7ecdd; font-size: 13px; }
.announce__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 0; }
.announce__claims { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.announce__claims li { display: inline-flex; align-items: center; gap: 8px; }
.announce__claims .ic { width: 15px; height: 15px; color: var(--accent-light); }
.announce__tag { display: inline-flex; align-items: center; gap: 8px; color: #dfe6d1; }
.announce__tag .ic { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.header.is-scrolled { box-shadow: 0 6px 22px rgba(40, 50, 30, .08); }
.header__inner { position: relative; display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.header__logo { display: inline-flex; align-items: center; flex: none; }
.header__logo img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 8px; margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-head);
  border-radius: 8px;
  transition: color .18s ease, background .18s ease;
}
.nav__link:hover { color: var(--forest); background: var(--sage-soft); }
.nav__link .ic--caret { width: 15px; height: 15px; color: var(--muted); transition: transform .22s ease; }
.has-menu:hover .ic--caret,
.has-menu.is-open .ic--caret { transform: rotate(180deg); }

/* dropdown */
.submenu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 214px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(40, 50, 30, .14);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 20;
}
.has-menu:hover .submenu,
.has-menu:focus-within .submenu,
.has-menu.is-open .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  color: #3d443a;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.submenu a:hover { background: var(--sage-soft); color: var(--forest); }

/* mega-menu: a grouped category (mka_groups()) renders one column per group.
   Anchored to .header__inner and spanning it, so it can never overflow the viewport. */
.has-menu--mega { position: static; }
.submenu--mega { left: 0; right: 0; min-width: 0; width: auto; padding: 10px 14px 14px; }
.submenu__all { font-weight: 600; margin-bottom: 8px; border-bottom: 1px solid var(--border); border-radius: 8px 8px 0 0; }
.submenu__groups { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.submenu__group { flex: 1 1 150px; min-width: 150px; }
.submenu__group ul { margin: 0; padding: 0; list-style: none; }
.submenu__heading { margin: 6px 12px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }

/* search */
.search { display: flex; align-items: center; }
.search--desktop {
  flex: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding-left: 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.search--desktop:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(126, 154, 102, .18); }
.search--desktop input { border: none; outline: none; background: transparent; padding: 11px 8px; width: 210px; font-size: 14px; color: var(--ink-head); }
.search--desktop input::placeholder { color: #9a9e93; }
.search__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 38px;
  margin: 4px;
  border-radius: 9px;
  background: var(--forest);
  color: #fff;
  transition: background .18s ease;
}
.search__btn:hover { background: var(--forest-hover); }
.search__btn .ic { width: 18px; height: 18px; }

/* hamburger */
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; color: var(--ink-head); }
.nav-toggle:hover { background: var(--sage-soft); }
.nav-toggle .ic { width: 26px; height: 26px; }
.nav-toggle .ic--close { display: none; }
.search--mobile { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero__media {
  position: absolute;
  inset: 0;
  background: url("../../hero-kitchen.jpg") center right / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, .95) 0%,
      rgba(255, 255, 255, .9) 30%,
      rgba(255, 255, 255, .55) 50%,
      rgba(255, 255, 255, .05) 68%,
      rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}
.hero__inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: 540px; }
.hero__content { max-width: 560px; padding: 60px 0; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4.05rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--forest);
  margin: 14px 0 18px;
}
.hero__lede { font-size: 18px; line-height: 1.55; color: #565d51; max-width: 470px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Brand trust bar ---------- */
.brands { background: var(--cream); border-top: 1px solid #efeade; border-bottom: 1px solid #efeade; }
.brands__inner { display: flex; align-items: center; gap: 34px; padding: 22px 0; }
.brands__note { display: flex; align-items: center; gap: 14px; flex: none; }
.brands__badge { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; background: #e0e8d1; color: var(--forest); flex: none; }
.brands__badge .ic { width: 22px; height: 22px; }
.brands__note p { font-size: 14px; line-height: 1.35; color: #4b514a; }
.brands__divider { width: 1px; align-self: stretch; margin: 4px 0; background: #e2ddd0; flex: none; }
.brands__logos { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex: 1; }
.brands__logos li { display: flex; align-items: center; justify-content: center; flex: 1; }
.brands__logos img {
  height: 30px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .6;
  transition: filter .25s ease, opacity .25s ease;
}
.brands__logos img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- Section scaffold ---------- */
.section { padding: 84px 0; }
.section__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section__title { font-family: var(--font-display); font-size: clamp(1.95rem, 3.4vw, 2.7rem); color: var(--ink-head); }
.section__sub { margin-top: 12px; font-size: 17px; color: var(--muted); }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; text-align: left; margin-bottom: 42px; }
.section__cta { display: inline-flex; align-items: center; gap: 8px; flex: none; font-weight: 600; color: var(--forest); text-decoration: none; }
.section__cta .ic { width: 18px; height: 18px; transition: transform .2s ease; }
.section__cta:hover .ic { transform: translateX(4px); }

/* ---------- Categories ---------- */
.categories { background: #fff; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 100%;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(40, 50, 30, .09); border-color: #d9ddca; }
.cat-card__media { display: grid; place-items: center; width: 86px; height: 86px; flex: none; }
.cat-card__media img { max-width: 100%; max-height: 86px; object-fit: contain; }
.cat-card__body { display: flex; flex-direction: column; }
.cat-card__title { font-size: 17px; font-weight: 700; color: var(--ink-head); }
.cat-card__desc { margin-top: 5px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.cat-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--forest); }
.cat-card__link .ic { width: 16px; height: 16px; transition: transform .2s ease; }
.cat-card:hover .cat-card__link .ic { transform: translateX(4px); }

/* ---------- Values bar ---------- */
.values { background: var(--sage); }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 34px 0; }
.value { position: relative; display: flex; align-items: center; gap: 16px; padding: 8px 28px; }
.value:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: rgba(44, 55, 32, .16);
}
.value__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 999px; border: 1.5px solid rgba(44, 55, 32, .38); color: var(--forest); }
.value__icon .ic { width: 24px; height: 24px; }
.value__title { font-size: 16px; font-weight: 700; color: var(--ink-head); }
.value p { margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: #5a6157; }

/* ---------- Latest reviews ---------- */
.reviews { background: var(--cream-2); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.review-card:hover { transform: translateY(-5px); box-shadow: 0 20px 42px rgba(40, 50, 30, .11); border-color: #e0e2d4; }
/* Every registry image is 16:9 (1000x563), so a 16/9 box filled with cover
   crops nothing and the art runs edge to edge. The cream stays as the colour
   behind an image still loading. */
.review-card__media { position: relative; aspect-ratio: 16 / 9; background: var(--cream); }
.review-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Bottom-left: the card art carries its own headline across the top, and a
   chip up there lands on top of it. */
.chip {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(44, 55, 32, .92);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.review-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 24px; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-head); }
.rating .ic { width: 16px; height: 16px; color: var(--gold); }
.rating__meta { font-weight: 500; color: var(--muted); }
.review-card__title { font-family: var(--font-display); font-size: 1.36rem; line-height: 1.2; color: var(--ink-head); }
.review-card__excerpt { flex: 1; font-size: 14.5px; line-height: 1.55; color: #5a6157; }

/* ---------- How we test (light band; forest as accent) ---------- */
/* Dark editorial band: an immersive kitchen, methodology drawn as a lit process line. */
.how { position: relative; isolation: isolate; overflow: hidden; padding: clamp(88px, 11vw, 148px) 0; color: #f3f0e6; }
.how__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(17, 21, 13, .90) 0%, rgba(17, 21, 13, .80) 42%, rgba(13, 17, 10, .95) 100%),
    url("../../hero-kitchen.jpg") center 42% / cover no-repeat;
}
.how__head { max-width: 680px; margin: 0 auto clamp(52px, 6.5vw, 78px); text-align: center; }
.eyebrow--light { color: var(--accent-light); }
.how__title { color: #fff; margin-top: 12px; }
.how__sub { color: rgba(243, 240, 230, .74); }

.how__steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1040px; margin: 0 auto; }
/* the process line — threads the three nodes into a Research → Test → Recommend pipeline */
.how__steps::before {
  content: ""; position: absolute; z-index: 0; top: 34px; left: 15%; right: 15%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(174, 194, 147, .42) 3%, rgba(174, 194, 147, .42) 97%, transparent);
}
.how-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 10px; }
.how-step__node {
  width: 68px; height: 68px; border-radius: 999px; display: grid; place-items: center; margin-bottom: 26px;
  background: rgba(15, 19, 11, .82); border: 1.5px solid rgba(174, 194, 147, .5);
  box-shadow: 0 0 0 6px rgba(16, 20, 12, .55), 0 8px 22px rgba(0, 0, 0, .40);
}
.how-step__num { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; line-height: 1; color: var(--accent-light); text-shadow: 0 0 18px rgba(174, 194, 147, .30); }
.how-step__title { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: 10px; }
.how-step p { font-size: 15px; line-height: 1.6; color: rgba(243, 240, 230, .68); max-width: 30ch; margin: 0 auto; }

@media (max-width: 800px) {
  .how__steps { grid-template-columns: 1fr; gap: 46px; max-width: 400px; }
  .how__steps::before {
    top: 0; bottom: 0; left: 50%; right: auto; width: 2px; height: auto; transform: translateX(-1px);
    background: linear-gradient(180deg, transparent, rgba(174, 194, 147, .42) 6%, rgba(174, 194, 147, .42) 94%, transparent);
  }
}

/* ---------- Footer ---------- */
.footer { padding: 72px 0 30px; background: var(--charcoal); color: rgba(var(--footer-ink), .72); }
.footer__top { display: grid; grid-template-columns: 1.3fr 2fr 1.5fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.wordmark { font-family: var(--font-display); font-size: 1.65rem; font-weight: 700; color: #fff; text-decoration: none; }
.wordmark em { font-style: italic; font-weight: 600; color: var(--accent-light); }
.footer__blurb { margin: 16px 0 20px; max-width: 34ch; font-size: 14.5px; line-height: 1.6; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: #e7ecdd; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.social a:hover { background: var(--accent-light); color: var(--forest-dark); border-color: transparent; }
.social .ic { width: 18px; height: 18px; }

.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer__col h3 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .04em; margin-bottom: 14px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 14.5px; color: rgba(var(--footer-ink), .72); text-decoration: none; transition: color .15s ease; }
.footer__col a:hover { color: #fff; }

.footer__news h3 { font-family: var(--font-display); font-size: 1.3rem; color: #fff; margin-bottom: 8px; }
.footer__news p { font-size: 14px; line-height: 1.55; margin-bottom: 16px; }
.news-form { display: flex; gap: 8px; }
.news-form input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; font-size: 14px; }
.news-form input::placeholder { color: rgba(255, 255, 255, .5); }
.news-form input:focus-visible { outline: none; border-color: var(--accent-light); box-shadow: 0 0 0 3px rgba(174, 194, 147, .25); }
.news-form .btn--primary { flex: none; padding: 12px 20px; background: var(--accent-light); color: var(--forest-dark); }
.news-form .btn--primary:hover { background: #bccfa4; box-shadow: none; }

.footer__disclosure { max-width: 900px; padding: 26px 0; font-size: 13px; line-height: 1.6; color: rgba(var(--footer-ink), .6); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 22px; font-size: 13px; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: rgba(var(--footer-ink), .6); text-decoration: none; }
.footer__legal a:hover { color: #fff; }

/* ---------- Scroll reveal (progressive enhancement) ---------- */
body.reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
body.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1280px) {
  .header__inner { gap: 16px; }
  .nav__list { gap: 0; }
  .nav__link { padding: 9px 9px; font-size: 14.5px; }
  .search--desktop input { width: 138px; }
  .brands__logos { gap: 18px; }
}

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .search--desktop { display: none; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 20px 22px;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 22px 34px rgba(40, 50, 30, .14);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open .nav-toggle .ic--menu { display: none; }
  body.nav-open .nav-toggle .ic--close { display: block; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__item { border-bottom: 1px solid #eee; }
  .nav__link { width: 100%; justify-content: space-between; padding: 15px 4px; font-size: 16px; border-radius: 0; }
  .nav__link:hover { background: none; }

  .submenu {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  /* Content-driven height: a grouped category can hold forty links. */
  .has-menu.is-open .submenu { max-height: none; }

  .submenu--mega { width: auto; max-width: none; padding: 0 0 8px 10px; }
  .submenu__all { border-bottom: none; margin-bottom: 0; border-radius: 8px; }
  .submenu__groups { display: block; }
  .submenu__heading { margin: 12px 12px 4px; }

  .search--mobile { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 4px 6px 4px 14px; background: var(--cream); border: 1px solid var(--border); border-radius: 12px; }
  .search--mobile .search__icon { width: 18px; height: 18px; color: var(--muted); }
  .search--mobile input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; padding: 11px 4px; font-size: 15px; }
}

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid > li:last-child { grid-column: 1 / -1; }
  /* The odd card out spans both columns, but keeps 16/9 like every other one:
     a fixed height here squeezed the frame to about 3:1 and cut the headline
     out of the art. */
  .footer__top { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .value:nth-child(odd)::before { display: none; }
}

@media (max-width: 1000px) {
  /* brands: wrap the note above a centered logo row before it can clip */
  .brands__inner { flex-wrap: wrap; justify-content: center; gap: 16px 26px; }
  .brands__divider { display: none; }
  .brands__logos { flex-wrap: wrap; justify-content: center; gap: 20px 32px; }
  .brands__logos li { flex: 0 0 auto; }
}

@media (max-width: 860px) {
  .announce__tag { display: none; }
  .announce__inner { justify-content: center; }
  .how__steps { grid-template-columns: 1fr; gap: 26px; max-width: 460px; margin-inline: auto; }
  .how__steps::before {
    top: 0; bottom: 0; left: 50%; right: auto; width: 2px; height: auto; transform: translateX(-1px);
    background: linear-gradient(180deg, transparent, rgba(174, 194, 147, .42) 6%, rgba(174, 194, 147, .42) 94%, transparent);
  }
}

@media (max-width: 680px) {
  .wrap { padding-inline: 20px; }
  .section { padding: 62px 0; }
  .how { padding: 64px 0; }
  .hero__inner { min-height: 0; }
  .hero__content { padding: 54px 0 60px; }
  .hero::before {
    background: linear-gradient(90deg,
        rgba(255, 255, 255, .96) 0%,
        rgba(255, 255, 255, .9) 46%,
        rgba(255, 255, 255, .74) 72%,
        rgba(255, 255, 255, .5) 100%);
  }
  .hero__media { background-position: center right 32%; }

  .section__head--row { flex-direction: column; align-items: flex-start; gap: 14px; }

  .announce__claims { gap: 10px 18px; font-size: 12.5px; }

  .values__grid { grid-template-columns: 1fr; gap: 22px; }
  .value { padding: 0 4px; }
  .value:not(:first-child)::before { display: none; }

  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-column: auto; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .cat-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .review-grid > li:last-child { grid-column: auto; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { flex: 1; justify-content: center; }
}

@media (max-width: 400px) {
  .footer__cols { grid-template-columns: 1fr; }
  .news-form { flex-wrap: wrap; }
  .news-form .btn--primary { width: 100%; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  body.reveal-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ==================================================================
   Sub-pages (Company: About · Our Process · Contact · Privacy · Affiliate)
   Appended below — no rule above is modified.
   ================================================================== */

/* Interior masthead */
.page-hero { background: var(--cream); border-bottom: 1px solid #efeade; }
.page-hero__inner { max-width: 860px; padding: clamp(48px,6.5vw,84px) 0 clamp(38px,5vw,58px); }
.crumbs { font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--forest); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { padding: 0 8px; color: #b9bdb0; }
.page-hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem,4.4vw,3.4rem); line-height: 1.06; letter-spacing: -.01em; color: var(--forest); margin: 14px 0 0; }
.page-hero__lede { margin-top: 18px; max-width: 60ch; font-size: 18px; line-height: 1.6; color: #565d51; }
.page-hero__meta { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Long-form article column (re-enables list markers the global reset removed) */
.prose { max-width: 720px; margin-inline: auto; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.5rem,2.6vw,1.95rem); color: var(--ink-head); margin-top: 1.9em; }
.prose h3 { font-size: 1.16rem; color: var(--ink-head); margin-top: 1.5em; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.75; color: var(--text); }
.prose a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--forest-hover); }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink-head); font-weight: 700; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2.3em 0; }

/* Soft callout / independence note */
.callout { background: var(--sage-soft); border: 1px solid #e1e8d4; border-left: 3px solid var(--accent); border-radius: 12px; padding: 20px 22px; }
.callout p { margin: 0; font-size: 15.5px; line-height: 1.65; color: #4c5247; }
.callout strong { color: var(--forest); }

/* Table of contents (legal pages) */
.toc { max-width: 720px; margin: 0 auto 26px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; }
.toc h2 { font-family: var(--font-sans); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.toc ol { list-style: none; padding: 0; columns: 2; column-gap: 28px; }
.toc li { break-inside: avoid; margin: 0 0 9px; }
.toc a { color: var(--forest); text-decoration: none; font-size: 14.5px; }
.toc a:hover { text-decoration: underline; }

/* Feature grid (About values / Process criteria) */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px 24px; }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: var(--sage); color: var(--forest); margin-bottom: 16px; }
.feature__icon .ic { width: 26px; height: 26px; }
.feature__title { font-size: 17px; font-weight: 700; color: var(--ink-head); margin-bottom: 8px; }
.feature p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* About — story + stats */
.about-story { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px,5vw,60px); align-items: center; }
.about-story__media { border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--border); }
.about-story__media img { width: 100%; height: 100%; object-fit: cover; }
.about-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.about-stat__num { font-family: var(--font-display); font-size: clamp(2.1rem,4vw,3rem); color: var(--forest); line-height: 1; }
.about-stat__label { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(28px,5vw,54px); align-items: start; }
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-head); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--ink-head); font-size: 15px; font-family: inherit; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(126,154,102,.18); }
.form-note { font-size: 13px; color: var(--muted); }
.contact-aside { background: var(--cream); border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.contact-aside h2 { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink-head); margin-bottom: 4px; }
.contact-list { display: grid; gap: 18px; margin-top: 20px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--sage); color: var(--forest); flex: none; }
.contact-item__icon .ic { width: 20px; height: 20px; }
.contact-item h3 { font-size: 15px; color: var(--ink-head); margin-bottom: 2px; }
.contact-item p { font-size: 14.5px; color: var(--muted); }
.contact-item a { font-size: 14.5px; color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }
.contact-item a:hover { color: var(--forest-hover); }

/* Interior CTA band */
.cta-band { background: var(--sage); border-radius: 20px; padding: clamp(34px,5vw,54px); text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.7rem,3vw,2.3rem); color: var(--ink-head); }
.cta-band p { max-width: 52ch; margin: 12px auto 24px; color: #5a6157; font-size: 16.5px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Interior responsive */
@media (max-width: 820px) {
  .about-story { grid-template-columns: 1fr; }
  .about-story__media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2,1fr); gap: 30px 16px; }
  .toc ol { columns: 1; }
}
@media (max-width: 460px) { .about-stats { grid-template-columns: 1fr; } }

/* Contact form states (validation + success) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 16px; border-radius: 10px; background: #fbeaea; border: 1px solid #e6c2c2; color: #8f2f2f; font-size: 14.5px; }
.field--error input, .field--error textarea { border-color: #cf6b6b; }
.field--error input:focus-visible, .field--error textarea:focus-visible { box-shadow: 0 0 0 3px rgba(191, 59, 59, .16); }
.field__error { color: #b23b3b; font-size: 13px; }
.contact-success .callout p { font-size: 16px; }
.contact-success .callout p + p { margin-top: 10px; }

/* Newsletter (footer) status messages — on the dark footer */
.news-success { font-size: 14.5px; line-height: 1.5; color: var(--accent-light); }
.news-error { margin-top: 8px; font-size: 13px; color: #e9b8b8; }

/* ==================================================================
   Article template v2 (article-template.php and future articles)
   Two-column layout per the article2.jpg mockup.
   Appended below; no rule above is modified. Shared classes used by
   company pages (.crumbs .prose .callout .toc .cta-band) only gain
   modifiers here.
   ================================================================== */

/* ---------- Utilities ---------- */
.u-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.article-wrap { width: 100%; max-width: 1248px; margin-inline: auto; padding: 28px 24px 76px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.article-main { min-width: 0; }
.article-side { display: grid; gap: 20px; min-width: 0; }
.section-block { margin-top: 46px; }
.article-h2 { font-family: var(--font-display); font-size: clamp(1.45rem, 2.3vw, 1.8rem); color: var(--ink-head); margin: 0 0 20px; }

/* ---------- Article head ---------- */
.cat-chip { display: inline-block; margin-top: 20px; padding: 6px 13px; border-radius: 999px; background: var(--sage); color: var(--forest); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.article-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.12; letter-spacing: -.01em; color: var(--ink-head); margin: 14px 0 0; }
.article-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }

/* Byline */
.byline { display: flex; align-items: center; gap: 12px; }
.byline__avatar { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; border: 1px solid var(--border); flex: none; background: #fff; }
.byline__meta { display: grid; gap: 3px; }
.byline__line { font-size: 14.5px; color: var(--text); }
.byline__line a { color: var(--forest); text-decoration: none; font-weight: 600; }
.byline__line a:hover { text-decoration: underline; }
.byline__line--sub { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.byline__sep { color: #c3c6bb; }
.byline__read { display: inline-flex; align-items: center; gap: 5px; }
.byline__read .ic { width: 15px; height: 15px; }

/* Affiliate micro-disclosure */
.affiliate-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.affiliate-note .ic { width: 16px; height: 16px; color: var(--accent); flex: none; }
.affiliate-note a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Figures ---------- */
.figure { margin: 0; }
.figure img { width: 100%; border-radius: 14px; border: 1px solid var(--border); }
.figure figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }
.figure--lead { margin-top: 24px; }
.figure--lead img { border-radius: 16px; }

/* ---------- Prose in the article column (full column width) ---------- */
.prose--article { max-width: none; margin-inline: 0; margin-top: 30px; }
.section-block .prose--article { margin-top: 0; }
.prose--article .article-h2 { margin-top: 0; }
.prose blockquote:not(.pullquote) { border-left: 3px solid var(--border); padding: 4px 0 4px 20px; color: #5a6157; font-style: italic; }

/* Callout variants (base .callout is shared with company pages) */
.callout--tip, .callout--note, .callout--warning, .callout--key { display: flex; gap: 12px; align-items: flex-start; }
.callout__icon { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--accent); }
.callout--note { background: #eef2f5; border-color: #dce4ea; border-left-color: #8ba3b5; }
.callout--note .callout__icon { color: #6d899c; }
.callout--note strong { color: #46606f; }
.callout--warning { background: #faf3e2; border-color: #efe3c6; border-left-color: var(--gold); }
.callout--warning .callout__icon { color: #b58421; }
.callout--warning strong { color: #8a6414; }
.callout--key { background: var(--sage); border-color: #d8e2c8; border-left-color: var(--forest); }
.callout--key .callout__icon { color: var(--forest); }

/* Pull-quote */
.pullquote { position: relative; margin: 2em 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--accent); }
.pullquote p { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--ink-head); }
.pullquote__mark { width: 26px; height: 26px; color: var(--accent-light); margin-bottom: 6px; }
.pullquote cite { display: block; margin-top: 10px; font-style: normal; font-size: 14px; color: var(--muted); }

/* At-a-glance spec table (inside prose) */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table caption { caption-side: top; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; }
.spec-table th, .spec-table td { padding: 10px 12px; border: 1px solid var(--border); }
.spec-table th { width: 38%; text-align: left; font-weight: 500; color: var(--muted); background: var(--cream-2); }
.spec-table td { color: var(--ink-head); font-weight: 600; }

/* ---------- Benefits strip ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 34px; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.benefit { position: relative; display: flex; align-items: center; gap: 12px; padding: 4px 18px; }
.benefit:first-child { padding-left: 0; }
.benefit:not(:first-child)::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 40px; background: var(--border); }
.benefit__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 999px; background: var(--sage-soft); color: var(--forest); }
.benefit__icon .ic { width: 21px; height: 21px; }
.benefit__title { font-size: 14.5px; font-weight: 700; color: var(--ink-head); }
.benefit__sub { margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }

/* ---------- Atoms: rank badge, stars, score, award, buy button ---------- */
.rank-badge { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--sage); color: var(--forest); font-size: 13.5px; font-weight: 700; flex: none; }
.rank-badge--lg { width: 34px; height: 34px; font-size: 15px; background: var(--accent); color: #fff; }

.stars { display: inline-flex; align-items: center; gap: 2px; }
.stars .ic { width: 16px; height: 16px; color: var(--gold); }
.stars__num { margin-left: 6px; font-size: 14px; font-weight: 700; color: var(--ink-head); }
.stars__half { position: relative; width: 16px; height: 16px; flex: none; }
.stars__half .ic { position: absolute; inset: 0; }
.stars__half .stars__base { color: #d8d4c8; }
.stars__half .stars__fill { clip-path: inset(0 50% 0 0); }
.stars .stars__empty { color: #d8d4c8; }
.stars--sm .ic { width: 13px; height: 13px; }
.stars--sm .stars__num { font-size: 12.5px; margin-left: 4px; }

.score { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--forest); color: #fff; font-size: 13.5px; font-weight: 700; }
.score__word { font-size: 12px; font-weight: 500; color: #dfe6d1; }

.award { display: inline-block; padding: 4px 11px; border-radius: 999px; background: #e2edd2; color: #3d5226; font-size: 12px; font-weight: 600; }
.award--value { background: #f7ecd4; color: #8a6414; }
.award--alt { background: var(--cream); color: #5a6157; border: 1px solid var(--border); }

.btn--buy { background: var(--forest); color: #fff; padding: 12px 20px; font-size: 14.5px; border-radius: 9px; }
.btn--buy:hover { background: var(--forest-hover); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(44, 55, 32, .24); }
.btn--buy .ic { width: 16px; height: 16px; }
.btn--sm { padding: 9px 14px; font-size: 13.5px; }
.btn--block { width: 100%; justify-content: center; }

.jump-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--forest); text-decoration: none; }
.jump-link:hover { text-decoration: underline; }
.jump-link .ic { width: 15px; height: 15px; }

/* ---------- Top picks at a glance table ---------- */
.glance { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
.glance table { width: 100%; min-width: 640px; border-collapse: collapse; }
.glance th { padding: 13px 14px; text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); background: var(--cream-2); border-bottom: 1px solid var(--border); }
.glance td { padding: 15px 14px; font-size: 14.5px; color: var(--text); vertical-align: middle; }
.glance tbody tr + tr td { border-top: 1px solid var(--border); }
.glance__product { display: flex; align-items: center; gap: 12px; }
.glance__product img { width: 56px; height: 56px; object-fit: contain; flex: none; background: var(--cream); border-radius: 10px; padding: 5px; }
.glance__name { font-size: 15px; font-weight: 600; color: var(--ink-head); margin-bottom: 5px; }
.glance__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 12px; }
.glance__foot .affiliate-note { margin-top: 0; }
.glance__foot .jump-link .ic { transform: rotate(0); }

/* ---------- Detailed review box ---------- */
.product-box { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-top: 24px; background: #fff; }
.product-box__media { float: left; width: 270px; display: grid; place-items: center; margin: 0 28px 28px 0; background: var(--cream); }
.product-box__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.product-box__body { padding: 26px 28px 24px; min-width: 0; }
.product-box__head { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.product-box__titling { display: grid; gap: 7px; justify-items: start; }
.product-box__name { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink-head); }
.product-box__head .btn--buy { margin-left: auto; flex: none; }
.product-box__rating { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-top: 12px; } /* right-aligned so it sits under the right-aligned Check Price button */
.product-box__rating::before { content: "Our rating:"; text-transform: uppercase; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.product-box__score { font-size: 15px; font-weight: 700; color: var(--ink-head); }
.product-box__verdict { clear: left; margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: var(--text); }
.product-box__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 18px; align-items: start; }
.product-box__more { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-size: 14.5px; font-weight: 600; color: var(--forest); text-decoration: none; }
.product-box__more:hover { text-decoration: underline; }
.product-box__more .ic { width: 16px; height: 16px; transition: transform .2s ease; }
.product-box__more:hover .ic { transform: translateX(3px); }

/* Checkmark feature list */
.checklist { display: grid; gap: 10px; align-content: start; }
.checklist li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.checklist .ic { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--accent); }

/* Specifications panel */
.specs { border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; background: var(--cream-2); }
.specs__title { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.specs dl { margin: 0; }
.specs__row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 7px 0; }
.specs__row + .specs__row { border-top: 1px solid #eceadf; }
.specs__row dt { font-size: 13.5px; color: var(--muted); }
.specs__row dd { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--ink-head); text-align: right; }

/* Pros and cons columns */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 18px; align-items: start; }
.proscons__col h4 { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin: 0 0 10px; }
.proscons__col h4 .ic { width: 17px; height: 17px; }
.proscons__col--pro h4 { color: var(--forest); }
.proscons__col--pro h4 .ic { color: var(--accent); }
.proscons__col--con h4 { color: #9c5050; }
.proscons__col ul { display: grid; gap: 8px; }
.proscons__col li { position: relative; padding-left: 16px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.proscons__col li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 999px; background: var(--accent-light); }
.proscons__col--con li::before { background: #d8b3b3; }

/* ---------- Mid-article CTA banner ---------- */
.cta-banner { display: grid; grid-template-columns: 220px minmax(0, 1fr); border: 1px solid #e1e8d4; border-radius: 16px; overflow: hidden; background: var(--sage-soft); margin-top: 46px; }
.cta-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner__body { padding: 24px 28px; }
.cta-banner__title { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink-head); margin: 0; }
.cta-banner__body p { margin: 8px 0 16px; font-size: 15px; color: #5a6157; }

/* ---------- Condensed ranked list item ---------- */
.rank-item { display: flex; align-items: center; gap: 18px; border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; margin-top: 14px; background: #fff; }
.rank-item__num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--sage); color: var(--forest); font-size: 14.5px; font-weight: 700; flex: none; }
.rank-item__img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.rank-item__body { flex: 1; min-width: 0; }
.rank-item__name { font-size: 16px; font-weight: 700; color: var(--ink-head); margin-bottom: 3px; }
.rank-item__desc { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.rank-item__aside { display: grid; gap: 8px; justify-items: end; flex: none; }
.rank-item__price { font-size: 16px; font-weight: 700; color: var(--ink-head); }

/* ---------- Full comparison table ---------- */
.compare { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
.compare table { width: 100%; min-width: 680px; border-collapse: collapse; }
.compare th { padding: 13px 14px; text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); background: var(--cream-2); border-bottom: 1px solid var(--border); }
.compare td { padding: 14px; font-size: 14.5px; color: var(--text); vertical-align: middle; }
.compare td strong { color: var(--ink-head); }
.compare tbody tr + tr td { border-top: 1px solid var(--border); }
.compare tbody tr:hover td { background: var(--cream-2); }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; font-size: 15.5px; font-weight: 600; color: var(--ink-head); cursor: pointer; list-style: none; border-radius: 12px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__caret { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform .22s ease; }
.faq__item[open] .faq__caret { transform: rotate(180deg); }
.faq__item[open] summary { padding-bottom: 10px; }
.faq__answer { padding: 0 18px 16px; }
.faq__answer p { font-size: 15px; line-height: 1.65; color: var(--text); }
.faq__answer p + p { margin-top: 10px; }

/* ---------- Author bio card ---------- */
.author-card { display: flex; gap: 20px; align-items: flex-start; background: var(--cream); border: 1px solid var(--border); border-radius: 16px; padding: 24px 26px; margin-top: 46px; }
.author-card__photo { width: 72px; height: 72px; border-radius: 999px; object-fit: cover; border: 1px solid var(--border); background: #fff; flex: none; }
.author-card__kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.author-card__name { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink-head); margin: 3px 0 1px; }
.author-card__cred { font-size: 13.5px; color: var(--muted); }
.author-card__bio { margin-top: 9px; font-size: 14.5px; line-height: 1.6; color: var(--text); }

/* ---------- Read next cards ---------- */
.readnext { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.readnext__card { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: #fff; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.readnext__card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(40, 50, 30, .09); border-color: #d9ddca; }
.readnext__kicker { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.readnext__title { flex: 1; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink-head); }
.readnext__go { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--forest); }
.readnext__go .ic { width: 15px; height: 15px; transition: transform .2s ease; }
.readnext__card:hover .readnext__go .ic { transform: translateX(3px); }

/* Closing CTA band spacing inside the article column */
.cta-band--article { margin-top: 48px; }

/* ---------- Keep exploring: the article's hubs, above the footer (includes/article-hubs.php) ---------- */
.article-hubs { border-top: 1px solid var(--border); background: var(--cream); }
.article-hubs__inner { width: 100%; max-width: 1248px; margin-inline: auto; padding: 26px 24px; }
.article-hubs .subnav { margin-top: 0; }

/* ---------- Sidebar cards ---------- */
.side-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; }
.side-card__title { display: flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 15.5px; font-weight: 700; color: var(--ink-head); margin: 0 0 14px; }
.side-card__title .ic { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* Sticky sidebar buy box (desktop only; see docs/superpowers/specs/2026-07-26-sticky-sidebar-buy-box-design.md) */
.side-sticky-buy { display: none; }
.side-sticky-buy__head { display: flex; align-items: center; gap: 12px; }
.side-sticky-buy__media { width: 62px; height: 62px; flex: none; border-radius: 10px; overflow: hidden; background: var(--sage-soft); }
.side-sticky-buy__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.side-sticky-buy__name { font-size: 14.5px; font-weight: 700; color: var(--ink-head); margin: 0 0 5px; line-height: 1.25; }
.side-sticky-buy__pitch { font-size: 13.5px; color: var(--muted); margin: 12px 0 14px; }
.side-sticky-buy .stars .ic { width: 14px; height: 14px; }
.side-sticky-buy .stars__half { width: 14px; height: 14px; }
.side-sticky-buy .stars__num { font-size: 13px; }

/* Key takeaways */
.takeaways { background: var(--sage-soft); border-color: #e1e8d4; }
.takeaways ul { display: grid; gap: 11px; }
.takeaways li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.takeaways li .ic { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent); }
.takeaways strong { color: var(--forest); }

/* Sidebar table of contents */
.side-toc ol { display: grid; gap: 9px; counter-reset: toc; }
.side-toc li { display: flex; align-items: baseline; gap: 10px; }
.side-toc li::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-size: 12px; font-weight: 700; color: var(--accent); }
.side-toc a { font-size: 14.5px; color: var(--forest); text-decoration: none; }
.side-toc a:hover { text-decoration: underline; }

/* Mobile table of contents: hidden on desktop, swaps in for .side-toc when the
   sidebar stacks below the article (≤1024px) */
.toc-mobile { display: none; margin-top: 26px; }
.toc-mobile details { border: 1px solid var(--border); border-radius: 12px; background: var(--cream-2); }
.toc-mobile summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font-size: 15px; font-weight: 700; color: var(--ink-head); cursor: pointer; list-style: none; }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile__caret { width: 17px; height: 17px; color: var(--muted); transition: transform .22s ease; }
.toc-mobile details[open] .toc-mobile__caret { transform: rotate(180deg); }
.toc-mobile ol { display: grid; gap: 9px; counter-reset: toc; padding: 2px 18px 16px; }
.toc-mobile li { display: flex; align-items: baseline; gap: 10px; }
.toc-mobile li::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-size: 12px; font-weight: 700; color: var(--accent); }
.toc-mobile a { font-size: 14.5px; color: var(--forest); text-decoration: none; }
.toc-mobile a:hover { text-decoration: underline; }

/* Compare CTA card */
.side-cta p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 15px; }

/* Top picks mini-list */
.side-picks__list { display: grid; gap: 15px; margin-bottom: 17px; }
.side-picks__list li { display: flex; align-items: center; gap: 12px; }
.side-picks__list .rank-badge { width: 24px; height: 24px; font-size: 12px; }
.side-picks__list img { width: 52px; height: 52px; object-fit: contain; flex: none; background: var(--cream); border-radius: 10px; padding: 4px; }
.side-picks__list li > div { min-width: 0; }
.side-picks__name { font-size: 14.5px; font-weight: 600; color: var(--ink-head); line-height: 1.3; }
.side-picks__label { margin: 2px 0 3px; font-size: 12.5px; color: var(--muted); }

/* What to look for */
.side-look__list { display: grid; gap: 15px; }
.side-look__list li { display: flex; align-items: flex-start; gap: 12px; }
.side-look__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--sage); color: var(--forest); }
.side-look__icon .ic { width: 19px; height: 19px; }
.side-look__name { font-size: 14.5px; font-weight: 600; color: var(--ink-head); }
.side-look__sub { margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* Related articles */
.side-related__list { display: grid; gap: 4px; margin: -6px; }
.side-related__list a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; text-decoration: none; transition: background .15s ease; }
.side-related__list a:hover { background: var(--cream-2); }
.side-related__list img { width: 56px; height: 56px; object-fit: contain; flex: none; background: var(--cream); border-radius: 10px; padding: 4px; }
.side-related__title { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink-head); }
.side-related__list a:hover .side-related__title { color: var(--forest); }
.side-related__date { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }

/* ==================================================================
   Article responsive
   ================================================================== */

/* Desktop only: the sidebar is a real column here, so the sticky buy box can travel.
   align-self:stretch gives the column the article's full height (the parent sets
   align-items:start, which would otherwise cap the sticky element's travel at the
   height of the sidebar cards). align-content:start is required with it, or the
   auto-sized rows would stretch to fill and distort every other side-card. */
@media (min-width: 1025px) {
  .article-side { align-self: stretch; align-content: start; }
  .side-sticky-buy { display: block; position: sticky; top: calc(var(--header-h) + 16px); }
}

@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-side { max-width: 560px; }
  .toc-mobile { display: block; }
  .side-toc { display: none; }
}

@media (max-width: 900px) {
  .benefits { grid-template-columns: 1fr 1fr; gap: 16px 0; padding: 20px 0; }
  .benefit:nth-child(odd)::before { display: none; }
  .product-box__media { float: none; width: auto; margin-right: 0; padding: 0; }
  .product-box__media img { max-height: 240px; }
  .readnext { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .article-wrap { padding-inline: 20px; padding-bottom: 60px; }
  .section-block { margin-top: 38px; }
  .article-meta { align-items: flex-start; flex-direction: column; }

  .product-box__cols, .proscons { grid-template-columns: 1fr; }
  .product-box__head .btn--buy { margin-left: 0; }
  .product-box__rating { justify-content: flex-start; }
  .product-box__body { padding: 20px; }

  .cta-banner { grid-template-columns: 1fr; }
  .cta-banner__media img { max-height: 170px; }

  .rank-item { flex-wrap: wrap; }
  .rank-item__aside { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }

  .author-card { flex-direction: column; }

  /* Tables collapse to stacked cards */
  .glance, .compare { border: none; border-radius: 0; overflow: visible; }
  .glance table, .compare table { min-width: 0; display: block; }
  .glance thead, .compare thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); }
  .glance tbody, .compare tbody { display: block; }
  .glance tr, .compare tr { display: block; border: 1px solid var(--border); border-radius: 14px; padding: 8px 16px; background: #fff; }
  .glance tr + tr, .compare tr + tr { margin-top: 12px; }
  .glance td, .compare td { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; font-size: 14px; }
  .glance tbody tr + tr td, .compare tbody tr + tr td { border-top: none; }
  .glance td + td, .compare td + td { border-top: 1px solid #f0ede4; }
  .glance td::before, .compare td::before { content: attr(data-label); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); flex: none; }
  .glance td[data-label=""]::before, .compare td[data-label=""]::before { content: none; }
  .glance td[data-label=""] .btn { width: 100%; justify-content: center; }
  .glance__product { justify-content: flex-end; text-align: right; }
  .compare tbody tr:hover td { background: none; }
}

@media (max-width: 480px) {
  .benefits { grid-template-columns: 1fr; gap: 14px; }
  .benefit { padding: 0; }
  .benefit:not(:first-child)::before { display: none; }
}

/* ==================================================================
   Author profiles (author-<slug>.php pages, About team grid,
   article byline/author-card avatars). Appended; no rule above
   is modified.
   ================================================================== */

/* Profile page hero */
.author-hero { display: flex; align-items: center; gap: 30px; margin-top: 22px; }
.author-hero__photo { width: 124px; height: 124px; border-radius: 999px; border: 1px solid var(--border); background: #fff; flex: none; }
.author-hero__name { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-top: 6px; }
.author-hero__cred { margin-top: 10px; font-size: 15.5px; color: #565d51; }

/* Expertise chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip-tag { display: inline-block; padding: 6px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 13px; color: var(--text); }

/* About page team grid */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.team-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 20px 24px; background: #fff; border: 1px solid var(--border); border-radius: 16px; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(40, 50, 30, .09); border-color: #d9ddca; }
.team-card__photo { width: 96px; height: 96px; border-radius: 999px; border: 1px solid var(--border); background: #fff; }
.team-card__name { margin-top: 16px; font-size: 16.5px; font-weight: 700; color: var(--ink-head); }
.team-card__role { margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--forest); }
.team-card__line { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--muted); flex: 1; }
.team-card__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--forest); }
.team-card__go .ic { width: 15px; height: 15px; transition: transform .2s ease; }
.team-card:hover .team-card__go .ic { transform: translateX(4px); }

/* Article author-card profile link */
.author-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--forest); text-decoration: none; }
.author-card__more:hover { text-decoration: underline; }
.author-card__more .ic { width: 15px; height: 15px; }

@media (max-width: 680px) {
  .author-hero { flex-direction: column; align-items: flex-start; gap: 18px; }
  .author-hero__photo { width: 96px; height: 96px; }
}

/* ============ Category pages ============ */
.page-hero--cat .page-hero__inner { padding-bottom: clamp(34px, 4.5vw, 52px); }
.subnav { margin-top: 26px; }
.subnav--brands { margin-top: 14px; }
.subnav--brands a { font-weight: 500; background: transparent; }
.subnav ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.subnav__intro { align-self: center; font-size: 14px; font-weight: 600; color: var(--muted); padding-right: 2px; }
.subnav a {
  display: inline-block; padding: 9px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--forest); text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.subnav a:hover { border-color: var(--forest); background: var(--sage-soft); transform: translateY(-1px); }
/* grouped sub-nav: one headed pill row per group (mka_groups()) */
.subnav--grouped { display: grid; gap: 16px; }
.subnav__heading { margin: 0 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.cat-empty { max-width: 720px; margin: 0 auto 56px; }
.cat-empty__head { margin-top: 0; }

/* ============ Hub anatomy (category, sub-category, collection pages) ============ */
.hub-lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 34px; align-items: center; margin-bottom: 52px; background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.hub-lead__media { display: block; align-self: stretch; }
/* 16/9, matching every registry image, so the lead shows the whole frame:
   these images carry their headline baked into the art, and a box of any other
   proportion crops the words off. */
.hub-lead__media img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hub-lead__body { padding: 28px 32px 28px 0; }
.hub-lead__eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.hub-lead__title { margin: 0 0 12px; font-family: var(--font-display); font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.18; color: var(--ink-head); }
.hub-lead__title a { color: inherit; text-decoration: none; }
.hub-lead__title a:hover { color: var(--forest); }
.hub-lead__excerpt { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--text); }
.hub-section { margin-top: 52px; }
.hub-section__title { display: flex; align-items: baseline; gap: 10px; margin: 0 0 18px; font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.7rem); color: var(--ink-head); }
.hub-section__title a { color: inherit; text-decoration: none; }
.hub-section__title a:hover { color: var(--forest); }
.hub-section__sub { display: flex; align-items: baseline; gap: 10px; margin: 0 0 16px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink-head); }
.hub-family { margin-top: 36px; }
.hub-section > .hub-family:first-of-type { margin-top: 0; }
.hub-more { margin: 16px 0 0; }
.hub-more__link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--forest); text-decoration: none; transition: border-color .18s ease, background .18s ease; }
.hub-more__link:hover { border-color: var(--forest); background: var(--sage-soft); }
.hub-more__link .ic { width: 15px; height: 15px; }
.hub-more summary { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--forest); cursor: pointer; list-style: none; transition: border-color .18s ease, background .18s ease; }
.hub-more summary::-webkit-details-marker { display: none; }
.hub-more summary:hover { border-color: var(--forest); background: var(--sage-soft); }
.hub-more summary .ic { width: 15px; height: 15px; transition: transform .22s ease; }
.hub-more[open] summary { margin-bottom: 16px; }
.hub-more[open] summary .ic { transform: rotate(180deg); }
.hub-more__open { display: none; }
.hub-more[open] .hub-more__open { display: inline; }
.hub-more[open] .hub-more__closed { display: none; }
.hub-section__sub a { color: inherit; text-decoration: none; }
.hub-section__sub a:hover { color: var(--forest); }
.hub-browse { margin-top: 52px; }
.hub-browse .subnav { margin-top: 0; }
@media (max-width: 860px) {
  .hub-lead { grid-template-columns: 1fr; gap: 0; }
  .hub-lead__body { padding: 20px 22px 24px; }
}

/* ============ Search page ============ */
.search--page {
  max-width: 560px;
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding-left: 16px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.search--page:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(126, 154, 102, .18); }
.search--page input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; padding: 13px 8px; font-size: 16px; color: var(--ink-head); }
.search--page input::placeholder { color: #9a9e93; }
.search--page .search__btn { flex: none; }
.search-count { margin: 0 0 24px; color: var(--muted); font-size: 15px; }

/* ---------- Calculator tool (legacy calculator pages, migrated 2026-09-18) ---------- */
.calc { margin: 8px 0 40px; padding: 28px; background: var(--cream-2); border: 1px solid var(--border); border-radius: 18px; }
.calc__title { margin: 0 0 4px; font-family: var(--font-display); font-size: 24px; color: var(--ink-head); }
.calc__sub { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.calc__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.calc__tab { padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink-head); font: 500 14px var(--font-sans); cursor: pointer; }
.calc__tab[aria-pressed="true"], .calc__tab[aria-selected="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.calc__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 20px; }
.calc__group { margin: 0 0 20px; padding: 0; border: 0; }
.calc__legend { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.calc__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.calc__label { font-size: 14px; font-weight: 600; color: var(--ink-head); }
.calc__hint { font-size: 13px; color: var(--muted); }
.calc__row { display: flex; gap: 8px; }
.calc__row > * { min-width: 0; }
.calc input[type="number"], .calc input[type="text"], .calc select, .calc textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff;
  color: var(--ink-head); font: 16px var(--font-sans);
}
.calc textarea { min-height: 120px; resize: vertical; }
.calc input:focus, .calc select:focus, .calc textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(126, 154, 102, .18); }
.calc input[type="range"] { width: 100%; accent-color: var(--forest); }
.calc__row select { flex: 0 0 96px; width: 96px; }
.calc__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.calc__error { margin: 4px 0 0; font-size: 13px; color: #a2432f; }
.calc__result { margin-top: 24px; padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.calc__result[hidden] { display: none; }
.calc__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 0; }
.calc__stat { padding: 14px 16px; background: var(--sage-soft); border-radius: 12px; }
.calc__stat dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.calc__stat dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--ink-head); }
.calc__note { margin: 16px 0 0; font-size: 14.5px; color: var(--text); }
.calc__table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 14.5px; }
.calc__table th, .calc__table td { padding: 9px 10px; border-bottom: 1px solid var(--border); text-align: left; }
.calc__table th { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) {
  .calc { padding: 20px 16px; }
  .calc__stat dd { font-size: 22px; }
}
