/* Printastico prototype styles. Role tokens only (design/tokens.css); no raw colours here. */

*, *::before, *::after { box-sizing: border-box; }
/* scroll padding keeps focused fields clear of the sticky header and the phone price bar (WCAG 2.4.11).
   It is the only offset: adding scroll-margin on sections as well doubled it (review 2026-10-29). */
/* no scroll anchoring: options that appear below a radio group must not shift the page while you arrow through it */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; overflow-anchor: none; }
html:has(body.has-bar) { scroll-padding-bottom: 104px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-text);
  font-size: var(--text-md);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}
body.has-bar { padding-bottom: 88px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { color: var(--color-accent-ink); text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
::selection { background: var(--color-accent); color: var(--color-accent-text); }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: absolute; left: var(--space-4); top: -120px; z-index: 100;
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm);
  background: var(--color-accent); color: var(--color-accent-text); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-6);
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font: 600 var(--text-sm)/1 var(--font-text); letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-accent); color: var(--color-accent-text); }
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-secondary { background: transparent; color: var(--color-text); border-color: var(--color-border-strong); }
.btn-secondary:hover { border-color: var(--color-text); }
.btn-block { width: 100%; }
.btn-link {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0;
  background: none; border: 0; color: var(--color-accent-ink);
  font: 600 var(--text-sm)/1.4 var(--font-text); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer;
}
.btn-link:hover { text-decoration-thickness: 2px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  background: transparent; color: var(--color-text);
  border: 1px solid var(--color-border); border-radius: var(--radius-sm); cursor: pointer;
}
.icon-btn:hover { border-color: var(--color-border-strong); }
.icon-moon, .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-menu { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
:root[data-theme="light"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 72px; }
.wordmark {
  display: inline-block; padding: var(--space-2) 0;
  font-family: var(--font-display); font-style: italic; font-size: var(--text-3xl); line-height: 1;
  color: var(--color-text); text-decoration: none;
}
.site-nav ul { display: flex; gap: var(--space-8); list-style: none; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--color-text); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.04em; text-decoration: none;
}
.site-nav a:hover { color: var(--color-accent-ink); }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.menu-btn { display: none; }
.mobile-nav { border-top: 1px solid var(--color-border); background: var(--color-bg); }
.mobile-nav ul { display: grid; list-style: none; padding-block: var(--space-2) var(--space-6); }
.mobile-nav a:not(.btn) {
  display: flex; align-items: center; min-height: 52px;
  border-bottom: 1px solid var(--color-border); color: var(--color-text); font-size: var(--text-lg); text-decoration: none;
}
.mobile-nav .btn { margin-top: var(--space-6); }
@media (max-width: 1099px) { .site-nav { display: none; } .menu-btn { display: inline-grid; } }
@media (max-width: 639px) { .btn-header { display: none; } }
@media (min-width: 1100px) { .mobile-nav { display: none !important; } }

/* Hero */
.hero { padding-block: var(--space-12) var(--space-16); }
.hero-inner { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 900px) {
  .hero { padding-block: var(--space-24) var(--space-32); }
  .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}
.eyebrow {
  display: flex; align-items: center; gap: var(--space-4);
  font-size: var(--text-sm); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--color-text-muted);
}
.rule { width: 64px; height: 1px; background: var(--color-accent); flex-shrink: 0; }
@media (max-width: 479px) { .eyebrow { gap: var(--space-3); letter-spacing: 0.1em; } .rule { width: 32px; } }
.hero h1 {
  margin-top: var(--space-6);
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: var(--text-display); line-height: 0.95; letter-spacing: -0.02em;
}
.lead { margin-top: var(--space-6); max-width: 34rem; font-size: var(--text-xl); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-10); }
.hero-art { display: grid; place-items: center; }
.plinth {
  display: grid; place-items: center; width: min(100%, 440px); aspect-ratio: 1;
  background: radial-gradient(circle at 50% 45%, var(--color-spotlight) 0%, var(--color-surface) 65%);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
}

/* The coin: the brand device */
.coin {
  --size: 240px;
  display: grid; place-items: center; width: var(--size); height: var(--size); border-radius: 50%;
  background: repeating-conic-gradient(var(--color-coin-edge-1) 0deg 2deg, var(--color-coin-edge-2) 2deg 4deg);
  box-shadow: var(--shadow-object);
}
.coin-lg { --size: clamp(200px, 56vw, 300px); }
.coin-sm { --size: 150px; }
.coin-face {
  display: grid; place-content: center; gap: 2px; width: calc(100% - 20px); height: calc(100% - 20px); border-radius: 50%;
  background: var(--color-bone); color: var(--color-oxblood); text-align: center;
  font-family: var(--font-display); font-style: italic; line-height: 0.9;
}
.coin-line { font-size: calc(var(--size) * 0.19); }
.coin-year {
  margin-top: calc(var(--size) * 0.05);
  font-family: var(--font-text); font-style: normal; font-weight: 600; font-size: calc(var(--size) * 0.05);
  letter-spacing: 0.3em; color: var(--color-coin-ink);
  font-size: max(10px, calc(var(--size) * 0.05));
}

