/* Hallmark · shape: Split Studio · genre: modern-minimal · theme: Dose (deal 1/3, seed tally-soft-calm-family-fc86·ea46f751·2026-11-10·r0) · job: try · draw: d93141
 * hero: Counter (swapped from Corridor: the portrait phone captures refuse one 44ch column) · nav: masthead · footer: statement · imagery: screenshots 5 (the app's own captures, WebP), no photographs · signature: the sync stamp, on the download label and the entries · dose: white
 * axes: light/grotesk-sans/chromatic-green · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, a download page reads like any app's; the app's own sync stamp carries the release date and the offline story */
/* Hallmark · dismissed 25 · six ledes of one or two sentences set at 34 to 44ch · a short lede may sit from 28ch, and these sit beside phone screens */
/* Hallmark · dismissed 58 · 83 words in the 1440 window from y=3250 · it straddles the band's last row and the three install steps, which cannot merge */
/* Hallmark · answered F4 · .btn is the clear moulded key used only for Copy on the verify page, the mint tab is a checked choice; one green download button per view, repeated at the close */
/* Hallmark · answered F15 · the 24px and 40px gaps sit inside the download label and the entries tray, not between section columns */
/* Hallmark · answered F18 · build.mjs fills every slot from the app's screenshots at build time; an inline slot script would break the strict CSP */
/* Hallmark · hero-review: in-thread · fix · 1 finding · 1 resolved (empty mint corner: the entry label moved to mid-height) */
/* Hallmark · finish-review: in-thread · fix · 3 findings · 3 resolved (welcome screen shown whole, two generic heads rewritten, moments set as full plastic bands) · gap: the window light is faint */
:root {
  color-scheme: light;
  --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.75rem, 5vw + 1rem, 5.25rem);
  --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);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(97.6% 0.011 88); --color-paper-2: oklch(96.5% 0.02 160); --color-paper-3: oklch(93% 0.036 160);
  --color-ink: oklch(21% 0.025 170); --color-ink-2: oklch(31% 0.02 170); --color-muted: oklch(49% 0.024 165);
  --color-rule: oklch(86.5% 0.022 140);
  --color-accent: oklch(50% 0.13 160); --color-accent-deep: oklch(42% 0.11 162); --color-accent-soft: oklch(88% 0.08 160); --color-accent-ink: oklch(99% 0.006 160);
  --color-focus: oklch(45% 0.14 160);
  --p-mon: oklch(85% 0.052 22); --p-tue: oklch(87.5% 0.058 64); --p-wed: oklch(91.5% 0.064 98); --p-thu: oklch(86.5% 0.075 160);
  --p-fri: oklch(87% 0.048 210); --p-sat: oklch(84% 0.045 270); --p-sun: oklch(84% 0.048 322);
  --light: oklch(99.4% 0.016 84); --glint: oklch(99.8% 0.005 88);
  --color-surface: oklch(99.5% 0.005 92); --color-ink-band-rule: oklch(36% 0.03 170); --color-on-ink-muted: oklch(84% 0.03 160);
  --radius-screen: 26px; --nav-h: 88px;
  --font-display: "Schibsted Grotesk", ui-sans-serif, sans-serif; --font-body: "Instrument Sans", ui-sans-serif, sans-serif;
  --font-outlier: "DM Mono", ui-monospace, monospace;
  --radius-card: 14px; --radius-input: 10px; --radius-pill: 999px; --rule-hair: 1px;
  --shadow-card: 0 1px 2px oklch(30% 0.03 165 / 0.08), 0 24px 48px -24px oklch(40% 0.08 165 / 0.35);
  --shadow-lift: 0 1px 1px oklch(30% 0.03 165 / 0.10), 8px 18px 28px -14px oklch(36% 0.06 165 / 0.32), 18px 40px 60px -30px oklch(40% 0.08 165 / 0.30);
  --tracking-display: -0.03em; --display-weight: 700;
}
*, *::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-3xl); }
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) 22%, 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; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* photographs: natural sat=-15 con=-6 */
[data-slot] > img { filter: saturate(0.85) contrast(0.94); }

