:root {
  --ink: #12212b;
  --muted: #52636d;
  --paper: #f6f3eb;
  --paper-2: #ece8de;
  --navy: #0b1620;
  --blue: #0f6c80;
  --teal: #17a0a2;
  --lime: #c8dc69;
  --line: #ccd3cf;
  --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;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: #084f60; }
a:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; border-radius: 2px; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: white;
  color: var(--navy);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  z-index: 10;
  background: var(--navy);
  color: white;
  border-bottom: 1px solid #24333e;
}

.header-inner {
  width: min(1240px, calc(100% - 3rem));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand b { color: var(--lime); font-weight: 650; }
.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--teal);
  color: var(--lime);
  font-family: var(--serif);
  font-size: 1.1rem;
}

nav { display: flex; align-items: center; gap: 1.25rem; }
nav a { color: #dfe9e8; font-size: 0.84rem; text-decoration: none; }
nav a[aria-current="page"] { color: white; border-bottom: 2px solid var(--lime); }
nav .download-link { padding: 0.45rem 0.8rem; border: 1px solid #64757d; }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(290px, 0.7fr);
  gap: 5vw;
  align-items: end;
  padding: clamp(4rem, 8vw, 8rem) max(1.5rem, calc((100vw - 1180px) / 2)) clamp(4rem, 7vw, 6.5rem);
  background:
    linear-gradient(115deg, rgba(11,22,32,0.98), rgba(11,22,32,0.93)),
    repeating-linear-gradient(90deg, transparent 0, transparent 89px, rgba(255,255,255,0.04) 90px);
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  right: -7rem;
  top: -10rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(200,220,105,0.26);
  border-radius: 50%;
  box-shadow: 0 0 0 6rem rgba(23,160,162,0.035), 0 0 0 12rem rgba(23,160,162,0.025);
}

.hero-copy, .signal-panel { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--lime); }

