:root {
  --ink: #12202e;
  --muted: #566675;
  --navy: #081b2d;
  --blue: #174b72;
  --light-blue: #e8f0f5;
  --paper: #ffffff;
  --line: #d6dee4;
  --white: #fff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
a { color: var(--blue); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid #e3b341; outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 20; padding: .8rem 1rem; background: var(--white); }
.skip-link:focus { top: 1rem; }

.site-header { color: var(--ink); background: #fff; border-bottom: 0; }
.brand-row { width: min(1120px, calc(100% - 40px)); min-height: 72px; margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.brand { color: inherit; text-decoration: none; display: flex; align-items: center; gap: .65rem; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; font-size: 1.22rem; font-weight: 900; letter-spacing: -.08em; }
.brand strong { display: block; font-size: 1.02rem; letter-spacing: -.025em; }
.icon-button, .account-button { border: 0; color: var(--ink); background: transparent; cursor: pointer; }
.search-button { justify-self: start; display: flex; gap: 0; font-size: 1.2rem; font-weight: 800; }
.account-button { justify-self: end; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #d8dde1; border-radius: 50%; position: relative; font-size: 1.25rem; }
.account-button::after { content: ""; position: absolute; right: 3px; bottom: 3px; width: 7px; height: 7px; border-radius: 50%; background: #ef4f3f; }
.account-button small { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.memorial { min-height: 38px; padding: 0 14px; display: flex; align-items: center; gap: 12px; color: #f3f6f8; background: #06111d; border-bottom: 3px solid #16afe0; }
.memorial span { flex: 1; height: 2px; background: #168cbd; }
.memorial p { margin: 0; font-size: .72rem; font-weight: 750; letter-spacing: .02em; }
.memorial small { margin-left: .45rem; color: #aab4bd; font-size: .66rem; }
.article-actions { display: grid; grid-template-columns: repeat(4, minmax(130px, 182px)); justify-content: center; border-bottom: 1px solid #dce1e4; box-shadow: 0 6px 16px rgba(8,27,45,.05); }
.article-actions button { min-height: 72px; border: 0; border-right: 1px solid #dce1e4; color: #4a5965; background: #fff; font-size: .78rem; font-weight: 700; cursor: pointer; }
.article-actions button:first-child { border-left: 1px solid #dce1e4; }
.article-actions button span { margin-right: .55rem; color: #647683; font-size: 1.05rem; }

.article-header { width: min(1120px, calc(100% - 80px)); margin: 0 auto; padding: 78px 250px 38px 0; border-bottom: 2px solid #172432; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.8rem; color: #88939c; font-size: .68rem; }
.breadcrumb a { color: #75828c; text-decoration: none; }
.article-kicker { display: flex; align-items: center; gap: .55rem; color: #1677a4; font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.article-kicker span { width: 16px; height: 2px; background: #1677a4; }
h1 { margin: 1.3rem 0 1.35rem; max-width: 880px; font-family: var(--sans); font-size: clamp(2.9rem, 5.1vw, 4.25rem); font-weight: 760; line-height: 1.04; letter-spacing: -.05em; }
.standfirst { max-width: 850px; margin: 0; color: #4d5b67; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.4; }
.byline { display: flex; align-items: center; gap: .7rem; margin-top: 2.2rem; color: var(--muted); font-size: .72rem; }
.author-avatar { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #d9dfe3; border-radius: 50%; color: #8a98a3; font-size: 1rem; }
.author-details { display: grid; line-height: 1.25; }
.author-details small { color: #8c98a1; font-size: .55rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.author-details strong { color: var(--ink); font-size: .76rem; }
.author-details span { color: #89959e; font-size: .63rem; }

.hero { width: min(1120px, calc(100% - 80px)); margin: 38px auto 52px; padding-right: 250px; background: transparent; }
.hero img { width: 100%; max-height: 580px; display: block; border-radius: 6px; object-fit: cover; }
figcaption { padding: .8rem 1rem 1rem; color: #62717d; font-size: .76rem; line-height: 1.5; }
.hero figcaption { padding-inline: 0; color: #667681; }
figcaption em { color: inherit; }

.article-grid { width: min(1120px, calc(100% - 80px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 830px) 210px; grid-template-areas: "body contents"; gap: 80px; align-items: start; }
.contents { grid-area: contents; position: sticky; top: 24px; display: grid; gap: .75rem; padding: .3rem 0 0 1.1rem; border-left: 1px solid #dde2e5; font-size: .72rem; }
.contents > span { margin: -2rem 0 .5rem -1.1rem; color: #677782; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.contents a { color: var(--muted); text-decoration: none; line-height: 1.3; }
.contents a:hover { color: var(--blue); }

.article-body { grid-area: body; min-width: 0; max-width: 830px; font-family: var(--serif); font-size: 1.08rem; line-height: 1.78; }
.article-body p { margin: 0 0 1.5rem; }
.article-body .lead { font-size: 1.35rem; line-height: 1.62; }
.article-body h2 { margin: 4rem 0 1.2rem; font-family: var(--sans); font-size: clamp(1.75rem, 3.5vw, 2.6rem); line-height: 1.12; letter-spacing: -.035em; }
.article-body sup a { text-decoration: none; font-family: var(--sans); font-weight: 700; }
.article-body ul { margin: 0 0 2rem; padding-left: 1.2rem; }
.article-body li { margin-bottom: .65rem; padding-left: .35rem; }

.listen-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .85rem; margin: 0 0 1.5rem; padding: .8rem 1rem; border: 1px solid #e0e5e8; border-radius: 6px; font-family: var(--sans); }
.listen-icon { width: 32px; height: 32px; display: grid; place-items: center; color: #186f99; background: #edf6fa; border-radius: 50%; }
.listen-card strong, .listen-card small { display: block; }
.listen-card strong { font-size: .75rem; }
.listen-card small { color: #84919a; font-size: .65rem; }
.listen-card button { padding: .55rem .9rem; border: 1px solid #b8c7d0; border-radius: 4px; color: #31566e; background: #fff; font-size: .7rem; font-weight: 700; }

.takeaways { margin: 0 0 3rem; padding: 1.6rem 1.8rem; background: #f4f7f8; border-top: 3px solid #122b3c; font-family: var(--sans); }
.takeaways h2 { margin: 0 0 1.2rem; font-size: 1rem; letter-spacing: -.01em; }
.takeaways ol { margin: 0; padding: 0; list-style: none; }
.takeaways li { margin: 0; padding: 1.1rem 0; border-top: 1px solid #d8e0e4; }
.takeaways li:first-child { border-top: 0; padding-top: 0; }
.takeaways p { margin: .45rem 0; font-family: var(--serif); font-size: .91rem; line-height: 1.55; }
.takeaway-label { display: inline-block; padding: .18rem .45rem; color: #fff; background: #176d95; font-size: .59rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.takeaway-label.understanding { background: #584b82; }
.takeaway-label.options-label { background: #8a5b22; }
.takeaway-label.next-label { background: #356b4a; }
.takeaways .basis { color: #61717b; font-family: var(--sans); font-size: .68rem; line-height: 1.5; }
.source-chip { display: inline-block; margin-top: .3rem; padding: .35rem .55rem; border: 1px solid #cbd7dd; border-radius: 3px; color: #2a6686; background: #fff; font-size: .63rem; line-height: 1.3; text-decoration: none; }
.conclusion > span { display: block; margin-bottom: .55rem; color: #9ec1d7; font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.evidence-card { margin: 2.3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--sans); }
.evidence-card div { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.evidence-card div:last-child { border-bottom: 0; }
.evidence-card span { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.evidence-card strong { font-size: .92rem; line-height: 1.45; }

blockquote { margin: 2.4rem 0; padding: .3rem 0 .3rem 1.8rem; border-left: 4px solid var(--blue); color: #1f4058; }
blockquote p { margin: 0 !important; font-size: 1.5rem; line-height: 1.48; }

.comparison-table { margin: 2.5rem calc(50% - 50vw); padding: 0 max(20px, calc((100vw - 960px) / 2)); overflow-x: auto; background: #eef2f4; font-family: var(--sans); }
table { width: 100%; margin: 2rem 0; border-collapse: collapse; font-size: .83rem; line-height: 1.45; }
th, td { padding: .9rem 1rem; border-bottom: 1px solid #c9d3d9; text-align: left; vertical-align: top; }
thead th { color: var(--white); background: var(--navy); }
tbody th { width: 18%; color: var(--blue); }

.inline-image { margin: 3rem 0; background: #edf1f3; }
.inline-image img { width: 100%; display: block; }

.options { display: grid; gap: 1rem; margin: 2rem 0 2.5rem; font-family: var(--sans); }
.options section { padding: 1.25rem 1.4rem; border: 1px solid var(--line); background: var(--white); }
.options span { color: var(--blue); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.options p { margin: .45rem 0 0; font-size: .92rem; line-height: 1.55; }

.numbered { list-style: none; margin: 2rem 0 3rem !important; padding: 0 !important; border-top: 1px solid var(--line); font-family: var(--sans); }
.numbered li { display: grid; grid-template-columns: 48px 1fr; gap: .75rem; margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; line-height: 1.45; }
.numbered span { color: var(--blue); font-weight: 800; }

.conclusion { margin: 3rem 0; padding: 2rem; color: var(--white); background: var(--navy); }
.conclusion > span { color: #9ec1d7; }
.conclusion p:last-child { margin-bottom: 0; }

.references { margin: 5rem 0 6rem; padding-top: 1.4rem; border-top: 3px solid var(--ink); font-family: var(--sans); }
.references h2 { margin: 0 0 1.4rem; font-size: 1.7rem; }
.references ol { padding-left: 1.5rem; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.references li { margin-bottom: .8rem; }

footer { display: flex; justify-content: space-between; gap: 2rem; padding: 3rem max(20px, calc((100% - 1120px) / 2)); color: #cad7df; background: var(--navy); font-size: .8rem; }
footer strong, footer span { display: block; }
footer span { margin-top: .3rem; color: #8eabbc; }
footer p { max-width: 390px; margin: 0; text-align: right; }

@media (max-width: 840px) {
  .article-actions { grid-template-columns: repeat(4, 1fr); }
  .article-actions button { min-height: 58px; }
  .article-header { padding: 48px 0 32px; }
  .hero { padding-right: 0; }
  .article-grid { display: block; }
  .contents { position: static; margin-bottom: 2.5rem; grid-template-columns: repeat(2, 1fr); }
  .contents span { grid-column: 1 / -1; }
  .comparison-table { margin-inline: -20px; padding-inline: 20px; }
}

@media (max-width: 560px) {
  .brand-row, .article-header, .article-grid, .hero { width: min(100% - 28px, 1120px); }
  .brand strong { font-size: .82rem; }
  .brand-mark { width: 37px; height: 37px; font-size: 1rem; }
  .memorial p { text-align: center; }
  .memorial small { display: block; margin: .15rem 0 0; }
  .article-actions button { font-size: 0; }
  .article-actions button span { margin: 0; font-size: 1.1rem; }
  h1 { font-size: 2.75rem; }
  .hero { margin-bottom: 42px; }
  .byline span + span::before { display: none; }
  .evidence-card div { grid-template-columns: 1fr; gap: .3rem; }
  blockquote p { font-size: 1.3rem; }
  footer { display: block; }
  footer p { margin-top: 1.2rem; text-align: left; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
