/*
 * The shared base for every store: layout, type scale, forms, the builder, checkout, the payment
 * widget, prose and tables. It decides structure and behaviour, not character. Each store's own
 * stylesheet (sites/<domain>/public/css/store.css) is appended to this one in the same file
 * (lib/assets.js) and sets its fonts, palette, shapes and the look of its home page, mostly by
 * overriding the tokens below.
 *
 * No build step: this file is what is served. Contrast for every store's palette is checked in
 * test/contrast.test.js, and scripts/check.js refuses generic fonts and pulsing indicators.
 */

:root {
  color-scheme: light dark;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: var(--font-body);
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 650;
  --display-tracking: -.02em;
  --display-transform: none;
  --display-stretch: normal;
  --display-leading: 1.1;
  --h1: clamp(2.1rem, 1.3rem + 3.2vw, 3.5rem);
  --h2: clamp(1.55rem, 1.15rem + 1.5vw, 2.2rem);
  --h3: 1.15rem;
  --body-leading: 1.6;

  --bg: #f7f7f5; --surface: #ffffff; --surface-2: #efefec; --sunken: #e9e9e5;
  --line: #dcdcd6; --line-strong: #bdbdb5;
  --ink: #111111; --ink-2: #2e2e2e; --ink-3: #595959;
  --ok: #17703a; --ok-soft: #e4f3e9; --warn: #934604; --warn-soft: #fbf0d9; --err: #b3201f; --err-soft: #fbe7e7; --info: #1d4ed8; --info-soft: #e5ecfc;
  --accent-soft: color-mix(in oklab, var(--accent) 9%, var(--surface));
  --accent-line: color-mix(in oklab, var(--accent) 40%, var(--line));

  --radius: 10px; --radius-sm: 6px; --radius-lg: 14px; --radius-btn: 8px; --radius-chip: 999px;
  --shadow-pop: 0 14px 36px rgb(0 0 0 / .14);
  --container: 76rem; --gutter: clamp(1rem, 4vw, 2rem); --header-h: 4rem;
  --section: clamp(3rem, 7vw, 5.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0d0e; --surface: #151516; --surface-2: #1c1c1e; --sunken: #101011;
    --line: #2a2a2d; --line-strong: #3c3c40;
    --ink: #f3f3f1; --ink-2: #d2d2ce; --ink-3: #a3a39e;
    --ok: #63d98f; --ok-soft: rgb(99 217 143 / .13); --warn: #f2b84b; --warn-soft: rgb(242 184 75 / .13); --err: #ff8f8f; --err-soft: rgb(255 143 143 / .13); --info: #93b3ff; --info-soft: rgb(147 179 255 / .13);
    --accent-soft: color-mix(in oklab, var(--accent) 14%, var(--surface));
    --shadow-pop: 0 14px 36px rgb(0 0 0 / .55);
  }
}
:root[data-theme="dark"] {
  --bg: #0d0d0e; --surface: #151516; --surface-2: #1c1c1e; --sunken: #101011;
  --line: #2a2a2d; --line-strong: #3c3c40;
  --ink: #f3f3f1; --ink-2: #d2d2ce; --ink-3: #a3a39e;
  --ok: #63d98f; --ok-soft: rgb(99 217 143 / .13); --warn: #f2b84b; --warn-soft: rgb(242 184 75 / .13); --err: #ff8f8f; --err-soft: rgb(255 143 143 / .13); --info: #93b3ff; --info-soft: rgb(147 179 255 / .13);
  --accent-soft: color-mix(in oklab, var(--accent) 14%, var(--surface));
  --shadow-pop: 0 14px 36px rgb(0 0 0 / .55);
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--bg); color: var(--ink-2); font-family: var(--font-body); font-size: 1rem; line-height: var(--body-leading); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); line-height: var(--display-leading); letter-spacing: var(--display-tracking); text-transform: var(--display-transform); font-stretch: var(--display-stretch); text-wrap: balance; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); letter-spacing: -.01em; }
h4 { font-size: 1rem; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--accent-text); text-decoration-thickness: .07em; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .13em; }
strong { color: var(--ink); font-weight: 600; }
code, kbd, .mono { font-family: var(--font-mono); font-size: .92em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in oklab, var(--accent) 70%, transparent); outline-offset: 2px; }
::selection { background: color-mix(in oklab, var(--accent) 30%, transparent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--bg); padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }
.icon { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(1.75rem, 4vw, 3rem); }
.section-head { max-width: 44rem; margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem); display: grid; gap: .7rem; }
.section-head p { color: var(--ink-3); font-size: 1.05rem; }
.section-more { margin-top: 1.5rem; }
.row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.eyebrow { font-size: .85rem; font-weight: 600; color: var(--accent-text); letter-spacing: .01em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-row { min-height: var(--header-h); display: flex; align-items: center; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 1.05rem; white-space: nowrap; }
.brand img { width: 2rem; height: 2rem; }
.brand-long { display: none; }
.nav { display: none; margin-left: auto; gap: .15rem; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; padding: .45rem .7rem; font-size: .95rem; border-radius: var(--radius-sm); }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.header-actions { margin-left: auto; display: flex; gap: .5rem; align-items: center; }
.header-cta { display: none; }
.icon-btn { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-btn); border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}
.menu { position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + .5rem); width: min(19rem, calc(100vw - 2rem)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-pop); padding: .4rem; display: grid; }
.menu-panel a { padding: .75rem .9rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; }
.menu-panel a:hover { background: var(--surface-2); }
@media (min-width: 64rem) {
  .nav { display: flex; }
  .menu { display: none; }
  .header-actions { margin-left: 0; }
  .header-cta { display: inline-flex; }
  .brand-long { display: inline; }
  .brand-short { display: none; }
}

/* ---------- buttons and links ---------- */
.btn { --b: var(--line-strong); display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.2rem; border-radius: var(--radius-btn); border: 1px solid var(--b); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; font-size: .975rem; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { --b: var(--accent); background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in oklab, var(--accent) 88%, var(--ink)); }
.btn-ghost { background: transparent; --b: transparent; }
.btn-ghost:hover { --b: var(--line); }
.btn-lg { padding: .95rem 1.5rem; font-size: 1.025rem; }
.btn-sm { padding: .5rem .85rem; font-size: .875rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.75rem; }

/* ---------- hero (each store shapes its own) ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-copy h1 { margin-top: .9rem; }
.lede { font-size: clamp(1.05rem, .97rem + .4vw, 1.22rem); color: var(--ink-3); max-width: 40rem; margin-top: 1.2rem; line-height: 1.55; }
@media (min-width: 62rem) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; } }

/* ---------- cards ---------- */
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.grid { display: grid; gap: 1rem; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--ink-3); }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .15s; }
.card-link:hover { border-color: var(--line-strong); text-decoration: none; }

