/* =========================================================
   Bicycle Atlas — shared design system
   ========================================================= */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,800&family=JetBrains+Mono:wght@400;600&display=swap");

:root {
  --bg: #f6f3ee;
  --bg-2: #efe9e0;
  --surface: #ffffff;
  --surface-2: #faf8f4;
  --ink: #16140f;
  --ink-2: #3d3a33;
  --muted: #77726a;
  --line: #e1dad0;
  --line-2: #cfc6b8;
  --accent: #ff5a1f;        /* signal orange */
  --accent-ink: #c43a07;
  --accent-soft: #ffe6da;
  --teal: #0f8b8d;
  --teal-soft: #d6efef;
  --blue: #2f5bea;
  --blue-soft: #e0e7fd;
  --gold: #d99a00;
  --gold-soft: #fbefcc;
  --red: #d7263d;
  --red-soft: #fbdde1;
  --green: #2e9a4a;
  --green-soft: #dcf1e1;
  --violet: #7a4de0;
  --violet-soft: #ebe3fb;
  --shadow-sm: 0 1px 2px rgba(22,20,15,.06), 0 1px 1px rgba(22,20,15,.04);
  --shadow: 0 10px 30px -12px rgba(22,20,15,.18), 0 2px 6px rgba(22,20,15,.05);
  --shadow-lg: 0 30px 60px -20px rgba(22,20,15,.28);
  --radius: 18px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --prose: 720px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --serif: "Fraunces", "Pretendard Variable", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --header-h: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12110e; --bg-2: #1a1915; --surface: #1d1c18; --surface-2: #23221d;
    --ink: #f2eee6; --ink-2: #d2ccc0; --muted: #9a948a; --line: #2f2d27; --line-2: #3d3a33;
    --accent: #ff6a33; --accent-ink: #ff8b5e; --accent-soft: #3a1f13;
    --teal: #2fb8ba; --teal-soft: #11302f; --blue: #6d8dff; --blue-soft: #1a2240;
    --gold: #f2b833; --gold-soft: #33280d; --red: #ff5a6e; --red-soft: #3b1519;
    --green: #4cc46a; --green-soft: #12301a; --violet: #a88bff; --violet-soft: #251b3d;
    --shadow: 0 10px 30px -12px rgba(0,0,0,.6); --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12110e; --bg-2: #1a1915; --surface: #1d1c18; --surface-2: #23221d;
  --ink: #f2eee6; --ink-2: #d2ccc0; --muted: #9a948a; --line: #2f2d27; --line-2: #3d3a33;
  --accent: #ff6a33; --accent-ink: #ff8b5e; --accent-soft: #3a1f13;
  --teal: #2fb8ba; --teal-soft: #11302f; --blue: #6d8dff; --blue-soft: #1a2240;
  --gold: #f2b833; --gold-soft: #33280d; --red: #ff5a6e; --red-soft: #3b1519;
  --green: #4cc46a; --green-soft: #12301a; --violet: #a88bff; --violet-soft: #251b3d;
  --shadow: 0 10px 30px -12px rgba(0,0,0,.6); --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.75; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-x: hidden;
}
img, svg, video, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -0.03em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.serif { font-family: var(--serif); letter-spacing: -0.02em; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-dark { background: #16140f; color: #f2eee6; --ink: #f2eee6; --ink-2: #d2ccc0; --muted: #9a948a; --line: #2f2d27; --surface: #1d1c18; --surface-2: #23221d; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); line-height: 1.7; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .container { padding: 0 16px; } body { font-size: 16px; } }

/* Article with sticky TOC */
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.article-layout > *, .grid > *, .split > * { min-width: 0; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .9rem; max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
.toc-title { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); line-height: 1.4; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--accent-ink); border-left-color: var(--accent); font-weight: 600; }
@media (max-width: 1020px) { .article-layout { grid-template-columns: 1fr; } .toc { display: none; } }

/* ---------- Prose ---------- */
.prose { max-width: var(--prose); }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--ink); }
.prose blockquote {
  margin: 2em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--accent);
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--ink);
}
.prose blockquote cite { display: block; margin-top: 8px; font-family: var(--font); font-size: .9rem; font-style: normal; color: var(--muted); }
.dropcap::first-letter { float: left; font-family: var(--serif); font-size: 4.2em; line-height: .85; padding: 6px 10px 0 0; color: var(--accent); font-weight: 800; }
figure { margin: 2em 0; }
figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }

/* ---------- Header ---------- */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 200; transition: width .08s linear; }
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.03em; font-size: 1.1rem; white-space: nowrap; }
.brand svg { width: 34px; height: 34px; }
.brand small { font-family: var(--mono); font-weight: 400; font-size: .68rem; color: var(--muted); letter-spacing: .08em; display: block; line-height: 1; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; padding: 8px 11px; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); display: inline-grid; place-items: center; }
.icon-btn:hover { border-color: var(--line-2); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }
@media (max-width: 1100px) {
  .menu-toggle { display: inline-grid; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .3s ease; max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 16px; font-size: 1rem; }
}

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 15ch; }
.page-hero .lede { max-width: 640px; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; font-size: .88rem; color: var(--muted); font-family: var(--mono); }
.page-hero-art { position: absolute; right: -40px; bottom: -20px; width: min(52vw, 620px); opacity: .95; pointer-events: none; }
@media (max-width: 860px) { .page-hero-art { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 32px; } }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-ink); }

