*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #0a0a0a;
  --fg: #ececec;
  --muted: #8b8b8b;
  --faint: #5c5c5c;
  --hl: #e8c14a;
  --frame: 1040px;
  --gutter: clamp(36px, 6vw, 72px);
}

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.slide {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12vh var(--gutter) 10vh;
}

.frame {
  width: 100%;
  max-width: var(--frame);
  margin-inline: auto;
  min-width: 0;
}

.kicker {
  position: fixed;
  top: 5.5vh;
  left: max(var(--gutter), calc(50vw - var(--frame) / 2));
  margin: 0;
  z-index: 2;
  color: var(--faint);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.points {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.points li {
  display: flex;
  align-items: baseline;
  gap: 22px;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 450;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.points b {
  flex: 0 0 1.4em;
  color: var(--faint);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.table {
  width: 100%;
  margin-top: clamp(36px, 6vh, 56px);
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.table th {
  padding: 0 0 16px;
  border-bottom: 1px solid #333;
  color: var(--faint);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
}

.table td {
  padding: clamp(20px, 3.2vh, 30px) 0;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 450;
  letter-spacing: -0.03em;
  line-height: 1.25;
  white-space: nowrap;
}

.table tbody tr + tr td { border-top: 1px solid #333; }

.table th:not(:first-child),
.table td:not(:first-child) {
  padding-left: clamp(24px, 4vw, 56px);
  text-align: right;
}

/* Published estimates read slightly quieter than internal actuals. */
.table tbody tr { color: #c2c2c2; }
.table tbody tr.actual { color: #ffffff; }
.table td.na { color: var(--faint); }

.footnote {
  margin: 28px 0 0;
  max-width: 64ch;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.nav {
  position: fixed;
  right: 28px;
  bottom: 24px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.nav a {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
  text-indent: -999px;
  overflow: hidden;
}

.nav a.is-on { background: #ececec; }

/* Small screens (matches babygrok): top-align and let the slide scroll
   vertically if content doesn't fit. Never scroll horizontally. */
@media (max-width: 860px) {
  html, body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .slide {
    justify-content: flex-start;
    padding: 14vh var(--gutter) 12vh;
  }

  h1 { font-size: clamp(26px, 7.5vw, 34px); }

  .points { margin-top: 28px; gap: 14px; }
  .points li { font-size: clamp(16px, 4.5vw, 20px); gap: 14px; }

  .table { margin-top: 28px; }

  .table th {
    padding-bottom: 12px;
    font-size: 11px;
  }

  .table td {
    padding: 16px 0;
    font-size: clamp(13px, 3.9vw, 18px);
    white-space: normal;
  }

  .table th:not(:first-child),
  .table td:not(:first-child) { padding-left: 12px; }
}

  .footnote {
    margin-top: 22px;
    font-size: 12px;
  }
}
