/* =============================================================================
   LongevityBloodTest.com – site styles
   Self-hosted Fraunces (headings) and Plus Jakarta Sans (body).
   Headings use the narrow width axis; body text runs at normal width.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Jakarta";
  src: url("/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  src: url("/assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Design: "Editorial clinical" structure and serif authority, softened with an
   aurora glow (mint / sky / lilac) and rounded, friendly controls. */
:root {
  --paper: #ffffff;
  --ink: #10241d;        /* deep green-black text */
  --ink-2: #3b5249;
  --ink-3: #5a6e66;
  --teal: #1f6b52;       /* brand green (accent) */
  --teal-ink: #14453a;   /* deep brand green */
  --teal-wash: #eaf6f0;
  --mint: #c9f2df;
  --sky: #dcefff;
  --lilac: #ece6ff;
  --mist: #f5f8f6;
  --line: #dfe8e3;
  --line-strong: #bfd0c7;
  --amber-wash: #fff3c7;
  --amber-ink: #6e4f00;
  --amber-line: #d4aa3a;

  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --measure: 68ch;

  --r-s: 8px;
  --r-m: 16px;
  --r-l: 22px;
  --shadow: 0 30px 70px -40px rgba(16, 36, 29, 0.45);

  --gutter: 20px;
  --sticky-space: 0px;
}
@media (min-width: 768px) {
  :root { --gutter: 32px; }
}
@media (max-width: 767px) {
  :root { --sticky-space: 76px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--teal-ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 3px; }
::selection { background: #cfe6e7; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.25rem); line-height: 1.02; }
h1 em, h2 em { font-style: italic; color: var(--teal); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.08; }
h3 { font-size: 1.2rem; line-height: 1.25; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: 0.35em; }
strong { font-weight: 700; }
small { font-size: 0.85em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.lede { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 52ch; }
.muted { color: var(--ink-3); }
.small { font-size: 0.9rem; }
.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-s);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 7vw, 92px); }
.section--tint { background: var(--teal-wash); }
.section--tight { padding-block: clamp(32px, 4vw, 52px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; max-width: 56ch; color: var(--ink-2); }
.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }

.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2em; font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.9rem); }
.prose h3 { margin-top: 1.8em; }
.prose > :first-child { margin-top: 0; }
.prose li::marker { color: var(--teal); }
.prose table { font-size: 0.95rem; }

/* ---------- Placeholder highlighting (remove need by replacing data) ---------- */
mark.ph {
  background: var(--amber-wash);
  color: var(--amber-ink);
  border: 1px dashed var(--amber-line);
  border-radius: 4px;
  padding: 0 0.3em;
  font-size: 0.9em;
  font-weight: 500;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.phv {
  background: var(--amber-wash);
  box-shadow: inset 0 -2px 0 var(--amber-line);
  border-radius: 3px;
  padding: 0 0.15em;
}
.ph-chip {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  padding: 3px 5px;
  margin-left: 4px;
  border-radius: 4px;
  color: var(--amber-ink);
  background: var(--amber-wash);
  border: 1px dashed var(--amber-line);
  letter-spacing: 0;
}
.ph-notice { background: var(--amber-wash); border-bottom: 1px solid var(--amber-line); color: var(--amber-ink); font-size: 0.86rem; padding: 8px 0; }
.ph-notice p { margin: 0; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 30; }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 640; font-size: 1.14rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand__tld { color: var(--ink-3); font-weight: 500; }
.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-s);
  background: #fff; color: var(--ink); font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--ink-2); font-weight: 560; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"], .site-nav a[data-section-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--teal); }
.site-header .header-cta { display: none; }

.no-js .site-nav,
.site-header[data-open] .site-nav {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  box-shadow: 0 24px 40px -28px rgba(16, 42, 51, 0.45);
}
.no-js .site-nav { position: static; box-shadow: none; padding-inline: 0; }
.site-header[data-open] .site-nav li, .no-js .site-nav li { margin: 0; border-bottom: 1px solid var(--line); }
.site-header[data-open] .site-nav a, .no-js .site-nav a { display: block; padding: 14px 0; font-size: 1.05rem; box-shadow: none; }
.no-js .nav-toggle { display: none; }
.no-js .site-header__inner { flex-wrap: wrap; }
.site-nav .nav-cta-mobile { border-bottom: 0; padding-top: 14px; }

@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .site-nav, .no-js .site-nav { display: block; position: static; box-shadow: none; padding: 0; border: 0; margin-left: auto; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav li, .no-js .site-nav li { border: 0; margin: 0; }
  .site-nav a, .no-js .site-nav a { display: block; padding: 8px 11px; font-size: 0.97rem; border-radius: 4px; }
  .site-nav .nav-cta-mobile { display: none; }
  .site-header .header-cta { display: inline-flex; }
}

/* ---------- Breadcrumbs & page head ---------- */
.crumbs { font-size: 0.86rem; color: var(--ink-3); padding-top: 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--ink-3); }
.crumbs [aria-current] { color: var(--ink-2); }

