/* Public research landing page. Preserve-mode direction: trust-first, low motion,
   system fonts, sharp geometry, and one lime brand accent. */

:root {
  color-scheme: light dark;
  --page-bg: #f4f1e8;
  --surface: #fffdf7;
  --surface-muted: #e6ebe2;
  --surface-strong: #dce5dc;
  --text: #12251f;
  --text-muted: #45564f;
  --rule: #9ca89f;
  --brand: #174f3e;
  --brand-deep: #0d382b;
  --accent: #d9f56f;
  --accent-ink: #173128;
  --action-bg: #174f3e;
  --action-text: #fffdf7;
  --error: #872f24;
  --focus: #174f3e;
  --page-shadow: rgba(18, 37, 31, .13);
  --ink: var(--text);
  --muted: var(--text-muted);
  --paper: var(--page-bg);
  --panel: var(--surface);
  --line: var(--rule);
  --green: var(--brand);
  --green-2: var(--brand-deep);
  --mint: var(--accent);
  --red: var(--error);
}

body { background: var(--page-bg); color: var(--text); }
h1, h2, h3, h4, p, dl, dd { margin-top: 0; }
p, li, dd { overflow-wrap: anywhere; }
section { scroll-margin-top: 20px; }

.skip-link {
  position: fixed;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border: 1px solid var(--accent);
  background: var(--brand-deep);
  color: #f4f1e8;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.eyebrow,
.fixture-note,
.boundary-band dt,
.source-notes strong,
.plan-terms dt,
.notify-label {
  font-family: var(--font-mono);
}

.eyebrow {
  max-width: 58ch;
  margin-bottom: 13px;
  color: var(--brand);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.nav-cta,
.button,
.notify-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--action-bg);
  border-radius: 0;
  background: var(--action-bg);
  color: var(--action-text);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 120ms ease, color 120ms ease, transform 120ms ease;
}
.nav-cta { min-height: 42px; padding-inline: 15px; font-size: .78rem; }
.nav-cta:hover,
.button:hover,
.notify-button:hover { background: var(--brand-deep); color: #fffdf7; text-decoration: none; }
.nav-cta:active,
.button:active,
.notify-button:active { transform: translateY(1px); }

.hero {
  display: grid;
  min-height: calc(100dvh - 72px);
  align-items: center;
  padding: clamp(32px, 5vh, 58px) 0;
  border-bottom: 1px solid var(--rule);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}
.hero-copy { min-width: 0; }
h1 {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 4.5vw, 4rem);
  font-weight: 760;
  line-height: .98;
  letter-spacing: -.058em;
  text-wrap: balance;
}
.hero-lead {
  max-width: 37rem;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.55;
}
.hero-visual {
  margin: 0;
  border: 1px solid var(--brand);
  background: #f4f1e8;
  box-shadow: 16px 16px 0 var(--page-shadow);
}
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.boundary-band {
  border-bottom: 1px solid var(--rule);
  background: var(--surface-muted);
}
.boundary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(34px, 6vw, 84px);
  padding-block: 28px;
}
.boundary-summary {
  display: grid;
  grid-template-columns: minmax(130px, .34fr) minmax(0, .66fr);
  gap: 24px;
  margin: 0;
  align-items: baseline;
}
.boundary-summary strong { font-size: .98rem; }
.boundary-summary span { color: var(--text-muted); font-size: .86rem; }
.boundary-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin: 0;
}
.boundary-list div {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 16px;
  border-left: 4px solid var(--accent);
  padding-left: 14px;
}
.boundary-list dt {
  color: var(--text-muted);
  font-size: .67rem;
  font-weight: 700;
}
.boundary-list dd { margin: 0; font-size: .82rem; }

