/* Spoolhand: the app's pocket-handbook look on the web. Tokens are the app's design system:
   warm paper, ink, and safety yellow used only for the pipe-spec bar and the result. */

@font-face { font-family: "Barlow Semi Condensed"; font-weight: 500; font-display: swap; src: url("../fonts/barlow-semi-condensed-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-semi-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-semi-condensed-700.woff2") format("woff2"); }

:root {
  --paper: #F4F1E8; --surface: #FFFFFF; --sunken: #EAE5D7;
  --ink: #16181B; --ink-2: #5F5E57; --border: #CFC8B6;
  --accent: #F2C230; --on-accent: #16181B; --source: #6B580F;
  --error: #B3261E; --segment-on: #FFFFFF;
  --lift: 0 1px 2px rgb(22 24 27 / 0.10), 0 2px 8px -2px rgb(22 24 27 / 0.10);
  --shadow-shot: 0 28px 56px -28px rgb(22 24 27 / 0.45);
  --num: "Barlow Semi Condensed", system-ui, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --radius: 12px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1C1D1F; --surface: #26282B; --sunken: #2F3135;
    --ink: #F1EEE6; --ink-2: #A3A097; --border: #3A3C40;
    --source: #D4B44A; --error: #FF6B5E; --segment-on: #3A3C40;
    --lift: 0 1px 2px rgb(0 0 0 / 0.4), 0 2px 8px -2px rgb(0 0 0 / 0.4);
    --shadow-shot: 0 28px 56px -28px rgb(0 0 0 / 0.8);
  }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #16181B; --source: #16181B; --border: #16181B; }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root { --ink-2: #F1EEE6; --source: #F1EEE6; --border: #F1EEE6; }
}

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

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: var(--border) transparent; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.55 var(--text);
  caret-color: var(--ink); accent-color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-line: underline; text-decoration-color: var(--border); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--num); font-weight: 700; letter-spacing: -0.01em; line-height: 1.05; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.1875rem; font-weight: 650; line-height: 1.3; }
p { margin: 0 0 0.875rem; }
strong.num, .num { font-family: var(--num); font-weight: 700; font-size: 1.125em; font-variant-numeric: tabular-nums; }
abbr { text-decoration: none; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }

/* ---------- header and footer */

.site-header { border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; min-height: 64px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.5rem/1 var(--num); letter-spacing: -0.01em; min-height: 44px; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.site-header nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; font-weight: 550; text-decoration: none; white-space: nowrap; }
.site-header nav a:hover { background: var(--sunken); }
.site-header nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
@media (max-width: 640px) {
  .site-header nav { width: calc(100% + 24px); margin-inline: -12px; overflow-x: auto; scrollbar-width: none; }
  .site-header nav a { padding: 0 12px; font-size: 1rem; }
}

