:root {
  color-scheme: light;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-strong: #edf4f8;
  --ink: #18242c;
  --muted: #485963;
  --line: #d7e0e5;
  --accent: #116b68;
  --accent-strong: #0d4f4d;
  --warm: #8f3a22;
  --warning: #efd2cc;
  --warning-ink: #8e2525;
  --focus: #1f7dd6;
  --shadow: 0 10px 28px rgba(31, 54, 70, 0.08);
  font-family: Aptos, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: #e5eff2;
  border-bottom: 1px solid #bdd0d8;
  box-shadow: 0 1px 0 rgba(24, 36, 44, 0.04);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.98rem;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid rgba(17, 107, 104, 0.28);
  box-shadow: 0 1px 0 rgba(24, 36, 44, 0.06);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  inset: 5px 11px;
  background: linear-gradient(135deg, #116b68, #b25535);
  border-radius: 2px;
}

.brand-mark::after {
  inset: 11px 5px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 800;
  background: #ffffff;
  border: 1px solid rgba(17, 107, 104, 0.32);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(24, 36, 44, 0.04);
  text-decoration: none;
}

.nav-links a:hover {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.section-band {
  padding: 68px clamp(18px, 4vw, 48px);
}

.section-band > * {
  max-width: 1180px;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  align-items: start;
  gap: clamp(32px, 6vw, 84px);
  min-height: auto;
  padding-top: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(18px, 2vw, 28px);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
}

.hero > * {
  margin: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--warm);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5.5vw, 5.8rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.lede {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.urgent-panel {
  position: relative;
  display: grid;
  gap: 4px;
  max-width: 760px;
  margin-top: 28px;
  padding: 18px 20px;
  background: #fff0e8;
  border: 2px solid #de765d;
  border-radius: 8px;
  box-shadow: inset 6px 0 0 #a33d27;
}

.urgent-panel span {
  max-width: 70ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.action-button,
.decision-link,
.inline-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: var(--accent-strong);
  font-weight: 900;
  background: #ffffff;
  border: 2px solid rgba(17, 107, 104, 0.24);
  border-radius: 8px;
  text-decoration: none;
}

.action-button.primary {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.action-button:hover,
.decision-link:hover,
.inline-actions a:hover {
  color: #ffffff;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.route-map {
  position: relative;
  display: grid;
  gap: 14px;
  width: auto;
  max-width: 480px;
  min-width: 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.route-node {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 6px 14px;
  align-items: center;
  padding: 14px;
  background: #fbfdfe;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.route-node span {
  display: grid;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  grid-row: span 2;
  color: #ffffff;
  font-weight: 900;
  background: var(--accent);
  border-radius: 50%;
}

.route-node small {
  min-width: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.route-node.active {
  border-color: rgba(17, 107, 104, 0.42);
  background: var(--surface-strong);
}

.route-line {
  width: 2px;
  height: 20px;
  margin-left: 31px;
  background: var(--line);
}

.now-section {
  background: #18242c;
  color: #ffffff;
}

.now-header {
  margin-bottom: 22px;
}

.now-section .eyebrow {
  color: #f0c9be;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.decision-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 22px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.decision-card::before {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
}

.decision-card.danger::before {
  background: #ffffff;
  border: 2px solid var(--warning-ink);
}

.decision-card.crisis::before {
  background: var(--accent);
}

.decision-card.planned::before {
  background: var(--warm);
}

.decision-card p,
.decision-card span {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
}

.decision-card span {
  font-size: 0.94rem;
}

.decision-link {
  align-self: flex-start;
  margin-top: auto;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.inline-actions a {
  min-height: 42px;
  padding: 0 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  background: #ffffff;
}

.split > * {
  margin: 0;
}

.split p {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.04rem;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.path-card,
.process-grid article {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border-color: #b9ccd4;
  box-shadow: 0 1px 0 rgba(24, 36, 44, 0.05);
}

.path-card p,
.process-grid p,
.notes p,
.question-list li,
.sources li {
  max-width: 68ch;
  color: var(--muted);
}

.path-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 900;
  border-radius: 8px;
}

.path-icon.emergency {
  background: var(--warning);
  color: var(--warning-ink);
}

.path-icon.crisis {
  background: #4b6f8f;
}

.path-icon.voluntary {
  background: var(--accent);
}

.path-icon.support {
  background: var(--warm);
}

.process {
  background: #eef0ed;
  border-top: 1px solid #d6d7d1;
  border-bottom: 1px solid #d0d3cc;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.step {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: #73301d;
  font-size: 0.84rem;
  font-weight: 800;
  background: #f7e1db;
  border: 1px solid #e7bfb4;
  border-radius: 6px;
}

.process-grid h3,
.process-grid p {
  margin: 0;
}

.resource-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding-top: 60px;
  padding-bottom: 64px;
  background: #f0eee8;
  border-top: 1px solid #ddd7cd;
  border-bottom: 1px solid #d7d0c5;
}

.resource-section > * {
  margin: 0;
}

.resource-copy p {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.resource-list {
  display: grid;
  gap: 10px;
}

.resource-list a {
  display: grid;
  gap: 3px;
  padding: 18px 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(17, 107, 104, 0.3);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(24, 36, 44, 0.04);
  text-decoration: none;
}

.resource-list a:hover {
  border-color: rgba(17, 107, 104, 0.45);
}

.resource-list span {
  color: var(--muted);
  font-weight: 500;
}

.checklist-section {
  padding-top: 60px;
  background: #f4f0eb;
  border-top: 1px solid #dacbc2;
  border-bottom: 1px solid #d7d0c8;
}

.checklist-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: 980px;
  margin-bottom: 22px;
}

.checklist-heading > * {
  margin-left: 0;
  margin-right: 0;
}

.text-button,
.copy-button {
  min-height: 40px;
  padding: 0 14px;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.text-button:hover,
.copy-button:hover {
  background: var(--accent-strong);
}

.checklist {
  display: grid;
  gap: 10px;
  max-width: 980px;
}

.checklist label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #bdced7;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(24, 36, 44, 0.04);
}

.checklist input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.checklist label:has(input:checked) {
  color: var(--muted);
  background: var(--surface-strong);
  text-decoration: line-through;
  text-decoration-thickness: 0.08em;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
  gap: clamp(28px, 6vw, 72px);
  padding-top: 88px;
  padding-bottom: 88px;
  background:
    linear-gradient(90deg, rgba(178, 85, 53, 0.34), rgba(178, 85, 53, 0) 46%),
    linear-gradient(180deg, #111b22, #18242c);
  border-top: 1px solid #0f1a21;
  border-bottom: 1px solid #0f1a21;
}

.two-column > * {
  margin: 0;
}

.script-column h2 {
  position: relative;
  max-width: 760px;
  margin-bottom: 28px;
  color: #ffffff;
  font-size: clamp(2.5rem, 5.2vw, 4.35rem);
}

.script-column h2::after {
  display: block;
  width: 104px;
  height: 6px;
  margin-top: 18px;
  content: "";
  background: #d77757;
  border-radius: 999px;
}

.script-box {
  position: relative;
  margin-top: 18px;
  padding: 28px 94px 28px 56px;
  background:
    linear-gradient(90deg, #d77757 0 8px, rgba(215, 119, 87, 0) 8px),
    linear-gradient(90deg, rgba(239, 210, 204, 0.52), rgba(255, 255, 255, 0) 48%),
    #ffffff;
  border: 2px solid #e0b8ab;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(5, 15, 20, 0.22);
}

.script-box::before {
  position: absolute;
  top: 17px;
  left: 20px;
  color: #b25535;
  content: "\201C";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  line-height: 1;
}

.script-box p {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 500;
}

.copy-button {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.question-list {
  padding: 0 0 24px;
  color: var(--ink);
  background: #ffffff;
  border: 2px solid #82b0b2;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(5, 15, 20, 0.22);
  overflow: hidden;
}

.question-list h3 {
  margin: 0;
  padding: 18px 24px;
  color: #ffffff;
  background: var(--accent);
}

.question-list li::marker {
  color: var(--accent);
}

.question-list ul,
.sources ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.question-list ul {
  margin: 18px 24px 0;
}

.notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  background: #ffffff;
}

.notes > * {
  margin: 0;
}

.note-card {
  position: relative;
  padding: 28px 30px 30px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(24, 36, 44, 0.05);
}

.note-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  content: "";
}

.limit-note {
  background:
    linear-gradient(90deg, rgba(239, 210, 204, 0.42), rgba(255, 255, 255, 0) 50%),
    #fff8f6;
  border: 1px solid #efc8bd;
}

.limit-note::before {
  background: #b25535;
}

.coverage-note {
  background: #f5f8f7;
  border: 1px solid #a9c5cb;
}

.coverage-note::before {
  background: var(--accent);
}

.sources {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
  background: #eceee9;
  border-top: 1px solid #d6d8d1;
}

.sources > * {
  margin: 0;
}

.sources-header {
  display: grid;
  gap: 14px;
}

.sources-header h2 {
  margin: 0;
}

.source-panel {
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid #b8ccd4;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(24, 36, 44, 0.05);
}

.source-panel ul {
  margin: 0;
}

.source-panel li::marker {
  color: var(--accent);
}

.policy-page {
  background: #f3f0ea;
}

.policy-shell {
  display: grid;
  gap: 22px;
  max-width: 980px;
}

.policy-header {
  max-width: 780px;
}

.policy-header p {
  max-width: 68ch;
  color: #33434c;
  font-size: 1.08rem;
}

.policy-card {
  padding: clamp(22px, 4vw, 34px);
  background: #ffffff;
  border: 1px solid #bdced7;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(24, 36, 44, 0.05);
}

.policy-card h2 {
  margin-top: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.policy-card h3 {
  margin-top: 24px;
}

.policy-card p,
.policy-card li {
  max-width: 76ch;
  color: var(--muted);
}

.policy-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.policy-callout {
  padding: 18px 20px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(239, 210, 204, 0.5), rgba(255, 255, 255, 0) 46%),
    #fff7f5;
  border: 1px solid #efc8bd;
  border-radius: 8px;
}

.updated {
  color: #33434c;
  font-size: 0.92rem;
}

.footer {
  padding: 22px clamp(18px, 4vw, 48px);
  color: #ffffff;
  background: #18242c;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer p {
  max-width: 75ch;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  white-space: nowrap;
}

.footer-links a {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split,
  .two-column,
  .notes,
  .resource-section,
  .sources {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .route-map {
    width: 100%;
  }

  .path-grid,
  .process-grid,
  .decision-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .section-band {
    padding-top: 48px;
    padding-bottom: 48px;
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .checklist-heading {
    align-items: start;
    flex-direction: column;
  }

  .script-box {
    padding: 62px 20px 22px;
  }

  .script-box::before {
    display: none;
  }

  .copy-button {
    left: 14px;
    right: auto;
  }
}
