/* Hallmark · shape: app screen · genre: editorial · theme: Grid logic in the Specimen palette (owner's round 3: B's logic, A's look)
 * nav: top bar, grid mark and two-word wordmark, five paper types · signature: the swatch book, nine grid sizes at one common scale in the PDF's own line colour, a strip on phones, the chosen one named beside its download · states: default, chosen, all sizes open, A4, landscape, unit error, too fine, too heavy, docked download on phones
 * axes: light/grotesk-sans/warm · posture: restrained · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P5 H5 E4 S5 R4 V4 · weakest: V, warm paper and graphite are quiet; the red frame on the chosen swatch and the dark button carry the page */
/* Hallmark · waive 39b · button.tile is a swatch card, its height is the grid sample plus the size name · the swatch book compares real square sizes, a 40px tile would hide the grid */
/* Geist, self-hosted (assets/fonts/README.md); the fallback is Arial scaled to Geist's widths, so the swap does not
 * move the page (size-adjust from the advance widths of a sample line, ascent and descent from Geist's hhea). */
@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Geist Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 105.02%; ascent-override: 95.7%; descent-override: 28.09%; line-gap-override: 0%; }
: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.75rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.2rem; --text-xl: 1.44rem; --text-2xl: 1.728rem; --text-3xl: 2.074rem;
  --text-display-s: 1.44rem; --text-display: 1.728rem; --text-section: 1.2rem; --text-title: 1rem; --text-lead: 1rem;
  --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.012 82); --color-paper-2: oklch(94.5% 0.015 80); --color-paper-3: oklch(90.5% 0.019 78);
  --color-ink: oklch(21% 0.008 60); --color-ink-2: oklch(33% 0.01 60); --color-muted: oklch(48% 0.012 65);
  --color-rule: oklch(84% 0.014 75); --color-rule-2: oklch(64% 0.016 72);
  --color-accent: oklch(52% 0.19 14); --color-accent-ink: oklch(97% 0.012 82); --color-focus: oklch(52% 0.19 14);
  --color-btn: oklch(21% 0.008 60); --color-btn-ink: oklch(97% 0.012 82); --color-btn-hover: oklch(33% 0.01 60);
  --color-mark: oklch(52% 0.19 14); --color-mark-ink: oklch(97% 0.012 82);
  --sheet-paper: oklch(99.6% 0.002 90); --sheet-ink: oklch(21% 0.008 60); --sheet-shadow: 0 1px 2px oklch(40% 0.03 60 / 0.18);
  --swatch-line: #9b9b9b; --swatch-w: 0.67px; --swatch-wm: 1.33px;
  --font-display: "Geist", "Geist Fallback", ui-sans-serif, system-ui, sans-serif; --font-body: "Geist", "Geist Fallback", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: var(--font-display);
  --radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.02em; --display-weight: 500;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --color-paper: oklch(20% 0.01 70); --color-paper-2: oklch(24% 0.012 70); --color-paper-3: oklch(29% 0.013 70);
    --color-ink: oklch(94% 0.014 82); --color-ink-2: oklch(86% 0.014 80); --color-muted: oklch(74% 0.014 75);
    --color-rule: oklch(36% 0.012 70); --color-rule-2: oklch(52% 0.014 72);
    --color-accent: oklch(70% 0.16 14); --color-accent-ink: oklch(18% 0.01 60); --color-focus: oklch(72% 0.15 14);
    --color-btn: oklch(94% 0.014 82); --color-btn-ink: oklch(18% 0.01 60); --color-btn-hover: oklch(86% 0.014 80);
    --color-mark: oklch(70% 0.16 14); --color-mark-ink: oklch(18% 0.01 60);
    --sheet-paper: oklch(93% 0.006 85); --sheet-ink: oklch(18% 0.01 60); --sheet-shadow: none;
  }
}
*, *::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: var(--color-mark); color: var(--color-mark-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; }
.wrap { 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, .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@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; } }