.site-footer { margin-top: 88px; border-top: 1px solid var(--border); padding: 40px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; }
.site-footer h2 { font: 650 1rem/1.3 var(--text); letter-spacing: 0; margin-bottom: 6px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-base { margin-top: 24px; color: var(--ink-2); font-size: 0.9375rem; }
.footer-base p { margin: 0 0 4px; }

/* ---------- page heads and prose */

.page-head { padding-top: 22px; }
@media (min-width: 900px) { .page-head { padding-top: 36px; } }
.lede { font-size: 1.125rem; max-width: 62ch; margin-top: 10px; }
.prose { max-width: 760px; margin-inline: auto 0; }
.wrap.prose { margin-inline: auto; }
.prose section { margin-top: 64px; }
.prose h2 { margin-bottom: 14px; }
.prose h3 { margin: 28px 0 6px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.related { margin-top: 48px; }
.disclaimer { color: var(--ink-2); font-size: 0.9375rem; }
.formulas li { margin: 10px 0; }
.formula { font-family: var(--num); font-weight: 600; font-size: 1.1875em; font-variant-numeric: tabular-nums; }
.worked-steps { background: var(--sunken); border-radius: var(--radius); margin: 16px 0; padding: 14px 18px 14px 2.4em; font-variant-numeric: tabular-nums; }
.worked-steps li { margin: 8px 0; }
.source { display: block; color: var(--source); font-size: 0.9375rem; }

/* ---------- the calculator */

.calc { display: grid; gap: 16px; margin-top: 20px; }
.calc-form, .calc-out { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.calc-top { display: flex; gap: 10px; align-items: stretch; }
.calc-top .modes { flex: 1; }

.segmented { display: flex; gap: 4px; margin: 0; padding: 4px; border: 0; background: var(--sunken); border-radius: 14px; min-width: 0; }
.segmented label { flex: 1; position: relative; display: flex; }
.segmented input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segmented span {
  flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 12px;
  border-radius: 10px; font-weight: 600; white-space: nowrap; transition: background-color 160ms ease-out, box-shadow 160ms ease-out;
}
.segmented input:checked + span { background: var(--segment-on); box-shadow: var(--lift); }
.segmented input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 1px; }
.segmented.units span { padding: 0 14px; }
.segmented.elbows { background: var(--paper); box-shadow: inset 0 0 0 1px var(--border); }
.segmented.elbows label, .segmented.elbows span { min-width: 0; }
.segmented.elbows span { padding: 4px 6px; font-size: 0.9375rem; white-space: normal; text-align: center; line-height: 1.15; }
.segmented.elbows input:checked + span { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--surface); }

.spec summary { list-style: none; }
.spec summary::-webkit-details-marker { display: none; }
.spec-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 16px;
  background: var(--accent); color: var(--on-accent); border-radius: var(--radius); cursor: pointer;
  font: 600 1.375rem/1.15 var(--num); font-variant-numeric: tabular-nums;
}
.chevron { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms ease-out; }
.spec[open] .spec-bar .chevron { transform: rotate(180deg); }
.spec-panel { display: grid; gap: 10px; margin-top: 10px; padding: 12px; background: var(--sunken); border-radius: var(--radius); }
.spec-note { margin: 2px 4px 0; color: var(--ink-2); font-size: 0.9375rem; }

.field {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 10px;
  min-height: 64px; padding: 4px 8px 4px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field > label { color: var(--ink-2); font-size: 1.125rem; white-space: nowrap; }
.field-entry { display: flex; align-items: baseline; justify-content: flex-end; min-width: 0; }
.field input {
  width: 100%; min-width: 0; padding: 8px 0; border: 0; background: transparent; color: var(--ink);
  font: 700 1.875rem/1.1 var(--num); font-variant-numeric: tabular-nums; text-align: right; outline: none;
}
.field input::placeholder { color: var(--ink-2); font-weight: 500; }
.unit { font: 700 1.875rem/1.1 var(--num); color: var(--ink); padding-left: 2px; }
.unit.mm { font-size: 1.125rem; font-weight: 600; padding-left: 6px; }
.frac {
  appearance: none; min-height: 44px; min-width: 66px; padding: 0 10px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--paper); color: var(--ink); font: 600 1.0625rem/1 var(--num); text-align: center; text-align-last: center; cursor: pointer;
}
.frac:disabled { color: var(--ink-2); cursor: default; }
.field .chevron { color: var(--ink-2); }
.field-select {
  appearance: none; width: 100%; min-width: 0; min-height: 56px; border: 0; background: transparent; color: var(--ink);
  font: 700 1.5rem/1.1 var(--num); text-align: right; text-align-last: right; cursor: pointer; outline: none; padding: 0;
}
.field-note { grid-column: 1 / -1; margin: -4px 0 10px; color: var(--ink-2); font-size: 0.9375rem; }
.field-note:empty { display: none; }
.field.invalid { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field.invalid .field-note { color: var(--error); }
.field-group { display: grid; gap: 8px; }

.chips { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.chip {
  min-height: 56px; padding: 0 2px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  color: var(--ink); font: 600 1.375rem/1 var(--num); font-variant-numeric: tabular-nums; cursor: pointer;
  transition: background-color 140ms ease-out, transform 120ms ease-out;
}
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--sunken); border: 2px solid var(--ink); }
.frac-glyph { font-size: 0.62em; letter-spacing: -0.02em; }
.frac-glyph sup, .frac-glyph sub { font-size: 1em; line-height: 0; }
.frac-glyph sup { vertical-align: 0.55em; }
.frac-glyph sub { vertical-align: -0.05em; }

