:root {
  color-scheme: light;
  --ink: #183833;
  --muted: #52645f;
  --paper: #f2f6f3;
  --white: #fff;
  --blue: #384bdf;
  --lime: #d8ef74;
  --sea: #a9d6c4;
  --line: #c9d6d0;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--blue); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 20; background: var(--lime); padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }
.shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-row { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; gap: .7rem; align-items: center; text-decoration: none; font-size: 1.22rem; font-weight: 750; letter-spacing: -.055em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: var(--ink); background: var(--lime); border-radius: 50% 50% 50% 8px; font: 700 1.06rem var(--serif); transform: rotate(-8deg); }
.brand-mark span { transform: rotate(8deg); }
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a { text-decoration: none; font-size: .92rem; color: var(--muted); }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.nav .search-link { color: var(--blue); font-weight: 700; }
.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; padding: .5rem .7rem; border-radius: 4px; color: var(--ink); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 4.5rem; align-items: end; padding: 74px 0 55px; }
.kicker { margin: 0 0 1.2rem; color: var(--blue); font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.04em; }
.hero h1 { max-width: 780px; margin-bottom: 1.3rem; font-size: clamp(3.4rem, 7.1vw, 6.35rem); line-height: .98; }
.hero-copy { max-width: 565px; margin: 0; color: var(--muted); font-size: 1.13rem; line-height: 1.65; }
.hero-aside { border-left: 3px solid var(--blue); padding: .3rem 0 .3rem 1.1rem; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.hero-aside strong { display: block; margin-bottom: .35rem; color: var(--ink); font-size: .96rem; }
.home-intro { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 3rem; align-items: end; padding: 34px 0 28px; }
.home-intro .kicker { margin-bottom: .55rem; }
.home-intro h1 { max-width: 700px; margin-bottom: .7rem; font-size: clamp(2.5rem, 5vw, 4.3rem); line-height: 1; }
.home-intro > div > p:last-child { max-width: 620px; margin-bottom: 0; color: var(--muted); font-size: 1.03rem; line-height: 1.55; }
.home-intro-note { border-left: 3px solid var(--blue); padding: .15rem 0 .15rem 1rem; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.home-intro-note strong { display: block; margin-bottom: .3rem; color: var(--ink); font-size: .9rem; }
.home-topic-nav { display: flex; align-items: center; gap: 1rem 1.5rem; padding: 17px 0; border-bottom: 1px solid var(--line); }
.home-topic-nav h2 { flex: 0 0 auto; margin: 0; font: 700 .75rem var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.home-topic-nav ul { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.home-topic-nav a { display: inline-block; padding: .38rem .62rem; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); font-size: .78rem; text-decoration: none; }
.home-topic-nav a:hover { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.home-topic-nav li:last-child a { border-color: transparent; color: var(--blue); font-weight: 700; }
.home-feed-section { padding: 28px 0 66px; }
.home-feed-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1rem; }
.home-feed-heading .kicker { margin-bottom: .35rem; font-size: .68rem; }
.home-feed-heading h2 { margin: 0; font-size: 2rem; }
.home-feed-heading > a { padding-bottom: .28rem; color: var(--blue); font-size: .84rem; font-weight: 700; }
.home-feed-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.25rem; border-top: 1px solid var(--line); }
.home-feed-card { min-width: 0; padding: 1rem 0 1.1rem; border-bottom: 1px solid var(--line); }
.home-feed-card[data-featured-story="true"] { border-top: 3px solid var(--lime); }
.home-feed-topic { margin-bottom: .45rem; color: var(--blue); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.home-feed-topic a { text-decoration: none; }
.home-feed-topic span { color: var(--muted); }
.home-feed-card h3 { margin: 0 0 .45rem; font-size: 1.42rem; line-height: 1.15; }
.home-feed-card h3 a { text-decoration: none; }
.home-feed-dek { margin: 0 0 .7rem; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.home-feed-meta { display: flex; flex-wrap: wrap; gap: .2rem .9rem; margin: 0; color: var(--muted); font-size: .72rem; }
.home-pagination { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; }
.home-pagination > p { flex: 0 0 auto; margin: 0; color: var(--muted); font-size: .8rem; }
.home-pagination-links { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.home-page-number, .home-page-step { min-width: 2rem; min-height: 2rem; display: inline-grid; place-items: center; padding: .35rem .55rem; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); font-size: .78rem; text-decoration: none; }
.home-page-number[aria-current="page"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.home-page-step { color: var(--blue); font-weight: 700; }
.home-page-step[aria-disabled="true"], .home-pagination-gap { border-color: transparent; color: var(--muted); }
.home-pagination-gap { display: inline-grid; min-width: 1rem; place-items: center; }
.content-section { padding: 52px 0 76px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin-bottom: .85rem; font-size: 2.2rem; }
.section-heading a { color: var(--blue); font-size: .92rem; font-weight: 700; }
.feature-story { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 2.5rem; padding: 25px 0 34px; border-bottom: 1px solid var(--line); }
.feature-story h3 { max-width: 760px; margin-bottom: 1rem; font-size: clamp(2.1rem, 4vw, 3.45rem); line-height: 1.04; }
.feature-story h3 a { text-decoration: none; }
.feature-story p { max-width: 650px; margin-bottom: 1.25rem; color: var(--muted); line-height: 1.7; }
.story-meta { color: var(--muted); font-size: .8rem; }
.story-art { min-height: 220px; display: flex; align-items: end; padding: 1.2rem; overflow: hidden; background: var(--sea); position: relative; }
.story-art::before, .story-art::after { content: ""; position: absolute; border: 1px solid var(--ink); border-radius: 50%; width: 250px; height: 250px; right: -86px; top: -80px; }
.story-art::after { width: 170px; height: 170px; right: -45px; top: -40px; background: var(--lime); border: 0; mix-blend-mode: multiply; }
.story-art span { position: relative; z-index: 1; max-width: 155px; font: 1rem/1.35 var(--serif); }
.feature-story.related-story { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 22px 0; }
.related-story h3 { max-width: none; margin-bottom: .65rem; font-size: clamp(1.35rem, 2.3vw, 1.65rem); line-height: 1.25; overflow-wrap: anywhere; }
.related-story p { margin-bottom: .85rem; font-size: .95rem; line-height: 1.6; }
.related-story .kicker { margin-bottom: .6rem; color: var(--blue); font-size: .75rem; }
.topics-row { padding: 35px 0; border-bottom: 1px solid var(--line); }
.topic-list { display: flex; flex-wrap: wrap; gap: .7rem; padding: 0; margin: 1.2rem 0 0; list-style: none; }
.topic-list a { display: inline-block; padding: .6rem .85rem; border: 1px solid var(--line); border-radius: 3px; text-decoration: none; font-size: .88rem; }
.topic-list a:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.page-intro { padding: 62px 0 28px; }
.page-intro h1 { max-width: 850px; margin-bottom: 1rem; font-size: clamp(3rem, 6vw, 5.3rem); line-height: 1; }
.page-intro p { max-width: 650px; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.az-index { display: flex; flex-wrap: wrap; gap: .25rem; margin: 2rem 0 1.8rem; }
.az-index a { width: 2rem; height: 2rem; display: grid; place-items: center; text-decoration: none; color: var(--blue); font-weight: 700; }
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.topic-item { padding: 1.4rem 1rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.topic-item h2 { margin-bottom: .5rem; font-size: 1.65rem; }
.topic-item h2 a { text-decoration: none; }
.topic-item p { min-height: 3rem; margin-bottom: .7rem; color: var(--muted); font-size: .91rem; line-height: 1.5; }
.topic-item small { color: var(--muted); }
.article-header { padding: 54px 0 28px; }
.article-header h1 { max-width: 850px; margin-bottom: 1.2rem; font-size: clamp(2.8rem, 5.6vw, 5rem); line-height: 1.03; }
.article-header h1, .article-body h2, .toc a { overflow-wrap: anywhere; }
.article-header .dek { max-width: 760px; margin-bottom: 1.4rem; color: var(--muted); font-size: 1.18rem; line-height: 1.6; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; color: var(--muted); font-size: .82rem; }
.illustrative-note { margin: 1.5rem 0 0; padding: .8rem 1rem; border-left: 4px solid var(--blue); background: #e7ecef; font-size: .89rem; line-height: 1.55; }
.article-layout { display: grid; grid-template-columns: minmax(0, 728px) 300px; gap: 3rem; align-items: start; justify-content: space-between; padding: 20px 0 70px; }
.article-layout.no-toc { grid-template-columns: minmax(0, 850px); }
.article-main { min-width: 0; }
.article-body { font-family: var(--serif); font-size: 1.2rem; line-height: 1.83; }
.article-body h2 { margin: 2.1em 0 .45em; font-size: 1.85rem; line-height: 1.15; scroll-margin-top: 1.5rem; }
.article-body p { margin-bottom: 1.4em; }
.article-body ul { padding-left: 1.3rem; }
.article-body img { display: block; max-width: 100%; height: auto; margin: 1.4rem auto; }
.article-body figure { max-width: 100%; margin: 1.8rem 0; }
.article-body figcaption { color: var(--muted); font: .86rem/1.5 var(--sans); }
.article-body table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; font: .92rem/1.5 var(--sans); }
.article-body th, .article-body td { min-width: 7rem; padding: .55rem .7rem; border: 1px solid var(--line); vertical-align: top; }
.article-body th { background: #e7eee9; text-align: left; }
.article-body pre { max-width: 100%; overflow-x: auto; padding: 1rem; background: #e7eee9; font: .85rem/1.55 ui-monospace, monospace; }
.article-body a { overflow-wrap: anywhere; }
.article-body .callout { margin: 2rem 0; padding: 1rem 1.2rem; border-left: 4px solid var(--blue); background: #e7ecef; font: .98rem/1.65 var(--sans); }
.article-aside { position: sticky; top: 1rem; }
.toc { border-top: 2px solid var(--ink); padding-top: .9rem; }
.toc h2 { margin: 0 0 .7rem; font: 700 .9rem var(--sans); letter-spacing: 0; }
.toc ol { margin: 0; padding-left: 1rem; color: var(--muted); font-size: .85rem; line-height: 1.65; }
.toc li { padding: .25rem 0; }
.toc a { text-decoration: none; }
.toc-long details { border-top: 0; }
.toc-long summary { margin-bottom: .55rem; cursor: pointer; font-weight: 700; }
.toc-long summary span { color: var(--muted); font-size: .78rem; font-weight: 400; }
.toc-long ol { max-height: min(62vh, 38rem); overflow-y: auto; overscroll-behavior: contain; }
.primary-button { padding: .75rem 1rem; border: 0; border-radius: 3px; background: var(--blue); color: white; cursor: pointer; font-weight: 700; }
.empty-state { padding: 1.2rem 0; color: var(--muted); }
.search-form { display: flex; gap: .6rem; max-width: 650px; }
.search-form input { flex: 1; min-width: 0; padding: .85rem 1rem; border: 1px solid var(--line); background: white; color: var(--ink); }
.search-results { max-width: 760px; padding: 0; list-style: none; }
.search-results li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.search-results h2 { margin-bottom: .45rem; font-size: 1.55rem; }
.search-results h2 a { text-decoration: none; }
.search-results p { margin: 0; color: var(--muted); line-height: 1.55; }
.info-copy { max-width: 740px; padding: 10px 0 70px; font: 1.08rem/1.8 var(--serif); }
.info-copy h2 { margin: 2rem 0 .5rem; font-size: 1.6rem; }
.contact-address { display: inline-block; padding: .5rem .7rem; border-left: 3px solid var(--blue); background: #e7ecef; font: 700 1rem var(--sans); }
.site-footer { padding: 34px 0 28px; border-top: 1px solid var(--line); background: #e7eee9; }
.footer-top { display: flex; align-items: start; justify-content: space-between; gap: 3rem; }
.footer-top p { max-width: 370px; margin: .75rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; max-width: 450px; }
.footer-nav a { font-size: .86rem; color: var(--muted); }
.copyright { margin: 2rem 0 0; color: var(--muted); font-size: .76rem; }
.error-page { padding: 6rem 0; }
.error-page h1 { font-size: 5rem; }
@media (max-width: 760px) {
  .shell { width: min(100% - 38px, 580px); }
  .header-row { min-height: 68px; position: relative; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; z-index: 10; top: 67px; left: -19px; right: -19px; padding: .5rem 19px 1rem; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: .75rem 0; }
  .nav a[aria-current="page"] { text-underline-offset: 2px; }
  .hero { grid-template-columns: 1fr; gap: 1.5rem; padding: 48px 0 35px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .hero-copy { font-size: 1.04rem; }
  .hero-aside { max-width: 390px; }
  .home-intro { grid-template-columns: 1fr; gap: 1rem; padding: 28px 0 22px; }
  .home-intro h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .home-intro-note { max-width: 420px; }
  .home-topic-nav { display: block; padding: 14px 0; }
  .home-topic-nav ul { gap: .4rem; margin-top: .55rem; }
  .home-topic-nav a { padding: .36rem .5rem; font-size: .74rem; }
  .home-feed-section { padding: 23px 0 48px; }
  .home-feed-heading { align-items: start; }
  .home-feed-heading h2 { font-size: 1.8rem; }
  .home-feed-heading > a { max-width: 8rem; text-align: right; }
  .home-feed-list { grid-template-columns: 1fr; }
  .home-feed-card { padding: .95rem 0 1rem; }
  .home-feed-card h3 { font-size: 1.3rem; }
  .home-pagination { align-items: start; flex-direction: column; }
  .home-pagination-links { gap: .25rem; }
  .home-page-number, .home-page-step { min-width: 1.85rem; min-height: 1.85rem; padding: .28rem .43rem; }
  .content-section { padding: 39px 0 55px; }
  .feature-story { grid-template-columns: 1fr; gap: 1.4rem; padding-top: 18px; }
  .story-art { min-height: 165px; }
  .page-intro { padding: 46px 0 20px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-item p { min-height: 0; }
  .article-header { padding: 38px 0 16px; }
  .article-header h1 { font-size: clamp(2.6rem, 11vw, 3.7rem); }
  .article-header .dek { font-size: 1.06rem; }
  .article-layout { grid-template-columns: 1fr; gap: 2rem; padding-top: 8px; }
  .article-layout.no-toc { gap: 0; }
  .article-aside { position: static; grid-row: 1; }
  .toc { border-top-width: 1px; padding-top: .7rem; }
  .toc ol { columns: 2; column-gap: 1.5rem; }
  .article-body { font-size: 1.12rem; }
  .footer-top { flex-direction: column; gap: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
