@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --paper: #f6f2e8;
  --white: #fffdf7;
  --ink: #0b1f33;
  --muted: #526274;
  --line: #b8c3ca;
  --blue: #0066b3;
  --cyan: #35c0c5;
  --yellow: #f6c445;
  --orange: #f06449;
  --green: #2d7d68;
  --navy: #071828;
  --base-font-size: 32px;
  --body-size: 17pt;
  --small-size: 12pt;
  --micro-size: 10pt;
  --title-size: 46pt;
  --heading-size: 31pt;
  --subhead-size: 20pt;
}

.reveal {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: var(--base-font-size);
  color: var(--ink);
}

.reveal-viewport { background: var(--paper); }
.reveal .slides { text-align: left; }

.reveal .slides section {
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  height: 100%;
  padding: 38px 58px 46px !important;
  text-align: left;
}

.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4 {
  color: var(--ink);
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0;
  text-transform: none;
}

.reveal h1 { font-size: var(--title-size); }
.reveal h2 { font-size: var(--heading-size); max-width: 980px; }
.reveal h3 { font-size: var(--subhead-size); }

.reveal p,
.reveal li,
.reveal td,
.reveal th,
.reveal blockquote {
  color: var(--ink);
  font-size: var(--body-size);
  line-height: 1.3;
}

.reveal p { margin: 0; }
.reveal strong { font-weight: 700; }
.reveal code,
.reveal pre {
  font-family: "IBM Plex Mono", monospace;
}

.reveal .slides section::after {
  background: var(--ink);
  bottom: 0;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  width: 100%;
}

.reveal .slide-number {
  background: transparent;
  bottom: 16px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9pt;
  right: 22px;
}

.section-divider {
  align-items: flex-start;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(53, 192, 197, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 192, 197, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  justify-content: center;
  overflow: hidden;
}

.reveal .slides section.section-divider h1 {
  color: var(--white);
  font-size: 54pt;
  max-width: 1000px;
}

.section-divider::before {
  background: var(--yellow);
  clip-path: polygon(42% 0, 100% 0, 100% 100%, 0 100%);
  content: "";
  height: 440px;
  position: absolute;
  right: 0;
  top: 140px;
  width: 260px;
}

.section-divider::after { background: var(--cyan) !important; height: 14px !important; }

.section-divider .subtitle {
  color: #c5d9e5;
  font-size: 19pt;
  margin-top: 20px;
  max-width: 770px;
}

.content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding-top: 24px;
}

.top-rule {
  background: var(--blue);
  height: 5px;
  margin: 16px 0 0;
  width: 86px;
}