.product-card, .preset-card { display: flex; flex-direction: column; gap: .6rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: inherit; text-decoration: none; transition: border-color .15s; min-width: 0; }
.product-card:hover, .preset-card:hover { border-color: var(--line-strong); text-decoration: none; }
.product-plate, .preset-plate { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--ink-3); overflow: hidden; }
.product-plate .icon, .preset-plate .icon { width: 2.8rem; height: 2.8rem; }
.product-plate img { width: 100%; height: 100%; object-fit: cover; }
.product-body { display: grid; gap: .3rem; flex: 1; align-content: start; }
.product-brand { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.product-name, .preset-name { font-size: 1.05rem; line-height: 1.25; }
.product-sum, .preset-tagline { font-size: .9rem; color: var(--ink-3); line-height: 1.45; }
.product-facts { list-style: none; padding: 0; margin: .3rem 0 0; display: grid; gap: .15rem; font-size: .8rem; color: var(--ink-2); }
.product-facts .k { color: var(--ink-3); }
.product-foot, .preset-foot { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; margin-top: auto; padding-top: .6rem; border-top: 1px solid var(--line); }
.product-cta { display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; font-weight: 600; color: var(--accent-text); }
.preset-kicker { font-size: .8rem; color: var(--ink-3); }
.preset-specs { margin: .2rem 0 0; display: grid; gap: .2rem; font-size: .82rem; }
.preset-specs div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .5rem; }
.preset-specs dt { color: var(--ink-3); }
.preset-specs dd { margin: 0; color: var(--ink-2); }
.preset-kit { font-size: .8rem; color: var(--ink-3); }
.price { font-variant-numeric: tabular-nums; font-weight: 650; color: var(--ink); }
.price small { font-weight: 500; color: var(--ink-3); }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .55rem; border-radius: var(--radius-sm); font-size: .76rem; font-weight: 600; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.badge-accent { background: var(--accent-soft); color: var(--accent-text); border-color: var(--accent-line); }
.badge-ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge-warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge-err { background: var(--err-soft); color: var(--err); border-color: transparent; }

/* ---------- home blocks: base shapes ---------- */
.facts-band { border-block: 1px solid var(--line); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.facts > div { padding: 1rem 1.1rem; border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; }
.facts dt { font-size: .78rem; color: var(--ink-3); }
.facts dd { margin: .2rem 0 0; color: var(--ink); font-weight: 550; }

.compare th[scope="row"] { color: var(--ink-3); font-weight: 500; width: 28%; }
.compare thead th { color: var(--ink); font-size: 1rem; }
.compare-note { margin-top: 1rem; color: var(--ink-3); font-size: .95rem; }

.notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); counter-reset: note; }
.notes li { counter-increment: note; display: grid; gap: .4rem; align-content: start; }
.notes li::before { content: counter(note, decimal-leading-zero); font-family: var(--font-mono); font-size: .8rem; color: var(--accent-text); }
.notes p { color: var(--ink-3); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.step { display: grid; gap: .5rem; align-content: start; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step-icon { color: var(--accent-text); }
.step-icon .icon { width: 1.6rem; height: 1.6rem; }
.step p { color: var(--ink-3); }

.coins-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.coins-head h2 { font-size: 1.15rem; }
.coin-strip { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.coin-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .8rem .4rem .45rem; border-radius: var(--radius-chip); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 550; font-size: .92rem; }
.coin-pill:hover { border-color: var(--line-strong); text-decoration: none; }
.coin-sym { color: var(--ink-3); font-weight: 500; font-size: .82rem; }
.coin-img { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--surface-2); flex: none; object-fit: cover; }
.coin-mono { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); font-family: var(--font-mono); font-size: .6rem; font-weight: 700; color: var(--ink-2); flex: none; }
.coin-img-lg, .coin-mono.coin-img-lg { width: 3rem; height: 3rem; font-size: .8rem; }

.faq-layout { display: grid; gap: 1.5rem; }
@media (min-width: 62rem) { .faq-layout { grid-template-columns: 20rem 1fr; gap: 3rem; align-items: start; } }
.faq { display: grid; gap: .5rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; color: var(--ink); display: flex; gap: 1rem; justify-content: space-between; align-items: center; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s var(--ease); color: var(--ink-3); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 1.2rem 1.15rem; color: var(--ink-2); max-width: 46rem; }

.guides-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; max-width: none; }
.guide-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.guide-list li { border-bottom: 1px solid var(--line); }
.guide-list a { display: grid; gap: .25rem; padding: 1.1rem 0; text-decoration: none; color: inherit; }
.guide-list a:hover .guide-title { color: var(--accent-text); text-decoration: underline; }
.guide-title { font-family: var(--font-display); font-weight: var(--display-weight); color: var(--ink); font-size: 1.1rem; }
.guide-desc { color: var(--ink-3); font-size: .95rem; max-width: 52rem; }
.guide-meta { font-size: .8rem; color: var(--ink-3); }
@media (min-width: 52rem) { .guide-list a { grid-template-columns: 1fr 1.3fr auto; gap: 2rem; align-items: baseline; } }

