@font-face { font-family: "Jost"; src: url("/fonts/jost.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ground: #c9c9cb;
  --up: #d6d6d8;
  --paper: #f1f1f2;
  --ink: #0e0e10;
  --ink-2: #38383c;
  --stage: #111113;
  --accent: #23533a;
  --accent-soft: #dfe9e2;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #b9b9bc; color: var(--ink); font-family: "Jost", "Futura", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

/* toolbar */
.deck-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 20px; padding: 12px 24px; background: rgba(201, 201, 203, .96); font-size: 15px; }
.wm { font-weight: 500; font-size: 18px; text-decoration: none; }
.deck-count { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.deck-actions { margin-left: auto; display: flex; gap: 8px; }
.deck-actions a, .deck-actions button { border: 0; background: var(--ink); color: var(--ground); padding: 9px 16px; font: inherit; font-size: 14px; text-decoration: none; cursor: pointer; transition: background-color 160ms ease; }
.deck-actions button { background: var(--up); color: var(--ink); }
.deck-actions a:hover { background: var(--accent); }
.deck-actions button:hover { background: var(--paper); }

/* slides */
.deck { display: grid; justify-items: center; gap: 28px; padding: 24px 24px 64px; }
.slide {
  container-type: inline-size;
  position: relative; overflow: hidden;
  width: min(100%, calc((100vh - 120px) * 16 / 9)); aspect-ratio: 16 / 9;
  background: var(--ground); padding: 5.2cqw 5.6cqw;
  display: flex; flex-direction: column; gap: 2.6cqw;
  scroll-margin-top: 80px;
  animation: in 600ms var(--ease) both;
}
@keyframes in { from { opacity: 0; transform: translateY(14px); } }
.slide h1 { font-size: 6.4cqw; font-weight: 400; letter-spacing: -.035em; line-height: .98; max-width: 11em; }
.slide h2 { font-size: 4.1cqw; font-weight: 400; letter-spacing: -.03em; line-height: 1.02; }
.slide h3 { font-size: 1.6cqw; font-weight: 500; margin-bottom: .8cqw; }
.slide p, .slide li, .slide td, .slide th { font-size: 1.45cqw; line-height: 1.45; }
.lede { font-size: 2cqw !important; line-height: 1.3 !important; max-width: 30em; }
.claim { margin-top: auto; font-size: 2.1cqw !important; line-height: 1.25 !important; max-width: 34em; }
.note { color: var(--ink-2); font-size: 1.2cqw !important; max-width: 60em; }
.big-num { font-size: 4.4cqw !important; letter-spacing: -.035em; line-height: 1 !important; margin-bottom: 1cqw; font-variant-numeric: tabular-nums; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; align-items: start; min-height: 0; }
.two.wide-left { grid-template-columns: 1.2fr 1fr; }
.panel { background: var(--up); padding: 2.8cqw; display: flex; flex-direction: column; gap: 1cqw; min-height: 27cqw; }
.panel p { font-size: 1.9cqw; line-height: 1.35; }
.panel .big-num { font-size: 5.4cqw !important; margin-top: auto; }
.panel.dark { background: var(--stage); color: var(--paper); }

/* title */
.s-title { flex-direction: row; padding: 0; gap: 0; }
.s-title-copy { flex: 1.15; padding: 5.2cqw 4cqw 4.6cqw 5.6cqw; display: flex; flex-direction: column; gap: 2.4cqw; }
.s-title-copy .foot-note { margin-top: auto; color: var(--ink-2); }
.s-title-media { flex: 1; overflow: hidden; }
.s-title-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.45); display: block; }

/* steps */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1cqw; flex: 1; min-height: 0; }
.steps4 li { background: var(--up); padding: 2.2cqw; display: flex; flex-direction: column; gap: 1cqw; }
.steps4 li:last-child { background: var(--stage); color: var(--paper); }
.steps4 b { font-size: 2.6cqw; font-weight: 400; letter-spacing: -.02em; }
.steps4 span { font-size: 1.75cqw; line-height: 1.38; margin-top: auto; }
.steps4 b { font-size: 3.4cqw !important; }