.hero h1, .page-intro h1, .print-title h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7.2vw, 7.4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.91;
}
.hero h1 em, .page-intro h1 em, .print-title h1 em { color: var(--lime); font-weight: 400; }
.dek { max-width: 800px; margin: 1.75rem 0 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.85rem); line-height: 1.38; }
.hero-note { max-width: 710px; margin: 1.4rem 0 0; color: #b9c8ca; font-size: 0.98rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.button { display: inline-block; padding: 0.72rem 1rem; font-size: 0.82rem; font-weight: 750; letter-spacing: 0.035em; text-decoration: none; }
.button.primary { background: var(--lime); color: var(--navy); }
.button.secondary { border: 1px solid #718189; color: white; }

.signal-panel { padding: 1.6rem; border-top: 3px solid var(--teal); background: rgba(255,255,255,0.06); backdrop-filter: blur(5px); }
.panel-label { margin: 0 0 1.25rem; color: #cbd5d6; font-size: 0.72rem; font-weight: 750; letter-spacing: 0.15em; text-transform: uppercase; }
.signal-panel dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin: 0; }
.signal-panel dl div { padding-top: 0.9rem; border-top: 1px solid rgba(255,255,255,0.2); }
.signal-panel dt { color: var(--lime); font-family: var(--serif); font-size: 2.1rem; line-height: 1; }
.signal-panel dd { margin: 0.35rem 0 0; color: #d4dddd; font-size: 0.76rem; }
.signal-panel > p:last-child { margin: 1.6rem 0 0; color: #aababc; font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase; }

.content-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  gap: clamp(2rem, 6vw, 6rem);
  width: min(1080px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 5rem 0 7rem;
}

.toc { position: sticky; top: 2rem; align-self: start; display: flex; flex-direction: column; gap: 0.54rem; padding-top: 0.4rem; }
.toc p, .source-key > p { margin: 0 0 0.55rem; color: var(--muted); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.toc a { color: #53646d; font-size: 0.75rem; line-height: 1.35; text-decoration: none; }
.toc a:hover { color: var(--blue); }

.prose { min-width: 0; }
.prose > h1 { margin: 0 0 2rem; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -0.04em; }
.prose h2 { margin: 4.75rem 0 1.35rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.06; }
.prose h3 { margin: 3rem 0 0.85rem; color: #173846; font-size: 1rem; letter-spacing: 0.01em; line-height: 1.35; }
.prose p { margin: 0 0 1.25rem; }
.prose > p:first-of-type { font-family: var(--serif); font-size: 1.3rem; line-height: 1.55; }
.prose strong { color: #102f3b; }
.prose .signal-list { margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.prose .signal-list li { position: relative; margin: 0 0 1rem; padding-left: 1.4rem; }
.prose .signal-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 7px; height: 7px; background: var(--teal); }
.prose hr { margin: 4rem 0; border: 0; border-top: 1px solid var(--line); }
.external { margin-left: 0.15em; font-size: 0.72em; text-decoration: none; }
.cite { display: inline-block; margin: 0 0.05rem; padding: 0.04rem 0.31rem; border: 1px solid #a9b9b9; border-radius: 2px; color: #0c5a6a; font-size: 0.68em; font-weight: 800; line-height: 1.35; text-decoration: none; vertical-align: 0.12em; }
.cite:hover { background: #dcebea; }

.source-cta { margin-top: 5rem; padding: 2.25rem; background: var(--navy); color: white; }
.source-cta h2 { margin: 0 0 0.8rem; padding: 0; border: 0; color: white; font-size: 2.35rem; }
.source-cta p:not(.eyebrow) { color: #c6d1d2; }

.subpage { padding-bottom: 7rem; }
.page-intro { padding: clamp(4rem, 7vw, 7rem) max(1.5rem, calc((100vw - 1040px) / 2)) 4rem; background: var(--navy); color: white; }
.page-intro h1 { font-size: clamp(3.2rem, 7vw, 6rem); }
.page-intro .dek { max-width: 730px; color: #c7d2d3; }
.source-layout { display: grid; grid-template-columns: 190px minmax(0, 780px); gap: 5rem; width: min(1040px, calc(100% - 3rem)); margin: 0 auto; padding-top: 4rem; }
.source-key { position: sticky; top: 2rem; align-self: start; display: flex; flex-direction: column; gap: 0.65rem; }
.source-key span { color: var(--muted); font-size: 0.78rem; }
.source-key b { display: inline-grid; width: 1.7rem; height: 1.7rem; margin-right: 0.4rem; place-items: center; background: var(--navy); color: var(--lime); }
.sources-prose .signal-list li { scroll-margin-top: 2rem; padding: 1.1rem 1.1rem 1.1rem 1.4rem; border-left: 3px solid var(--teal); background: rgba(255,255,255,0.55); }
.sources-prose .signal-list li::before { display: none; }

.print-paper { width: min(880px, calc(100% - 3rem)); margin: 0 auto; padding: 5rem 0 7rem; }
.print-title { margin-bottom: 5rem; padding: 4rem; background: var(--navy); color: white; }
.print-title h1 { font-size: clamp(3.1rem, 7vw, 5.8rem); }
.print-title .dek { color: #d8e1e1; }
.print-paper .prose > h1:first-child, .print-paper .prose > h2:nth-child(2) { display: none; }

.site-footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2.5rem max(1.5rem, calc((100vw - 1180px) / 2)); background: var(--navy); color: #9daeb2; font-size: 0.75rem; }
.site-footer div { display: flex; flex-direction: column; }
.site-footer strong { color: white; letter-spacing: 0.04em; }
.site-footer p { margin: 0; }

@media (max-width: 820px) {
  .header-inner { width: min(100% - 2rem, 1240px); min-height: 64px; }
  nav { gap: 0.8rem; }
  nav .download-link { display: none; }
  .brand span:last-child { display: none; }
  .hero { grid-template-columns: 1fr; padding-left: 1.25rem; padding-right: 1.25rem; }
  .signal-panel { max-width: 500px; }
  .content-grid, .source-layout { display: block; width: min(100% - 2.5rem, 760px); padding-top: 3.5rem; }
  .toc, .source-key { position: static; margin-bottom: 3rem; }
  .toc { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1rem; padding: 1.2rem; border: 1px solid var(--line); }
  .toc p { grid-column: 1 / -1; }
  .source-key { display: grid; grid-template-columns: 1fr 1fr; padding: 1.2rem; background: var(--paper-2); }
  .source-key > p { grid-column: 1 / -1; }
  .prose h2 { margin-top: 3.8rem; }
  .print-title { padding: 2rem; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(3.1rem, 16vw, 4.6rem); }
  .hero-actions .button { width: 100%; text-align: center; }
  .toc { grid-template-columns: 1fr; }
  .signal-panel dl { gap: 1rem; }
  .source-key { grid-template-columns: 1fr; }
  .source-key > p { grid-column: auto; }
  .source-cta { margin-left: -0.5rem; margin-right: -0.5rem; padding: 1.5rem; }
}

@media print {
  @page { size: Letter; margin: 0.65in 0.7in 0.75in; }
  body { background: white; color: #111; font-size: 10pt; line-height: 1.45; }
  .site-header, .site-footer, .skip-link { display: none; }
  .print-paper { width: auto; margin: 0; padding: 0; }
  .print-title { min-height: 8.2in; margin: 0 0 0.5in; padding: 1in 0.6in; break-after: page; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .print-title h1 { font-size: 54pt; }
  .print-title .dek { font-size: 19pt; }
  .prose h2 { margin: 0.38in 0 0.12in; padding-top: 0.1in; font-size: 21pt; break-after: avoid; }
  .prose h3 { margin: 0.24in 0 0.07in; font-size: 11.5pt; break-after: avoid; }
  .prose p, .prose li { orphans: 3; widows: 3; }
  .prose .signal-list li { break-inside: avoid; }
  .external { display: none; }
  .cite { color: #111; border-color: #777; }
  a { color: #111; }
}