.top__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); color: var(--color-ink); text-decoration: none; min-height: 44px; }
.brand__mark { width: 28px; height: 28px; }
.m-ink { fill: var(--color-ink); }
.m-cell { fill: var(--color-accent); }
.brand__name { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1; letter-spacing: -0.02em; font-weight: 400; white-space: nowrap; }
.brand__name b, .foot__brand b { font-weight: 600; }
.nav { display: flex; gap: var(--space-2xs); }
.nav a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-sm); font-weight: 400; font-size: var(--text-sm); color: var(--color-ink); text-decoration: none; }
.nav a:hover { color: var(--color-ink-2); text-decoration: underline; text-decoration-color: var(--color-rule-2); text-underline-offset: 0.4em; }
.nav a[aria-current="page"] { color: var(--color-ink); font-weight: 500; text-decoration-color: var(--color-accent); text-decoration: underline; text-underline-offset: 0.4em; text-decoration-thickness: 2px; }

.gen__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--space-xl); padding-block: var(--space-md) var(--space-lg); align-items: start; }
.pick h1 { font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1.05; }
.book__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 44px; margin-top: var(--space-md); }
.book__label { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.pick .lead { margin-top: var(--space-xs); color: var(--color-ink-2); }
.book { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); margin-top: var(--space-2xs); }
.tile { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "sw sw" "name use"; align-items: baseline; column-gap: var(--space-xs); row-gap: var(--space-2xs); padding: 0; border: 0; background: none; color: var(--color-ink); text-align: left; cursor: pointer; min-height: 44px; }
.tile__swatch { grid-area: sw; display: block; overflow: hidden; box-shadow: var(--sheet-shadow); outline: var(--rule-hair) solid var(--color-rule); outline-offset: -1px; }
.tile__swatch svg { width: 100%; height: 72px; display: block; }
.swatch__lines { stroke: var(--swatch-line); stroke-width: var(--swatch-w); fill: none; }
.swatch__major { stroke: var(--swatch-line); stroke-width: var(--swatch-wm); fill: none; }
.swatch__axis { stroke: var(--sheet-ink); stroke-width: 1px; fill: none; }
.tile__name { grid-area: name; font-family: var(--font-display); font-weight: 500; font-size: var(--text-md); white-space: nowrap; }
.tile__use { grid-area: use; font-size: var(--text-sm); color: var(--color-muted); }
.tile:hover .tile__swatch { outline-color: var(--color-rule-2); }
.tile:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.tile[aria-pressed="true"] .tile__swatch { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.tile[aria-pressed="true"] .tile__name { color: var(--color-accent); }

.out { background: var(--color-paper-2); padding: var(--space-lg); display: grid; gap: var(--space-md); }
.out__paper { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-sm); }
.seg { display: inline-flex; margin: 0; padding: 0; border: var(--rule-hair) solid var(--color-rule-2); background: var(--color-paper); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 var(--space-md); color: var(--color-muted); cursor: pointer; white-space: nowrap; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.seg label:hover { color: var(--color-ink); background: var(--color-paper-2); }
.seg input:checked + label { position: relative; background: var(--sheet-paper); color: var(--sheet-ink); font-weight: 500; box-shadow: inset 0 0 0 1px var(--color-ink-2), inset 0 -3px 0 var(--color-accent); }
.seg input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; z-index: 1; }

