:root {
  --bg: #f5f8f6;
  --paper: #ffffff;
  --ink: #162018;
  --muted: #5c6f61;
  --line: #d7e6dc;
  --accent: #03c75a;
  --accent-dark: #00b050;
  --accent-soft: #e9f8ef;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'NanumGothic', 'Nanum Gothic', system-ui, sans-serif;
  max-width: 100%;
  overflow-x: hidden;
}
.deck {
  padding: 24px;
  display: grid;
  gap: 24px;
  justify-content: center;
}
.slide-shell {
  width: min(100vw - 48px, 1920px);
  height: calc(min(100vw - 48px, 1920px) * 9 / 16);
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}
.slide {
  width: 1920px;
  height: 1080px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 72px 84px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 18px 40px rgba(31, 45, 90, 0.08);
  page-break-after: always;
  transform-origin: top left;
}
.hero, .closing {
  background: linear-gradient(135deg, #ffffff 0%, #eefaf3 100%);
}
.eyebrow, .section-kicker {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
}
h1 {
  font-family: 'NanumSquare', 'NanumSquareRound', system-ui, sans-serif;
  font-weight: 800;
  font-size: 88px;
  line-height: 0.95;
  margin: 0 0 20px;
}
h2 {
  font-family: 'NanumSquare', 'NanumSquareRound', system-ui, sans-serif;
  font-weight: 800;
  font-size: 54px;
  line-height: 1.04;
  margin: 0 0 24px;
}
h3 {
  font-family: 'NanumSquare', 'NanumSquareRound', system-ui, sans-serif;
  font-weight: 700;
  font-size: 30px;
  margin: 0 0 12px;
}
p, li {
  font-size: 32px;
  line-height: 1.5;
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: keep-all;
}
.subtitle {
  font-size: 34px;
  color: var(--muted);
  margin: 0 0 40px;
}
.lead {
  font-size: 34px;
  line-height: 1.45;
}
.hero-grid, .two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}
.card {
  background: #fbfcff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 30px;
}
.note {
  background: var(--accent-soft);
  border-color: #bfe9cf;
}
.compact-list li, .card li { font-size: 28px; }
.timeline {
  display: grid;
  gap: 22px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.timeline-item:first-child { border-top: 2px solid var(--accent); }
.time {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  padding-top: 6px;
}
.stack {
  display: grid;
  gap: 20px;
}
.paper-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 28px;
  background: #fff;
}
.paper-title { font-weight: 700; margin: 0 0 8px; }
.meta { color: var(--muted); font-size: 22px; margin: 0 0 10px; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.tags span {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}
.grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.big-list li { margin-bottom: 14px; }
.closing-links p { font-size: 28px; margin: 8px 0; color: var(--muted); }
.contact-card ul { padding-left: 22px; }
@media screen and (max-width: 900px) {
  .deck {
    padding: 12px;
    gap: 16px;
  }
  .slide-shell {
    width: calc(100vw - 24px);
    height: calc((100vw - 24px) * 9 / 16);
    border-radius: 18px;
  }
}
@media print {
  @page {
    size: 16in 9in;
    margin: 0;
  }
  html, body { background: #fff; }
  .deck { padding: 0; gap: 0; }
  .slide {
    width: 16in;
    min-height: 9in;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    page-break-after: always;
  }
}