/* Sections */
.section { padding-block: var(--space-16); border-top: 1px solid var(--color-border); }
@media (min-width: 900px) { .section { padding-block: var(--space-24); } }
.section-head { max-width: 44rem; margin-bottom: var(--space-10); }
.section-head h2 {
  font-family: var(--font-display); font-weight: 400; font-size: var(--text-section);
  line-height: var(--leading-tight); letter-spacing: -0.01em;
}
.section-lead { margin-top: var(--space-4); font-size: var(--text-lg); color: var(--color-text-muted); }

/* Product cards */
.card-grid { display: grid; gap: var(--space-6); list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
/* four products: 2 x 2 (the two coins side by side), never 3 + 1 */
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
/* square, like the product photos (portrait cards and square sheets would lose their edges at 4:3, the old ratio) */
.card-media {
  display: grid; place-items: center; aspect-ratio: 1; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, var(--color-spotlight) 0%, var(--color-surface) 70%);
  border-bottom: 1px solid var(--color-border);
}
.card-media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* desktop: photo beside the words, so four square photos don't make the 2 x 2 grid twice as tall */
@media (min-width: 1024px) {
  .card { flex-direction: row; }
  .card-media { flex: 0 0 44%; border-bottom: 0; border-right: 1px solid var(--color-border); }
}
.placeholder {
  margin: var(--space-6); padding: var(--space-6); text-align: center;
  border: 1px dashed var(--color-border-strong); border-radius: var(--radius-sm);
  color: var(--color-text-muted); font-size: var(--text-sm);
}
.card-body { display: flex; flex-direction: column; flex-grow: 1; gap: var(--space-2); padding: var(--space-6); }
.card h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-3xl); line-height: 1.1; }
.spec { color: var(--color-text-muted); font-size: var(--text-sm); }
.price { margin-top: var(--space-2); }
.price strong { font-size: var(--text-2xl); font-weight: 600; font-variant-numeric: tabular-nums; }
.card-link {
  display: inline-flex; align-items: center; gap: var(--space-2); align-self: flex-start;
  min-height: 44px; margin-top: auto; padding-top: var(--space-4);
  color: var(--color-accent-ink); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
}
.card-link:hover { text-decoration: underline; }
.card-soon { margin-top: auto; padding-top: var(--space-4); color: var(--color-text-muted); font-size: var(--text-sm); }

/* Configurator layout: summary sits between the configuration and the details in the DOM, so phones read
   options, then price, then artwork and contact. */
.config { display: grid; gap: var(--space-10); grid-template-areas: "main" "summary" "details"; }
.config-main { grid-area: main; min-width: 0; }
.config-details { grid-area: details; min-width: 0; }
.summary { grid-area: summary; min-width: 0; }
@media (min-width: 1024px) {
  .config { grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "main summary" "details summary"; column-gap: var(--space-16); row-gap: 0; }
  .config-details { padding-top: var(--space-10); margin-top: var(--space-10); border-top: 1px solid var(--color-border); }
  .summary { align-self: start; position: sticky; top: 96px; }
}
@media (max-width: 1023px) {
  .config-details { padding-top: var(--space-10); border-top: 1px solid var(--color-border); }
}
.step { min-width: 0; margin: 0; padding: 0; border: 0; }
.step + .step { margin-top: var(--space-10); padding-top: var(--space-10); border-top: 1px solid var(--color-border); }
/* Floating the legend takes it out of the fieldset's top border, so the divider no longer runs through it. */
.step-title {
  float: left; width: 100%;
  display: flex; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-6); padding: 0;
  font-family: var(--font-display); font-size: var(--text-3xl); line-height: 1.1;
}
.step-title + * { clear: both; }
.step-num { font-family: var(--font-text); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.12em; color: var(--color-accent-ink); }
.subfield { min-width: 0; margin: 0; padding: 0; border: 0; }
.subfield > legend { padding: 0; }
.label { display: block; margin-bottom: var(--space-2); font-size: var(--text-md); font-weight: 600; }
.optional { font-weight: 400; color: var(--color-text-muted); }
.help { margin-top: var(--space-2); max-width: 60ch; color: var(--color-text-muted); font-size: var(--text-sm); }
.help-lead { margin-top: 0; }
.error { display: flex; align-items: flex-start; gap: var(--space-2); margin-top: var(--space-2); color: var(--color-danger); font-size: var(--text-sm); font-weight: 500; }
.error .icon { width: 18px; height: 18px; margin-top: 1px; }
.error-body { display: grid; justify-items: start; }
.error .btn-link { color: var(--color-danger); }
.field + .field { margin-top: var(--space-6); }
.input {
  width: 100%; min-height: 48px; padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2); color: var(--color-text);
  border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm);
  font: 400 var(--text-md)/1.4 var(--font-text);
}
.input:hover { border-color: var(--color-text-muted); }
.input[aria-invalid="true"] { border-color: var(--color-danger); }
textarea.input { min-height: 120px; resize: vertical; }
.input-date { max-width: 260px; }

