/* Hallmark · genre: editorial · macrostructure: Narrative Workflow (+Long Document modules) · theme: custom (anchor ink #173846 / teal #14777D, light only) · enrichment: concept screen crop in hero · nav: N9 · footer: Ft4
 * redesign pass 2026-10-09: one home per fact; each module has its own layout
 * (hero 8/4 + state ledger · sunk journey band · numbered register · sticky log · table · disclosure list · email headline)
 * pre-emit critique (after review pass): P4 H4 E4 S4 R4 V4
 * Fonts: self-hosted Source Serif 4 Display + IBM Plex Mono (SIL OFL 1.1, licences in fonts/),
 * system stacks kept as fallback. Every rule reads the three --font-* tokens only.
 */

@font-face {
  font-family: "Source Serif 4 Display";
  src: url("fonts/SourceSerif4Display-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/IBMPlexMono-Regular-Latin1.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* colour */
  --paper: #F3F6F5;
  --paper-sunk: #E8EEED;
  --ink: #173846;
  --ink-2: #4A6470;
  --rule: #C9D6D8;
  --accent: #14777D;
  --accent-ink: #0F6066;
  --highlight: #D4E8E8;

  /* type families */
  --font-display: "Source Serif 4 Display", "Iowan Old Style", "Sitka Heading", "Sitka Text", Charter, "Bitstream Charter", Cambria, "Noto Serif", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", Consolas, "Noto Sans Mono", monospace;

  /* type scale (8 steps, nothing below 13px) */
  --fs-display: clamp(2.5rem, 1.75rem + 3.2vw, 4.5rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 1.9vw, 3rem);
  --fs-stage: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.375rem);
  --fs-lead: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-mono: 0.8125rem;

  /* space (4pt) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  /* layout */
  --page-max: 76rem;
  --gutter-x: clamp(1rem, 4.5vw, 4rem);
  --col-gap: var(--s-6);
  --shot-w: 18rem;        /* app concept width, 288px = SVG design size */
  --shot-w-wide: 20rem;   /* stage 2 summary */
  --chain-w: 18rem;       /* stage 3 screens */
  --link-w: 8rem;         /* stage 3 connector, wide enough for its label */
  --shot-ratio: 2.1111;   /* 1824 / 864 */

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 120ms;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--s-5); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { min-width: 0; font-family: var(--font-display); font-weight: 400; font-style: normal; text-wrap: balance; overflow-wrap: anywhere; }
h3, h4 { font-family: var(--font-body); font-weight: 600; font-style: normal; text-wrap: balance; }
p, li, dd, td { text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
time, .when, .ref { font-variant-numeric: tabular-nums; }
:lang(ko) { word-break: keep-all; line-height: 1.75; }
::selection { background: var(--highlight); color: var(--ink); }

a {
  color: var(--accent-ink);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--dur) var(--ease-out), text-decoration-thickness var(--dur) var(--ease-out);
}
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 2px; }

.page { width: min(var(--page-max), 100% - 2 * var(--gutter-x)); margin-inline: auto; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  z-index: 1;
  top: var(--s-2);
  left: var(--s-2);
  padding: var(--s-2) var(--s-4);
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* quieter section heads: log, next checks, questions, contact */
.log h2, .next h2, .faq h2, .about h2, .contact h2 { font-size: var(--fs-h3); line-height: 1.25; }

/* ---------- status markers (the one system used everywhere) ---------- */

.mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: var(--s-2);
  border-radius: 50%;
  vertical-align: -0.05em;
}
.mark--built { background: var(--accent); }
.mark--dev { border: 1.5px solid var(--accent); background: linear-gradient(90deg, var(--accent) 50%, transparent 50%); }
.mark--planned { border: 1.5px solid var(--ink-2); }
.status-label { font-weight: 600; white-space: nowrap; }

.tag {
  display: inline-block;
  padding: 1px var(--s-2);
  border: 1px solid var(--ink-2);
  border-radius: 2px;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ---------- header (N9) ---------- */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--s-6);
  padding-block: var(--s-4);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand-mark { width: 28px; height: 28px; flex: none; color: var(--ink); }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--s-6); }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: var(--fs-small);
  text-decoration-line: none;
  white-space: nowrap;
}
.site-nav a:hover { text-decoration-line: underline; }
.site-nav a[aria-current="page"] { text-decoration-line: underline; text-underline-offset: 0.35em; }

/* ---------- opening: record header, thesis, state ledger, one concept screen ---------- */

.opening {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  padding-top: var(--s-7);
}
.opening > .record-fields { grid-column: 1 / -1; grid-row: 1; }
.hero { grid-column: 1 / 9; grid-row: 2; min-width: 0; }
.ledger { grid-column: 1 / -1; grid-row: 3; min-width: 0; margin-top: var(--s-7); padding-bottom: var(--s-8); }
.hero-shot { grid-column: 9 / 13; grid-row: 2; align-self: start; min-width: 0; }

.record-fields {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-6);
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--rule);
}
.record-fields div { display: flex; align-items: baseline; gap: var(--s-2); min-width: 0; }
.record-fields dt { color: var(--ink-2); font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.01em; white-space: nowrap; }
.record-fields dd { font-size: var(--fs-small); }

.hero h1 {
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
.lead { max-width: 50ch; margin-top: var(--s-5); font-size: var(--fs-lead); line-height: 1.45; }
.hero-scope { max-width: 62ch; margin-top: var(--s-4); color: var(--ink-2); font-size: var(--fs-small); }
.hero-links { display: flex; flex-wrap: wrap; gap: 0 var(--s-6); margin-top: var(--s-5); }
.hero-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; white-space: nowrap; }