.concept { padding: clamp(70px, 9vw, 118px) 0; }
.concept-intro {
  max-width: 760px;
  margin-bottom: 48px;
}
h2 {
  margin-bottom: 17px;
  font-size: clamp(2.4rem, 4.5vw, 4.6rem);
  font-weight: 735;
  line-height: 1;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.concept-intro p,
.research-copy { max-width: 62ch; color: var(--text-muted); }
.fixture {
  border-top: 3px solid var(--brand);
  border-bottom: 1px solid var(--rule);
}
.fixture-header {
  display: grid;
  grid-template-columns: minmax(180px, .38fr) minmax(0, .62fr);
  gap: 32px;
  padding: 24px 0 30px;
  align-items: baseline;
}
.fixture-note {
  margin: 0;
  color: var(--text-muted);
  font-size: .72rem;
  line-height: 1.55;
}
.fixture-header h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.concept-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
  gap: clamp(42px, 6vw, 82px);
  padding: 42px 0 50px;
  border-top: 1px solid var(--rule);
}
.concept-grid h3,
.human-control h3 {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  line-height: 1.14;
  letter-spacing: -.035em;
}
.evidence-ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 34px;
  margin: 28px 0 0;
}
.evidence-ledger div {
  padding: 14px 0 16px;
  border-top: 1px solid var(--rule);
}
.evidence-ledger dt { margin-bottom: 5px; font-weight: 800; }
.evidence-ledger dd { margin: 0; color: var(--text-muted); font-size: .86rem; }
.source-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.source-notes li { border-left: 4px solid var(--accent); padding-left: 14px; }
.source-notes strong { display: block; margin-bottom: 6px; font-size: .72rem; }
.source-notes span { display: block; color: var(--text-muted); font-size: .76rem; }
.plan-story {
  align-self: start;
  padding: 28px;
  border: 1px solid var(--brand);
  background: var(--surface);
  box-shadow: 10px 10px 0 var(--page-shadow);
}
.work-list {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.work-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 13px 0;
  border-top: 1px solid var(--rule);
}
.work-list strong { font-size: .9rem; }
.work-list span { color: var(--text-muted); font: 700 .68rem/1.5 var(--font-mono); }
.plan-terms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 20px 0 0;
  border-top: 1px solid var(--rule);
}
.plan-terms div { padding: 12px 12px 0 0; }
.plan-terms dt { color: var(--text-muted); font-size: .66rem; }
.plan-terms dd { margin: 3px 0 0; font-size: .82rem; font-weight: 750; }
.proposal {
  margin: 24px 0 0;
  padding: 17px;
  border-left: 6px solid var(--accent);
  background: var(--surface-muted);
}
.proposal strong { display: block; margin-bottom: 4px; }
.proposal p { margin: 0; color: var(--text-muted); font-size: .82rem; }
.human-control {
  padding: 50px 0 8px;
  border-top: 1px solid var(--rule);
}
.human-control > p { max-width: 62ch; color: var(--text-muted); }
.decision-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.decision-actions li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.decision-actions b { font-size: .82rem; }
.decision-actions span { font-size: .88rem; }
.later-change,
.roles,
.no-change { max-width: 920px; }
.later-change {
  margin: 30px 0 0;
  color: var(--text-muted);
  font-size: .88rem;
}
.roles {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  color: var(--text-muted);
  font-size: .83rem;
}
.roles strong { color: var(--text); }
.no-change {
  margin: 22px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--brand);
  border-left: 8px solid var(--accent);
  background: var(--surface-muted);
  font-size: .86rem;
}