.result { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--space-lg); align-items: start; }
.result__sheet svg { width: 100%; height: auto; display: block; box-shadow: var(--sheet-shadow); outline: var(--rule-hair) solid var(--color-rule); }
.result__title { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); line-height: 1.05; letter-spacing: -0.02em; overflow-wrap: break-word; min-width: 0; }
.result__meta { margin-top: var(--space-2xs); font-size: var(--text-md); color: var(--color-ink-2); }
.result__count { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: 0; border-radius: 0; font: 500 var(--text-md)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-btn); color: var(--color-btn-ink); }
.btn--primary:hover { background: var(--color-btn-hover); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.result .btn--primary { margin-top: var(--space-md); width: 100%; max-width: 18rem; }
.result__note { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); max-width: 18rem; }
.chooser { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-md); margin-block: var(--space-md) var(--space-lg); }
.btn--line { background: var(--sheet-paper); color: var(--sheet-ink); box-shadow: inset 0 0 0 1px var(--color-ink-2); transition: box-shadow var(--dur-micro) var(--ease-out); }
.btn--line:hover { box-shadow: inset 0 0 0 2px var(--color-ink-2); }
.chooser input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.chooser__note { min-width: 0; font-size: var(--text-sm); color: var(--color-muted); overflow-wrap: anywhere; }
.gen--poster .result { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.gen--poster .result__sheet svg text { font-family: var(--font-body); }
.book__all { display: none; }
.book__group { grid-column: 1 / -1; margin: 0 0 calc(-1 * var(--space-xs)); font-size: var(--text-sm); color: var(--color-ink-2); }
.result__quiet { display: flex; gap: var(--space-md); }
.btn-link { -webkit-tap-highlight-color: transparent; min-height: 44px; min-width: 44px; padding: 0; border: 0; background: none; color: var(--color-ink-2); font: 500 var(--text-sm)/1 var(--font-body); text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: var(--color-rule); cursor: pointer; }
.btn-link:hover { color: var(--color-ink); text-decoration-color: var(--color-accent); }
.btn-link:focus-visible, .link-btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn-link:disabled { opacity: 0.5; cursor: not-allowed; }
.limits:empty { display: none; }
.limit { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--space-sm); padding: var(--space-2xs) var(--space-md); background: var(--color-paper); box-shadow: inset 2px 0 0 var(--color-error); font-weight: 500; }
.link-btn { min-height: 40px; border: 0; background: none; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-decoration-color: var(--color-accent); cursor: pointer; }
.dense { fill: var(--sheet-ink); opacity: 0.72; font-family: var(--font-body); }
html:not(.js) [data-action], html:not(.js) .custom, html:not(.js) .dock, html:not(.js) .chooser { display: none; }

.custom { border-top: var(--rule-hair) solid var(--color-rule); }
.custom summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; font-weight: 500; cursor: pointer; list-style: none; }
.custom summary::-webkit-details-marker { display: none; }
.custom summary::after { content: "+"; font: 400 var(--text-xl)/1 var(--font-body); color: var(--color-ink-2); }
.custom[open] summary::after { content: "−"; }
.custom summary:focus-visible { outline: 2px solid var(--color-focus); }
.custom__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--space-xs) var(--space-md); padding-bottom: var(--space-xs); }
.custom__grid > label { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.custom__pair { display: grid; grid-template-columns: minmax(0, 1fr) 5rem; gap: var(--space-xs); }
.custom select, .custom input[type="text"] { -webkit-appearance: none; appearance: none; min-height: 44px; width: 100%; padding: 0 var(--space-xs); border: var(--rule-hair) solid var(--color-muted); border-radius: 0; background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); }
.custom select { padding-right: 28px; background-image: linear-gradient(45deg, transparent 50%, var(--color-ink-2) 50%), linear-gradient(135deg, var(--color-ink-2) 50%, transparent 50%); background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.custom select:focus-visible, .custom input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.check { min-height: 44px; display: inline-flex; align-items: center; gap: var(--space-xs); font-size: var(--text-md); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--color-accent); }
.check input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.dock { display: none; }

.uses { padding-top: var(--space-md); }

