/* ==========================================================================
   Tempdrop Guide — independent editorial affiliate site
   Design system: deep plum header, warm-white article surface,
   berry accent for commercial actions, teal accent for research/data.
   ========================================================================== */

/* --------------------------------------------------------------- Tokens */
:root {
  --plum-deep: #2A1026;
  --plum: #3C1836;
  --plum-mid: #57274E;
  --plum-line: rgba(255, 255, 255, 0.16);

  --warm-white: #FDFAF7;
  --paper: #FFFFFF;
  --rose-surface: #FBF0F3;
  --gray-surface: #F2F3F5;
  --teal-surface: #E9F2F2;

  --berry: #AE1B55;
  --berry-dark: #8D1444;
  --berry-ink: #7C123C;
  --coral: #D2552F;

  --teal: #0F6065;
  --teal-dark: #0B4B4F;

  --slate: #2E3440;
  --slate-soft: #535A69;
  --slate-faint: #6E7482;

  --border: #E4DEDA;
  --border-strong: #CFC7C2;

  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(42, 16, 38, 0.06);
  --shadow-md: 0 2px 10px rgba(42, 16, 38, 0.08);

  --measure: 800px;          /* long-form article column */
  --wide: 1200px;            /* hero, tables, related guides */
  --header-h: 66px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
}

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

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

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--slate);
  font-family: var(--sans);
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.7;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  color: var(--plum-deep);
  line-height: 1.25;
  margin: 0 0 0.5em;
  font-weight: 700;
  overflow-wrap: break-word;
}

p, ul, ol, table { margin: 0 0 1.15em; }

a { color: var(--berry-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--berry-dark); }

strong { color: var(--plum-deep); }

:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 2px;
  border-radius: 3px;
}

.plum-bg :focus-visible,
.site-header :focus-visible { outline-color: #FFD2E2; }

/* --------------------------------------------------------------- Utilities */
.wrap {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.measure {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
}

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

/* Last-child spacing utility. Exists so no markup needs an inline `style`
   attribute, which keeps the strict Content-Security-Policy (no
   'unsafe-inline' in style-src) working. Do not reintroduce inline styles. */
.mb-0 { margin-bottom: 0; }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 200;
  background: var(--paper);
  color: var(--berry-ink);
  font-weight: 700;
  padding: 0.75rem 1.1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
  transition: top 0.15s ease-in-out;
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--plum);
  color: #F7EDF3;
  border-bottom: 1px solid var(--plum-line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  flex: 0 0 auto;
  padding: 0.35rem 0;
}
.brand:hover { color: #FFFFFF; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  flex: 0 0 32px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--plum-mid), var(--plum-deep));
  border: 1px solid var(--plum-line);
  font-family: var(--serif);
  font-size: 1rem;
  color: #FFC9DD;
}

.brand-text small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D9B9CD;
  line-height: 1.3;
}

.nav-toggle {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  background: transparent;
  color: #FFFFFF;
  border: 1px solid var(--plum-line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.nav-toggle-bars { display: block; width: 18px; }
.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.nav-toggle-bars span + span { margin-top: 4px; }

.site-nav { margin-left: auto; }

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: block;
  padding: 0.5rem 0.55rem;
  color: #EFDCE7;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
}
.nav-list a:hover { background: rgba(255, 255, 255, 0.1); color: #FFFFFF; }
.nav-list a[aria-current="page"] {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 -2px 0 #FF9FC2;
}

.header-cta {
  flex: 0 0 auto;
  margin-left: 0.5rem;
}

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--berry);
  border-color: var(--berry-dark);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--berry-dark); color: #FFFFFF; }

.btn-secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--plum-deep);
}
.btn-secondary:hover { background: var(--gray-surface); color: var(--plum-deep); }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); color: #FFFFFF; }

.btn-sm {
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  font-size: 0.9375rem;
}

.btn-block { display: flex; width: 100%; }

.ext-note {
  font-size: 0.8125rem;
  color: var(--slate-faint);
}