.page-head { padding: 22px 0 32px; border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 20ch; margin-bottom: 0.35em; }
.page-head .lede { margin-bottom: 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; font-size: 0.9rem; color: var(--ink-2); }
.meta-row p { margin: 0; }
.meta-row strong { font-weight: 600; color: var(--ink); }
.updated { display: inline-flex; align-items: center; gap: 6px; }
.updated svg { width: 16px; height: 16px; color: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 18px; border-radius: 8px;
  border: 1.5px solid var(--teal); background: var(--teal); color: #fff;
  font: inherit; font-weight: 620; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn:hover { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--ghost { background: #fff; color: var(--teal); }
.btn--ghost:hover { background: var(--teal-wash); color: var(--teal-ink); }
.btn--block { width: 100%; }
.btn--small { min-height: 40px; padding: 7px 14px; font-size: 0.94rem; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--teal); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }

/* Affiliate offer block: button + disclosure always together */
.offer { display: grid; gap: 6px; }
.offer__note { font-size: 0.78rem; line-height: 1.35; color: var(--ink-3); margin: 0; }
.offer__note a { color: inherit; }

/* ---------- Disclosure / notices ---------- */
.disclosure {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.88rem; line-height: 1.5; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; background: #fff; margin: 0 0 20px;
}
.disclosure svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--teal); }
.disclosure p { margin: 0; }
.note { border-radius: var(--r-m); background: var(--teal-wash); padding: 16px 18px; font-size: 0.96rem; }
.note > :last-child { margin-bottom: 0; }

