@font-face {
  font-family: Bricolage;
  src: url("/assets/fonts/BricolageGrotesque-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DMSans-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --page: light-dark(#f5f4ef, #121920);
  --surface: light-dark(#fffef8, #1b242d);
  --quiet: light-dark(#eaeae1, #222d37);
  --ink: light-dark(#202a30, #eceee8);
  --secondary: light-dark(#4d5b61, #b2bfc4);
  --line: light-dark(#c8ccc6, #38454e);
  --accent: light-dark(#845119, #efb960);
  --accent-bg: light-dark(#f4e5c7, #2b2a25);
  --drawing: light-dark(#4e5e64, #b7c5c8);
  --amber: #efb960;
  --night: #151e28;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display: Bricolage, "Trebuchet MS", sans-serif;
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  line-height: 1.55;
  background: var(--page);
  color: var(--ink);
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, summary, a { touch-action: manipulation; min-width: 44px; }
button, summary { cursor: pointer; }
button { color: inherit; font: inherit; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.hero :focus-visible, footer :focus-visible { outline-color: var(--amber); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; text-wrap: balance; }
h1 { letter-spacing: -.058em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 720; letter-spacing: -.045em; }
h3 { font-size: 1.35rem; font-weight: 730; letter-spacing: -.035em; }
.wrap { width: min(100% - 2.25rem, 75rem); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.detail { stroke: var(--accent); }
.eyebrow, .date, .table-date, .hero-figure figcaption, .briefing small {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .035em;
}
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 650; color: var(--accent); }
.signal { display: inline-block; background: currentColor; width: 7px; height: 7px; border-radius: 50%; vertical-align: 1px; margin-right: .45em; }
.skip { position: fixed; z-index: 10; left: 10px; top: 8px; transform: translateY(-170%); padding: 12px 20px; background: var(--surface); }
.skip:focus { transform: none; }
.mast { background: var(--page); border-bottom: 1px solid var(--line); position: relative; z-index: 3; }
.mast-inner, .brand, .top-nav, .actions, .button, .text-link, .footer-head, footer nav, .byline, .crumb, .related nav { display: flex; align-items: center; }
.mast-inner { min-height: 68px; gap: .4rem; }
.brand { gap: .7rem; color: var(--ink); text-decoration: none; min-height: 44px; }
.brand img { display: block; }
.brand span { font-family: var(--display); font-weight: 800; letter-spacing: -.055em; font-size: 1.19rem; }
.top-nav { display: none; margin-left: auto; gap: 1.65rem; }
.top-nav a, .mobile-menu a, footer nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: .91rem; font-weight: 600; text-decoration: none; color: inherit; }
.top-nav a:hover, .mobile-menu a:hover, footer nav a:hover { color: var(--accent); text-decoration: underline; }
.top-nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.theme, .mobile-menu summary { background: transparent; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); }
.theme { border: 1px solid var(--line); border-radius: 50%; margin-left: auto; }
.theme:hover { background: var(--quiet); }
.theme[hidden], .theme[data-mode="light"] .icon:first-child, .theme[data-mode="dark"] .icon:last-child { display: none; }
.mobile-menu { position: relative; }
.mobile-menu summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; top: 100%; right: 0; width: 12rem; background: var(--surface); border: 1px solid var(--line); padding: .5rem; }
.mobile-menu a { display: flex; padding-inline: 1rem; }

.hero {
  position: relative; isolation: isolate; color: #f5f4e9; background-color: var(--night);
  background-image: radial-gradient(ellipse at 75% 50%, #283640 0, transparent 44%), radial-gradient(circle at 20% 20%, #646d6d 0 .65px, transparent .9px), radial-gradient(circle at 70% 80%, #58616a 0 .65px, transparent 1px);
  background-size: auto, 103px 123px, 167px 139px;
  border-bottom: 3px solid var(--amber);
}
.hero-inner { display: grid; position: relative; }
.hero-copy { padding: clamp(2.3rem, 5.8vw, 5rem) 0 0; z-index: 1; }
.hero .eyebrow { color: #efbc73; }
.hero h1 { font-size: clamp(3.35rem, 6vw, 5.55rem); line-height: .98; font-weight: 730; margin: 1.05rem 0 1rem; max-width: 8.5em; }
.hero h1 em { display: block; font-style: normal; color: var(--amber); }
.hero-lede { font-size: clamp(1rem, 1.4vw, 1.16rem); color: #c6cfd1; max-width: 34em; line-height: 1.5; }
.actions { flex-wrap: wrap; gap: .65rem 1.25rem; margin-top: 1.1rem; }
.button, .text-link { gap: .6rem; justify-content: center; width: fit-content; min-height: 44px; text-decoration: none; font-weight: 700; }
.button { border-radius: 4px; padding: .65rem 1.1rem; }
.primary { color: #23221c; background: var(--amber); }
.primary:hover { background: #ffcd82; }
.ghost { color: #eeeae1; border: 1px solid #68737a; }
.ghost:hover { background: #2e3b45; }
.hero-figure { min-width: 0; margin: 0; align-self: center; justify-self: stretch; position: relative; }
.hero-figure img { width: 100%; max-height: 220px; height: auto; display: block; object-fit: contain; }
.hero-figure figcaption { text-align: center; color: #aab6bc; font-size: .65rem; letter-spacing: .13em; text-transform: uppercase; padding: 0 0 .95rem; }
.hero-figure figcaption span { color: #d4aa72; padding-inline: .4rem; }
.hero .citations a { color: #e7bd83; }
.home-content { padding-block: clamp(1.2rem,3.1vw,2.45rem) 4rem; }
.briefing { border-block: 1px solid var(--line); padding: 1rem 0 1.25rem; display: grid; gap: .65rem; }
.briefing h2 { font-size: 1.45rem; margin-top: .25rem; }
.briefing-body > p { font-size: 1rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); list-style: none; padding: 0; gap: 1rem .7rem; margin-top: .5rem; }
.facts li { min-width: 0; border-left: 2px solid var(--line); padding-left: .65rem; display: grid; grid-template-columns: 1fr auto; align-items: center; }
.facts b { font: 680 1rem/1.15 var(--display); }
.facts small { font: .75rem/1.4 "DM Sans", sans-serif; color: var(--secondary); }
.facts .citations { grid-column: 2; grid-row: 1 / 3; }
.directory { margin-block: clamp(2rem,4vw,3.35rem); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.text-link { color: var(--accent); font-size: .93rem; }
.text-link:hover, .related a:hover { text-decoration: underline; }
.cards { display: grid; gap: .85rem; }
.guide-card { position: relative; display: grid; grid-template-columns: 65px 1fr 18px; align-items: center; gap: .75rem; border: 1px solid var(--line); border-radius: 6px; padding: 1.05rem .8rem; text-decoration: none; color: var(--ink); background: var(--surface); }
.guide-card:hover { border-color: var(--accent); }
.diagram, .article-diagram { color: var(--drawing); background: radial-gradient(circle at 1px 1px, var(--line) .65px, transparent .8px) 0 0 / 9px 9px; }
.diagram { display: grid; place-items: center; align-self: stretch; border-radius: 3px; min-height: 60px; }
.diagram .icon { width: 58px; height: 46px; }
.card-copy p, .info-card span { font-size: .91rem; line-height: 1.5; color: var(--secondary); margin-top: .4rem; }
.card-arrow { color: var(--accent); }
.card-arrow .icon { width: 18px; height: 18px; }
.home-reference { display: grid; align-items: start; gap: 1.8rem; padding-block: 1rem 2.5rem; }
.update-box { padding: clamp(1.2rem,3vw,2rem); background: var(--accent-bg); border-left: 3px solid var(--accent); }
.update-box h2 { margin: .8rem 0 .1rem; }
.update-box ul { padding-left: 1.25rem; margin: .65rem 0 1rem; }
.update-box li { padding: .25rem 0; }
.update-box .date { color: var(--secondary); }
.info-index { border-top: 1px solid var(--line); padding-block: 2rem; }
.info-cards { display: grid; gap: .6rem; margin-top: 1.15rem; }
.info-card, .related a { display: flex; align-items: center; justify-content: space-between; gap: .65rem; background: var(--surface); border: 1px solid var(--line); color: var(--ink); padding: 1rem; text-decoration: none; border-radius: 4px; }
.info-card:hover { border-color: var(--accent); }
.info-card span { display: block; }
.info-card .icon, .related .icon { color: var(--accent); }
.home-end { max-width: 52rem; }
.article-header { border-bottom: 1px solid var(--line); background: var(--quiet); }
.article-header > .wrap { padding-block: .8rem 1.9rem; }
.crumb { flex-wrap: wrap; gap: .65rem; font-size: .85rem; margin-bottom: .8rem; color: var(--secondary); }
.crumb a, .byline a { min-height: 44px; display: inline-flex; align-items: center; color: inherit; }
.article-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.article-heading h1, .missing h1 { font-size: clamp(2.4rem, 5.7vw, 4.7rem); line-height: 1.02; font-weight: 740; margin-block: .6rem; }
.article-diagram { display: none; }
.byline { flex-wrap: wrap; gap: 0 1.2rem; color: var(--secondary); font-size: .85rem; }
.byline a { color: var(--ink); font-weight: 650; }
.article-grid { display: grid; gap: 2.5rem; padding-block: 1.5rem 4rem; }
.article-grid > *, .home-reference > *, .briefing-body, .prose { min-width: 0; }
.article-grid aside { display: none; }
.prose { font-size: 1.045rem; overflow-wrap: break-word; }
.prose > p { margin-block: .75rem; }
.prose > h2, .faq h2, .sources h2, .related h2 { margin: 2.25rem 0 1rem; }
.prose > h2:first-child { margin-top: 0; }
.prose .intro { font-size: 1.15rem; }
.prose a:not(.citations a), .sources a { min-height: 44px; display: inline-flex; align-items: center; max-width: 100%; overflow-wrap: anywhere; }
.short-answer { padding: 1.1rem 1.35rem; background: var(--accent-bg); border-left: 3px solid var(--accent); }
.short-answer h2 { font: 650 .8rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: .45rem; }
.prose code { font-family: var(--mono); font-size: .89em; overflow-wrap: anywhere; }
.path { padding: .9rem 1rem; background: var(--quiet); border: 1px solid var(--line); border-radius: 4px; }
.checklist { list-style: none; padding: 0; }
.checklist li { display: flex; gap: .7rem; align-items: baseline; border-bottom: 1px solid var(--line); padding: .65rem .1rem; }
.checklist li::before { content: "✓"; color: var(--accent); }
table { border-spacing: 0; border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .91rem; line-height: 1.45; text-align: left; background: var(--surface); overflow-wrap: anywhere; }
caption { text-align: left; padding: .3rem 0 .65rem; color: var(--ink); font-size: .88rem; font-weight: 650; }
.table-date { display: block; color: var(--secondary); font-size: .72rem; font-weight: 450; margin-top: .2rem; letter-spacing: 0; }
th, td { padding: .58rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--quiet); font: 650 .72rem/1.45 var(--mono); color: var(--secondary); }
tbody th { font-weight: 650; }
table li + li { margin-top: .25em; }
table ul { padding-left: 1em; }
.citations { display: inline; white-space: normal; font: 500 .64rem/1 var(--mono); letter-spacing: 0; }
.citations a { display: inline-flex; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; vertical-align: middle; color: var(--accent); text-decoration: none; }
.citations a:hover { text-decoration: underline; }
.faq details { background: var(--surface); border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { padding: .85rem 1rem; min-height: 48px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: .75rem; font-weight: 650; }
.faq summary::after { content: "+"; color: var(--accent); font: 1.25rem var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 1rem .45rem; }
.faq-answer { margin: 0; display: inline; }
.related nav { flex-wrap: wrap; gap: .75rem; }
.related nav a { gap: 1.2rem; padding: .6rem .9rem; }
.sources ol { padding-left: 1.7rem; color: var(--secondary); font-size: .9rem; }
.sources a { color: var(--secondary); }
.sources li:target { background: var(--accent-bg); outline: 1px solid var(--accent); }
.missing { min-height: 45vh; padding-block: 4rem; }
.missing .button { margin-top: 1rem; }
footer { background: #151e28; color: #c6cfd2; padding-block: 2.2rem; }
footer .brand { color: #f7f5e9; }
.footer-head { justify-content: space-between; align-items: start; gap: .75rem; flex-wrap: wrap; }
footer nav { flex-wrap: wrap; gap: 1rem; }
footer nav a:hover { color: var(--amber); }
footer p { font-size: .85rem; border-top: 1px solid #43505a; padding-top: 1rem; margin-top: .8rem; }

@media (min-width: 42rem) {
  .wrap { width: min(100% - 4rem, 75rem); }
  .mast-inner { min-height: 74px; }
  .top-nav { display: flex; }
  .theme { margin-left: 1.1rem; }
  .mobile-menu { display: none; }
  .hero-inner { grid-template-columns: 1.05fr 1fr; align-items: center; }
  .hero-copy { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
  .hero-figure img { max-height: none; }
  .hero-figure figcaption { padding-bottom: 0; }
  .facts { grid-template-columns: repeat(4, minmax(0,1fr)); gap: .6rem; }
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .guide-card { padding: 1.1rem; }
  .home-reference { grid-template-columns: .85fr 1.15fr; }
  .info-cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .article-header > .wrap { padding-block: 1rem 2.5rem; }
  .article-diagram { display: grid; place-items: center; border: 1px solid var(--line); width: 12.5rem; height: 8rem; border-radius: 4px; flex: none; }
  .article-diagram .icon { width: 6.5rem; height: 5.4rem; }
  th, td { padding: .65rem .8rem; }
  .article-grid { padding-block-start: 2.4rem; }
}
@media (min-width: 62rem) {
  .wrap { width: min(100% - 7rem, 75rem); }
  .hero-copy { padding-block: 3.6rem; }
  .hero-figure { padding-left: .5rem; }
  .briefing { grid-template-columns: 11rem 1fr; padding-block: 1.3rem; }
  .briefing-title { padding-top: .6rem; }
  .facts small { font-size: .78rem; }
  .cards { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
  .guide-card { display: flex; flex-direction: column; align-items: start; gap: 1rem; padding: 1.2rem; }
  .diagram { height: 70px; position: relative; place-items: center start; padding-inline: 8px; }
  .diagram .icon { width: 73px; height: 55px; }
  .card-arrow { position: absolute; right: 1.35rem; top: 2.5rem; }
  .article-grid { grid-template-columns: minmax(0, 49rem) minmax(12rem, 17rem); justify-content: space-between; gap: clamp(3rem,6vw,6rem); }
  .article-grid aside { display: block; }
  .toc { border-left: 1px solid var(--line); padding-left: 1.25rem; position: sticky; top: 1rem; }
  .toc .eyebrow { padding: .6rem 0; }
  .toc a { display: flex; min-height: 44px; align-items: center; font-size: .9rem; color: var(--secondary); }
}
@media (max-width: 26rem) {
  .hero h1 { font-size: clamp(2.9rem, 13.2vw, 3.35rem); }
  .facts { gap: .7rem .35rem; }
  .facts li { padding-left: .42rem; }
  .actions { gap: .5rem; }
  .button { padding-inline: .8rem; font-size: .91rem; }
  .card-copy h3 { font-size: 1.18rem; }
  table { font-size: .84rem; }
  th, td { padding: .5rem .38rem; }
  .facts b { font-size: .95rem; }
}