/* --------------------------------------------------------------- Hero */
.hero {
  background:
    radial-gradient(1200px 420px at 12% 0%, var(--plum-mid) 0%, transparent 62%),
    linear-gradient(175deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: #F6E9F0;
  position: relative;
  overflow: hidden;
  padding: 2.75rem 0 2.5rem;
}

.hero-motif {
  position: absolute;
  inset: auto 0 -10px 0;
  width: 100%;
  height: 190px;
  opacity: 0.3;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F0B8CF;
  margin: 0 0 0.9rem;
}

.hero h1 {
  color: #FFFFFF;
  font-size: clamp(1.85rem, 4.6vw, 2.9rem);
  letter-spacing: -0.015em;
  margin-bottom: 0.7rem;
}

.hero-lede {
  font-size: 1.125rem;
  color: #EBD8E4;
  max-width: 46ch;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  font-size: 0.875rem;
  color: #D9BACD;
  margin: 0 0 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 0.9rem;
}

.hero .disclosure-inline {
  color: #E2C6D6;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

/* --------------------------------------------------------------- Offer card */
.offer-card {
  background: var(--paper);
  color: var(--slate);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(20, 6, 18, 0.22);
  padding: 1.35rem 1.35rem 1.2rem;
}

.offer-card h2 {
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--berry-ink);
  margin-bottom: 0.9rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}
.price-now {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--plum-deep);
  line-height: 1;
}
.price-was {
  font-size: 1.0625rem;
  color: var(--slate-faint);
  text-decoration: line-through;
}
.price-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--berry);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.price-item {
  font-size: 0.9375rem;
  color: var(--slate-soft);
  margin: 0 0 1rem;
}

.offer-facts {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  border-top: 1px solid var(--border);
}
.offer-facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}
.offer-facts dt, .offer-facts .fact-label { color: var(--slate-soft); }
.offer-facts .fact-value { font-weight: 700; color: var(--plum-deep); text-align: right; }

.offer-note {
  font-size: 0.8125rem;
  color: var(--slate-faint);
  margin: 0.8rem 0 0;
}

/* --------------------------------------------------------------- Main + layout */
.page-main { display: block; }

.article-shell {
  padding: 2rem 0 3rem;
}

.breadcrumbs {
  font-size: 0.875rem;
  color: var(--slate-faint);
  padding: 0.9rem 0 0;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}
.breadcrumbs li { display: flex; gap: 0.4rem; align-items: center; }
.breadcrumbs li + li::before { content: "/"; color: var(--border-strong); }
.breadcrumbs a { color: var(--slate-soft); }

.page-head { padding: 2.25rem 0 0; }
.page-head h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.5rem);
  letter-spacing: -0.015em;
}
.page-head .eyebrow { color: var(--berry-ink); }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: 0.875rem;
  color: var(--slate-faint);
  margin: 0 0 1.25rem;
}
.article-meta .meta-sep { color: var(--border-strong); }

/* --------------------------------------------------------------- Article body */
.article-body h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  margin-top: 2.4rem;
  padding-top: 0.2rem;
  scroll-margin-top: calc(var(--header-h) + 18px);
}
.article-body h3 {
  font-size: 1.125rem;
  margin-top: 1.7rem;
  color: var(--plum-mid);
  scroll-margin-top: calc(var(--header-h) + 18px);
}
.article-body > h2:first-child { margin-top: 0.5rem; }

