:root {
  color-scheme: light;
  --navy: #0b1629;
  --navy-soft: #13233e;
  --ink: #13223a;
  --muted: #62708a;
  --paper: #f5f7fa;
  --surface: #ffffff;
  --line: #dce3ec;
  --blue: #1769e0;
  --blue-dark: #0d4fac;
  --blue-pale: #eaf2ff;
  --gold: #d9b15a;
  --gold-pale: #fbf5e7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 0; margin: 0; background: var(--paper); font-size: 16px; line-height: 1.7; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--blue); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 50; top: -4rem; left: 2rem; padding: .7rem 1rem; background: var(--gold); color: var(--navy); font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 1rem; }

.header-inner, .footer-inner, .container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #dfe5ed; background: rgb(255 255 255 / 96%); box-shadow: 0 1px 0 rgb(11 22 41 / 3%); backdrop-filter: blur(14px); }
.header-inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 3rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--navy); font-size: 1.28rem; font-weight: 800; letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.brand:hover, .brand:hover span { color: var(--blue); }
.brand img { width: 38px; height: 38px; }
.site-nav { display: flex; align-items: center; gap: 1.65rem; }
.site-nav a { position: relative; color: #526079; font-size: .79rem; font-weight: 760; letter-spacing: .065em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.site-nav a::after { position: absolute; right: 0; bottom: -10px; left: 0; height: 2px; background: var(--blue); content: ""; opacity: 0; transform: scaleX(.45); transition: opacity .18s ease, transform .18s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { opacity: 1; transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--navy); }
.menu-button { display: none; }

.eyebrow { margin: 0 0 .85rem; color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); letter-spacing: -.045em; line-height: 1.08; }
h1 { max-width: 13ch; margin-bottom: 1.25rem; font-family: var(--serif); font-size: clamp(3rem, 5.1vw, 5.45rem); font-weight: 500; }
h2 { margin-bottom: 1rem; font-family: var(--serif); font-size: clamp(2.25rem, 3.55vw, 3.7rem); font-weight: 500; }
h3 { margin-bottom: .7rem; font-size: 1.28rem; }
.lede { max-width: 58ch; color: var(--muted); font-size: 1.13rem; line-height: 1.7; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.15rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 51px; align-items: center; justify-content: center; gap: .55rem; border: 1px solid var(--blue); background: var(--blue); color: #fff; padding: .75rem 1.2rem; font-size: .85rem; font-weight: 800; letter-spacing: .015em; text-decoration: none; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.button:hover { border-color: var(--blue-dark); background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.button.secondary { border-color: var(--line); background: var(--surface); color: var(--navy); }
.button.secondary:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.button.lime { border-color: var(--gold); background: var(--gold); color: var(--navy); }

/* Inicio: publicación de recomendaciones y próximas afiliaciones */
.hero { position: relative; overflow: hidden; padding: 68px 0 0; background: var(--navy); color: #fff; }
.hero::before { position: absolute; top: -190px; right: -130px; width: 630px; height: 630px; border: 1px solid rgb(217 177 90 / 28%); border-radius: 50%; box-shadow: 0 0 0 52px rgb(217 177 90 / 4%), 0 0 0 105px rgb(217 177 90 / 3%); content: ""; }
.hero::after { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-image: linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px); background-size: 78px 78px; content: ""; mask-image: linear-gradient(90deg, #000, transparent 75%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-topline { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid rgb(255 255 255 / 15%); }
.hero .eyebrow { margin: 0; color: var(--gold); }
.edition { color: #aebbd0; font-size: .69rem; font-weight: 760; letter-spacing: .13em; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: end; padding: 74px 0 72px; }
.hero-copy h1, .hero-copy h2 { color: #fff; }
.hero-copy h1 { margin-bottom: 1.45rem; font-size: clamp(3.5rem, 5.35vw, 5.85rem); }
.hero-copy h1 em { color: var(--gold); font-style: italic; }
.hero-copy .lede { max-width: 48ch; color: #c5d0e0; font-size: 1.16rem; }
.hero .button { border-color: #fff; background: #fff; color: var(--navy); }
.hero .button:hover { border-color: var(--gold); background: var(--gold); }
.hero-text-link { color: #d6dfed; font-size: .88rem; font-weight: 750; text-underline-offset: .36em; }
.hero-text-link:hover { color: #fff; }
.hero-caption { margin: 50px 0 0; color: #8fa0b9; font-size: .78rem; line-height: 1.65; letter-spacing: .045em; text-transform: uppercase; }
.featured-guide { display: flex; min-height: 470px; flex-direction: column; justify-content: space-between; border: 1px solid rgb(217 177 90 / 72%); background: linear-gradient(145deg, #1a3154, #10233f 65%, #0d1b31); box-shadow: 22px 24px 0 rgb(217 177 90 / 12%); color: #fff; padding: 28px 30px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.featured-guide:hover { box-shadow: 28px 30px 0 rgb(217 177 90 / 18%); color: #fff; transform: translate(-4px, -4px); }
.featured-top, .featured-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #d6c18b; font-size: .69rem; font-weight: 800; letter-spacing: .125em; text-transform: uppercase; }
.guide-symbol { display: flex; align-items: center; gap: 1rem; color: #e4c980; }
.guide-symbol span { font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.featured-guide h2 { margin: 0; color: #fff; font-family: var(--serif); font-size: clamp(2.3rem, 3.2vw, 3.6rem); }
.featured-guide p { max-width: 43ch; margin: .4rem 0 0; color: #bcc9dc; font-size: .95rem; line-height: 1.7; }
.featured-bottom { padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 15%); color: #dce5f2; letter-spacing: .035em; text-transform: none; }
.topic-line { display: flex; align-items: center; gap: 35px; padding: 22px 0 24px; border-top: 1px solid rgb(255 255 255 / 15%); }
.topic-line span { flex: 0 0 auto; color: var(--gold); font-size: .68rem; font-weight: 830; letter-spacing: .13em; }
.topic-line p { margin: 0; color: #bfcbda; font-family: var(--serif); font-size: 1.08rem; }
.topic-line i { margin: 0 .6rem; color: var(--gold); font-style: normal; }

.section { padding: 105px 0; }
.editorial-section { background: var(--surface); }
.section-heading { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 3rem; margin-bottom: 44px; }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 43ch; margin: 0 0 .35rem; color: var(--muted); font-size: 1.02rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { min-height: 100%; border: 1px solid var(--line); background: var(--surface); padding: 28px; transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease; }
.editorial-card { display: flex; flex-direction: column; min-height: 355px; }
.card:hover { border-color: #bbc8dc; box-shadow: 0 16px 40px rgb(11 22 41 / 9%); transform: translateY(-3px); }
.card-kicker { display: flex; justify-content: space-between; color: var(--blue); font-size: .68rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.article-icon { display: grid; width: 50px; height: 50px; place-items: center; margin: 42px 0 25px; border: 1px solid #c9d8f0; background: var(--blue-pale); color: var(--blue); }
.article-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .7rem; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.card p { color: var(--muted); font-size: .94rem; line-height: 1.67; }
.card-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; color: var(--blue); font-size: .82rem; font-weight: 830; letter-spacing: .025em; text-decoration: none; }
.card-link::after { content: "→"; font-size: 1.2em; transition: transform .18s ease; }
.card-link:hover::after { transform: translateX(3px); }
.method-section { background: var(--paper); }
.feature-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; border: 1px solid #cfd9e6; background: var(--gold-pale); padding: 62px; }
.feature-band h2 { margin-bottom: 1.3rem; font-size: clamp(2.2rem, 3.3vw, 3.4rem); }
.feature-band h2 em { color: var(--blue); }
.feature-band p { max-width: 42ch; color: #5f6978; }
.numbered-list { display: grid; margin: 0; padding: 0; list-style: none; counter-reset: item; }
.numbered-list li { display: grid; grid-template-columns: 54px 1fr; gap: 1rem; padding: 21px 0; border-top: 1px solid #decfa9; color: #445068; counter-increment: item; }
.numbered-list li:last-child { border-bottom: 1px solid #decfa9; }
.numbered-list li::before { color: var(--blue); content: "0" counter(item); font-size: .73rem; font-weight: 900; letter-spacing: .08em; }
.numbered-list strong { display: block; margin-bottom: .25rem; color: var(--navy); font-size: .98rem; }
.editorial-disclosure { border-top: 1px solid #2e405b; border-bottom: 1px solid #2e405b; background: var(--navy); color: #fff; padding: 40px 0; }
.editorial-disclosure .container { display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: 28px; }
.editorial-disclosure .eyebrow { margin: 0; color: var(--gold); }
.editorial-disclosure p { margin: 0; color: #c4d0df; }
.editorial-disclosure a { color: #fff; font-size: .82rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.editorial-disclosure a:hover { color: var(--gold); }

/* Páginas internas y artículos */
.page-hero { padding: 84px 0 48px; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-hero h1 { margin-bottom: 1rem; font-size: clamp(3rem, 4.5vw, 4.85rem); }
.page-hero .lede { max-width: 64ch; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 76px; padding: 52px 0 104px; }
.article-layout { padding-top: 48px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .55rem; color: var(--muted); font-size: .8rem; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { margin-right: .55rem; color: #8793a4; content: "/"; }
.prose { max-width: 76ch; }
.prose h2 { margin-top: 3.15rem; font-size: 2.05rem; }
.prose h3 { margin-top: 1.9rem; font-size: 1.28rem; }
.prose p, .prose li { color: #3c4a5f; }
.prose li + li { margin-top: .55rem; }
.prose ul, .prose ol { padding-left: 1.45rem; }
.side-note { position: sticky; top: 108px; border-top: 3px solid var(--blue); background: var(--blue-pale); padding: 25px; }
.side-note h2 { margin-bottom: .7rem; font-family: var(--sans); font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
.side-note p:last-child { margin-bottom: 0; }
.callout { border-left: 4px solid var(--blue); background: var(--blue-pale); padding: 18px 21px; }
.callout p:last-child { margin-bottom: 0; }
.empty-state { border: 1px dashed #aab8cc; background: var(--surface); padding: 38px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); background: #fff; }
table { width: 100%; min-width: 620px; border-collapse: collapse; }
table caption { padding: .9rem 1rem; color: #40516a; text-align: left; font-size: .85rem; font-weight: 760; }
th, td { border-bottom: 1px solid var(--line); padding: .95rem 1.05rem; text-align: left; vertical-align: top; }
th { background: #eff4fa; color: #50617d; font-size: .72rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
td { color: #3c4a5f; }
tr:last-child td { border-bottom: 0; }
.draft-note { display: inline-flex; gap: .45rem; align-items: center; border: 1px solid #e6ce83; background: #fff4ce; color: #6c4e06; padding: .36rem .7rem; font-size: .79rem; font-weight: 800; }
.article-meta, .small { color: var(--muted); font-size: .86rem; }
.category-pill { display: inline-block; background: var(--gold); color: var(--navy); padding: .27rem .62rem; font-size: .7rem; font-weight: 850; letter-spacing: .075em; text-transform: uppercase; }
.rule-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rule { border: 1px solid var(--line); background: #fff; padding: 24px; }
.rule h3 { font-size: 1.1rem; }
.rule p { margin: 0; color: var(--muted); }
.page-end { padding-bottom: 104px; }

.site-footer { background: #07101f; color: #fff; padding: 56px 0 22px; }
.site-footer .brand, .site-footer .brand span { color: #fff; }
.site-footer .brand:hover, .site-footer .brand:hover span { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 40px; }
.footer-grid h2 { margin-bottom: 1rem; color: #fff; font-family: var(--sans); font-size: .74rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid p { max-width: 31ch; margin-top: 1.3rem; color: #9eacc0; font-size: .88rem; }
.footer-links { display: grid; gap: .53rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: #aebacc; font-size: .88rem; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 45px; border-top: 1px solid #243550; padding-top: 18px; color: #8392a8; font-size: .74rem; }
.footer-bottom p { margin: 0; }
.text-button { border: 0; background: transparent; color: #aebacc; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.cookie-banner { position: fixed; z-index: 30; right: 32px; bottom: 32px; display: flex; width: min(760px, calc(100% - 64px)); align-items: center; justify-content: space-between; gap: 22px; border: 1px solid #344765; background: var(--navy); box-shadow: 0 18px 60px rgb(5 11 23 / 35%); color: #fff; padding: 18px 20px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; color: #d1dceb; font-size: .87rem; }
.cookie-actions { display: flex; gap: .5rem; }
.cookie-actions button { min-height: 40px; border: 1px solid #7386a1; background: transparent; color: #fff; padding: .45rem .72rem; font-size: .8rem; font-weight: 800; cursor: pointer; white-space: nowrap; }
.cookie-actions button:first-child { border-color: var(--gold); background: var(--gold); color: var(--navy); }

/* Catálogo, asesor y contenido de decisión */
.hub-hero { padding: 82px 0 66px; background: var(--surface); }
.hub-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: end; }
.hub-hero h1 { max-width: 14ch; }
.hub-hero-card { border-top: 3px solid var(--gold); background: var(--navy); color: #fff; padding: 28px; }
.hub-hero-card h2 { color: #fff; font-family: var(--sans); font-size: 1.34rem; font-weight: 760; }
.hub-hero-card p { color: #c8d4e5; font-size: .92rem; }
.hub-hero-card .text-link { color: var(--gold); }
.section-soft { background: var(--blue-pale); }
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.category-link { display: flex; min-height: 118px; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); background: #fff; padding: 18px; color: var(--navy); font-size: .9rem; font-weight: 770; text-decoration: none; }
.category-link span { color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.category-link:hover { border-color: var(--blue); background: var(--blue-pale); color: var(--navy); }
.text-link { color: var(--blue); font-size: .84rem; font-weight: 820; text-decoration-thickness: 1px; }
.button-small { min-height: 40px; padding: .52rem .72rem; font-size: .72rem; }
.button-secondary { border-color: #bdcadb; background: #fff; color: var(--navy); }
.button-secondary:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.catalog-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; margin: 30px 0 26px; }
.catalog-search { width: 100%; border: 1px solid #bcc9db; background: #fff; color: var(--navy); padding: .85rem 1rem; font: inherit; }
.filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { border: 1px solid #bdcadb; background: #fff; color: #40516a; padding: .6rem .8rem; font-size: .77rem; font-weight: 760; cursor: pointer; }
.filter-button[aria-pressed="true"], .filter-button:hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tool-card, .result-card { display: flex; min-height: 100%; flex-direction: column; border: 1px solid var(--line); background: #fff; padding: 24px; }
.tool-card-top, .result-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .71rem; font-weight: 780; }
.category-tag, .result-label { background: var(--blue-pale); color: var(--blue); padding: .24rem .45rem; font-size: .68rem; font-weight: 860; letter-spacing: .07em; text-transform: uppercase; }
.tool-card h3, .result-card h2 { margin: 1.15rem 0 .65rem; font-family: var(--serif); font-size: 1.65rem; font-weight: 500; }
.tool-card p, .result-card p { color: var(--muted); font-size: .91rem; }
.tool-fit { margin-top: auto; border-top: 1px solid var(--line); padding-top: 1rem; }
.tool-fit strong, .result-detail strong { color: var(--navy); }
.tool-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; margin-top: 1rem; }
.advisor-page { min-height: 680px; padding: 76px 0 100px; background: linear-gradient(180deg, var(--blue-pale), var(--paper) 65%); }
.advisor-shell { width: min(860px, calc(100% - 40px)); margin-inline: auto; border: 1px solid #cdd9e9; background: #fff; box-shadow: 0 24px 70px rgb(11 22 41 / 10%); padding: 54px; }
.advisor-progress { height: 6px; margin-bottom: 32px; overflow: hidden; background: #dfe7f2; }
.advisor-progress span { display: block; height: 100%; background: var(--blue); transition: width .2s ease; }
.advisor-form { margin-top: 30px; }
.advisor-form fieldset { margin: 0; border: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice-card { display: block; border: 1px solid #c4d0e0; background: #fff; padding: 18px; color: var(--navy); cursor: pointer; font-weight: 700; line-height: 1.4; }
.choice-card:has(input:checked) { border-color: var(--blue); background: var(--blue-pale); box-shadow: inset 0 0 0 1px var(--blue); }
.choice-card:hover { border-color: var(--blue); }
.choice-card input { position: absolute; opacity: 0; }
.choice-card:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.advisor-actions, .advisor-footer-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; }
.form-error { color: #a21e27 !important; font-weight: 700; }
.result-grid { display: grid; gap: 18px; margin-top: 32px; }
.result-card { min-height: auto; border-left: 4px solid var(--blue); }
.result-label.coincidencia { background: #e9f6dc; color: #2b6416; }
.result-label.alternativa { background: var(--blue-pale); color: var(--blue); }
.result-label.opción { background: var(--gold-pale); color: #72520e; }
.result-detail { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.result-detail p { margin: .3rem 0 0; }
.result-list { display: grid; gap: 8px; margin-top: 15px; color: #506079; font-size: .86rem; }
.advisor-empty { padding: 24px 0; }
.comparison-scorecard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.comparison-scorecard article { border: 1px solid var(--line); background: #fff; padding: 22px; }
.comparison-scorecard h2 { margin-bottom: .7rem; font-family: var(--sans); font-size: 1.15rem; font-weight: 800; }
.comparison-scorecard p { margin: 0; color: var(--muted); font-size: .9rem; }
.verification-note { border-left: 4px solid var(--gold); background: var(--gold-pale); padding: 16px 18px; color: #5d5547; }
.comparison-table { min-width: 1120px; }
.comparison-table th:first-child { min-width: 190px; }
.comparison-table td, .comparison-table thead th:not(:first-child) { min-width: 285px; }
.comparison-table thead th span { display: inline-block; margin: .4rem 0; color: #50617d; font-size: .82rem; font-weight: 760; letter-spacing: 0; text-transform: none; }
.comparison-table thead th a { color: var(--navy); text-transform: none; }
.source-list { display: grid; gap: .55rem; padding-left: 1.25rem; }
.source-list li { overflow-wrap: anywhere; }
.comparison-scorecard ul { margin-bottom: 0; padding-left: 1.15rem; color: #506079; }
.comparison-profile { display: block; max-width: 34ch; margin-top: .45rem; color: var(--muted); font-size: .8rem; font-weight: 500; letter-spacing: 0; line-height: 1.45; text-transform: none; }
.email-comparison-wrap { max-width: 100%; overscroll-behavior-inline: contain; }
.email-comparison-wrap .comparison-table { min-width: 1650px; }
.email-comparison-wrap .comparison-table th:first-child { min-width: 205px; }
.email-comparison-wrap .comparison-table td, .email-comparison-wrap .comparison-table thead th:not(:first-child) { min-width: 175px; }
.email-comparison-wrap .comparison-table td:last-child { min-width: 220px; }

@media (max-width: 900px) {
  .header-inner, .footer-inner, .container { width: min(100% - 40px, 1240px); }
  .header-inner { min-height: 70px; gap: 1rem; }
  .menu-button { display: inline-flex; border: 1px solid var(--line); background: #fff; color: var(--navy); padding: .52rem .7rem; font-size: .8rem; font-weight: 760; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; border-bottom: 1px solid var(--line); background: #fff; padding: .7rem 20px 1rem; }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: .7rem 0; font-size: .83rem; }
  .site-nav a::after { display: none; }
  .hero { padding-top: 42px; }
  .hero-grid, .hub-hero-grid, .section-heading, .feature-band, .content-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid { padding: 48px 0; }
  .featured-guide { min-height: 380px; }
  .topic-line, .editorial-disclosure .container { align-items: flex-start; flex-direction: column; grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .card-grid, .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .advisor-shell { padding: 34px; }
  .comparison-scorecard { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; overflow-x: hidden; }
  .header-inner, .footer-inner, .container { width: min(100% - 28px, 1240px); }
  .brand { font-size: 1.13rem; }
  .brand img { width: 33px; height: 33px; }
  h1, .hero-copy h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  h2 { font-size: 2.15rem; }
  .hero-topline { display: block; }
  .edition { display: block; margin-top: .5rem; }
  .hero-grid { gap: 36px; padding-top: 38px; }
  .featured-guide { min-height: 350px; padding: 22px; box-shadow: 10px 12px 0 rgb(217 177 90 / 12%); }
  .guide-symbol { align-items: flex-start; }
  .topic-line { gap: 12px; }
  .topic-line p { font-size: .98rem; }
  .section { padding: 52px 0; }
  .card-grid, .tool-grid, .category-grid, .choice-grid, .footer-grid { grid-template-columns: 1fr; }
  .rule-grid { grid-template-columns: 1fr; }
  .feature-band { padding: 30px 22px; }
  .editorial-disclosure .container { display: grid; gap: 14px; }
  .page-hero { padding: 58px 0 34px; }
  .content-layout { gap: 32px; padding: 36px 0 72px; }
  .side-note { position: static; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .advisor-page { padding: 34px 0 60px; }
  .advisor-shell { width: min(100% - 28px, 860px); padding: 28px 20px; }
  .advisor-actions, .advisor-footer-actions { align-items: stretch; flex-direction: column-reverse; }
  .advisor-actions .button, .advisor-footer-actions .button { width: 100%; }
  .cookie-banner { right: 14px; bottom: 14px; width: calc(100% - 28px); align-items: stretch; flex-direction: column; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

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

/* Homepage commercial clarity, driven by data/home.json. */
.home-hero { overflow: hidden; background: var(--surface); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr); gap: 72px; align-items: center; padding: 76px 0 68px; }
.home-hero-copy h1 { max-width: 12ch; margin-bottom: 1.25rem; font-size: clamp(3.2rem, 5.3vw, 5.5rem); }
.home-hero-copy .lede { max-width: 62ch; }
.home-hero-advisor { margin: 1.25rem 0 0; color: var(--muted); font-size: .88rem; }
.home-hero-advisor span { margin-right: .35rem; color: var(--navy); font-weight: 800; }
.home-hero-advisor a { color: var(--blue); font-weight: 800; }
.home-hero-panel { position: relative; overflow: hidden; border: 1px solid #284467; background: linear-gradient(145deg, #182f52, #0d1b31); box-shadow: 16px 18px 0 rgb(217 177 90 / 18%); color: #fff; padding: 30px; }
.home-hero-panel::after { position: absolute; right: -110px; bottom: -145px; width: 310px; height: 310px; border: 1px solid rgb(217 177 90 / 35%); border-radius: 50%; box-shadow: 0 0 0 32px rgb(217 177 90 / 7%), 0 0 0 64px rgb(217 177 90 / 4%); content: ""; }
.hero-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgb(255 255 255 / 15%); padding-bottom: 18px; color: #e6c979; font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.hero-panel-status { color: #b7c7db; letter-spacing: .05em; text-transform: none; }
.home-hero-panel h2 { position: relative; z-index: 1; max-width: 10ch; margin: 42px 0 14px; color: #fff; font-family: var(--serif); font-size: clamp(2.25rem, 3.3vw, 3.5rem); font-weight: 500; }
.home-hero-panel > p { position: relative; z-index: 1; max-width: 37ch; color: #c4d1e2; font-size: .95rem; }
.hero-panel-list { position: relative; z-index: 1; display: grid; gap: 0; margin-top: 34px; border-top: 1px solid rgb(255 255 255 / 14%); }
.hero-panel-list div { display: grid; grid-template-columns: 32px 1fr; column-gap: 10px; padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / 14%); }
.hero-panel-list span { grid-row: span 2; color: var(--gold); font-size: .7rem; font-weight: 850; }
.hero-panel-list strong { color: #fff; font-size: .92rem; }
.hero-panel-list small { color: #aebfd5; font-size: .78rem; }
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-grid > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; padding: 22px 18px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border-right: 0; padding-right: 0; }
.trust-icon { grid-row: span 2; color: var(--blue); font-size: .68rem; font-weight: 900; letter-spacing: .08em; }
.trust-grid strong { color: var(--navy); font-size: .86rem; line-height: 1.3; }
.trust-grid small { color: var(--muted); font-size: .76rem; line-height: 1.35; }
.home-section { position: relative; }
.home-section-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 30px; }
.disclosure-inline { max-width: 60ch; margin: 0; color: var(--muted); font-size: .78rem; }
.home-tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-tool-card { position: relative; padding: 24px; }
.tool-card-top { align-items: flex-start; }
.tool-mark { display: inline-grid; width: 42px; height: 42px; place-items: center; border: 1px solid #bbd0f1; background: var(--blue-pale); color: var(--blue); font-size: .75rem; font-weight: 900; letter-spacing: .05em; }
.tool-card-heading { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-top: 16px; }
.tool-card-heading h3 { margin: 0; }
.tool-badge { color: #6e541b; font-size: .64rem; font-weight: 850; letter-spacing: .08em; text-align: right; text-transform: uppercase; }
.home-tool-card .tool-fit { margin-top: 1rem; }
.tool-price { min-height: 3.5em; border-top: 1px solid var(--line); padding-top: 12px; color: #52617a !important; font-size: .78rem !important; line-height: 1.45 !important; }
.intent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.intent-card { position: relative; display: grid; min-height: 164px; grid-template-rows: auto auto 1fr auto; gap: 8px; border: 1px solid #c8d5e6; background: #fff; padding: 20px; color: var(--navy); text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.intent-card:hover { border-color: var(--blue); box-shadow: 0 12px 30px rgb(11 22 41 / 8%); color: var(--navy); transform: translateY(-2px); }
.intent-number { color: var(--blue); font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.intent-card strong { font-size: 1.03rem; }
.intent-card > span:not(.intent-number) { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.intent-card b { justify-self: end; color: var(--blue); font-size: 1.2rem; }
.offer-grid { display: grid; gap: 16px; }
.offer-card, .offer-empty { border: 1px solid var(--line); background: #fff; padding: 24px; }
.offer-card { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: center; }
.offer-card-top { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .74rem; }
.offer-badge { color: #2b6416; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.offer-card h3 { margin: 12px 0 6px; }
.offer-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.offer-terms { margin-top: 8px !important; font-size: .78rem !important; }
.offer-empty { display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; align-items: center; }
.offer-empty-mark { color: var(--gold); font-size: 2rem; font-weight: 300; }
.offer-empty h3 { margin: 0 0 5px; }
.offer-empty p { margin: 0; color: var(--muted); font-size: .88rem; }
.comparison-home-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.comparison-card { display: flex; flex-direction: column; padding: 24px; }
.comparison-card h3 { margin-top: 24px; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.comparison-card .card-link { margin-top: auto; padding-top: 18px; }
.home-advisor { background: var(--navy); }
.advisor-cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 64px 0; color: #fff; }
.advisor-cta-panel h2 { margin-bottom: 12px; color: #fff; }
.advisor-cta-panel p:not(.eyebrow) { max-width: 57ch; margin: 0; color: #c4d0df; }
.advisor-cta-panel .eyebrow { color: var(--gold); }
.advisor-cta-panel .button { flex: 0 0 auto; border-color: var(--gold); background: var(--gold); color: var(--navy); }
.advisor-cta-panel .button:hover { border-color: #fff; background: #fff; }
.home-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; border: 1px solid var(--line); background: #fff; padding: 18px; color: var(--navy); text-decoration: none; }
.category-card:hover { border-color: var(--blue); color: var(--navy); }
.category-card-mark { grid-row: span 2; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #c6d6ed; background: var(--blue-pale); color: var(--blue); font-size: .72rem; font-weight: 900; }
.category-card strong { font-size: .95rem; }
.category-card > span:last-child { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.home-method { border-top: 1px solid #d9c99e; background: var(--gold-pale); padding: 66px 0; }
.home-method-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.home-method h2 { margin-bottom: 14px; }
.home-method p:not(.eyebrow) { max-width: 48ch; color: #5d6472; }
.method-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: method; }
.method-list li { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; padding: 15px 0; border-top: 1px solid #decfa9; counter-increment: method; }
.method-list li::before { color: var(--blue); content: "0" counter(method); font-size: .7rem; font-weight: 900; }
.method-list strong { display: block; color: var(--navy); font-size: .94rem; }
.method-list span { color: #666d79; font-size: .84rem; }
.footer-disclosure { color: #c8d3e3 !important; font-size: .78rem !important; }
.offer-page-empty { margin: 48px 0 30px; border: 1px solid var(--line); background: #fff; padding: 48px; }
.offer-page-empty h2 { max-width: 13ch; margin-bottom: 14px; }
.offer-page-empty p { max-width: 60ch; color: var(--muted); }
.offer-page-empty .actions { margin-top: 22px; }

@media (max-width: 1050px) {
  .home-hero-grid { grid-template-columns: 1fr .8fr; gap: 42px; }
  .home-tool-grid, .comparison-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comparison-home-grid .comparison-card:last-child { display: none; }
}

@media (max-width: 900px) {
  .home-hero-grid, .home-method-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-hero-grid { padding: 56px 0; }
  .home-hero-copy h1 { max-width: 15ch; }
  .home-hero-panel { max-width: 620px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div, .trust-grid > div:first-child, .trust-grid > div:last-child { border-bottom: 1px solid var(--line); padding: 18px 14px; }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .intent-grid, .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advisor-cta-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .home-hero-grid { padding: 45px 0 50px; }
  .home-hero-copy h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .home-hero-copy .actions { align-items: stretch; flex-direction: column; }
  .home-hero-copy .actions .button { width: 100%; }
  .home-hero-panel { padding: 23px; box-shadow: 9px 11px 0 rgb(217 177 90 / 16%); }
  .trust-grid, .home-tool-grid, .intent-grid, .comparison-home-grid, .home-category-grid { grid-template-columns: 1fr; }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .home-section-footer, .offer-card, .offer-empty { align-items: stretch; flex-direction: column; }
  .home-section-footer { align-items: flex-start; }
  .offer-card { display: flex; }
  .offer-empty { display: grid; grid-template-columns: 36px 1fr; }
  .offer-empty .button { grid-column: 1 / -1; justify-self: start; }
  .offer-card-top { align-items: flex-start; flex-direction: column; gap: 5px; }
  .advisor-cta-panel { padding: 50px 0; }
  .offer-page-empty { margin-top: 30px; padding: 30px 22px; }
}

/* Homepage V2: commercial clarity above the fold */
.home-hero-v2 .home-hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(370px, .88fr); gap: 42px; padding: 42px 0 38px; }
.home-hero-v2 .home-hero-copy h1 { max-width: 14ch; margin-bottom: 1rem; font-size: clamp(2.8rem, 4.6vw, 4.6rem); line-height: .98; }
.home-hero-v2 .home-hero-copy .lede { max-width: 54ch; margin-bottom: 1.35rem; font-size: 1.05rem; }
.home-hero-v2 .home-hero-panel { padding: 24px; box-shadow: 10px 12px 0 rgb(217 177 90 / 16%); }
.home-hero-v2 .home-hero-panel h2 { max-width: 16ch; margin: 25px 0 8px; font-size: clamp(1.9rem, 2.8vw, 2.75rem); line-height: 1.02; }
.home-hero-v2 .home-hero-panel > p { max-width: 42ch; margin-bottom: 0; font-size: .9rem; }
.hero-quick-links { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 1.25rem; }
.hero-quick-links a, .hero-panel-link { color: var(--blue); font-size: .86rem; font-weight: 800; text-decoration: none; }
.hero-quick-links a:hover, .hero-panel-link:hover { text-decoration: underline; }
.hero-highlights { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 20px; }
.hero-highlight { display: flex; min-height: 132px; flex-direction: column; justify-content: space-between; gap: 12px; border: 1px solid rgb(255 255 255 / 17%); background: rgb(255 255 255 / 7%); padding: 13px; color: #fff; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.hero-highlight:hover, .hero-highlight:focus-visible { background: rgb(255 255 255 / 14%); transform: translateY(-2px); }
.hero-highlight-mark { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgb(230 201 121 / 70%); color: #f2d88f; font-size: .68rem; font-weight: 850; letter-spacing: .04em; }
.hero-highlight-copy { display: grid; gap: 4px; }
.hero-highlight-copy strong { color: #fff; font-size: .8rem; line-height: 1.15; }
.hero-highlight-copy small { color: #b7c7db; font-size: .68rem; line-height: 1.15; text-transform: capitalize; }
.hero-highlight-arrow { align-self: flex-end; color: #e6c979; font-size: .88rem; }
.hero-panel-link { position: relative; z-index: 1; display: inline-block; margin-top: 18px; color: #f0d78f; }
.trust-strip { padding: 17px 0; }
.home-hero-v2 + .trust-strip .trust-grid { gap: 14px; }
.home-hero-v2 + .trust-strip .trust-grid > div { padding: 3px 0; }

@media (max-width: 1050px) {
  .home-hero-v2 .home-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr); gap: 28px; }
  .home-hero-v2 .home-hero-copy h1 { font-size: clamp(2.7rem, 5vw, 4rem); }
}

@media (max-width: 900px) {
  .home-hero-v2 .home-hero-grid { grid-template-columns: 1fr; gap: 28px; padding: 42px 0 36px; }
  .home-hero-v2 .home-hero-copy h1 { max-width: 15ch; }
  .home-hero-v2 .home-hero-panel { max-width: none; }
}

@media (max-width: 620px) {
  .home-hero-v2 .home-hero-grid { padding: 34px 0 30px; }
  .home-hero-v2 .home-hero-copy h1 { font-size: clamp(2.45rem, 11.5vw, 3.5rem); }
  .home-hero-v2 .home-hero-copy .lede { font-size: .98rem; }
  .home-hero-v2 .home-hero-panel { padding: 19px; }
  .hero-highlights { gap: 7px; }
  .hero-highlight { min-height: 116px; padding: 10px; }
  .hero-highlight-copy strong { font-size: .72rem; }
  .hero-highlight-copy small { font-size: .61rem; }
}
