/* Approved editorial visual layer. Foundation owns behavior, print and ad policy. */
@media screen {
  :root, body.home-page {
    --ink: #202e29; --muted: #59665f; --paper: #f7f6f1;
    --panel: #ffffff; --line: #d9e0d8; --brand: #193e34;
    --brand-hover: #2b5546; --brand-soft: #eaf0e8;
    --accent: #35634e; --accent-hover: #234b39; --accent-soft: #eaf0e8;
    --control-line: #829387; --focus: #236780;
    --shadow: none; --editorial-heading: Georgia, 'Times New Roman', serif;
    background: var(--paper);
  }
  body { line-height: 1.65; }
  h1, h2, h3 { text-wrap: pretty; }
  .hero h1, .topic-hero h1, .plain-hero h1, .tool-hero h1,
  .article-header h1, .section h2, .prose h2, .prose h3,
  .article-card h3, .topic-tile h3, .home-review-band h2,
  .article-quick-answer h2 { font-family: var(--editorial-heading); font-weight: 400; letter-spacing: -.025em; }
  .site-header { min-height: 86px; flex-direction: row; align-items: center; position: relative; gap: 24px; }
  .brand { min-width: 0; gap: 12px; }
  .brand > span:last-child { min-width: 0; }
  .brand strong { font-size: 18px; letter-spacing: -.5px; }
  .brand small { max-width: 330px; font-size: 11px; line-height: 1.5; }
  .brand-mark { border-radius: 3px; background: transparent; color: var(--brand); border: 1px solid var(--brand); width: 36px; height: 38px; flex: 0 0 auto; }
  .site-menu { border: 0; padding: 0; background: transparent; margin: 0; flex: 0 0 auto; }
  .site-menu > summary { display: none; }
  .main-nav { gap: 4px; flex-wrap: wrap; font-size: 13px; }
  .main-nav a { padding: 8px 10px; border-radius: 3px; }
  .main-nav a:hover { color: var(--brand); background: var(--brand-soft); }
  .eyebrow, .kicker { color: #4d6b57; font-size: 11px; font-weight: 650; letter-spacing: .12em; line-height: 1.6; }
  .button { border-radius: 4px; font-size: 14px; font-weight: 600; padding: 11px 17px; }
  .hero { gap: 58px; padding: 44px 0 36px; }
  .hero h1 { font-size: clamp(40px, 4.4vw, 57px); line-height: 1.08; max-width: 600px; }
  .hero p { font-size: 17px; line-height: 1.75; max-width: 480px; }
  .home-page .hero img { border-radius: 4px; box-shadow: none; aspect-ratio: 5/3; }
  .hero-actions { gap: 12px; margin-top: 23px; }
  .hero-actions .button:not(.primary) { border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: 5px; }
  .section { padding: 42px 0; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-heading .eyebrow { display: block; margin-bottom: 9px; }
  .section h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.2; }
  .home-page .home-topic-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border: 1px solid var(--line); border-radius: 4px; background: #fcfcf9; }
  .home-topic-card { border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; padding: 25px 22px; box-shadow: none; gap: 12px; transform: none !important; }
  .home-topic-card:last-child { border-right: 0; }
  .home-topic-card h3 { font-size: 24px; line-height: 1.2; }
  .home-topic-card p { font-size: 14px; line-height: 1.75; }
  .home-topic-card .topic-icon { width: 30px; height: 32px; padding: 0; border-radius: 0; background: transparent; color: var(--brand); }
  .home-topic-card .button { font-size: 12px; color: var(--brand); }
  .home-topic-count { font-size: 12px; font-weight: 500; }
  .home-proof-strip { background: transparent; color: var(--ink); border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 7px 0; gap: 0; }
  /* The foundation strip paints each link brand-green; this light layer must reset it. */
  .home-proof-strip a { color: var(--ink); background: transparent; border: 0; padding: 10px 16px; gap: 7px; flex-direction: row; justify-content: center; }
  .home-proof-strip strong { font-size: 18px; color: var(--brand); }
  .home-proof-strip span, .home-proof-strip a:hover span { color: var(--muted); font-size: 12px; }
  .home-proof-strip a:hover { background: var(--brand-soft); }
  .home-page .home-guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 42px; }
  .home-guide-card { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 25px 0; background: transparent; box-shadow: none; transform: none !important; }
  .home-guide-card h3 { font-size: 26px; line-height: 1.25; }
  .home-guide-card p { font-size: 15px; line-height: 1.75; }
  .home-guide-card .kicker { color: var(--muted); font-size: 10px; }
  .home-guide-actions { gap: 20px; }
  .home-guide-actions .button { flex: 0 1 auto; border: 0; padding: 8px 0; background: transparent; color: var(--brand); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
  .home-guide-actions .button:hover { background: transparent; color: var(--brand-hover); }
  .home-review-band { border: 0; border-radius: 4px; padding: 30px; box-shadow: none; background: var(--brand-soft); }
  .home-review-band p { font-size: 15px; line-height: 1.8; }
  .topic-hero, .hub-page .topic-hero, .plain-hero { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 25px 0 30px; margin-top: 20px; }
  .topic-hero h1, .plain-hero h1, .tool-page .tool-hero h1 { font-size: clamp(34px, 4vw, 49px); line-height: 1.12; max-width: 800px; }
  .topic-hero p, .plain-hero p, .tool-hero p { font-size: 17px; line-height: 1.8; }
  .hub-page .article-card { padding: 24px 0; border-top-width: 1px; }
  .hub-page .article-card h3 { font-size: 25px; }
  .hub-page .article-card p { font-size: 15px; line-height: 1.75; }
  .hub-tool-entry a { background: var(--brand-soft); border-radius: 3px; }
  .hub-tool-entry strong { font-family: var(--editorial-heading); font-weight: 400; font-size: 25px; }
  .article-shell { padding-top: 24px; }
  .article-header { max-width: 820px; }
  .article-header h1 { font-size: clamp(34px, 4vw, 49px); line-height: 1.15; }
  .article-header p { line-height: 1.8; font-size: 18px; }
  .byline { border-top: 1px solid var(--line); padding-top: 12px; gap: 14px; align-items: center; }
  .byline span { border: 0; border-radius: 0; padding: 0; background: transparent; font-size: 12px; }
  .byline a { font-size: 12px; }
  .article-body { grid-template-columns: minmax(0,1fr) 300px; gap: 52px; }
  .article-quick-answer { border: 0; border-left: 3px solid #72927a; border-radius: 0; padding: 24px 27px; background: var(--brand-soft); }
  .quick-answer-verdict { font-size: 18px; line-height: 1.8; }
  .quick-answer-branches { gap: 15px; }
  .quick-answer-branches > div { border: 0; border-top: 1px solid #bdcdbd; border-radius: 0; padding: 14px 0 0; background: transparent; }
  .quick-answer-actions a { font-size: 14px; border-radius: 3px; border-color: #9caf9f; }
  .article-toc { border-radius: 0; background: transparent; border: 0; border-top: 2px solid var(--brand); padding: 16px 0; }
  .article-toc summary { font-size: 14px; }
  .article-toc a { font-size: 14px; }
  .article-featured-image img, .article-inline-media img { border-radius: 4px; }
  .prose p, .prose li { font-size: 18px; line-height: 1.85; color: #35473b; }
  .prose h2 { font-size: 31px; line-height: 1.25; margin-top: 38px; }
  .prose h3 { font-size: 25px; line-height: 1.3; }
  .decision-table-scroll, .reference-table-wrap { border-radius: 3px; }
  table.decision-table { font-size: 15px; line-height: 1.7; }
  table.decision-table th { background: var(--brand-soft); }
  table.decision-table tbody th { background: #f1f4ee; }
  table.decision-table td, table.decision-table th { padding: 17px; }
  .trust-panel { border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 18px 0; box-shadow: none; }
  .trust-panel > summary { font-weight: 500; }
  .article-related-guides .article-card { border: 0; border-top: 1px solid var(--line); background: transparent; border-radius: 0; padding: 22px 0; }
  .article-card, .tool-card, .tool-callout-card, .download-resource-card, .contact-guidance, .trust-grid article { border-radius: 4px; box-shadow: none; }
  .tool-page .tool-grid { gap: 30px; }
  .calculator { padding: 26px; border-radius: 4px; gap: 16px; }
  .calculator label { font-size: 15px; font-weight: 600; }
  .calculator input, .calculator select { border-radius: 3px; font-size: 16px; min-height: 48px; padding: 11px 12px; }
  .calculator small { font-weight: 400; line-height: 1.6; }
  .calculator input[type="checkbox"], .calculator input[type="radio"] { min-height: 18px; width: 18px; padding: 0; }
  .result-panel { background: var(--brand-soft); border-radius: 4px; box-shadow: none; }
  .result-panel > strong { font-family: var(--editorial-heading); font-weight: 400; }
  .tool-callout-card { background: var(--brand); }
  .site-footer { font-size: 13px; padding-top: 30px; gap: 32px; }
  .site-footer p { max-width: 620px; line-height: 1.8; }
  .footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
  a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
}
@media screen and (max-width: 1000px) {
  .site-header { gap: 14px; }
  .brand small { max-width: 245px; }
  .main-nav a { font-size: 12px; padding-inline: 7px; }
  .hero { gap: 30px; }
  .article-body { grid-template-columns: minmax(0,1fr) 300px; gap: 28px; }
}
@media screen and (max-width: 900px) {
  .article-body { grid-template-columns: 1fr; }
  .home-page .home-topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-topic-card:nth-child(2) { border-right: 0; }
  .home-topic-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media screen and (max-width: 760px) {
  .site-header { min-height: 74px; flex-wrap: wrap; gap: 0; padding-block: 12px; align-items: start; }
  .brand { max-width: calc(100% - 76px); min-height: 48px; align-items: center; gap: 9px; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 10px; max-width: 255px; }
  .brand-mark { width: 29px; height: 33px; }
  .site-menu { flex: 0 0 100%; min-width: 0; }
  .site-menu > summary { display: flex; align-items: center; justify-content: center; min-height: 44px; width: 65px; position: absolute; top: 13px; right: 0; cursor: pointer; border: 1px solid var(--control-line); border-radius: 3px; font-size: 13px; list-style: none; }
  .site-menu > summary::-webkit-details-marker { display: none; }
  .site-menu[open] > summary { background: var(--brand-soft); }
  .main-nav { width: 100%; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding-top: 14px; gap: 4px; }
  .main-nav a { font-size: 14px; justify-content: flex-start; padding: 12px; border-bottom: 1px solid var(--line); white-space: normal; }
  .hero, .home-page .hero { grid-template-columns: 1fr; padding: 28px 0; gap: 26px; }
  .hero h1 { font-size: 40px; line-height: 1.09; margin-top: 14px; }
  .hero p { font-size: 16px; line-height: 1.75; }
  .home-page .hero img { aspect-ratio: 16/9; }
  .hero-actions { gap: 9px; }
  .hero-actions .button { font-size: 13px; padding-inline: 12px; }
  .section { padding-block: 30px; }
  .section-heading { display: block; }
  .section h2 { font-size: 29px; }
  .home-page .home-topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-topic-card { padding: 20px 15px; gap: 12px; }
  .home-topic-card h3 { font-size: 22px; }
  .home-topic-card p { font-size: 14px; line-height: 1.7; }
  .home-topic-card .button { font-size: 12px; width: auto; }
  .home-topic-count { font-size: 11px; }
  .home-proof-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-proof-strip a { padding: 10px 8px; flex-wrap: wrap; }
  .home-page .home-guide-grid, .home-guide-grid.home-guide-count-2 { grid-template-columns: 1fr; gap: 0; }
  .home-guide-card { padding: 24px 0; }
  .home-guide-card h3 { font-size: 26px; }
  .home-review-band { padding: 24px; grid-template-columns: 1fr; gap: 18px; }
  .topic-hero, .hub-page .topic-hero, .plain-hero { padding: 20px 0 25px; margin-top: 10px; }
  .topic-hero h1, .plain-hero h1, .tool-page .tool-hero h1 { font-size: 36px; }
  .topic-hero p, .plain-hero p, .tool-hero p { font-size: 16px; }
  .article-header h1 { font-size: 35px; line-height: 1.16; }
  .article-header p { font-size: 16px; }
  .article-shell { padding-top: 15px; }
  .article-quick-answer { padding: 21px 19px; margin-block: 23px; }
  .quick-answer-verdict { font-size: 17px; }
  .quick-answer-branches { grid-template-columns: 1fr; }
  .prose p, .prose li { font-size: 17px; line-height: 1.85; }
  .prose h2 { font-size: 28px; }
  .prose h3 { font-size: 23px; }
  .calculator { padding: 21px; }
  .tool-page .tool-grid { gap: 22px; }
  .site-footer { gap: 18px; }
}
@media screen and (prefers-reduced-motion: reduce) {
  .home-topic-card, .home-guide-card { transition: none; }
}
