/* Hallmark · shape: Split Studio · genre: modern-minimal · theme: Furrow (deal 2/3, seed cwtfigo-claude-what-fuck-cc63·de16d5ac·2026-11-07·r0) · job: try · draw: 88f515
 * hero: Stage · nav: slab · footer: index columns · imagery: the product (terminal transcripts of a made-up visit) · signature: a whole visit, request to cw save, printed on the notebook card · copy: verbatim
 * axes: light/grotesk-sans/warm · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, a disclosure page by nature; argued "asks first, writes down, admits when it stops" with the parked card and real ending shares instead of feature tiles */
/* Hallmark · waive 47b · one frame kind, the notebook card holding real cw output · the transcript is the product */
/* Hallmark · dismissed 58 · about half the page words are transcript lines inside pre, the product shown working; prose alone is near 600 */
/* Hallmark · waive 44c · hero text column centre 482px, cw status card centre 483px at 1440 · the copy button docks in the install head above the commands, so the measured text block stops short of the commands it copies */
/* Hallmark · swaps: the survey map left out (no land here, the record is the place); dark tokens added for prefers-color-scheme; CJK from a system stack in every font role, zh/ja rules after base */

/* fonts: Red Hat Display/Text/Mono are inlined in fonts.css (OFL), so they arrive with the CSS: no swap. CJK comes from the system (--font-cjk). */

:root {
  color-scheme: light dark;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.5rem, 4vw + 1rem, 4.5rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --text-figure: clamp(3.5rem, 6vw + 1rem, 6.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 120ms; --dur-short: 220ms;
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --gap-split: 64px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px; --nav-h: 64px;
  --color-paper: oklch(96% 0.011 85); --color-paper-2: oklch(99.5% 0.005 85); --color-paper-3: oklch(92% 0.016 85);
  --color-ink: oklch(18% 0.006 60); --color-ink-2: oklch(28% 0.008 60); --color-muted: oklch(44% 0.012 60); --color-rule: oklch(88% 0.013 85);
  --color-accent: oklch(70% 0.19 40); --color-accent-ink: oklch(18% 0.006 60); --color-accent-soft: oklch(91% 0.05 50); --color-focus: oklch(60% 0.19 40);
  --color-green: oklch(42% 0.11 150); --color-green-soft: oklch(92% 0.04 150);
  --color-head: oklch(18% 0.006 60); --color-head-ink: oklch(96% 0.011 85);
  --color-sheet: oklch(99.3% 0.004 85);
  --color-say: oklch(28% 0.008 60); --color-out: oklch(40% 0.03 58); --color-you: oklch(18% 0.006 60);
  --font-cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC";
  --font-display: "Red Hat Display", var(--font-cjk), sans-serif;
  --font-body: "Red Hat Text", var(--font-cjk), sans-serif;
  --font-outlier: "Red Hat Mono", var(--font-cjk), monospace;
  --font-ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", Meiryo, "Noto Sans JP", "Noto Sans CJK JP";
  --radius-card: 10px; --radius-entry: 14px; --radius-pill: 6px; --rule-hair: 1px;
  --shadow-lift: 0 1px 1px oklch(18% 0.006 60 / 0.1), 0 2px 4px -1px oklch(18% 0.006 60 / 0.1), 0 14px 22px -12px oklch(18% 0.006 60 / 0.3);
  --tracking-display: -0.035em; --display-weight: 600;
}
@media (prefers-color-scheme: dark) {
  :root {
    --color-paper: oklch(19% 0.008 70); --color-paper-2: oklch(23% 0.009 70); --color-paper-3: oklch(26% 0.01 70);
    --color-ink: oklch(94% 0.01 85); --color-ink-2: oklch(86% 0.012 85); --color-muted: oklch(74% 0.014 80); --color-rule: oklch(34% 0.012 70);
    --color-accent-soft: oklch(34% 0.07 45); --color-focus: oklch(74% 0.17 45);
    --color-green: oklch(78% 0.13 150); --color-green-soft: oklch(31% 0.05 150);
    --color-head: oklch(13% 0.006 60); --color-head-ink: oklch(94% 0.01 85);
    --color-sheet: oklch(23% 0.009 70);
    --color-say: oklch(86% 0.012 85); --color-out: oklch(78% 0.04 70); --color-you: oklch(96% 0.01 85);
    --shadow-lift: 0 0 0 1px oklch(34% 0.012 70), 0 14px 22px -12px oklch(5% 0.005 60 / 0.7);
  }
}
/* base */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 30%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.02; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 14ch; font-size: var(--text-display); }
h2 { max-width: 18ch; font-size: var(--text-section); }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 34ch; color: var(--color-ink-2); }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
code, pre { font-family: var(--font-outlier); }
p code, td code { font-size: 0.92em; }
.num { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
button { font: inherit; }

/* CJK: Latin tracking and leading are wrong for Han; break headings at punctuation, not mid-word */
[lang="ja"] { font-family: "Red Hat Text", var(--font-ja), sans-serif; }
body:lang(zh) { line-height: 1.7; }
h2:lang(zh), .faq summary:lang(zh) { letter-spacing: 0; }
h2:lang(zh) { line-height: 1.22; word-break: keep-all; }
.lead:lang(zh) { line-height: 1.6; word-break: keep-all; text-wrap: balance; }

/* nav: a slab */
.slab { background: var(--color-paper-3); border-bottom: var(--rule-hair) solid var(--color-ink); }
.slab__row { display: flex; align-items: center; gap: var(--space-xl); min-height: var(--nav-h); }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-xs); font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-lg); letter-spacing: -0.01em; text-decoration: none; }
.wordmark img { width: 1.4em; height: 1.4em; }
.slab__links, .slab__end { display: flex; gap: var(--space-lg); font-size: var(--text-sm); font-weight: 500; }
.slab__end { margin-left: auto; }
.slab a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; }
.slab a:hover { text-decoration: underline; }