.uses__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-lg) 0 0; }
.uses__list dt { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); line-height: 1.1; }
.uses__list dd { margin: var(--space-xs) 0 0; color: var(--color-ink-2); }
.faq { max-width: 46rem; }
.copy section > h2, .copy .faq > h2 { margin-top: var(--space-xl); font-size: var(--text-xl); line-height: 1.15; max-width: 36ch; }
.copy .uses > h2 { margin-top: var(--space-lg); }
.faq details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq details:first-of-type { margin-top: var(--space-md); }
.faq summary { min-height: 52px; display: flex; align-items: center; font-weight: 500; font-size: var(--text-md); cursor: pointer; }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); }
.faq details p { padding-bottom: var(--space-md); }

.foot { background: var(--color-paper-2); }
.foot__in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-lg); min-height: 96px; }
.foot__brand { font-family: var(--font-display); font-size: var(--text-xl); }
.foot nav { display: flex; gap: var(--space-lg); flex-wrap: wrap; }
.foot a { min-height: 44px; min-width: 44px; justify-content: center; display: inline-flex; align-items: center; font-size: var(--text-sm); }

@media (max-width: 60rem) {
  .gen__in { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-md); padding-top: var(--space-sm); }
  .nav a:not([aria-current]):nth-child(n+3):not(:last-child) { display: none; }
  .uses__list { grid-template-columns: minmax(0, 1fr); }
  body { padding-bottom: var(--space-2xl); }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: var(--space-xs) var(--gutter); background: var(--color-paper); border-top: var(--rule-hair) solid var(--color-rule); transition: transform var(--dur-short) var(--ease-out); }
  .dock .btn--primary { min-height: 48px; }
  .dock__sum { font-weight: 500; min-width: 0; line-height: 1.25; }
  .dock--away { transform: translateY(110%); pointer-events: none; }
}
@media (max-width: 40rem) {
  .top__in { min-height: 56px; }
  .nav a { padding: 0 var(--space-xs); }
  .nav a:not([aria-current]):not(:last-child) { display: none; }
  .brand__mark { width: 24px; height: 24px; }
  .pick h1 { font-size: var(--text-xl); }
  .pick .lead { display: none; }
  .book__head { margin-top: var(--space-2xs); }
  .book__all { display: inline-flex; align-items: center; }
  .book { display: flex; gap: var(--space-sm); margin-inline: calc(-1 * var(--gutter)); padding: var(--space-3xs) var(--gutter) var(--space-xs); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
  .tile { flex: 0 0 calc((100% - 2 * var(--space-sm)) / 2.4); scroll-snap-align: start; row-gap: var(--space-3xs); grid-template-areas: "sw sw" "name name"; }
  .book__group { display: none; }
  .book.is-all .book__group { display: block; margin: 0; }
  .book.is-all { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm) var(--space-xs); margin-inline: 0; padding-inline: 0; overflow: visible; }
  .tile__swatch svg { height: 48px; }
  .tile__use { display: none; }
  .out { margin-inline: calc(-1 * var(--gutter)); padding: var(--space-sm) var(--gutter) var(--space-2xs); gap: var(--space-xs); }
  .out__paper { justify-content: space-between; }
  .seg label { padding: 0 var(--space-sm); }
  .result { grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--space-md); }
  .result__title { font-size: var(--text-lg); }
  .result__note { max-width: none; }
  .result__meta { font-size: var(--text-md); }
  .result .btn--primary { margin-top: var(--space-xs); max-width: none; min-height: 48px; }
  .result__meta { margin-top: 0; }
  .result__count { margin-top: 0; }
  .result__note { margin-top: var(--space-2xs); line-height: 1.4; }
  .uses__list { gap: var(--space-md); margin-top: var(--space-md); }
  .copy > h2 { margin-top: var(--space-lg); }
  .copy section > h2, .copy .faq > h2 { margin-top: var(--space-lg); }
  .copy .uses:first-child > h2 { margin-top: var(--space-xs); }
}
@media (max-width: 24rem) {
  .nav a[aria-current] { display: none; }
}
@media (max-width: 22rem) {
  .dock__sum { font-size: var(--text-sm); }
  .dock .btn--primary { padding: 0 var(--space-md); }
}
@media print { .top, .pick, .copy, .crumbs, .foot, .dock, .result__text, .out__paper, .custom, .limits { display: none; } }