.research {
  padding: clamp(70px, 9vw, 108px) 0;
  border-top: 1px solid var(--rule);
  background: var(--surface-strong);
}
.research-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(390px, 1.22fr);
  gap: clamp(46px, 8vw, 112px);
  align-items: start;
}
.research h2 { max-width: 9ch; }
.research-copy { margin-bottom: 18px; }
.research-for {
  max-width: 52ch;
  margin: 0;
  padding-top: 17px;
  border-top: 1px solid var(--rule);
  color: var(--text-muted);
  font-size: .82rem;
}
.notify-form {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--brand);
  background: var(--surface);
  box-shadow: 12px 12px 0 var(--page-shadow);
}
.notify-form[aria-busy="true"] { border-left: 7px solid var(--accent); }
.notify-form h3 { margin-bottom: 7px; font-size: 1.35rem; letter-spacing: -.025em; }
.notify-form > p { color: var(--text-muted); font-size: .84rem; }
.notify-label {
  display: block;
  margin: 22px 0 8px;
  font-size: .7rem;
  font-weight: 750;
}
.notify-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.notify-fields input {
  min-width: 0;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--brand);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
}
.notify-fields input::placeholder { color: var(--text-muted); opacity: 1; }
.notify-button { cursor: pointer; }
.notify-button:disabled {
  border-color: var(--rule);
  background: var(--surface-muted);
  color: var(--text);
  cursor: wait;
}
.notify-status {
  min-height: 1.5em;
  margin: 9px 0 0 !important;
  color: var(--error) !important;
  font-size: .78rem !important;
  font-weight: 700;
}
.notify-status:empty { color: var(--text-muted) !important; }
.consent-note { margin: 8px 0 0 !important; color: var(--text-muted) !important; font-size: .74rem !important; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.site-footer .wrap { display: flex; justify-content: space-between; gap: 28px; }
.site-footer span { max-width: 46ch; }

@media (prefers-color-scheme: dark) {
  :root {
    --page-bg: #10241e;
    --surface: #173128;
    --surface-muted: #1c392f;
    --surface-strong: #203f35;
    --text: #eef2e9;
    --text-muted: #c3cec8;
    --rule: #667970;
    --brand: #a9c95a;
    --brand-deep: #d9f56f;
    --accent: #d9f56f;
    --accent-ink: #10241e;
    --action-bg: #d9f56f;
    --action-text: #10241e;
    --error: #ffb4a7;
    --focus: #d9f56f;
    --page-shadow: rgba(4, 14, 11, .46);
  }
  .eyebrow { color: var(--accent); }
  .nav-cta:hover,
  .button:hover,
  .notify-button:hover { background: var(--accent); color: var(--accent-ink); }
  .hero-visual { border-color: var(--rule); }
  .hero-visual img { filter: brightness(.84) contrast(1.06); }
  .skip-link { background: var(--accent); color: var(--accent-ink); }
}

@media (max-width: 900px) {
  .hero-grid,
  .concept-grid,
  .research-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 32px; }
  .hero-copy { max-width: 690px; }
  .hero-visual { width: min(100%, 690px); }
  .boundary-grid { grid-template-columns: 1fr; gap: 24px; }
  .boundary-list { grid-template-columns: 1fr; }
  .concept-grid { gap: 44px; }
  .plan-story { width: min(100%, 690px); }
  .research-grid { gap: 40px; }
  .notify-form { width: min(100%, 690px); }
}

@media (max-width: 767px) {
  .hero {
    min-height: calc(100dvh - 64px);
    padding: 28px 0 30px;
  }
  .hero-grid { gap: 24px; }
  h1 { max-width: none; margin-bottom: 14px; font-size: clamp(2.2rem, 10.4vw, 3rem); line-height: 1.02; text-wrap: wrap; }
  .hero-lead { margin-bottom: 19px; font-size: .96rem; line-height: 1.45; }
  .button { min-height: 46px; }
  .hero-visual { box-shadow: 8px 8px 0 var(--page-shadow); }
  .boundary-grid,
  .boundary-summary,
  .fixture-header { grid-template-columns: 1fr; }
  .boundary-grid { gap: 24px; padding-block: 24px; }
  .boundary-summary { gap: 5px; }
  .boundary-list div { grid-template-columns: 1fr; gap: 3px; }
  .concept,
  .research { padding-block: 64px; }
  .concept-intro { margin-bottom: 34px; }
  .fixture-header { gap: 10px; }
  .concept-grid { padding-block: 34px 40px; }
  .evidence-ledger,
  .source-notes,
  .decision-actions { grid-template-columns: 1fr; }
  .plan-story { padding: 22px; box-shadow: 7px 7px 0 var(--page-shadow); }
  .work-list li { grid-template-columns: 1fr; gap: 2px; }
  .decision-actions { margin-top: 24px; }
  .decision-actions li { grid-template-columns: 76px 1fr; }
  .notify-form { padding: 22px; box-shadow: 7px 7px 0 var(--page-shadow); }
  .notify-fields { grid-template-columns: 1fr; gap: 9px; }
  .notify-button { min-height: 48px; }
  .site-footer .wrap { flex-direction: column; gap: 12px; }
}

@media (max-width: 430px) {
  .nav-cta { padding-inline: 11px; font-size: .7rem; }
  .eyebrow { margin-bottom: 9px; font-size: .62rem; line-height: 1.4; }
  .hero { padding-block: 22px 24px; }
  .hero-grid { gap: 18px; }
  h1 { margin-bottom: 11px; font-size: 2.15rem; }
  .hero-lead { margin-bottom: 15px; font-size: .9rem; }
  .button { min-height: 43px; padding-inline: 15px; font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-cta,
  .button,
  .notify-button { transform: none !important; }
}