/* controls: moulded keys */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font-weight: 500; font-size: var(--text-md); white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-sheet) 60%, transparent), 0 1px 1px var(--color-rule); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-paper-3); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); border-color: color-mix(in oklab, var(--color-accent) 78%, var(--color-ink)); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-sheet) 32%, transparent), inset 0 -1px 0 color-mix(in oklab, var(--color-accent-ink) 12%, transparent); }
.btn--primary:hover { background: color-mix(in oklab, var(--color-accent) 88%, var(--color-accent-ink)); }

/* hero: Stage */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-split); align-items: center; min-height: calc(100svh - var(--nav-h)); padding-block: var(--space-xl); }
.hero__text { display: grid; gap: var(--space-lg); }
.hero__text h1 { margin-bottom: var(--space-2xs); }

/* install: the commands on a sheet, under the same dark head as the notebook cards, copy button docked in it */
.install { display: grid; gap: var(--space-xs); max-width: 36rem; margin-top: var(--space-xs); }
.install__box { border-radius: var(--radius-entry); background: var(--color-sheet); box-shadow: 0 0 0 1.5px var(--color-ink); overflow: hidden; }
.install__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-xs) var(--space-md); padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-md); background: var(--color-head); color: var(--color-head-ink); font-size: var(--text-sm); font-weight: 500; }
.install__head .btn { min-height: 44px; }
.install__head .btn:not(.btn--primary) { background: transparent; color: var(--color-head-ink); border-color: color-mix(in oklab, var(--color-head-ink) 40%, transparent); box-shadow: none; }
.install__head .btn:not(.btn--primary):hover { background: color-mix(in oklab, var(--color-head-ink) 12%, transparent); }
.install pre { margin: 0; padding: var(--space-md); font-size: clamp(0.9375rem, 0.25vw + 0.8rem, 1.0625rem); line-height: 1.5; font-weight: 500; overflow-x: auto; }
/* each command is a line; a too-long one wraps under a hanging indent instead of scrolling */
.install .ln { display: block; padding-left: 2ch; text-indent: -2ch; white-space: pre-wrap; overflow-wrap: anywhere; }
.install .ln + .ln { margin-top: 0.4em; }
.install__alt { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }

/* skip link: off-screen until focused */
.skip { position: absolute; left: var(--space-md); top: var(--space-xs); z-index: 10; padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-pill); transform: translateY(-200%); }
.skip:focus { transform: none; }