.skip-link:focus { position: fixed; left: var(--space-sm); top: var(--space-sm); z-index: var(--z-modal); width: auto; height: auto; clip-path: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 var(--space-md); background: var(--color-ink); color: var(--color-paper); }

/* WordPress pages: breadcrumbs, plain pages, the copy under a generator. */
.crumbs ol { list-style: none; margin: 0; padding: var(--space-md) 0 0; font-size: var(--text-sm); line-height: 1.5; color: var(--color-ink-2); }
.crumbs li { display: inline; }
.crumbs li + li::before { content: "/"; margin: 0 var(--space-xs); color: var(--color-muted); }
.crumbs a { color: var(--color-ink-2); }
.crumbs a:hover { color: var(--color-ink); }
.plain { padding-block: var(--space-lg) var(--space-2xl); max-width: 46rem; }
.plain h1 { font-size: clamp(1.75rem, 2.4vw, 2.25rem); }
.plain .lead { margin-top: var(--space-xs); color: var(--color-ink-2); }
.copy { padding-bottom: var(--space-2xl); }
.copy > h2 { margin-top: var(--space-xl); font-size: var(--text-xl); line-height: 1.15; max-width: 28ch; }
.copy > p, .copy > ul, .copy > ol { margin-top: var(--space-md); max-width: 65ch; }
.copy h2 + p { margin-top: var(--space-sm); }
.copy ul, .copy ol { padding-left: 1.25em; }
.copy a { color: var(--color-ink); text-decoration-color: var(--color-accent); }
.copy a:hover { color: var(--color-ink-2); }
.copy .uses__list { margin-top: var(--space-lg); }
.copy section > p, .copy section > ul, .copy section > ol { margin-top: var(--space-sm); max-width: 35rem; }
.copy section > ol > li + li, .copy section > ul > li + li { margin-top: var(--space-2xs); }
.copy .variants__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); }
.copy .variants__list li + li { margin-top: 0; }
.variants__list a { display: inline-flex; align-items: center; min-height: 44px; }
.counts { margin-top: var(--space-md); border-collapse: collapse; font-variant-numeric: tabular-nums; }
.counts th, .counts td { padding: var(--space-2xs) var(--space-md) var(--space-2xs) 0; text-align: left; border-bottom: var(--rule-hair) solid var(--color-rule); }
.counts thead th { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); vertical-align: bottom; }
.counts tbody th { font-weight: 500; white-space: nowrap; }
.counts td .num { white-space: nowrap; }
@media (max-width: 40rem) { .counts tbody th { white-space: normal; } .counts th, .counts td { padding-right: var(--space-sm); } .counts th:last-child, .counts td:last-child { padding-right: 0; } }
@media (max-width: 22.5rem) { .counts { font-size: var(--text-sm); } }
.copy .faq { padding: 0; margin: 0; max-width: 46rem; }
.tools { list-style: none; padding: 0; margin: var(--space-md) 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: var(--space-md); }
.tools a { display: grid; gap: var(--space-2xs); min-height: 44px; padding: var(--space-md); background: var(--color-paper-2); text-decoration: none; }
/* Short FAQ links stay on one line (a page name split across lines reads as two links). */
.copy .faq p a { white-space: nowrap; }
.tools b { font-weight: 600; }
.tools a:hover b { text-decoration: underline; text-decoration-color: var(--color-accent); }
.tools span { color: var(--color-ink-2); font-size: var(--text-sm); }
.copy .papers { padding-left: 0; } .copy section > .papers > li + li { margin-top: 0; }
.papers .swatch { width: 100%; height: auto; border: var(--rule-hair) solid var(--color-rule); }
.plain .uses__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 40rem) { .plain .uses__list { grid-template-columns: minmax(0, 1fr); } }