.calc-out .diagram { order: 3; }
.result { order: 1; display: flex; flex-direction: column; padding: 14px 18px 18px; background: var(--accent); color: var(--on-accent); border-radius: var(--radius); }
.result-label { font-weight: 650; font-size: 1.125rem; }
.result-value { display: block; margin-top: 2px; font: 700 3.5rem/1 var(--num); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.result-value.settle { animation: settle 220ms cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes settle { from { transform: translateY(5px); opacity: 0.35; } }
.result.refused { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--border); }
.result.refused .result-value { color: var(--ink-2); }
.result-message { margin: 8px 0 0; font-size: 1.0625rem; max-width: 44ch; }
.rows { order: 2; margin: 0; padding: 0 16px; background: var(--surface); border-radius: var(--radius); }
.rows .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--border); }
.rows .row:first-child { border-top: 0; }
.rows dt { color: var(--ink-2); font-size: 1.0625rem; }
.rows dd { margin: 0; font: 600 1.5rem/1.15 var(--num); font-variant-numeric: tabular-nums; text-align: right; }
.rows dd.source { grid-column: 1 / -1; margin-top: 2px; font: 400 0.9375rem/1.4 var(--text); text-align: left; color: var(--source); }
.table-note { order: 2; margin: 0 2px; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.45; }
.marks { order: 2; }
.marks-title { margin: 6px 4px 8px; font-size: 1rem; color: var(--ink-2); font-weight: 600; }
.steps { order: 4; background: var(--sunken); border-radius: var(--radius); padding: 4px 16px 6px; }
.steps summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-weight: 650; font-size: 1.1875rem; cursor: pointer; list-style: none; }
.steps summary::-webkit-details-marker { display: none; }
.steps summary::after { content: ""; width: 9px; height: 9px; border-right: 2.25px solid currentColor; border-bottom: 2.25px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform 200ms ease-out; }
.steps[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.steps ol { margin: 0 0 10px; padding-left: 1.4em; font-variant-numeric: tabular-nums; }
.steps li { margin: 4px 0 10px; line-height: 1.45; overflow-wrap: anywhere; }
.calc-out .disclaimer { order: 5; margin: 4px 2px 0; }
.noscript { order: 1; margin: 0; padding: 12px 16px; border-radius: var(--radius); background: var(--surface); }

.diagram { margin: 0; padding: 6px 8px; background: var(--surface); border-radius: var(--radius); }
.diagram svg, .elbow-figure svg, .tool-row svg { display: block; width: 100%; height: auto; }
svg .pipe { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
svg .dash { fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 5 5; }
svg .faint { opacity: 0.55; }
svg .joint { fill: var(--ink); }
svg text.dim { font: 600 20px var(--num); fill: var(--ink); }
svg text.faint { fill: var(--ink-2); opacity: 1; }
svg text.label { font: 500 15px var(--text); fill: var(--ink-2); }
svg .wall { fill: var(--sunken); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
svg .centerline { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 12 4 2 4; }
svg .axis { fill: none; stroke: var(--ink-2); stroke-width: 1.25; stroke-dasharray: 4 4; }
svg .dimline { fill: none; stroke: var(--ink); stroke-width: 1.25; }

@media (min-width: 900px) {
  h1 { font-size: 2.875rem; }
  h2 { font-size: 2.125rem; }
  .calc { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; margin-top: 28px; }
  .calc-out { position: sticky; top: 20px; }
  .calc-out .diagram { order: 0; }
  .diagram svg { max-height: 250px; }
  .result-value { font-size: 4.25rem; }
}
@media (max-width: 380px) {
  .field > label { font-size: 1rem; }
  .field input, .unit { font-size: 1.625rem; }
  .chip { font-size: 1.1875rem; }
}

/* ---------- tables */

.table-wrap { position: relative; overflow-x: auto; margin: 16px 0; border-radius: var(--radius); }   /* relative: keeps visually-hidden cells inside the scroll box */
table.data { width: 100%; border-collapse: collapse; background: var(--surface); font-variant-numeric: tabular-nums; }
table.data caption { caption-side: top; text-align: left; padding: 0 0 8px; color: var(--ink-2); font-weight: 600; font-size: 0.9375rem; background: var(--paper); }
table.data th, table.data td { padding: 10px 14px; border-top: 1px solid var(--border); text-align: right; vertical-align: top; }
table.data thead th { border-top: 0; font: 600 0.9375rem/1.25 var(--text); color: var(--ink-2); vertical-align: bottom; }
table.data th:first-child { text-align: left; white-space: nowrap; }
.multipliers td { white-space: nowrap; }
table.data td, table.data tbody th { font: 600 1.125rem/1.2 var(--num); }

.chart-layout { display: grid; gap: 20px; margin-top: 24px; }
.chart-layout > * { min-width: 0; }
.elbow-figure svg text.dim { font-size: 30px; }
.elbow-figure svg text.label { font-size: 22px; }
.elbow-figure { margin: 0; padding: 12px 16px 16px; background: var(--surface); border-radius: var(--radius); }
.elbow-figure figcaption { color: var(--ink-2); font-size: 0.9375rem; margin-top: 4px; }
.chart-wrap { margin: 0; }
.chart-wrap:focus-visible { outline-offset: 4px; }
table.chart { min-width: 560px; }
table.chart tbody th { position: sticky; left: 0; background: var(--surface); box-shadow: 1px 0 0 var(--border); }
table.chart .nps { display: block; font-size: 1.375rem; }
table.chart .dn, table.chart .mm { display: block; font: 500 0.9375rem/1.3 var(--num); color: var(--ink-2); }
table.chart .in { display: block; font: 700 1.375rem/1.15 var(--num); }
table.chart .prov { display: block; font: 500 0.8125rem/1.3 var(--text); color: var(--source); margin-top: 2px; }
table.chart td.none { vertical-align: middle; }
.none-mark { display: inline-block; width: 16px; height: 2px; background: var(--ink-2); vertical-align: middle; }
table.chart td.use { vertical-align: middle; }
table.chart td.use a { display: block; min-height: 32px; font: 600 0.9375rem/32px var(--text); white-space: nowrap; }
table.chart .use-inline { display: none; }
@media (max-width: 600px) {
  table.chart { min-width: 0; }
  table.chart th, table.chart td { padding: 9px 7px; }
  table.chart thead th { font-size: 0.8125rem; }
  table.chart .in { font-size: 1.1875rem; }
  table.chart .nps { font-size: 1.1875rem; }
  table.chart .mm, table.chart .dn { font-size: 0.8125rem; }
  table.chart .prov { font-size: 0.75rem; }
  table.chart td.use, table.chart thead th:last-child { display: none; }
  table.chart .use-inline { display: block; margin-top: 4px; }
  table.chart .use-inline a { display: flex; align-items: center; min-height: 44px; font: 600 0.9375rem/1 var(--text); }
  table.chart .use-inline a + a { display: none; }   /* one glove-sized link per size: rolling is a link away on the offset page */
}
table.chart tbody tr:target { background: var(--sunken); }
table.chart tbody tr:target th { background: var(--sunken); }
@media (min-width: 1000px) {
  .chart-layout { grid-template-columns: 320px minmax(0, 1fr); align-items: start; }
  .elbow-figure { position: sticky; top: 20px; }
}

.sources { list-style: none; padding: 0 !important; margin: 10px 0 16px; }
.sources li { margin: 0 !important; padding: 10px 0; border-top: 1px solid var(--border); }
.source-meta { display: block; color: var(--ink-2); font-size: 0.9375rem; }

/* ---------- App Store button and app block */

.store {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 56px; margin: 8px 0 0;
  padding: 10px 20px; border-radius: var(--radius); background: var(--ink); color: var(--paper); text-decoration: none;
}
a.store:hover { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.store-line { font: 700 1.25rem/1.1 var(--num); }
.store-sub { font-size: 0.875rem; color: var(--paper); opacity: 0.86; }
.store-large { min-height: 64px; padding: 12px 24px; }
.store-soon { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--border); cursor: default; }
.store-soon .store-sub { color: var(--ink-2); opacity: 1; }
.store-large .store-line { font-size: 1.5rem; }

.app-block {
  display: grid; gap: 24px; align-items: center; margin-top: 72px; padding: 28px; background: var(--surface); border-radius: 16px;
}
.app-block h2 { margin-bottom: 10px; }
.app-block p { max-width: 52ch; }
.app-shot { width: 100%; max-width: 240px; height: auto; justify-self: center; border-radius: 26px; border: 1px solid var(--border); box-shadow: var(--shadow-shot); }
@media (min-width: 760px) { .app-block { grid-template-columns: minmax(0, 1fr) 240px; padding: 36px 40px; } }

/* ---------- home */

.hero { padding: 36px 0 24px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 5.2vw + 1rem, 5rem); line-height: 0.96; letter-spacing: -0.02em; max-width: 12ch; }
.hero .lede { font-size: 1.1875rem; margin: 18px 0 18px; max-width: 46ch; }
.hero-try { margin-top: 14px; font-weight: 600; }
.hero-try a { display: inline-flex; align-items: center; min-height: 44px; }
.hero-shot { margin: 0; justify-self: center; }
.hero-shot img { display: block; width: 100%; max-width: 300px; height: auto; border-radius: 34px; border: 1px solid var(--border); box-shadow: var(--shadow-shot); }
@media (min-width: 880px) {
  .hero { padding: 64px 0 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; }
  .hero-shot img { max-width: 340px; }
}

.band { margin-top: 80px; }
.band > h2 { margin-bottom: 8px; }
.band-lede { color: var(--ink-2); font-size: 1.125rem; margin-bottom: 20px; }
.tool-rows { list-style: none; margin: 0; padding: 0; max-width: 820px; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.tool-rows li + li { border-top: 1px solid var(--border); }
.tool-row {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) 20px; align-items: center; gap: 18px; min-height: 92px;
  padding: 14px 18px; text-decoration: none;
  transition: box-shadow 160ms ease-out;
}
.tool-row:hover { background: var(--sunken); }
.tool-row svg .pipe { stroke-width: 5; }
.tool-name { display: block; font: 700 1.5rem/1.1 var(--num); }
.tool-line { display: block; color: var(--ink-2); margin-top: 4px; }
.arrow { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 879px) { .tool-row { grid-template-columns: 64px minmax(0, 1fr) 20px; gap: 14px; padding: 14px 16px; } .tool-name { font-size: 1.375rem; } }

.feature { display: grid; gap: 24px; align-items: start; margin-top: 28px; }
.feature-text h3 { margin: 20px 0 6px; font-size: 1.3125rem; }
.feature-text h3:first-child { margin-top: 0; }
.feature-text p { max-width: 56ch; }
.feature-shot { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-shot); background: #fff; }   /* white on purpose: the cut sheet is a white page in dark mode too */
.feature-shot.phone { max-width: 320px; justify-self: center; border-radius: 26px; }
.tool-list { list-style: none; margin: 14px 0 0; padding: 0; columns: 2; column-gap: 20px; }
.feature-plain { display: grid; gap: 8px 56px; margin-top: 40px; }
@media (min-width: 880px) { .feature-plain { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.tool-list li { break-inside: avoid; padding: 8px 0; border-top: 1px solid var(--border); font-weight: 550; }
@media (min-width: 880px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; margin-top: 36px; }
  .feature-flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
}

.numbers { max-width: 72ch; }
.numbers p:first-child { font-size: 1.1875rem; }
.publishers span { color: var(--ink-2); }

.close { margin-top: 80px; padding-block: 48px; border-top: 1px solid var(--border); }
.close h2 { font-size: clamp(2.5rem, 4vw + 1rem, 4rem); margin-bottom: 10px; }
.close p { font-size: 1.1875rem; max-width: 48ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
}
.feature-plain h3 { margin: 22px 0 6px; font-size: 1.3125rem; }
.feature-plain > div > h3:first-child { margin-top: 0; }
.page-head.prose h2 { margin: 36px 0 8px; font-size: 1.625rem; }
