/* Hallmark · shape: Narrative Workflow · genre: modern-minimal · theme: Coral (deal 3/3, seed public-postdeck-tiktok-publishing-bc6d·fb8a629f·2026-10-24·r0) · job: sign up · draw: 78f2f0
 * hero: Settled · nav: masthead · footer: index columns · imagery: the product, built (three of the owner's product photos as post media) · signature: the post sheet on the desk with Published pressed into the stock
 * axes: light/grotesk-sans/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, a tool page can read neutral; the head picks a fight with password sharing and the board says nobody but a person presses Post */
/* Hallmark · answered F4 · Coral controls are letterpress cards: the ink board is the one primary, the cotton card is the theme secondary, never filled with colour */
/* Hallmark · dismissed 58 · the 1440 window at the permissions table holds the six real TikTok scopes at their true count, one short line each */
/* Hallmark · waive 84 · the compose sheet is built, not captured · the live Postdeck app sits behind an access key and its screens carry real account handles and token state */

: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% 0.006 55); --color-paper-2: oklch(94.5% 0.007 55); --color-paper-3: oklch(91.5% 0.009 55);
  --color-ink: oklch(21% 0.012 38); --color-ink-2: oklch(29% 0.013 40); --color-muted: oklch(47% 0.013 45);
  --color-rule: oklch(87% 0.009 55); --color-rule-2: oklch(81% 0.011 55);
  --color-accent: oklch(74% 0.125 30); --color-accent-ink: oklch(21% 0.012 38); --color-accent-2: oklch(54% 0.165 29); --color-focus: oklch(54% 0.17 30);
  --color-cotton: oklch(98.8% 0.0045 80); --color-desk: oklch(94.3% 0.008 64); --color-print: oklch(23% 0.012 38);
  --color-board: oklch(22% 0.011 40); --color-board-type: oklch(96.5% 0.006 70); --color-paid: oklch(55.5% 0.15 33);
  --tex-cotton: url("cotton.svg"); --tex-desk: url("felt.svg");
  --shade: 32% 0.03 50; --lit: 100% 0.005 80; --deep: 7% 0.01 40;
  --font-display: "General Sans", ui-sans-serif, system-ui, sans-serif; --font-body: var(--font-display);
  --font-outlier: "Geist Mono", ui-monospace, monospace;
  --radius-card: 8px; --radius-input: 6px; --radius-pill: 999px; --radius-stock: 8px; --rule-hair: 1px;
  --shadow-card: 0 1px 2px oklch(20% 0.01 35 / 0.05);
  --edge-stock: inset 0 1px 0 oklch(var(--lit) / 0.9), inset 0 -1px 0 oklch(var(--shade) / 0.07), 0 0 0 0.5px oklch(var(--shade) / 0.22), 0 1px 0 oklch(var(--shade) / 0.12);
  --cast-stock: 6px 5px 10px -6px oklch(var(--shade) / 0.3); --cast-stock-lift: 12px 10px 18px -8px oklch(var(--shade) / 0.3);
  --press-groove: inset 1px 1.5px 2px oklch(var(--shade) / 0.16), inset -1px -1px 0 oklch(var(--lit) / 0.9), 0 0 0 0.5px oklch(var(--shade) / 0.2);
  --tracking-display: -0.03em; --display-weight: 600;
}

*, *::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: muted sepia=8 */
[data-slot] > img { filter: saturate(0.65) contrast(0.97) sepia(0.08); }

:root { --nav-h: 72px; --sheet-w: 33rem; --thumb-w: 5.5rem; }

