:root {
  --bg: #eef2f5;
  --surface: #ffffff;
  --text: #16202a;
  --muted: #627083;
  --line: #d7dee6;
  --green: #147a5c;
  --blue: #2459a6;
  --amber: #996a00;
  --shadow: 0 14px 34px rgba(22, 32, 42, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.deck {
  display: grid;
  gap: 22px;
  width: min(1180px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 22px 0;
}

.slide {
  min-height: min(720px, calc(100vh - 44px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 56px);
}

.title-slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: end;
  background: #18212b;
  color: #ffffff;
}

.title-slide p,
.title-slide aside {
  color: #c7d1dc;
}

.title-slide aside {
  border: 1px solid #334455;
  border-radius: 8px;
  padding: 18px;
  background: #202c38;
}

.title-slide aside strong,
.title-slide aside a {
  display: block;
}

.title-slide aside a {
  margin-top: 8px;
  color: #ffffff;
}

.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.title-slide .eyebrow {
  color: #99c7ff;
}

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

h1 {
  margin-bottom: 10px;
  font-size: clamp(46px, 9vw, 96px);
  line-height: 0.95;
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.02;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

p {
  max-width: 860px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.principle-grid,
.matrix,
.artifact-grid,
.roadmap {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.principle-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.matrix,
.artifact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.principle-grid div,
.matrix article,
.artifact-grid div,
.roadmap article {
  min-height: 130px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #f7fafc;
}

.principle-grid strong,
.artifact-grid strong,
.roadmap strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.principle-grid span,
.artifact-grid span,
.roadmap span,
.roadmap em,
.matrix p,
.gate-list {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.chain {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.chain li {
  display: grid;
  min-height: 88px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #f7fafc;
  font-weight: 800;
  text-align: center;
}

.gate-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.gate-list li {
  border-left: 6px solid var(--green);
  border-radius: 8px;
  padding: 16px;
  background: #edf7f2;
  color: var(--text);
  font-weight: 800;
}

.roadmap {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.roadmap article strong {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  display: grid;
  place-items: center;
}

.roadmap article em {
  display: inline-block;
  margin-top: 12px;
  color: var(--amber);
  font-style: normal;
  font-weight: 800;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.cta-row a {
  border-radius: 8px;
  padding: 12px 16px;
  background: var(--green);
  color: #ffffff;
}

@media (max-width: 820px) {
  .title-slide,
  .principle-grid,
  .matrix,
  .artifact-grid,
  .chain,
  .gate-list,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .slide {
    min-height: auto;
  }
}