/* the notebook card */
.entry { margin: 0; min-width: 0; border-radius: var(--radius-entry); background: var(--color-paper-2); box-shadow: 0 0 0 1px var(--color-ink), var(--shadow-lift); overflow: hidden; }
.entry__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding: var(--space-sm) var(--space-lg); background: var(--color-head); color: var(--color-head-ink); font-size: var(--text-sm); font-weight: 500; }
.entry__body { margin: 0; padding: var(--space-lg); font-size: var(--text-xs); line-height: 1.6; overflow-x: auto; tab-size: 2; }
.hero__entry .entry__body { font-size: 0.75rem; }
.entry__body:focus-visible { outline-offset: -3px; }
.you { color: var(--color-you); font-weight: 500; }
.cmd { color: var(--color-ink); font-weight: 500; }
.out { color: var(--color-out); }
.say { color: var(--color-say); font-family: var(--font-body); font-size: var(--text-sm); white-space: pre-wrap; }
.chip { display: inline-flex; align-items: center; min-height: 24px; padding: 0 var(--space-xs); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-size: var(--text-xs); font-weight: 500; }
.chip--green { background: var(--color-green-soft); color: var(--color-green); }

/* split rows */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-split); align-items: start; margin-top: var(--section-gap); }
.split--lead { margin-top: var(--section-gap-s); grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.gap-s { margin-top: var(--section-gap-s); }
.gap-l { margin-top: var(--section-gap-l); }
.split__text { display: grid; gap: var(--space-md); align-content: start; }
.split__text h2 { margin-bottom: var(--space-xs); }
.split__text > p { max-width: 46ch; color: var(--color-ink-2); }

/* endings */
.endings { width: 100%; margin-top: var(--space-lg); border-collapse: collapse; border-top: var(--rule-hair) solid var(--color-ink); }
.endings caption { caption-side: bottom; text-align: left; padding-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.endings th, .endings td { padding: var(--space-md) var(--space-sm) var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; vertical-align: baseline; }
.endings th { font-weight: 500; white-space: nowrap; }
.endings__n { font-size: var(--text-xl); color: var(--color-ink); }
.endings td:last-child { color: var(--color-ink-2); font-size: var(--text-sm); }

/* machines */
.machines { width: 100%; border-collapse: collapse; border-top: 2px solid var(--color-ink); font-size: var(--text-md); }
.machines caption { caption-side: bottom; text-align: left; padding-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.machines th { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; text-align: left; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); border-bottom: var(--rule-hair) solid var(--color-ink); }
.machines td { padding: var(--space-md) var(--space-md) var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.machines td:first-child { font-weight: 500; }
.machines td:last-child { color: var(--color-muted); }

/* the figures on a sheet */
.sheet { margin: 0; padding: var(--space-xl); background: var(--color-sheet); border-radius: 3px; box-shadow: 0 0 0 1px var(--color-rule), var(--shadow-lift); }
.figures { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); padding-bottom: var(--space-lg); border-bottom: 2px solid var(--color-ink); }
.figures p { display: grid; gap: var(--space-xs); color: var(--color-muted); }
.figure-big { font-variant-numeric: tabular-nums; font-size: var(--text-figure); line-height: 1; color: var(--color-ink); letter-spacing: -0.04em; }
.figures p + p .figure-big { color: var(--color-green); }
.sheet figcaption { max-width: 60ch; padding-top: var(--space-md); font-size: var(--text-sm); color: var(--color-ink-2); }

/* questions */
.faq { border-top: var(--rule-hair) solid var(--color-ink); }
.faq details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); min-height: 64px; padding-block: var(--space-sm); font-size: var(--text-title); font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: -0.015em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; color: var(--color-muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.faq summary:focus-visible { outline-offset: 4px; }
.faq details p { max-width: 62ch; padding-bottom: var(--space-lg); color: var(--color-ink-2); }

/* footer: index columns */
.foot { margin-top: var(--section-gap); padding-block: var(--space-2xl); border-top: 2px solid var(--color-ink); background: var(--color-paper-3); font-size: var(--text-sm); }
.foot__cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr); gap: var(--gap-columns); align-items: start; }
.foot ul { display: grid; gap: var(--space-2xs); }
.foot a { display: inline-flex; align-items: center; min-height: 32px; }
.foot__note { color: var(--color-muted); max-width: 40ch; }

@media (max-width: 60rem) {
  :root { --gutter: 24px; --gap-split: 40px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; }
  .slab__links { display: none; }
  .hero, .split, .split--lead { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; padding-block: var(--space-2xl) 0; }
  .foot__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  :root { --gutter: 16px; --gap-split: 32px; --section-gap-s: 64px; --section-gap: 72px; --section-gap-l: 88px; --gap-columns: 16px; }
  .entry__body { padding: var(--space-md); }
  .sheet { padding: var(--space-lg); }
}
@media (max-width: 22rem) {
  .hero__entry { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
  .hero__entry .entry__body { padding-inline: var(--space-sm); font-size: 0.71875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:active { transform: none; }
}
