/* ================================================================
   Understanding AI & LLMs — Slide Deck
   Visual DNA inherited from companion.html: dark navy + teal/indigo
   Re-tuned for live audience: bigger type, more whitespace, rhythm.
   ================================================================ */

:root {
  /* Surfaces */
  --bg-deep: #0a0e1a;
  --bg-card: #0f1626;
  --bg-card-hi: #131b2e;
  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.24);

  /* Text */
  --text: #e8edf7;
  --text-dim: #94a3b8;
  --text-muted: #64748b;
  --text-faint: #475569;

  /* Accents */
  --teal: #14b8a6;
  --teal-soft: rgba(20, 184, 166, 0.12);
  --teal-line: rgba(20, 184, 166, 0.35);
  --indigo: #818cf8;
  --indigo-soft: rgba(99, 102, 241, 0.14);
  --indigo-line: rgba(99, 102, 241, 0.4);
  --amber: #fbbf24;
  --amber-soft: rgba(245, 158, 11, 0.14);
  --amber-line: rgba(245, 158, 11, 0.4);
  --rose: #fb7185;
  --rose-soft: rgba(244, 63, 94, 0.12);
  --rose-line: rgba(244, 63, 94, 0.36);
  --emerald: #34d399;
  --emerald-soft: rgba(16, 185, 129, 0.12);
  --emerald-line: rgba(16, 185, 129, 0.36);
  --purple: #c084fc;
  --purple-soft: rgba(168, 85, 247, 0.12);
  --purple-line: rgba(168, 85, 247, 0.36);

  /* Tweakable */
  --accent: var(--teal);
  --accent-soft: var(--teal-soft);
  --accent-line: var(--teal-line);

  /* Geometry */
  --pad: 96px;
  --gutter: 48px;
  --radius: 18px;
  --radius-sm: 12px;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
}

/* ====== Slide base ====== */
deck-stage section {
  position: relative;
  width: 1920px;
  height: 1080px;
  background:
    radial-gradient(ellipse 70% 50% at 12% 8%, rgba(99, 102, 241, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 45% at 92% 92%, rgba(20, 184, 166, 0.08), transparent 60%),
    var(--bg-deep);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 1.45;
  overflow: hidden;
}

/* Default slide frame: outer padding + grid for header / body / footer */
.frame {
  position: absolute;
  inset: 0;
  padding: 72px var(--pad) 56px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 32px;
}

.frame.center {
  place-items: center;
  text-align: center;
}

/* ====== Slide chrome ====== */
.chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.chrome .module {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.chrome .module::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.chrome .num {
  font-variant-numeric: tabular-nums;
  color: var(--text-faint);
}

/* Hide chrome elements when tweaks turn them off */
.no-ribbon .chrome .module { visibility: hidden; }
.no-nums .chrome .num { visibility: hidden; }

/* ====== Typography ====== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

h1.hero {
  font-size: 140px;
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, #5eead4 0%, #818cf8 60%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

h1.title {
  font-size: 96px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}

h1.title.tight { font-size: 84px; }
h1.title.sm { font-size: 68px; }

h2.section {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

h3.card-h {
  font-size: 32px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.005em;
}

p.lede {
  font-size: 36px;
  line-height: 1.35;
  color: var(--text-dim);
  margin: 0;
  font-weight: 400;
  max-width: 1400px;
  text-wrap: pretty;
}

p.body {
  font-size: 28px;
  line-height: 1.5;
  color: var(--text-dim);
  margin: 0;
  text-wrap: pretty;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.accent { color: var(--accent); }
.dim { color: var(--text-dim); }
.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); }

strong { color: var(--text); font-weight: 600; }
em { font-style: normal; color: var(--accent); font-weight: 500; }

/* ====== Layout primitives ====== */
.stack { display: flex; flex-direction: column; }
.stack.s8  { gap: 8px; }
.stack.s12 { gap: 12px; }
.stack.s16 { gap: 16px; }
.stack.s24 { gap: 24px; }
.stack.s32 { gap: 32px; }
.stack.s48 { gap: 48px; }
.stack.s64 { gap: 64px; }

.row { display: flex; }
.row.between { justify-content: space-between; }
.row.center { align-items: center; }
.row.g24 { gap: 24px; }
.row.g48 { gap: 48px; }

.grid { display: grid; gap: 32px; }
.grid.g2 { grid-template-columns: 1fr 1fr; }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
.grid.g48 { gap: 48px; }

/* ====== Cards ====== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card.tight { padding: 28px; }
.card.lg { padding: 44px; }

.card.teal    { border-color: var(--teal-line);    box-shadow: inset 0 0 0 1px var(--teal-soft); }
.card.indigo  { border-color: var(--indigo-line);  box-shadow: inset 0 0 0 1px var(--indigo-soft); }
.card.amber   { border-color: var(--amber-line);   box-shadow: inset 0 0 0 1px var(--amber-soft); }
.card.rose    { border-color: var(--rose-line);    box-shadow: inset 0 0 0 1px var(--rose-soft); }
.card.emerald { border-color: var(--emerald-line); box-shadow: inset 0 0 0 1px var(--emerald-soft); }
.card.purple  { border-color: var(--purple-line);  box-shadow: inset 0 0 0 1px var(--purple-soft); }

.card .h {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}
.card.teal    .h { color: var(--teal); }
.card.indigo  .h { color: var(--indigo); }
.card.amber   .h { color: var(--amber); }
.card.rose    .h { color: var(--rose); }
.card.emerald .h { color: var(--emerald); }
.card.purple  .h { color: var(--purple); }

.card .body { color: var(--text-dim); font-size: 26px; line-height: 1.5; }
.card .body strong { color: var(--text); }

.card-dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: currentColor; box-shadow: 0 0 0 4px rgba(255,255,255,0.04);
}

/* ====== Big stat ====== */
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat .n {
  font-family: var(--font-mono);
  font-size: 96px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--text);
}

.stat .l {
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* ====== Tags / pills ====== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-line);
  white-space: nowrap;
}