.article-body ul, .article-body ol { padding-left: 1.3rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body li > ul, .article-body li > ol { margin-top: 0.4rem; }

.article-body em { color: var(--slate-soft); }

.lede {
  font-size: 1.1875rem;
  color: var(--slate-soft);
}

hr.rule {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* --------------------------------------------------------------- Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.3rem;
  margin: 0 0 1.6rem;
}

.card > :last-child { margin-bottom: 0; }

.card-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.0625rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.card-verdict {
  background: var(--rose-surface);
  border-color: #EBD3DC;
}
.card-verdict .card-title { color: var(--berry-ink); }

.card-research {
  background: var(--teal-surface);
  border-color: #CFE3E3;
}
.card-research .card-title { color: var(--teal-dark); }
.card-research strong { color: var(--teal-dark); }

.card-caution {
  background: #FFF8EC;
  border-color: #EFDCC0;
}
.card-caution .card-title { color: #8A5A11; }

.card-neutral { background: var(--gray-surface); border-color: #E2E4E8; }
.card-neutral .card-title { color: var(--slate); }

.card-checklist { background: var(--paper); }
.card-checklist .card-title { color: var(--plum-mid); }

.rating-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  background: var(--plum);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-weight: 700;
  margin: 0 0 0.9rem;
}
.rating-badge .rating-num { font-size: 1.25rem; }
.rating-badge .rating-den { font-size: 0.875rem; color: #E7C6D8; }

/* Metric grid (research / pricing figures) */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
}
.metric {
  background: var(--paper);
  border: 1px solid #CFE3E3;
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
}
.metric-value {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1.2;
}
.metric-label {
  display: block;
  font-size: 0.875rem;
  color: var(--slate-soft);
}

/* Pros / cons */
.split-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 0 0 1.6rem;
}
.split-grid > .card { margin: 0; }
.card-pros { background: #F2F8F4; border-color: #D2E5D9; }
.card-pros .card-title { color: #1E6640; }
.card-cons { background: #FBF1F0; border-color: #EAD5D2; }
.card-cons .card-title { color: #9C3524; }

.tick-list, .cross-list { list-style: none; padding-left: 0; margin-bottom: 0; }
.tick-list li, .cross-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
}
.tick-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: #1E6640; font-weight: 700;
}
.cross-list li::before {
  content: "✕";
  position: absolute; left: 0; top: 0;
  color: #9C3524; font-weight: 700;
}

/* Numbered step list */
.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: 0.9rem;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0.05rem;
  width: 1.85rem; height: 1.85rem;
  display: grid; place-items: center;
  background: var(--plum);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 0.9375rem;
  font-weight: 700;
}

/* --------------------------------------------------------------- Disclosures */
.disclosure-inline {
  display: block;
  font-size: 0.875rem;
  color: var(--slate-soft);
  background: var(--gray-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--berry);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.7rem 0.9rem;
  margin: 0 0 1.25rem;
}

.notice {
  font-size: 0.9375rem;
  color: var(--slate-soft);
  background: var(--paper);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin: 0 0 1.5rem;
}
.notice strong { color: var(--plum-deep); }

/* --------------------------------------------------------------- CTA block */
.cta-block {
  background: linear-gradient(170deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: #F4E6EE;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  margin: 2.5rem 0 0;
  position: relative;
  overflow: hidden;
}
.cta-block h2 { color: #FFFFFF; font-size: 1.375rem; }
.cta-block p { color: #E7D2E0; }
.cta-block .ext-note { color: #CFAFC4; }
.cta-block .cta-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin: 1.1rem 0 0.9rem;
}
.cta-motif {
  position: absolute;
  right: -40px; bottom: -30px;
  width: 320px; height: 130px;
  opacity: 0.22;
  pointer-events: none;
}

.inline-cta {
  background: var(--rose-surface);
  border: 1px solid #EBD3DC;
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  margin: 2rem 0;
}
.inline-cta > :last-child { margin-bottom: 0; }
.inline-cta h3 { margin-top: 0; color: var(--berry-ink); }

/* --------------------------------------------------------------- Tables */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  margin: 0 0 1.6rem;
  max-width: 100%;
}
.table-scroll:focus-visible { outline-offset: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin: 0;
  min-width: 34rem;
}
caption {
  text-align: left;
  font-size: 0.875rem;
  color: var(--slate-faint);
  padding: 0.75rem 0.9rem 0;
}
th, td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
thead th {
  background: var(--plum);
  color: #FFFFFF;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  border-bottom: 0;
  position: relative;
}
tbody th { color: var(--plum-deep); font-weight: 700; background: var(--warm-white); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: #FCFAF9; }

.table-note { font-size: 0.875rem; color: var(--slate-faint); margin: -1rem 0 1.6rem; }

/* --------------------------------------------------------------- TOC */
.toc {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  margin: 0 0 2rem;
  box-shadow: var(--shadow-sm);
}
.toc[hidden] { display: none; }
.toc h2 {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: 0.7rem;
}
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 1.75rem;
}
.toc li { margin: 0 0 0.35rem; break-inside: avoid; }
.toc a {
  display: block;
  padding: 0.15rem 0;
  font-size: 0.9375rem;
  color: var(--slate-soft);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 0.6rem;
}
.toc a:hover { color: var(--berry-ink); border-left-color: var(--border-strong); }
.toc a.is-active {
  color: var(--berry-ink);
  font-weight: 600;
  border-left-color: var(--berry);
}
.toc-more {
  margin: 0.6rem 0 0;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------- FAQ
   Every FAQ on the site is a native <details class="faq-item"> with a
   <summary> and a .faq-answer panel. The detailed presentation rules live
   further down (".faq details.faq-item") and in tempdrop-theme.css.
   The old JS-driven button/panel variant (.faq-trigger, .faq-icon,
   .faq-panel, .faq-question, .js-on) was removed: no markup used it and no
   script set `.js-on`, so those rules were dead weight. */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-of-type { border-top: 1px solid var(--border); }

/* --------------------------------------------------------------- Related guides */
.related {
  background: var(--gray-surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 3rem;
}
.related h2 { font-size: 1.375rem; margin-bottom: 1.25rem; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: var(--slate);
  box-shadow: var(--shadow-sm);
}
.related-card:hover { border-color: var(--berry); color: var(--slate); }
.related-card .rc-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-faint);
}
.related-card .rc-title { font-weight: 700; color: var(--plum-deep); }
.related-card .rc-desc { font-size: 0.9375rem; color: var(--slate-soft); }

/* --------------------------------------------------------------- Footer */
.site-footer {
  background: var(--plum-deep);
  color: #DCC4D3;
  padding: 2.5rem 0 2rem;
  font-size: 0.9375rem;
}
.site-footer a { color: #F2D9E5; }
.site-footer a:hover { color: #FFFFFF; }

.footer-top {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--plum-line);
}
.footer-brand .brand { margin-bottom: 0.6rem; }
.footer-brand p { color: #C4A6B8; max-width: 44ch; }

.footer-nav h2 {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E7C9D9;
  margin-bottom: 0.75rem;
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.15rem 1rem;
}
.footer-nav a {
  display: block;
  padding: 0.4rem 0;
  text-decoration: none;
}
.footer-nav a:hover { text-decoration: underline; }

.footer-legal { padding-top: 1.5rem; }
.footer-legal p { color: #BFA0B4; font-size: 0.875rem; max-width: 78ch; }
.footer-legal p:last-child { margin-bottom: 0; }
.footer-legal strong { color: #F2D9E5; }

/* --------------------------------------------------------------- 404 */
.error-page { padding: 4rem 0 5rem; text-align: center; }
.error-page h1 { font-size: clamp(2rem, 6vw, 3rem); }
.error-code {
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--berry);
  line-height: 1;
  margin: 0 0 0.5rem;
}
.error-page .related-grid { text-align: left; margin-top: 2rem; }

/* --------------------------------------------------------------- Responsive */
@media (max-width: 1099px) {
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--plum-deep);
    border-top: 1px solid var(--plum-line);
    border-bottom: 1px solid var(--plum-line);
    padding: 0.6rem 1.25rem 1rem;
    box-shadow: 0 14px 24px rgba(20, 6, 18, 0.28);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .site-nav.is-open { display: block; }
  .nav-toggle { display: inline-flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a {
    padding: 0.8rem 0.5rem;
    font-size: 1rem;
    border-radius: 6px;
    border-bottom: 1px solid var(--plum-line);
  }
  .nav-list li:last-child a { border-bottom: 0; }
  .header-cta { display: none; }
  .nav-cta { display: block; margin-top: 0.9rem; }
}

@media (min-width: 1100px) {
  .nav-cta { display: none; }
}

@media (min-width: 720px) {
  .split-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1.1fr 1fr; }
  .offer-facts li { font-size: 0.9375rem; }
}

@media (min-width: 960px) {
  .hero { padding: 3.5rem 0 3.25rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.85fr); gap: 3rem; }
  .offer-card { padding: 1.6rem 1.6rem 1.4rem; }
}

@media (max-width: 719px) {
  body { font-size: 1rem; }
  .toc ol { columns: 1; }
  .hero { padding: 2.25rem 0 2rem; }
  .hero-actions .btn { width: 100%; }
  .cta-block .cta-actions .btn { width: 100%; }
  .metric-grid { grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); }
  .price-now { font-size: 2rem; }
  .offer-facts li { flex-direction: column; gap: 0.1rem; }
  .offer-facts .fact-value { text-align: left; }
  .related { padding: 2rem 0; }
}

/* --------------------------------------------------------------- Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   Header layout corrections
   The markup places the single affiliate button inside .site-nav, so the nav
   must be a one-line flex row on desktop and a stacked panel on mobile.
   ========================================================================== */
.header-inner { flex-wrap: nowrap; }

@media (min-width: 1100px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    min-width: 0;
  }
  .nav-list { flex-wrap: nowrap; min-width: 0; }

  /* Header affiliate button, legible against the plum bar. */
  .header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 40px;
    margin-left: 0.35rem;
    padding: 0.5rem 0.85rem;
    background: var(--berry);
    border: 1px solid var(--berry-dark);
    border-radius: 6px;
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
  }
  .header-cta:hover { background: var(--berry-dark); color: #FFFFFF; }
}

/* Tight desktop widths: shrink type before anything is allowed to wrap. */
@media (min-width: 1100px) and (max-width: 1340px) {
  .nav-list a { padding: 0.5rem 0.38rem; font-size: 0.8125rem; }
  .header-cta { font-size: 0.75rem; padding: 0.5rem 0.6rem; }
  .brand { font-size: 0.9375rem; }
  .brand-mark { width: 28px; height: 28px; flex: 0 0 28px; }
}

/* Mobile panel.
   Two markup variants exist:
   - Homepage: a `.header-cta` WRAPPER div in the header row, plus its own
     `.nav-cta` button inside the nav panel. The wrapper must stay hidden,
     otherwise it overflows the right edge of the screen.
   - Guide routes: `a.header-cta` lives inside `.site-nav`, so it should
     render as a full-width button under the stacked links.
   Scoping by element/ancestor keeps both correct. */
@media (max-width: 1099px) {
  .site-nav { margin-left: 0; }

  /* Hide the header-row variant entirely on mobile. */
  .header-inner > .header-cta { display: none; }

  /* Show the in-panel link variant as a full-width button. */
  .site-nav a.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin: 0.9rem 0 0;
    padding: 0.7rem 1rem;
    background: var(--berry);
    border: 1px solid var(--berry-dark);
    border-radius: var(--radius);
    color: #FFFFFF;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
  }
  .site-nav a.header-cta:hover { background: var(--berry-dark); color: #FFFFFF; }
}

/* ==========================================================================
   Guide-page component aliases
   The guide routes use a double-dash BEM naming variant. These rules map that
   naming onto the same design system so every route renders identically.
   ========================================================================== */

/* Article measure */
.article-col {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
}

/* Buttons */
.btn--primary {
  background: var(--berry);
  border-color: var(--berry-dark);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--berry-dark); color: #FFFFFF; }

.btn--outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--plum-deep);
}
.btn--outline:hover { background: var(--gray-surface); color: var(--plum-deep); }

.btn--outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.16); color: #FFFFFF; }

