/* Static article + landing pages.
   Reuses the tokens and components from style.css (header, footer, buttons,
   eyebrow, text-link, faq-list, container) and adds only what article pages need.
   Real HTML on every page: no archive fetch, no JS required to read content. */

.page-article { background: #fff; font-size: 17px; }
/* style.css sizes the header/footer for the homepage via .new-home-scoped
   rules in readability.css; article pages get their own baseline here. */
.page-article .desktop-nav { font-size: 14px; }
.page-article .header-check { font-size: 14px; min-height: 46px; }
.page-article .mobile-navigation a { font-size: 16px; }
.page-article .footer-links a,
.page-article .footer-brand p,
.page-article .footer-bottom { font-size: 15px; }
.page-article .footer-links h3 { font-size: 14px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-block: 20px 0; font-size: 13px; color: #6d7a80; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.breadcrumbs li { display: flex; align-items: center; gap: 7px; }
.breadcrumbs li + li::before { content: '/'; color: #b3bcbe; }
.breadcrumbs a { text-decoration: underline; text-decoration-color: #cbd2d0; text-underline-offset: 3px; }
.breadcrumbs a:hover { color: #bd4b27; }
.breadcrumbs [aria-current='page'] { color: #3c5157; font-weight: 600; }

/* ---------- Article hero ---------- */
.page-hero { padding-block: 26px 40px; border-bottom: 1px solid #eaebe6; }
.page-hero .eyebrow { color: #6f7d82; margin-bottom: 16px; display: block; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -2px; line-height: 1.14; font-weight: 600; max-width: 880px; }
.page-hero .page-lead { margin-top: 20px; font-size: 19px; line-height: 1.72; color: #4f636c; max-width: 760px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; font-size: 13px; color: #6d7a80; align-items: center; }
.page-meta .meta-item { display: inline-flex; align-items: center; gap: 7px; }
.page-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: #9fb0b3; }

/* ---------- Direct answer block (GEO) ---------- */
.answer-box { margin-top: 30px; background: #f7f6f1; border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; padding: 24px 28px; }
.answer-box p { margin: 0; font-size: 17px; line-height: 1.75; color: #2c444d; }
.answer-box p + p { margin-top: 12px; }
.answer-box strong { color: #172d37; }
.answer-label { display: block; font-size: 11px; letter-spacing: 1.4px; font-weight: 750; text-transform: uppercase; color: #8a6b5c; margin-bottom: 10px; }

/* ---------- Layout ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 58px; padding-block: 52px 72px; align-items: start; }
.article-body { min-width: 0; }
.article-body > * + * { margin-top: 22px; }
.article-body h2 { font-size: clamp(24px, 2.6vw, 31px); letter-spacing: -0.9px; line-height: 1.26; margin-top: 42px; scroll-margin-top: 100px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 20px; letter-spacing: -0.4px; margin-top: 30px; scroll-margin-top: 100px; }
.article-body p { font-size: 17px; line-height: 1.82; color: #34454d; }
.article-body ul, .article-body ol { font-size: 17px; line-height: 1.8; color: #34454d; padding-left: 22px; margin: 0; }
.article-body li + li { margin-top: 9px; }
.article-body a:not(.button) { color: #a8461f; text-decoration: underline; text-decoration-color: #e0c3b5; text-underline-offset: 3px; font-weight: 550; }
.article-body a:not(.button):hover { color: #7f3416; text-decoration-color: #a8461f; }
.article-body strong { color: #172d37; }
.article-body blockquote { margin: 0; padding: 4px 0 4px 22px; border-left: 2px solid #d9ddd6; color: #4a5d66; font-size: 17px; line-height: 1.8; }

/* ---------- Fact list ---------- */
.key-facts { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid #e6e8e3; }
.key-facts li { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 18px; padding: 15px 0; border-bottom: 1px solid #e6e8e3; font-size: 16px; line-height: 1.7; }
.key-facts dt, .key-facts .fact-key { font-weight: 700; color: #172d37; font-size: 14px; letter-spacing: 0.2px; padding-top: 2px; }
.key-facts .fact-value { color: #34454d; }

/* ---------- Amount table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid #e4e7e1; border-radius: 12px; }
table.amounts { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 460px; }
table.amounts caption { caption-side: top; text-align: left; font-size: 13px; color: #6d7a80; padding: 12px 16px; background: #fafaf7; border-bottom: 1px solid #e4e7e1; }
table.amounts th, table.amounts td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #eef0ea; vertical-align: top; }
table.amounts thead th { background: #f4f5f0; font-size: 12px; letter-spacing: 1.1px; text-transform: uppercase; color: #5d6f76; font-weight: 750; }
table.amounts tbody tr:last-child td { border-bottom: 0; }
table.amounts td.amount { font-family: var(--heading); font-weight: 700; font-size: 20px; color: #172d37; white-space: nowrap; }

/* ---------- Callouts ---------- */
.callout { border: 1px solid #e4e7e1; border-radius: 12px; padding: 20px 24px; background: #fafaf7; }
.callout h3, .callout h4 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.2px; }
.callout p { margin: 0; font-size: 16px; line-height: 1.75; }
.callout.warn { background: #fdf6f2; border-color: #f0d9cd; }
.callout p + p { margin-top: 10px; }

/* ---------- Sources ---------- */
.source-list { list-style: none; padding: 0; font-size: 15px; line-height: 1.7; }
.source-list li { padding: 11px 0; border-bottom: 1px solid #eef0ea; display: flex; gap: 10px; }
.source-list li:last-child { border-bottom: 0; }
.source-list .src-name { font-weight: 650; color: #172d37; }

/* ---------- Sidebar ---------- */
.article-aside { position: sticky; top: 108px; display: grid; gap: 20px; }
.aside-card { border: 1px solid #e4e7e1; border-radius: 14px; padding: 24px; background: #fff; }
.aside-card.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.aside-card h2, .aside-card h3 { font-size: 17px; margin: 0 0 10px; letter-spacing: -0.3px; }
.aside-card p { font-size: 15px; line-height: 1.7; color: #5c6e75; margin: 0 0 16px; }
.aside-card.dark p { color: #b8c8ce; }
.aside-card .button { width: 100%; }
.aside-card .aside-note { font-size: 13px; color: #7b888e; line-height: 1.6; margin: 12px 0 0; }
.aside-card.dark .aside-note { color: #9fb4bc; }
.toc { list-style: none; padding: 0; margin: 0; font-size: 15px; line-height: 1.5; }
.toc li + li { margin-top: 10px; }
.toc a { color: #3e545c; text-decoration: none; display: block; padding-left: 12px; border-left: 2px solid #e6e8e3; }
.toc a:hover { border-left-color: var(--orange); color: #a8461f; }

/* ---------- Related ---------- */
.related { padding-block: 8px 76px; }
.related h2 { font-size: 24px; letter-spacing: -0.7px; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related-card { display: block; border: 1px solid #e4e7e1; border-radius: 12px; padding: 22px; background: #fff; transition: border-color .18s, transform .18s; }
.related-card:hover { border-color: #c9d1cd; transform: translateY(-2px); }
.related-card h3 { font-size: 17px; margin: 0 0 8px; letter-spacing: -0.3px; }
.related-card p { font-size: 15px; line-height: 1.65; color: #61737a; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; padding-block: 56px; }
.cta-band .cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -1px; line-height: 1.24; margin: 0 0 10px; color: #fff; }
.cta-band p { margin: 0; color: #b6c7cd; font-size: 16px; line-height: 1.7; max-width: 560px; }
.cta-band .eyebrow { color: #9db4bb; margin-bottom: 12px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .button-ghost { background: transparent; color: #fff; border: 1px solid #4a6470; }
.cta-band .button-ghost:hover { background: #223c47; }

/* ---------- Simple legal pages ---------- */
.legal-body { max-width: 780px; padding-block: 48px 76px; }
.legal-body h2 { font-size: 24px; margin-top: 36px; letter-spacing: -0.6px; }
.legal-body p, .legal-body li { font-size: 17px; line-height: 1.8; color: #34454d; }
.legal-body ul { padding-left: 22px; }

/* ---------- 404 ---------- */
.notfound { padding-block: 84px 96px; text-align: center; max-width: 640px; margin-inline: auto; }
.notfound .code { font-family: var(--heading); font-size: 72px; font-weight: 700; letter-spacing: -3px; color: #d5d9d3; line-height: 1; }
.notfound h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -1.4px; margin: 18px 0 14px; }
.notfound p { font-size: 17px; line-height: 1.75; color: #5b6d74; }
.notfound .cta-actions { justify-content: center; margin-top: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 38px; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .article-layout { grid-template-columns: 1fr; gap: 34px; padding-block: 38px 56px; }
  .article-aside { position: static; order: 2; }
  .key-facts li { grid-template-columns: 1fr; gap: 3px; }
  .related-grid { grid-template-columns: 1fr; }
  .page-hero .page-lead { font-size: 17px; }
  .answer-box { padding: 20px 22px; }
}
@media (max-width: 600px) {
  .page-hero { padding-block: 18px 30px; }
  .page-hero h1 { letter-spacing: -1.2px; }
  .article-body p, .article-body ul, .article-body ol { font-size: 16px; line-height: 1.78; }
  .cta-band .cta-inner { gap: 22px; }
  .cta-actions .button { width: 100%; }
  table.amounts { font-size: 15px; }
  table.amounts th, table.amounts td { padding: 12px; }
}

@media print {
  .main-header, .main-footer, .article-aside, .cta-band, .related, .breadcrumbs { display: none !important; }
  .article-layout { display: block; padding: 0; }
  .page-hero { border-bottom: 1px solid #999; }
}