@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-700.c8216ad966.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-400-500.9d7ec386a4.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/dm-mono-400.15ae48f0bd.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/dm-mono-500.6ca23113c3.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---- Ground: warm paper with a fibre grain ------------------------------ */
body { background-color: var(--color-paper); background-image: url("grain.fa788643d2.svg"); background-size: 220px 220px; font-synthesis: none; }
main { display: block; }
.mono { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }
code, kbd, samp { font-family: var(--font-outlier); font-size: 0.94em; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-input); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* ---- Masthead ----------------------------------------------------------- */
.mast { position: relative; z-index: var(--z-raised); border-bottom: var(--rule-hair) solid var(--color-rule); }
.mast__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; min-height: var(--nav-h); }
.mast__link { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; text-decoration: none; white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.mast__link:last-child { justify-self: end; }
.mast__link:hover { color: var(--color-accent-deep); text-decoration: underline; text-decoration-color: var(--color-accent); }
.mast__link:active { color: var(--color-ink); }
.mast__link[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; color: var(--color-ink); font: 700 var(--text-2xl)/1 var(--font-display); letter-spacing: var(--tracking-display); text-decoration: none; }
.wordmark__ring { width: 0.62em; height: 0.62em; border: 3px solid var(--color-accent); border-radius: var(--radius-pill); box-shadow: 0 0 0 2px var(--color-paper), 0 0 0 3px var(--color-accent); flex-shrink: 0; }
.wordmark:hover { color: var(--color-ink-2); }
.wordmark:active { transform: translateY(1px); }

/* ---- Buttons: moulded plastic ------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-input); background: var(--color-surface); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: inset 0 1px 0 var(--glint), 0 0 0 1px var(--color-rule), 0 3px 0 var(--color-rule), 0 10px 18px -12px var(--color-muted); transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-paper-2); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 1px 0 var(--glint), 0 0 0 1px var(--color-rule), 0 0 0 var(--color-rule); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--primary { background: linear-gradient(var(--color-accent), var(--color-accent-deep)); color: var(--color-accent-ink); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--glint) 45%, transparent), 0 0 0 1px var(--color-accent-deep), 0 3px 0 var(--color-accent-deep), 0 12px 22px -12px var(--color-accent-deep); }
.btn--primary:hover { background: linear-gradient(color-mix(in oklab, var(--color-accent) 88%, var(--glint)), var(--color-accent)); }
.btn--primary:active { box-shadow: inset 0 1px 0 color-mix(in oklab, var(--glint) 45%, transparent), 0 0 0 1px var(--color-accent-deep), 0 0 0 var(--color-accent-deep); }
.btn__icon { width: 20px; height: 20px; flex-shrink: 0; }
.link { color: var(--color-ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--color-rule); text-decoration-thickness: 2px; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.link:hover { text-decoration-color: var(--color-accent); }
.link:active { color: var(--color-accent-deep); }

/* ---- Plastic and paper ------------------------------------------------- */
.plastic { --t: var(--p-thu); position: relative; border-radius: var(--radius-card); background: linear-gradient(color-mix(in oklab, var(--glint) 32%, transparent), transparent 18%), color-mix(in oklab, var(--t) 62%, transparent); box-shadow: inset 0 1.5px 0 var(--glint), inset 0 -24px 36px -28px color-mix(in oklab, var(--t) 45%, var(--color-ink)); }
.plastic::after { content: ""; position: absolute; inset: auto 8% calc(-1 * var(--space-xl)) 8%; height: var(--space-3xl); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--t) 55%, transparent); filter: blur(28px); z-index: -1; pointer-events: none; }
.plastic--butter { --t: var(--p-wed); } .plastic--sky { --t: var(--p-fri); } .plastic--lilac { --t: var(--p-sun); } .plastic--apricot { --t: var(--p-tue); } .plastic--rose { --t: var(--p-mon); } .plastic--peri { --t: var(--p-sat); }

.paper { position: relative; border-radius: var(--radius-input); background-color: var(--color-surface); background-image: url("grain.fa788643d2.svg"); background-size: 220px 220px; box-shadow: var(--shadow-lift); }