/* chrome */
.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); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }
.mast { position: relative; z-index: var(--z-sticky-nav); background: var(--color-desk); border-bottom: 1px solid var(--color-rule); }
.mast__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--space-lg); min-height: var(--nav-h); }
.mast__side { display: flex; align-items: center; gap: var(--space-lg); }
.mast__side--r { justify-content: flex-end; }
.nl { font-size: 0.9375rem; font-weight: 500; color: var(--color-ink-2); text-decoration: none; white-space: nowrap; text-underline-offset: 0.3em; transition: color var(--dur-short) var(--ease-out); }
.nl:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent-2); }
.nl[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent-2); }
.nl:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.mark { display: inline-flex; align-items: center; gap: var(--space-sm); font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; letter-spacing: -0.025em; color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.mark img { width: 34px; height: 34px; border-radius: var(--radius-input); box-shadow: var(--cast-stock); }
.mark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.menu { display: none; justify-self: end; }
.menu summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-stock); background-color: var(--color-cotton); box-shadow: var(--edge-stock), var(--cast-stock); font-weight: 500; cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.menu[open] summary { box-shadow: var(--press-groove); }
.menu__list { position: absolute; right: var(--gutter); top: calc(var(--nav-h) - var(--space-xs)); display: grid; gap: var(--space-2xs); min-width: 14rem; margin: 0; padding: var(--space-sm); list-style: none; border-radius: var(--radius-stock); background-color: var(--color-cotton); background-image: var(--tex-cotton); box-shadow: var(--edge-stock), var(--cast-stock-lift); z-index: var(--z-dropdown); }
.menu__list a { display: flex; align-items: center; min-height: 44px; padding: 0 var(--space-sm); color: var(--color-print); text-decoration: none; border-radius: var(--radius-input); }
.menu__list a:hover { background: var(--color-paper-2); }
.menu__list a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }

/* controls: letterpress cards */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-stock); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.btn--ink { background: var(--color-board); color: var(--color-board-type); text-shadow: 0 -0.75px 0 var(--color-ink); box-shadow: var(--cast-stock); }
.btn--card { background-color: var(--color-cotton); background-image: linear-gradient(100deg, var(--color-cotton), transparent 45%), var(--tex-cotton); color: var(--color-print); text-shadow: 0.5px 0.75px 0 var(--color-cotton); box-shadow: var(--edge-stock), var(--cast-stock); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--edge-stock), var(--cast-stock-lift); }
.btn:active { transform: translateY(1px); box-shadow: var(--edge-stock); }
.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; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.fine { font-size: var(--text-sm); color: var(--color-muted); }
a.inline { color: var(--color-ink); text-decoration-color: var(--color-rule-2); }
a.inline:hover { text-decoration-color: var(--color-accent-2); }
a.inline:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* paper objects */
.stock { background-color: var(--color-cotton); background-image: linear-gradient(100deg, var(--color-cotton), transparent 45%), var(--tex-cotton); color: var(--color-print); border-radius: var(--radius-stock); box-shadow: var(--edge-stock), var(--cast-stock); }
.fig { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; font-size: var(--text-sm); color: var(--color-muted); }
.pressed { display: inline-block; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; color: var(--color-paid); text-shadow: 0.6px 0.9px 0 var(--color-cotton), -0.4px -0.6px 0 oklch(var(--shade) / 0.35); filter: url(#ink); transform: rotate(-4deg); }
.svgdefs { position: absolute; width: 0; height: 0; }

/* hero */
.hero { background-color: var(--color-desk); background-image: radial-gradient(90% 120% at 0% 30%, var(--color-cotton), transparent 62%), var(--tex-desk); }
.hero__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; gap: var(--space-3xl); min-height: min(calc(100dvh - var(--nav-h)), 62rem); padding-block: var(--space-2xl); }
.hero__text { display: grid; gap: var(--space-lg); }
.hero h1 { max-width: 13ch; }
.hero .actions { margin-top: var(--space-xs); }

.scene { position: relative; justify-self: start; width: min(100%, var(--sheet-w)); margin: 0; }
.scene[data-slot] { overflow: visible; background: none; }
.sheet { display: grid; gap: var(--space-sm); padding: var(--space-xl); transform: rotate(-0.6deg); }
.acct { display: flex; align-items: center; gap: var(--space-sm); padding-bottom: var(--space-md); border-bottom: 1px solid var(--color-rule); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius-pill); background: var(--color-board); color: var(--color-board-type); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.02em; }
.who b { display: block; font-weight: 600; }
.who small { display: block; font-size: var(--text-sm); color: var(--color-muted); }
.acct__to { margin-left: auto; font-size: var(--text-sm); color: var(--color-muted); }
.thumbs { display: flex; gap: var(--space-xs); }
.thumbs img { width: var(--thumb-w); aspect-ratio: 3 / 4; height: auto; object-fit: cover; border-radius: var(--radius-input); box-shadow: 0 0 0 0.5px oklch(var(--shade) / 0.25); }
.field { display: grid; gap: var(--space-2xs); }
.field__label { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.field__box { min-height: 44px; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-rule-2); border-radius: var(--radius-input); background: var(--color-cotton); line-height: 1.45; }
.field__box--select { display: flex; align-items: center; justify-content: space-between; }
.chev { width: 14px; height: 14px; flex-shrink: 0; color: var(--color-muted); }
.ticks { display: grid; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.ticks li { display: flex; align-items: flex-start; gap: var(--space-sm); line-height: 1.35; }
.ticks li.sub { padding-left: var(--space-xl); }
.box { display: grid; place-items: center; width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; border-radius: 4px; background: var(--color-board); color: var(--color-board-type); }
.box svg { width: 12px; height: 12px; }
.ticks small { display: block; font-size: var(--text-sm); color: var(--color-muted); }
.sheet__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
.sheet__foot .fine { max-width: 26ch; }
.fakebtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-lg); border-radius: var(--radius-stock); background: var(--color-board); color: var(--color-board-type); font-weight: 500; box-shadow: var(--cast-stock); }