/* A compact full-screen preview beside the product introduction. */
.hero-shot { display: flex; flex-direction: column; width: min(100%, 14rem); justify-self: center; }
.hero-shot .tag { align-self: flex-start; }
.hero-shot figcaption { order: 3; margin: var(--s-3) 0 0; color: var(--ink-2); font-size: var(--fs-small); line-height: 1.45; }
.crop { order: 2; margin-top: var(--s-3); }
.crop img { width: 100%; border: 1px solid var(--rule); border-radius: 16px; }

.ledger h2 {
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.01em;
}
.ledger-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--s-6);
  margin-top: var(--s-4);
  font-size: var(--fs-small);
  line-height: 1.45;
}
.ledger-state { font-weight: 600; white-space: nowrap; }
.ledger-def { margin-top: var(--s-1); color: var(--ink-2); }
.ledger-items { margin-top: var(--s-4); }
.ledger h3 { font-size: var(--fs-small); line-height: 1.45; }
.ledger h3 + p { margin-top: var(--s-1); color: var(--ink-2); }
.ledger p + h3 { margin-top: var(--s-4); }

/* ---------- journey band ---------- */

.journey { padding-block: var(--s-8) var(--s-10); background: var(--paper-sunk); }
.journey-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4) var(--s-7); }
.journey-intro { max-width: 40rem; }
.journey-head h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.01em; }
.journey-intro p { margin-top: var(--s-4); }
.journey-intro .status-label { margin-right: var(--s-2); }
.stage-jump { display: flex; flex-wrap: wrap; gap: 0 var(--s-6); }
.stage-jump a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-small); white-space: nowrap; }

.stage { padding-top: var(--s-10); }
.stage--before { padding-top: var(--s-8); }
.stage-text { max-width: 36rem; min-width: 0; }
.stage-num {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: var(--fs-stage);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}
.stage-label {
  margin-top: var(--s-3);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.01em;
}
.stage-text h3 { margin-top: var(--s-3); font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; }
.stage-text p:not(.stage-num):not(.stage-label) { margin-top: var(--s-3); }
.stage-detail { max-width: 62ch; color: var(--ink-2); font-size: var(--fs-small); }
.stage--before > .stage-detail { margin-top: var(--s-6); }
.stage-text .stage-detail { margin-top: var(--s-4); }

/* concept screens */
.shot-fig { width: min(100%, var(--shot-w)); min-width: 0; }
.shot { position: relative; }
.shot img { width: 100%; border: 1px solid var(--rule); border-radius: 16px; }
.shot-fig figcaption { display: grid; justify-items: start; gap: var(--s-2); margin-top: var(--s-4); font-size: var(--fs-small); line-height: 1.45; }
.shot-fig h4 { font-size: var(--fs-small); }
.shot-fig figcaption p { color: var(--ink-2); }

/* stage 1: the fork, drawn from the question in screen 01; screen 02 steps down one beat */
.fork-row {
  display: grid;
  grid-template-columns: var(--shot-w) minmax(9.5rem, var(--shot-w)) var(--shot-w);
  align-items: start;
  margin-top: var(--s-7);
}
.fork-row > .shot-fig:last-child { margin-top: var(--s-9); }
.fork { padding-top: calc(var(--shot-w) * var(--shot-ratio) * 0.745); min-width: 0; }
.branch { position: relative; padding: var(--s-3) var(--s-4) 0 var(--s-5); font-size: var(--fs-small); line-height: 1.45; }
.branch + .branch { margin-top: var(--s-4); }
.branch-label { display: flex; flex-direction: column; font-weight: 600; }
.branch p + p { margin-top: var(--s-1); color: var(--ink-2); }
.branch::before { content: ""; position: absolute; top: 0; border-top: 1px solid var(--accent); }
.branch--no::before { left: 0; width: var(--s-6); }
.branch--no::after { content: ""; position: absolute; top: 0; left: var(--s-4); height: calc(100% + var(--s-4)); border-left: 1px solid var(--accent); }
.branch--no .branch-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--s-6);
  width: 7px;
  height: 7px;
  border: 1px solid var(--ink-2);
  border-radius: 50%;
  background: var(--paper-sunk);
  transform: translateY(-50%);
}
.branch--yes::before { left: var(--s-4); right: var(--s-2); }
.branch--yes::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-left: 8px solid var(--accent);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform: translateY(-50%);
}

/* stage 2: annotated summary */
.stage--during {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
}
.stage--during .stage-text { grid-column: 7 / 13; grid-row: 1; }
.shot-fig--wide { --shot-w: var(--shot-w-wide); grid-column: 1 / 6; grid-row: 1; }
.notes {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: min(36rem, 52vw);
  font-size: var(--fs-small);
  line-height: 1.4;
}
.note { position: absolute; left: 0; right: 0; padding-left: calc(var(--s-8) + var(--s-3)); }
.note::before { content: ""; position: absolute; top: 0.7em; left: 0; width: var(--s-8); border-top: 1px solid var(--ink-2); }
.note::after {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
}
.note--timeline { top: calc(45% - 0.7em); }
.note--unknown { top: calc(66% - 0.7em); }
.note--share { top: calc(90% - 0.7em); }