/* the sync stamp, as in the app: double ring, green when the family has it, grey while it waits */
.stamp { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3xs); min-width: 8.5rem; padding: var(--space-xs) var(--space-sm); border: 2px solid currentColor; border-radius: var(--radius-input); box-shadow: 0 0 0 3px var(--color-surface), 0 0 0 4px currentColor; color: var(--color-accent-deep); font: 500 var(--text-sm)/1.2 var(--font-outlier); font-variant-numeric: tabular-nums; text-align: center; transform: rotate(-2deg); }
.stamp b { font-weight: 500; font-size: var(--text-md); }
.stamp--wait { color: var(--color-muted); }

/* ---- Phone screens (the app's own captures) ------------------------------ */
.screen { position: relative; margin: 0; aspect-ratio: 1233 / 2673; border-radius: var(--radius-screen); box-shadow: var(--shadow-lift); }
.screen > img { object-position: 50% 0; outline: 1px solid color-mix(in oklab, var(--color-ink) 9%, transparent); outline-offset: -1px; border-radius: inherit; }
[data-kind="product"] > img { filter: none; }

/* ---- Hero: the download beside the app ---------------------------------- */
.hero { position: relative; isolation: isolate; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: -10% -5% 0 30%; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent 0 18%, color-mix(in oklab, var(--light) 80%, transparent) 18% 27%, transparent 27% 31%, color-mix(in oklab, var(--light) 70%, transparent) 31% 40%, transparent 40% 52%, color-mix(in oklab, var(--light) 60%, transparent) 52% 60%, transparent 60%); filter: blur(22px); opacity: 0.9; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: center; min-height: calc(100svh - var(--nav-h)); max-height: 1000px; padding-block: var(--space-xl); }
.hero__text { display: grid; gap: var(--space-lg); justify-items: start; }
.hero h1 { max-width: 14ch; line-height: 1.02; }
.hero .lead { max-width: 34ch; color: var(--color-ink-2); }

.dl { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-md) var(--space-lg); width: 100%; max-width: 34rem; margin-top: var(--space-xs); padding: var(--space-lg); }
.dl__go { display: grid; gap: var(--space-md); justify-items: start; min-width: 0; }
.dl__facts { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); margin: 0; }
.dl__facts div { display: grid; gap: var(--space-3xs); }
.dl__facts dt { color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; }
.dl__facts dd { margin: 0; color: var(--color-ink); font-family: var(--font-outlier); font-size: var(--text-md); font-variant-numeric: tabular-nums; }
.dl .stamp { align-self: start; }
.dl__other { display: none; grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-md) var(--space-lg); align-items: center; margin: 0; }
.dl__qr { width: 132px; height: 132px; border-radius: var(--space-xs); outline: 1px solid var(--color-rule); }
.dl__other figcaption { max-width: 34ch; color: var(--color-ink-2); }
.dl__other strong { display: block; margin-bottom: var(--space-2xs); color: var(--color-ink); font-weight: 500; font-size: var(--text-lg); }
.dl__file { display: table; margin-top: var(--space-sm); font-size: var(--text-sm); }
.dl__ios { display: none; }
.dl--close { padding: 0; margin-top: 0; }
.dl--close .dl__qr { width: 112px; height: 112px; background: var(--color-surface); }
.dl__stub { grid-column: 1 / -1; margin-top: var(--space-2xs); padding-top: var(--space-sm); border-top: 1px dashed var(--color-rule); color: var(--color-muted); font-size: var(--text-sm); }
.dl__stub a { color: var(--color-ink-2); }

/* Device detection (detect.js): Android sees the button, everyone else the QR code.
   Without JavaScript both show, so nobody is stuck. */
html:not([data-platform]) .dl__other { display: grid; padding-top: var(--space-md); border-top: 1px dashed var(--color-rule); }
html[data-platform]:not([data-platform="android"]) .dl__other { display: grid; }
html[data-platform]:not([data-platform="android"]) .dl__go { display: none; }
html[data-platform]:not([data-platform="android"]) .dl { grid-template-columns: minmax(0, 1fr); }
html[data-platform]:not([data-platform="android"]) .dl .stamp { display: none; }
html[data-platform="iphone"] .dl__ios, html[data-platform="ipad"] .dl__ios { display: inline; }
html[data-platform="iphone"] .dl__file, html[data-platform="ipad"] .dl__file { display: none; }

