:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --ink: #18232c;
  --muted: #53616b;
  --rule: #d9dcd7;
  --dark: #12202a;
  --accent: #ff765d;
  --link: #a53722;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--link); }
a:focus-visible, button:focus-visible { outline: 3px solid #ce512f; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; text-wrap: balance; }
h1, h2 { letter-spacing: -.035em; }
.wrap { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; top: -70px; left: 15px; z-index: 4; background: white; padding: 8px 14px; }
.skip:focus { top: 10px; }
.masthead { background: var(--dark); color: #fff; }
.masthead-inner { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; gap: 12px; align-items: center; white-space: nowrap; font-size: 24px; font-weight: 750; letter-spacing: -.045em; text-decoration: none; }
.brand:hover, .masthead a:hover { color: #ff9c87; }
.mark { width: 32px; height: 32px; flex: 0 0 32px; }
.masthead nav { display: flex; gap: clamp(13px, 2.4vw, 36px); align-items: center; font-size: 14px; }
.masthead nav a { text-decoration: none; color: #e5ecee; white-space: nowrap; }
.masthead nav a[aria-current] { color: #ff9c87; }
.masthead nav .series-link { color: #ff9c87; border-left: 1px solid #40505a; padding-left: clamp(10px, 2vw, 25px); }
.hero { background: var(--dark); color: white; padding: 48px 0 56px; border-top: 1px solid #2f3e48; }
.hero-layout { display: grid; grid-template-columns: 1fr 1.03fr; align-items: center; gap: clamp(28px, 5.3vw, 85px); }
.hero h1 { font-size: clamp(44px, 6vw, 92px); margin-bottom: 23px; letter-spacing: -.07em; text-wrap: initial; }
.hero h1 em { font-style: normal; color: #ff876d; }
.hero p { color: #d1dae0; max-width: 56ch; font-size: 17px; margin-bottom: 25px; }
.hero-image { aspect-ratio: 3/2; width: 100%; object-fit: cover; border: 1px solid #46515b; border-radius: 3px; }
.cta { display: inline-block; padding: 10px 16px; border-radius: 3px; background: var(--accent); color: #18232c; text-decoration: none; font-weight: 700; }
.cta:hover { color: #18232c; background: #ff9d88; }
.topics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 34px; margin-bottom: 42px; border-block: 1px solid var(--rule); }
.topic { min-width: 0; min-height: 123px; padding: 19px 18px; border-right: 1px solid var(--rule); text-decoration: none; }
.topic:first-child { padding-left: 0; }
.topic:last-child { border-right: 0; }
.topic strong { display: block; font-size: 17px; letter-spacing: -.01em; }
.topic span { display: block; color: var(--muted); margin-top: 5px; font-size: 14px; line-height: 1.45; }
.topic b { color: var(--link); font-weight: 600; }
.section { margin-block: 42px 57px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(28px, 4vw, 43px); margin: 0; }
.section-head a { font-size: 14px; flex-shrink: 0; color: var(--link); }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px; }
.card { min-width: 0; background: #fff; border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.card a { display: block; height: 100%; text-decoration: none; }
.card .cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-copy { padding: 16px 18px 19px; }
.card-copy h3 { font-size: clamp(20px, 2vw, 25px); margin-block: 7px 9px; }
.card-copy p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.meta { font-size: 13px; color: var(--muted); }
.meta a { color: var(--link); }
.home-feature { background: #e9ede8; border: 1px solid #d1d9d4; padding: clamp(21px,4vw,43px); border-radius: 4px; }
.home-feature p { max-width: 68ch; color: var(--muted); margin-bottom: 18px; }
.links { margin: 0; padding-left: 21px; }
.links li + li { margin-top: 9px; }
.home-more { max-width: 80ch; color: var(--muted); }
.crumb { padding-top: 28px; margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; padding: 0; margin: 0; }
.crumb li + li::before { content: "/"; margin-right: 8px; color: #79848b; }
.page-intro { padding: 10px 0 21px; border-bottom: 1px solid var(--rule); margin-bottom: 28px; }
.page-intro h1, .article-head h1, .prose h1 { font-size: clamp(36px, 6vw, 65px); margin: 0 0 15px; }
.page-intro p { max-width: 70ch; color: var(--muted); font-size: 19px; margin-bottom: 4px; }
.pagination { display: flex; align-items: center; gap: 8px; margin: 28px 0; }
.pagination > * { display: grid; place-items: center; min-width: 42px; min-height: 42px; border: 1px solid var(--rule); border-radius: 3px; }
.pagination [aria-current] { background: var(--dark); color: white; }
.article-width { max-width: 875px; }
.article-head .lead { font-size: 21px; margin-bottom: 17px; color: #3d4e57; }
.article-head .meta { display: flex; gap: 6px 20px; flex-wrap: wrap; margin-bottom: 23px; }
.article-cover { margin: 0 0 29px; }
.article-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; }
.prose { font-size: 18px; line-height: 1.68; margin-bottom: 52px; }
.prose h2 { margin: 30px 0 12px; font-size: clamp(25px, 3.3vw, 35px); }
.prose a { color: var(--link); }
.prose p { margin-bottom: 16px; }
.plain { max-width: 820px; padding-top: 40px; }
.toc { border: 1px solid var(--rule); background: #fff; padding: 14px 19px; border-radius: 4px; margin-bottom: 22px; }
.toc summary { font-weight: 700; cursor: pointer; }
.toc ol { margin-bottom: 0; padding-left: 24px; }
.toc a { font-size: 16px; }
.table-scroll { overflow: auto; margin-bottom: 18px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 8px 10px; border: 1px solid var(--rule); }
th { background: #e9ede8; }
.footer { margin-top: 56px; background: var(--dark); color: #e5ecee; padding: 36px 0 40px; }
.footer-layout { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 22px 36px; }
.footer nav { display: grid; justify-items: start; align-content: start; gap: 9px; font-size: 14px; }
.footer a, .footer button { color: #e5ecee; }
.footer a:hover, .footer button:hover { color: #ff9c87; }
.footer button { text-align: left; border: 0; background: none; padding: 0; text-decoration: underline; text-underline-offset: 4px; }
.cookie { position: fixed; right: 20px; bottom: 20px; z-index: 3; width: min(400px, calc(100% - 40px)); background: white; border: 1px solid #ccd3d4; box-shadow: 0 12px 34px #12202a25; padding: 15px 16px; border-radius: 5px; font-size: 14px; }
.cookie p { margin: 0 0 9px; }
.cookie button { border: 0; background: var(--dark); color: white; padding: 7px 14px; border-radius: 3px; }
[hidden] { display: none !important; }
@media (max-width: 930px) {
  .wrap { width: calc(100% - 48px); }
  .masthead-inner { min-height: auto; padding-top: 14px; flex-direction: column; align-items: flex-start; gap: 9px; }
  .masthead nav { overflow-x: auto; width: 100%; padding: 6px 4px 12px; scrollbar-width: thin; }
  .hero { padding: 34px 0; }
  .hero-layout { gap: 23px; }
  .grid { gap: 14px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: 22px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(42px, 12.4vw, 66px); margin-bottom: 15px; }
  .hero p { font-size: 16px; margin-bottom: 17px; }
  .hero-image { aspect-ratio: 1.85; }
  .topics { grid-template-columns: repeat(2,minmax(0,1fr)); margin-block: 23px 30px; }
  .topic { padding: 12px 9px; min-height: 106px; }
  .topic:nth-child(odd) { padding-left: 0; }
  .topic:nth-child(even) { border-right: 0; }
  .topic:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .topic span { font-size: 13px; }
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .section { margin-block: 33px 41px; }
  .section-head { flex-wrap: wrap; }
  .card-copy h3 { font-size: 22px; }
  .card-copy { padding: 12px 14px 16px; }
  .page-intro p, .article-head .lead { font-size: 17px; }
  .prose { font-size: 16.5px; }
  .footer-layout { grid-template-columns: 1fr; }
  .cookie { bottom: 12px; right: 12px; width: calc(100% - 24px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0s !important; } }