.slip { position: absolute; right: calc(-1 * var(--space-xl)); bottom: var(--space-3xl); display: grid; gap: var(--space-xs); width: 15rem; padding: var(--space-lg); transform: rotate(2.2deg); }
.slip__row { display: flex; justify-content: space-between; gap: var(--space-md); font-size: var(--text-sm); }
.slip .pressed { justify-self: start; margin-top: var(--space-2xs); font-size: var(--text-2xl); }

/* sections */
.sec { padding-block: var(--section-gap); }
.sec--l { padding-block: var(--section-gap-l) var(--section-gap); }
.headblock { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: end; gap: var(--gap-columns); margin-bottom: var(--space-2xl); }
.headblock .lead { color: var(--color-ink-2); justify-self: start; grid-column: 2; }
.headblock h2 { grid-column: 1; }

/* stages, pinned */
.pin { display: grid; gap: var(--space-2xl); }
.pin__stage { display: none; }
.panels { margin: 0; padding: 0; list-style: none; counter-reset: stage; }
.panel { counter-increment: stage; display: grid; gap: var(--space-md); padding-block: var(--space-2xl); border-top: 1px solid var(--color-rule); }
.panel:last-child { border-bottom: 1px solid var(--color-rule); }
.panel h3 { display: grid; gap: var(--space-sm); font-size: var(--text-2xl); }
.panel h3::before { content: counter(stage); font-size: var(--text-section); font-weight: 600; line-height: 1; color: var(--color-ink); letter-spacing: -0.04em; }
.panel p { color: var(--color-ink-2); max-width: 46ch; }
.panel__obj { margin: var(--space-md) 0 0; }
.obj { width: min(100%, 34rem); }

.record { display: grid; gap: var(--space-md); padding: var(--space-xl); }
.record__top { display: flex; align-items: center; gap: var(--space-sm); }
.record dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-sm) var(--space-lg); margin: 0; padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
.record dt { font-size: var(--text-sm); color: var(--color-muted); }
.record dd { margin: 0; font-weight: 500; }

