:root {
  --ink: #10212c;
  --ink-soft: #243844;
  --paper: #f4f1e8;
  --paper-deep: #e9e4d8;
  --white: #fffdf8;
  --line: #c9c5ba;
  --muted: #56636b;
  --blue: #2e6f89;
  --blue-pale: #dce9ed;
  --amber: #c8722b;
  --amber-pale: #f1dfce;
  --green: #357163;
  --red: #9e493f;
  --shadow: 0 24px 70px rgba(16, 33, 44, 0.12);
  --radius: 3px;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 88px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(16, 33, 44, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 33, 44, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 52%);
}

a { color: inherit; }

button, input, textarea { font: inherit; }

button { color: inherit; }

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 9px 13px;
  background: var(--white);
  border: 2px solid var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 241, 232, 0.94);
  border-bottom: 1px solid rgba(16, 33, 44, 0.18);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-mark { width: 36px; height: 36px; color: var(--ink); }

.brand span { display: grid; line-height: 1.1; }

.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 600; }

.brand small { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }

.primary-nav { display: flex; align-items: center; gap: 28px; }

.primary-nav a {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--blue); }

.primary-nav .nav-contact {
  padding: 9px 14px;
  border: 1px solid var(--ink);
}

.hero { padding: 92px 0 76px; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(370px, 0.85fr);
  gap: 88px;
  align-items: center;
}

.eyebrow, .mini-label {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  max-width: 100%;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
  overflow-wrap: break-word;
}

h1 { max-width: 760px; margin-bottom: 26px; font-size: clamp(50px, 6.1vw, 78px); }

h2 { margin-bottom: 22px; font-size: clamp(37px, 4.1vw, 54px); }

h3 { margin-bottom: 10px; font-size: 19px; line-height: 1.25; }