/* stage 3: reviewed record -> schedule -> calendar, connectors carry their own label */
.chain-row {
  display: grid;
  grid-template-columns: var(--chain-w) var(--link-w) var(--chain-w) var(--link-w) var(--chain-w);
  align-items: start;
  margin-top: var(--s-7);
}
.chain-row .shot-fig { --shot-w: var(--chain-w); }
.chain-link { position: relative; height: calc(var(--chain-w) * var(--shot-ratio)); }
.chain-link::before { content: ""; position: absolute; top: 50%; left: var(--s-3); right: var(--s-3); border-top: 1px solid var(--accent); }
.chain-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: var(--s-3);
  width: 0;
  height: 0;
  border-left: 8px solid var(--accent);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform: translateY(-50%);
}
.chain-link span {
  position: absolute;
  bottom: calc(50% + var(--s-2));
  left: var(--s-2);
  right: var(--s-2);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-align: center;
}
.stage-close { max-width: 62ch; margin-top: var(--s-7); color: var(--ink-2); font-size: var(--fs-small); }

/* ---------- how we build: a numbered register, status in its own column ---------- */

.principles { padding-block: var(--s-9); }
.principles-head { max-width: 40rem; }
.principles-head h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.01em; }
.principles-head p { margin-top: var(--s-4); }
.rules { display: grid; row-gap: var(--s-7); margin-top: var(--s-8); counter-reset: rule; }
.rules li {
  display: grid;
  grid-template-columns: var(--s-6) minmax(0, 7fr) minmax(0, 3fr);
  grid-template-rows: auto 1fr;
  column-gap: var(--col-gap);
  align-content: start;
  counter-increment: rule;
}
.rules li::before {
  content: counter(rule);
  grid-row: 1 / span 2;
  padding-top: 0.3em;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-variant-numeric: tabular-nums;
}
.rules h3, .rules p { grid-column: 2; }
.rules h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; }
.rules p { margin-top: var(--s-2); max-width: 62ch; }
.rules .rule-status { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; padding-top: 0.2em; color: var(--ink-2); font-size: var(--fs-small); line-height: 1.5; }
.rule-status .status-label { display: block; margin-bottom: var(--s-1); color: var(--ink); }
/* a practice with no build status: the label sits under its own rule instead of floating in the status column */
.rules .rule-status--inline { grid-column: 2; grid-row: auto; margin-top: var(--s-3); padding-top: 0; }
.rule-status--inline .status-label { margin-bottom: 0; }
.rules--concise li { grid-template-columns: var(--s-6) minmax(0, 1fr); }
.principles-close {
  max-width: 40rem;
  margin-top: var(--s-9);
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  line-height: 1.4;
}

/* ---------- build log: the head stays put while the record scrolls ---------- */

.log { padding-block: var(--s-9) var(--s-8); }
.log-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
}
.log-head { grid-column: 1 / 5; position: sticky; top: var(--s-6); max-width: 22rem; }
.log-span { margin-top: var(--s-1); color: var(--ink-2); font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.01em; }
.log-head p:not(.log-span) { margin-top: var(--s-4); color: var(--ink-2); font-size: var(--fs-small); }
.timeline { --date-w: 8.5rem; --axis-w: var(--s-6); grid-column: 5 / 13; min-width: 0; }
.timeline > li {
  position: relative;
  display: grid;
  grid-template-columns: var(--date-w) var(--axis-w) minmax(0, 1fr);
  padding-bottom: var(--s-6);
}
.timeline > li::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--date-w) + var(--axis-w) / 2);
  border-left: 1px solid var(--rule);
}
.timeline > li:first-child::before { top: 0.8em; }
.timeline > li.timeline-next::before { bottom: auto; height: 0.8em; border-left-style: dashed; }
.timeline > li::after {
  content: "";
  position: absolute;
  top: 0.8em;
  left: calc(var(--date-w) + var(--axis-w) / 2);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-2);
  transform: translate(-50%, -50%);
}
.timeline > li.timeline-next::after { width: 9px; height: 9px; border: 1px solid var(--ink-2); background: var(--paper); }
.when {
  display: flex;
  flex-direction: column;
  grid-column: 1;
  padding-top: 0.15em;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.when > * { white-space: nowrap; }
.when .ref { color: var(--ink-2); }
.what { grid-column: 3; min-width: 0; max-width: 40rem; }
.what h3 { font-size: var(--fs-body); line-height: 1.45; }
.what > p { margin-top: var(--s-1); font-size: var(--fs-small); }

.evidence { margin-top: var(--s-2); font-size: var(--fs-small); }
.evidence summary,
.qa summary {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}
.evidence summary::-webkit-details-marker,
.qa summary::-webkit-details-marker { display: none; }
.evidence summary::before,
.qa summary::before {
  content: "+";
  flex: none;
  width: 1ch;
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-weight: 400;
}
.evidence[open] > summary::before,
.qa[open] > summary::before { content: "\2212"; }
.evidence summary { color: var(--accent-ink); font-weight: 600; }
.evidence summary:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.evidence ul { margin-top: var(--s-1); padding-left: calc(1ch + var(--s-2)); }
.evidence li { position: relative; padding-left: var(--s-4); }
.evidence li + li { margin-top: var(--s-2); }
.evidence li::before { content: ""; position: absolute; top: 0.65em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-2); }
.what > .evidence-note { margin-top: var(--s-1); color: var(--ink-2); }

/* ---------- what we're testing next: a real table ---------- */

