:root {
  --ink: #17202a;
  --body: #3c4650;
  --muted: #66717d;
  --line: #d8dee4;
  --paper: #ffffff;
  --soft: #f4f6f7;
  --charcoal: #20262d;
  --amber: #e8a526;
  --amber-dark: #8b5900;
  --green: #16734b;
  --green-soft: #e7f4ed;
  --blue: #245f83;
  --blue-soft: #e9f2f7;
  --red: #a23a31;
  --red-soft: #f9ece9;
  --radius: 8px;
  --shadow: 0 12px 32px rgba(23, 32, 42, 0.09);
  --max: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--body);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--body); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #0f78a5; outline-offset: 3px; }

.skip-link { position: fixed; z-index: 100; left: 12px; top: 12px; padding: 10px 14px; background: var(--paper); border: 2px solid var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.97); }
.header-inner { width: min(100% - 32px, var(--max)); min-height: 68px; margin: 0 auto; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--ink); font-weight: 760; text-decoration: none; }
.brand-mark { width: 26px; aspect-ratio: 1; display: inline-block; border-radius: 6px; background: linear-gradient(135deg, var(--charcoal) 0 60%, var(--amber) 60%); }
.primary-nav { display: flex; align-items: stretch; gap: 3px; min-width: 0; }
.primary-nav a { display: flex; align-items: center; min-height: 42px; padding: 7px 10px; border-radius: 6px; color: var(--body); font-size: .88rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--ink); background: var(--soft); }
.header-cta { margin-left: auto; }