.grid-2 { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.align-center { align-items: center; }
.align-start { align-items: start; }
.wide-left { grid-template-columns: 1.25fr 0.75fr; }
.wide-right { grid-template-columns: 0.8fr 1.2fr; }

.big-stat {
  color: var(--blue) !important;
  font-family: "Archivo Black", sans-serif;
  font-size: 80pt !important;
  letter-spacing: -0.06em;
  line-height: 0.9 !important;
}

.stat-label {
  color: var(--muted) !important;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13pt !important;
  margin-top: 16px !important;
  max-width: 490px;
}

.dataset-card,
.paper-card,
.panel,
.compare-card,
.tool-card,
.evidence-card {
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  box-sizing: border-box;
  padding: 20px;
}

.dataset-card { border-top: 12px solid var(--blue); }
.paper-card.yellow { border-top: 10px solid var(--yellow); }
.paper-card.cyan { border-top: 10px solid var(--cyan); }
.paper-card.orange { border-top: 10px solid var(--orange); }
.paper-card.green { border-top: 10px solid var(--green); }

.label {
  color: var(--muted) !important;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10pt !important;
  letter-spacing: 0.08em;
  margin-bottom: 8px !important;
  text-transform: uppercase;
}

.card-title { font-size: 19pt !important; font-weight: 700; line-height: 1.15 !important; }
.card-copy { color: var(--muted) !important; font-size: 13pt !important; margin-top: 10px !important; }

.prompt-card {
  background: var(--navy);
  border-left: 14px solid var(--yellow);
  box-sizing: border-box;
  color: var(--white);
  padding: 30px 34px;
  position: relative;
}

.prompt-card p { color: var(--white); font-size: 20pt; line-height: 1.4; }
.prompt-card .label { color: var(--yellow) !important; }

.prompt-card::after {
  color: var(--cyan);
  content: "↵";
  font-family: "IBM Plex Mono", monospace;
  font-size: 34pt;
  position: absolute;
  right: 26px;
  bottom: 12px;
}

.activity-log {
  background: var(--navy);
  border-top: 10px solid var(--cyan);
  box-sizing: border-box;
  padding: 20px 26px;
}

.activity-line {
  align-items: center;
  border-bottom: 1px solid #244055;
  display: grid;
  gap: 16px;
  grid-template-columns: 70px 185px 1fr;
  padding: 11px 0;
}

.activity-line:last-child { border-bottom: 0; }
.activity-line p { color: #d9e6ed; font-family: "IBM Plex Mono", monospace; font-size: 11.5pt; }
.activity-line .time { color: #6f8ea1; }
.activity-line .action { color: var(--yellow); font-weight: 600; }

.folder-window {
  background: var(--navy);
  border: 2px solid var(--ink);
  color: var(--white);
  min-height: 300px;
  padding: 18px 24px;
}

.window-dots { display: flex; gap: 8px; margin-bottom: 22px; }
.window-dot { border-radius: 50%; height: 11px; width: 11px; }
.window-dot.red { background: var(--orange); }
.window-dot.yellow { background: var(--yellow); }
.window-dot.green { background: var(--green); }
.folder-window p { color: #d5e2e9; font-family: "IBM Plex Mono", monospace; font-size: 13pt; line-height: 1.75; }
.folder-window .created { color: var(--cyan); font-weight: 600; }
.folder-window .quiet { color: #6f8ea1; }

.dashboard {
  background: #edf3f4;
  border: 3px solid var(--ink);
  box-shadow: 9px 9px 0 var(--ink);
  box-sizing: border-box;
  overflow: hidden;
}

.dashboard-head {
  align-items: center;
  background: var(--blue);
  display: flex;
  justify-content: space-between;
  padding: 13px 18px;
}

.dashboard-head p { color: white; font-size: 12pt; font-weight: 700; }
.dashboard-head .dash-date { font-family: "IBM Plex Mono", monospace; font-size: 9pt; font-weight: 400; }
.dashboard-body { padding: 16px 20px 18px; }
.metric-row { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin-bottom: 13px; }
.metric { background: white; border-left: 6px solid var(--yellow); padding: 10px 12px; }
.metric p { font-size: 9pt; }
.metric .metric-number { color: var(--blue); font-family: "Archivo Black", sans-serif; font-size: 20pt; }

.bars { display: flex; flex-direction: column; gap: 7px; }
.bar-row { align-items: center; display: grid; gap: 10px; grid-template-columns: 185px 1fr 58px; }
.bar-row p { font-size: 9.5pt; }
.bar-track { background: #d5dfe2; height: 18px; }
.bar-fill { background: var(--blue); height: 100%; }
.bar-row:nth-child(2) .bar-fill { background: var(--cyan); }
.bar-row:nth-child(3) .bar-fill { background: var(--orange); }
.bar-row:nth-child(4) .bar-fill { background: var(--yellow); }
.bar-row:nth-child(5) .bar-fill { background: var(--green); }
.bar-count { font-family: "IBM Plex Mono", monospace; text-align: right; }

.borough-strip { display: grid; gap: 7px; grid-template-columns: repeat(5, 1fr); margin-top: 12px; }
.borough { background: white; border-bottom: 5px solid var(--cyan); padding: 8px; text-align: center; }
.borough p { font-size: 8.5pt; }

.critique-list { display: grid; gap: 15px; grid-template-columns: 1fr 1fr; }
.critique {
  align-items: center;
  background: var(--white);
  border: 2px solid var(--line);
  display: grid;
  gap: 15px;
  grid-template-columns: 38px 1fr;
  padding: 16px;
}
.critique i { color: var(--blue); font-size: 22pt; text-align: center; }
.critique p { font-size: 14pt; }

.before-after { align-items: stretch; display: grid; gap: 18px; grid-template-columns: 1fr 76px 1fr; }
.arrow-box { align-items: center; display: flex; justify-content: center; }
.arrow-box i { color: var(--orange); font-size: 38pt; }

.evidence-strip { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.evidence-card { box-shadow: 4px 4px 0 var(--ink); min-height: 190px; }
.evidence-card i { color: var(--blue); font-size: 28pt; margin-bottom: 20px; }
.evidence-card p { font-size: 13pt; }
.evidence-card .label { margin-top: 12px !important; }

.action-chain { align-items: stretch; display: grid; gap: 10px; grid-template-columns: repeat(5, 1fr); }
.action-step { background: var(--ink); min-height: 160px; padding: 18px 15px; position: relative; }
.action-step p { color: var(--white); font-size: 13pt; }
.action-step .step-num { color: var(--yellow); font-family: "Archivo Black", sans-serif; font-size: 27pt; margin-bottom: 20px !important; }
.action-step:not(:last-child)::after { color: var(--orange); content: "→"; font-size: 22pt; position: absolute; right: -17px; top: 64px; z-index: 2; }

.question-wall { display: grid; gap: 13px; grid-template-columns: repeat(2, 1fr); }
.question-card { border-left: 7px solid var(--blue); background: var(--white); padding: 15px 18px; }
.question-card:nth-child(2) { border-color: var(--cyan); }
.question-card:nth-child(3) { border-color: var(--orange); }
.question-card:nth-child(4) { border-color: var(--yellow); }
.question-card:nth-child(5) { border-color: var(--green); }
.question-card p { font-size: 15pt; font-weight: 600; }

.compare-card { box-shadow: 5px 5px 0 var(--ink); min-height: 260px; }
.compare-card h3 { margin-bottom: 22px; }
.compare-card p { font-size: 14pt; margin-bottom: 14px; }
.compare-card.agent { border-top: 12px solid var(--cyan); }
.compare-card.chat { border-top: 12px solid var(--line); }
.compare-card.automation { border-top: 12px solid var(--yellow); }

.definition {
  border-left: 16px solid var(--cyan);
  color: var(--ink) !important;
  font-family: "Archivo Black", sans-serif;
  font-size: 29pt !important;
  line-height: 1.22 !important;
  padding-left: 28px;
}

.loop {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 52px 1fr 52px 1fr 52px 1fr;
}
.loop-node { background: var(--white); border: 3px solid var(--ink); min-height: 148px; padding: 18px; text-align: center; }
.loop-node i { color: var(--blue); font-size: 28pt; margin-bottom: 14px; }
.loop-node p { font-size: 14pt; font-weight: 600; }
.loop-arrow { color: var(--orange); font-size: 26pt; text-align: center; }

.persist-line { align-items: center; display: grid; gap: 28px; grid-template-columns: 0.8fr 1.2fr; }
.persist-icon { color: var(--blue); font-size: 94pt; text-align: center; }
.persist-copy p { font-size: 22pt; margin-bottom: 20px; }

.pause-stack { display: flex; flex-direction: column; gap: 16px; }
.pause-row { align-items: center; display: grid; gap: 18px; grid-template-columns: 170px 1fr; }
.pause-row .verb { background: var(--ink); color: var(--yellow); font-family: "IBM Plex Mono", monospace; font-size: 13pt; font-weight: 600; padding: 14px; text-align: center; }
.pause-row p { font-size: 15pt; }

.stack-diagram { display: grid; gap: 11px; grid-template-columns: 1fr; }
.stack-layer { align-items: center; border: 3px solid var(--ink); display: grid; gap: 24px; grid-template-columns: 220px 1fr; padding: 13px 20px; }
.stack-layer:nth-child(1) { background: var(--yellow); }
.stack-layer:nth-child(2) { background: var(--cyan); }
.stack-layer:nth-child(3) { background: var(--white); }
.stack-layer:nth-child(4) { background: #d7e2e8; }
.stack-layer h3 { font-size: 16pt; }
.stack-layer p { font-size: 13pt; }

.tool-card { box-shadow: 5px 5px 0 var(--ink); min-height: 260px; }
.tool-card i { color: var(--blue); font-size: 32pt; margin-bottom: 18px; }
.tool-card h3 { margin-bottom: 12px; }
.tool-card p { color: var(--muted); font-size: 13pt; }

.tool-call { background: var(--navy); border-left: 12px solid var(--cyan); padding: 22px 28px; }
.tool-call pre { box-shadow: none; font-size: 13pt; line-height: 1.55; margin: 0; width: 100%; }
.tool-call code { color: #d9e6ed; }
.tool-call .key { color: var(--cyan); }
.tool-call .value { color: var(--yellow); }

.permission-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.permission { background: var(--white); border-top: 10px solid var(--green); padding: 20px; }
.permission:nth-child(2) { border-color: var(--yellow); }
.permission:nth-child(3) { border-color: var(--orange); }
.permission i { color: var(--ink); font-size: 27pt; margin-bottom: 15px; }
.permission p { font-size: 13pt; }

.context-funnel { align-items: center; display: grid; gap: 18px; grid-template-columns: 1fr 120px 1fr; }
.context-sources { display: flex; flex-direction: column; gap: 10px; }
.context-source { background: var(--white); border-left: 7px solid var(--blue); padding: 11px 16px; }
.context-source p { font-size: 13pt; }
.funnel-arrow { color: var(--orange); font-size: 46pt; text-align: center; }
.model-box { background: var(--navy); border: 4px solid var(--cyan); padding: 42px 26px; text-align: center; }
.model-box i { color: var(--yellow); font-size: 43pt; margin-bottom: 18px; }
.model-box p { color: var(--white); font-size: 17pt; font-weight: 600; }

.authority-line { align-items: center; display: grid; gap: 22px; grid-template-columns: 1fr 100px 1fr; }
.authority-card { border: 3px solid var(--ink); min-height: 210px; padding: 23px; }
.authority-card.source { background: var(--white); }
.authority-card.boundary { background: var(--navy); }
.authority-card.boundary p,
.authority-card.boundary h3 { color: var(--white); }
.authority-card p { font-size: 14pt; margin-top: 18px; }
.not-equal { color: var(--orange); font-family: "Archivo Black", sans-serif; font-size: 39pt; text-align: center; }

.exit-ticket { background: var(--yellow); border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); padding: 32px 40px; }
.exit-ticket p { font-size: 24pt; font-weight: 600; line-height: 1.35; }

.source-note,
.footnote {
  bottom: 20px;
  color: var(--muted) !important;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5pt !important;
  left: 58px;
  position: absolute;
  right: 70px;
}

.accent-blue { color: var(--blue) !important; }
.accent-cyan { color: var(--cyan) !important; }
.accent-orange { color: var(--orange) !important; }
.muted { color: var(--muted) !important; }
.small { font-size: 13pt !important; }
.large { font-size: 23pt !important; line-height: 1.25 !important; }
.mono { font-family: "IBM Plex Mono", monospace !important; }
.center { text-align: center; }
.mt-12 { margin-top: 12px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-28 { margin-top: 28px !important; }
.mb-16 { margin-bottom: 16px !important; }

@media print {
  .reveal .slides section { break-after: page; }
}