.next { padding-block: var(--s-9) var(--s-8); }
.next-intro { max-width: 44rem; margin-top: var(--s-3); }
.next-intro .status-label { margin-right: var(--s-2); }
.checks { width: 100%; margin-top: var(--s-6); border-collapse: collapse; }
.checks thead th {
  padding: 0 var(--s-5) var(--s-3) 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-align: left;
}
.checks td, .checks tbody th { padding: var(--s-5) var(--s-5) 0 0; vertical-align: top; text-align: left; }
.checks tbody tr:first-child > * { padding-top: var(--s-4); }
.checks tbody th { width: 34%; font-size: var(--fs-body); font-weight: 600; line-height: 1.45; text-wrap: balance; }
.checks td:last-child { padding-right: 0; max-width: 40rem; }
.checks-n, .checks thead th:first-child { width: var(--s-7); }
.checks-n { color: var(--ink-2); font-family: var(--font-mono); font-size: var(--fs-mono); font-variant-numeric: tabular-nums; padding-top: calc(var(--s-5) + 0.25em); }
.checks tbody tr:first-child .checks-n { padding-top: calc(var(--s-4) + 0.25em); }
.next-after { max-width: 44rem; margin-top: var(--s-7); color: var(--ink-2); }

/* ---------- questions: closed by default ---------- */

.faq { padding-block: var(--s-6) var(--s-8); }
.qa-list { max-width: 48rem; margin-top: var(--s-4); }
.qa summary { padding-block: var(--s-2); font-weight: 600; line-height: 1.4; }
.qa summary:hover { color: var(--accent-ink); }
.qa p { max-width: 62ch; padding-left: calc(1ch + var(--s-2)); }
.qa p:last-child { margin-bottom: var(--s-4); }
.qa p + p { margin-top: var(--s-3); }

/* ---------- project and founder ---------- */

.about {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  padding-block: var(--s-8);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.about-main { grid-column: 1 / 8; min-width: 0; }
.about-ko { grid-column: 9 / 13; min-width: 0; }
.about-lead { max-width: 45ch; margin-top: var(--s-4); font-size: var(--fs-lead); line-height: 1.45; }
.about .founder { margin-top: var(--s-5); }
.about-ko h3 { font-size: var(--fs-body); }
.about-ko p { margin-top: var(--s-3); }

/* ---------- contact: the address is the headline ---------- */

.contact {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
  padding-block: var(--s-9) var(--s-7);
}
.contact-main { grid-column: 1 / 8; min-width: 0; }
.contact-ko { grid-column: 9 / 13; min-width: 0; padding-top: var(--s-1); }
.contact-lead { margin-top: var(--s-4); font-size: var(--fs-lead); line-height: 1.45; }
.email { margin-top: var(--s-3); font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.2; overflow-wrap: anywhere; }
.email a { display: inline-block; min-height: 44px; }
.involve { max-width: 40rem; margin-top: var(--s-5); }
.founder { margin-top: var(--s-8); max-width: 36rem; font-size: var(--fs-small); }
.founder-fields { display: grid; row-gap: var(--s-2); }
.founder-fields div { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: var(--s-4); }
.founder-fields dt { padding-top: 0.15em; color: var(--ink-2); font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.01em; }
.founder-fields div:first-child dd { font-weight: 600; }
.founder-fields [lang="ko"] { margin-left: var(--s-2); color: var(--ink-2); font-weight: 400; }
.founder p { margin-top: var(--s-4); }
.founder-note { color: var(--ink-2); font-size: var(--fs-small); }
.founder .founder-note { margin-top: var(--s-2); }
.contact-ko h3 { font-size: var(--fs-body); }
.contact-ko p { margin-top: var(--s-3); }

/* ---------- development and privacy documents ---------- */

.document { padding-block: var(--s-7) var(--s-8); }
.document-head { max-width: 60rem; }
.document-head h1 { max-width: 21ch; font-size: var(--fs-display); line-height: 1.05; letter-spacing: -0.015em; }
.document-intro { max-width: 64ch; margin-top: var(--s-4); color: var(--ink-2); }
.document-body { max-width: 48rem; margin-top: var(--s-8); }
.document-section { padding-block: var(--s-7); border-top: 1px solid var(--rule); }
.document-section h2 { font-size: var(--fs-h2); line-height: 1.15; }
.document-section h3 { margin-top: var(--s-6); }
.document-section p { margin-top: var(--s-4); }
.document-section code { font-family: var(--font-mono); font-size: 0.9em; }
.document-facts { margin-top: var(--s-5); }
.document-facts > div { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: var(--s-4); padding-block: var(--s-4); border-bottom: 1px solid var(--rule); }
.document-facts > div:first-child { border-top: 1px solid var(--rule); }
.document-facts dt { font-weight: 600; }
.document-note { color: var(--ink-2); font-size: var(--fs-small); }
.document-list { padding-left: var(--s-5); margin-top: var(--s-4); list-style: decimal; }
.document-list li + li { margin-top: var(--s-3); }
.design-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); margin-top: var(--s-6); }
.design-index li { padding-top: var(--s-4); border-top: 1px solid var(--rule); }
.design-index a { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); font-weight: 600; line-height: 1.4; text-decoration: none; }
.design-index img { width: min(100%, 10rem); height: auto; align-self: center; border: 1px solid var(--rule); border-radius: 12px; }
.design-index a span { text-decoration: underline; text-underline-offset: 0.2em; }
.design-index a:hover img { border-color: var(--accent); }
.design-index p { margin-top: var(--s-1); color: var(--ink-2); font-size: var(--fs-small); }

/* ---------- colophon footer (Ft4) ---------- */

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--col-gap);
  row-gap: var(--s-1);
  padding-block: var(--s-5) var(--s-7);
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.site-footer p { grid-column: 1; }
.site-footer .to-top { grid-column: 2; grid-row: 1 / span 3; align-self: start; }
.to-top a { display: inline-flex; align-items: center; min-height: 44px; margin-top: calc(var(--s-3) * -1); white-space: nowrap; }

/* ---------- 404 ---------- */