/* ---------- Coverage strip: the core eight markers ---------- */
.cov { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.cov li {
  margin: 0; font-size: 0.74rem; font-weight: 600; line-height: 1; white-space: nowrap;
  padding: 5px 7px; border-radius: 4px; border: 1px dashed var(--line-strong); color: var(--ink-3); background: #fff;
}
.cov li.is-in { background: var(--teal); border: 1px solid var(--teal); color: #fff; }
.cov-count { display: block; font-size: 0.8rem; color: var(--ink-3); margin-top: 6px; }
.cov-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 0.84rem; color: var(--ink-2); margin: 12px 0 0; }
.cov-legend .cov { display: inline-flex; }

/* ---------- Score ---------- */
.score { display: inline-flex; align-items: baseline; gap: 2px; white-space: nowrap; }
.score__num { font-size: 1.35rem; font-weight: 650; line-height: 1; }
.score__of { font-size: 0.8rem; color: var(--ink-3); }
.bar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.bar > span { display: block; height: 100%; width: var(--v, 0%); background: var(--teal); border-radius: 3px; }

/* ---------- Provider card ---------- */
.pcard {
  display: flex; flex-direction: column; gap: 16px;
  border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; background: #fff;
}
.pcard__label { font-size: 0.84rem; font-weight: 600; color: var(--teal); margin: 0 0 4px; }
.pcard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pcard__name { font-size: 1.3rem; margin: 0; }
.pcard__name a { color: inherit; text-decoration: none; }
.pcard__name a:hover { text-decoration: underline; }
.pcard__tag { margin: 4px 0 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.45; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0; }
.facts div { min-width: 0; }
.facts dt { font-size: 0.8rem; color: var(--ink-3); }
.facts dd { margin: 0; font-weight: 560; font-size: 0.97rem; font-variant-numeric: tabular-nums; }
.pcard__actions { display: grid; gap: 10px; margin-top: auto; }
.pcard__review { font-size: 0.95rem; font-weight: 560; justify-self: start; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
select, input[type="email"], input[type="text"], textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border: 1px solid var(--line-strong); border-radius: 8px; background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink);
}
select {
  appearance: none; -webkit-appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230b5f66' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
textarea { min-height: 140px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 0.92rem; margin: 10px 0 0; }

/* ---------- Comparison table ---------- */
.cmp-tools {
  display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end; padding: 16px; border-radius: var(--r-m); background: var(--teal-wash); margin-bottom: 14px;
}
.cmp-tools__actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 900px) {
  .cmp-tools { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
  .cmp-tools__actions { grid-column: auto; display: block; }
  .cmp-tools__show { display: none; }
}
.cmp-status { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 12px; font-size: 0.92rem; color: var(--ink-2); }
.cmp-status p { margin: 0; }
.cmp-wrap { container-type: inline-size; margin-bottom: 1rem; }
.cmp-frame { border: 1px solid var(--line); border-radius: var(--r-m); overflow-x: auto; background: #fff; }
.cmp { width: 100%; border-collapse: collapse; font-size: 0.93rem; font-variant-numeric: tabular-nums; }
.cmp th, .cmp td { padding: 14px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: 0.82rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; background: var(--mist); }
.cmp thead th[aria-sort] button::after { content: ""; display: inline-block; width: 0; height: 0; margin-left: 6px; vertical-align: middle; border: 4px solid transparent; }
.cmp thead th[aria-sort="descending"] button::after { border-top-color: currentColor; margin-top: 4px; }
.cmp thead th[aria-sort="ascending"] button::after { border-bottom-color: currentColor; margin-top: -4px; }
.cmp thead th[aria-sort] { color: var(--ink); }
.sort-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 0.25em; }
.cmp .col-provider { min-width: 170px; }
.cmp .col-markers { min-width: 200px; max-width: 230px; }
.cmp .col-offer { min-width: 150px; }
.cmp td:first-child { padding-left: 16px; }
.th-note { display: block; font-weight: 400; color: var(--ink-3); font-size: 0.76rem; }
.cmp__name { font-weight: 640; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.cmp__name:hover { text-decoration: underline; color: var(--ink); }
.cmp__sub { display: block; font-size: 0.84rem; color: var(--ink-3); margin-top: 2px; }
.cmp__price { font-weight: 640; font-size: 1.05rem; }
.cmp__score { display: block; margin-top: 8px; }
.cmp__review { display: inline-block; margin-top: 8px; font-size: 0.88rem; }
.ships summary { cursor: pointer; color: var(--teal); text-decoration: underline dotted; text-underline-offset: 0.2em; }
.ships[open] summary { margin-bottom: 4px; }
.no-js .cmp-tools, .no-js [data-cmp-count] { display: none; }
.cmp tr[hidden] { display: none; }
.cmp-empty { padding: 28px 16px; text-align: center; }
.cmp-empty[hidden] { display: none; }

/* Card layout whenever the table's container is narrow (phones, or narrow article columns). */
@container (max-width: 1000px) {
  .cmp-frame { border: 0; overflow: visible; background: transparent; }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp, .cmp tbody { display: block; }
  .cmp tbody tr {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px;
    grid-template-areas: "prov prov" "price count" "core core" "sample speed" "ships doctor" "offer offer";
    border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; margin-bottom: 14px; background: #fff;
  }
  .cmp tbody tr[hidden] { display: none; }
  .cmp td { display: block; padding: 0; border: 0; min-width: 0 !important; max-width: none !important; }
  .cmp td:first-child { padding-left: 0; }
  .cmp td[data-label]::before { content: attr(data-label); display: block; font-size: 0.78rem; color: var(--ink-3); margin-bottom: 2px; }
  .cmp .col-provider { grid-area: prov; }
  .cmp .col-price { grid-area: price; }
  .cmp .col-count { grid-area: count; }
  .cmp .col-markers { grid-area: core; }
  .cmp .col-sample { grid-area: sample; }
  .cmp .col-speed { grid-area: speed; }
  .cmp .col-countries { grid-area: ships; }
  .cmp .col-doctor { grid-area: doctor; }
  .cmp .col-offer { grid-area: offer; }
  .cmp td.col-provider::before { display: none; }
}
@container (min-width: 560px) and (max-width: 1000px) {
  .cmp tbody tr {
    grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 20px; padding: 20px 22px;
    grid-template-areas: "prov prov core core" "price count sample speed" "ships doctor offer offer";
  }
}

/* ---------- Data tables (prices, methodology) ---------- */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); margin: 0 0 1.5em; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
table.data caption { text-align: left; padding: 12px 14px; font-weight: 600; border-bottom: 1px solid var(--line); }
table.data th, table.data td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--mist); font-size: 0.84rem; font-weight: 600; color: var(--ink-2); }
table.data tbody tr:last-child > * { border-bottom: 0; }
table.data th[scope="row"] { font-weight: 600; }
@media (max-width: 639px) {
  table.data.stack-sm thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.data.stack-sm, table.data.stack-sm tbody, table.data.stack-sm tr, table.data.stack-sm th, table.data.stack-sm td { display: block; }
  table.data.stack-sm tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  table.data.stack-sm tbody tr:last-child { border-bottom: 0; }
  table.data.stack-sm th, table.data.stack-sm td { padding: 2px 0; border: 0; }
  table.data.stack-sm td[data-label]::before { content: attr(data-label) ": "; color: var(--ink-3); font-size: 0.86rem; }
}

/* ---------- Biomarker tiles ---------- */
.mtile {
  display: grid; gap: 6px; align-content: start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-m);
  text-decoration: none; color: var(--ink); background: #fff;
}
.mtile:hover { border-color: var(--teal); color: var(--ink); }
.mtile__abbr { font-size: 1.6rem; font-weight: 640; line-height: 1; letter-spacing: -0.015em; color: var(--teal); }
.mtile__cat { font-size: 0.82rem; color: var(--ink-3); }
.mtile__sum { font-size: 0.95rem; color: var(--ink-2); margin: 4px 0 0; line-height: 1.45; }