.hero__show { --t: var(--p-thu); display: grid; align-items: center; justify-items: start; height: min(76svh, 680px); min-height: 480px; padding: var(--space-lg) var(--space-xl); }
.hero__show .screen { height: 100%; width: auto; max-width: 100%; }
.hero__entry { position: absolute; right: var(--space-xl); top: 34%; z-index: 3; width: min(56%, 17rem); rotate: -1.5deg; }

/* ---- Sections: shared rhythm ------------------------------------------- */
.section { padding-block: var(--section-gap) 0; }
.section--l { padding-block-start: var(--section-gap-l); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split__text { display: grid; gap: var(--space-lg); align-content: center; }
.split__text p { max-width: 44ch; color: var(--color-ink-2); font-size: var(--text-lg); line-height: 1.5; }

/* ---- Moments (switcher) -------------------------------------------------- */
.moments__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-lg) var(--space-2xl); margin-bottom: var(--space-2xl); }
.seg { display: inline-flex; gap: var(--space-2xs); padding: var(--space-2xs); border-radius: calc(var(--radius-input) + var(--space-2xs)); background: color-mix(in oklab, var(--color-paper-3) 70%, transparent); box-shadow: inset 0 1px 2px color-mix(in oklab, var(--color-ink) 12%, transparent); }
.seg button { min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-input); background: transparent; color: var(--color-ink-2); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.seg button:hover { color: var(--color-ink); background: color-mix(in oklab, var(--color-surface) 55%, transparent); }
.seg button:active { transform: translateY(1px); }
.seg button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.seg button[aria-selected="true"] { background: var(--color-accent-soft); color: var(--color-ink); box-shadow: inset 0 1px 0 var(--glint), 0 0 0 1px color-mix(in oklab, var(--color-accent) 40%, transparent); }
.seg button:disabled { opacity: 0.55; cursor: not-allowed; }
html:not(.js) .moments .seg { display: none; }
.moments__panels { display: grid; gap: var(--space-3xl); }
.moment { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: stretch; height: 600px; padding: 0 var(--space-2xl); overflow: hidden; }
.moment__text { display: grid; gap: var(--space-md); align-content: center; }
.moment__text p { max-width: 40ch; color: var(--color-ink-2); font-size: var(--text-lg); line-height: 1.5; }
.moment__stage { display: grid; grid-template-rows: minmax(0, 1fr); place-items: end center; padding-top: var(--space-2xl); }
.moment__stage .screen { height: calc(100% + var(--space-2xl)); width: auto; max-width: 100%; margin-bottom: calc(-1 * var(--space-2xl)); }

/* ---- Labels: an entry, as the family sees it ----------------------------- */
.ledger { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl); padding: var(--space-2xl) var(--space-xl); }
.entry-fig { display: grid; gap: var(--space-md); margin: 0; }
.entry-fig figcaption { color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; }
.entry { display: grid; gap: var(--space-xs); padding: var(--space-lg) var(--space-lg) var(--space-md); }
.entry__top { display: grid; gap: var(--space-xs); justify-items: start; }
.entry__cat { display: inline-flex; align-items: center; gap: var(--space-xs); font-weight: 500; }
.entry__cat > :first-child { flex-shrink: 0; }
.entry__chip { width: 12px; height: 12px; border-radius: var(--radius-pill); background: var(--p-wed); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-ink) 18%, transparent); }
.entry__amt { white-space: nowrap; font: 700 var(--text-2xl)/1 var(--font-display); letter-spacing: var(--tracking-display); }
.entry__who { color: var(--color-muted); font-size: var(--text-sm); }
.entry__foot { display: flex; justify-content: space-between; align-items: end; gap: var(--space-sm); margin-top: var(--space-sm); padding-top: var(--space-md); border-top: 1px dashed var(--color-rule); }
.entry__time { color: var(--color-ink-2); font-family: var(--font-outlier); font-size: var(--text-sm); }