/* Quantity */
.qty-layout { display: grid; gap: var(--space-8); }
@media (min-width: 640px) { .qty-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 16rem); align-items: start; } }
.stepper { display: inline-flex; align-items: stretch; background: var(--color-surface-2); border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm); }
.stepper:has(input[aria-invalid="true"]) { border-color: var(--color-danger); }
.stepper-btn { display: grid; place-items: center; width: 48px; min-height: 52px; padding: 0; background: transparent; border: 0; color: var(--color-text); cursor: pointer; }
.stepper-btn:hover:not(:disabled) { background: var(--color-surface); }
.stepper-btn:disabled { color: var(--color-text-muted); cursor: not-allowed; }
.stepper input {
  width: 5.5rem; padding: 0; background: transparent; color: var(--color-text);
  border: 0; border-inline: 1px solid var(--color-border);
  font: 600 var(--text-xl)/1 var(--font-text); font-variant-numeric: tabular-nums; text-align: center;
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline-offset: -2px; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.chip {
  min-width: 56px; min-height: 44px; padding: 0 var(--space-4);
  background: transparent; color: var(--color-text);
  border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm);
  font: 600 var(--text-sm)/1 var(--font-text); font-variant-numeric: tabular-nums; cursor: pointer;
}
.chip:hover { border-color: var(--color-text); }
.chip[aria-pressed="true"] { background: var(--color-accent); border-color: var(--color-selected-edge); box-shadow: inset 0 0 0 1px var(--color-selected-edge); color: var(--color-accent-text); }
.tiers { width: 100%; border-collapse: collapse; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.tiers caption { padding-bottom: var(--space-2); text-align: left; font-weight: 600; color: var(--color-text-muted); }
.tiers th, .tiers td { padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--color-border); text-align: left; }
.tiers th { font-weight: 600; color: var(--color-text-muted); }
.tiers th:last-child, .tiers td:last-child { text-align: right; }
.tiers tr[aria-current="true"] td { background: var(--color-accent-soft); font-weight: 600; }
.tier-you { margin-left: var(--space-2); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* Printing */
.segmented { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); max-width: 30rem; }
.segment {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 64px; padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm); cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}
.segment input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.segment-text { font-weight: 600; }
.segment-meta { color: var(--color-text-muted); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.segment:hover { border-color: var(--color-text); }
.segment:has(input:checked) { background: var(--color-accent); border-color: var(--color-selected-edge); box-shadow: inset 0 0 0 1px var(--color-selected-edge); color: var(--color-accent-text); }
.segment:has(input:checked) .segment-meta { color: var(--color-accent-text); }
.segment:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
/* an option this coin can't take: the reason is in the help text below it */
.segment:has(input:disabled) { border-style: dashed; color: var(--color-text-muted); cursor: not-allowed; }
.segment:has(input:disabled):hover { border-color: var(--color-border-strong); }
.option-list + .material-change { margin-top: var(--space-4); }
.material-change:empty { display: none; }
.tier-note { display: block; color: var(--color-text-muted); font-size: var(--text-sm); font-weight: 400; }
.option-row {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: start; column-gap: var(--space-4); padding: var(--space-4);
  border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm); cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}
.option-row:hover { border-color: var(--color-text); }
.option-row:has(input:checked) { background: var(--color-accent-soft); border-color: var(--color-selected-edge); }
.subfield + .field, .subfield + .subfield, .subfield + .impact { margin-top: var(--space-6); }
.order-kind { margin-top: var(--space-8); }
.plan-fields { margin-top: var(--space-4); }
.input-short { max-width: 8rem; }
.option-list { display: grid; gap: var(--space-2); }
.segmented-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 36rem; }
.segmented-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 36rem; }
.segmented-4 .segment, .segmented-3 .segment { align-items: center; padding: var(--space-3) var(--space-2); text-align: center; }
.subfield + .help-upload { margin-top: var(--space-4); }
.badge {
  display: inline-block; margin-left: var(--space-2); padding: 1px var(--space-2); vertical-align: 2px;
  /* opaque surface: on a selected (tinted) row, Paper accent-ink was 4.49:1 (review 2026-10-29) */
  background: var(--color-surface); border: 1px solid var(--color-accent-ink); border-radius: var(--radius-sm);
  color: var(--color-accent-ink); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
}
.impact { color: var(--color-text-muted); font-size: var(--text-sm); }
.impact strong { color: var(--color-text); font-variant-numeric: tabular-nums; }
.option-row input, .check-row input { flex-shrink: 0; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--color-accent); cursor: pointer; }
.option-text { display: grid; flex-grow: 1; gap: 2px; }
.option-title { font-weight: 600; }
.option-desc { color: var(--color-text-muted); font-size: var(--text-sm); }
.option-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* phones: the price drops under the title so the description keeps its width */
@media (max-width: 639px) {
  .option-row { grid-template-columns: 22px minmax(0, 1fr); }
  .option-price { grid-column: 2; margin-top: var(--space-2); }
}
.check-row { display: flex; align-items: center; gap: var(--space-3); min-height: 44px; margin-top: var(--space-4); cursor: pointer; }
.check-row input { margin: 0; }