.pill.teal    { background: var(--teal-soft);    color: var(--teal);    border-color: var(--teal-line); }
.pill.indigo  { background: var(--indigo-soft);  color: var(--indigo);  border-color: var(--indigo-line); }
.pill.amber   { background: var(--amber-soft);   color: var(--amber);   border-color: var(--amber-line); }
.pill.rose    { background: var(--rose-soft);    color: var(--rose);    border-color: var(--rose-line); }
.pill.emerald { background: var(--emerald-soft); color: var(--emerald); border-color: var(--emerald-line); }
.pill.purple  { background: var(--purple-soft); color: var(--purple); border-color: var(--purple-line); }

/* ====== Quote / callout ====== */
.quote {
  font-size: 56px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text);
  text-wrap: balance;
  font-weight: 500;
}

.quote em { color: var(--accent); }

/* ====== Numbered list ====== */
.numlist {
  display: flex;
  flex-direction: column;
  gap: 22px;
  counter-reset: numlist;
  margin: 0;
  padding: 0;
}

.numlist > li {
  list-style: none;
  position: relative;
  padding: 0 0 14px 84px;
  font-size: 28px;
  line-height: 1.35;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.numlist > li:last-child { border-bottom: none; padding-bottom: 0; }

.numlist > li::before {
  counter-increment: numlist;
  content: counter(numlist, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.numlist > li .d {
  display: block;
  color: var(--text-dim);
  font-size: 24px;
  margin-top: 8px;
  line-height: 1.4;
}

/* ====== Check / X list ====== */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.checklist li {
  list-style: none;
  position: relative;
  padding-left: 44px;
  font-size: 28px;
  line-height: 1.4;
  color: var(--text);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  color: var(--emerald);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
}

.checklist.x li::before {
  content: "✕";
  color: var(--rose);
}

.checklist.dot li::before {
  content: "·";
  font-size: 40px;
  line-height: 1;
  top: 4px;
  color: var(--accent);
}

/* ====== Compare two columns ====== */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.compare .col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.compare .col.bad { border-color: rgba(244, 63, 94, 0.28); }
.compare .col.good { border-color: var(--emerald-line); box-shadow: inset 0 0 0 1px var(--emerald-soft); }

.compare .col .l {
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.compare .col.bad .l { color: var(--rose); }
.compare .col.good .l { color: var(--emerald); }

.compare .col blockquote {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 24px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg-deep);
  border-left: 3px solid var(--accent-line);
  padding: 22px 26px;
  border-radius: 8px;
}

.compare .col.bad blockquote { border-left-color: var(--rose-line); }
.compare .col.good blockquote { border-left-color: var(--emerald-line); }

/* ====== Speaker-notes container is handled by deck-stage's #speaker-notes script tag */

/* ====== Slide-specific (declared inline as classes) ====== */

/* Title */
.slide-title .badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}
.slide-title .badge::before {
  content: ""; width: 10px; height: 10px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.slide-title .meta-strip {
  display: flex; gap: 64px; align-items: baseline;
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.slide-title .meta-strip strong { color: var(--text); font-weight: 500; }

/* Module header strip across the top of section transitions */
.module-strip {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--accent), transparent 80%);
}

/* Number 01/02 etc. */
.bignum {
  font-family: var(--font-mono);
  font-size: 240px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--accent);
  opacity: 0.92;
}

/* Diagrams */
.diagram-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Token strip */
.tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 30px;
  line-height: 1;
}

.tokens .t {
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.tokens .t.h1 { background: rgba(20, 184, 166, 0.14); border-color: var(--teal-line); color: var(--teal); }
.tokens .t.h2 { background: rgba(99, 102, 241, 0.16); border-color: var(--indigo-line); color: var(--indigo); }
.tokens .t.h3 { background: rgba(168, 85, 247, 0.16); border-color: var(--purple-line); color: var(--purple); }
.tokens .t.h4 { background: rgba(245, 158, 11, 0.14); border-color: var(--amber-line); color: var(--amber); }

/* RTFC big letters */
.rtfc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.rtfc-grid .l {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.rtfc-grid .l::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 50%, var(--accent-soft) 200%);
  pointer-events: none;
}