.groove { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--space-3xs); padding: var(--space-2xs); border-radius: 12px; background: var(--color-paper-2); box-shadow: var(--press-groove); }
.groove span { display: grid; place-items: center; min-height: 40px; padding: 0 var(--space-sm); border-radius: var(--radius-stock); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); white-space: nowrap; }
.groove span.on { background-color: var(--color-cotton); background-image: var(--tex-cotton); color: var(--color-print); box-shadow: var(--edge-stock), var(--cast-stock); }
.picker { display: grid; gap: var(--space-lg); padding: var(--space-xl); }
.picker__rows { display: grid; margin: 0; padding: 0; list-style: none; }
.picker__rows li { display: flex; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-sm); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); }
.picker__rows li b { font-weight: 500; color: var(--color-print); }
.picker__rows li span { color: var(--color-muted); }

.choice { display: grid; gap: var(--space-md); }
.choice .stock { display: grid; gap: var(--space-2xs); padding: var(--space-lg) var(--space-xl); }
.choice .stock b { font-weight: 600; }
.choice .stock span { font-size: var(--text-sm); color: var(--color-muted); }
.choice .stock.is-chosen { box-shadow: var(--edge-stock), var(--cast-stock-lift), inset 3px 0 0 var(--color-board); }
.choice .stock.is-back { opacity: 0.72; transform: translateX(var(--space-lg)); }

.log { display: grid; gap: var(--space-2xs); padding: var(--space-xl); }
.log__row { display: flex; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-xs); border-bottom: 1px dashed var(--color-rule-2); }
.log .pressed { margin-top: var(--space-md); font-size: var(--text-3xl); }

/* the integration */
.scopes { width: 100%; border-collapse: collapse; }
.scopes th { padding: 0 0 var(--space-sm); text-align: left; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); border-bottom: 1px solid var(--color-rule-2); white-space: nowrap; }
.scopes td { padding: var(--space-md) var(--space-lg) var(--space-md) 0; border-bottom: 1px solid var(--color-rule); vertical-align: baseline; }
.scopes td:first-child { width: 34%; }
.scopes code { font-family: var(--font-outlier); font-size: 0.9375rem; color: var(--color-ink); }
.scopes td:last-child { color: var(--color-ink-2); }

/* the board */
.board { background: var(--color-board); color: var(--color-board-type); }
.board__in { display: grid; gap: var(--space-xl); }
.statement { max-width: 24ch; font-family: var(--font-display); font-size: var(--text-display-s); font-weight: 600; line-height: 1.06; letter-spacing: var(--tracking-display); text-wrap: balance; }
.board a.inline { color: var(--color-board-type); text-decoration-color: var(--color-accent); }
.board a.inline:hover { text-decoration-color: var(--color-board-type); }
.board a.inline:focus-visible { outline-color: var(--color-accent); }

/* questions */
.qa { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); }
.qa__list { margin: 0; }
.qa__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); gap: var(--gap-columns); padding-block: var(--space-xl); border-top: 1px solid var(--color-rule); }
.qa__row:last-child { border-bottom: 1px solid var(--color-rule); }
.qa__row dt { font-family: var(--font-display); font-size: var(--text-title); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.qa__row dd { margin: 0; color: var(--color-ink-2); max-width: 52ch; }

/* inner pages */
.pagehead { background-color: var(--color-desk); background-image: radial-gradient(90% 140% at 0% 0%, var(--color-cotton), transparent 62%), var(--tex-desk); border-bottom: 1px solid var(--color-rule); }
.pagehead__in { display: grid; gap: var(--space-lg); padding-block: var(--space-3xl) var(--space-2xl); }
.pagehead h1 { font-size: var(--text-display-s); max-width: 18ch; }
.pagehead .lead { color: var(--color-ink-2); }
.rows { display: grid; margin: 0; padding: 0; list-style: none; }
.rows > div, .rows > li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); padding-block: var(--space-xl); border-top: 1px solid var(--color-rule); }
.rows > :last-child { border-bottom: 1px solid var(--color-rule); }
.rows dt, .rows h2 { margin: 0; font-family: var(--font-display); font-size: var(--text-title); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; max-width: 22ch; }
.rows dd, .rows p { margin: 0; color: var(--color-ink-2); max-width: 60ch; }
.rows code { font-family: var(--font-outlier); font-size: 0.9375rem; }
.rows ol, .rows ul { margin: 0; padding-left: var(--space-lg); color: var(--color-ink-2); display: grid; gap: var(--space-xs); max-width: 60ch; }
.prose { display: grid; gap: var(--space-lg); max-width: 68ch; line-height: 1.7; }
.prose h2 { margin-top: var(--space-lg); font-size: var(--text-2xl); max-width: none; }
.prose ul { margin: 0; padding-left: var(--space-lg); display: grid; gap: var(--space-sm); }
.prose code { font-family: var(--font-outlier); font-size: 0.9375rem; }
.doc-wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gap-columns); }
.doc-wrap aside { font-size: var(--text-sm); color: var(--color-muted); }

