/* =========================================================================
   Wealth Generation Academy — shared design system
   1 tokens · 2 base · 3 layout · 4 type · 5 buttons · 6 icon badges · 7 top bar & header · 8 breadcrumb
   9 heroes · 10 section heads · 11 cards · 12 badges & ratings · 13 pricing · 14 pros/cons & lists
   15 boxes & lead capture · 16 tables · 17 accordion · 18 link lists & TOC · 19 forms · 20 bands & strips
   21 ebook mockup · 22 legal layout · 23 misc (author, quote, pagination, steps) · 24 footer · 25 utilities
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-950: #071a33;
  --navy-900: #0c2244;
  --navy-800: #123463;
  --navy-700: #1d4278;
  --ink: #0d1f3c;
  --text: #33415a;
  --muted: #5b6880;
  --line: #e2e8f0;
  --line-strong: #cfd8e3;

  --green-800: #136129;
  --green-700: #17762f;
  --green-600: #1b8139;
  --green-500: #26a646;
  --green-400: #3fb85c;
  --green-100: #dff2e2;
  --green-50: #eff8f0;
  --blue-700: #1452b8;
  --blue-600: #1a66d9;
  --blue-500: #2b7de9;
  --blue-100: #e3eefc;
  --blue-50: #f2f7fd;
  --purple-600: #7a2fd0;
  --purple-500: #8b3ddf;
  --purple-100: #f0e6fc;
  --orange-500: #f5871f;
  --orange-100: #fdeedd;
  --red-600: #d63a3f;
  --red-500: #e5484d;
  --red-100: #fde7e8;
  --pink-500: #ee4f74;
  --teal-500: #14a8a8;
  --teal-100: #ddf4f3;
  --yellow-400: #f9d23c;
  --yellow-100: #fff6d6;
  --gold: #f5a623;

  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-tint: #f1f6fd;
  --bg-green: #eef7ef;

  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-script: "Caveat", "Segoe Script", "Bradley Hand", cursive;

  --container: 1200px;
  --gutter: clamp(1rem, 3vw, 1.5rem);
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(13, 31, 60, .06);
  --shadow-sm: 0 2px 10px rgba(13, 31, 60, .07);
  --shadow: 0 10px 30px rgba(13, 31, 60, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 58px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
/* The designs are 1536px-wide compositions; on laptop-size screens the whole rem scale steps down slightly
   (15px root at 1280px, back to 16px from ~1600px) so section density matches the designs. Phones/tablets keep 16px. */