.closing { display: grid; gap: 1.25rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.closing p { color: var(--ink-3); margin-top: .5rem; max-width: 40rem; }
@media (min-width: 52rem) { .closing { grid-template-columns: 1fr auto; } }

.aside-links { margin-block: 1.5rem; padding: 1rem 1.2rem; border-left: 3px solid var(--line-strong); color: var(--ink-3); font-size: .95rem; }
.aside-links p + p { margin-top: .5rem; }

.cat-group + .cat-group { margin-top: 2rem; }
.cat-group-title { font-size: 1rem; margin-bottom: .75rem; color: var(--ink-3); }
.cat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.cat { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: inherit; height: 100%; }
.cat:hover { border-color: var(--line-strong); text-decoration: none; }
.cat-icon { grid-row: span 3; color: var(--accent-text); }
.cat-icon .icon { width: 1.6rem; height: 1.6rem; }
.cat-label { font-weight: 650; color: var(--ink); }
.cat-blurb { font-size: .88rem; color: var(--ink-3); }
.cat-meta { font-size: .8rem; color: var(--ink-3); }

.teaser { display: grid; gap: 2rem; padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.teaser p { color: var(--ink-3); margin-top: .75rem; max-width: 38rem; }
.teaser-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); counter-reset: ts; }
.teaser-steps li { display: flex; gap: .5rem; align-items: center; font-size: .92rem; color: var(--ink-2); }
.teaser-presets { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.teaser-presets a { display: grid; gap: .15rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; background: var(--surface); }
.tp-name { font-weight: 650; color: var(--ink); }
.tp-tag { font-size: .82rem; color: var(--ink-3); }
.tp-price { font-variant-numeric: tabular-nums; font-weight: 650; color: var(--ink); }
@media (min-width: 62rem) { .teaser { grid-template-columns: 1.1fr .9fr; align-items: center; } }

.pricing-layout { display: grid; gap: 1.5rem; }
.pricing-rows { margin: 0; display: grid; border-top: 1px solid var(--line); }
.pricing-rows div { display: grid; gap: .3rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.pricing-rows dt { font-weight: 650; color: var(--ink); }
.pricing-rows dd { margin: 0; color: var(--ink-3); }
@media (min-width: 46rem) { .pricing-rows div { grid-template-columns: 11rem 1fr; gap: 1.5rem; } }
.pricing-example { padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); align-self: start; }
.pricing-example-title { font-size: .85rem; color: var(--ink-3); margin-bottom: .6rem; }
.pricing-example dl { margin: 0; display: grid; gap: .4rem; }
.pricing-example dl div { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.pricing-example dd { margin: 0; }
.pricing-example .total { border-top: 1px solid var(--line); padding-top: .5rem; font-weight: 650; color: var(--ink); }
@media (min-width: 62rem) { .pricing-layout { grid-template-columns: 1fr 1.4fr .9fr; gap: 2.5rem; align-items: start; } .pricing-layout .section-head { margin-bottom: 0; } }

.privacy-cols { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.privacy-col { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.privacy-col h3 { margin-bottom: .75rem; }
.privacy-col ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; color: var(--ink-2); }
.privacy-more { margin-top: 1.25rem; }

/* ---------- forms ---------- */
.field { display: grid; gap: .4rem; }
.label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.label .opt { color: var(--ink-3); font-weight: 500; }
.input, .select, .textarea { width: 100%; padding: .72rem .85rem; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; line-height: 1.4; transition: border-color .15s, box-shadow .15s; appearance: none; }
.select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 1.15rem) 55%, calc(100% - .85rem) 55%; background-size: .3rem .3rem; background-repeat: no-repeat; padding-right: 2.4rem; }
.textarea { min-height: 7rem; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--ink-3); opacity: .85; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 25%, transparent); }
.field.has-error .input, .field.has-error .select { border-color: var(--err); }
.hint { font-size: .85rem; color: var(--ink-3); }
.error-text { font-size: .875rem; color: var(--err); font-weight: 550; display: flex; gap: .4rem; align-items: flex-start; }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .wide { grid-column: 1 / -1; } }
.check { display: flex; gap: .75rem; align-items: flex-start; cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--accent); flex: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: .8rem; padding: .95rem 1.1rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); align-items: flex-start; }
.notice .icon { margin-top: .15rem; }
.notice-info { background: var(--info-soft); border-color: transparent; color: var(--ink); }
.notice-info .icon { color: var(--info); }
.notice-warn { background: var(--warn-soft); border-color: transparent; color: var(--ink); }
.notice-warn .icon { color: var(--warn); }
.notice-error { background: var(--err-soft); border-color: transparent; color: var(--ink); }
.notice-error .icon { color: var(--err); }
.notice-ok { background: var(--ok-soft); border-color: transparent; color: var(--ink); }
.notice-ok .icon { color: var(--ok); }
.notice strong { display: block; margin-bottom: .15rem; }
.list-filter { max-width: 26rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip-link { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; border: 1px solid var(--line-strong); border-radius: var(--radius-chip); color: var(--ink-2); text-decoration: none; font-size: .88rem; background: var(--surface); }
.chip-link:hover { border-color: var(--ink-3); text-decoration: none; }
.chip-link[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip-link .count { font-size: .78rem; opacity: .7; }
.filter-empty { padding: 2rem 0; color: var(--ink-3); }

/* ---------- builder ---------- */
.builder { display: grid; gap: 1.5rem; padding-block: 1.5rem 6rem; align-items: start; }
@media (min-width: 64rem) { .builder { grid-template-columns: minmax(0, 1fr) 24rem; gap: 2rem; padding-bottom: 4rem; } .builder-aside { position: sticky; top: calc(var(--header-h) + 1rem); } }
.builder-head { display: grid; gap: .9rem; padding-block: 2rem 0; }
.presets-bar { display: flex; gap: .45rem; flex-wrap: wrap; align-items: center; }
.presets-bar .label { margin-right: .25rem; }
.preset-chip { padding: .42rem .85rem; border-radius: var(--radius-chip); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-size: .9rem; cursor: pointer; }
.preset-chip:hover { background: var(--surface-2); }
.preset-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.bstep { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: calc(var(--header-h) + 1rem); }
.bstep + .bstep { margin-top: 1rem; }
.bstep-head { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.bstep-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--accent-text); flex: none; }
.bstep-icon .icon { width: 1.35rem; height: 1.35rem; }
.bstep-title { flex: 1; min-width: 0; }
.bstep-title h2 { font-size: 1.12rem; display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.bstep-num { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-3); font-weight: 500; letter-spacing: 0; }
.bstep-title p { color: var(--ink-3); font-size: .9rem; margin-top: .15rem; }
.bstep-pick { font-size: .85rem; color: var(--ink-3); text-align: right; max-width: 12rem; }
.bstep-pick strong { display: block; font-size: .9rem; }
@media (max-width: 40rem) {
  /* The chosen part moves to its own row, so the title and help text are not squeezed into a sliver. */
  .bstep-head { flex-wrap: wrap; align-items: flex-start; padding: 1rem; row-gap: .75rem; }
  .bstep-pick { flex: 1 1 100%; max-width: none; text-align: left; padding-top: .75rem; border-top: 1px dashed var(--line); }
  .bstep-pick:empty { display: none; }
}
.bstep.is-invalid { border-color: color-mix(in oklab, var(--err) 55%, var(--line)); }
.options { display: grid; gap: .7rem; padding: 1.05rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.option { position: relative; display: grid; gap: .45rem; align-content: start; padding: .95rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s; }
.option:hover { border-color: var(--line-strong); }
.option input[type="radio"], .option input[type="checkbox"] { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option:has(input:focus-visible) { outline: 3px solid color-mix(in oklab, var(--accent) 70%, transparent); outline-offset: 2px; }
.option.is-selected { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.option-top { display: flex; gap: .75rem; justify-content: space-between; align-items: flex-start; }
.option-name { font-weight: 600; color: var(--ink); line-height: 1.3; }
.option-sum { font-size: .875rem; color: var(--ink-3); line-height: 1.45; }
.option-price { text-align: right; flex: none; }
.option-delta { display: block; font-size: .78rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.option-tick { position: absolute; top: .6rem; right: .6rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: none; place-items: center; }
.option-tick .icon { width: .85rem; height: .85rem; }
.option.is-selected .option-tick { display: grid; }
.option.has-tick .option-top { padding-right: 1.8rem; }
.option.is-disabled { cursor: not-allowed; background: var(--surface-2); }
.option.is-disabled .option-name, .option.is-disabled .option-sum, .option.is-disabled .price { opacity: .55; }
.option.is-disabled:hover { border-color: var(--line); }
.option.is-disabled .option-delta { visibility: hidden; }
.option-reason { display: flex; gap: .4rem; align-items: flex-start; font-size: .8rem; font-weight: 550; color: var(--warn); line-height: 1.35; }
.option-reason .icon { width: 1rem; height: 1rem; margin-top: .05rem; }
.spec-list { display: flex; flex-wrap: wrap; gap: .3rem; margin: .2rem 0 0; padding: 0; list-style: none; }
.spec-list li { padding: .12rem .45rem; border-radius: var(--radius-sm); background: var(--surface-2); font-size: .76rem; color: var(--ink-2); }
.qty { display: inline-flex; align-items: center; gap: .15rem; border: 1px solid var(--line-strong); border-radius: var(--radius-chip); background: var(--surface); width: fit-content; position: relative; z-index: 1; }
.qty button { width: 2rem; height: 2rem; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.qty button:hover:not(:disabled) { background: var(--surface-2); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty output { min-width: 1.5rem; text-align: center; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink); }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.summary-head { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.summary-body { padding: 1rem 1.2rem; display: grid; gap: .55rem; max-height: max(11rem, calc(100dvh - 27rem)); overflow: auto; }
@media (max-width: 63.99rem) { .summary-body { max-height: none; } }
.summary-body:empty { display: none; }
.summary-line { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; align-items: baseline; }
.summary-line .what { color: var(--ink-2); min-width: 0; }
.summary-line .what small { display: block; color: var(--ink-3); font-size: .78rem; }
.summary-line.empty .what { color: var(--ink-3); font-style: italic; }
.summary-total { padding: 1rem 1.2rem; border-top: 1px solid var(--line); background: var(--surface-2); display: grid; gap: .3rem; }
.summary-total .big { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; color: var(--ink); font-weight: 650; }
.summary-total .big .price { font-size: 1.55rem; }
.summary-foot { padding: 1.1rem 1.2rem; display: grid; gap: .8rem; border-top: 1px solid var(--line); }
.verdict { display: flex; gap: .65rem; align-items: flex-start; padding: .75rem .9rem; border-radius: var(--radius-sm); font-size: .875rem; font-weight: 550; line-height: 1.4; }
.verdict.ok { background: var(--ok-soft); color: var(--ok); }
.verdict.bad { background: var(--err-soft); color: var(--err); }
.verdict.info { background: var(--surface-2); color: var(--ink-2); }
.verdict ul { margin: .25rem 0 0; padding-left: 1.1rem; font-weight: 500; }
.facts-line { font-size: .85rem; color: var(--ink-3); display: flex; gap: .5rem; flex-wrap: wrap; }
.mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
.mobile-bar .price { font-size: 1.25rem; }
@media (min-width: 64rem) { .mobile-bar { display: none; } }
.noscript-note { margin-bottom: 1rem; }

/* ---------- checkout ---------- */
.checkout { display: grid; gap: 2rem; padding-block: 2rem 4rem; align-items: start; }
@media (min-width: 62rem) { .checkout { grid-template-columns: minmax(0, 1fr) 24rem; } .checkout-aside { position: sticky; top: calc(var(--header-h) + 1rem); } }
.checkout-main { min-width: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.15rem, 3vw, 1.7rem); }
.panel + .panel { margin-top: 1.2rem; }
.grid > .panel + .panel { margin-top: 0; }
.panel > h2 { font-size: 1.2rem; display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.panel > h2 .num { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: .85rem; font-weight: 700; font-family: var(--font-body); letter-spacing: 0; }
.order-lines { display: grid; gap: .7rem; padding: 0; margin: 0; list-style: none; }
.order-line { display: flex; justify-content: space-between; gap: 1rem; font-size: .925rem; }
.order-line .what { min-width: 0; color: var(--ink-2); }
.totals { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; display: grid; gap: .5rem; }
.totals .line { display: flex; justify-content: space-between; font-size: .925rem; }
.totals .grand { font-size: 1.2rem; color: var(--ink); font-weight: 650; padding-top: .6rem; border-top: 1px dashed var(--line-strong); margin-top: .35rem; }
.totals .grand .price { font-size: 1.5rem; }
.coin-picker { display: grid; gap: 1rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.coin-tools { display: grid; gap: .75rem; }
.coin-filters { display: flex; gap: .4rem; flex-wrap: wrap; }
.coin-filter { padding: .35rem .8rem; border-radius: var(--radius-chip); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); font: inherit; font-size: .85rem; cursor: pointer; text-decoration: none; display: inline-block; }
.coin-filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.coin-grid { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); max-height: 22rem; overflow: auto; padding: .25rem; margin: -.25rem; }
.coin-option { position: relative; display: flex; gap: .65rem; align-items: center; padding: .6rem .75rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; min-width: 0; }
.coin-option:hover { border-color: var(--line-strong); }
.coin-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.coin-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.coin-option:has(input:focus-visible) { outline: 3px solid color-mix(in oklab, var(--accent) 70%, transparent); outline-offset: 2px; }
.coin-option .t { min-width: 0; line-height: 1.2; }
.coin-option .t b { display: block; color: var(--ink); font-weight: 650; font-size: .95rem; }
.coin-option .t span { display: block; color: var(--ink-3); font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin-tag { display: block; font-style: normal; font-size: .75rem; color: var(--accent-text); }
.coin-more { margin-top: .75rem; }
.coin-empty { padding: 1.5rem; text-align: center; color: var(--ink-3); }
.networks { display: grid; gap: .5rem; padding: 1rem; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.networks-all { display: grid; gap: .75rem; }
.network-option { display: flex; gap: .75rem; align-items: center; justify-content: space-between; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; position: relative; }
.network-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.network-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.network-option:has(input:focus-visible) { outline: 3px solid color-mix(in oklab, var(--accent) 70%, transparent); outline-offset: 2px; }
.network-option b { color: var(--ink); font-weight: 600; }
.network-option span { color: var(--ink-3); font-size: .85rem; }
.network-option.is-disabled { opacity: .55; cursor: not-allowed; background: var(--surface-2); }
.picked { display: flex; gap: .9rem; align-items: center; padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--ink); }
.disclosure { border: 1px solid var(--line); border-radius: var(--radius-sm); }
.disclosure summary { cursor: pointer; padding: .8rem 1rem; font-weight: 600; color: var(--ink); }
.disclosure > div { padding: 0 1rem 1rem; }
.big-price { font-size: clamp(1.55rem, 1.2rem + 1.1vw, 2.05rem); }

/* ---------- the payment widget ---------- */
.order-page { padding-block: 2rem 4rem; display: grid; gap: 1.5rem; max-width: 62rem; }
.order-head { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: flex-end; }
.order-head > :first-child { flex: 1 1 24rem; min-width: 0; }
.order-page .grid.cols-2 { align-items: start; }
.order-id { display: grid; gap: .25rem; }
.order-id .id-row { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .45rem .4rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-family: var(--font-mono); font-weight: 600; letter-spacing: .06em; color: var(--ink); font-size: .95rem; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; padding: 0; margin: 0; list-style: none; counter-reset: t; }
.timeline li { position: relative; text-align: center; font-size: .8rem; color: var(--ink-3); font-weight: 550; padding-top: 2.1rem; }
.timeline li::before { counter-increment: t; content: counter(t); position: absolute; top: 0; left: 50%; translate: -50% 0; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line-strong); font-size: .75rem; font-weight: 700; color: var(--ink-3); z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: .78rem; left: calc(50% + .9rem); right: calc(-50% + .9rem); height: 2px; background: var(--line-strong); }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ink-2); }
.timeline li.done::before { content: "\2713"; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.timeline li.done::after { background: var(--accent); }
.timeline li.current { color: var(--ink); }
.timeline li.current::before { border-color: var(--accent); color: var(--accent-text); }
.pay { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pay-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; padding: 1rem 1.5rem; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.live { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--ink); }
.live .icon { color: var(--accent-text); }
.live-check { font-weight: 400; font-size: .85rem; color: var(--ink-3); }
.countdown { display: inline-flex; align-items: center; gap: .6rem; font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: .95rem; }
.countdown strong { font-family: var(--font-mono); font-size: 1.1rem; letter-spacing: .02em; }
.countdown.is-low strong { color: var(--err); }
.meter { height: 4px; background: var(--line); }
.meter > i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transition: transform 1s linear; }
.pay-body { display: grid; gap: 2rem; padding: clamp(1.25rem, 3vw, 2rem); }
@media (min-width: 52rem) { .pay-body { grid-template-columns: minmax(0, 1fr) 15rem; align-items: start; } }
.pay-fields { display: grid; gap: 1.5rem; min-width: 0; }
.pay-label { display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: .5rem; }
.pay-label .badge { min-width: 1.4rem; justify-content: center; }
.pay-amount { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.amount { font-family: var(--font-mono); font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.6rem); font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; overflow-wrap: anywhere; }
.amount small { font-size: .55em; color: var(--ink-3); font-weight: 500; margin-left: .35rem; letter-spacing: 0; }
.copy-box { display: flex; gap: .6rem; align-items: stretch; }
.copy-box code { flex: 1; min-width: 0; display: block; padding: .85rem 1rem; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); overflow-wrap: anywhere; word-break: break-all; line-height: 1.45; font-size: .95rem; }
.copy-btn { display: inline-flex; align-items: center; gap: .45rem; padding: 0 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; white-space: nowrap; }
.copy-btn:hover { background: var(--surface-2); }
.copy-btn.is-done { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.net-badge { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .8rem; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: .9rem; }
.net-badge small { color: var(--ink-3); font-weight: 500; }
.qr-col { display: grid; gap: .75rem; justify-items: center; text-align: center; }
.qr { width: 100%; max-width: 15rem; aspect-ratio: 1; padding: .85rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.qr svg { width: 100%; height: 100%; }
.pay-warning { display: flex; gap: .85rem; padding: 1rem 1.15rem; border-radius: var(--radius-sm); background: var(--warn-soft); color: var(--ink); font-size: .925rem; }
.pay-warning .icon { color: var(--warn); margin-top: .12rem; }
.memo-box { padding: 1rem 1.15rem; border-radius: var(--radius-sm); border: 2px solid var(--warn); background: var(--warn-soft); }
.memo-box .pay-label { color: var(--warn); }
.pay-foot { padding: 1rem 1.5rem 1.4rem; display: grid; gap: .9rem; border-top: 1px solid var(--line); background: var(--surface-2); }
.note { display: flex; gap: .6rem; align-items: flex-start; }
.note > .icon { flex: none; margin-top: .2em; color: var(--ink-3); }
.pay-again { margin: 0 clamp(1.25rem, 3vw, 2rem) 1.5rem; }
.pay-again > .pay-body { padding: 0 0 1.25rem; }
.state-card { display: flex; gap: 1.1rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.state-card .state-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; flex: none; background: var(--surface-2); color: var(--ink-2); }
.state-card .state-icon .icon { width: 1.6rem; height: 1.6rem; }
.state-card.tone-ok .state-icon { background: var(--ok-soft); color: var(--ok); }
.state-card.tone-working .state-icon { background: var(--accent-soft); color: var(--accent-text); }
.state-card.tone-warn .state-icon { background: var(--warn-soft); color: var(--warn); }
.state-card.tone-error .state-icon { background: var(--err-soft); color: var(--err); }
.state-card h2 { font-size: 1.35rem; margin-bottom: .35rem; }
.state-card p + p { margin-top: .6rem; }
.pay > .pay-seen { border: 0; border-radius: 0; background: transparent; }
/* Pieces each store's payment layout arranges its own way (views/partials/pay/<design>.ejs). */
.spec { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; min-width: 0; }
.spec > li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: .75rem; align-items: start; min-width: 0; }
.spec > li > div { min-width: 0; }
.spec-k { font-family: var(--font-mono); font-size: .85rem; color: var(--ink-3); padding-top: .05rem; }
.pay-notes { display: grid; gap: 1rem; padding: 0 clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem); }
.countdown-at { font-size: .82rem; color: var(--ink-3); }
.qr-caption { display: inline-flex; gap: .4rem; align-items: center; }
.spin { animation: spin 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dl { display: grid; gap: .6rem; margin: 0; }
.dl > div { display: flex; justify-content: space-between; gap: 1.5rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); font-size: .925rem; }
.dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.dl dt { color: var(--ink-3); }
.dl dd { margin: 0; color: var(--ink); font-weight: 550; text-align: right; overflow-wrap: anywhere; }
.dev-bar { padding: 1rem 1.25rem; border: 1px dashed var(--warn); border-radius: var(--radius-sm); background: var(--warn-soft); display: grid; gap: .6rem; }
.dev-bar form { display: flex; gap: .4rem; flex-wrap: wrap; }
@media (max-width: 40rem) {
  .timeline { grid-template-columns: 1fr; gap: .25rem; }
  .timeline li { text-align: left; padding: .2rem 0 .2rem 2.4rem; }
  .timeline li::before { top: .1rem; left: 0; translate: 0 0; }
  .timeline li::after { top: 1.7rem; bottom: -.4rem; left: .78rem; right: auto; width: 2px; height: auto; }
  .copy-box { flex-direction: column; }
  .copy-btn { padding: .7rem 1rem; justify-content: center; }
}

/* ---------- product and preset pages ---------- */
.product-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 62rem) { .product-layout { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.product-plate-lg { aspect-ratio: 16 / 11; }
/* On a phone the name and the price come first; the picture and the spec table follow. */
@media (max-width: 61.99rem) {
  .product-info { order: -1; }
  .product-plate-lg { aspect-ratio: 16 / 7; }
}
@media (max-width: 40rem) { .product-plate, .preset-plate { aspect-ratio: 16 / 6; } }
.product-plate-lg .icon { width: 5rem; height: 5rem; }
.spec-table { margin: 1.25rem 0 0; display: grid; border-top: 1px solid var(--line); }
.spec-table div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.spec-table dt { color: var(--ink-3); }
.spec-table dd { margin: 0; color: var(--ink); }
.product-h1 { font-size: clamp(1.8rem, 1.2rem + 2.3vw, 2.7rem); }
.price-breakdown .grand { border-top: 1px dashed var(--line-strong); padding-top: .6rem; }
.qty-field { max-width: 8rem; }
.buy-notes { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .9rem; color: var(--ink-2); }
.buy-notes li { display: flex; gap: .55rem; align-items: flex-start; }
.buy-notes .icon { margin-top: .2rem; color: var(--accent-text); }
.preset-hero { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 62rem) { .preset-hero { grid-template-columns: 1.2fr .8fr; } }
.buy-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.kit-row { padding-top: .75rem; border-top: 1px solid var(--line); }
.preset-facts { list-style: none; padding: 0; margin: 0; }
.preset-facts li { display: flex; gap: .5rem; align-items: flex-start; }
.parts-table th[scope="row"] { color: var(--ink-3); font-weight: 500; }
.total-row th, .total-row td { color: var(--ink); font-weight: 650; }

/* ---------- guides ---------- */
.guide-byline { font-size: .875rem; color: var(--ink-3); }
.guide-body { display: grid; gap: 2rem; align-items: start; padding-bottom: 1rem; }
@media (min-width: 64rem) { .guide-body { grid-template-columns: 15rem minmax(0, 44rem); gap: 3.5rem; } .toc { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.toc { font-size: .9rem; }
.toc-title { font-weight: 650; color: var(--ink); margin-bottom: .6rem; }
.toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: .4rem; color: var(--ink-3); }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--accent-text); text-decoration: underline; }
.guide-answer { padding: 1rem 1.2rem; border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: var(--radius); color: var(--ink); margin-bottom: 1.75rem; font-size: 1.05rem; }
.guide-list-full a { padding-block: 1.3rem; }

/* ---------- prose, tables, footer ---------- */
.prose { max-width: 44rem; font-size: 1.07rem; line-height: 1.72; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.8rem); }
.prose h3 { margin-top: 1.9rem; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li + li { margin-top: .4rem; }
.prose li::marker { color: var(--accent-text); }
.prose blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.2rem; border-left: 3px solid var(--accent); color: var(--ink-3); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .55rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 650; }
.prose code { padding: .1rem .35rem; border-radius: 4px; background: var(--surface-2); border: 1px solid var(--line); }
.fingerprint code { font-size: 1rem; letter-spacing: .04em; word-spacing: .2em; overflow-wrap: anywhere; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .35rem .5rem; padding: 0; margin: 0 0 1.2rem; list-style: none; font-size: .875rem; color: var(--ink-3); }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.breadcrumbs a { color: var(--ink-3); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .925rem; }
.table th, .table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { color: var(--ink); font-weight: 650; background: var(--surface-2); font-size: .85rem; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table .right { text-align: right; }
.page-head { padding-block: clamp(2rem, 5vw, 3.25rem) 1rem; display: grid; gap: 1rem; }
.page-head .lede { margin-top: 0; }
.site-footer { margin-top: 3rem; border-top: 1px solid var(--line); padding-block: 3rem 2rem; font-size: .925rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); } }
.footer-h { font-size: .85rem; color: var(--ink); margin-bottom: .75rem; font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-stretch: normal; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--accent-text); text-decoration: underline; }
.footer-brand p { color: var(--ink-3); margin-top: .75rem; max-width: 22rem; }
.footer-note { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .84rem; display: grid; gap: .5rem; }
.footer-files { margin-left: .5rem; }
.footer-files a { margin-right: .6rem; color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .site-footer, .mobile-bar, .hero-art { display: none; } body { background: #fff; color: #000; } }

/* ---------- small utilities (the CSP forbids style attributes, so spacing lives here) ---------- */
.stack-sm > * + * { margin-top: .5rem; }
.stack-md > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.5rem; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.narrow { max-width: 40rem; } .narrow-md { max-width: 46rem; } .narrow-lg { max-width: 56rem; }
.flush { margin-top: 0; }
.right { text-align: right; }
.grow { flex: 1; min-width: 0; }
.h3 { font-size: 1.15rem; font-weight: var(--display-weight); color: var(--ink); font-family: var(--font-display); }
/* The page's icon symbols (lib/view.js iconDefs): present for <use>, never drawn themselves. */
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.js-only { display: none; }
.js .js-only { display: block; }
.js .coin-tools.js-only { display: grid; }
.js .picked.js-only:not([hidden]) { display: flex; }
.js .networks:not(.is-open) { display: none; }
.request-layout { align-items: start; }
.request-notes { display: grid; gap: 1rem; align-content: start; }
.notes-compact { grid-template-columns: 1fr; gap: 1.1rem; }
.steps-four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.compare-wrap { max-width: 56rem; }

/*
 * buypcwithcrypto.com: "depot". A computer shop that reads like a hardware depot: Archivo,
 * condensed and heavy for headlines, a black header and footer, signal yellow for the things
 * you act on, and prices set big, like tags on a shelf. Appended to public/css/app.css.
 */

@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url("/fonts/archivo-wdth-text-5.3.0.woff2") format("woff2-variations"); unicode-range: U+0020-007E, U+00A0, U+00A9, U+00AE, U+00B0, U+00C5, U+00C9, U+00D7, U+00E0-00E4, U+00E7-00EF, U+00F1-00F6, U+00F9-00FC, U+2018-201D, U+2022, U+2026, U+20AC, U+2122, U+2212; }

:root {
  --font-body: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --display-weight: 800;
  --display-tracking: -.01em;
  --display-transform: uppercase;
  --display-stretch: 72%;
  --display-leading: .98;
  --h1: clamp(2.6rem, 1.4rem + 4.6vw, 4.9rem);
  --h2: clamp(1.9rem, 1.3rem + 2vw, 2.9rem);
  --h3: 1.2rem;

  --bg: #f4f4f1; --surface: #ffffff; --surface-2: #e9e9e5; --sunken: #e0e0db;
  --line: #d6d6d0; --line-strong: #a9a9a1;
  --ink: #0d0d0d; --ink-2: #262626; --ink-3: #555555;
  --depot: #0d0d0d; --depot-ink: #f5f5f0; --depot-line: #2e2e2e;
  --radius: 4px; --radius-sm: 3px; --radius-lg: 6px; --radius-btn: 3px; --radius-chip: 3px;
  --header-h: 4.25rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0d0d; --surface: #161616; --surface-2: #1f1f1f; --sunken: #121212;
    --line: #2c2c2c; --line-strong: #4a4a4a;
    --ink: #f5f5f0; --ink-2: #d6d6d0; --ink-3: #a3a39b;
    --depot: #000000; --depot-line: #262626;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0d0d; --surface: #161616; --surface-2: #1f1f1f; --sunken: #121212;
  --line: #2c2c2c; --line-strong: #4a4a4a;
  --ink: #f5f5f0; --ink-2: #d6d6d0; --ink-3: #a3a39b;
  --depot: #000000; --depot-line: #262626;
}

body { font-stretch: 100%; }
h3, .product-name, .preset-name, .tp-name, .cat-label, .guide-title { font-stretch: 82%; letter-spacing: 0; }
h3 { text-transform: none; font-weight: 750; }

/* ---------- the tag: small black-on-yellow labels ---------- */
.eyebrow { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: .3rem .6rem; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-stretch: 85%; }
.price { font-weight: 800; font-stretch: 78%; letter-spacing: -.01em; }

/* ---------- header and footer: always black ---------- */
.site-header { background: var(--depot); border-bottom: 3px solid var(--accent); }
.site-header .brand { color: var(--depot-ink); text-transform: uppercase; font-weight: 850; font-stretch: 75%; font-size: 1.3rem; letter-spacing: .01em; }
.site-header .nav a { color: #d8d8d2; text-transform: uppercase; font-weight: 700; font-stretch: 80%; font-size: .95rem; letter-spacing: .03em; border-radius: 0; }
.site-header .nav a:hover { color: #fff; background: transparent; box-shadow: inset 0 -3px 0 var(--accent); }
.site-header .nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--accent); }
.site-header .icon-btn { color: #e8e8e2; border-color: #3a3a3a; }
.site-header .icon-btn:hover { background: #1f1f1f; color: #fff; }
.site-footer { background: var(--depot); border-top: 3px solid var(--accent); color: #c4c4bd; }
.site-footer .brand, .site-footer .footer-h { color: #fff; }
.site-footer .footer-h { text-transform: uppercase; font-weight: 800; font-stretch: 80%; letter-spacing: .05em; font-size: .9rem; }
.site-footer a { color: #d8d8d2; }
.site-footer a:hover { color: var(--accent); }
.footer-brand p, .footer-note, .footer-files a { color: #a8a8a0; }
.footer-note { border-top-color: var(--depot-line); }
.site-footer .brand span { text-transform: uppercase; font-weight: 850; font-stretch: 75%; font-size: 1.2rem; }

/* ---------- buttons ---------- */
.btn { text-transform: uppercase; font-weight: 800; font-stretch: 85%; letter-spacing: .03em; }
.btn:not(.btn-primary) { --b: var(--ink); border-width: 2px; background: transparent; }
.btn:not(.btn-primary):hover { background: var(--ink); color: var(--bg); }
.btn-primary { border-width: 2px; --b: var(--accent); }
.btn-primary:hover { background: var(--ink); color: var(--accent); --b: var(--ink); }
.btn-ghost { --b: transparent !important; }
.btn-ghost:hover { background: var(--surface-2) !important; color: var(--ink) !important; }
.link-arrow { text-transform: uppercase; font-stretch: 85%; font-weight: 800; letter-spacing: .03em; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: .25em; }

/* ---------- hero: headline and a board of tags ---------- */
.hero-depot { border-bottom: 1px solid var(--line); }
.hero-depot h1 { max-width: 17ch; font-size: clamp(2.5rem, 1.2rem + 3.9vw, 4.25rem); }
.hero-brands { margin-top: 1.75rem; font-size: .9rem; color: var(--ink-3); }
.hero-brands span { text-transform: uppercase; font-weight: 800; font-stretch: 80%; letter-spacing: .05em; color: var(--ink); margin-right: .3rem; }
.deal-board { display: grid; gap: .75rem; }
.deal { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "cat price" "name price" "specs price"; gap: .15rem 1.25rem; align-items: center; padding: 0 0 0 1.2rem; background: var(--surface); border: 2px solid var(--ink); border-left-width: 10px; border-left-color: var(--accent); text-decoration: none; color: inherit; }
.deal:hover { text-decoration: none; border-color: var(--ink); background: var(--surface-2); }
.deal-cat { grid-area: cat; padding-top: 1rem; font-size: .76rem; text-transform: uppercase; font-weight: 800; font-stretch: 80%; letter-spacing: .06em; color: var(--ink-3); }
.deal-name { grid-area: name; font-weight: 800; font-stretch: 82%; font-size: 1.2rem; color: var(--ink); line-height: 1.15; }
.deal-specs { grid-area: specs; font-size: .85rem; color: var(--ink-3); padding-bottom: 1rem; }
.deal-price { grid-area: price; align-self: stretch; display: grid; place-items: center; padding: 0 1.1rem; background: var(--ink); color: var(--accent); font-weight: 850; font-stretch: 75%; font-size: 1.7rem; font-variant-numeric: tabular-nums; }

/* ---------- categories: department tiles ---------- */
.cat-group-title { text-transform: uppercase; font-stretch: 75%; font-weight: 850; font-size: 1.5rem; color: var(--ink); border-bottom: 3px solid var(--ink); padding-bottom: .4rem; }
.cat { border: 2px solid var(--ink); border-radius: var(--radius); }
.cat:hover { background: var(--accent); border-color: var(--ink); }
.cat:hover .cat-blurb, .cat:hover .cat-meta { color: #2b2b2b; }
.cat:hover .cat-label, .cat:hover .cat-icon { color: #0d0d0d; }
.cat-icon { color: var(--ink); }
.cat-label { text-transform: uppercase; font-weight: 800; font-size: 1.15rem; }
.cat-meta { font-weight: 700; color: var(--ink-2); }

/* ---------- product cards: shelf tags ---------- */
.product-card { border: 2px solid var(--line); padding: 0; gap: 0; }
.product-card:hover { border-color: var(--ink); }
.product-plate { border-radius: 0; aspect-ratio: 16 / 9; background: var(--surface-2); color: var(--ink); border-bottom: 2px solid var(--line); }
.product-card:hover .product-plate { border-bottom-color: var(--ink); }
.product-plate .icon { width: 3.2rem; height: 3.2rem; }
.product-body { padding: .9rem 1rem 0; }
.product-brand { text-transform: uppercase; font-weight: 800; font-stretch: 80%; letter-spacing: .06em; font-size: .75rem; }
.product-name { font-weight: 800; font-size: 1.15rem; line-height: 1.15; }
.product-sum { display: none; }
.product-facts { margin-top: .5rem; gap: .2rem; }
.product-facts li { padding-left: .7rem; position: relative; }
.product-facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: .35rem; height: .35rem; background: var(--accent); }
.product-facts .k { display: none; }
.product-foot { padding: .75rem 1rem; border-top: 0; margin-top: auto; }
.product-foot .price { font-size: 1.65rem; }
.product-cta { color: var(--ink); text-transform: uppercase; font-weight: 800; font-stretch: 85%; }
.products-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }

/* ---------- builder teaser: a black panel ---------- */
.teaser { background: var(--depot); border: 0; color: #d8d8d2; border-radius: var(--radius-lg); }
.teaser h2 { color: #fff; }
.teaser p { color: #b9b9b2; }
.teaser .btn:not(.btn-primary) { --b: #f5f5f0; color: #f5f5f0; }
.teaser .btn:not(.btn-primary):hover { background: #f5f5f0; color: #0d0d0d; }
.teaser .btn-primary:hover { background: #f5f5f0; color: #0d0d0d; --b: #f5f5f0; }
.teaser-steps { counter-reset: tstep; gap: .2rem; }
.teaser-steps li { counter-increment: tstep; color: #e4e4de; padding: .5rem 0; border-bottom: 1px solid #2c2c2c; text-transform: uppercase; font-weight: 700; font-stretch: 82%; letter-spacing: .03em; }
.teaser-steps li .icon { color: var(--accent); }
.teaser-presets a { border: 2px solid var(--line); }
.teaser-presets a:hover { border-color: var(--ink); text-decoration: none; }
.tp-price { font-weight: 850; font-stretch: 78%; font-size: 1.25rem; }

/* ---------- pricing, steps, faq, guides ---------- */
.pricing-rows { border-top: 3px solid var(--ink); }
.pricing-rows dt { text-transform: uppercase; font-stretch: 80%; font-weight: 800; letter-spacing: .03em; font-size: 1.05rem; }
.pricing-example { border: 2px solid var(--ink); }
.pricing-example .total dd { font-weight: 850; font-stretch: 78%; font-size: 1.2rem; }
.steps { counter-reset: dstep; }
.step { counter-increment: dstep; border: 2px solid var(--ink); position: relative; padding-top: 1.4rem; }
.step::before { content: counter(dstep); position: absolute; top: -2px; right: -2px; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; background: var(--accent); color: #0d0d0d; font-weight: 850; font-stretch: 75%; font-size: 1.5rem; }
.step-icon { color: var(--ink); }
.faq details { border: 2px solid var(--line); }
.faq details[open] { border-color: var(--ink); }
.faq summary { font-weight: 750; font-stretch: 90%; }
.guide-list { border-top: 3px solid var(--ink); }
.guide-title { text-transform: none; font-weight: 800; }
.closing { border: 2px solid var(--ink); background: var(--accent); }
.closing h2 { color: #0d0d0d; }
.closing p { color: #2b2b2b; }
.closing .btn-primary { background: #0d0d0d; color: var(--accent); --b: #0d0d0d; }
.closing .btn-primary:hover { background: #fff; color: #0d0d0d; --b: #fff; }
.aside-links { border-left: 6px solid var(--accent); background: var(--surface); }

/* ---------- shop page ---------- */
.shop-group-title { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); border-bottom: 3px solid var(--ink); padding-bottom: .5rem; margin-bottom: 1.5rem; }
.shop-cat + .shop-cat { margin-top: 2.25rem; }
.shop-cat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .85rem; }
.shop-cat-title { font-size: 1.35rem; text-transform: uppercase; font-stretch: 78%; font-weight: 850; }
.shop-cat-title a { color: var(--ink); text-decoration: none; }
.chip-link { border-width: 2px; font-weight: 700; text-transform: uppercase; font-stretch: 85%; font-size: .82rem; letter-spacing: .02em; }
.chip-link[aria-current="page"] { background: var(--accent); border-color: var(--ink); color: #0d0d0d; }

/* ---------- product page ---------- */
.product-plate-lg { border: 2px solid var(--ink); background: var(--surface-2); color: var(--ink); }
.product-h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }
.buy-panel { border: 2px solid var(--ink); }
.price-breakdown .grand .big-price { font-weight: 850; font-stretch: 75%; font-size: 2.4rem; }
.spec-table { border-top: 3px solid var(--ink); }
.spec-table dt { text-transform: uppercase; font-weight: 700; font-stretch: 85%; font-size: .82rem; letter-spacing: .03em; padding-top: .1rem; }

/* ---------- builder and checkout ---------- */
.bstep { border: 2px solid var(--line); }
.bstep-head { background: var(--surface); }
.bstep-icon { background: var(--accent); color: #0d0d0d; }
.bstep-num { color: var(--ink-3); }
.option { border-width: 2px; }
.option.is-selected { border-color: var(--ink); background: var(--surface); box-shadow: inset 6px 0 0 var(--accent); }
.option-tick { background: var(--ink); color: var(--accent); border-radius: 2px; }
.preset-chip { border-width: 2px; font-weight: 700; }
.preset-chip[aria-pressed="true"] { border-color: var(--ink); }
.summary { border: 2px solid var(--ink); }
.panel { border-width: 2px; }
.panel > h2 .num { background: var(--ink); color: var(--accent); border-radius: 2px; }
.pay { border: 2px solid var(--ink); }
.timeline li.done::before { color: #0d0d0d; }
.presets-grid .preset-card { border: 2px solid var(--line); }
.presets-grid .preset-card:hover { border-color: var(--ink); }
.preset-plate { background: var(--surface-2); color: var(--ink); }
.preset-name { font-weight: 800; font-size: 1.25rem; }
.preset-foot .price { font-size: 1.5rem; }

/* Payment page: a ticket. A black band with the minutes left in yellow, the QR code first, and the
 * amount set big like a shelf price. */
.ticket-band { background: var(--depot); color: var(--depot-ink); border-bottom: 0; }
.ticket-band .live, .ticket-band .live .icon { color: var(--depot-ink); }
.ticket-band .live-check { color: color-mix(in oklab, var(--depot-ink) 72%, transparent); }
.ticket-band .countdown { color: var(--depot-ink); text-transform: uppercase; font-weight: 700; letter-spacing: .05em; font-size: .78rem; }
.ticket-band .countdown strong { font-family: var(--font-display); font-stretch: 72%; font-size: 1.9rem; font-weight: 800; letter-spacing: 0; color: var(--accent); }
.ticket-band .countdown.is-low strong { color: #ff7a6b; }
.pay-depot .meter { height: 6px; background: var(--depot-line); }
@media (min-width: 52rem) { .pay-body.ticket { grid-template-columns: 15rem minmax(0, 1fr); } }
.ticket-main { display: grid; gap: .6rem; min-width: 0; align-content: start; }
.ticket-k { margin: .6rem 0 0; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.ticket-k:first-child { margin-top: 0; }
.pay-depot .amount { font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); letter-spacing: 0; }
.ticket-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin: 0; font-size: .9rem; color: var(--ink-2); }
.pay-depot .pay-warning { background: var(--depot); color: var(--depot-ink); }
.pay-depot .pay-warning .icon, .pay-depot .pay-warning strong { color: var(--accent); }
/* Checkout: big coin tiles, the popular ones first. */
.coin-grid-tiles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 8.5rem), 1fr)); max-height: none; }
.coin-grid-tiles .coin-option { flex-direction: column; text-align: center; padding: 1rem .6rem; border-width: 2px; }
.coin-grid-tiles .coin-option img { width: 40px; height: 40px; }
.coin-grid-tiles .coin-option .t b { font-size: 1.05rem; font-weight: 800; }
