:root {
  color-scheme: light;
  --ink: #101a1d;
  --muted: #5c6a70;
  --line: #d8e0e3;
  --paper: #ffffff;
  --soft: #f2f4f7;
  --dark: #091417;
  --blue: #2458c2;
  --teal: #047b7d;
  --green: #168457;
  --orange: #d67500;
  --red: #c9363e;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(9, 20, 23, .97); color: white; border-bottom: 1px solid rgba(255,255,255,.14); }
.nav { max-width: 1240px; min-height: 64px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 760; }
.brand img { width: 36px; height: 36px; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav-links a { text-decoration: none; color: #dce7e9; }
.nav-links a:hover, .nav-links a:focus-visible { color: white; text-decoration: underline; text-underline-offset: 5px; }

.hero { position: relative; min-height: calc(84vh - 64px); max-height: 840px; overflow: hidden; background: #eef1f6; border-bottom: 1px solid var(--line); }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture img { object-fit: contain; object-position: center top; }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px max(24px, calc((100vw - 1180px) / 2)); color: white; background: rgba(9, 20, 23, .94); border-top: 4px solid var(--teal); }
.hero-copy h1 { margin: 2px 0 8px; font-size: 72px; line-height: 1; letter-spacing: 0; }
.hero-copy p:last-child { max-width: 820px; margin: 0; font-size: 21px; line-height: 1.45; color: #e6eef0; }

.eyebrow { margin: 0 0 8px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.hero .eyebrow, .boundary-band .eyebrow { color: #76dfcd; }
h2 { max-width: 900px; margin: 0 0 18px; font-size: 44px; line-height: 1.08; letter-spacing: 0; }
h3 { margin: 8px 0 8px; font-size: 21px; }
p { line-height: 1.65; }
.lede { max-width: 880px; margin: 0 0 34px; color: var(--muted); font-size: 19px; }
.band-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.signal-band { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: var(--paper); }
.signal-band div { min-height: 110px; padding: 25px; border-right: 1px solid var(--line); }
.signal-band div:last-child { border-right: 0; }
.signal-band strong, .signal-band span { display: block; }
.signal-band strong { font-size: 18px; }
.signal-band span { margin-top: 7px; color: var(--muted); font-size: 14px; }

.content-band, .screen-band, .evidence-band, .boundary-band, .sources-band { padding: 88px 0; }
.screen-band { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid article { padding: 26px 24px 30px 0; margin-right: 24px; border-right: 1px solid var(--line); }
.feature-grid article:last-child { border-right: 0; margin-right: 0; }
.feature-grid p { margin: 0; color: var(--muted); }
.feature-index { color: var(--blue); font: 700 16px ui-monospace, SFMono-Regular, Menlo, monospace; }
.feature-index.teal { color: var(--teal); }
.feature-index.orange { color: var(--orange); }
.feature-index.green { color: var(--green); }

.screen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.screen-grid figure { margin: 0; }
.screen-grid img { width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; object-position: top; border: 1px solid #c5cdd2; border-radius: 6px; box-shadow: 0 16px 32px rgba(16, 34, 40, .12); }
.screen-grid figcaption { padding: 12px 2px 0; color: var(--muted); font-size: 14px; line-height: 1.45; }

.evidence-band { background: var(--paper); }
.evidence-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: 56px; align-items: center; }
.evidence-layout > img { width: 100%; border: 1px solid var(--line); border-radius: 6px; }
.evidence-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.evidence-list li { display: grid; grid-template-columns: 100px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.evidence-list strong { color: var(--blue); }
.evidence-list span { color: var(--muted); }

.boundary-band { background: var(--dark); color: white; border-left: 8px solid var(--orange); }
.boundary-band p { max-width: 1000px; color: #d7e2e5; font-size: 18px; }
.sources-band { background: #e9f1f0; }
.source-links { display: flex; flex-wrap: wrap; gap: 12px; }
.source-links a, .contact-link { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid #9aaeb0; border-radius: 6px; background: white; color: var(--dark); font-weight: 650; text-decoration: none; }
.source-links a:hover, .source-links a:focus-visible, .contact-link:hover, .contact-link:focus-visible { border-color: var(--teal); color: var(--teal); }

.legal-hero { padding: 70px 0 46px; background: #e9f1f0; border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin: 0 0 12px; font-size: 58px; line-height: 1.05; letter-spacing: 0; }
.legal-hero p:last-child { max-width: 800px; margin: 0; color: var(--muted); font-size: 18px; }
.legal-content { width: min(840px, calc(100% - 48px)); margin: 0 auto; padding: 42px 0 78px; }
.legal-section { padding: 24px 0; border-bottom: 1px solid var(--line); }
.legal-section h2 { margin-bottom: 10px; font-size: 25px; }
.legal-section p, .legal-section li { color: #425258; }
.legal-section li { margin: 8px 0; line-height: 1.55; }

.site-footer { background: #061013; color: #d7e2e3; }
.footer-inner { width: min(1180px, calc(100% - 48px)); min-height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 14px; }
.footer-inner nav { display: flex; gap: 18px; }
.footer-inner a { color: #d7e2e3; }

@media (max-width: 860px) {
  .nav-links a:nth-child(-n+2) { display: none; }
  .hero { min-height: calc(76vh - 64px); }
  .hero-copy h1 { font-size: 58px; }
  .signal-band { grid-template-columns: repeat(2, 1fr); }
  .signal-band div:nth-child(2) { border-right: 0; }
  .signal-band div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid article:nth-child(2) { border-right: 0; margin-right: 0; }
  .feature-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .screen-grid { grid-template-columns: repeat(2, 1fr); }
  .evidence-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav { padding: 0 16px; }
  .hero { min-height: 640px; max-height: 780px; }
  .hero picture img { object-fit: cover; object-position: center top; }
  .hero-copy { padding: 22px 20px 24px; }
  .hero-copy h1 { font-size: 46px; }
  .hero-copy p:last-child { font-size: 17px; }
  h2 { font-size: 34px; }
  .legal-hero h1 { font-size: 42px; }
  .band-inner, .legal-content, .footer-inner { width: min(100% - 32px, 1180px); }
  .content-band, .screen-band, .evidence-band, .boundary-band, .sources-band { padding: 64px 0; }
  .signal-band div { min-height: 96px; padding: 20px 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { margin-right: 0; padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .screen-grid { gap: 12px; }
  .screen-grid figcaption { font-size: 12px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 24px 0; }
}