/* ---------- Trust / methodology summary ---------- */
.weights { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.weights li { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; font-size: 0.95rem; }
.weights .bar { grid-column: 1 / -1; }
.weights strong { font-variant-numeric: tabular-nums; }
.trust h3 { margin-bottom: 0.4em; }
.trust p { color: var(--ink-2); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--teal); color: #fff; border-radius: var(--r-l); padding: clamp(24px, 4vw, 44px); display: grid; gap: 20px; }
.newsletter h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 0.3em; }
.newsletter p { color: #d6ebec; margin: 0; }
.newsletter a { color: #fff; }
.newsletter__form { display: grid; gap: 10px; }
.newsletter__row { display: grid; gap: 10px; }
.newsletter input[type="email"] { border-color: transparent; }
.newsletter .btn { background: #fff; color: var(--teal-ink); border-color: #fff; }
.newsletter .btn:hover { background: var(--teal-wash); border-color: var(--teal-wash); }
.newsletter .fine { font-size: 0.82rem; color: #cfe5e6; }
.newsletter :focus-visible { outline-color: #fff; }
.newsletter .form-msg { color: #fff; }
@media (min-width: 860px) {
  .newsletter { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
  .newsletter__row { grid-template-columns: 1fr auto; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: var(--measure); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 36px 16px 0; position: relative;
  font-weight: 600; font-size: 1.04rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq__a { padding: 0 0 18px; color: var(--ink-2); }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---------- Article layout ---------- */
.article { display: grid; gap: 40px; padding-block: 36px 64px; }
@media (min-width: 1040px) {
  .article { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; }
  .article__aside { position: sticky; top: 24px; align-self: start; }
}
.aside-card { border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; display: grid; gap: 12px; }
.aside-card h2 { font-size: 1.1rem; margin: 0; }
.aside-card p { margin: 0; font-size: 0.94rem; color: var(--ink-2); }
.aside-card ul { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; }
.aside-card li { margin: 0; padding: 7px 0; border-top: 1px solid var(--line); }
.aside-stack { display: grid; gap: 16px; }

.people { display: grid; gap: 12px; border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; margin: 2.5em 0 0; max-width: var(--measure); }
.person { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.person + .person { border-top: 1px solid var(--line); padding-top: 12px; }
.person__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--teal-wash); color: var(--teal); display: grid; place-items: center; }
.person__avatar svg { width: 22px; height: 22px; }
.person__role { font-size: 0.8rem; color: var(--ink-3); margin: 0; }
.person__name { font-weight: 620; margin: 0; }
.person__bio { font-size: 0.9rem; color: var(--ink-2); margin: 4px 0 0; }

/* ---------- Biomarker page ---------- */
.quickfacts { border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; display: grid; gap: 14px; }
.quickfacts dl { margin: 0; display: grid; gap: 12px; }
.quickfacts dt { font-size: 0.8rem; color: var(--ink-3); }
.quickfacts dd { margin: 0; font-size: 0.97rem; }
.quickfacts h2 { font-size: 1.1rem; margin: 0; }
.related-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.related-links li { margin: 0; }
.related-links a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-weight: 560; font-size: 0.95rem; }
.related-links a:hover { border-color: var(--teal); background: var(--teal-wash); }

/* ---------- Review page ---------- */
.review-disclosure { margin-top: 24px; }
.review-disclosure .disclosure { margin: 0; }
.review-top { display: grid; gap: 20px; border: 1px solid var(--line-strong); border-radius: var(--r-l); padding: 22px; margin: 14px 0 8px; }
@media (min-width: 860px) {
  .review-top { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start; }
  .review-top__side { border-left: 1px solid var(--line); padding-left: 32px; }
}
.review-top__side { display: grid; gap: 14px; }
.review-top__cov { margin-top: 18px; }
.verdict-offer { max-width: 360px; margin-bottom: 1.5em; }
.review-score { display: flex; align-items: baseline; gap: 8px; }
.review-score .score__num { font-size: 2.6rem; }
.verdict-line { font-size: 1.02rem; color: var(--ink-2); margin: 0; }
.proscons { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin: 0 0 1.5em; }
.proscons > div { border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 18px; }
.proscons h3 { font-size: 1.05rem; margin: 0 0 0.6em; }
.plus, .minus { list-style: none; padding: 0; margin: 0; }
.plus li, .minus li { position: relative; padding-left: 24px; margin: 0 0 8px; font-size: 0.97rem; }
.plus li::before, .minus li::before { position: absolute; left: 0; top: 0; font-weight: 700; width: 16px; text-align: center; }
.plus li::before { content: "+"; color: var(--teal); }
.minus li::before { content: "\2212"; color: var(--ink-3); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.5em; display: grid; gap: 10px; }
.steps li { counter-increment: step; position: relative; padding: 2px 0 2px 42px; margin: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal-wash); color: var(--teal); font-weight: 650; font-size: 0.9rem; display: grid; place-items: center;
}
.subscores { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 14px; max-width: 560px; }
.subscores li { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 0.95rem; }
.subscores .bar { grid-column: 1 / -1; }
.subscores small { color: var(--ink-3); }

/* ---------- Price guide ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px 6px; padding: 2px; margin: 0 0 16px; list-style: none; }
.tabs li { margin: 0; flex: none; }
.tabs a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-weight: 560; font-size: 0.95rem; color: var(--ink-2); white-space: nowrap; }
.tabs a:hover { border-color: var(--teal); color: var(--teal); }
.tabs a[aria-current="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.country { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 28px; }
.js .country[hidden] { display: none; }
.country__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; align-items: baseline; margin-bottom: 8px; }
.country__head h3 { margin: 0; font-size: 1.5rem; }
.country__meta { font-size: 0.88rem; color: var(--ink-3); margin: 0; }
.ship-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.ship-list li { margin: 0; }

/* ---------- Medical disclaimer (every page) ---------- */
.med { border-top: 1px solid var(--line); background: #fff; }
.med__inner { display: flex; gap: 12px; padding-block: 20px; font-size: 0.88rem; color: var(--ink-2); line-height: 1.55; }
.med__inner svg { width: 20px; height: 20px; flex: none; color: var(--teal); margin-top: 1px; }
.med__inner p { margin: 0; max-width: 90ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--mist); border-top: 1px solid var(--line); padding: 48px 0 calc(32px + var(--sticky-space)); font-size: 0.94rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; display: grid; gap: 10px; max-width: 44ch; }
.footer-brand p { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); }
  .footer-brand { grid-column: auto; }
}
.site-footer h2 { font-size: 0.95rem; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--teal); text-decoration: underline; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; display: grid; gap: 10px; font-size: 0.84rem; color: var(--ink-3); }
.footer-legal p { margin: 0; max-width: 100ch; }
.footer-legal .link-btn { color: var(--ink-2); font-size: inherit; }

/* ---------- Sticky "Compare tests" (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 12px;
  background: var(--teal); color: #fff; font-weight: 640; text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(16, 42, 51, 0.55);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.sticky-cta:hover { color: #fff; background: var(--teal-ink); }
.sticky-cta svg { width: 18px; height: 18px; }
.sticky-cta.is-tucked { transform: translateY(140%); opacity: 0; pointer-events: none; }
body.consent-open .sticky-cta { display: none; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  max-width: 540px; max-height: calc(100vh - 24px); overflow-y: auto;
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-m);
  box-shadow: 0 24px 60px -24px rgba(16, 42, 51, 0.5); padding: 20px;
}
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.15rem; margin: 0 0 8px; }
.consent p { font-size: 0.92rem; color: var(--ink-2); margin: 0 0 14px; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent__actions .btn { min-height: 44px; }
.consent__more { grid-column: 1 / -1; justify-self: center; margin-top: 4px; font-size: 0.92rem; }
.consent__prefs { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; display: grid; gap: 12px; }
.consent__prefs[hidden] { display: none; }
.toggle { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; }
.toggle__text strong { display: block; font-size: 0.95rem; }
.toggle__text span { font-size: 0.84rem; color: var(--ink-3); }
.toggle input { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 14px; background: var(--line-strong); position: relative; cursor: pointer; margin: 0; transition: background 0.15s ease; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.15s ease; }
.toggle input:checked { background: var(--teal); }
.toggle input:checked::after { transform: translateX(18px); }
.toggle input:disabled { opacity: 0.6; cursor: not-allowed; }
@media (min-width: 768px) { .consent { left: 24px; bottom: 24px; } }

/* ---------- Toast (placeholder link clicks) ---------- */
.toast {
  position: fixed; z-index: 70; left: 50%; top: 16px; transform: translateX(-50%);
  max-width: min(92vw, 460px); background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px; font-size: 0.92rem;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.5);
}
.toast[hidden] { display: none; }

/* ---------- Misc ---------- */
.cta-band { display: grid; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 3vw, 32px); }
@media (min-width: 800px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { margin: 0 0 6px; font-size: 1.5rem; }
.cta-band p { margin: 0; color: var(--ink-2); }
.link-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.link-list li { margin: 0; border-bottom: 1px solid var(--line); }
.link-list a { display: grid; gap: 2px; padding: 16px 0; text-decoration: none; color: var(--ink); }
.link-list a:hover strong { color: var(--teal); text-decoration: underline; }
.link-list strong { font-size: 1.12rem; }
.link-list span { color: var(--ink-2); font-size: 0.95rem; }
.guide-card { display: grid; gap: 8px; align-content: start; border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; text-decoration: none; color: var(--ink); }
.guide-card:hover { border-color: var(--teal); color: var(--ink); }
.guide-card h3 { margin: 0; }
.guide-card p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
.guide-card .muted { font-size: 0.86rem; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0 0 1.5em; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; }
.not-found { padding-block: 80px; }
.page-body { padding-block: 36px 64px; }
.page-body h2:first-child { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-nav, .sticky-cta, .consent, .newsletter-section, .toast, .cmp-tools { display: none !important; }
  .site-footer { padding-bottom: 0; }
  a { color: inherit; }
}
.guide-card .h3 { font-size: 1.25rem; line-height: 1.2; }
.article > *, .grid > *, .hero__grid > * { min-width: 0; }
.kv dd { min-width: 0; overflow-wrap: anywhere; }


/* =============================================================================
   Editorial + Aurora layer
   ========================================================================== */
main { position: relative; isolation: isolate; }
main::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 640px; pointer-events: none;
  background:
    radial-gradient(520px 360px at 8% 0%, rgba(201, 242, 223, 0.9), transparent 70%),
    radial-gradient(560px 380px at 92% 4%, rgba(220, 239, 255, 0.95), transparent 70%),
    radial-gradient(420px 300px at 55% 40%, rgba(236, 230, 255, 0.55), transparent 70%);
}
.page-home main::before { height: 900px; }

/* Trust bar + header */
.trustbar { background: var(--teal-ink); color: #d6efe4; font-size: 0.82rem; text-align: center; padding: 7px 16px; }
.trustbar p { margin: 0; }
.trustbar strong { color: #fff; font-weight: 600; }
.site-header { background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); position: sticky; top: 0; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.32rem; letter-spacing: -0.01em; gap: 9px; }
.brand__accent { color: var(--teal); }
.brand__tld { color: var(--ink-3); font-family: var(--font); font-size: 0.8rem; font-weight: 600; margin-left: 2px; }
.site-nav a { font-weight: 600; }
@media (min-width: 1040px) {
  .site-nav a, .no-js .site-nav a { border-radius: 99px; padding: 8px 14px; }
  .site-nav a[aria-current="page"], .site-nav a[data-section-current] { box-shadow: none; background: var(--teal-wash); color: var(--teal-ink); }
}
.btn { border-radius: 12px; font-weight: 700; }
.btn--small { border-radius: 10px; }
.btn--light { background: #fff; color: var(--teal-ink); border-color: #fff; }
.btn--light:hover { background: var(--teal-wash); border-color: var(--teal-wash); color: var(--teal-ink); }

/* Kicker (only where it labels the page's purpose) */
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--teal); font-weight: 700; font-size: 0.9rem; margin: 0 0 14px; }
.kicker::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }

/* Home hero */
.home-hero { padding: 40px 0 36px; }
.home-hero__grid { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .home-hero { padding: 64px 0 48px; }
  .home-hero__grid { grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); gap: 48px; align-items: center; }
}
.home-hero h1 { max-width: 13ch; margin-bottom: 0.32em; }
.home-hero .lede { margin-bottom: 26px; }

/* Finder bar (search-style) */
.finderbar {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px; background: #fff;
  border-radius: 20px; box-shadow: 0 0 0 1px rgba(16, 36, 29, 0.07), var(--shadow); max-width: 620px;
}
.finderbar__f { position: relative; padding: 8px 10px 6px; border-radius: 14px; min-width: 0; }
.finderbar__f:nth-of-type(3) { grid-column: 1 / -1; }
.finderbar__f:hover { background: var(--mist); }
.finderbar__f label { display: block; font-size: 0.76rem; font-weight: 700; color: var(--ink-3); }
.finderbar__f select { border: 0; padding: 2px 20px 2px 0; min-height: 0; font-weight: 700; font-size: 0.97rem; background-color: transparent; background-position: right 2px center; cursor: pointer; }
.finderbar__f select:focus-visible { outline-offset: 4px; }
.finderbar__go { grid-column: 1 / -1; min-height: 52px; border-radius: 14px; font-size: 1.02rem; }
@media (min-width: 640px) {
  .finderbar { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr) minmax(0, 1.2fr) auto; align-items: stretch; max-width: 700px; }
  .finderbar__f:nth-of-type(3) { grid-column: auto; }
  .finderbar__f + .finderbar__f::before { content: ""; position: absolute; left: -2px; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
  .finderbar__go { grid-column: auto; padding: 0 18px; }
}
.marker-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.marker-chips li { margin: 0; }
.marker-chips a { display: inline-block; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.78); border: 1px solid #fff; box-shadow: 0 0 0 1px var(--line); font-weight: 600; font-size: 0.86rem; color: var(--ink-2); text-decoration: none; }
.marker-chips a:hover { color: var(--teal-ink); box-shadow: 0 0 0 1px var(--teal); }
.seals { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 24px 0 0; font-size: 0.88rem; color: var(--ink-2); font-weight: 600; }
.seals li { margin: 0; display: flex; align-items: center; gap: 8px; }
.seals svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--mint); color: var(--teal-ink); flex: none; }

