@font-face { font-family: Geist; src: url("vendor/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; }

:root {
    --bg: #f9f6f1;
    --ink: #1c1917;
    --muted: #6b645d;
    --line: #ddd5ca;
    --accent: #b4532a;
    --grey-bar: #bdb4a8;
}

body.reveal-viewport { background-color: var(--bg); color: var(--ink); font-family: Geist, system-ui, sans-serif; }
.reveal { font-size: 28px; }

.reveal .slides > section { text-align: left; height: 100%; box-sizing: border-box; padding: 40px 60px; }
.reveal h1, .reveal h2, .reveal h3, .reveal p { margin: 0; }
.reveal h1 { font-size: 110px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.reveal h2 { font-size: 48px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 48px; }
.reveal h3 { font-size: 24px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.reveal strong { font-weight: 650; }

.lede { font-size: 34px; color: var(--muted); max-width: 900px; line-height: 1.4; }
.detail { font-size: 24px; color: var(--muted); line-height: 1.5; margin-top: 44px !important; max-width: 1000px; }

.reveal .slides > section.title { padding-top: 170px; }
.title h1 { margin-bottom: 20px; }
.byline { margin-top: 90px !important; font-size: 26px; }

.reveal ul.plain { list-style: none; margin: 0; display: block; }
.reveal ul.plain li { border-top: 1px solid var(--line); padding: 18px 0; line-height: 1.35; }

.reveal table { border-collapse: collapse; width: 100%; margin: 0; }
.reveal table th, .reveal table td { text-align: left; vertical-align: top; border: 0; border-top: 1px solid var(--line); padding: 18px 24px 18px 0; line-height: 1.35; }
.reveal table.rows th { width: 230px; font-weight: 600; }

.flow, .arch { display: flex; align-items: stretch; }
.flow > div { flex: 1; border-top: 3px solid var(--ink); padding-top: 18px; }
.flow strong { display: block; margin-bottom: 8px; }
.flow span { font-size: 23px; color: var(--muted); line-height: 1.45; display: block; }
.flow > i, .arch > i { flex: 0 0 56px; position: relative; }
.flow > i::after, .arch > i::after { content: "→"; position: absolute; left: 0; right: 0; top: 24px; text-align: center; font-style: normal; color: var(--muted); }

.node { border: 1.5px solid var(--ink); border-radius: 6px; padding: 18px 20px; font-size: 25px; font-weight: 600; }
.node small { display: block; font-size: 18px; font-weight: 400; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.node.own { border-color: var(--accent); }
.arch .node { flex: 1; }
.store { margin: 0 auto; width: 52%; position: relative; padding-top: 56px; transform: translateX(14%); }
.store::before { content: "↕"; position: absolute; top: 8px; left: 50%; color: var(--muted); }

.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.figures div { border-top: 1px solid var(--line); padding-top: 20px; }
.figures b { display: block; font-size: 96px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.figures span { font-size: 24px; color: var(--muted); }

.reveal p.hero { font-size: 60px; color: var(--muted); margin-bottom: 20px; }
.hero b { font-size: 220px; font-weight: 600; color: var(--accent); letter-spacing: -0.05em; line-height: 1; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.compare > div { border-top: 3px solid var(--ink); padding-top: 20px; line-height: 1.45; }
.compare ul.plain li:first-child { border-top: 0; padding-top: 0; }

.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.reveal figure { margin: 0; }
figcaption { font-size: 22px; font-weight: 600; margin-bottom: 18px; }
.bar { display: grid; grid-template-columns: 170px 1fr 48px; align-items: center; gap: 14px; margin-bottom: 20px; font-size: 21px; }
.bar i { height: 30px; width: calc(var(--v) * 100%); min-width: 2px; background: var(--grey-bar); border-radius: 0 4px 4px 0; }
.bar b { font-weight: 600; font-variant-numeric: tabular-nums; }
.bar.focus i { background: var(--accent); }
.bar.focus span { font-weight: 600; }

.reveal .slides > section.divider { padding-top: 270px; text-align: center; }
.reveal .divider h1 a, .reveal .divider h1 a:hover { color: var(--ink); font-weight: 700; text-decoration: none; text-shadow: none; cursor: default; }

.reveal .slide-number { background: transparent; color: var(--muted); font-size: 14px; }
.reveal .controls, .reveal .progress { color: var(--muted); }
