:root {
  --ink: #18222f;
  --muted: #536477;
  --quiet: #eef3f6;
  --line: #d7e1e7;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-deep: #0b4f4a;
  --warning: #9a5b00;
  --warning-bg: #fff4d9;
  --critical: #a43c3c;
  --critical-bg: #fff0f0;
  --blue: #2364aa;
  --blue-bg: #edf5ff;
  --shadow: 0 16px 40px rgba(24, 34, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: #f6f8fa;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

body {
  margin: 0;
}

a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration-color: rgba(15, 118, 110, 0.35);
  text-underline-offset: 4px;
}

.deck-banner {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: #172331;
  color: #fff;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.deck-banner span,
.deck-banner .home-link,
.boundary-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.deck-banner .home-link {
  color: #fff;
  text-decoration: none;
}

.deck-banner .home-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.deck {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 48px;
}

.slide {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: min(720px, calc(100vh - 96px));
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 48px);
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.08), transparent 42%),
    var(--panel);
  box-shadow: var(--shadow);
  page-break-after: always;
  break-after: page;
}

.slide::before {
  content: "Non-production POC | Synthetic demo data only | Not for clinical use | No CARE runtime validation | AI draft-only";
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: rgba(83, 100, 119, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.title-slide {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(35, 100, 170, 0.08) 46%, transparent),
    var(--panel);
}

.slide-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 4vw, 44px);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.25;
}

.subtitle,
.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.1vw, 1.45rem);
}

.title-grid,
.content-grid,
.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.purpose-panel,
.does-not-panel,
.future-panel,
.signal,
.journey-grid article,
.process-rail article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  padding: 20px;
}

.purpose-panel {
  border-top: 5px solid var(--accent);
}

.purpose-panel h2,
.does-not-panel h3,
.future-panel h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.boundary-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.boundary-row span {
  border-color: rgba(15, 118, 110, 0.28);
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent-deep);
}

.stack {
  display: grid;
  gap: 14px;
}

.signal {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
}

.signal span,
.process-rail span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-bg);
  color: var(--blue);
  font-weight: 800;
}

.signal p,
.process-rail p,
.journey-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.question-band,
.boundary-callout,
.presenter-note {
  margin-top: 28px;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  padding: 18px 20px;
  background: #eaf7f5;
  color: var(--accent-deep);
  font-weight: 700;
}

.boundary-callout {
  border-left-color: var(--critical);
  background: var(--critical-bg);
  color: #742929;
}

.two-column-list,
.check-list,
.does-not-panel ul,
.future-panel ul,
.next-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.15rem;
}

.two-column-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: center;
  padding: 0;
  list-style: none;
}

.two-column-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fbfdfe;
  color: var(--ink);
  font-weight: 700;
}

.does-not-panel {
  border-color: #f1c5c5;
  background: var(--critical-bg);
}

.does-not-panel h3 {
  color: var(--critical);
}

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

.process-rail article {
  display: grid;
  gap: 12px;
  min-height: 170px;
}

.future-panel {
  border-top: 5px solid var(--blue);
  background: var(--blue-bg);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #e9f2f1;
  color: var(--accent-deep);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.link-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  padding: 10px 16px;
  background: #eaf7f5;
  text-decoration: none;
}

.journey-grid {
  display: grid;
  gap: 14px;
}

.journey-grid article {
  border-left: 5px solid var(--accent);
}

.feedback-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 24px 0 0;
  padding-left: 1.3rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
}

.feedback-list li,
.next-list li {
  padding-left: 4px;
}

.next-list {
  color: var(--muted);
}

.presenter-note {
  border-left-color: var(--warning);
  background: var(--warning-bg);
  color: #6f4300;
}

@media (max-width: 860px) {
  .deck-banner {
    position: static;
    justify-content: flex-start;
  }

  .deck {
    width: min(100% - 20px, 760px);
    margin-top: 10px;
  }

  .slide {
    min-height: auto;
    padding: 24px;
  }

  .title-grid,
  .content-grid,
  .split-panel {
    grid-template-columns: 1fr;
  }

  .two-column-list,
  .process-rail,
  .feedback-list {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }
}

@media print {
  @page {
    size: landscape;
    margin: 0.35in;
  }

  html,
  body {
    background: #fff;
  }

  .deck-banner {
    position: static;
    box-shadow: none;
  }

  .deck {
    width: 100%;
    margin: 0;
  }

  .slide {
    min-height: calc(100vh - 0.7in);
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    page-break-after: always;
    break-after: page;
  }

  .slide:last-child {
    page-break-after: auto;
    break-after: auto;
  }

  a {
    color: var(--accent-deep);
  }
}
