:root {
  --ink: #10253a;
  --ink-soft: #173650;
  --paper: #f7f8f5;
  --white: #ffffff;
  --mist: #edf2f0;
  --line: #d9e3e3;
  --muted: #637485;
  --teal: #55c8b8;
  --teal-dark: #106e67;
  --copper: #e5a067;
  --copper-dark: #94542c;
  --shadow: 0 20px 60px rgba(16, 37, 58, .10);
  --radius: 22px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .16em; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.container { width: min(var(--max), calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 99; padding: .7rem 1rem; color: var(--ink); background: var(--teal); border-radius: 0 0 10px 10px; font-weight: 700; }
.skip-link:focus { top: 0; }
.eyebrow { display: block; margin: 0 0 .65rem; color: var(--teal-dark); font-size: .75rem; line-height: 1.2; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-light { color: var(--teal); }
.lede { color: var(--muted); font-size: 1.1rem; }
.section-rule { display: inline-block; width: 2.6rem; height: .2rem; margin-bottom: .8rem; background: var(--copper); border-radius: 999px; }
.section-intro { max-width: 650px; }
.section-intro h2, .section-heading h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.1; letter-spacing: -.035em; }
.section-intro p { margin: .9rem 0 0; color: var(--muted); }

.site-header { position: relative; z-index: 10; color: var(--white); background: var(--ink); }
.header-inner { display: flex; align-items: center; min-height: 82px; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--white); text-decoration: none; white-space: nowrap; }
.brand-mark { width: 2.45rem; height: 2.45rem; color: var(--teal); }
.brand strong, .brand small { display: block; line-height: 1; }
.brand strong { font-size: 1rem; letter-spacing: -.02em; }
.brand small { margin-top: .28rem; color: #9eb1bf; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; margin-left: auto; font-size: .9rem; }
.nav-link { padding: .45rem 0; color: #c8d4dc; text-decoration: none; }
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link.active { box-shadow: 0 2px 0 var(--teal); }
.nav-cta { display: inline-flex; align-items: center; gap: .45rem; padding: .65rem .9rem; color: var(--ink); background: var(--teal); border-radius: 999px; font-weight: 750; text-decoration: none; }
.nav-cta:hover { background: #79d7ca; }
.menu-toggle { display: none; border: 1px solid rgba(255,255,255,.2); color: var(--white); background: transparent; border-radius: 10px; padding: .55rem .7rem; }
.menu-icon { margin-right: .4rem; }

.hero-home { color: var(--white); background: var(--ink); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); min-height: 560px; padding: 4.5rem 0 5.5rem; }
.hero-copy { max-width: 590px; }
.hero-copy h1 { max-width: 10ch; margin: 0; font-size: clamp(3rem, 7vw, 5.8rem); line-height: .96; letter-spacing: -.075em; }
.hero-copy > p { max-width: 46rem; margin: 1.5rem 0 0; color: #c8d4dc; font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.55; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .75rem 1.1rem; margin-top: 2rem; color: #9eb1bf; font-size: .82rem; }
.hero-image-wrap { position: relative; min-height: 380px; overflow: hidden; border-radius: 26px; box-shadow: 30px 30px 0 rgba(85,200,184,.14); }
.hero-image-wrap::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, rgba(16,37,58,.50), transparent 48%, rgba(16,37,58,.10)); pointer-events: none; }
.hero-image-wrap img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.image-caption { position: absolute; z-index: 1; right: 1.15rem; bottom: 1rem; left: 1.15rem; padding: .7rem .85rem; color: var(--white); background: rgba(16,37,58,.78); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; font-size: .8rem; }

.choice-section { padding: 5.5rem 0 5rem; background: var(--paper); }
.choice-section .section-intro { margin-bottom: 2.2rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.topic-card { display: flex; flex-direction: column; min-height: 220px; padding: 1.45rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 25px rgba(16,37,58,.035); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.topic-card:hover { border-color: #b8d9d4; box-shadow: var(--shadow); transform: translateY(-4px); }
.topic-card h3 { margin: .1rem 0 .6rem; font-size: 1.35rem; letter-spacing: -.03em; }
.topic-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.card-action { display: inline-flex; gap: .45rem; align-items: center; margin-top: auto; padding-top: 1.4rem; color: var(--teal-dark); font-size: .9rem; font-weight: 800; }
.tone-teal { background: #e4f4f0; border-color: #c8e9e2; }
.tone-copper { background: #fbefe6; border-color: #f0d8c6; }
.compact .topic-card { min-height: 185px; }

.popular-section, .process-section, .recent-section, .home-section { padding: 5rem 0; }
.popular-section { background: var(--white); }
.two-column { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.popular-section h2, .recent-section h2 { max-width: 10ch; margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.06em; }
.popular-list, .article-list { border-top: 1px solid var(--line); }
.popular-row, .article-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.popular-row:hover strong, .article-row:hover strong, .related-list a:hover strong { color: var(--teal-dark); }
.popular-row strong, .popular-row small, .article-row strong { display: block; }
.popular-row strong, .article-row strong { font-size: 1.05rem; line-height: 1.3; }
.popular-row small { margin-top: .18rem; color: var(--muted); }
.row-arrow { flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; color: var(--teal-dark); background: var(--mist); border-radius: 50%; }
.pale { background: var(--mist); }
.section-intro.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 900px; align-items: end; margin-bottom: 2rem; }
.section-intro.split p { margin: 0; }
.tool-teasers { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.tool-teaser { display: grid; grid-template-columns: auto 1fr; gap: .15rem 1rem; align-items: center; min-height: 145px; padding: 1.5rem; border-radius: var(--radius); text-decoration: none; }
.tool-teaser span:not(.tool-icon) { grid-column: 2; color: var(--muted); font-size: .9rem; }
.tool-icon { grid-row: span 2; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; color: var(--ink); border: 1px solid rgba(16,37,58,.12); border-radius: 50%; font-size: 1.65rem; }
.tool-teaser strong { font-size: 1.2rem; }
.tool-teaser.teal { background: #cdebe5; }
.tool-teaser.copper { background: #f4dbc8; }
.process-section { background: var(--white); }
.process-section .section-intro { margin-bottom: 2.2rem; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; padding: 0; margin: 0; list-style: none; }
.steps li { min-height: 180px; padding: 1.35rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.step-number { display: inline-block; margin-bottom: 2rem; color: var(--copper-dark); font-size: .8rem; font-weight: 900; letter-spacing: .12em; }
.steps h3 { margin: 0 0 .45rem; font-size: 1.12rem; }
.steps p { margin: 0; color: var(--muted); line-height: 1.5; }
.recent-section .text-link { display: inline-block; margin-top: 1.4rem; }
.article-row { align-items: start; flex-direction: column; gap: .18rem; padding: 1.25rem 0; position: relative; }
.article-row .row-arrow { position: absolute; right: 0; bottom: 1.1rem; }
.faq-section { padding: 4rem 0 1rem; }
.faq-list { margin-top: 1.4rem; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; cursor: pointer; font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex: none; color: var(--teal-dark); font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 760px; margin: 0 2rem 1.3rem 0; color: var(--muted); }

.page-hero { color: var(--white); background: var(--ink); }
.page-hero .container { padding: 2rem 0 4.5rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 3.6rem; color: #9eb1bf; font-size: .83rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal); }
.page-hero .eyebrow { color: var(--teal); }
.page-hero h1 { max-width: 900px; margin: 0; font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: .98; letter-spacing: -.075em; }
.hero-lede { max-width: 760px; margin: 1.45rem 0 0; color: #c8d4dc; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; }
.article-hero .container { padding-bottom: 4rem; }
.hub-content { padding: 4.6rem 0 5rem; }
.hub-copy { max-width: 850px; margin-top: 5rem; }
.hub-copy .content-section { padding-top: 0; }

.article-layout { display: grid; grid-template-columns: minmax(0, 820px) 250px; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; padding-top: 4.8rem; padding-bottom: 5rem; }
.article-body { min-width: 0; }
.quick-answer { padding: 1.15rem 1.25rem; margin: 0 0 2.8rem; background: #e4f4f0; border: 1px solid #c8e9e2; border-radius: 16px; }
.quick-answer p { max-width: 760px; margin: 0; color: var(--ink); font-size: 1.05rem; line-height: 1.55; }
.content-section { padding: 0 0 3.8rem; scroll-margin-top: 2rem; }
.section-heading { margin-bottom: 1.2rem; }
.section-heading h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
.section-body { color: #334b60; }
.section-body p { max-width: 760px; margin: 0 0 1.05rem; }
.section-body a, .text-link { color: var(--teal-dark); font-weight: 750; }
.check-list { display: grid; grid-template-columns: repeat(2,1fr); gap: .7rem 1.3rem; padding: 0; margin: 1.2rem 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.6rem; }
.check-list li::before { position: absolute; left: 0; top: .52rem; width: .55rem; height: .55rem; content: ''; background: var(--teal); border-radius: 50%; }
.inline-links { display: flex; flex-wrap: wrap; gap: .75rem 1.2rem; margin-top: 1.4rem; }
.note { padding: 1rem 1.1rem; color: #536879; background: var(--mist); border-left: 3px solid var(--copper); border-radius: 0 10px 10px 0; font-size: .92rem; }
.mini-callout { max-width: 760px; padding: 1.1rem 1.2rem; margin-top: 1.5rem; background: #edf8f5; border: 1px solid #c8e9e2; border-radius: 14px; }
.mini-callout p { margin-bottom: .35rem; }
.mini-callout p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 1.3rem 0 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
table { width: 100%; min-width: 620px; border-collapse: collapse; text-align: left; }
caption { padding: .9rem 1rem .7rem; color: var(--muted); font-size: .82rem; text-align: left; }
th, td { padding: .9rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); background: #f4f7f6; font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; }
td { color: #435a6d; }
tr:first-child td { border-top: 0; }
.sources { padding: 1rem 1.1rem; margin-top: 1.2rem; background: #f8f5ef; border: 1px solid #eadfce; border-radius: 14px; }
.sources p { margin-bottom: .5rem; }
.sources ul { padding-left: 1.1rem; margin: 0; }
.sources a { font-size: .9rem; }
.email-chip { display: inline-flex; gap: .5rem; align-items: center; padding: .75rem 1rem; color: var(--ink) !important; background: var(--mist); border-radius: 999px; }
.author-row { display: flex; align-items: center; gap: .75rem; margin-top: 2rem; }
.author-avatar { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; color: var(--ink); background: var(--teal); border-radius: 50%; font-weight: 900; }
.author-row strong, .author-row span { display: block; }
.author-row strong { color: var(--white); font-size: .9rem; }
.author-row span { color: #9eb1bf; font-size: .78rem; }
.article-aside { position: sticky; top: 1.5rem; }
.mobile-toc { display: none; }
.aside-card, .aside-note { padding: 1.1rem; border-radius: 16px; }
.aside-card { background: var(--white); border: 1px solid var(--line); }
.aside-card ul { padding: 0; margin: .8rem 0 0; list-style: none; }
.aside-card li + li { border-top: 1px solid var(--line); }
.aside-card a { display: block; padding: .65rem 0; color: var(--muted); font-size: .87rem; text-decoration: none; line-height: 1.35; }
.aside-card a:hover { color: var(--teal-dark); }
.aside-note { margin-top: 1rem; color: #526a7e; background: #fbefe6; }
.aside-note strong { display: block; margin-bottom: .25rem; color: var(--copper-dark); font-size: .85rem; }
.aside-note p { margin: 0; font-size: .85rem; line-height: 1.5; }

.cta-block { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; padding: 1.6rem; margin: .5rem 0 3.6rem; color: var(--white); background: var(--ink-soft); border-radius: var(--radius); box-shadow: 0 16px 35px rgba(16,37,58,.12); scroll-margin-top: 2rem; }
.cta-block h2 { margin: 0; font-size: clamp(1.4rem,2.5vw,2rem); line-height: 1.1; letter-spacing: -.04em; }
.cta-block p:not(.eyebrow) { max-width: 560px; margin: .55rem 0 0; color: #c8d4dc; }
.cta-action { min-width: 255px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3rem; padding: .7rem 1rem; border: 0; border-radius: 999px; font-size: .9rem; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--ink); background: var(--teal); }
.button-light:hover { background: #83dbce; }
.button-dark { width: 100%; color: var(--white); background: var(--ink); }
.button-dark:hover { background: #21415d; }
.cta-action small { display: block; margin-top: .55rem; color: #9eb1bf; font-size: .72rem; line-height: 1.4; }

.calculator { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.5rem; padding: 1.6rem; margin: 0 0 4rem; color: var(--white); background: var(--ink-soft); border-radius: 26px; box-shadow: var(--shadow); }
.calc-copy { padding: .3rem; }
.calc-copy h2 { margin: 0; font-size: clamp(1.8rem, 3.3vw, 2.7rem); line-height: 1; letter-spacing: -.05em; }
.calc-copy > p:not(.eyebrow):not(.calc-disclaimer) { margin: 1rem 0 0; color: #c8d4dc; }
.calc-disclaimer { margin-top: 2.2rem; color: #9eb1bf; font-size: .82rem; }
.calc-form { display: grid; grid-template-columns: repeat(2,1fr); gap: .8rem; padding: 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13); border-radius: 18px; }
.calc-form label { display: flex; flex-direction: column; gap: .35rem; color: #c8d4dc; font-size: .78rem; font-weight: 700; }
.calc-form select, .calc-form input[type="number"] { width: 100%; min-height: 2.7rem; padding: .5rem .65rem; color: var(--ink); background: var(--white); border: 1px solid transparent; border-radius: 9px; outline: none; }
.calc-form select:focus, .calc-form input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(85,200,184,.2); }
.checkbox-field { flex-direction: row !important; align-items: center; justify-content: flex-start; gap: .55rem !important; min-height: 2.7rem; }
.checkbox-field input { width: 1.1rem; height: 1.1rem; accent-color: var(--teal-dark); }
.calc-result { grid-column: 1 / -1; padding: 1rem; background: #d7f1ec; border-radius: 13px; color: var(--ink); }
.calc-result .eyebrow { margin-bottom: .25rem; color: var(--teal-dark); }
.calc-result strong { display: block; font-size: 1.6rem; line-height: 1.1; letter-spacing: -.04em; }
.calc-result p { margin: .3rem 0 0; color: #526a7e; font-size: .8rem; line-height: 1.4; }
.calc-form > .button { grid-column: 1 / -1; }

.related-section { padding-top: .5rem; margin-top: 1rem; }
.related-list { display: grid; grid-template-columns: repeat(2,1fr); gap: .8rem; margin-top: 1.2rem; }
.related-list a { position: relative; display: flex; flex-direction: column; gap: .28rem; min-height: 116px; padding: 1rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
.related-list strong { max-width: 90%; font-size: .96rem; line-height: 1.3; }
.related-list a > span:last-child { position: absolute; right: 1rem; bottom: 1rem; color: var(--teal-dark); }

.site-footer { padding: 4rem 0 1.5rem; color: #c8d4dc; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .9fr; gap: 3rem; padding-bottom: 3rem; }
.site-footer .brand { margin-bottom: 1rem; }
.site-footer p { max-width: 380px; margin: 0; color: #9eb1bf; font-size: .9rem; }
.footer-disclosure { margin-top: 1.1rem !important; font-size: .76rem !important; line-height: 1.5; }
.footer-title { display: block; margin-bottom: .8rem; color: var(--teal); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) a { display: block; width: fit-content; margin: .45rem 0; color: #c8d4dc; font-size: .88rem; text-decoration: none; }
.footer-grid > div:not(:first-child) a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.12); color: #8297a7; font-size: .76rem; }
.toast { position: fixed; z-index: 30; right: 1rem; bottom: 1rem; max-width: 360px; padding: .9rem 1rem; color: var(--white); background: var(--ink); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; transform: translateY(1rem); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-nav { gap: .8rem; font-size: .83rem; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-copy h1 { max-width: 12ch; }
  .hero-image-wrap { min-height: 300px; }
  .hero-image-wrap img { min-height: 300px; }
  .card-grid { grid-template-columns: repeat(2,1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { display: none; }
  .mobile-toc { display: block; margin: 0 0 1.25rem; padding: .95rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
  .mobile-toc summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; color: var(--ink); font-size: .92rem; font-weight: 800; list-style: none; }
  .mobile-toc summary::-webkit-details-marker { display: none; }
  .mobile-toc summary span { color: var(--teal-dark); font-size: 1.1rem; transition: transform .2s; }
  .mobile-toc[open] summary span { transform: rotate(180deg); }
  .mobile-toc ol { padding-left: 1.2rem; margin: .85rem 0 .1rem; }
  .mobile-toc li + li { margin-top: .45rem; }
  .mobile-toc a { color: var(--teal-dark); font-size: .9rem; font-weight: 700; }
}

@media (max-width: 720px) {
  .container { width: min(var(--max), calc(100% - 2rem)); }
  .header-inner { min-height: 72px; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-nav { position: absolute; top: 72px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .65rem 1rem 1rem; background: var(--ink); border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 20px 30px rgba(16,37,58,.15); }
  .site-nav.open { display: flex; }
  .nav-link { padding: .72rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-cta { justify-content: center; margin-top: .8rem; }
  .hero-grid { min-height: 0; padding: 3.4rem 0 4.5rem; gap: 2.8rem; }
  .hero-copy h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
  .hero-image-wrap { box-shadow: 12px 12px 0 rgba(85,200,184,.14); }
  .choice-section, .popular-section, .process-section, .recent-section, .home-section { padding: 3.8rem 0; }
  .card-grid, .two-column, .section-intro.split, .tool-teasers, .steps, .check-list, .related-list { grid-template-columns: 1fr; }
  .popular-section h2, .recent-section h2 { max-width: none; }
  .two-column { gap: 2rem; }
  .section-intro.split { gap: .5rem; }
  .page-hero .container { padding: 1.5rem 0 3.5rem; }
  .breadcrumbs { margin-bottom: 2.8rem; }
  .page-hero h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .article-layout { padding-top: 3.3rem; padding-bottom: 3.8rem; }
  .content-section { padding-bottom: 3rem; }
  .cta-block, .calculator { grid-template-columns: 1fr; padding: 1.25rem; border-radius: 18px; }
  .cta-action { min-width: 0; }
  .calc-form { grid-template-columns: 1fr; }
  .calc-result, .calc-form > .button { grid-column: auto; }
  .table-wrap { margin-right: -1rem; margin-left: -1rem; border-right: 0; border-left: 0; border-radius: 0; }
  table { min-width: 0; }
  table thead { display: none; }
  table, table tbody, table tr, table td { display: block; width: 100%; }
  table tr { padding: .75rem 1rem; border-top: 1px solid var(--line); }
  table tr:first-child { border-top: 0; }
  table td { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: .8rem; padding: .35rem 0; border: 0; font-size: .9rem; }
  table td::before { content: attr(data-label); color: var(--muted); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: .35rem; }
}

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

/* Accessible controls and long content on narrow screens. */
:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 4px; }
.menu-toggle { min-height: 44px; min-width: 44px; }
.calc-form label, .calc-result p, .calc-disclaimer { font-size: .9rem; }
.calc-fields { display: contents; }
.calc-result, .calc-form > .button, .calc-form > noscript { grid-column: 1 / -1; }
.calc-form input { min-width: 0; }
.article-hero h1 { line-height: 1.08; letter-spacing: -.045em; }
.content-section h2 { line-height: 1.2; }
.table-wrap, table td, table th { overflow-wrap: anywhere; }
.hub-group { margin: 2.5rem 0; }
.hub-group > h2 { margin-bottom: 1.25rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

.consent-banner[hidden], .cookie-settings[hidden] { display: none; }
.consent-banner { position: fixed; z-index: 1000; bottom: 1rem; left: 1rem; right: 1rem; max-width: 1100px; margin: auto; display: flex; gap: 1.5rem; align-items: center; padding: 1.4rem; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 16px; box-shadow: 0 8px 36px #10253a40; max-height: calc(100dvh - 2rem); overflow: auto; }
.consent-banner h2 { font-size: 1.2rem; margin: 0 0 .5rem; letter-spacing: 0; }
.consent-banner p { margin: 0 0 .5rem; font-size: 1rem; }
.consent-banner a { color: var(--teal-dark); }
.consent-actions { display: flex; gap: .75rem; flex-shrink: 0; }
.consent-actions button { padding: .7rem 1rem; min-height: 44px; font: inherit; font-weight: 700; color: var(--ink); background: #e4f3f0; border: 1px solid var(--ink); border-radius: 8px; cursor: pointer; }
.cookie-settings { color: #c8d4dc; background: none; border: 0; text-decoration: underline; font: inherit; cursor: pointer; min-height: 44px; }
@media (max-width: 760px) { .consent-banner { flex-direction: column; align-items: stretch; gap: 1rem; } .consent-actions button { flex: 1; } .footer-bottom { flex-wrap: wrap; } }

/* Refined layout: focused topic navigation, readable type and consistent widths. */
.hero-copy h1 { font-size: clamp(2.8rem, 5.6vw, 4.9rem); line-height: 1.04; letter-spacing: -.045em; max-width: 12ch; }
.hero-grid { min-height: 0; padding: 3.5rem 0 4rem; }
.hero-image-wrap { aspect-ratio: 4 / 3; min-height: 0; }
.hero-image-wrap img { min-height: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-meta { font-size: .875rem; }
.choice-section .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-section .topic-card { min-height: 240px; padding: 1.8rem; }
.choice-section .topic-card h3 { font-size: 1.8rem; }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.topic-card { min-width: 0; }
.topic-card h3 { line-height: 1.25; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.85rem); line-height: 1.12; letter-spacing: -.04em; overflow-wrap: break-word; hyphens: auto; }
.page-hero .container { padding-bottom: 3rem; }
.breadcrumbs { margin-bottom: 2rem; font-size: .875rem; }
.popular-section h2, .recent-section h2 { line-height: 1.12; letter-spacing: -.04em; }
.article-row strong { padding-right: 0; }
.article-layout { padding-top: 3rem; }
.article-body > .content-section { padding-bottom: 2.75rem; }
.section-heading h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.home-faq { padding-bottom: 4rem; }
.home-faq .faq-section { max-width: 880px; margin-inline: auto; }
.check-list { grid-template-columns: 1fr; gap: .65rem; }
.section-body p { max-width: 68ch; }
.hub-content { padding-top: 2.5rem; }
.topic-jumps { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 2.5rem; }
.topic-jumps a { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; min-height: 44px; padding: .65rem 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 700; }
.topic-jumps a:hover { border-color: var(--teal-dark); }
.topic-jumps span, .group-heading > span { color: var(--muted); font-size: .875rem; font-weight: 400; white-space: nowrap; }
.hub-group { margin: 0 0 3rem; scroll-margin-top: 1.5rem; }
.group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
.group-heading h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.25; letter-spacing: -.025em; margin: 0; }
.hub-group .compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compact .topic-card { min-height: 0; padding: 1.2rem 1.35rem; box-shadow: none; }
.compact .topic-card h3 { font-size: 1.15rem; }
.compact .card-action { padding-top: .9rem; }
.hub-copy { margin-top: 3rem; }
.calculator { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 1.5rem; margin-bottom: 3rem; }
.calc-copy h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; letter-spacing: -.025em; }
.calc-copy > p { max-width: 68ch; }
.calc-form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1.15rem; }
.calc-form input[type="number"] { min-height: 48px; }
.calc-method { margin-top: 1rem; color: #c8d4dc; font-size: .9rem; }
.calc-method summary { cursor: pointer; font-weight: 700; padding: .35rem 0; }
.calc-method .calc-disclaimer { margin: .6rem 0 0; }
.calc-result strong { font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.25; }
.cta-block { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.cta-action { min-width: 0; }
.cta-action .button { width: fit-content; max-width: 100%; }
.cta-action small { max-width: 65ch; font-size: .875rem; }
caption, th, .aside-note p, .aside-note strong, .aside-card a, .footer-disclosure, .footer-title { font-size: .875rem !important; }
th { text-transform: none; letter-spacing: 0; }
.author-row span { font-size: .875rem; }
.site-header :focus-visible, .hero-home :focus-visible, .page-hero :focus-visible, .calculator :focus-visible, .site-footer :focus-visible { outline-color: var(--teal); }
.consent-banner { gap: 1rem; padding: 1.15rem 1.3rem; border-width: 1px; }
.consent-banner p { font-size: .9375rem; line-height: 1.5; }
@media (min-width: 721px) and (max-width: 1040px) {
 .header-inner { min-height: 72px; }
 .menu-toggle { display: block; margin-left: auto; }
 .site-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .65rem 1.5rem 1rem; background: var(--ink); border-top: 1px solid #ffffff20; }
 .site-nav.open { display: flex; }
 .nav-link { padding: .75rem 0; border-bottom: 1px solid #ffffff20; font-size: 1rem; }
 .nav-cta { justify-content: center; margin-top: .8rem; }
}
@media (max-width: 980px) {
 .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
 .hero-copy { max-width: 680px; }
 .hero-copy h1 { max-width: 14ch; }
 .hero-image-wrap { aspect-ratio: 16 / 9; }
 .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
 .hero-grid { padding: 2.5rem 0 3rem; }
 .hero-copy h1 { font-size: clamp(2.5rem, 10vw, 3.7rem); }
 .page-hero h1 { font-size: clamp(2rem, 7.6vw, 3rem); }
 .choice-section .card-grid, .card-grid, .hub-group .compact, .calc-form { grid-template-columns: minmax(0, 1fr); }
 .choice-section .topic-card { min-height: 0; padding: 1.5rem; }
 .article-layout { padding-top: 2rem; }
 .breadcrumbs { margin-bottom: 1.5rem; }
 .calculator { padding: 1.1rem; }
 .calc-form { padding: .85rem; }
 .calc-copy h2 { font-size: 1.5rem; }
 .topic-jumps { gap: .5rem; }
 .topic-jumps a { font-size: .9rem; padding: .55rem .75rem; }
 .group-heading { flex-wrap: wrap; gap: .4rem; }
 table td { grid-template-columns: minmax(0, 1fr); gap: .15rem; padding: .6rem 0; font-size: 1rem; }
 table td::before { font-size: .875rem; text-transform: none; letter-spacing: 0; }
 .consent-banner { bottom: .5rem; left: .5rem; right: .5rem; padding: 1rem; max-height: calc(100dvh - 1rem); }
 .consent-banner h2 { font-size: 1.1rem; }
 .consent-actions { flex-wrap: wrap; }
 .consent-actions button { min-width: 0; }
}