main { min-height: 60vh; }
.hero, .page-intro, .product-hero, .guide-hero, .content-band, .picker-band, .breadcrumbs { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.hero { min-height: min(660px, calc(100vh - 68px)); padding: 72px 0 58px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 64px; align-items: center; }
.hero-copy { max-width: 720px; }
.eyebrow { margin: 0 0 10px; color: var(--amber-dark); font-size: .76rem; font-weight: 800; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--ink); line-height: 1.14; }
h1 { margin-bottom: 22px; max-width: 19ch; font-size: clamp(2.45rem, 5vw, 4.8rem); }
h2 { margin-bottom: 14px; font-size: clamp(1.65rem, 3vw, 2.45rem); }
h3 { margin-bottom: 10px; font-size: 1.15rem; }
.hero-lede { max-width: 66ch; margin: 0 0 28px; color: #4a5661; font-size: 1.16rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 17px; border: 1px solid transparent; border-radius: 7px; font-size: .9rem; font-weight: 760; text-decoration: none; cursor: pointer; }
.button--compact { min-height: 38px; padding: 8px 13px; }
.button--primary { background: var(--amber); color: #241800; }
.button--primary:hover { background: #d49620; color: #171005; }
.button--dark { background: var(--charcoal); color: #fff; }
.button--dark:hover { background: #343d46; color: #fff; }
.button--secondary { border-color: #aeb7bf; background: var(--paper); color: var(--ink); }
.button--secondary:hover { border-color: var(--ink); }
.button--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.button--amazon { background: var(--amber); color: #241800; }

.decision-map { display: grid; grid-template-columns: 44px 1fr; gap: 8px 15px; padding: 30px; border-left: 4px solid var(--amber); background: var(--charcoal); color: #dce2e7; box-shadow: var(--shadow); }
.decision-map span { grid-row: span 2; color: var(--amber); font-family: ui-monospace, monospace; font-weight: 800; }
.decision-map strong { color: #fff; }
.decision-map p { margin: 0 0 17px; color: #b9c2ca; }

.content-band { padding-block: 70px; }
.content-band + .content-band { border-top: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading > p:last-child { margin: 0; color: var(--muted); }
.route-grid, .product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card { min-width: 0; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.product-card--featured { border-top: 5px solid var(--amber); box-shadow: var(--shadow); }
.product-card__state { min-height: 46px; display: flex; flex-wrap: wrap; gap: 9px; align-items: center; color: var(--muted); font-size: .78rem; }
.product-card h3 { margin-top: 10px; overflow-wrap: anywhere; }
.product-card h3 a { color: var(--ink); }
.product-card > p { margin: 0 0 20px; }
.product-card .button-row { margin-top: auto; padding-top: 20px; }
.badge { display: inline-flex; align-items: center; min-height: 25px; padding: 3px 8px; border-radius: 5px; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.badge--start { background: var(--green-soft); color: var(--green); }
.badge--compare { background: var(--blue-soft); color: var(--blue); }
.badge--caution { background: var(--red-soft); color: var(--red); }
.badge--neutral { background: var(--soft); color: var(--body); }
.decision-pair { margin: 0; display: grid; gap: 10px; }
.decision-pair div { padding-top: 10px; border-top: 1px solid var(--line); }
.decision-pair dt { color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.decision-pair dd { margin: 3px 0 0; color: var(--ink); font-size: .88rem; }

.picker-band { margin-block: 22px 58px; padding: 38px; background: #f0f3f4; border: 1px solid var(--line); border-radius: var(--radius); }
.picker-heading { display: grid; grid-template-columns: 1fr minmax(280px, .7fr); gap: 36px; align-items: end; }
.picker-heading p:last-child { margin: 0; color: var(--muted); }
.picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.picker fieldset { min-width: 0; margin: 0; padding: 18px; border: 1px solid #c9d0d6; background: var(--paper); }
.picker legend { padding-inline: 5px; color: var(--ink); font-size: .86rem; font-weight: 760; }
.picker label { display: flex; align-items: start; gap: 8px; margin: 10px 0; font-size: .88rem; }
.picker input { flex: none; margin-top: 5px; accent-color: var(--blue); }
.picker-actions { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; }
.text-button { min-height: 40px; padding: 5px 8px; border: 0; background: transparent; color: var(--blue); text-decoration: underline; cursor: pointer; }
.picker-result { margin-top: 22px; padding: 22px; border-left: 4px solid var(--green); background: var(--paper); }
.picker-result h3 { margin-bottom: 4px; }
.picker-result p { margin: 7px 0 16px; }
.noscript-note { margin: 18px 0 0; }

.pain-band { width: 100%; max-width: none; padding-inline: max(20px, calc((100% - var(--max)) / 2)); background: var(--charcoal); color: #d7dee3; }
.pain-band h2 { color: #fff; }
.pain-band .section-heading > p:last-child { color: #b8c1c8; }
.pain-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pain-figure { min-width: 0; margin: 0; overflow: hidden; border-radius: var(--radius); background: #11171c; }
.pain-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #e8ecef; }
.pain-figure figcaption { padding: 14px; display: grid; gap: 4px; font-size: .84rem; }
.pain-figure figcaption span { color: var(--amber); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.guide-card { display: grid; grid-template-columns: 170px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.guide-card img { width: 100%; height: 100%; object-fit: cover; background: var(--soft); }
.guide-card > div { padding: 20px; }
.guide-card span { color: var(--amber-dark); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.guide-card h3 { margin: 7px 0; }
.guide-card h3 a { color: var(--ink); }
.guide-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.section-action { margin-top: 24px; }

.page-intro { padding: 70px 0 36px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 50px; align-items: end; }
.page-intro h1, .product-hero h1, .guide-hero h1 { font-size: clamp(2.2rem, 4.5vw, 4.2rem); }
.boundary-note { padding: 22px; border-left: 4px solid var(--red); background: var(--red-soft); color: #59302b; }
.boundary-note p { margin: 8px 0 0; }
.affiliate-disclosure { width: min(100% - 40px, var(--max)); margin: 0 auto; padding: 13px 17px; border: 1px solid #e2c478; background: #fff8e4; color: #624a12; font-size: .84rem; }
.comparison-table { border: 1px solid var(--line); }
.comparison-row { display: grid; grid-template-columns: minmax(140px, .55fr) minmax(0, 1fr) minmax(0, 1fr); }
.comparison-row + .comparison-row { border-top: 1px solid var(--line); }
.comparison-row > * { min-width: 0; padding: 16px; overflow-wrap: anywhere; }
.comparison-row > * + * { border-left: 1px solid var(--line); }
.comparison-row--head { background: var(--charcoal); color: #fff; font-weight: 760; }
.buying-factors ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.buying-factors li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 20px; border-top: 2px solid var(--line); }
.buying-factors li > span { color: var(--amber-dark); font-family: ui-monospace, monospace; font-weight: 800; }
.buying-factors h3 { margin-bottom: 5px; }
.buying-factors p { margin: 0; color: var(--muted); }
.section-cta { display: flex; justify-content: space-between; gap: 30px; align-items: center; }

.breadcrumbs { padding-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .82rem; }
.product-hero, .guide-hero { padding: 48px 0 62px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 52px; align-items: center; }
.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 17px; color: var(--muted); font-size: .82rem; }
.identity-panel { padding: 26px; border-top: 5px solid var(--amber); background: var(--charcoal); color: #dbe1e5; }
.identity-panel > span { color: var(--amber); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.identity-panel dl { margin: 18px 0 0; }
.identity-panel dl div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; padding: 12px 0; border-top: 1px solid #46515b; }
.identity-panel dt { color: #aeb8c0; }
.identity-panel dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
.affiliate-inline { margin: 14px 0 0; color: var(--muted); font-size: .76rem; }
.assessment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.assessment-grid article { padding: 22px; border-top: 4px solid var(--blue); background: var(--soft); }
.check-list { margin: 0; padding-left: 19px; }
.check-list li + li { margin-top: 7px; }
.concern-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.concern-list > div { min-width: 0; padding: 20px; }
.concern-list > div + div { border-left: 1px solid var(--line); }
.concern-marker { width: 28px; height: 5px; display: block; margin-bottom: 14px; background: var(--amber); }
.concern-list strong { color: var(--ink); font-size: .76rem; text-transform: uppercase; }
.concern-list p { margin: 5px 0 0; overflow-wrap: anywhere; }
.two-column, .guide-route { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 52px; align-items: start; }
.link-list { list-style: none; margin: 22px 0 0; padding: 0; }
.link-list li { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.link-list a { color: var(--ink); font-weight: 760; }
.link-list span { color: var(--muted); font-size: .87rem; }

.guide-hero .pain-figure { background: var(--charcoal); }
.guide-answer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); gap: 50px; }
.guide-principle { padding: 24px; border-left: 4px solid var(--amber); background: #fff8e4; }
.guide-principle p { margin-bottom: 0; }
.numbered-checks { counter-reset: checks; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.numbered-checks li { counter-increment: checks; display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 18px; border: 1px solid var(--line); }
.numbered-checks li::before { content: counter(checks, decimal-leading-zero); color: var(--amber-dark); font-family: ui-monospace, monospace; font-weight: 800; }
.route-callout { padding: 24px; border: 1px solid var(--line); border-top: 5px solid var(--blue); }
.route-callout h3 { margin-top: 14px; }

.site-footer { margin-top: 70px; padding: 48px max(20px, calc((100% - var(--max)) / 2)) 22px; background: var(--charcoal); color: #bfc7cd; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .7fr 1fr; gap: 48px; }
.brand--footer { color: #fff; }
.site-footer nav { display: grid; align-content: start; gap: 10px; }
.site-footer nav a { color: #e5eaed; }
.footer-boundary strong { color: var(--amber); }
.footer-boundary p, .footer-grid > div > p { margin-bottom: 0; }
.footer-legal { margin-top: 32px; padding-top: 17px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #45505a; font-size: .74rem; }

@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; padding-block: 10px; gap: 8px 16px; }
  .primary-nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .hero, .page-intro, .product-hero, .guide-hero { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: auto; }
  .route-grid, .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picker { grid-template-columns: 1fr; }
  .picker-actions { grid-column: 1; }
  .assessment-grid { grid-template-columns: 1fr; }
  .concern-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .concern-list > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .concern-list > div:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 700px) {
  .hero, .page-intro, .product-hero, .guide-hero, .content-band, .picker-band, .breadcrumbs, .affiliate-disclosure { width: min(100% - 28px, var(--max)); }
  .header-inner { width: min(100% - 24px, var(--max)); }
  .brand { font-size: .9rem; }
  .header-cta { font-size: .78rem; }
  .hero { padding-block: 48px; }
  h1 { font-size: 2.5rem; }
  .content-band { padding-block: 50px; }
  .route-grid, .product-grid, .pain-grid, .guide-grid, .buying-factors ol, .numbered-checks { grid-template-columns: 1fr; }
  .picker-band { padding: 24px 18px; }
  .picker-heading, .guide-answer, .two-column, .guide-route, .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .guide-card { grid-template-columns: 110px 1fr; }
  .comparison-table { overflow-x: auto; }
  .comparison-row { min-width: 720px; }
  .section-cta { align-items: start; flex-direction: column; }
  .footer-legal { flex-direction: column; }
}

@media (max-width: 420px) {
  .header-cta { display: none; }
  .primary-nav a { padding-inline: 8px; font-size: .8rem; }
  .button-row .button { width: 100%; }
  .decision-map { padding: 22px 18px; }
  .product-card { padding: 20px 17px; }
  .concern-list { grid-template-columns: 1fr; }
  .concern-list > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .guide-card { grid-template-columns: 1fr; }
  .guide-card img { height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