/* tables */
.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { font-size: 1.65cqw !important; text-align: left; padding: 1.4cqw 1cqw 1.4cqw 0; border-bottom: .08cqw solid #a7a7ab; vertical-align: top; }
.tbl th { font-weight: 500; color: var(--ink-2); font-size: 1.25cqw; }
.tbl b { font-weight: 500; }
.tbl.compact td { padding: .8cqw 1cqw .8cqw 0; font-size: 1.6cqw; }

/* architecture */
.arch { display: grid; gap: 1.1cqw; }
.arch li { font-size: 1.6cqw; padding-bottom: 1.3cqw; border-bottom: .08cqw solid #a7a7ab; }
.arch b { font-weight: 500; display: block; font-size: 1.7cqw; }
.photo { background: #fff; height: 100%; display: flex; flex-direction: column; }
.photo img { width: 100%; flex: 1; min-height: 0; object-fit: cover; display: block; }
.photo figcaption { padding: 1.2cqw 1.4cqw; background: var(--up); font-size: 1.3cqw; }

/* traction */
.stats4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1cqw; }
.stats4 div { background: var(--up); padding: 1.8cqw 2cqw; }
.stats4 b { display: block; font-size: 4cqw; font-weight: 400; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats4 span { font-size: 1.3cqw; color: var(--ink-2); }
.chart { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 1cqw; }
.bars { flex: 1; display: grid; grid-template-columns: repeat(14, 1fr); gap: .8cqw; align-items: end; min-height: 0; }
.bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; height: 100%; gap: .4cqw; }
.bar i { display: block; background: var(--accent); min-height: .25cqw; transform-origin: bottom; animation: grow 900ms var(--ease) both; }
.bar.zero i { background: #a7a7ab; }
.bar em { font-style: normal; font-size: 1.05cqw; text-align: center; color: var(--ink); font-variant-numeric: tabular-nums; }
.bar span { font-size: 1cqw; text-align: center; color: var(--ink-2); }
@keyframes grow { from { transform: scaleY(0); } }

/* timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 1cqw; flex: 1; min-height: 0; }
.timeline li { background: var(--up); padding: 1.6cqw 1.8cqw; display: flex; flex-direction: column; gap: .5cqw; }
.timeline li:last-child { background: var(--accent); color: var(--paper); }
.timeline time { font-size: 1.2cqw; color: var(--ink-2); }
.timeline li:last-child time { color: var(--accent-soft); }
.timeline b { font-size: 1.9cqw; font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
.timeline span { font-size: 1.25cqw; line-height: 1.35; margin-top: auto; }

/* products */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1cqw; flex: 1; min-height: 0; }
.cards4 div { background: var(--up); padding: 2.2cqw; }
.cards4 div:first-child { background: var(--stage); color: var(--paper); }
.cards4 div { display: flex; flex-direction: column; }
.cards4 p { font-size: 1.7cqw; line-height: 1.38; margin-top: auto; }
.cards4 h3 { font-size: 3cqw; font-weight: 400; letter-spacing: -.02em; margin-bottom: 1.2cqw; }
.plain { display: grid; gap: 1.4cqw; }
.plain li { font-size: 2.1cqw; padding-bottom: 1.4cqw; border-bottom: .08cqw solid #a7a7ab; }

/* close */
.s-close { background: var(--accent); color: var(--paper); justify-content: center; }
.s-close h2 { font-size: 6cqw; }
.links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4cqw 3cqw; margin-top: 2cqw; }
.links li { font-size: 2cqw; }
.links span { display: block; font-size: 1.2cqw; color: var(--accent-soft); }

/* presenting */
body.presenting { background: #000; overflow: hidden; }
body.presenting .deck-bar { display: none; }
body.presenting .deck { padding: 0; gap: 0; height: 100vh; align-content: center; }
body.presenting .slide { display: none; width: min(100vw, 100vh * 16 / 9); }
body.presenting .slide.on { display: flex; }

@media (max-width: 700px) { .deck { padding: 12px 8px 40px; gap: 14px; } .deck-bar { padding: 10px 12px; gap: 10px; } .deck-count { display: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* print: one 16:9 page per slide */
@page { size: 16in 9in; margin: 0; }
@media print {
  body { background: none; }
  .deck-bar { display: none; }
  .deck { display: block; padding: 0; }
  .slide { width: 16in; height: 9in; aspect-ratio: auto; break-after: page; animation: none; }
  .slide:last-child { break-after: auto; }
  .bar i { animation: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Label and description pairs keep a gap between them. */
li:has(> b + span) { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px 14px; align-items: baseline; }

/* North ML's dense palette and Geist for the deck. The presenting layout above is unchanged. */
:root { --ground: #0b0b0c; --up: #18181c; --paper: #131316; --ink: #ededf0; --ink-2: #a3a3ad; --stage: #0b0b0c; --accent: #8ab4ff; --accent-soft: rgba(138, 180, 255, .12); --line: #222228; --line-2: #2e2e36; }
body { background: var(--ground); font-family: "Geist", -apple-system, system-ui, sans-serif; }
.deck-bar { background: rgba(11, 11, 12, .94); border-bottom: 1px solid var(--line); }
.deck-actions a, .deck-actions button { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
.deck-actions a:hover, .deck-actions button:hover { background: var(--hover); color: var(--ink); }
.slide { border: 1px solid var(--line-2); border-radius: 8px; }