.btn--block { display: flex; width: 100%; }

.btn-sub {
  display: block;
  font-size: 0.8125rem;
  color: var(--slate-faint);
  margin-top: 0.6rem;
}

/* Hero / page-head text */
.hero-verdict { font-size: 1.125rem; color: #EBD8E4; }
.hero-verdict strong { color: #FFFFFF; }
.hero-note { font-size: 0.8125rem; color: #CFAFC4; max-width: 58ch; }
.hero-note a { color: #F3D6E2; }
.eyebrow--light { color: #F0B8CF; }
.page-dek { font-size: 1.0625rem; color: var(--slate-soft); max-width: 62ch; }
.lead { font-size: 1.1875rem; color: var(--slate-soft); }

/* The guide page-head sits on the warm-white surface, so its text is dark. */
.page-head .hero-motif { display: none; }
.page-head .hero-meta { color: var(--slate-faint); }
.page-head h1 { color: var(--plum-deep); }

.rating-badge .rating-score { font-size: 1.25rem; color: #FFFFFF; }
.rating-badge .rating-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #E7C6D8;
}

/* Card variants */
.card--verdict { background: var(--rose-surface); border-color: #EBD3DC; }
.card--verdict .card-title { color: var(--berry-ink); }

.card--research { background: var(--teal-surface); border-color: #CFE3E3; }
.card--research .card-title { color: var(--teal-dark); }
.card--research strong { color: var(--teal-dark); }

.card--caution { background: #FFF8EC; border-color: #EFDCC0; }
.card--caution .card-title { color: #8A5A11; }

.card--offer { background: var(--rose-surface); border-color: #EBD3DC; }
.card--offer .card-title { color: var(--berry-ink); }

.card--checklist { background: var(--gray-surface); border-color: #E2E4E8; }
.card--checklist .card-title { color: var(--plum-mid); }

.card--pros { background: #F2F8F4; border-color: #D2E5D9; }
.card--pros .card-title { color: #1E6640; }
.card--cons { background: #FBF1F0; border-color: #EAD5D2; }
.card--cons .card-title { color: #9C3524; }

.card--decision {
  background: linear-gradient(170deg, var(--plum) 0%, var(--plum-deep) 100%);
  border-color: var(--plum-mid);
  color: #F1E2EB;
}
.card--decision .card-title,
.card--decision h2,
.card--decision h3 { color: #FFFFFF; }
.card--decision strong { color: #FFFFFF; }
.card--decision em { color: #E7D2E0; }

/* Card icon chip */
.card-title .card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 1.6rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 6px;
  background: var(--plum);
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
}
.card--verdict .card-icon,
.card--offer .card-icon { background: var(--berry); }
.card--research .card-icon,
.card--checklist .card-icon { background: var(--teal); }
.card--caution .card-icon { background: #8A5A11; }
.card--pros .card-icon { background: #1E6640; }
.card--cons .card-icon { background: #9C3524; }
.card--decision .card-icon { background: var(--berry); }

/* Key/value fact lists */
.facts { list-style: none; margin: 0; padding: 0; }
.facts li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1rem;
  padding: 0.6rem 0;
  margin: 0;
  border-bottom: 1px dashed var(--border-strong);
  font-size: 0.9375rem;
}
.facts li:last-child { border-bottom: 0; }
.facts .facts-key {
  font-weight: 700;
  color: var(--plum-deep);
  flex: 0 0 42%;
  min-width: 11rem;
}
.facts .facts-val { color: var(--slate-soft); flex: 1 1 45%; }

/* Offer card list on the guide pages */
.offer-list { list-style: none; margin: 0 0 1.1rem; padding: 0; border-top: 1px solid var(--border); }
.offer-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.6rem 0;
  margin: 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}
.offer-list .offer-key { color: var(--slate-soft); }
.offer-list .offer-val { font-weight: 700; color: var(--plum-deep); }

.offer-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 0.35rem; }
.offer-price-now { font-size: 2.4rem; font-weight: 800; color: var(--plum-deep); line-height: 1; }
.offer-price-was { font-size: 1.0625rem; color: var(--slate-faint); text-decoration: line-through; }
.offer-price-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--berry);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.offer-price-label { font-size: 0.9375rem; color: var(--slate-soft); margin: 0 0 1rem; }

/* Pros/cons grid */
.proscons {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 0 0 1.6rem;
}
.proscons > .card { margin: 0; }

/* Stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}
.stat-strip li {
  background: var(--paper);
  border: 1px solid #CFE3E3;
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  margin: 0;
}
.stat-strip .stat-num {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1.2;
}
.stat-strip .stat-lbl { display: block; font-size: 0.875rem; color: var(--slate-soft); }
.stat-strip--berry li { border-color: #EBD3DC; }
.stat-strip--berry .stat-num { color: var(--berry-ink); }

/* Checklist */
.check-list { list-style: none; padding-left: 0; margin-bottom: 0; }
.check-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.5rem; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 700;
}

/* Disclosure + medical notice */
.disclosure {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.875rem;
  color: var(--slate-soft);
  background: var(--gray-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--berry);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.7rem 0.9rem;
  margin: 0 0 1.25rem;
}
.disclosure p { margin: 0; }
.disclosure .disclosure-tag {
  flex: 0 0 auto;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--berry-ink);
  background: var(--paper);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  margin-top: 0.15rem;
}
.disclosure--hero {
  color: #E2C6D6;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  border-left-color: #FF9FC2;
}
.disclosure--hero .disclosure-tag {
  color: #F3D6E2;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}

.notice-medical {
  font-size: 0.9375rem;
  color: var(--slate-soft);
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.85rem 1rem;
  margin: 0 0 1.5rem;
}
.notice-medical p { margin: 0; }
.notice-medical strong { color: var(--teal-dark); }

/* CTA band */
.cta-band {
  background: linear-gradient(170deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: #F4E6EE;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  margin: 2.5rem 0;
  text-align: center;
}
.cta-band h2 { color: #FFFFFF; font-size: 1.375rem; margin-top: 0; }
.cta-band p { color: #E7D2E0; max-width: 60ch; margin-left: auto; margin-right: auto; }
.cta-band .btn { margin: 0.4rem auto 0; }
.cta-band .cta-fineprint {
  font-size: 0.8125rem;
  color: #CFAFC4;
  margin: 1rem auto 0;
}

/* Table hint */
.table-hint { font-size: 0.875rem; color: var(--slate-faint); margin: -1rem 0 1.6rem; }

/* Native details/summary FAQ used on the guide routes */
.faq { margin: 0 0 1.6rem; }
.faq details.faq-item {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  overflow: hidden;
}
.faq details.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq details.faq-item > summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  padding: 0.85rem 2.75rem 0.85rem 1rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--plum-deep);
  position: relative;
}
.faq details.faq-item > summary::-webkit-details-marker { display: none; }
.faq details.faq-item > summary::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--berry);
  border-bottom: 2px solid var(--berry);
  transform: translateY(-70%) rotate(45deg);
}
.faq details.faq-item[open] > summary { background: var(--rose-surface); }
.faq details.faq-item[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details.faq-item > summary:hover { color: var(--berry-ink); }
.faq .faq-answer { padding: 0.9rem 1rem 1rem; border-top: 1px solid var(--border); }
.faq .faq-answer > :last-child { margin-bottom: 0; }

/* Related guides on the guide routes */
.related-dek { color: var(--slate-soft); max-width: 65ch; margin-bottom: 1.4rem; }
.related-card .related-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.related-card .related-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--plum-deep);
  line-height: 1.35;
}
.related-card .related-desc { font-size: 0.9375rem; color: var(--slate-soft); line-height: 1.55; }

/* Footer grid alias */
.footer-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--plum-line);
}
.footer-grid > div > p { color: #C4A6B8; max-width: 44ch; }
.footer-grid h2 {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E7C9D9;
  margin-bottom: 0.75rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.45rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }

.main-area { padding: 2rem 0 1rem; }

@media (min-width: 720px) {
  .proscons { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (max-width: 719px) {
  .facts .facts-key,
  .offer-list li { flex: 1 1 100%; min-width: 0; }
  .offer-list li { flex-direction: column; gap: 0.1rem; }
  .offer-price-now { font-size: 2rem; }
  .cta-band .btn,
  .hero-actions .btn { width: 100%; }
  .toc ol { columns: 1; }
}

/* --------------------------------------------------------------- Print */
@media print {
  .site-header, .nav-toggle, .toc, .cta-block, .inline-cta, .related, .hero-motif { display: none !important; }
  body { background: #FFFFFF; font-size: 11pt; }
  .hero { background: #FFFFFF; color: #000000; }
  .hero h1, .hero-lede { color: #000000; }
}