/* ---------- Components ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card.hover:hover, a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
a.card { text-decoration: none; display: block; color: inherit; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 18px; font-size: 1.4rem; }
.card-num { font-family: var(--mono); font-size: .78rem; color: var(--muted); letter-spacing: .1em; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; font-size: .95rem; transition: transform .15s ease, background .2s; }
.btn:hover { transform: translateY(-2px); color: var(--bg); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { color: #fff; background: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: .87rem; font-weight: 600; color: var(--ink-2); }
button.chip:hover { border-color: var(--ink); }
.chip.active, .chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tag { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: .75rem; font-weight: 700; background: var(--bg-2); color: var(--ink-2); }
.tag-accent { background: var(--accent-soft); color: var(--accent-ink); }
.tag-teal { background: var(--teal-soft); color: var(--teal); }
.tag-blue { background: var(--blue-soft); color: var(--blue); }
.tag-gold { background: var(--gold-soft); color: var(--gold); }
.tag-red { background: var(--red-soft); color: var(--red); }
.tag-green { background: var(--green-soft); color: var(--green); }
.tag-violet { background: var(--violet-soft); color: var(--violet); }

.callout { border-radius: var(--radius-sm); padding: 18px 20px 18px 56px; margin: 1.6em 0; position: relative; background: var(--blue-soft); border: 1px solid color-mix(in srgb, var(--blue) 25%, transparent); }
.callout::before { content: "i"; position: absolute; left: 18px; top: 18px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: .85rem; display: grid; place-items: center; font-family: var(--serif); }
.callout p:last-child { margin: 0; }
.callout strong:first-child { display: block; margin-bottom: 2px; }
.callout-tip { background: var(--green-soft); border-color: color-mix(in srgb, var(--green) 25%, transparent); }
.callout-tip::before { content: "✓"; background: var(--green); font-family: var(--font); }
.callout-warn { background: var(--gold-soft); border-color: color-mix(in srgb, var(--gold) 30%, transparent); }
.callout-warn::before { content: "!"; background: var(--gold); }
.callout-danger { background: var(--red-soft); border-color: color-mix(in srgb, var(--red) 25%, transparent); }
.callout-danger::before { content: "!"; background: var(--red); }

/* Stats / infographic numbers */
.stat { padding: 24px 0; border-top: 2px solid var(--ink); }
.stat-value { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.stat-value .unit { font-size: .45em; font-family: var(--font); font-weight: 700; margin-left: 4px; color: var(--muted); }
.stat-label { margin-top: 10px; font-size: .92rem; color: var(--muted); line-height: 1.5; }

/* Bar infographic */
.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 140px 1fr 70px; gap: 14px; align-items: center; font-size: .92rem; }
.bar-track { height: 14px; background: var(--bg-2); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.bar-row .val { font-family: var(--mono); font-size: .85rem; text-align: right; }
@media (max-width: 640px) { .bar-row { grid-template-columns: 96px 1fr 56px; gap: 10px; font-size: .85rem; } }

/* Tabs (data-tabs) */
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg-2); border-radius: 999px; width: fit-content; max-width: 100%; overflow-x: auto; margin-bottom: 28px; scrollbar-width: none; }
.tabs [role="tab"] { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--muted); white-space: nowrap; }
.tabs [role="tab"][aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
[role="tabpanel"][hidden] { display: none; }

/* Accordion (details) */
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.05rem; position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--muted); transition: transform .2s; }
.accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--accent); }
.accordion .acc-body { padding: 0 0 22px; color: var(--ink-2); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin: 1.6em 0; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-weight: 700; font-size: .82rem; letter-spacing: .02em; color: var(--ink-2); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-family: var(--mono); }

/* Forms / calculators */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .86rem; font-weight: 700; color: var(--ink-2); }
.field .hint { font-size: .78rem; color: var(--muted); }
.input, select.input { width: 100%; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--surface); }
.input:focus { outline: 2px solid var(--accent); border-color: transparent; }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.result-box { background: var(--ink); color: var(--bg); border-radius: var(--radius); padding: 24px; }
.result-box .big { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; }
.result-box .muted { color: color-mix(in srgb, var(--bg) 65%, transparent); }

/* Interactive frame (wrapper for widgets) */
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow); margin: 2.4em 0; }
.widget-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.widget-head h3 { margin: 0; }
.widget-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.widget-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }

/* Tooltip */
.tip-pop { position: fixed; z-index: 300; pointer-events: none; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; font-size: .85rem; max-width: 280px; line-height: 1.5; box-shadow: var(--shadow); opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.tip-pop.show { opacity: 1; transform: none; }

/* Next / prev chapter nav */
.chapter-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.chapter-nav a { display: block; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--surface); }
.chapter-nav a:hover { border-color: var(--ink); color: inherit; }
.chapter-nav small { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.chapter-nav strong { font-size: 1.1rem; }
.chapter-nav .next { text-align: right; grid-column: 2; }
@media (max-width: 640px) { .chapter-nav { grid-template-columns: 1fr; } .chapter-nav .next { grid-column: 1; } }

/* Ad slot: collapses until AdSense fills it */
.ad-slot { margin: 48px auto; max-width: var(--maxw); min-height: 0; text-align: center; }
.ad-slot:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: #16140f; color: #cfc8bb; padding: 72px 0 36px; margin-top: 0; font-size: .92rem; }
.site-footer a { color: #cfc8bb; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-grid h4 { color: #fff; font-size: .8rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.3rem; margin-bottom: 10px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #2f2d27; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: #8a847a; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; } .reveal-delay-2 { transition-delay: .2s; } .reveal-delay-3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 24px; } .mt-4 { margin-top: 48px; } .mb-2 { margin-bottom: 24px; }
.center { text-align: center; }
.flex { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.divider { height: 1px; background: var(--line); margin: 48px 0; border: 0; }
.kbd { font-family: var(--mono); font-size: .82em; padding: 2px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; background: var(--surface); }