/* Date */
.notice {
  display: flex; align-items: flex-start; gap: var(--space-3); margin-top: var(--space-6); padding: var(--space-4);
  background: var(--color-surface); border: 1px solid var(--color-warning); border-radius: var(--radius-sm);
}
.notice > .icon { margin-top: 2px; color: var(--color-warning); }
.notice-body { display: grid; justify-items: start; gap: var(--space-1); }
.timeline { display: grid; max-width: 28rem; margin-top: var(--space-6); padding-left: var(--space-6); list-style: none; border-left: 1px solid var(--color-border-strong); }
.timeline li { position: relative; display: flex; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-2); }
.timeline li::before {
  content: ""; position: absolute; top: 50%; left: calc(-1 * var(--space-6) - 4px);
  width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); transform: translateY(-50%);
}
.t-label { color: var(--color-text-muted); }
.t-date { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Summary */
.summary-card { display: grid; gap: var(--space-4); padding: var(--space-6); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
@media (min-width: 1024px) { .summary-card { box-shadow: var(--shadow-panel); } }
.summary h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-3xl); line-height: 1.1; }
.summary-product { margin-top: calc(-1 * var(--space-3)); color: var(--color-text-muted); font-size: var(--text-sm); }
.summary-lines { display: grid; gap: var(--space-2); padding-top: var(--space-4); list-style: none; border-top: 1px solid var(--color-border); font-variant-numeric: tabular-nums; }
.summary-lines li { display: flex; justify-content: space-between; gap: var(--space-4); }
.summary-lines .amt { white-space: nowrap; }
.summary-empty { color: var(--color-text-muted); }
.summary-total { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.summary-total-label { font-weight: 600; }
.summary-total output {
  font-family: var(--font-display); font-style: italic; font-size: var(--text-5xl); line-height: 1;
  color: var(--color-accent-ink); font-variant-numeric: tabular-nums;
}
.summary-unit, .summary-note { color: var(--color-text-muted); font-size: var(--text-sm); }
.summary-pay { display: grid; gap: var(--space-2); padding: var(--space-3) var(--space-4); background: var(--color-surface-2); border-radius: var(--radius-sm); }
.summary-pay-title { display: flex; justify-content: space-between; gap: var(--space-4); font-size: var(--text-sm); font-weight: 600; }
.summary-pay-now { color: var(--color-success); }
.summary-lines .is-discount .amt { color: var(--color-success); }
.summary-plan { display: grid; gap: var(--space-2); padding: var(--space-3) var(--space-4); background: var(--color-surface-2); border-radius: var(--radius-sm); font-size: var(--text-sm); }
.summary-plan-title { font-weight: 600; }
.summary-plan-lines { padding-top: 0; border-top: 0; }
.summary-plan-lines .is-saving .amt { color: var(--color-success); }
.summary-code { display: grid; gap: var(--space-2); }
.summary-code-label { font-size: var(--text-sm); font-weight: 600; }
.summary-code-row { display: flex; gap: var(--space-2); }
.summary-code-row .input { flex: 1; min-width: 0; text-transform: uppercase; }
.summary-code-status { color: var(--color-text-muted); font-size: var(--text-sm); }
.summary-code-status:empty { display: none; }
.summary-code-status.is-applied { color: var(--color-success); }
.summary-pay-lines { padding-top: 0; border-top: 0; font-size: var(--text-sm); }
.summary-pay-note, .summary-ship { color: var(--color-text-muted); font-size: var(--text-sm); }
.field-after-subfield { margin-top: var(--space-6); }
.address { margin-top: var(--space-6); }
.field-wide { grid-column: 1 / -1; }
.field-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--space-4); }
.field-pair .error { grid-column: 1 / -1; margin-top: 0; }
.nudge { display: grid; justify-items: start; padding: var(--space-3) var(--space-4) var(--space-1); background: var(--color-surface-2); border-radius: var(--radius-sm); font-size: var(--text-sm); }
.summary-alert { display: flex; align-items: flex-start; gap: var(--space-2); color: var(--color-danger); font-size: var(--text-sm); font-weight: 500; }
.summary-alert .icon { width: 18px; height: 18px; margin-top: 1px; }
.copy-status { min-height: 1.4em; margin-top: calc(-1 * var(--space-3)); color: var(--color-success); font-size: var(--text-sm); }

/* Artwork */
.dropzone {
  margin-top: var(--space-4); background: var(--color-surface);
  border: 1px dashed var(--color-border-strong); border-radius: var(--radius-md);
  transition: background-color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}
