:root {
  color-scheme: light;
  --ink: #102126;
  --muted: #617177;
  --line: #d8e0e2;
  --paper: #ffffff;
  --soft: #f2f5f6;
  --teal: #008a78;
  --blue: #1678c8;
  --red: #d83245;
  --amber: #d88700;
  --dark: #0d2427;
  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(13, 36, 39, 0.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: 750; }
.brand img { width: 34px; height: 34px; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav-links a { text-decoration: none; color: #dbe9e9; }
.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: #edf2f3; border-bottom: 1px solid var(--line); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; 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(13, 36, 39, 0.94); border-top: 4px solid var(--teal); }
.hero-copy h1 { margin: 2px 0 8px; font-size: clamp(42px, 7vw, 86px); line-height: .98; letter-spacing: 0; }
.hero-copy p:last-child { max-width: 790px; margin: 0; font-size: clamp(16px, 2vw, 22px); line-height: 1.45; color: #e4eeee; }

.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: 840px; margin: 0 0 18px; font-size: clamp(30px, 4vw, 52px); line-height: 1.05; letter-spacing: 0; }
h3 { margin: 8px 0 8px; font-size: 21px; }
p { line-height: 1.65; }
.lede { max-width: 850px; 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; }
.content-band { background: var(--paper); }
.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(--teal); font: 700 16px ui-monospace, SFMono-Regular, Menlo, monospace; }
.feature-index.blue { color: var(--blue); }
.feature-index.red { color: var(--red); }
.feature-index.amber { color: var(--amber); }

.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 #c8d1d3; border-radius: 6px; box-shadow: 0 16px 32px rgba(25, 45, 48, .12); }
.screen-grid figcaption { padding: 12px 2px 0; color: var(--muted); font-size: 14px; line-height: 1.45; }

.evidence-band { background: #fff; }
.evidence-layout { display: grid; grid-template-columns: .9fr 1.1fr; 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: 90px 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(--red); }
.boundary-band p { max-width: 980px; color: #d9e5e6; font-size: 18px; }
.sources-band { background: #eaf2f1; }
.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 #9eb4b5; 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: #eaf2f1; border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin: 0 0 12px; font-size: clamp(38px, 6vw, 66px); letter-spacing: 0; }
.legal-hero p:last-child { max-width: 780px; margin: 0; color: var(--muted); font-size: 18px; }
.legal-content { width: min(820px, 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: #081719; 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); }
  .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: 620px; max-height: 760px; }
  .hero-copy { padding: 22px 20px 24px; }
  .hero-copy h1 { font-size: 48px; }
  .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; }
}