.lost { padding-block: var(--s-9) var(--s-10); }
.lost h1 { max-width: 20ch; font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.015em; }
.lost p:not(.home) { max-width: 44ch; margin-top: var(--s-5); font-size: var(--fs-lead); line-height: 1.45; }
.lost .home { margin-top: var(--s-5); }
.lost .home a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* ---------- responsive: wide to narrow ---------- */

@media (min-width: 1200px) {
  /* stage 1: text beside the fork instead of above it */
  .stage--before {
    display: grid;
    grid-template-columns: minmax(0, 54rem) minmax(16rem, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: var(--s-7);
    align-items: start;
  }
  .stage--before .stage-text { grid-column: 2; grid-row: 1; }
  .stage--before .fork-row { grid-column: 1; grid-row: 1 / span 2; margin-top: 0; }
  .stage--before > .stage-detail { grid-column: 2; grid-row: 2; align-self: start; }
}

@media (max-width: 1199px) {
  :root {
    --col-gap: var(--s-5);
    --chain-w: 15rem;
    --link-w: 5.5rem;
  }
  .stage--during .stage-text { grid-column: 1 / 9; }
  .shot-fig--wide { grid-row: 2; margin-top: var(--s-7); }
  .chain-link span { left: 0; right: 0; }
  .hero { grid-column: 1 / 8; }
  .hero-shot { grid-column: 8 / 13; }
  .ledger-cols { grid-template-columns: minmax(0, 1fr); row-gap: var(--s-5); }
  .ledger-col { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); column-gap: var(--s-5); }
  .ledger-items { margin-top: 0; }
}

@media (max-width: 1023px) {
  :root {
    --shot-w: 15rem;
    --shot-w-wide: 18rem;
    --chain-w: 11rem;
    --link-w: 4.75rem;
  }
  .opening, .about, .contact, .log-grid { grid-template-columns: minmax(0, 1fr); }
  .opening > .record-fields, .hero, .hero-shot, .ledger, .about-main, .about-ko, .contact-main, .contact-ko, .log-head, .timeline { grid-column: 1; grid-row: auto; }
  .hero-shot { width: min(100%, 16rem); margin-top: var(--s-7); justify-self: start; }
  .hero-shot .tag { margin-bottom: var(--s-3); }
  .hero-shot figcaption { order: 0; margin: var(--s-3) 0 0; }
  .crop { order: 0; }
  .ledger { margin-top: var(--s-7); max-width: 40rem; }
  .contact { row-gap: var(--s-7); }
  .about { row-gap: var(--s-7); }
  .about-ko { max-width: 40rem; }
  .contact-ko { max-width: 40rem; padding-top: 0; }
  .log-head { position: static; max-width: 40rem; }
  .timeline { margin-top: var(--s-6); }

  .stage--during { display: block; }
  .notes { position: static; width: auto; max-width: 28rem; margin-top: var(--s-4); }
  .note { position: relative; padding-left: var(--s-5); }
  .note + .note { margin-top: var(--s-2); }
  .note::before { display: none; }
  .note::after { left: var(--s-2); top: 0.7em; }

  .chain-row .tag { padding-inline: var(--s-1); letter-spacing: 0; }
  .rules li { grid-template-columns: var(--s-6) minmax(0, 1fr); }
  .rules .rule-status { grid-column: 2; grid-row: auto; margin-top: var(--s-3); padding-top: 0; }
  .checks tbody th { width: 30%; }
}

@media (max-width: 767px) {
  :root {
    --fs-body: 1rem;
    --shot-w: 16rem;
    --shot-w-wide: 18rem;
    --chain-w: 16rem;
    --col-gap: var(--s-4);
  }
  .site-header { padding-block: var(--s-3) var(--s-2); }
  .site-nav ul { column-gap: var(--s-5); }
  .opening { padding-top: var(--s-6); }
  .record-fields { column-gap: var(--s-4); margin-bottom: var(--s-6); }
  .ledger { padding-bottom: var(--s-7); }
  .ledger-col { grid-template-columns: minmax(0, 1fr); }
  .ledger-items { margin-top: var(--s-2); }

  .journey { padding-block: var(--s-7) var(--s-8); }
  .stage, .stage--before { padding-top: var(--s-7); }

  .fork-row { grid-template-columns: minmax(0, 1fr); row-gap: var(--s-5); margin-top: var(--s-6); }
  .fork-row > .shot-fig:last-child { margin-top: 0; }
  .fork-row > .shot-fig:first-child { display: flex; flex-direction: column; }
  .fork-row > .shot-fig:first-child figcaption { order: -1; margin: 0 0 var(--s-3); }
  .fork { padding-top: 0; max-width: 22rem; }
  .branch--yes::before { right: auto; width: var(--s-2); }
  .branch--yes::after { display: none; }

  .shot-fig--wide { margin-top: var(--s-6); }
  .shot-fig--wide .notes { width: auto; }

  .chain-row { grid-template-columns: minmax(0, 1fr); margin-top: var(--s-6); }
  .chain-link { width: min(100%, var(--chain-w)); height: var(--s-9); }
  .chain-link::before { top: var(--s-3); bottom: var(--s-3); left: 50%; right: auto; border-top: 0; border-left: 1px solid var(--accent); }
  .chain-link::after {
    top: auto;
    bottom: var(--s-3);
    left: 50%;
    right: auto;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 8px solid var(--accent);
    border-bottom: 0;
    transform: translateX(-50%);
  }
  .chain-link span { top: 50%; bottom: auto; left: calc(50% + var(--s-3)); right: auto; text-align: left; white-space: nowrap; transform: translateY(-50%); }

  .log { padding-block: var(--s-8) var(--s-7); }
  .principles, .next { padding-block: var(--s-8); }
  .faq { padding-block: var(--s-7); }
  .contact { padding-block: var(--s-8) var(--s-6); }
  .founder-fields div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .document { padding-block: var(--s-6) var(--s-7); }
  .document-body { margin-top: var(--s-7); }
  .document-facts > div { grid-template-columns: minmax(0, 1fr); gap: var(--s-2); }
  .design-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .document .hero-links a, .contact-actions a { white-space: normal; }

  .timeline { --date-w: 0rem; --axis-w: var(--s-5); }
  .timeline > li { grid-template-columns: var(--axis-w) minmax(0, 1fr); }
  .timeline > li::before, .timeline > li::after { left: calc(var(--axis-w) / 2); }
  .when { flex-direction: row; flex-wrap: wrap; column-gap: var(--s-3); grid-column: 2; grid-row: 1; padding-top: 0; }
  .what { grid-column: 2; grid-row: 2; }
  .timeline > li::after { top: 0.75em; }
  .timeline > li:first-child::before { top: 0.75em; }
  .timeline > li.timeline-next::before { height: 0.75em; }

  .checks, .checks tbody, .checks tr, .checks td, .checks tbody th { display: block; width: auto; }
  .checks thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .checks tbody tr { display: grid; grid-template-columns: var(--s-6) minmax(0, 1fr); padding-top: var(--s-5); }
  .checks tbody tr:first-child { border-top: 1px solid var(--rule); }
  .checks tbody tr > * { padding: 0 !important; }
  .checks-n { grid-row: 1 / span 2; padding-top: 0.25em !important; }
  .checks tbody th, .checks td:last-child { grid-column: 2; }
  .checks td:last-child { margin-top: var(--s-1); }

  .site-footer { grid-template-columns: minmax(0, 1fr); }
  .site-footer .to-top { grid-column: 1; grid-row: auto; }
  .to-top a { margin-top: 0; }
}

