:root {
  color-scheme: light;
  --ink: #18283d;
  --body: #37465a;
  --muted: #536377;
  --blue: #27547c;
  --navy: #183653;
  --rule: #d7dfe8;
  --paper: #fff;
  --tint: #f2f5f9;
  --serif: Georgia, "Times New Roman", serif;
  font: 100%/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--navy); }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #37699b; outline-offset: 4px; }
.shell { width: min(100% - 56px, 1200px); margin-inline: auto; }
.skip { position: absolute; inset: 12px auto auto 12px; z-index: 2; padding: 8px 14px; background: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: none; }

.header { border-top: 3px solid var(--navy); border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.125rem; font-weight: 720; letter-spacing: -.034em; text-decoration: none; white-space: nowrap; }
.wordmark img { display: block; flex: none; }
.wordmark-secondary { color: #496884; font-weight: 550; }
.header nav, .footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0 20px; }
.header nav a, .footer nav a { display: inline-block; color: var(--body); padding-block: 8px; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.header nav a:hover, .header nav a[aria-current] { color: var(--blue); box-shadow: inset 0 -2px var(--blue); }

.hero { background: var(--tint); border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(245px, 1fr); gap: clamp(34px, 7vw, 96px); align-items: center; padding-block: clamp(42px, 5vw, 66px); }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; color: var(--blue); font-size: .875rem; font-weight: 700; }
.reviewed { color: var(--muted); font-weight: 450; }
.reviewed::before { content: ""; display: inline-block; width: 13px; height: 1px; margin: 0 10px 4px 0; background: #9baabd; }
h1, h2, p { margin-block-start: 0; }
h1 { max-width: 16ch; margin-block: 12px 16px; font: 500 clamp(2.65rem, 5.3vw, 4.65rem)/1.045 var(--serif); letter-spacing: -.047em; }
.intro { color: var(--body); max-width: 55ch; margin: 0; font-size: clamp(1rem, 1.65vw, 1.1875rem); line-height: 1.55; }
.hero-action { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-block-start: 23px; }
.hero-action span { color: var(--muted); font-size: .875rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 9px 18px; border: 1px solid var(--navy); border-radius: 5px; background: var(--navy); color: #fff; font-size: .9375rem; font-weight: 680; line-height: 1.3; text-decoration: none; text-align: center; white-space: nowrap; }
.button:hover { background: #244d73; color: #fff; }
.button-secondary { border-color: #acbccd; background: #fff; color: var(--navy); }
.button-secondary:hover { background: var(--tint); color: var(--navy); }
.facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; margin: 19px 0 0; padding: 0; list-style: none; }
.facts li { padding: 1px 8px; border: 1px solid #cbd5e1; border-radius: 4px; background: #f9fbfd; color: #495c73; font-size: .875rem; }
.contents { display: block; border-left: 1px solid #becbda; padding-left: clamp(16px, 2.4vw, 30px); }
.contents p { margin: 0 0 6px; color: var(--ink); font-size: .9375rem; font-weight: 680; }
.contents ul { margin: 0; padding: 0; list-style: none; }
.contents a { display: block; padding-block: 8px; color: var(--body); font-size: .9375rem; text-decoration: none; line-height: 1.4; }
.contents li + li { border-top: 1px solid var(--rule); }
.contents a:hover { color: var(--blue); text-decoration: underline; }

.reading-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(238px, 286px); gap: clamp(32px, 6vw, 82px); padding-top: clamp(28px, 4vw, 52px); }
.reading { min-width: 0; }
.section { margin-bottom: 31px; scroll-margin-top: 16px; }
.section h2, .bottom h2, .missing h1 { font-family: var(--serif); }
.section h2, .bottom h2 { font-size: clamp(1.625rem, 2.6vw, 2.375rem); font-weight: 500; line-height: 1.16; letter-spacing: -.034em; margin-bottom: 13px; text-wrap: balance; }
.section p, .section li { color: var(--body); }
.section p:last-child, .section ul:last-child, .section ol:last-child { margin-bottom: 0; }
.section ol, .section ul { padding-inline-start: 1.4em; }
.section li + li { margin-top: 8px; }
.forum-case + .forum-case { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); }
.forum-case h3 { margin: 0 0 7px; font-size: 1.0625rem; font-weight: 680; line-height: 1.4; }
.forum-quote { margin: 0 0 9px; padding: 7px 12px; border-left: 2px solid #acbccd; background: var(--tint); }
.forum-quote blockquote { margin: 0; }
.forum-quote figcaption { margin-top: 4px; font-size: .875rem; }
.table-wrap { overflow-x: auto; border-block: 1px solid #bdcad8; margin-bottom: 14px; }
.table-wrap:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 11px 13px; vertical-align: top; overflow-wrap: anywhere; }
th { font-weight: 670; }
thead { background: var(--tint); }
tbody tr:nth-child(even) { background: #f8fafc; }
tbody th, tbody td { border-top: 1px solid var(--rule); }
tbody td { color: var(--body); }
.action-strip { margin-block: -12px 26px; }
.action-strip .button { min-height: 40px; padding-inline: 13px; font-size: .875rem; }
.sidebar { display: flex; flex-direction: column; gap: 21px; }
.sidebar-group { border-top: 1px solid #aabace; padding-block: 12px 0; }
.sidebar h2 { margin-bottom: 6px; font-size: 1rem; line-height: 1.4; font-weight: 700; }
.sidebar ul { margin: 0; padding: 0; list-style: none; }
.sidebar li + li { border-top: 1px solid var(--rule); }
.sidebar a { display: block; padding-block: 8px; font-size: .9375rem; }
.guide-list a { text-decoration: none; color: var(--body); }
.guide-list a:hover { color: var(--blue); text-decoration: underline; }
.faq details { border-block-start: 1px solid var(--rule); }
.faq details:last-of-type { border-block-end: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 10px 2px; font-weight: 620; }
.faq details p:last-child { margin: 0 0 13px 19px; }
.faq .faq-source { margin: 12px 0 0; font-size: .875rem; }
.calculator { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; background: var(--tint); border: 1px solid var(--rule); border-radius: 6px; padding: 14px; margin-bottom: 13px; }
.calculator label, .calc-result span { display: block; font-size: .875rem; margin-bottom: 5px; }
.calculator input, .calculator select { width: 100%; padding: 7px; min-height: 42px; background: var(--paper); color: var(--ink); border: 1px solid #a4b4c6; border-radius: 4px; }
.calculator select { appearance: none; padding-right: 25px; background-image: linear-gradient(45deg, transparent 50%, var(--blue) 50%), linear-gradient(135deg, var(--blue) 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.calc-result { border-top: 1px solid var(--rule); padding-top: 9px; }
.calc-result output { display: block; color: var(--navy); font-weight: 700; font-size: clamp(1rem, 2.1vw, 1.45rem); line-height: 1.5; overflow-wrap: anywhere; }
.calculator noscript { grid-column: 1 / -1; }
.bottom-wrap { margin-block: 18px 42px; }
.bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; border-block: 1px solid #becbda; background: var(--tint); padding: clamp(18px, 3vw, 30px); }
.bottom h2 { margin-bottom: 5px; }
.bottom p { color: var(--body); margin: 0; }

.footer { background: #192b41; color: #dce5ef; padding-block: 25px 33px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 25px; padding-bottom: 18px; }
.footer .wordmark, .footer .wordmark-secondary { color: #f2f6fa; }
.footer nav a, .footer a { color: #e4edf7; }
.footer nav a:hover, .footer nav a[aria-current] { text-decoration: underline; }
.disclosures { border-top: 1px solid #536479; padding-top: 16px; }
.disclosures h2 { font-size: .9375rem; font-weight: 700; margin-bottom: 5px; }
.disclosures p { max-width: 84ch; font-size: .875rem; margin-bottom: 6px; }
.disclosures p:last-child { margin-bottom: 0; }
.missing { padding-block: 55px; }

@media (max-width: 840px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: 4px; padding-block: 11px 6px; }
  .header nav, .footer nav { gap: 0 15px; }
  .header nav a { font-size: .875rem; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; padding-block: 25px 20px; }
  h1 { font-size: clamp(2.45rem, 9vw, 3.65rem); margin-block: 9px 11px; }
  .hero-action, .facts { margin-block-start: 14px; }
  .contents { border-left: 0; border-top: 1px solid #c5d1de; padding: 9px 0 0; }
  .contents p { margin-bottom: 0; }
  .contents a { padding-block: 5px; }
  .reading-grid { grid-template-columns: 1fr; gap: 12px; }
  .sidebar { margin-bottom: 15px; }
  .bottom { align-items: flex-start; flex-direction: column; }
  .calculator { padding: 10px; gap: 8px; }
}
@media (max-width: 430px) {
  td, th { padding-inline: 8px; }
  .header nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 0 8px; }
  .header nav a { justify-self: start; padding-block: 5px; }
  .calculator label { min-block-size: 2.6em; line-height: 1.3; }
}