.dropzone:hover { border-color: var(--color-text); }
.dropzone.is-over { background: var(--color-accent-soft); border-color: var(--color-accent); }
.dropzone:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.dropzone-label { display: grid; justify-items: center; gap: var(--space-1); padding: var(--space-8) var(--space-4); text-align: center; cursor: pointer; }
.dropzone-label .icon { width: 28px; height: 28px; color: var(--color-accent-ink); }
.dropzone-title { font-weight: 600; }
.dropzone-sub { color: var(--color-text-muted); font-size: var(--text-sm); }
.file-list { display: grid; gap: var(--space-2); margin-top: var(--space-4); list-style: none; }
.file-list:empty { display: none; }
.file-item {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: var(--space-3);
  padding: var(--space-2); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-sm);
}
.file-thumb { display: grid; place-items: center; width: 48px; height: 48px; object-fit: cover; background: var(--color-surface-2); border-radius: var(--radius-sm); color: var(--color-text-muted); }
.file-name { overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.file-meta { color: var(--color-text-muted); font-size: var(--text-sm); }
.file-warn { color: var(--color-warning); font-size: var(--text-sm); }

/* Details */
.field-grid { display: grid; gap: var(--space-6); }
@media (min-width: 640px) { .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field-grid .field + .field { margin-top: 0; }
.field-grid + .field { margin-top: var(--space-6); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: grid; justify-items: start; gap: var(--space-3); margin-top: var(--space-8); }

/* Confirmation */
.confirmation { display: grid; gap: var(--space-6); max-width: 44rem; padding: var(--space-8); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.confirmation h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-4xl); line-height: 1.1; }
.confirmation h3:focus { outline: none; }
.confirmation h4 { font-size: var(--text-lg); font-weight: 600; }
.proto-note { padding: var(--space-3) var(--space-4); border: 1px dashed var(--color-warning); border-radius: var(--radius-sm); font-size: var(--text-sm); }
/* no column gap (dt padding instead), so row rules run unbroken across both columns */
.confirm-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); row-gap: var(--space-2); margin: 0; font-variant-numeric: tabular-nums; }
.confirm-summary dt { padding-right: var(--space-6); color: var(--color-text-muted); }
.confirm-summary dd { margin: 0; }
.confirm-summary dd.is-money { text-align: right; }
.confirm-summary .is-first-money { padding-top: var(--space-3); margin-top: var(--space-1); border-top: 1px solid var(--color-border); }
.confirm-summary .is-total { padding-top: var(--space-2); border-top: 1px solid var(--color-border-strong); color: var(--color-text); font-weight: 600; }
.confirm-steps { display: grid; gap: var(--space-2); padding-left: var(--space-6); }
.confirmation .btn { justify-self: start; }

/* Comparison: scrolls sideways on phones inside its own box */
.compare-wrap { position: relative; overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.compare-wrap:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: var(--text-sm); }
.compare th, .compare td { padding: var(--space-4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-border); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: var(--text-md); font-weight: 600; vertical-align: bottom; }
.compare thead .is-us { font-family: var(--font-display); font-style: italic; font-size: var(--text-2xl); font-weight: 400; color: var(--color-accent-ink); }
.compare tbody th { width: 18%; color: var(--color-text-muted); font-weight: 600; }
.compare td strong { display: block; font-size: var(--text-md); font-variant-numeric: tabular-nums; }
.compare td span { display: block; margin-top: 2px; color: var(--color-text-muted); }
.compare .is-us { background: var(--color-surface); }
.compare-note { max-width: 75ch; margin-top: var(--space-3); color: var(--color-text-muted); font-size: var(--text-sm); }
.compare-summary { max-width: 65ch; margin-bottom: var(--space-4); font-size: var(--text-lg); text-wrap: pretty; }
.benefit-points { margin-bottom: var(--space-10); }

/* Event coin plans */
.plans-inner { display: grid; gap: var(--space-10); }
@media (min-width: 1024px) { .plans-inner { grid-template-columns: minmax(0, 1fr) 360px; column-gap: var(--space-16); align-items: start; } }
.plan-points, .benefit-points { display: grid; gap: var(--space-6) var(--space-8); list-style: none; }
@media (min-width: 640px) { .plan-points, .benefit-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .benefit-points { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan-points li, .benefit-points li { display: grid; align-content: start; gap: var(--space-2); padding-top: var(--space-4); border-top: 1px solid var(--color-border-strong); }
.plan-points h3, .benefit-points h3 { font-size: var(--text-lg); font-weight: 600; }
.plan-points p, .benefit-points p { color: var(--color-text-muted); }
.plan-example { display: grid; gap: var(--space-4); padding: var(--space-6); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.plan-example h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-3xl); line-height: 1.1; }
.plan-example-sub, .plan-example-note { color: var(--color-text-muted); font-size: var(--text-sm); }
.plan-example-sub { margin-top: calc(-1 * var(--space-3)); }
.plan-rows { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; row-gap: var(--space-2); margin: 0; font-variant-numeric: tabular-nums; }
.plan-rows dt { padding-right: var(--space-4); color: var(--color-text-muted); }
.plan-rows dd { margin: 0; text-align: right; }
.plan-rows .plan-price { font-family: var(--font-display); font-style: italic; font-size: var(--text-3xl); line-height: 1; color: var(--color-accent-ink); }

/* Plan example: two sliders, a coin stack per event and the tier strip. Motion is transform and opacity only; the
   tokens zero the durations under prefers-reduced-motion, and app.js skips adding the animation classes. */
.plan-slider { display: grid; }
.plan-slider-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
.plan-slider-head label { color: var(--color-text-muted); font-size: var(--text-sm); }
/* the number beside each slider is a box you can type in; it and the slider always agree */
.plan-num {
  width: 5.5ch; min-height: 36px; padding: 0 var(--space-2); text-align: right;
  font: 600 var(--text-lg)/1 var(--font-text); font-variant-numeric: tabular-nums;
  color: var(--color-text); background: var(--color-surface-2);
  border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm);
  appearance: textfield; -moz-appearance: textfield;
}
.plan-num::-webkit-inner-spin-button, .plan-num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.plan-num:hover { border-color: var(--color-text-muted); }
.plan-num:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.plan-num-help { margin-top: var(--space-1); color: var(--color-text-muted); font-size: var(--text-sm); text-align: right; }
.plan-num-help:empty { display: none; }
.plan-range {
  --fill: 50%; /* set by app.js to the thumb's centre */
  width: 100%; height: 36px; margin: 0; background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.plan-range:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-sm); }