/* footer */
.foot { padding-block: var(--space-3xl) var(--space-xl); background: var(--color-paper-2); border-top: 1px solid var(--color-rule); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: var(--gap-columns); }
.foot__brand { display: grid; gap: var(--space-md); align-content: start; }
.foot__brand p { color: var(--color-ink-2); max-width: 32ch; }
.foot h2 { margin: 0 0 var(--space-sm); font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; color: var(--color-muted); }
.foot ul { display: grid; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.foot ul a { color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.foot ul a:hover { text-decoration: underline; text-decoration-color: var(--color-accent-2); }
.foot ul a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule-2); font-size: var(--text-sm); color: var(--color-muted); }

/* pinned run, desktop with script */
@media (min-width: 60rem) {
  .js.pin-on .pin { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; }
  .js.pin-on .pin__stage { display: grid; place-items: center; position: sticky; top: var(--space-2xl); height: min(40rem, calc(100dvh - var(--space-4xl))); }
  .js.pin-on .pin__stage > .layer { grid-area: 1 / 1; width: min(100%, 34rem); opacity: 0; visibility: hidden; transform: translateY(var(--space-xs)); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out), visibility 0s linear var(--dur-long); }
  .js.pin-on .pin__stage > .layer.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .js.pin-on .panel__obj { display: none; }
  .js.pin-on .panel { min-height: min(32rem, 62dvh); align-content: center; }
}
@media (max-width: 75rem) { .slip { right: calc(-1 * var(--space-md)); } }
@media (max-width: 60rem) {
  .mast__in { grid-template-columns: minmax(0, 1fr) auto; }
  .mast__side { display: none; }
  .mark { grid-column: 1; justify-self: start; }
  .menu { display: block; }
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); min-height: 0; padding-block: var(--space-2xl) var(--space-3xl); }
  .headblock, .qa, .qa__row, .rows > div, .rows > li, .doc-wrap { grid-template-columns: minmax(0, 1fr); }
  .headblock .lead, .headblock h2 { grid-column: 1; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
  .scopes thead { display: none; }
  .scopes tr { display: grid; gap: var(--space-2xs); padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); }
  .scopes td { padding: 0; border: 0; width: auto; }
  .scopes td:first-child { width: auto; }
}
@media (max-width: 40rem) {
  .sheet { padding: var(--space-lg); transform: none; }
  .slip { position: relative; right: auto; width: auto; margin: calc(-1 * var(--space-md)) var(--space-md) 0 var(--space-xl); transform: rotate(1.5deg); }
  .choice .stock.is-back { transform: none; margin-left: var(--space-md); }
  .thumbs img { width: 4.5rem; }
  .groove { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .nl { transition: none; }
  .btn:hover, .btn:active { transform: none; }
  .js.pin-on .pin__stage > .layer { transition: none; transform: none; }
}