@media (max-width: 360px) {
  :root { --col-gap: var(--s-3); }
  .site-nav ul { column-gap: var(--s-3); }
  .site-nav a { font-size: var(--fs-mono); }
  .record-fields { gap: var(--s-1) var(--s-4); }
  .design-index { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; }
}
/* ---------- multi-page visit-preparation site, October 2026 ---------- */
.site-header { padding-block: 1rem; gap: .5rem 2rem; border-bottom: 1px solid var(--rule); }
.site-nav ul { gap: 0 1.6rem; }
.site-nav a { font-size: .9375rem; }
.site-nav .nav-resources { color: var(--accent-ink); font-weight: 600; }
.eyebrow { color: var(--ink-2); font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .02em; }
.home-opening { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(18rem, .8fr); gap: 3rem 5rem; align-items: center; padding-block: 4rem 5rem; }
.home-copy h1 { max-width: 13ch; margin-top: 1.5rem; font-family: var(--font-display); font-size: clamp(3.15rem, 2.4rem + 3.4vw, 5.3rem); line-height: 1.04; letter-spacing: -.025em; }
.home-copy .lead { max-width: 44ch; margin-top: 1.5rem; }
.home-copy .hero-scope { max-width: 55ch; margin-top: 1.25rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.75rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .7rem 1.15rem; border: 1px solid var(--accent-ink); border-radius: 3px; background: var(--accent-ink); color: #fff; font-size: .9375rem; font-weight: 600; line-height: 1.45; text-align: center; text-decoration: none; }
.button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.button--outline { color: var(--accent-ink); background: transparent; }
.button--outline:hover { color: #fff; }
.text-action { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; font-weight: 600; }
.asset-meta { margin-top: .75rem; color: var(--ink-2); font-family: var(--font-mono); font-size: var(--fs-mono); }
.worksheet-preview { position: relative; padding: 1.8rem 1.7rem 1.5rem; border: 1px solid var(--rule); border-top: 4px solid var(--accent); border-radius: 2px; background: #fff; box-shadow: 12px 14px 0 var(--paper-sunk); transform: rotate(1deg); }
.worksheet-preview .eyebrow { font-size: .75rem; }
.worksheet-preview h2 { margin-top: 1.1rem; font-family: var(--font-body); font-size: 1.55rem; font-weight: 600; line-height: 1.4; }
.worksheet-preview .sheet-subtitle { margin-top: .3rem; color: var(--ink-2); font-size: .8125rem; }
.sheet-fields { margin-top: 1.5rem; }
.sheet-field { margin-top: 1.15rem; }
.sheet-field p { font-size: .875rem; font-weight: 600; }
.sheet-line { display: block; height: 1.8rem; border-bottom: 1px solid var(--rule); }
.sheet-bottom { display: flex; justify-content: space-between; gap: .75rem; margin-top: 2rem; color: var(--ink-2); font-family: var(--font-mono); font-size: .6875rem; }
.sheet-caption { margin-top: 1.5rem; color: var(--ink-2); font-size: .875rem; text-align: center; }
.section-block { padding-block: 4.5rem; }
.section-block--rule { border-top: 1px solid var(--rule); }
.section-band { background: var(--paper-sunk); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 5rem; align-items: start; margin-bottom: 2.5rem; }
.section-heading h2 { max-width: 22ch; font-size: var(--fs-h2); line-height: 1.15; }
.section-heading p { max-width: 52ch; color: var(--ink-2); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.feature-item { padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.feature-item h3 { margin-top: .8rem; font-size: 1.15rem; line-height: 1.4; }
.feature-item p { margin-top: .65rem; color: var(--ink-2); font-size: .9375rem; }
.feature-item .text-action { margin-top: .7rem; }
.feature-item .eyebrow { margin-top: 0; }
.feature-grid--links .feature-item { display: flex; flex-direction: column; align-items: flex-start; }
.feature-grid--links .text-action { margin-top: auto; padding-top: 1.25rem; }
.compact-note { margin-top: 2rem; color: var(--ink-2); font-size: .9375rem; max-width: 70ch; }
.home-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem 5rem; align-items: center; }
.home-product-copy h2 { font-size: var(--fs-h2); line-height: 1.15; }
.home-product-copy p { margin-top: 1.25rem; max-width: 48ch; }
.screen-pair { display: flex; justify-content: center; align-items: start; gap: 1.4rem; }
.screen-pair img { width: min(43%, 11.75rem); height: auto; border-radius: 16px; border: 1px solid var(--rule); }
.screen-pair img:last-child { margin-top: 2rem; }
.screen-pair-wrap figcaption { margin-top: 1.3rem; color: var(--ink-2); font-size: .875rem; text-align: center; }
.subpage { padding-block: 3.5rem 5rem; }
.page-heading { margin-bottom: 3.5rem; }
.page-heading h1 { max-width: 18ch; margin-top: 1.5rem; font-size: var(--fs-display); line-height: 1.06; letter-spacing: -.02em; }
.page-heading .lead { max-width: 58ch; }
.page-heading .record-fields { margin-bottom: 0; }
.page-heading .page-status { margin-top: 1.25rem; color: var(--ink-2); font-size: .9375rem; }
.content-section { padding-block: 3rem; border-top: 1px solid var(--rule); }
.content-section:last-child { padding-bottom: 0; }
.content-section > h2 { max-width: 30ch; font-size: var(--fs-h2); line-height: 1.15; }
.content-section > p { max-width: 68ch; margin-top: 1.25rem; }
.content-section .feature-grid { margin-top: 2rem; }
.content-section .section-heading { margin-bottom: 2rem; }
.section-heading .status-label { white-space: normal; }
.status-note { display: inline-flex; align-items: baseline; gap: .4rem; color: var(--ink-2); font-family: var(--font-mono); font-size: var(--fs-mono); }
.status-note .mark { flex: none; margin-right: .1rem; }
.video-frame { margin-top: 2rem; overflow: hidden; border: 1px solid var(--rule); border-radius: 4px; background: var(--ink); }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.video-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .75rem; color: var(--ink-2); font-size: .875rem; }
.transcript { max-width: 56rem; margin-top: 1.5rem; }
.transcript summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--accent-ink); font-weight: 600; }
.transcript summary::before { content: "+"; width: 1.5rem; font-family: var(--font-mono); }
.transcript[open] summary::before { content: "−"; }
.transcript summary { list-style: none; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript ol { margin-top: 1rem; }
.transcript li { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 1rem; padding-block: .8rem; border-top: 1px solid var(--rule); }
.transcript-time { color: var(--ink-2); font-family: var(--font-mono); font-size: .8125rem; }
.transcript p { font-size: .9375rem; }
.concept-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 2rem; margin-top: 2.5rem; }
.concept-grid figure { min-width: 0; }
.concept-image { display: flex; align-items: center; justify-content: center; min-height: 25rem; padding: 1.5rem 1rem; background: var(--paper-sunk); border-radius: 4px; }
.concept-image img { width: min(100%, 11rem); border: 1px solid var(--rule); border-radius: 13px; }
.concept-image:hover img { border-color: var(--accent); }
.concept-grid figcaption { margin-top: 1.25rem; }
.concept-grid h3 { margin-top: .5rem; font-size: 1.0625rem; }
.concept-grid p { margin-top: .5rem; color: var(--ink-2); font-size: .9375rem; }
.resource-list { border-top: 1px solid var(--rule); }
.resource-row { display: grid; grid-template-columns: 4rem minmax(0, 1fr) auto; gap: 1.5rem 2rem; align-items: center; padding-block: 2.5rem; border-bottom: 1px solid var(--rule); }
.pdf-symbol { display: flex; align-items: end; width: 3.2rem; height: 4rem; padding: .45rem; border: 1px solid var(--accent); border-radius: 2px; color: var(--accent-ink); font-family: var(--font-mono); font-size: .75rem; }
.resource-copy h2 { font-size: 1.7rem; line-height: 1.2; }
.resource-copy p { max-width: 62ch; margin-top: .7rem; font-size: .9375rem; color: var(--ink-2); }
.resource-copy .asset-meta { font-size: .75rem; }
.resource-actions { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.resource-actions .text-action { font-size: .875rem; }
.callout { padding: 1.5rem 1.75rem; border-left: 3px solid var(--accent); background: var(--paper-sunk); }
.callout h2, .callout h3 { font-family: var(--font-body); font-size: 1.125rem; line-height: 1.4; font-weight: 600; }
.callout p { max-width: 70ch; margin-top: .75rem; font-size: .9375rem; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.plan-card { padding: 2rem; border: 1px solid var(--rule); border-radius: 4px; }
.plan-card--free { background: var(--paper-sunk); }
.plan-card h2 { margin-top: 1rem; font-size: 2.3rem; line-height: 1.2; }
.plan-price { margin-top: 1.5rem; font-family: var(--font-display); font-size: 3rem; line-height: 1; }
.plan-price span { display: block; margin-top: .75rem; color: var(--ink-2); font-family: var(--font-body); font-size: .9375rem; line-height: 1.5; }
.plan-card > p:not(.plan-price):not(.eyebrow) { margin-top: 1.3rem; font-size: .9375rem; }
.plain-list { padding-left: 1.2rem; list-style: disc; }
.plain-list li + li { margin-top: .65rem; }
.plan-card .plain-list { margin-top: 1.5rem; font-size: .9375rem; }
.plan-card .button { margin-top: 1.75rem; }
.plan-card .not-for-sale { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); color: var(--ink-2); font-family: var(--font-mono); font-size: .8125rem; }
.fact-table { margin-top: 2rem; border-top: 1px solid var(--rule); }
.fact-table > div { display: grid; grid-template-columns: minmax(10rem, .7fr) minmax(0, 1.7fr); gap: 2rem; padding-block: 1.3rem; border-bottom: 1px solid var(--rule); }
.fact-table dt { font-weight: 600; }
.fact-table dd { max-width: 70ch; color: var(--ink-2); }
.prose { max-width: 48rem; }
.prose .content-section > p { max-width: none; }
.prose .plain-list { margin-top: 1.25rem; }
.split-content { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: 4rem; }
.split-content h2 { font-size: var(--fs-h2); line-height: 1.15; }
.split-content p { margin-top: 1.25rem; }
.split-content .callout { align-self: start; }
.split-content .callout h2 { font-size: 1.125rem; }
.build-timeline { max-width: 58rem; margin-top: 2.5rem; }
.build-timeline li { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 2rem; padding-block: 1.5rem; border-top: 1px solid var(--rule); }
.build-timeline time { color: var(--ink-2); font-family: var(--font-mono); font-size: .8125rem; }
.build-timeline h3 { font-size: 1.125rem; }
.build-timeline p { margin-top: .5rem; color: var(--ink-2); font-size: .9375rem; }
.inline-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.inline-links a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-block: 2rem 2.5rem; gap: .75rem 2rem; }
.site-footer .footer-links { grid-column: 2; grid-row: 1 / span 3; max-width: 26rem; justify-content: flex-end; font-family: var(--font-body); font-size: .875rem; }
.site-footer .footer-contact { font-family: var(--font-body); font-size: .875rem; }
.site-footer .footer-credit { max-width: 62ch; font-size: .6875rem; }
@media (max-width: 1100px) {
  .home-opening { column-gap: 3rem; grid-template-columns: minmax(0, 1.25fr) minmax(17rem, .8fr); }
  .site-nav ul { column-gap: 1.15rem; }
  .home-copy h1 { font-size: 4.1rem; }
  .resource-row { grid-template-columns: 3rem minmax(0, 1fr); }
  .resource-actions { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1rem; }
}
@media (max-width: 800px) {
  .site-header { align-items: flex-start; gap: .25rem 1.5rem; }
  .site-nav { width: 100%; }
  .site-nav ul { column-gap: 1.5rem; }
  .home-opening { grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-block: 2.5rem 4rem; }
  .home-copy h1 { max-width: 15ch; font-size: clamp(3rem, 2rem + 4vw, 4.5rem); }
  .worksheet-wrap { max-width: 25rem; width: 100%; justify-self: center; }
  .section-heading { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .feature-grid { gap: 1.5rem; }
  .home-product { column-gap: 2rem; }
  .concept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
  .plan-grid { gap: 1.5rem; }
  .plan-card { padding: 1.5rem; }
  .split-content { gap: 2rem; }
  .site-footer { grid-template-columns: minmax(0, 1fr); }
  .site-footer .footer-links { grid-column: 1; grid-row: auto; justify-content: flex-start; max-width: none; }
}
@media (max-width: 600px) {
  .site-nav ul { gap: 0 1.25rem; }
  .site-nav a { font-size: .875rem; }
  .section-block { padding-block: 3rem; }
  .feature-grid, .home-product, .plan-grid, .split-content { grid-template-columns: minmax(0, 1fr); }
  .feature-grid { gap: 2rem; }
  .home-product { gap: 2rem; }
  .home-copy .lead { font-size: 1.1875rem; }
  .worksheet-preview { transform: none; margin-right: .6rem; padding-inline: 1.4rem; box-shadow: 8px 10px 0 var(--paper-sunk); }
  .subpage { padding-block: 2.5rem 3.5rem; }
  .page-heading { margin-bottom: 2.5rem; }
  .page-heading h1 { margin-top: 1.25rem; font-size: clamp(2.65rem, 1.7rem + 5vw, 3.5rem); }
  .page-heading .record-fields { gap: .5rem 1rem; padding-bottom: 1rem; }
  .content-section { padding-block: 2.5rem; }
  .concept-grid { gap: 2rem 1rem; }
  .concept-image { min-height: 0; padding: 1rem .65rem; }
  .concept-grid .status-note { font-size: .6875rem; }
  .concept-grid h3 { font-size: 1rem; }
  .concept-grid p { font-size: .875rem; }
  .resource-row { gap: 1rem; padding-block: 2rem; }
  .resource-copy h2 { font-size: 1.55rem; }
  .resource-actions { gap: .5rem 1.25rem; }
  .resource-actions .button { width: 100%; }
  .fact-table > div { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .transcript li { grid-template-columns: 3.5rem minmax(0, 1fr); gap: .75rem; }
  .build-timeline li { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .callout { padding: 1.25rem; }
  .actions .button { width: 100%; }
  .plan-card .button { width: 100%; }
}
@media (max-width: 360px) {
  .site-nav ul { column-gap: 1rem; }
  .concept-grid { grid-template-columns: minmax(0, 1fr); }
  .concept-image img { width: 11rem; }
  .concept-grid .status-note { font-size: .8125rem; }
  .resource-row { grid-template-columns: minmax(0, 1fr); }
  .pdf-symbol { display: none; }
  .resource-actions { grid-column: 1; }
}