/* ---- Ink band: what the server sees -------------------------------------- */
.band-ink { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-ink); color: var(--color-paper); }
.band-ink h2 { color: var(--color-paper); }
.band-ink .split__text p { color: var(--color-on-ink-muted); }
.cipher { display: grid; gap: var(--space-lg); margin: 0; }
.cipher dd { margin: 0; }
.cipher__row { display: grid; gap: var(--space-sm); }
.cipher__where { color: var(--color-on-ink-muted); font-size: var(--text-sm); font-weight: 500; }
.cipher__plain { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: var(--space-lg); padding: var(--space-lg); color: var(--color-ink); }
.cipher__plain .entry__amt { font-size: var(--text-xl); }
.cipher__gone { padding: var(--space-md) 0 0; border-top: 1px dashed var(--color-ink-band-rule); color: var(--color-paper); font-size: var(--text-lg); }
.cipher__locked { padding: var(--space-lg); border: 1px solid var(--color-ink-band-rule); border-radius: var(--radius-input); color: var(--color-accent-soft); font-family: var(--font-outlier); font-size: var(--text-md); line-height: 1.6; overflow-wrap: anywhere; }

/* ---- Install: three compartments ------------------------------------------ */
.install__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-lg) var(--space-3xl); align-items: end; margin-bottom: var(--space-2xl); }
.install__head p { max-width: 40ch; color: var(--color-ink-2); font-size: var(--text-lg); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps > li { counter-increment: step; display: grid; grid-template-rows: auto auto 1fr; gap: var(--space-sm); min-height: 300px; padding: var(--space-xl); }
.steps > li::before { content: counter(step); font: 700 var(--text-display)/0.9 var(--font-display); letter-spacing: var(--tracking-display); color: color-mix(in oklab, var(--t) 40%, var(--color-ink)); font-variant-numeric: proportional-nums; }
.steps h3 { margin-top: var(--space-md); }
.steps p { color: var(--color-ink-2); max-width: 34ch; }

/* ---- What it needs: a plain table ---------------------------------------- */
.needs { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-xl) var(--space-3xl); align-items: start; }
.needs__table { width: 100%; border-collapse: collapse; font-size: var(--text-lg); }
.needs__table th, .needs__table td { padding: var(--space-lg) 0; border-top: 1px solid var(--color-rule); text-align: left; vertical-align: baseline; }
.needs__table tr:last-child th, .needs__table tr:last-child td { border-bottom: 1px solid var(--color-rule); }
.needs__table th { width: 30%; padding-right: var(--space-lg); color: var(--color-ink); font-weight: 500; white-space: nowrap; }
.needs__table td { color: var(--color-ink-2); }
.needs__table .mono { color: var(--color-ink); font-size: var(--text-md); }

/* ---- Close: the download again, beside one last screen -------------------- */
.close { margin-top: var(--section-gap); padding-block: var(--section-gap-s) 0; background: var(--color-paper-2); border-top: 1px solid var(--color-rule); overflow: clip; }
.close__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.close__text { display: grid; gap: var(--space-lg); justify-items: start; padding-bottom: var(--section-gap-s); }
.close__text > p { max-width: 38ch; color: var(--color-ink-2); font-size: var(--text-lg); }
.close__stage { display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; height: min(76svh, 640px); min-height: 480px; margin-bottom: var(--section-gap-s); padding: var(--space-lg); }
.close__stage .screen { height: 100%; width: auto; max-width: 100%; }

/* ---- Footer: one closing sentence ---------------------------------------- */
.foot { padding-block: var(--space-3xl) var(--space-xl); background: var(--color-ink); color: var(--color-paper); }
.foot__line { max-width: 22ch; font: 700 var(--text-display-s)/1.04 var(--font-display); letter-spacing: var(--tracking-display); text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); margin: var(--space-2xl) 0 0; padding: var(--space-lg) 0 0; border-top: 1px solid var(--color-ink-band-rule); list-style: none; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-paper); text-decoration: underline; text-decoration-color: var(--color-ink-band-rule); text-decoration-thickness: 1px; white-space: nowrap; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.foot__links a:hover { text-decoration-color: var(--color-accent-soft); }
.foot__links a:active { color: var(--color-accent-soft); }
.foot__links a:focus-visible, .band-ink a:focus-visible { outline-color: var(--color-accent-soft); }
.foot__legal { margin-top: var(--space-md); color: var(--color-on-ink-muted); font-size: var(--text-sm); }