/* Snapshot / results panel */
.hero-panel { position: relative; }
.snapshot { background: rgba(255, 255, 255, 0.92); border: 1px solid #fff; box-shadow: 0 0 0 1px rgba(16, 36, 29, 0.06), var(--shadow); border-radius: var(--r-l); overflow: hidden; backdrop-filter: blur(10px); }
.snapshot__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 16px; border-bottom: 1px solid var(--line); }
.snapshot__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.snapshot__head span { font-size: 0.8rem; color: var(--ink-3); font-weight: 600; }
.snapshot table { width: 100%; border-collapse: collapse; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.snapshot th { text-align: left; font-size: 0.76rem; font-weight: 700; color: var(--ink-3); padding: 10px 16px; background: var(--mist); }
.snapshot td { padding: 13px 16px; border-top: 1px solid var(--line); white-space: nowrap; }
.snapshot td a { color: var(--ink); font-weight: 700; text-decoration: none; }
.snapshot td a:hover { color: var(--teal); text-decoration: underline; }
.snapshot .num { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; text-align: right; }
.snapshot th:last-child { text-align: right; }
.snapshot__foot { display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px; background: var(--mist); font-size: 0.82rem; color: var(--ink-3); }
.snapshot__foot a { font-weight: 700; color: var(--teal-ink); }
.dots { display: inline-flex; gap: 3px; vertical-align: middle; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.dots i.o { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.floaty { position: absolute; display: inline-flex; align-items: center; gap: 9px; background: #fff; border-radius: 14px; padding: 9px 13px; font-size: 0.84rem; font-weight: 700; box-shadow: 0 0 0 1px rgba(16,36,29,.06), 0 18px 40px -22px rgba(16, 36, 29, 0.5); white-space: nowrap; }
.floaty i { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; font-style: normal; }
.floaty--a { top: -30px; right: -10px; }
.floaty--a i { background: var(--mint); }
.floaty--b { top: 48%; left: -44px; }
.floaty--b i { background: var(--sky); }
.floaty svg { width: 15px; height: 15px; color: var(--teal-ink); }
@media (max-width: 999px) { .floaty { display: none; } }
@media (max-width: 520px) { .snapshot .col-hide { display: none; } .snapshot th, .snapshot td { padding-left: 16px; padding-right: 16px; } }

.finder-results { background: #fff; border-radius: var(--r-l); box-shadow: 0 0 0 1px rgba(16, 36, 29, 0.06), var(--shadow); padding: 22px; animation: rise .35s ease both; }
.finder-results h2 { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin: 0 0 4px; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.finder__summary { font-size: 0.88rem; color: var(--ink-3); margin: 0 0 12px; }
.matches { list-style: none; padding: 0; margin: 0 0 16px; }
.match { margin: 0; padding: 14px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.match:last-child { border-bottom: 1px solid var(--line); }
.match__top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.match__id { display: flex; gap: 12px; align-items: center; }
.match__av { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--teal); flex: none; }
.match__name { font-weight: 700; font-size: 1.02rem; }
.match__meta { font-size: 0.85rem; color: var(--ink-2); margin: 0; }
.match__why { font-size: 0.82rem; color: var(--teal); margin: 0; font-weight: 600; }
.match__actions { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; }
.match__actions .pcard__review { align-self: center; }
.finder__nav { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.finder__empty { font-size: 0.95rem; }

/* Stats strip */
.stats-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.stats-strip div { font-size: 0.88rem; color: var(--ink-2); font-weight: 600; }
.stats-strip b { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--ink); line-height: 1.1; }
@media (min-width: 760px) { .stats-strip { grid-template-columns: repeat(4, 1fr); } }

/* Section heads */
.section-head h2 { margin: 0; }

/* Ranked top picks (editorial row) */
.ranked { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: #fff; }
.ranked .pcard { border: 0; border-radius: 0; border-top: 1px solid var(--line); padding: 26px; }
.ranked .pcard:first-child { border-top: 0; }
@media (min-width: 900px) {
  .ranked { grid-template-columns: repeat(3, 1fr); }
  .ranked .pcard { border-top: 0; border-left: 1px solid var(--line); }
  .ranked .pcard:first-child { border-left: 0; }
}
.pcard__rank { font-family: var(--serif); font-size: 3rem; line-height: 0.9; font-weight: 600; color: #cfe3d8; margin: 0 0 8px; }
.pcard { border-radius: var(--r-m); transition: box-shadow .2s ease, transform .2s ease; }
.grid .pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pcard__name { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; letter-spacing: -0.015em; }
.pcard__label { display: inline-block; background: var(--teal-wash); color: var(--teal-ink); padding: 4px 10px; border-radius: 99px; font-size: 0.78rem; font-weight: 700; margin-bottom: 10px; }
.facts div { background: var(--mist); border-radius: 12px; padding: 9px 11px; }
.facts dd { font-weight: 700; }
.score__num { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; }

/* How it works */
.how { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: how; }
@media (min-width: 860px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how li { counter-increment: how; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; }
.how li::before { content: counter(how); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--mint); color: var(--teal-ink); font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin-bottom: 16px; }
.how h3 { margin-bottom: 6px; }
.how p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }

/* Marker tiles */
.mtile { border-radius: var(--r-m); border: 1px solid #fff; box-shadow: 0 0 0 1px var(--line); background: linear-gradient(160deg, #f3fbf7, #eef6ff); transition: transform .2s ease, box-shadow .2s ease; }
.mtile:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--teal), 0 20px 40px -26px rgba(16, 36, 29, 0.45); }
.mtile__abbr { font-family: var(--serif); font-weight: 600; color: var(--teal-ink); font-size: 1.7rem; }
.mtile__count { font-size: 0.8rem; font-weight: 700; color: var(--teal); margin-top: 6px; }

/* Country price teaser */
.country-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); list-style: none; padding: 0; margin: 0; }
.country-list li { margin: 0; }
.country-list a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.country-list a:hover { border-color: var(--teal); }
.country-list small { color: var(--ink-3); font-weight: 600; font-size: 0.78rem; }

/* Quick answer box (featured-snippet friendly) */
.quick-answer { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 12px; padding: 16px 20px; margin: 22px 0 0; max-width: 820px; }
.quick-answer p { margin: 0; }
.quick-answer strong { color: var(--teal-ink); }

/* Page head refinements */
.page-head { border-bottom: 0; padding-bottom: 20px; }
.page-head h1 { max-width: 18ch; }

/* Newsletter: deep green with glow */
.newsletter { background: radial-gradient(500px 260px at 90% 0%, rgba(201, 242, 223, 0.22), transparent 70%), radial-gradient(420px 260px at 0% 100%, rgba(220, 239, 255, 0.16), transparent 70%), var(--teal-ink); }
.newsletter h2 { font-family: var(--serif); font-weight: 500; }

/* Footer */
.site-footer .brand { font-size: 1.2rem; }
.section--tint { background: linear-gradient(180deg, var(--mist), #fff); }
.disclosure { border-radius: 12px; }
.cmp-tools { background: linear-gradient(120deg, #eef8f3, #eef5ff); border-radius: var(--r-m); }
.cmp-frame { border-radius: var(--r-m); }
.cmp__name, .cmp__price { font-weight: 700; }
.snapshot td .ph-chip { display: none; }

.site-footer h2, .aside-card h2, .quickfacts h2, .consent h2, .people h2 { font-family: var(--font); font-weight: 700; letter-spacing: -0.01em; }
.ph-chip, mark.ph { font-family: var(--font); }
.pcard__head { align-items: flex-start; }
@media (max-width: 420px) {
  .brand { font-size: 1.12rem; gap: 7px; }
  .brand svg { width: 24px; height: 24px; }
  .brand__tld { display: none; }
  .nav-toggle { padding: 8px 10px; }
}
h1, h2, h3, p, li, dd { overflow-wrap: break-word; }

/* ---------- European price index ---------- */
.index-wrap { margin: 8px 0 40px; }
.index-intro { display: grid; gap: 4px 32px; align-items: end; margin-bottom: 14px; }
.index-intro h2 { margin: 0; }
.index-intro p { margin: 0; color: var(--ink-2); font-size: 0.95rem; max-width: 62ch; }
@media (min-width: 900px) { .index-intro { grid-template-columns: auto 1fr; } }
.is-low-key { background: var(--mint); color: var(--teal-ink); padding: 1px 7px; border-radius: 6px; font-weight: 600; }
.index-wrap .table-wrap { background: #fff; box-shadow: 0 1px 2px rgb(16 36 29 / 0.04), 0 12px 32px -18px rgb(16 36 29 / 0.18); margin-bottom: 10px; }
table.price-index { min-width: 860px; font-size: 0.92rem; }
table.price-index th, table.price-index td { padding: 10px 12px; text-align: right; white-space: nowrap; }
table.price-index thead th { vertical-align: bottom; white-space: normal; line-height: 1.25; }
table.price-index thead th a { color: inherit; text-decoration-color: var(--line-strong); }
table.price-index th:first-child { text-align: left; position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--line); }
table.price-index thead th:first-child { background: var(--mist); }
table.price-index tbody th a { color: var(--ink); text-decoration: none; font-weight: 600; }
table.price-index tbody th a:hover { color: var(--teal); text-decoration: underline; }
table.price-index tbody tr:hover > * { background: var(--teal-wash); }
table.price-index td.is-low { background: var(--mint); color: var(--teal-ink); font-weight: 700; }
table.price-index td.none { color: var(--ink-3); }
table.price-index sup { font-size: 0.7em; margin-left: 1px; color: var(--ink-3); }
.table-notes { font-size: 0.84rem; color: var(--ink-3); line-height: 1.5; margin: 0; max-width: 100ch; }
.cell-sub { display: block; font-size: 0.82rem; font-weight: 400; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.cell-sub a { color: var(--teal); }
.country .note { margin: 0 0 16px; }
.all-prices { margin: -0.5em 0 1.5em; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; }
.all-prices > summary { cursor: pointer; padding: 12px 16px; font-weight: 600; color: var(--teal); list-style-position: inside; }
.all-prices > summary:hover { background: var(--teal-wash); border-radius: var(--r-m); }
.all-prices[open] > summary { border-bottom: 1px solid var(--line); }
.all-prices .table-wrap { border: 0; margin: 0; border-radius: 0 0 var(--r-m) var(--r-m); }
.all-prices table.data { font-size: 0.9rem; }
.fx-wrap { max-width: 420px; }
table.price-index thead th:not(:first-child) { width: 10.5%; }
.scroll-hint { display: none; }
@media (max-width: 899px) { .scroll-hint { display: inline; } table.price-index { min-width: 780px; font-size: 0.88rem; } }
.note--warn { background: #fff6e0; border: 1px solid #f1d58a; }
.flag { display: block; width: fit-content; margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: #fff6e0; color: #7a5400; font-size: 0.78rem; font-weight: 600; line-height: 1.6; }
.list-date { color: var(--ink-2); font-weight: 600; }
.pf-price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.pf-price__num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--teal-ink); font-weight: 600; }
.pf-price__eur { color: var(--ink-3); font-size: 1rem; }
.pf-where { margin: 8px 0; color: var(--ink-2); }
.pf-best { margin: 12px 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.95rem; }
.snapshot td:first-child { white-space: normal; } .snapshot th:last-child { text-align: right; }