.hero-lede { max-width: 690px; color: var(--ink-soft); font-size: 19px; line-height: 1.62; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.button:hover { transform: translateY(-1px); }

.button-primary { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button-primary:hover { background: var(--blue); border-color: var(--blue); }
.button-secondary { background: transparent; border-color: var(--ink); }
.button-secondary:hover { background: var(--white); }

.scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 20px;
  margin: 36px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: 12px;
  font-weight: 650;
}

.scope-list li { position: relative; padding-left: 13px; }
.scope-list li::before { content: ""; position: absolute; top: 0.7em; left: 0; width: 4px; height: 4px; background: var(--amber); }

.hero-instrument {
  position: relative;
  padding: 25px;
  color: #edf3f4;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.hero-instrument::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  z-index: -1;
  width: 48%;
  height: 48%;
  border: 1px solid var(--amber);
}

.instrument-head, .instrument-foot { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }

.instrument-head { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.16); }
.instrument-tag { margin-left: auto; color: #f1bf8f; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; letter-spacing: 0.08em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #64a995; box-shadow: 0 0 0 4px rgba(100,169,149,0.15); }

.time-stack { margin: 12px 0 15px; }
.time-stack div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.time-stack dt { color: #9eacb4; font-size: 12px; }
.time-stack dd { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 17px; letter-spacing: 0.03em; }
.time-stack dd span { margin-left: 3px; color: #91a0a9; font-size: 11px; }

.interval-rule { display: grid; grid-template-columns: 8px 1fr 8px; align-items: center; margin: 20px 2px; }
.interval-rule span { width: 8px; height: 8px; border: 1px solid #e6ad78; border-radius: 50%; }
.interval-rule i { height: 1px; background: linear-gradient(90deg, #e6ad78 0 48%, rgba(230,173,120,.25) 48% 52%, #e6ad78 52%); }
.instrument-foot { justify-content: space-between; color: #b9c4c9; font-size: 9px; }
.example-note { margin: 18px 0 0; color: #80909a; font-size: 10px; }

.position-strip { color: #dde5e7; background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); }
.position-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.position-grid div { display: grid; gap: 3px; padding: 22px 26px; border-right: 1px solid rgba(255,255,255,.12); }
.position-grid div:first-child { padding-left: 0; }
.position-grid div:last-child { border-right: 0; }
.position-grid span { color: #8da0aa; font-size: 9px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.position-grid strong { font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-weight: 500; }

.section { padding: 104px 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr); gap: 80px; align-items: end; margin-bottom: 43px; }
.section-heading p:not(.eyebrow) { max-width: 670px; margin-bottom: 0; color: var(--muted); font-size: 16px; }
.section-heading h2 { margin-bottom: 0; }
.compact-heading { display: block; max-width: 730px; }
.compact-heading h2 { margin-bottom: 0; }

.monitor-section { background: var(--white); }
.source-chip { justify-self: end; padding: 12px 15px; border: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; }
.source-chip span { display: block; margin-bottom: 2px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }

.notice { display: grid; grid-template-columns: 180px 1fr; gap: 18px; margin: 0 0 24px; padding: 16px 19px; border-left: 3px solid var(--blue); background: var(--blue-pale); font-size: 13px; }
.notice strong { font-size: 12px; }
.notice code { padding: 1px 4px; color: var(--ink); background: rgba(255,255,255,.52); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.notice.is-warning { border-color: var(--amber); background: var(--amber-pale); }
.notice.is-error { border-color: var(--red); background: #f2dedb; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.metric-card { min-height: 142px; padding: 21px 22px; border-right: 1px solid var(--line); }
.metric-card:last-child { border-right: 0; }
.metric-card > span { display: block; min-height: 34px; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.metric-card > strong { display: block; margin: 9px 0 6px; font-family: Georgia, "Times New Roman", serif; font-size: 31px; font-weight: 500; line-height: 1; }
.metric-card > small { display: block; color: var(--muted); font-size: 11px; }
.metric-card-state > strong { display: flex; align-items: center; gap: 10px; font-family: inherit; font-size: 18px; font-weight: 700; }
.state-light { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 4px rgba(101,112,120,.12); }
.state-light.ok { background: var(--green); box-shadow: 0 0 0 4px rgba(53,113,99,.14); }
.state-light.warning { background: var(--amber); box-shadow: 0 0 0 4px rgba(200,114,43,.14); }
.state-light.error { background: var(--red); box-shadow: 0 0 0 4px rgba(158,73,63,.14); }

.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 38px 0 12px; }
.table-toolbar div { display: grid; gap: 2px; }
.table-toolbar strong { font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 500; }
.table-toolbar span { color: var(--muted); font-size: 11px; }
.text-button { padding: 7px 0 6px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 12px; font-weight: 750; }
.text-button:disabled { opacity: .45; cursor: wait; }

.data-table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { padding: 12px 14px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 9px; letter-spacing: .14em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.data-table th:first-child, .data-table td:first-child { padding-left: 0; }
.data-table th:last-child, .data-table td:last-child { padding-right: 0; }
.data-table td { padding: 16px 14px; border-bottom: 1px solid #dfdbd1; vertical-align: top; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.station-cell { display: grid; min-width: 132px; }
.station-cell strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; letter-spacing: .05em; }
.station-cell span { color: var(--muted); font-size: 11px; }
.time-cell { min-width: 144px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; white-space: nowrap; }
.time-cell small { display: block; margin-top: 2px; color: var(--muted); font-family: inherit; font-size: 10px; }
.delay-cell { min-width: 115px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; }
.report-cell { min-width: 290px; }
.report-summary { display: flex; align-items: flex-start; gap: 8px; }
.report-summary code { overflow: hidden; max-width: 430px; color: var(--ink-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.report-summary button { flex: 0 0 auto; padding: 2px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--blue); font-size: 10px; }
.report-full { display: none; margin: 9px 0 0; padding: 10px; color: var(--ink-soft); background: var(--paper); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; line-height: 1.55; white-space: normal; }
.report-full.open { display: block; }
.flag-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.flag { padding: 2px 5px; color: var(--ink-soft); background: var(--paper-deep); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.flag.correction { color: #713b22; background: var(--amber-pale); }
.loading-row td { padding: 30px 0; color: var(--muted); text-align: center; }
.table-note { max-width: 740px; margin: 14px 0 0; color: var(--muted); font-size: 11px; }

.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 54px; background: var(--line); border: 1px solid var(--line); }
.proof-grid article { padding: 30px; background: var(--paper); }
.proof-grid article:last-child { background: #eeeae1; }
.proof-grid p:last-child { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.mini-label { margin-bottom: 13px; font-size: 9px; }

.functions-section { padding-bottom: 92px; }
.function-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 45px; background: var(--line); border: 1px solid var(--line); }
.function-card { min-height: 260px; padding: 27px 24px; background: var(--paper); }
.function-number { display: block; margin-bottom: 68px; color: var(--amber); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.function-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.architecture-section { color: #e8edef; background: var(--ink); }
.architecture-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: center; }
.architecture-copy .eyebrow { color: #78aabd; }
.architecture-copy p:not(.eyebrow) { color: #b4c0c5; }
.check-list { display: grid; gap: 8px; margin: 25px 0 27px; padding: 0; list-style: none; color: #d3dbde; font-size: 13px; }
.check-list li { position: relative; padding-left: 18px; }
.check-list li::before { content: ""; position: absolute; top: .65em; left: 0; width: 7px; height: 1px; background: #dc985c; }
.inline-link { color: #edb47f; font-size: 12px; font-weight: 750; text-underline-offset: 4px; }

.architecture-flow { padding: 29px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.025); }
.flow-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.flow-sources div { padding: 15px; border: 1px solid rgba(255,255,255,.18); font-family: Georgia, "Times New Roman", serif; font-size: 16px; }
.flow-sources span { display: block; margin-bottom: 4px; color: #8ca1aa; font-family: inherit; font-size: 8px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.flow-node { position: relative; padding: 17px 18px 16px 47px; border: 1px solid rgba(255,255,255,.18); }
.flow-node > span { position: absolute; top: 18px; left: 17px; color: #d48a4b; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; }
.flow-node strong { display: block; font-size: 13px; }
.flow-node small { display: block; margin-top: 3px; color: #82939c; font-size: 10px; }
.flow-wide { background: rgba(46,111,137,.13); }
.flow-output { border-color: rgba(212,138,75,.5); background: rgba(200,114,43,.09); }
.flow-arrow { position: relative; width: 1px; height: 28px; margin: 0 auto; background: rgba(255,255,255,.25); }
.flow-arrow::after { content: ""; position: absolute; bottom: 0; left: -3px; width: 6px; height: 6px; border-right: 1px solid rgba(255,255,255,.45); border-bottom: 1px solid rgba(255,255,255,.45); transform: rotate(45deg); }

.evaluation-section { background: var(--white); }
.evaluation-heading { align-items: end; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; border-top: 2px solid var(--ink); list-style: none; counter-reset: phase; }
.timeline li { min-height: 225px; padding: 28px 27px 25px 0; border-right: 1px solid var(--line); }
.timeline li + li { padding-left: 27px; }
.timeline li:last-child { border-right: 0; }
.timeline-days { margin-bottom: 48px; color: var(--blue); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 750; }
.timeline p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.evaluation-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 45px; color: #e9eff0; background: var(--ink); }
.evaluation-facts div { min-height: 138px; padding: 22px; border-right: 1px solid rgba(255,255,255,.14); }
.evaluation-facts div:last-child { border-right: 0; }
.evaluation-facts span, .evaluation-facts small { display: block; color: #93a4ac; font-size: 9px; }
.evaluation-facts span { min-height: 35px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.evaluation-facts strong { display: block; margin-bottom: 5px; font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-weight: 500; }

.coverage-layout { display: grid; grid-template-columns: .67fr 1.33fr; gap: 82px; align-items: start; }
.coverage-copy { position: sticky; top: 125px; }
.coverage-copy p:last-child { color: var(--muted); }
.station-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.station-list > div { display: grid; grid-template-columns: 62px 1fr; gap: 2px 14px; padding: 18px 15px; border-bottom: 1px solid var(--line); }
.station-list > div:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
.station-list strong { grid-row: 1 / span 2; color: var(--blue); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .05em; }
.station-list span { font-size: 14px; font-weight: 650; }
.station-list small { color: var(--muted); font-size: 10px; }

.controls-section { background: var(--paper-deep); }
.controls-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 82px; }
.controls-layout > div:first-child > p:last-child { color: var(--muted); }
.control-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.control-cards article { min-height: 178px; padding: 24px; background: var(--white); }
.control-cards p { margin-bottom: 0; color: var(--muted); font-size: 13px; }

.contact-section { padding: 100px 0; color: #e7edef; background: var(--ink); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.contact-copy .eyebrow { color: #85b2c3; }
.contact-copy > p:not(.eyebrow) { color: #afbdc3; }
.contact-requirements { margin: 35px 0 0; }
.contact-requirements div { display: grid; grid-template-columns: 100px 1fr; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact-requirements dt { color: #7f939d; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-requirements dd { margin: 0; font-size: 12px; }
.contact-form { padding: 31px; color: var(--ink); background: var(--white); }
.contact-form label { display: grid; gap: 7px; margin-bottom: 19px; font-size: 11px; font-weight: 750; letter-spacing: .04em; }
.contact-form label span { color: var(--muted); font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; font-weight: 400; }
.contact-form input { height: 42px; }
.contact-form textarea { min-height: 116px; padding-top: 10px; border: 1px solid var(--line); resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 1px 0 var(--blue); }
.contact-form [aria-invalid="true"] { border-color: var(--red); box-shadow: 0 1px 0 var(--red); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.form-foot p { max-width: 380px; margin: 0; color: var(--muted); font-size: 10px; }
.form-foot a { color: var(--ink); }
.form-status { margin: 14px 0 0; font-size: 12px; }
.form-status.success { color: var(--green); }
.form-status.error { color: var(--red); }

.site-footer { padding: 44px 0; color: #b5c0c5; background: #09151d; border-top: 1px solid rgba(255,255,255,.1); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 50px; }
.footer-brand { display: grid; }
.footer-brand strong { color: #eef2f3; font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-weight: 500; }
.footer-brand span { color: #71858f; font-size: 11px; }
.footer-links { display: flex; align-items: start; gap: 22px; }
.footer-links a { color: #c2ccd0; font-size: 11px; text-decoration: none; }
.legal-line, .source-line { margin: 0; color: #71858f; font-size: 9px; }
.source-line { max-width: 700px; justify-self: end; text-align: right; }

.privacy-main { min-height: 70vh; padding: 80px 0 110px; }
.privacy-document { max-width: 780px; }
.privacy-document h1 { font-size: clamp(44px, 6vw, 68px); }
.privacy-document h2 { margin: 48px 0 14px; font-size: 28px; }
.privacy-document h3 { margin-top: 28px; }
.privacy-document p, .privacy-document li { color: var(--ink-soft); }
.privacy-document .document-meta { margin-bottom: 42px; color: var(--muted); font-size: 12px; }
.privacy-document a { color: var(--blue); }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 780px); }
  .primary-nav a:not(.nav-contact) { display: none; }
  .hero { padding-top: 68px; }
  .hero-grid, .architecture-layout, .coverage-layout, .controls-layout, .contact-layout { grid-template-columns: 1fr; gap: 54px; }
  .hero-instrument { max-width: 560px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .source-chip { justify-self: start; }
  .metric-grid, .evaluation-facts { grid-template-columns: 1fr 1fr; }
  .metric-card:nth-child(2), .evaluation-facts div:nth-child(2) { border-right: 0; }
  .metric-card:nth-child(-n+2), .evaluation-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .function-grid { grid-template-columns: 1fr 1fr; }
  .function-card { min-height: 210px; }
  .function-number { margin-bottom: 45px; }
  .coverage-copy { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .source-line { justify-self: start; text-align: left; }
}

@media (max-width: 660px) {
  :root { --shell: calc(100% - 28px); }
  .header-inner { min-height: 66px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand strong { font-size: 15px; }
  .primary-nav .nav-contact { padding: 7px 10px; }
  .hero { padding: 55px 0 60px; }
  h1 { font-size: 46px; }
  h2 { font-size: 37px; }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .scope-list { display: grid; }
  .hero-instrument { padding: 19px; }
  .time-stack dd { font-size: 14px; }
  .position-grid { grid-template-columns: 1fr; }
  .position-grid div, .position-grid div:first-child { padding: 16px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .position-grid div:last-child { border-bottom: 0; }
  .section { padding: 76px 0; }
  .notice { grid-template-columns: 1fr; gap: 5px; }
  .metric-grid, .evaluation-facts, .function-grid, .proof-grid, .timeline, .station-list, .control-cards, .field-row { grid-template-columns: 1fr; }
  .metric-card { min-height: 125px; border-right: 0; border-bottom: 1px solid var(--line); }
  .metric-card:nth-child(3) { border-bottom: 1px solid var(--line); }
  .metric-card:last-child { border-bottom: 0; }
  .proof-grid { gap: 1px; }
  .function-card { min-height: auto; }
  .function-number { margin-bottom: 25px; }
  .flow-row { grid-template-columns: 1fr; }
  .timeline li, .timeline li + li { min-height: auto; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline-days { margin-bottom: 24px; }
  .evaluation-facts div { min-height: 110px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .evaluation-facts div:nth-child(3) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .station-list > div, .station-list > div:nth-child(odd) { padding-left: 0; border-right: 0; }
  .contact-form { padding: 22px 18px; }
  .form-foot { align-items: stretch; flex-direction: column; }
  .footer-links { grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .hero-actions, .text-button, .contact-section { display: none !important; }
  body { background: white; }
  body::before { display: none; }
  .section { padding: 48px 0; break-inside: avoid; }
}