.plan-range::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(to right, var(--color-accent) var(--fill), var(--color-border-strong) var(--fill));
}
.plan-range::-moz-range-track { height: 6px; border-radius: 3px; background: var(--color-border-strong); }
.plan-range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--color-accent); }
/* 22 px thumb (THUMB_PX in app.js), edged so it shows 3:1 on Paper too */
.plan-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%;
  background: var(--color-accent); border: 2px solid var(--color-selected-edge); box-shadow: 0 1px 3px rgb(0 0 0 / 0.35);
  transition: transform var(--duration-fast) var(--ease-out);
}
.plan-range::-moz-range-thumb {
  width: 22px; height: 22px; box-sizing: border-box; border-radius: 50%;
  background: var(--color-accent); border: 2px solid var(--color-selected-edge); box-shadow: 0 1px 3px rgb(0 0 0 / 0.35);
}
.plan-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.plan-ticks { position: relative; height: 1.25rem; color: var(--color-text-muted); font-size: var(--text-xs); font-variant-numeric: tabular-nums; }
.plan-ticks span { position: absolute; top: 0; transform: translateX(-50%); }

.plan-stacks { display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 120px; padding-bottom: var(--space-1); border-bottom: 1px solid var(--color-border); }
.plan-stack { display: grid; flex: 1 1 0; min-width: 0; max-width: 36px; justify-items: center; gap: 4px; }
.plan-pile { display: flex; flex-direction: column-reverse; width: 100%; }
/* one disc = 10 coins; each sits a little on the one below, like a stack seen from the side. position: relative
   makes every disc paint in order, on top of the one below; without it, discs that had run the drop animation
   painted differently from the rest and the stacks didn't match. */
.plan-disc {
  position: relative; display: block; height: 7px; margin-top: -4px; border-radius: 50%;
  background: var(--color-accent); box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--color-accent) 55%, #000);
}
.plan-stack-num { color: var(--color-text-muted); font-size: var(--text-xs); font-variant-numeric: tabular-nums; }
@keyframes plan-pop { from { opacity: 0; transform: translateY(12px) scale(0.6); } }
@keyframes plan-out { to { opacity: 0; transform: translateY(8px) scale(0.8); } }
@keyframes plan-drop { from { opacity: 0; transform: translateY(-18px); } }
@keyframes plan-lift { to { opacity: 0; transform: translateY(-10px); } }
@keyframes plan-shuffle { 25% { transform: translateX(-3px) rotate(-5deg); } 60% { transform: translateX(3px) rotate(4deg); } }
.plan-stack.is-new { animation: plan-pop var(--duration-slow) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
.plan-stack.is-leaving { animation: plan-out var(--duration-base) ease-in both; }
.plan-disc.is-new { animation: plan-drop var(--duration-base) var(--ease-out) both; animation-delay: var(--d, 0ms); }
.plan-disc.is-leaving { animation: plan-lift var(--duration-fast) ease-in both; }
.plan-stacks.is-shuffling .plan-pile { animation: plan-shuffle var(--duration-slow) var(--ease-out); animation-delay: calc(var(--n, 0) * 30ms); }
@media (prefers-reduced-motion: reduce) { .plan-stack, .plan-pile, .plan-disc { animation: none !important; } }

.plan-tier { display: grid; gap: var(--space-2); }
.plan-tier-text { color: var(--color-text-muted); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.plan-tier-text strong { color: var(--color-text); }
.plan-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.plan-tiers li {
  display: grid; gap: 2px; padding: var(--space-2) var(--space-1); text-align: center;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  color: var(--color-text-muted); font-size: var(--text-xs); font-variant-numeric: tabular-nums;
  transition: background-color var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out);
}
.plan-tiers li strong { color: var(--color-text); font-size: var(--text-sm); }
.plan-tiers li[aria-current="true"] { background: var(--color-accent-soft); border-color: var(--color-selected-edge); color: var(--color-text); }

/* How it works */
.steps-list { display: grid; gap: var(--space-8); list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.steps-list li { display: grid; align-content: start; gap: var(--space-3); padding-top: var(--space-6); border-top: 1px solid var(--color-border-strong); }
.steps-num { font-family: var(--font-display); font-style: italic; font-size: var(--text-5xl); line-height: 1; color: var(--color-accent-ink); }
.steps-list h3 { font-size: var(--text-xl); font-weight: 600; }
.steps-list p { color: var(--color-text-muted); }

/* Work */
/* two big squares a row on a laptop, one on phones */
.work-grid { display: grid; gap: var(--space-6); list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); }
.work-item { display: grid; gap: var(--space-3); margin: 0; }
.work-photo {
  display: grid; place-items: center; aspect-ratio: 1; padding: var(--space-6); text-align: center;
  background: var(--color-surface); border: 1px dashed var(--color-border-strong); border-radius: var(--radius-md);
  color: var(--color-text-muted); font-size: var(--text-sm);
}
.work-item figcaption { color: var(--color-text-muted); font-size: var(--text-sm); }
.work-media { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--color-surface-2); border-radius: var(--radius-md); }