@media (min-width: 1101px) { html { font-size: clamp(14.6px, calc(9.6px + .4vw), 16px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; font-family: var(--font-body); font-size: .9375rem; line-height: 1.55; color: var(--text);
  background: var(--bg); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 1rem + 2.4vw, 2.75rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.2rem, 1rem + .4vw, 1.35rem); }
h3 { font-size: clamp(.95rem, .9rem + .15vw, 1.02rem); font-weight: 700; letter-spacing: -.005em; }
h4 { font-size: .95rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
ul, ol { padding-left: 1.25rem; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 3px; }
::selection { background: var(--green-100); color: var(--ink); }
.icon { width: 1.2em; height: 1.2em; flex: none; display: inline-block; vertical-align: middle; }
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.6em; height: 1.6em; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--navy-900); color: #fff;
  padding: .75rem 1rem; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Placeholder values (unknown facts: prices, ratings, stats, names, dates). Same type as the value they stand in for. */
.ph { font-variant-numeric: tabular-nums; overflow-wrap: break-word; word-break: normal; }

/* ---------- 3. Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 880px); margin-inline: auto; }
.section { padding-block: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem); }
.section--tight { padding-block: clamp(1.1rem, 1rem + .8vw, 1.6rem); }
.section--flush-top { padding-top: 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--green { background: var(--bg-green); }
.section--navy { background: var(--navy-900); color: #dbe4f2; }
.section--navy h2, .section--navy h3 { color: #fff; }
.panel-tint { background: var(--bg-tint); border-radius: var(--radius-lg); padding: clamp(1rem, .8rem + 1vw, 1.75rem); }
.stack > * + * { margin-top: var(--stack, 1rem); }
.grid { display: grid; gap: var(--gap, clamp(.75rem, .6rem + .6vw, 1.25rem)); }
.grid > * { min-width: 0; }
ul.grid, ol.grid { list-style: none; margin: 0; padding: 0; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gap-sm { --gap: .5rem; }
.gap-lg { --gap: clamp(1.25rem, 1rem + 1.2vw, 2rem); }
@media (max-width: 1024px) {
  .cols-4, .cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .cols-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .cols-2, .cols-4 { grid-template-columns: minmax(0, 1fr); }
  .cols-5, .cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-keep-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Main column + sidebar (most article, review, comparison and legal pages) */
.layout { display: grid; gap: clamp(1.25rem, 1rem + 1.4vw, 2rem); align-items: start; grid-template-columns: minmax(0, 1fr) var(--aside, 330px); }
.layout--wide-aside { --aside: 380px; }
.layout--narrow-aside { --aside: 290px; }
.layout > * { min-width: 0; }
.aside { display: grid; gap: 1rem; }
.sticky { position: sticky; top: 1rem; }
@media (max-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr); } .sticky { position: static; } }
.split { display: grid; gap: clamp(1rem, .8rem + 1.5vw, 2.25rem); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 4. Type helpers ---------- */
.accent { color: var(--green-500); }
.accent-dark { color: var(--green-700); }
.accent-blue { color: var(--blue-600); }
.eyebrow { display: block; font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--green-700); margin-bottom: .5rem; }
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: var(--radius-sm); background: var(--blue-100); color: var(--blue-700); font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.pill--green { background: var(--green-600); color: #fff; }
.pill--navy { background: var(--navy-900); color: #fff; }
.pill--soft-green { background: var(--green-100); color: var(--green-800); }
.lead { font-size: clamp(.95rem, .9rem + .25vw, 1.06rem); line-height: 1.55; color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.xsmall { font-size: .78rem; }
.text-center { text-align: center; }
.script { font-family: var(--font-script); font-weight: 600; color: var(--ink); line-height: 1.05; }
.display { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 3.9rem); line-height: 1.02; letter-spacing: -.035em; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1em; }
.prose li + li { margin-top: .3em; }

/* ---------- 5. Buttons & links ---------- */
.btn {
  --btn-bg: var(--green-600); --btn-fg: #fff; --btn-bd: var(--green-600);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 42px; padding: .55rem 1.15rem;
  border: 1.5px solid var(--btn-bd); border-radius: var(--radius-sm); background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-weight: 600; font-size: .9rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:hover { --btn-bg: var(--green-700); --btn-bd: var(--green-700); color: var(--btn-fg); box-shadow: 0 6px 16px rgba(23, 118, 47, .22); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--blue { --btn-bg: var(--blue-600); --btn-bd: var(--blue-600); }
.btn--blue:hover { --btn-bg: var(--blue-700); --btn-bd: var(--blue-700); box-shadow: 0 6px 16px rgba(26, 102, 217, .25); }
.btn--outline { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--outline-blue { --btn-bg: #fff; --btn-fg: var(--blue-600); --btn-bd: var(--blue-600); }
.btn--outline-blue:hover { --btn-bg: var(--blue-600); --btn-fg: #fff; --btn-bd: var(--blue-600); }
.btn--outline-green { --btn-bg: #fff; --btn-fg: var(--green-700); --btn-bd: var(--green-600); }
.btn--outline-green:hover { --btn-bg: var(--green-600); --btn-fg: #fff; }
.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--white:hover { --btn-bg: var(--blue-50); --btn-fg: var(--ink); --btn-bd: var(--blue-50); }
.btn--red { --btn-bg: #c9342e; --btn-bd: #c9342e; }
.btn--red:hover { --btn-bg: #c9342e; --btn-bd: #c9342e; }
.btn--sm { min-height: 36px; padding: .4rem .85rem; font-size: .84rem; }
.btn--lg { min-height: 46px; padding: .7rem 1.35rem; font-size: .98rem; }
.btn--xl { min-height: 54px; padding: .85rem 1.8rem; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; font-size: .88rem; color: var(--blue-600); text-decoration: none; }
.link-arrow .icon { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow--green { color: var(--green-700); }
/* Stretch a card's main link over the whole card (keep it the only interactive element in the card) */
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ---------- 6. Icon badges (coloured circles / rounded squares with a white glyph) ---------- */
.ib { --c: var(--green-500); display: inline-grid; place-items: center; flex: none; width: var(--s, 44px); height: var(--s, 44px); border-radius: 50%; background: var(--c); color: #fff; }
.ib .icon { width: 52%; height: 52%; }
.ib--sq { border-radius: var(--radius); }
.ib--soft { background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); }
.ib--plain { background: none; color: var(--c); }
.ib--xs { --s: 28px; } .ib--sm { --s: 36px; } .ib--md { --s: 52px; } .ib--lg { --s: 60px; } .ib--xl { --s: 72px; }
.c-green { --c: var(--green-500); } .c-dkgreen { --c: var(--green-600); } .c-blue { --c: var(--blue-500); } .c-purple { --c: var(--purple-500); }
.c-orange { --c: var(--orange-500); } .c-red { --c: var(--red-500); } .c-pink { --c: var(--pink-500); }
.c-teal { --c: var(--teal-500); } .c-yellow { --c: #f2b705; } .c-navy { --c: var(--navy-800); } .c-gray { --c: #64748b; }
.num { display: inline-grid; place-items: center; flex: none; width: var(--s, 32px); height: var(--s, 32px); border-radius: 50%; background: var(--c, var(--green-600)); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: calc(var(--s, 32px) * .48); line-height: 1; }

/* ---------- 7. Top bar & header ---------- */
.topbar { background: var(--navy-900); color: #e6ecf6; font-size: .75rem; }
.topbar__inner, .site-header__inner { width: min(100% - 2 * var(--gutter), max(80vw, 1000px)); margin-inline: auto; }
.topbar__inner { display: flex; align-items: center; gap: 1rem; min-height: 28px; }
.topbar__tagline { margin: 0; display: inline-flex; align-items: center; gap: .5rem; }
.topbar__tagline .icon { width: 1.05em; height: 1.05em; }
.topbar__links { margin-left: auto; display: flex; gap: 1.1rem; }
.topbar a { color: #e6ecf6; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.social { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .5rem; }
.social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.social .icon { width: 17px; height: 17px; }
.social--top a { width: 24px; height: 24px; }
.topbar__search { position: relative; display: flex; align-items: center; }
.topbar__search input { position: absolute; right: 0; width: 0; height: 26px; padding: 0; border: 0; border-radius: var(--radius-pill); background: #fff; color: var(--ink); opacity: 0; transition: width .2s, opacity .2s, padding .2s; font-size: .8rem; }
.topbar__search:focus-within input, .topbar__search.is-open input { width: 220px; padding: 0 2rem 0 .8rem; opacity: 1; }
.topbar__search button { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: #e6ecf6; border-radius: 50%; }
.topbar__search:focus-within button, .topbar__search.is-open button { color: var(--ink); }
.topbar__search .icon { width: 16px; height: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(13, 31, 60, .08); }
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); flex: none; }
.logo__mark { width: 46px; height: auto; }
.logo__text { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; color: var(--ink); line-height: .98; }
.logo__l1 { font-size: .76rem; letter-spacing: .17em; }
.logo__l2 { font-size: 1rem; letter-spacing: .02em; }
.logo__l3 { font-size: .76rem; letter-spacing: .22em; }
.logo--flat .logo__mark { width: 46px; }
.logo--flat .logo__l1 { font-size: 1.12rem; letter-spacing: .03em; }
.logo--flat .logo__l2 { font-size: .8rem; letter-spacing: .02em; margin-top: .1rem; }

.nav { margin-left: auto; display: flex; align-items: center; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .3rem; }
.nav__item { position: relative; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: .25rem; padding: .55rem .6rem; border: 0; background: none; color: var(--ink);
  font-family: var(--font-body); font-weight: 600; font-size: .86rem; text-decoration: none; border-radius: var(--radius-sm); white-space: nowrap;
}
.nav__link:hover, .nav__toggle:hover, .nav__item:focus-within > .nav__toggle { color: var(--green-700); }
.nav__link[aria-current="page"], .nav__toggle.is-section { color: var(--green-700); box-shadow: inset 0 -3px 0 var(--green-500); border-radius: 0; }
.nav__toggle .icon { width: .9em; height: .9em; transition: transform .2s; }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 270px; margin: 0; padding: .5rem; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav__item:hover > .nav__sub, .nav__toggle[aria-expanded="true"] + .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub ul { list-style: none; margin: 0; padding: 0; }
.nav__sub a { display: block; padding: .45rem .7rem; border-radius: var(--radius-sm); font-size: .88rem; color: var(--ink); text-decoration: none; }
.nav__sub a:hover { background: var(--green-50); color: var(--green-700); }
.nav__sub a[aria-current="page"] { background: var(--green-50); color: var(--green-700); font-weight: 600; }
.nav__sub--mega { display: grid; grid-template-columns: repeat(2, minmax(230px, 1fr)); gap: .25rem 1rem; min-width: 520px; }
.nav__heading { margin: .35rem .7rem .25rem; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.nav__item:nth-last-child(-n+4) > .nav__sub { left: auto; right: 0; }
.nav__item--mobile, .nav__cta-mobile { display: none; }
.header-cta { flex: none; }
.header-search { position: relative; display: flex; align-items: center; flex: none; }
.header-search input { position: absolute; right: 0; width: 0; height: 40px; padding: 0; border: 1.5px solid transparent; border-radius: var(--radius-pill); background: #fff; opacity: 0; transition: width .2s, opacity .2s; font-size: .9rem; }
.header-search:focus-within input, .header-search.is-open input { width: 250px; padding: 0 2.6rem 0 1rem; border-color: var(--green-600); opacity: 1; z-index: 2; }
.header-search button { position: relative; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); }
.header-search .icon { width: 21px; height: 21px; }
.site-header--flat { border-bottom-color: #edf1f5; }
.site-header--flat .site-header__inner { width: min(100% - 2 * var(--gutter), var(--container)); }
.site-header--flat .nav { margin-inline: auto; }
.site-header--flat .nav__list { gap: .55rem; }
.site-header--flat .nav__link, .site-header--flat .nav__toggle { font-size: .9rem; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); place-items: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle [data-icon="close"], .nav-toggle[aria-expanded="true"] [data-icon="menu"] { display: none; }
.nav-toggle[aria-expanded="true"] [data-icon="close"] { display: block; }
body.nav-open { overflow: hidden; }

@media (max-width: 1100px) {
  .topbar__links, .topbar .social { display: none; }
  .topbar__search { margin-left: auto; }
  .nav-toggle { display: grid; }
  .header-cta { display: none; }
  .site-header--flat .header-search { margin-left: 0; }
  .site-header--flat .nav-toggle { order: 3; margin-left: .25rem; }
  .site-header--flat .header-search { order: 2; margin-left: auto; }
  .nav {
    position: fixed; inset: 0 0 0 auto; z-index: 70; width: min(88vw, 360px); margin: 0; padding: 4.5rem 1.25rem 2rem;
    flex-direction: column; align-items: stretch; background: #fff; box-shadow: -10px 0 30px rgba(13, 31, 60, .2);
    transform: translateX(100%); visibility: hidden; transition: transform .25s var(--ease), visibility .25s; overflow-y: auto;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 65; background: rgba(7, 26, 51, .45); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header--flat .nav__list { gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link, .nav__toggle { width: 100%; justify-content: space-between; padding: .85rem .25rem; font-size: 1rem; }
  .nav__link[aria-current="page"], .nav__toggle.is-section { box-shadow: none; }
  .nav__sub, .nav__sub--mega { position: static; display: none; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .5rem .5rem; grid-template-columns: 1fr; }
  .nav__item:hover > .nav__sub { display: none; }
  .nav__toggle[aria-expanded="true"] + .nav__sub { display: block; }
  .nav__item--mobile { display: block; }
  .nav__cta-mobile { display: inline-flex; margin-top: 1.25rem; }
  .nav-toggle[aria-expanded="true"] { position: relative; z-index: 80; }
}
@media (max-width: 520px) {
  .topbar__tagline { font-size: .74rem; }
  .logo__mark { width: 42px; }
  .logo__l1, .logo__l3 { font-size: .74rem; }
  .logo__l2 { font-size: .95rem; }
  .header-search:focus-within input, .header-search.is-open input { width: min(250px, 70vw); }
}

/* ---------- 8. Breadcrumb ---------- */
.breadcrumb { font-size: .88rem; color: var(--ink); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .45rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: .45rem; }
.breadcrumb li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .55; }
.breadcrumb a { color: var(--green-700); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* ---------- 9. Heroes ---------- */
/* 9a. Photo hero: full-bleed photo, copy on the left, optional card on the right (most pages) */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #eef3f8; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, 70% center); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-fade, linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 34%, rgba(255,255,255,.45) 52%, rgba(255,255,255,0) 66%)); }
.hero--clear::before { --hero-fade: linear-gradient(90deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,.15) 40%, rgba(255,255,255,0) 60%); }
.hero__inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center;
  width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; min-height: var(--hero-h, 290px);
  padding-block: clamp(1.25rem, 1rem + 1.2vw, 2rem); padding-inline-start: clamp(0px, 22.4vw - 201px, 96px);
}
.hero__content { max-width: var(--hero-copy, 640px); }
.hero .breadcrumb { margin-bottom: .55rem; }
.hero__title { margin-bottom: .3em; }
.hero__title .accent { display: block; }
.hero__lead { font-size: max(clamp(.95rem, .9rem + .3vw, 1.08rem), 16px) /* rt-1019 */; color: var(--ink); max-width: 38rem; margin-bottom: 0; line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.15rem; }
.hero__points { display: flex; flex-wrap: wrap; gap: .75rem 1.4rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.hero__points li { display: flex; align-items: center; gap: .6rem; font-size: max(.82rem, 16px) /* rt-1019 */; line-height: 1.25; color: var(--muted); }
.hero__points strong { display: block; color: var(--ink); font-size: .86rem; font-weight: 700; }
.hero__card { width: min(100%, 340px); background: rgba(255, 255, 255, .94); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.15rem 1.25rem; }
.hero__card--glass { background: rgba(255, 255, 255, .86); backdrop-filter: blur(6px); }
.hero__card h2 { font-size: 1.15rem; margin-bottom: .65rem; }
.hero__note { position: absolute; right: clamp(1rem, 4vw, 4rem); top: clamp(1rem, 3vw, 2.25rem); margin: 0; font-family: var(--font-script); font-weight: 600; font-size: max(clamp(1.25rem, .9rem + 1vw, 1.75rem), 14px) /* rt-1019 */; line-height: 1.05; color: var(--ink); transform: rotate(-6deg); text-align: center; }
.hero__note::after { content: ""; display: block; width: 70%; height: 3px; margin: .35rem auto 0; border-radius: 3px; background: var(--green-500); transform: rotate(-2deg); }
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); padding-inline-start: 0; min-height: 0; }
  .hero__card { width: 100%; }
  .hero__note { display: none; }
}
@media (max-width: 760px) {
  /* On phones the photo becomes a banner under the copy instead of a background */
  .hero { display: flex; flex-direction: column; background: #fff; }
  .hero::before { display: none; }
  .hero__bg { position: relative; order: var(--hero-mobile-order, 0); height: var(--hero-mobile-h, 200px); }
  .hero__inner { order: 1; }
}
/* 9b. Lead-magnet hero: soft blue background, big circle, product mockup right (starter kit, checklists, newsletter, thank you) */
.hero-lead { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, #f3f8fd 0%, #f7fafd 100%); }
.hero-lead::before { content: ""; position: absolute; width: 560px; height: 560px; right: 8%; top: -80px; border-radius: 50%; background: #e4eefb; z-index: 0; }
.hero-lead__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; padding-block: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.hero-lead__title { font-size: clamp(2.4rem, 1.3rem + 3.8vw, 4rem); line-height: 1.02; letter-spacing: -.04em; margin-bottom: .4em; }
.hero-lead__media { position: relative; display: grid; place-items: center; }
.hero-lead__note { position: absolute; right: 0; top: 0; max-width: 13rem; margin: 0; font-family: var(--font-script); font-weight: 600; font-size: 1.3rem; line-height: 1.1; color: var(--ink); text-align: right; transform: rotate(-3deg); }
@media (max-width: 860px) { .hero-lead__inner { grid-template-columns: minmax(0, 1fr); } .hero-lead::before { right: -40%; } .hero-lead__note { display: none; } }

/* ---------- 10. Section heads ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: clamp(.75rem, .6rem + .5vw, 1.1rem); }
.section-head h2 { margin: 0; }
.section-head p { margin: .25rem 0 0; color: var(--muted); font-size: max(.95rem, 16px) /* rt-1019 */; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center p { max-width: 46rem; }

/* ---------- 11. Cards ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-xs); }
.card--pad { padding: clamp(.9rem, .8rem + .4vw, 1.2rem); }
.card--soft { background: var(--bg-soft); border-color: transparent; box-shadow: none; }
.card--tint { background: var(--bg-tint); border-color: #e3ebf6; box-shadow: none; }
.card--green { background: var(--bg-green); border-color: #dcefdf; box-shadow: none; }
.card--hover { transition: box-shadow .2s, transform .2s, border-color .2s; }
.card--hover:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--line-strong); }
.card h3 { margin-bottom: .3em; }
.card p:last-child { margin-bottom: 0; }

/* Topic card: icon square + title + text + arrow link (home, hubs, about) */
.topic-card { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem; }
.topic-card h3 { font-size: .98rem; margin-bottom: .2em; }
.topic-card p { font-size: max(.84rem, 16px) /* rt-1019 */; color: var(--muted); margin-bottom: .55em; line-height: 1.45; }
.topic-card .link-arrow { font-size: .84rem; }

/* Info row: icon left, title + text (values, features, "why" lists) */
.info { display: flex; gap: .8rem; align-items: flex-start; }
.info h3 { font-size: .98rem; margin-bottom: .2em; }
.info p { font-size: max(.86rem, 16px) /* rt-1019 */; color: var(--muted); margin: 0; line-height: 1.45; }

/* Feature card: centred icon, title, text */
.feature-card { text-align: center; padding: 1.25rem 1rem; }
.feature-card .ib, .feature-card > .icon { margin: 0 auto .75rem; }
.feature-card h3 { font-size: 1.02rem; }
.feature-card p { font-size: max(.88rem, 16px) /* rt-1019 */; color: var(--muted); }

/* Tool card: ribbon + mark + name + rating + link (featured tools on home/hubs) */
.tool-card { display: flex; gap: .85rem; align-items: center; padding: .9rem; }
.tool-card__body { min-width: 0; }
.tool-card h3 { font-size: 1.02rem; margin: .3rem 0 .1rem; }
.tool-card__sub { display: block; font-size: .74rem; color: var(--muted); line-height: 1.3; }
.tool-card .rating { margin: .3rem 0 .4rem; }
.tool-card .link-arrow { font-size: .84rem; }
.tool-card--stack { flex-direction: column; align-items: stretch; text-align: left; }
.tool-mark { display: grid; place-items: center; flex: none; width: var(--s, 64px); height: var(--s, 64px); border-radius: 50%; background: var(--c, var(--blue-500)); color: #fff; }
.tool-mark .icon { width: 48%; height: 48%; }
.icon--solid { fill: currentColor; }
.tool-mark--sq { border-radius: var(--radius); }
.tool-mark--sm { --s: 40px; } .tool-mark--md { --s: 52px; } .tool-mark--lg { --s: 80px; }
.wordmark { font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }

/* Post card: image (optional category tag) + title + meta */
.post-card { display: flex; flex-direction: column; overflow: hidden; }
.post-card__media { position: relative; aspect-ratio: var(--ratio, 16 / 9); overflow: hidden; background: var(--bg-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__body { display: flex; flex-direction: column; gap: .35rem; padding: .7rem .75rem .8rem; flex: 1; }
.post-card h3 { font-size: 1rem; margin: 0; line-height: 1.3; text-wrap: pretty; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--blue-600); }
.post-card p { font-size: max(.88rem, 16px) /* rt-1019 */; color: var(--muted); margin: 0; }
.post-card--plain { border: 0; box-shadow: none; background: none; }
.post-card--plain .post-card__media { border-radius: var(--radius-sm); }
.post-card--plain .post-card__body { padding-inline: .5rem; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.25rem; font-size: .8rem; color: var(--muted); margin-top: auto; }
.meta span { display: inline-flex; align-items: center; gap: .3rem; }
.meta .icon { width: 1em; height: 1em; }
.tag { position: absolute; top: .55rem; left: .55rem; z-index: 1; padding: .2rem .5rem; border-radius: var(--radius-xs); background: var(--c, var(--green-600)); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* Step card: number, icon, title, text + arrow connectors between cards */
.steps { display: grid; gap: 1.6rem; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); counter-reset: step; }
.steps > * { position: relative; }
.steps > * + *::before { content: ""; position: absolute; left: -1.35rem; top: 50%; width: 1.1rem; height: 1.1rem; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E"); }
.step-card { padding: 1rem; text-align: center; }
.step-card .num { position: absolute; left: .75rem; top: .75rem; }
.step-card h3 { font-size: 1rem; margin: .5rem 0 .3rem; }
.step-card p { font-size: max(.86rem, 16px) /* rt-1019 */; color: var(--muted); margin-bottom: .5rem; }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps > * + *::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 12. Badges, ratings, score bars ---------- */
.badge { display: inline-block; padding: .18rem .45rem; border-radius: var(--radius-xs); background: var(--yellow-400); color: var(--ink); font-size: .66rem; font-weight: 800; letter-spacing: .03em; line-height: 1.2; text-transform: uppercase; }
.badge--blue { background: var(--blue-100); color: var(--blue-700); }
.badge--green { background: var(--green-600); color: #fff; }
.badge--soft-green { background: var(--green-100); color: var(--green-800); }
.badge--purple { background: var(--purple-100); color: var(--purple-600); }
.badge--orange { background: var(--orange-100); color: #b45a09; }
.badge--navy { background: var(--navy-900); color: #fff; }
.rank { display: inline-flex; align-items: center; gap: .5rem; }
.rank__no { display: inline-grid; place-items: center; min-width: 2.4rem; height: 1.9rem; padding: 0 .45rem; border-radius: var(--radius-sm); background: var(--yellow-400); color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1rem; }
.rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .2rem .4rem; font-size: .84rem; font-weight: 600; color: var(--ink); }
.stars { display: inline-flex; gap: 1px; color: var(--gold); }
.stars .icon { width: 1.05em; height: 1.05em; }
.stars--lg .icon { width: 1.4em; height: 1.4em; }
/* Unknown ratings: outline stars + RATING text (never a filled count that implies a score) */
.stars--outline .icon { fill: none; stroke: currentColor; }
.scorebars { display: grid; gap: .5rem; margin: 0; }
.scorebars div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 3.2rem; gap: .6rem; align-items: center; font-size: .86rem; }
.scorebars dt { color: var(--ink); }
.scorebars dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }
.bar { height: 8px; border-radius: 99px; background: #e6ebf2; overflow: hidden; }
.bar > span { display: block; height: 100%; width: calc(var(--value, 0) * 1%); border-radius: inherit; background: var(--green-500); }
/* Value unknown: show the track as pending (striped), never a made-up length */
.bar--ph > span { width: 100%; background: repeating-linear-gradient(135deg, #d5dde8 0 6px, #e9eef4 6px 12px); }
.verdict-label { display: inline-block; padding: .3rem .9rem; border-radius: var(--radius-xs); background: var(--yellow-400); color: var(--ink); font-weight: 800; font-size: .85rem; letter-spacing: .03em; text-transform: uppercase; }

/* ---------- 13. Pricing ---------- */
.price-card { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.15rem 1.2rem; }
.price-card--featured { border: 2px solid var(--green-500); box-shadow: var(--shadow-sm); }
.price-card__flag { position: absolute; top: -.75rem; left: 1rem; }
.price-card h3 { margin: 0; font-size: 1.05rem; }
.price { display: flex; align-items: baseline; gap: .3rem; margin: 0; font-family: var(--font-head); color: var(--ink); }
.price strong { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; }
.price > span { font-size: .9rem; color: var(--muted); }
.price-card .checklist { flex: 1; }
.price-card .btn { margin-top: .5rem; }

/* ---------- 14. Pros/cons & lists ---------- */
.proscons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.pros, .cons { border-radius: var(--radius); padding: 1rem 1.15rem; }
.pros { background: var(--bg-green); border: 1px solid #d7ecda; }
.cons { background: #fdf1f1; border: 1px solid #f6d9da; }
.pros h3, .cons h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; }
.pros h3 .icon { color: var(--green-500); }
.cons h3 .icon { color: var(--red-500); }
@media (max-width: 640px) { .proscons { grid-template-columns: minmax(0, 1fr); } }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.checklist li { position: relative; padding-left: 1.65rem; font-size: max(.92rem, 16px) /* rt-1019 */; line-height: 1.4; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .08em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--green-500) no-repeat center / 70% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.checklist--x li::before { background-color: var(--red-500); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }
.checklist--blue li::before { background-color: var(--blue-500); }
.checklist--plain li::before { background: none; border: 0; }
.checklist--sm li { font-size: max(.84rem, 16px) /* rt-1019 */; padding-left: 1.45rem; }
.checklist--sm li::before { width: 1rem; height: 1rem; }
.checklist--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1.25rem; }
@media (max-width: 520px) { .checklist--2col { grid-template-columns: minmax(0, 1fr); } }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .86rem; color: var(--text); }
.ticks li { display: inline-flex; align-items: center; gap: .4rem; }
.ticks .icon { width: 1.15em; height: 1.15em; color: var(--green-500); }
.ticks--light { color: #fff; }
.ticks--light .icon { color: #fff; }
/* Empty checkboxes for checklist pages (colour per group via --c) */
.boxlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.boxlist li { position: relative; padding-left: 1.6rem; font-size: max(.9rem, 16px) /* rt-1019 */; }
.boxlist li::before { content: ""; position: absolute; left: 0; top: .2em; width: .95rem; height: .95rem; border: 1.6px solid var(--c, var(--blue-500)); border-radius: 3px; background: #fff; }

/* ---------- 15. Boxes & lead capture ---------- */
.box { background: var(--bg-tint); border: 1px solid #e3ebf6; border-radius: var(--radius); padding: 1rem 1.15rem; }
.box--white { background: #fff; border-color: var(--line); box-shadow: var(--shadow-xs); }
.box--green { background: var(--bg-green); border-color: #d9eedc; }
.box h2, .box h3 { font-size: 1.12rem; margin-bottom: .55rem; }
.box__head { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.box__head h2, .box__head h3 { margin: 0; }
.lead-box { position: relative; overflow: hidden; background: linear-gradient(135deg, #f1f9f2 0%, #e8f4ea 100%); border: 1px solid #d6ebd9; border-radius: var(--radius-lg); padding: clamp(1rem, .8rem + 1vw, 1.6rem); }
.lead-box__title { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem); margin-bottom: .4rem; }
.lead-box__text { color: var(--text); font-size: max(.95rem, 16px) /* rt-1019 */; }
.lead-box--row { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(260px, .9fr); gap: 1rem 1.5rem; align-items: center; }
@media (max-width: 860px) { .lead-box--row { grid-template-columns: minmax(0, 1fr); } }
.callout { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--radius); background: var(--blue-50); border: 1px solid #dce8f8; font-size: max(.9rem, 16px) /* rt-1019 */; }
.callout > .icon { color: var(--blue-600); margin-top: .1rem; }
.callout--warn { background: #fff8eb; border-color: #f7e2b5; }
.callout--warn > .icon { color: #c47a0a; }
.disclosure { display: flex; gap: .5rem; align-items: flex-start; margin: 0; padding: .55rem .8rem; border-radius: var(--radius-sm); background: var(--bg-soft); color: var(--muted); font-size: max(.8rem, 14px) /* rt-1019 */; line-height: 1.45; }
.disclosure .icon { color: var(--green-600); width: 1.05em; height: 1.05em; margin-top: .1em; }
.disclosure a { color: inherit; }
.legal-review-note { margin: 0 0 1rem; padding: .6rem .85rem; border-left: 4px solid var(--orange-500); background: #fff8ef; font-size: .85rem; color: #6a4a12; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ---------- 16. Tables ---------- */
.table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: max(.88rem, 16px) /* rt-1019 */; }
.table caption { text-align: left; padding: .6rem .8rem; font-weight: 700; color: var(--ink); }
.table th, .table td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table thead th { background: var(--navy-900); color: #fff; font-weight: 700; font-size: .82rem; white-space: nowrap; }
.table tbody tr:nth-child(even) { background: #fafcfe; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody th { font-weight: 600; color: var(--ink); }
.table--center td, .table--center th:not(:first-child) { text-align: center; }
.table .yes, .table .no { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; }
.table .yes { background: var(--green-500); }
.table .no { background: var(--red-500); }
.table .yes .icon, .table .no .icon { width: 13px; height: 13px; }
.table .th-a { background: var(--orange-500); }
.table .th-b { background: var(--blue-600); }
.table .th-c { background: var(--purple-500); }
.table-tool { display: flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
@media (max-width: 640px) { .table { font-size: max(.8rem, 16px) /* rt-1019 */; } .table th, .table td { padding: .5rem .55rem; } }

/* ---------- 17. Accordion (FAQ) ---------- */
.accordion { display: grid; gap: .5rem; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .95rem; cursor: pointer; list-style: none; font-weight: 600; font-size: .92rem; color: var(--ink); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.accordion--plus summary::after { width: 14px; height: 14px; border: 0; transform: none; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1f3c' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.accordion--plus details[open] summary::after { transform: rotate(45deg); }
.accordion__body { padding: 0 .95rem .85rem; font-size: max(.9rem, 16px) /* rt-1019 */; color: var(--text); }
.accordion__body p:last-child { margin-bottom: 0; }
.accordion--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: .6rem 1.25rem; }
@media (max-width: 760px) { .accordion--cols { grid-template-columns: minmax(0, 1fr); } }
.accordion--flush { gap: 0; }
.accordion--flush details { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }

/* ---------- 18. Link lists & table of contents ---------- */
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list li:last-child { border-bottom: 0; }
.link-list a { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; color: var(--blue-600); text-decoration: none; font-size: .92rem; }
.link-list a:hover { text-decoration: underline; }
.link-list a > .icon:first-child { color: var(--muted); }
.link-list a > .icon:last-child { margin-left: auto; width: 1em; height: 1em; }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.cat-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: .65rem; align-items: center; padding: .38rem 0; text-decoration: none; color: var(--blue-600); font-size: .9rem; }
.cat-list a:hover span:nth-child(2) { text-decoration: underline; }
.cat-list .count { color: var(--muted); font-size: .85rem; }
.cat-list a > .icon:last-child { width: 1em; height: 1em; }
.toc { counter-reset: toc; list-style: none; margin: 0; padding: 0; }
.toc li { counter-increment: toc; border-bottom: 1px solid #e4ebf4; }
.toc li:last-child { border-bottom: 0; }
.toc a { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) auto; align-items: center; gap: .25rem; padding: .32rem 0; color: var(--blue-600); text-decoration: none; font-size: .9rem; }
.toc a::before { content: counter(toc) "."; color: var(--blue-600); }
.toc a::after { content: "\2192"; margin-right: .1rem; font-weight: 600; line-height: 1; }
.toc a:hover, .toc a.is-active { text-decoration: underline; color: var(--blue-700); }
.toc--plain a::before { content: none; }
.toc--plain a { grid-template-columns: minmax(0, 1fr) auto; }

/* ---------- 19. Forms ---------- */
.field { display: grid; gap: .35rem; margin-bottom: .85rem; }
.field label, .label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.req { color: var(--red-600); }
.input, .select, .textarea, .form-inline input {
  width: 100%; min-height: 44px; padding: .6rem .85rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font-size: .95rem;
}
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; padding-right: 2.5rem; background: #fff no-repeat right .85rem center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a66d9' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.input:focus, .select:focus, .textarea:focus, .form-inline input:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px var(--green-100); }
.input::placeholder, .textarea::placeholder, .form-inline input::placeholder { color: #8391a7; }
.field__error { display: none; margin: 0; font-size: max(.82rem, 16px) /* rt-1019 */; color: var(--red-600); }
.field.is-invalid .field__error { display: block; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red-600); }
.form-status { margin: .5rem 0 0; font-size: max(.86rem, 16px) /* rt-1019 */; min-height: 0; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--red-600); }
.form-status.is-success { color: var(--green-700); font-weight: 600; }
.form-fine { display: flex; align-items: flex-start; gap: .4rem; margin: .55rem 0 0; font-size: max(.8rem, 14px) /* rt-1019 */; color: var(--muted); }
.form-fine > .icon { margin-top: .15em; }
.form-fine .icon { width: 1em; height: 1em; }
/* Email + button joined on one row (stacks on narrow screens) */
.form-inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.form-inline .field { margin: 0; }
.form-inline input { border-radius: var(--radius-sm) 0 0 var(--radius-sm); min-height: 46px; }
.form-inline .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; min-height: 46px; white-space: nowrap; }
.form-inline .form-status, .form-inline .form-fine { grid-column: 1 / -1; }
.form-inline--stack { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
.form-inline--stack input, .form-inline--stack .btn { border-radius: var(--radius-sm); }
@media (max-width: 480px) {
  .form-inline { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .form-inline input, .form-inline .btn { border-radius: var(--radius-sm); width: 100%; }
}
.search-box { display: flex; }
.search-box input { flex: 1; min-width: 0; min-height: 44px; padding: .55rem .85rem; border: 1px solid var(--line-strong); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.search-box button { display: grid; place-items: center; width: 48px; border: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--green-600); color: #fff; }
.search-box button:hover { background: var(--green-700); }

/* ---------- 20. Bands & strips ---------- */
/* Photo CTA band (mountain/forest photo with navy overlay) */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy-900); }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 26, 51, .55), rgba(7, 26, 51, .35) 50%, rgba(7, 26, 51, .55)); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 2rem; padding-block: clamp(.9rem, .7rem + 1vw, 1.4rem); }
.cta-band__copy { max-width: 36rem; }
.cta-band h2 { color: #fff; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); margin: 0 0 .2rem; }
.cta-band p { margin: 0; font-size: max(.9rem, 16px) /* rt-1019 */; color: #e8eef7; }
/* Solid navy rounded CTA panel */
.cta-panel { background: var(--navy-900); color: #dbe4f2; border-radius: var(--radius-lg); padding: clamp(1.1rem, .9rem + 1vw, 1.75rem); text-align: center; }
.cta-panel h2 { color: #fff; margin-bottom: .3rem; }
.cta-panel > p:where(:not([class])) { margin: 0 auto .9rem; max-width: 46rem; }
.cta-panel .form-fine { justify-content: center; color: #b9c6da; }
/* Trust/stat strip (values are placeholders until verified) */
.trust-strip { background: var(--bg-tint); border-top: 1px solid #e3ebf6; }
.trust-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-block: .9rem; }
.trust-item { display: flex; align-items: center; gap: .6rem; font-size: max(.8rem, 16px) /* rt-1019 */; color: var(--muted); line-height: 1.25; }
.trust-item strong { display: block; color: var(--ink); font-size: .98rem; font-family: var(--font-head); }
.trust-item > .icon { width: 30px; height: 30px; color: var(--c, var(--green-600)); }
.trust-sep { width: 1px; align-self: stretch; background: var(--line-strong); }
@media (max-width: 760px) { .trust-sep { display: none; } .trust-strip__inner { justify-content: flex-start; } }
/* Brand names as plain text wordmarks (never recreated logos) */
.logo-strip { background: var(--bg-soft); }
.logo-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-block: .8rem; }
.logo-strip__label { font-size: .82rem; color: var(--ink); margin: 0; }
.logo-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem clamp(1rem, 2.6vw, 2.6rem); }
.logo-strip li { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; color: #3c4a63; }

/* ---------- 21. Ebook / guide cover mockup (HTML text on a CSS cover; optional photo art) ---------- */
.ebook { position: relative; width: var(--w, 220px); aspect-ratio: 3 / 4; border-radius: 4px 10px 10px 4px; background: var(--navy-900); color: #fff; box-shadow: 14px 16px 30px rgba(13, 31, 60, .28), inset 6px 0 0 rgba(255, 255, 255, .12); overflow: hidden; transform: perspective(900px) rotateY(-8deg); display: flex; flex-direction: column; }
.ebook::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 10px; background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(255,255,255,.08)); }
.ebook__art { position: absolute; inset: 0; z-index: 0; }
.ebook__art img { width: 100%; height: 100%; object-fit: cover; }
.ebook--photo { background: #cfe0f2; color: var(--ink); }
.ebook--photo .ebook__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.5) 34%, rgba(255,255,255,0) 55%); }
.ebook__brand { position: relative; z-index: 1; display: flex; align-items: center; gap: .3rem; margin: .7rem auto 0; padding: .2rem .45rem; border-radius: 6px; background: rgba(255,255,255,.9); color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: .44rem; line-height: 1; text-transform: uppercase; letter-spacing: .06em; }
.ebook__brand img { width: 18px; }
.ebook__title { position: relative; z-index: 1; margin: .5rem .7rem 0; font-family: var(--font-head); font-weight: 800; font-size: calc(var(--w, 220px) * .118); line-height: 1.02; text-transform: uppercase; text-align: center; letter-spacing: -.01em; }
.ebook__band { position: relative; z-index: 1; margin: .55rem .9rem 0; padding: .35rem .4rem; border-radius: 4px; background: var(--green-600); font-weight: 700; font-size: calc(var(--w, 220px) * .045); text-align: center; text-transform: uppercase; line-height: 1.2; }
.ebook__icon { position: relative; z-index: 1; margin: auto auto .9rem; color: #fff; }
.ebook__icon .icon { width: calc(var(--w, 220px) * .26); height: calc(var(--w, 220px) * .26); }
.ebook--sm { --w: 120px; }
.ebook--md { --w: 170px; }
.ebook--lg { --w: 260px; }
.sheet { width: var(--w, 170px); aspect-ratio: 3 / 4; padding: .9rem .8rem; border-radius: 6px; background: #fff; box-shadow: 8px 10px 24px rgba(13, 31, 60, .18); font-family: var(--font-head); color: var(--ink); }
.sheet__title { margin: 0 0 .6rem; font-weight: 800; font-size: max(.95rem, 16px) /* rt-1019 */; line-height: 1.05; text-transform: uppercase; }
.sheet__line { display: flex; align-items: center; gap: .4rem; margin-bottom: .55rem; }
.sheet__line::after { content: ""; flex: 1; height: 5px; border-radius: 3px; background: #dfe6ef; }
.sheet__line .icon { width: 15px; height: 15px; color: var(--green-500); }

/* ---------- 22. Legal / policy layout ---------- */
.legal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.legal-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.legal-item:last-child { border-bottom: 0; }
.legal-item h2 { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); margin-bottom: .25rem; }
.legal-item p { font-size: max(.92rem, 14px) /* rt-1019 */; margin-bottom: .4rem; }
.legal-item p:last-child { margin-bottom: 0; }
.updated { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-radius: var(--radius); background: var(--blue-50); font-size: .88rem; }
.updated .icon { width: 28px; height: 28px; color: var(--blue-600); }

/* ---------- 23. Misc components ---------- */
.author-box { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.15rem; }
.avatar { display: grid; place-items: center; flex: none; width: var(--s, 56px); height: var(--s, 56px); border-radius: 50%; background: var(--blue-100); color: var(--blue-700); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .icon { width: 55%; height: 55%; }
.quote-card { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem; }
.quote-card blockquote { margin: 0; font-size: max(.9rem, 16px) /* rt-1019 */; font-style: italic; color: var(--text); }
.quote-card cite { display: block; margin-top: .4rem; font-style: normal; font-size: .84rem; color: var(--muted); }
/* Components that set display must still hide when a script sets the hidden attribute. */
[hidden] { display: none !important; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35rem; margin-top: 1.25rem; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 .6rem; border-radius: var(--radius-sm); font-size: .88rem; text-decoration: none; color: var(--ink); }
.pagination a:hover { background: var(--bg-soft); }
.pagination [aria-current="page"] { background: var(--green-600); color: #fff; font-weight: 700; }
.pagination .pagination__edge { color: var(--blue-600); font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.pagination .is-disabled { color: #9aa6b8; border: 1px solid var(--line); }
.vs { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy-900); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; box-shadow: 0 0 0 5px #fff; }
.screen { position: relative; border-radius: 12px; background: #1d2633; padding: 10px 10px 14px; box-shadow: var(--shadow); }
.screen img { border-radius: 4px; width: 100%; }
.screen--caption { margin: .4rem 0 0; font-size: .74rem; color: var(--muted); text-align: center; }
.map-card { position: relative; overflow: hidden; border-radius: var(--radius); }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem 1rem; margin: 0; font-size: max(.88rem, 16px) /* rt-1019 */; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); font-weight: 600; }
.divider { height: 1px; background: var(--line); border: 0; margin: 1rem 0; }

/* ---------- 24. Footer ---------- */
.site-footer { background: #0b2132; color: #c4d0de; font-size: .88rem; }
.site-footer a { color: #dfe7f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__inner { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; display: grid; grid-template-columns: 1.35fr repeat(3, minmax(0, .75fr)) 1.35fr; gap: 1.5rem 2rem; padding-block: 2.25rem 1.5rem; }
.site-footer__tagline { margin: .7rem 0 .4rem; color: #fff; font-weight: 600; }
.site-footer__about { margin: 0 0 .9rem; font-size: .84rem; line-height: 1.5; }
.site-footer__title { margin: 0 0 .7rem; color: #fff; font-size: .95rem; font-weight: 700; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer .social { display: flex; gap: .45rem; }
.site-footer .social a { width: 34px; height: 34px; background: rgba(255,255,255,.08); }
.site-footer .social a:hover { background: var(--green-600); text-decoration: none; }
.site-footer__news p { margin: 0 0 .7rem; }
.site-footer__fine { margin: .55rem 0 0 !important; font-size: .78rem; color: #93a3b8; }
.form-inline--dark input { border-color: transparent; }
.site-footer__bottom { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; padding-block: 1rem 1.4rem; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: .35rem; font-size: .78rem; color: #93a3b8; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: #c4d0de; text-decoration: underline; }
@media (max-width: 1024px) { .site-footer__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); } .site-footer__brand, .site-footer__news { grid-column: span 3; } }
@media (max-width: 560px) { .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__brand, .site-footer__news { grid-column: 1 / -1; } }
.site-footer--slim .site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.75rem; padding-block: 1rem .8rem; }
.site-footer--slim .site-footer__tagline { margin: 0; font-weight: 400; font-size: .84rem; color: #dfe7f1; }
.site-footer--slim .site-footer__links { margin-left: auto; }
.site-footer--slim .site-footer__links ul { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.site-footer--slim .social a { width: 28px; height: 28px; background: none; }
.site-footer--slim .site-footer__bottom { padding-block: .6rem .9rem; }
@media (max-width: 860px) { .site-footer--slim .site-footer__links { margin-left: 0; width: 100%; } }
/* Wide screens: logo, tagline, links and social on one row, as in the designs (copyright line stays below: no room) */
@media (min-width: 1240px) {
  .site-footer--slim .site-footer__inner, .site-footer--slim .site-footer__bottom { width: min(100% - 2 * var(--gutter), 1320px); }
  .site-footer--slim .site-footer__inner { flex-wrap: nowrap; gap: .75rem 1.25rem; }
  .site-footer--slim .site-footer__tagline { flex: 0 1 auto; min-width: 0; font-size: .8rem; }
  .site-footer--slim .site-footer__links ul { flex-wrap: nowrap; gap: .3rem 1.1rem; white-space: nowrap; }
  .site-footer--slim .social { flex: none; }
}

/* ---------- 25. Utilities ---------- */
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; } .items-center { align-items: center; } .gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
.scroll-x { overflow-x: auto; }
@media print { .topbar, .site-header, .site-footer, .cta-band, .lead-box { display: none !important; } body { color: #000; } }

/* E-E-A-T byline under article H1s (site name + real dates; added 2026-10-11) */
.byline { margin: .35rem 0 .6rem; color: var(--muted); font-size: max(.88rem, 14px) /* rt-1019 */; line-height: 1.45; }
.byline a { color: var(--blue-600); font-weight: 600; text-decoration: none; }
.byline a:hover, .byline a:focus-visible { text-decoration: underline; }
.byline time { white-space: nowrap; }

/* Accessibility (Lighthouse, 2026-10-11): review TOC links at 4.5:1 on their tinted panel (the site's own
   darker link blue) + 24px tap target for the small "read review" links on best-of rows */
.rv-toc .toc a { color: #1a66d9; }
.best-row__link { display: inline-block; padding-block: 4px; }

/* CLS (Lighthouse, 2026-10-11): the hero byline wrapped to a 2nd line once Inter loaded, pushing the page down
   (CLS 0.24 on review pages); reserve both lines up front */
.hero .byline { min-height: 2.9em; }

/* UX audit W05 (2026-10-19): "How this review was made" evidence card under each review byline */
.ev-card { margin: .9rem 0 1.1rem; padding: .85rem 1.1rem; border: 1px solid #d8e2f0; border-left: 4px solid #1170f0; border-radius: 10px; background: #f7faff; color: #1d2b45; font-size: 16px; line-height: 1.5; max-width: 52rem; }
.ev-card__title { margin: 0 0 .35rem; font-weight: 700; font-size: 17px; color: #0c1f45; }
.ev-card ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .25rem; }

/* Privacy notice under sign-up forms (lead_consent.py): surrounding colour, so contrast is the container's own. */
.lead-consent { font-size: .9375rem;   /* >= 14px on a 15px root (audit W02) */  line-height: 1.45; margin: .55rem 0 0; color: inherit; grid-column: 1 / -1; }
.lead-consent a, .lead-consent-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* footer link rules (text-decoration: none) out-rank the class; a link inside a sentence must not rely on colour alone */
.lead-consent a, a.lead-consent-link { text-decoration-line: underline !important; }
/* Form feedback (lead-forms.js): boxed, high-contrast on light pages and dark footers alike (owner 2026-10-12). */
.form-status:empty { display: none; }
.form-status.is-pending, .form-status.is-success, .form-status.is-error { display: block; width: 100%; flex: 0 0 100% !important; max-width: 100%;
  grid-column: 1 / -1; margin: .65rem 0 0; padding: .7rem .9rem; border-radius: 10px; font-size: .92rem; line-height: 1.45;
  font-weight: 600; text-align: left; }
.form-status.is-pending { background: #eef4f4 !important; color: #01545b !important; border: 1px solid #cfe1e1; }
.form-status.is-success { background: #e8f5e3 !important; color: #14532d !important; border: 1px solid #a9d9a0; }
.form-status.is-error { background: #fdeeee !important; color: #8a1c1c !important; border: 1px solid #f1b8b8; }
/* !important: page rules such as .ld-final__form .form-status.is-success (light text for a dark band) */
form[aria-busy="true"] button { cursor: progress; opacity: .85; }
form.has-status[data-lead-surface] { flex-wrap: wrap !important; }   /* beats page rules like .cat-news .inline-form { nowrap } */
.best-fkit__grid > form.has-status { grid-column: 1 / -1; }   /* sidebar kit box: message gets the full box width */
button.is-done { background: #14532d !important; border-color: #14532d !important; color: #fff !important; }

/* Sticky affiliate bar (wga_revenue.py): only on pages with a live affiliate link. */
.aff-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: #fff; border-top: 1px solid #d7dfe9; box-shadow: 0 -8px 24px rgba(7, 26, 51, .12); transform: translateY(110%);
  transition: transform .25s ease; }
.aff-sticky.is-on { transform: none; }
.aff-sticky[hidden] { display: none; }
.aff-sticky__in { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: .9rem; }
.aff-sticky__txt { margin: 0; flex: 1; min-width: 0; font-size: .95rem; line-height: 1.35; color: #0b1f3a; }
.aff-sticky__txt b { display: block; font-size: 1rem; }
.aff-sticky__txt small { display: block; font-size: .8rem; color: #4a5b70; }
.aff-sticky .btn { flex: 0 0 auto; white-space: nowrap; }
.aff-sticky__x { flex: 0 0 auto; width: 44px; height: 44px; border: 0; background: transparent; color: #4a5b70; font-size: 1.5rem;
  line-height: 1; cursor: pointer; border-radius: 8px; }
.aff-sticky__x:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
@media (max-width: 560px) { .aff-sticky__txt small { display: none; } .aff-sticky .btn { padding-inline: .9rem; font-size: .9rem; } }
@media (prefers-reduced-motion: reduce) { .aff-sticky { transition: none; } }
@media print { .aff-sticky { display: none !important; } }

/* Help program 2026-10-19 (build_wga.py): free-resource box, help boxes and small tables added to guides and reviews. */
.hp-lead { margin: 1.5rem 0; display: grid; gap: .9rem; }
.hp-lead-wrap { margin-block: 1.5rem; }
.hp-lead .lead-box__title { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); }
.hp-lead__ctx { font-weight: 600; color: var(--ink); }
.hp-lead__more { margin: .2rem 0 0; font-size: .9rem; }
.hp-lead__more a, .hp-box a { text-decoration: underline; text-underline-offset: 2px; }
.hp-box { background: var(--bg-tint); border: 1px solid #e3ebf6; border-radius: var(--radius); padding: 1rem 1.15rem; margin: 1.5rem 0; color: var(--text); }
.hp-box--green { background: var(--bg-green); border-color: #d9eedc; }
.hp-box--white { background: #fff; border-color: var(--line); }
.hp-box > h2, .hp-box > h3 { font-size: 1.12rem; line-height: 1.3; margin: 0 0 .55rem; color: var(--ink); }
/* Starter Kit v2: real page previews on /starter-kit */
.sk-pages { list-style: none; margin: .9rem 0 .3rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.sk-pages img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-xs); background: #fff; }
.sk-pages__cap { font-size: .9375rem; color: var(--muted); }   /* >= 14px (audit W02) */
.ld-mock__s3 .ld-sheet__title { text-align: right; }   /* its left edge sits under the middle sheet */
@media (max-width: 520px) { .sk-pages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; } }
.hp-box p { margin: 0 0 .6rem; }
.hp-box p:last-child, .hp-box ul:last-child, .hp-box ol:last-child { margin-bottom: 0; }
.hp-box ul, .hp-box ol { margin: .2rem 0 .7rem; padding-left: 1.3rem; }
.hp-box li { margin: .25rem 0; }
.hp-box li::marker { color: var(--green-700); }
.hp-box .hp-note, .hp-note { font-size: .9375rem; color: var(--muted); }   /* >= 14px reading text (audit W02) */
.hp-box .table-wrap { margin: .4rem 0 .7rem; }
.hp-box .table th, .hp-box .table td { vertical-align: top; }
.hp-box .table td, .hp-box .table th { white-space: normal; }
.hp-done { display: block; margin-top: .35rem; font-size: .9rem; color: var(--green-800); }
.hp-paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .9rem; margin: 0; padding: 0; list-style: none; }
.hp-paths li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; box-shadow: var(--shadow-xs); }
.hp-paths h3 { font-size: 1.02rem; margin: 0 0 .3rem; }
.hp-paths p { margin: 0 0 .5rem; font-size: .95rem; }
.hp-section { margin-block: 1.75rem; }
@media print { .hp-lead { display: none; } }

/* 2026-10-22 journey test: a card's stretched link (.stretched::after, inset 0) must cover ITS card only. .post-card was
   not positioned, so on phones the home "Tools" card's overlay covered the hero's Starter Kit button. */
.post-card { position: relative; }
/* 2026-10-22 accessibility audit (axe 4.14, WCAG 2.2 AA): text contrast >= 4.5:1 and touch targets >= 24px */
.tag.c-blue { --c: #1d64c4; } .tag.c-orange { --c: #a65308; } .tag.c-red { --c: #c0353a; } .tag.c-teal { --c: #0d7575; }
.badge--orange { color: #8a4405; }
.cons h3 { color: #ad2a30; }
.pagination .is-disabled { color: #5d6878; }
.ld-hero .ld-legal a { color: #b9d3ff; }
.alt-toc a, .lg-toc a, .toc a { display: inline-block; min-height: 24px; padding-block: 2px; }
.link-list a { min-height: 24px; }
.link-arrow { min-height: 24px; }
.nav__sub a { min-height: 24px; }
.lnd-kit__form input { min-height: 44px; }
/* narrow sidebar sign-up boxes: stack name, email and button (the email field was squeezed to ~20px beside the button) */
.lnd-kit__form { grid-template-columns: minmax(0, 1fr); }
.lnd-kit__form > .field, .lnd-kit__form > .btn { grid-column: 1 / -1; min-width: 0; }
.lnd-kit__form > .btn { justify-content: center; }
/* sign-up forms put email and button side by side only when each gets 200px+, otherwise they stack (2026-10-22
   layout check: email fields of 20-118px in narrow forms on /convertkit-review, /start-here, /reviews and best-of pages;
   the form can be narrow inside a wide box, so this keys off the form's own width, not the box's) */
.lead-box form.form-inline, .alt-strip form.form-inline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: .5rem; }
.lead-box form.form-inline > .field, .lead-box form.form-inline > .btn,
.alt-strip form.form-inline > .field, .alt-strip form.form-inline > .btn { min-width: 0; }
.lead-box form.form-inline > .field--fname, .lead-box form.form-inline > .form-status,
.lead-box form.form-inline > .ticks, .lead-box form.form-inline > p,
.alt-strip form.form-inline > .field--fname, .alt-strip form.form-inline > .form-status,
.alt-strip form.form-inline > [class*="ticks"] { grid-column: 1 / -1; }
/* review feature cards: one per row on phones (two 175px columns turned the longer Bluehost cards into word ladders) */
@media (max-width: 600px) { .rv-feats.grid { grid-template-columns: minmax(0, 1fr); }
  /* earnings disclaimer: the note already wraps to its own row on phones, so drop its empty third column */
  .lg-card.ed-item { grid-template-columns: 32px minmax(0, 1fr); } }
/* a table placed inside an "at a glance" side box wraps to the box instead of widening the page (10-22: the upgraded
   GetResponse review was 413px wide on a 390px phone) */
.alt-box { min-width: 0; max-width: 100%; }
.alt-box table { width: 100%; table-layout: fixed; }
.alt-box th, .alt-box td { overflow-wrap: anywhere; }
.ev-links { border: 1px solid #d7e3f1; background: #f5f9ff; border-radius: 12px; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.ev-links__title { margin: 0 0 .4rem; }
.ev-links ul { margin: 0; padding-left: 1.1rem; }
.ev-links li { margin: .35rem 0; }
details > summary { min-height: 24px; }
.vs-recent a { display: inline-block; min-height: 24px; }
.ld-final .ld-legal a, .ld-final .form-fine a { color: #cfe0ff; }
/* Email series v2 (build_wga.py series_v2_forms, 2026-10-20): first-name field + inline confirmation */
form[data-lead-surface] .field--fname { grid-column: 1 / -1; flex: 1 1 100%; }
.form-inline .field--fname, .ld-final__form .field--fname { margin: 0 0 .5rem; }
.form-inline--stack .field--fname, .ld-formbox .field--fname, .nl-join .field--fname { margin: 0; }
.field--fname .fname-label { display: block; margin: 0; font-size: .86rem; font-weight: 600; line-height: 1.3; color: inherit; text-align: left; }
.form-inline .field--fname input, .ld-final__form .field--fname .input, .cfa-strip__form .field--fname input { border-radius: var(--radius-sm, 6px); }
.form-inline--dark .fname-label, .ld-final .fname-label { color: #fff; }
.gd-iconfield.field--fname > .icon { top: calc(1.12rem + .35rem + 22px); }
@media (max-width: 560px) { .ld-final__form .field--fname { margin: 0; } }
@media (max-width: 480px) { .form-inline .field--fname { margin: 0; } }
form[data-lead-surface] .lead-confirm { grid-column: 1 / -1; flex: 0 0 100%; width: 100%; max-width: 100%; margin: .5rem 0 0; padding: .8rem .95rem;
  border-radius: 10px; background: #fff; color: #1f2a3d; border: 1px solid #a9d9a0; font-size: .9rem; line-height: 1.5; font-weight: 400; text-align: left; }
form[data-lead-surface] .lead-confirm p { margin: 0 0 .55rem; color: inherit; font-size: inherit; line-height: inherit; max-width: none; }
form[data-lead-surface] .lead-confirm a { color: #0b4f99; text-decoration: underline; text-underline-offset: 2px; }
form[data-lead-surface] .lead-confirm .lead-confirm__go { display: inline-block; margin: 0 .6rem .3rem 0; padding: .45rem .85rem; border-radius: 8px;
  background: #14532d; color: #fff; text-decoration: none; font-weight: 600; }
form[data-lead-surface] .lead-confirm details { margin: 0 0 .55rem; }
form[data-lead-surface] .lead-confirm summary { cursor: pointer; font-weight: 600; color: #14532d; }
form[data-lead-surface] .lead-confirm ol, form[data-lead-surface] .lead-confirm ul { margin: .45rem 0 .55rem 1.15rem; padding: 0; list-style-position: outside; }
form[data-lead-surface] .lead-confirm ol { list-style: decimal; }
form[data-lead-surface] .lead-confirm ul { list-style: disc; }
form[data-lead-surface] .lead-confirm li { margin: 0 0 .3rem; color: inherit; font-size: inherit; }
form[data-lead-surface] .lead-confirm li::before { content: none; }
form[data-lead-surface] .lead-confirm .lead-confirm__help { margin: 0; }
form[data-lead-surface] .lead-confirm .lead-confirm__links a { white-space: nowrap; }
/* sidebar kit box: once the confirmation shows, the form spans the box, so the cover beside it steps aside */
.best-fkit__grid:has(> form.has-status) .best-fkit__cover { display: none; }
.lc-addr { overflow-wrap: anywhere; font-weight: 600; }
/* /thank-you */
.ty-hero .ty-hero__title { font-size: clamp(2.6rem, 1.3rem + 4.6vw, 5.2rem); line-height: 1; margin-bottom: .7rem; }
.ty-inbox { margin: .9rem 0 0; padding: 0; list-style: none; }
.ty-inbox li { margin: 0 0 .35rem; }
.ty-missing__steps { margin: 0 0 1rem 1.25rem; padding: 0; }
.ty-missing__steps li, .ty-missing__apps li { margin: 0 0 .5rem; line-height: 1.5; }
.ty-missing__apps { margin: 0 0 1rem 1.25rem; padding: 0; list-style: disc; }
.ty-missing__apps-h { margin: 0 0 .4rem; }
.ty-help { max-width: 52rem; }
.ty-help .card { padding: 1.4rem 1.5rem; }
.ty-help h3 { margin: 1.2rem 0 .5rem; }
.ty-help p { margin: 0 0 .8rem; }

/* page program 2026-10-23: answer-first boxes and dated price tables */
.pp-answer{margin:1.25rem 0 1.5rem}
.hp-box.pp-answer p{margin:.45rem 0}
.pp-answer__label{font-size:1.05rem}
.pp-answer__src{font-size:.95rem;color:#3b4a5e}  /* 14px reading floor (audit_behave W02, 2026-10-24) */
.pp-table{overflow-x:auto;margin:1rem 0 1.5rem;max-width:100%}
.pp-table table{border-collapse:collapse;width:100%;min-width:32rem;font-size:.95rem}
.pp-table caption{text-align:left;font-weight:700;padding:.25rem 0 .5rem}
.pp-table th,.pp-table td{border:1px solid #d5dce6;padding:.5rem .6rem;text-align:left;vertical-align:top}
.pp-table thead th{background:#eef4fb}
.pp-table:focus-visible{outline:3px solid #1452b8;outline-offset:2px}

/* 2026-10-29 money placement (wga_money.py): verdict + button boxes on earning pages */
.money-cta { margin: 1.1rem 0; }
.money-cta > p { margin: 0 0 .6rem; }
.money-cta a.btn, .money-mid a.btn { text-decoration: none; }
.money-cta .money-cta__btns { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; margin: .2rem 0 .5rem; }
.money-cta .money-cta__fine { font-size: max(.82rem, 14px); margin: 0; opacity: .9; }
.money-end { margin-block: 1.5rem; }
.money-mid { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; margin: 1rem 0; }
.money-mid .money-cta__fine { font-size: max(.82rem, 14px); margin: 0; }
.vs-hero__actions:has(.money-hero) { display: flex; flex-wrap: wrap; gap: .6rem; }