/* ---- Verify page ----------------------------------------------------------- */
.page-head { padding-block: var(--space-3xl) var(--space-2xl); }
.page-head h1 { font-size: var(--text-display-s); max-width: 18ch; line-height: 1.04; }
.page-head .lead { margin-top: var(--space-lg); color: var(--color-ink-2); }
.print { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-xl) var(--space-3xl); padding-block: var(--space-2xl); border-top: 1px solid var(--color-rule); }
.print:last-of-type { border-bottom: 1px solid var(--color-rule); }
.print__text { display: grid; gap: var(--space-md); align-content: start; }
.print__text h2 { font-size: var(--text-2xl); }
.print__text p { color: var(--color-ink-2); max-width: 44ch; }
.print__body { display: grid; gap: var(--space-lg); min-width: 0; }
.hash { padding: var(--space-lg); }
.hash__name { color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; }
.hash__value { display: block; margin-top: var(--space-xs); color: var(--color-ink); font: 500 var(--text-lg)/1.6 var(--font-outlier); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; word-spacing: 0.35em; }
.hash__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm); margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px dashed var(--color-rule); }
.hash__row .btn { min-height: 44px; }
.copied { color: var(--color-accent-deep); font-size: var(--text-sm); }
html:not(.js) [data-copy] { display: none; }
.cmds { display: grid; gap: var(--space-sm); margin: 0; }
.cmds div { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: var(--space-md); align-items: baseline; padding-block: var(--space-sm); border-top: 1px solid var(--color-rule); }
.cmds dt { color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; }
.cmds dd { margin: 0; min-width: 0; }
.cmds code { display: block; overflow-x: auto; color: var(--color-ink); white-space: pre; }
.fill { padding: 0 0.25em; border: 1px dashed color-mix(in oklch, var(--color-muted) 70%, transparent); border-radius: 3px; color: var(--color-muted); font-family: var(--font-body); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.note { margin-block: var(--space-2xl) var(--space-3xl); max-width: 60ch; color: var(--color-ink-2); }
.lost { min-height: 60svh; display: grid; align-content: center; gap: var(--space-lg); justify-items: start; padding-block: var(--space-3xl); }
.lost h1 { font-size: var(--text-display-s); }

/* ---- Small screens -------------------------------------------------------- */
@media (max-width: 60rem) {
  :root { --nav-h: 64px; }
  .hero__grid, .split, .moment, .close__grid, .needs, .install__head, .print { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .hero__grid { min-height: 0; max-height: none; padding-block: var(--space-xl) var(--space-2xl); }
  .hero__show { height: 560px; min-height: 0; padding: var(--space-lg); }
  .hero__entry { right: var(--space-md); top: auto; bottom: 10%; }
  .moment { height: auto; padding: var(--space-xl) var(--space-lg) 0; gap: var(--space-xl); }
  .moment__stage { height: 480px; padding-top: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps > li { min-height: 0; }
  .close__text { padding-bottom: 0; }
  .close__stage { height: 520px; min-height: 0; margin-bottom: var(--section-gap-s); }
  .wordmark { font-size: var(--text-xl); }
}
@media (max-width: 40rem) {
  .mast__link { font-size: var(--text-sm); }
  .dl { grid-template-columns: minmax(0, 1fr); padding: var(--space-md); }
  .dl .stamp { justify-self: end; }
  .steps > li { padding: var(--space-lg); }
  .dl .btn { width: 100%; }
  .dl__other { grid-template-columns: minmax(0, 1fr); }
  .ledger { grid-template-columns: minmax(0, 1fr); padding: var(--space-xl) var(--space-md); }
  .cipher__plain { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xs) var(--space-md); }
  .cipher__plain .entry__time { grid-row: 2; }
  .hero__show { height: 460px; padding: var(--space-md); }
  .hero__entry { width: min(66%, 15rem); }
  .moment { padding: var(--space-lg) var(--space-md) 0; }
  .moment__stage { height: 420px; }
  .needs__table th { width: auto; white-space: normal; }
  .needs__table th, .needs__table td { display: block; padding: var(--space-sm) 0 0; border-top: 0; }
  .needs__table tr { display: block; padding-block: var(--space-sm) var(--space-md); border-top: 1px solid var(--color-rule); }
  .needs__table tr:last-child th, .needs__table tr:last-child td { border-bottom: 0; }
  .cmds div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .seg button, .mast__link, .link, .foot__links a { transition: none; }
  .btn:active, .seg button:active, .wordmark:active { transform: none; }
}