/* Finishes: two rows of square clips drifting in opposite directions (owner 2026-10-31). Without the script, or with
   reduced motion, each row is a still strip you can swipe. app.js repeats a row's items until one copy is wider than
   the row, doubles it and adds .is-looping, so the -50% loop has no seam. Items use margin, not gap, so the doubled
   track is exactly two copies wide. */
.marquee {
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}
.marquee-track { display: flex; width: max-content; list-style: none; }
.marquee-item { flex: 0 0 auto; width: clamp(150px, 40vw, 250px); margin-right: var(--space-4); scroll-snap-align: start; }
.marquee.is-looping { overflow: hidden; }
.marquee.is-looping .marquee-track { animation: marquee-left var(--marquee-duration, 60s) linear infinite; }
.marquee.is-looping[data-direction="right"] .marquee-track { animation-name: marquee-right; }
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
/* stops to read a caption, while tabbing through, and with the section's Pause motion button */
.marquee.is-looping:hover .marquee-track, .marquee.is-looping:focus-within .marquee-track,
.is-motion-paused .marquee.is-looping .marquee-track { animation-play-state: paused; }
.finish-more { margin: var(--space-10) 0 var(--space-4); font-size: var(--text-lg); }

/* Etsy: the rating line under the hero buttons, and the book stands that link to their Etsy listings */
.hero-proof {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: var(--space-6);
  color: var(--color-text-muted); font-size: var(--text-sm); text-decoration: none;
}
.hero-proof strong { color: var(--color-text); }
.hero-proof:hover span:last-child { text-decoration: underline; }
.shop-grid { display: grid; gap: var(--space-5); list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
@media (max-width: 639px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); } }
.shop-item { display: grid; gap: var(--space-1); color: var(--color-text); text-decoration: none; }
.shop-item img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; margin-bottom: var(--space-2); border-radius: var(--radius-md); }
.shop-item:hover .shop-name { text-decoration: underline; }
.shop-name { font-weight: 600; }
.shop-spec { color: var(--color-text-muted); font-size: var(--text-sm); }
.shop-price { color: var(--color-accent-ink); font-size: var(--text-sm); font-weight: 600; }
.shop-more { margin-top: var(--space-6); }

/* Reviews: published client reviews, loaded from /api/reviews; the section stays hidden until there's one */
.stars { display: inline-flex; gap: 2px; }
.star { width: 20px; height: 20px; fill: none; stroke: var(--color-border-strong); stroke-width: 1.5; stroke-linejoin: round; }
.star.is-on { fill: var(--color-accent-ink); stroke: var(--color-accent-ink); }
/* auto-fill: the first reviews keep a card's width instead of stretching across the page */
.review-grid { display: grid; gap: var(--space-6); list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.review-item {
  display: grid; align-content: start; gap: var(--space-3); height: 100%; margin: 0; padding: var(--space-6);
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md);
}
.review-item blockquote { margin: 0; white-space: pre-wrap; text-wrap: pretty; }
.review-item figcaption { color: var(--color-text-muted); font-size: var(--text-sm); }
.review-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); padding: 0; list-style: none; }
.review-photos a { display: block; border-radius: var(--radius-sm); }
.review-photos img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }

/* Footer */
.site-footer { padding-block: var(--space-16) var(--space-8); border-top: 1px solid var(--color-border); }
.footer-inner { display: grid; gap: var(--space-10); grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.footer-line { max-width: 30ch; margin-top: var(--space-3); color: var(--color-text-muted); }
.footer-heading { margin-bottom: var(--space-2); color: var(--color-text-muted); font-size: var(--text-sm); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; }
.footer-links { display: grid; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; color: var(--color-text); text-decoration: none; }
.footer-links a:hover { color: var(--color-accent-ink); text-decoration: underline; }
.footer-base { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-12); color: var(--color-text-muted); font-size: var(--text-sm); }
.coin-rule { width: 96px; height: 10px; background: repeating-linear-gradient(90deg, var(--color-accent) 0 2px, transparent 2px 5px); }