.rtfc-grid .big {
  font-family: var(--font-mono);
  font-size: 120px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.rtfc-grid .lbl {
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 600;
}

.rtfc-grid .d {
  font-size: 24px;
  line-height: 1.5;
  color: var(--text-dim);
  position: relative;
}

/* Lab slide */
.lab {
  position: absolute;
  inset: 0;
  padding: 72px var(--pad) 56px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 32px;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(245, 158, 11, 0.12), transparent 60%),
    var(--bg-deep);
}

.lab .chrome .module::before { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }

.lab .label {
  font-family: var(--font-mono);
  font-size: 26px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
}

.lab .timer {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  border: 1px solid var(--amber-line);
  background: var(--amber-soft);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.lab h1 { font-size: 96px; line-height: 1; margin: 0; color: var(--text); letter-spacing: -0.025em; }

.lab .brief {
  background: var(--bg-card);
  border: 1px solid var(--amber-line);
  box-shadow: inset 0 0 0 1px var(--amber-soft);
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lab .brief .step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  font-size: 28px;
  line-height: 1.4;
  color: var(--text);
  align-items: baseline;
}

.lab .brief .step .n {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.06em;
}

.lab .brief .step code {
  font-family: var(--font-mono);
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.92em;
}

.lab .chat-cta {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.lab .chat-cta .arrow { color: var(--amber); }

/* Break slide */
.break {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(20, 184, 166, 0.10), transparent 60%),
    var(--bg-deep);
}

.break .core {
  display: flex; flex-direction: column; align-items: center; gap: 36px;
}

.break .countdown {
  font-family: var(--font-mono);
  font-size: 320px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--text);
}

.break .countdown .unit {
  color: var(--text-muted);
  font-size: 64px;
  margin-left: 16px;
  letter-spacing: 0;
}

/* Section header (between modules) */
.module-cover {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 96px;
  align-items: end;
  padding: 0 var(--pad) 120px;
  height: 100%;
}

/* Models grid card */
.model-card {
  position: relative;
  padding-top: 44px;
}

.model-card .vendor {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.model-card .vendor .dot {
  width: 14px; height: 14px; border-radius: 999px;
}

.model-card h3 {
  font-size: 38px;
  margin: 0;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.model-card .specs {
  display: flex; flex-wrap: wrap; gap: 10px;
}

.model-card .specs .chip {
  font-family: var(--font-mono);
  font-size: 24px;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  white-space: nowrap;
}

.model-card p {
  margin: 0;
  font-size: 24px;
  line-height: 1.5;
  color: var(--text-dim);
}

.model-card p strong { color: var(--text); }

/* Timeline (history) */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 14px; right: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--border-strong), var(--accent-line));
}

.timeline .ev {
  position: relative;
  padding-top: 60px;
}

.timeline .ev::before {
  content: "";
  position: absolute;
  top: 16px; left: 0;
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--bg-deep);
  border: 2px solid var(--text-muted);
}

.timeline .ev.hot::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.timeline .ev .y {
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.timeline .ev .t {
  font-size: 26px;
  font-weight: 500;
  color: var(--text);
  margin-top: 8px;
  line-height: 1.3;
}

.timeline .ev .s {
  font-size: 24px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* Context-window comparison row */
.ctx-row {
  display: grid;
  grid-template-columns: 320px 1fr 240px;
  gap: 28px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.ctx-row:last-child { border-bottom: none; }

.ctx-row .name {
  font-size: 26px;
  font-weight: 500;
  color: var(--text);
}

.ctx-row .name .v {
  display: block;
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
}

.ctx-row .bar {
  height: 18px;
  background: var(--bg-card);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.ctx-row .bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-line));
  border-radius: 999px;
}

.ctx-row .val {
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

.ctx-row .val span {
  display: block;
  font-size: 24px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* Iteration turns */
.turns {
  display: flex; flex-direction: column; gap: 18px;
}

.turn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: baseline;
}

.turn .lbl {
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.turn .body {
  font-size: 26px;
  color: var(--text);
  line-height: 1.45;
}

.turn .body .sub {
  display: block;
  font-size: 24px;
  color: var(--text-dim);
  margin-top: 8px;
  font-family: var(--font-mono);
}

/* Use cases quadrants */
.quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.quad .q {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quad .q .h {
  display: flex; align-items: center; gap: 14px;
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
}

.quad .q .h .ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.quad .q .items {
  color: var(--text-dim);
  font-size: 24px;
  line-height: 1.55;
}

/* Closing tagline */
.closing {
  font-size: 88px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 500;
  text-wrap: balance;
  color: var(--text);
}

.closing em {
  color: transparent;
  background: linear-gradient(135deg, #5eead4, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}

/* Density tweak */
.density-compact .frame { padding: 56px var(--pad) 44px; gap: 24px; }
.density-compact .card { padding: 28px; }
.density-compact h1.title { font-size: 84px; }
.density-compact p.lede { font-size: 32px; }

/* Print */
@media print {
  deck-stage section { background: #0a0e1a; }
}