/* Phone price bar */
.mobile-bar {
  position: fixed; right: 0; bottom: 0; left: 0; z-index: 15;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-3) var(--gutter) calc(var(--space-3) + env(safe-area-inset-bottom));
  background: var(--color-surface); border-top: 1px solid var(--color-border-strong); box-shadow: var(--shadow-panel);
}
.mobile-bar-label { display: block; color: var(--color-text-muted); font-size: var(--text-sm); }
.mobile-bar-label.is-alert { color: var(--color-danger); font-weight: 600; }
.mobile-bar-total { font-family: var(--font-display); font-style: italic; font-size: var(--text-3xl); line-height: 1; color: var(--color-accent-ink); font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) { .mobile-bar { display: none !important; } }

/* ---- UX review, 2026-10-31: guidance through a longer page ---- */
.btn-sm { min-height: 40px; padding: 0 var(--space-4); }

/* hero: a real coin (the relief video) in place of the drawn one */
figure.hero-art { margin: 0; display: grid; justify-items: center; gap: var(--space-3); }
.hero-video { width: min(100%, 440px); border-radius: var(--radius-lg); }
.hero-art figcaption { max-width: 440px; color: var(--color-text-muted); font-size: var(--text-sm); text-align: center; }
@media (max-width: 639px) { .hero-video { width: min(100%, 320px); } }
/* the Etsy rating line is a link: tall enough to tap */
.hero-proof { min-height: 32px; padding-block: var(--space-1); }
@media (max-width: 639px) { .hero-proof { min-height: 44px; } }

/* metal card: until there's a photo, the placeholder fills the photo square instead of floating in it */
.card-media-soon .placeholder { place-self: stretch; display: grid; place-items: center; margin: var(--space-6); padding: var(--space-4); }

/* phones: product cards as rows (a small square photo beside the words), about 1,500 px shorter than full-width photos */
@media (max-width: 699px) {
  .card-grid { gap: var(--space-4); }
  .card { flex-direction: row; align-items: flex-start; }
  .card-media { flex: 0 0 96px; margin: var(--space-4) 0 var(--space-4) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
  .card-body { padding: var(--space-4); }
  .card h3 { font-size: var(--text-2xl); }
  .card-media .placeholder { margin: 0; padding: var(--space-2); border: 0; font-size: var(--text-xs); }
}

/* How it works: a short strip just above the calculator */
.section.section-tight { padding-block: var(--space-10); }
.strip-title { margin-bottom: var(--space-4); font-size: var(--text-lg); font-weight: 600; }
.steps-strip { display: grid; gap: var(--space-4); list-style: none; }
@media (min-width: 768px) { .steps-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); } }
.steps-strip li { display: flex; align-items: baseline; gap: var(--space-3); }
.steps-strip .steps-num { flex: 0 0 auto; font-size: var(--text-3xl); }
.steps-strip p { color: var(--color-text-muted); font-size: var(--text-sm); }
.steps-strip strong { color: var(--color-text); }

/* finishes: one pause control for all the clips */
.finish-motion { margin-bottom: var(--space-6); }
#finishes video { cursor: pointer; } /* a tap plays or pauses that clip */

/* the order button repeats the total */
.submit-total { font-weight: 600; font-variant-numeric: tabular-nums; }

/* laptop: the estimate fits the window, so its button is never below the fold (room left for the panel's shadow) */
@media (min-width: 1024px) {
  .summary { max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain; padding: 4px 12px 16px; margin: -4px -12px -16px; }
}

/* plan example: sliders and number boxes big enough to touch */
@media (max-width: 639px) { .plan-num { min-height: 44px; } .plan-range { height: 44px; } }

/* comparison on phones: each row a short card with every maker's answer labelled, the four key rows first and the
   rest behind "Show the full comparison"; laptops keep the table */
.compare-more { margin-top: var(--space-4); }
@media (min-width: 640px) { .compare-more { display: none; } }
@media (max-width: 639px) {
  .compare-wrap { overflow: visible; border: 0; border-radius: 0; }
  .compare { min-width: 0; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { margin-bottom: var(--space-4); overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
  .compare tbody th { width: auto; padding: var(--space-3) var(--space-4); color: var(--color-text); background: var(--color-surface-2); }
  .compare td { padding: var(--space-3) var(--space-4); }
  .compare tr > *:last-child { border-bottom: 0; }
  .compare td::before {
    content: attr(data-label); display: block; margin-bottom: 2px;
    color: var(--color-text-muted); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  }
  .compare td.is-us::before { color: var(--color-accent-ink); }
  .compare-wrap:not(.is-open) tr:not(.is-key) { display: none; }
}

/* footer: the two ways in, at the bottom of a long page */
.footer-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
