/* Rabbit Hole Mining
   Palette: celadon paper, deep green ink, signal red.
   Type: Archivo, condensed for names and numbers that lead, normal width for reading. */

:root {
  --paper: #E3E8DF;
  --plate: #F4F6F1;
  --ink: #16201B;
  --ink-2: #22302A;
  --moss: #4E5C54;
  --rule: #B5C0B6;
  --red: #C62A1F;
  --red-deep: #9C1F16;
  --gain: #1F6B45;
  --gain-wash: #DCEBDF;
  --loss-wash: #F3DEDA;
  --incoming: #9A5F0E;
  --on-ink: #EEF2EC;
  --on-ink-muted: #A9B6AD;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 8px;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --condensed: 68%;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: 2.625rem;
  --step-4: clamp(3rem, 6.6vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: var(--step-0); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
table { border-collapse: collapse; }
:focus-visible { outline: 2.5px solid var(--red); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--gutter); top: -60px; z-index: 50; background: var(--ink); color: var(--plate); padding: 10px 14px; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border: 1.5px solid var(--ink); border-radius: 4px; background: transparent; color: var(--ink);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.btn:hover { background: var(--ink); color: var(--plate); }
.btn--primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.btn--large { min-height: 52px; padding: 12px 26px; font-size: var(--step-0); }
.btn--small { min-height: 36px; padding: 6px 12px; font-size: var(--step--1); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--rule); }
.text-link:hover { text-decoration-color: var(--red); }
.link-button { border: 0; background: none; padding: 0; cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; text-decoration-color: var(--rule); }
.link-button:hover { text-decoration-color: var(--red); }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.site-header__inner { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; }
.brand__name { font-stretch: var(--condensed); font-weight: 800; font-size: 1.5rem; letter-spacing: .005em; line-height: 1; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { text-decoration: none; font-weight: 500; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.quote-button__count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--red); color: #fff; font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.quote-button__count[data-empty] { background: var(--rule); color: var(--ink); }
.quote-button.is-bumped .quote-button__count { animation: bump 380ms ease; }
@keyframes bump { 40% { transform: scale(1.3); } }

/* ---------- Power price control (used in hero, toolbar and detail sheet) ---------- */

.rate-control { display: grid; gap: 6px; }
.rate-control__label { font-size: var(--step--1); font-weight: 600; color: var(--moss); }
.rate-control__field { display: inline-flex; align-items: center; height: 40px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--plate); width: max-content; }
.rate-control__field button { width: 36px; height: 100%; border: 0; background: transparent; cursor: pointer; font-size: 1.125rem; font-weight: 600; }
.rate-control__field button:hover { background: var(--ink); color: var(--plate); }
.rate-control__money { display: inline-flex; align-items: center; height: 100%; padding-inline: 8px 10px; border-inline: 1px solid var(--rule); font-weight: 650; font-variant-numeric: tabular-nums; }
.rate-control__money input { width: 58px; border: 0; background: transparent; font-weight: 650; font-variant-numeric: tabular-nums; -moz-appearance: textfield; padding: 0; }
.rate-control__money input::-webkit-inner-spin-button, .rate-control__money input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.rate-control__money input:focus { outline: none; }
.rate-control__money:focus-within { outline: 2.5px solid var(--red); outline-offset: 2px; }
.rate-control__row { display: flex; align-items: center; gap: 10px; }
.rate-control__unit { font-size: var(--step--1); color: var(--moss); }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero__title { font-stretch: var(--condensed); font-weight: 850; font-size: var(--step-4); line-height: .9; letter-spacing: -.012em; max-width: 14ch; text-wrap: balance; }
.hero__lede { margin-top: 26px; max-width: 52ch; font-size: var(--step-1); line-height: 1.5; color: var(--moss); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }

.market { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.market__coin { display: inline-flex; gap: 8px; align-items: baseline; }
.market__tag { font-weight: 700; }
.market__price { color: var(--moss); }
.market__change { font-size: .8125rem; font-weight: 600; }
.market__asof { flex-basis: 100%; font-size: var(--step--1); color: var(--moss); }
.market__live { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--gain); }
.market__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gain); box-shadow: 0 0 0 3px var(--gain-wash); }

/* The top-earners board: the page's one dark, bold element */
.earners { background: var(--ink); color: var(--on-ink); border-radius: 12px; padding: 22px 24px 18px; box-shadow: 0 24px 48px -28px rgba(22, 32, 27, .55); }
.earners__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(238, 242, 236, .16); }
.earners__title { font-stretch: var(--condensed); font-weight: 850; font-size: 2rem; line-height: 1; }
.earners__sub { margin-top: 6px; font-size: var(--step--1); color: var(--on-ink-muted); }
.earners .rate-control__label { color: var(--on-ink-muted); }
.earners .rate-control__field { background: var(--ink-2); border-color: rgba(238, 242, 236, .4); }
.earners .rate-control__field button:hover { background: var(--on-ink); color: var(--ink); }
.earners .rate-control__money { border-color: rgba(238, 242, 236, .22); }
.earners .rate-control__unit { color: var(--on-ink-muted); }

.earners__list li + li { border-top: 1px solid rgba(238, 242, 236, .1); }
.earners__row { display: grid; grid-template-columns: 22px 1fr auto; gap: 2px 12px; align-items: baseline; padding: 13px 0 14px; text-decoration: none; }
.earners__row:hover .earners__model { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.earners__rank { font-variant-numeric: tabular-nums; color: var(--on-ink-muted); font-size: var(--step--1); }
.earners__model { font-stretch: var(--condensed); font-weight: 800; font-size: 1.45rem; line-height: 1.05; }
.earners__model span { font-stretch: 100%; font-weight: 500; font-size: var(--step--1); color: var(--on-ink-muted); margin-left: 6px; }
.earners__value { font-weight: 750; font-size: 1.15rem; font-variant-numeric: tabular-nums; text-align: right; }
.earners__value small { font-weight: 500; font-size: var(--step--1); color: var(--on-ink-muted); }
.earners__value--loss { color: #FF9C90; }
.earners__meta { grid-column: 2; font-size: var(--step--1); color: var(--on-ink-muted); font-variant-numeric: tabular-nums; }
.earners__bar { grid-column: 2 / -1; height: 5px; margin-top: 8px; border-radius: 3px; background: rgba(238, 242, 236, .1); overflow: hidden; }
.earners__bar span { display: block; height: 100%; border-radius: 3px; background: var(--on-ink); transform-origin: left; transition: width 260ms ease; }
.earners__list li:first-child .earners__bar span { background: var(--red); }
.earners__note { margin-top: 12px; font-size: .8125rem; line-height: 1.45; color: var(--on-ink-muted); }
.earners__note a { color: var(--on-ink); }

/* Coin tiles: jump into a filtered catalogue */
.coin-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); border-top: 2px solid var(--ink); }
.coin-strip li + li { border-left: 1px solid var(--rule); }
.coin-strip button { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; width: 100%; height: 100%; padding: 20px 24px 22px; text-align: left; border: 0; background: transparent; cursor: pointer; }
.coin-strip li:first-child button { padding-left: 0; }
.coin-strip button:hover .coin-strip__name { color: var(--red); }
.coin-strip__name { font-stretch: var(--condensed); font-weight: 850; font-size: 2.25rem; line-height: 1; }
.coin-strip__algo { font-size: var(--step--1); font-weight: 600; color: var(--moss); }
.coin-strip__meta { grid-column: 1 / -1; color: var(--moss); font-variant-numeric: tabular-nums; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 8vw, 104px); }
.section__head { display: grid; gap: 10px; margin-bottom: 32px; max-width: 72ch; }
.section__title { font-stretch: var(--condensed); font-weight: 850; font-size: var(--step-3); line-height: 1; letter-spacing: -.005em; }
.section__intro { color: var(--moss); }
.catalogue { background: var(--plate); border-block: 1px solid var(--rule); }

/* ---------- Toolbar ---------- */

.toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 26px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.toolbar__label { display: block; padding: 0; margin-bottom: 6px; font-size: var(--step--1); font-weight: 600; color: var(--moss); }
.toolbar .rate-control { margin-left: auto; }
.segmented { border: 0; margin: 0; padding: 0; min-width: 0; }
.segmented__options { display: flex; flex-wrap: wrap; }
.segmented__options label { position: relative; }
.segmented__options input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented__options span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1.5px solid var(--ink); margin-left: -1.5px; font-weight: 600; font-size: .95rem; white-space: nowrap; cursor: pointer; }
.segmented__options label:first-child span { margin-left: 0; border-radius: 4px 0 0 4px; }
.segmented__options label:last-child span { border-radius: 0 4px 4px 0; }
.segmented__options input:checked + span { background: var(--ink); color: var(--plate); }
.segmented__options input:hover:not(:checked) + span { background: var(--paper); }
.segmented__options input:focus-visible + span { outline: 2.5px solid var(--red); outline-offset: 2px; position: relative; z-index: 1; }
.select select {
  min-height: 40px; padding: 6px 36px 6px 12px; border: 1.5px solid var(--ink); border-radius: 4px; background-color: var(--plate);
  font-weight: 600; font-size: .95rem; appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
.results-count { margin: 18px 0 20px; color: var(--moss); font-size: var(--step--1); }

/* ---------- Product cards ---------- */

.plates { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.plate { display: flex; flex-direction: column; background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; }

.plate__figure { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--plate); border-bottom: 1.5px solid var(--ink); text-decoration: none; }
.plate__figure img { width: 92%; height: 100%; object-fit: contain; transition: transform 220ms ease; }
.plate__figure:hover img { transform: scale(1.03); }
.plate__figure .avail { position: absolute; top: 12px; left: 12px; padding: 4px 10px 4px 9px; border-radius: 999px; background: var(--plate); border: 1px solid var(--rule); font-size: .8125rem; }

.plate__head { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; align-items: start; padding: 16px 20px 0; }
.plate__brand { font-weight: 600; color: var(--moss); font-size: .95rem; }
.plate__model { grid-column: 1; font-stretch: var(--condensed); font-weight: 850; font-size: 2.6rem; line-height: .95; letter-spacing: -.01em; }
.plate__model a { text-decoration: none; }
.plate__model a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.plate__coins { grid-column: 2; grid-row: 1 / span 2; text-align: right; }

.coin-tag { display: inline-grid; justify-items: end; font-size: var(--step--1); line-height: 1.25; }
.coin-tag strong { font-weight: 700; }
.coin-tag span { color: var(--moss); }

.options { border: 0; margin: 0; padding: 14px 20px 0; min-width: 0; }
.options legend { padding: 0; margin-bottom: 6px; font-size: var(--step--1); font-weight: 600; color: var(--moss); }
.options__list { display: flex; flex-wrap: wrap; gap: 6px; }
.options label { position: relative; }
.options input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.options span { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 10px; border: 1px solid var(--rule); border-radius: 4px; background: var(--plate); font-size: var(--step--1); font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; }
.options input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--paper); }
.options input:focus-visible + span { outline: 2.5px solid var(--red); outline-offset: 2px; }

.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 14px 20px 0; border: 1px solid var(--rule); border-radius: 4px; }
.specs > div { padding: 9px 12px; }
.specs > div + div { border-left: 1px solid var(--rule); }
.specs dt { font-size: .8125rem; color: var(--moss); }
.specs dd { font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.3; }

.earn { margin: 12px 20px 0; padding: 12px 14px; border-radius: 4px; background: var(--gain-wash); }
.earn--loss { background: var(--loss-wash); }
.earn--none { background: var(--plate); border: 1px dashed var(--rule); }
.earn__main { font-weight: 750; font-size: 1.15rem; line-height: 1.25; color: var(--gain); font-variant-numeric: tabular-nums; }
.earn--loss .earn__main { color: var(--red-deep); }
.earn--none .earn__main { color: var(--moss); font-weight: 600; font-size: 1rem; }
.earn__sub { margin-top: 2px; font-size: .8125rem; color: var(--moss); font-variant-numeric: tabular-nums; }

.plate__buy { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: end; padding: 16px 20px 20px; margin-top: auto; }
.price { font-stretch: var(--condensed); font-weight: 850; font-size: 2.25rem; line-height: 1; font-variant-numeric: tabular-nums; }
.unit-price { color: var(--moss); font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.plate__flags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.plate__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; margin-top: 12px; }
.plate__actions .btn { flex: 1; }
.plate__when { grid-column: 2; grid-row: 1 / span 2; text-align: right; align-self: center; font-size: var(--step--1); color: var(--moss); }

.avail { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.avail::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.avail--stock { color: var(--gain); }
.avail--stock::before { background: var(--gain); }
.avail--incoming { color: var(--incoming); }
.avail--incoming::before { border: 2px solid var(--incoming); width: 10px; height: 10px; }

.flag { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: .8125rem; font-weight: 600; line-height: 1.5; background: color-mix(in srgb, var(--incoming) 12%, transparent); color: #6F430A; }
.flag--warn { background: color-mix(in srgb, var(--red) 11%, transparent); color: var(--red-deep); }

.gain { color: var(--gain); }
.loss { color: var(--red-deep); }

/* ---------- Price list table ---------- */

.table-scroll { overflow-x: auto; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--paper); }
.pricelist { width: 100%; min-width: 980px; font-variant-numeric: tabular-nums; }
.pricelist th, .pricelist td { padding: 12px 14px; text-align: left; vertical-align: middle; }
.pricelist thead th { font-size: var(--step--1); font-weight: 600; color: var(--moss); border-bottom: 1.5px solid var(--ink); white-space: nowrap; }
.pricelist tbody tr + tr td, .pricelist tbody tr + tr th { border-top: 1px solid var(--rule); }
.pricelist .model-cell { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.pricelist .model-cell img { width: 56px; height: 40px; object-fit: contain; flex: none; }
.pricelist .model-cell a { font-stretch: var(--condensed); font-weight: 800; font-size: 1.25rem; text-decoration: none; line-height: 1.1; }
.pricelist .model-cell a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pricelist .model-cell small { display: block; color: var(--moss); font-size: .8125rem; font-weight: 500; }
.pricelist .r { text-align: right; }
.pricelist .price-cell { font-weight: 750; font-size: 1.125rem; }
.pricelist .earn-cell { font-weight: 700; }
.pricelist .flags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }

.empty { padding: 48px 0; }
.empty p + p { margin-top: 12px; }

/* ---------- Buying steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; border-top: 2px solid var(--ink); }
.step { padding: 24px 28px 8px 0; counter-increment: step; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--rule); }
.step::before { content: counter(step); display: block; margin-bottom: 14px; font-stretch: var(--condensed); font-weight: 850; font-size: 3.5rem; line-height: 1; color: var(--red); }
.step__title { font-size: var(--step-1); font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
.step p { color: var(--moss); max-width: 40ch; }

/* ---------- FAQ ---------- */

.faq { background: var(--plate); border-block: 1px solid var(--rule); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; }
.faq__list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-size: var(--step-1); font-weight: 650; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform 160ms ease; }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { padding: 0 0 22px; max-width: 66ch; color: var(--moss); }

/* ---------- Contact ---------- */

.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.contact__list { border-top: 2px solid var(--ink); }
.contact__list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.contact__list span { color: var(--moss); font-weight: 600; }
.contact__list a { font-stretch: var(--condensed); font-weight: 800; font-size: var(--step-2); line-height: 1.1; text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--red); }

.site-footer { padding-block: 32px 40px; border-top: 1px solid var(--rule); font-size: var(--step--1); color: var(--moss); }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 8px 32px; }

/* ---------- Sheets ---------- */

.sheet { margin: 0 0 0 auto; padding: 0; border: 0; width: min(760px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; background: var(--paper); color: var(--ink); border-left: 1.5px solid var(--ink); }
.sheet[open] { animation: slide-in 220ms cubic-bezier(.2, .8, .3, 1); }
.sheet::backdrop { background: rgba(22, 32, 27, .5); }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
.sheet__inner { padding: 24px clamp(20px, 4vw, 40px) 48px; }
.sheet__head { position: sticky; top: -24px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: -24px calc(-1 * clamp(20px, 4vw, 40px)) 24px; padding: 20px clamp(20px, 4vw, 40px) 16px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.sheet__title { font-stretch: var(--condensed); font-weight: 850; font-size: var(--step-2); line-height: 1; }
.sheet__crumb { color: var(--moss); font-weight: 600; }
.sheet__hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.sheet__figure { background: var(--plate); border: 1.5px solid var(--ink); border-radius: var(--radius); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.sheet__figure img { width: 92%; height: 92%; object-fit: contain; }
.sheet__figure figcaption { display: none; }
.sheet__model { font-stretch: var(--condensed); font-weight: 850; font-size: clamp(2.75rem, 6vw, 4rem); line-height: .92; letter-spacing: -.01em; }
.sheet__blurb { margin-top: 14px; max-width: 60ch; font-size: var(--step-0); line-height: 1.5; color: var(--moss); }
.sheet section { margin-top: 36px; }
.sheet h3 { font-size: var(--step-1); font-weight: 700; margin-bottom: 12px; }
.sheet .rate-control { margin-bottom: 14px; }

.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.spec-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.spec-list > div:nth-child(odd) { padding-right: 16px; }
.spec-list > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
.spec-list dt { color: var(--moss); }
.spec-list dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

.lot-table { width: 100%; font-variant-numeric: tabular-nums; font-size: .95rem; }
.lot-table th, .lot-table td { padding: 10px 8px; text-align: left; vertical-align: middle; }
.lot-table thead th { font-size: .8125rem; color: var(--moss); font-weight: 600; border-bottom: 1.5px solid var(--ink); white-space: nowrap; }
.lot-table tbody tr + tr td { border-top: 1px solid var(--rule); }
.lot-table .r { text-align: right; }
.lot-table .flags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.lot-table__price { font-weight: 750; font-size: 1.0625rem; }
.lot-table-scroll { overflow-x: auto; }
.notes { display: grid; gap: 8px; color: var(--moss); max-width: 64ch; }
.fine { font-size: var(--step--1); color: var(--moss); max-width: 66ch; }

/* Quote */
.quote-items { border-top: 1.5px solid var(--ink); }
.quote-item { display: grid; grid-template-columns: 1fr auto auto; gap: 8px 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.quote-item__name { font-weight: 700; }
.quote-item__meta { color: var(--moss); font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.quote-item__total { font-weight: 750; font-variant-numeric: tabular-nums; text-align: right; min-width: 90px; }
.quote-item__remove { grid-column: 1; justify-self: start; font-size: var(--step--1); color: var(--moss); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 4px; }
.stepper button { width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; font-size: 1.125rem; font-weight: 600; }
.stepper button:hover:not([disabled]) { background: var(--ink); color: var(--plate); }
.stepper button[disabled] { opacity: .35; cursor: not-allowed; }
.stepper input { width: 48px; height: 36px; border: 0; border-inline: 1px solid var(--rule); text-align: center; background: var(--plate); font-weight: 650; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0 8px; }
.quote-total strong { font-stretch: var(--condensed); font-weight: 850; font-size: var(--step-3); line-height: 1; font-variant-numeric: tabular-nums; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.quote-form h3 { grid-column: 1 / -1; margin: 0; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--step--1); font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--plate); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:user-invalid { border-color: var(--red); }
.check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }
.quote-form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.quote-form__status { grid-column: 1 / -1; }
.quote-form__status:empty { display: none; }
.quote-form__copy { grid-column: 1 / -1; width: 100%; min-height: 200px; padding: 12px; font-size: var(--step--1); border: 1px solid var(--rule); border-radius: 4px; background: var(--plate); }
.sent { padding: 28px 0; }
.sent p + p { margin-top: 10px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; max-width: calc(100vw - 32px); padding: 12px 14px 12px 18px; background: var(--ink); color: var(--plate); border-radius: 6px; box-shadow: 0 10px 30px rgba(22, 32, 27, .28); }
.toast[hidden] { display: none; }
.toast .btn { border-color: var(--plate); color: var(--plate); min-height: 36px; padding: 6px 12px; font-size: var(--step--1); }
.toast .btn:hover { background: var(--plate); color: var(--ink); }

/* Chat shortcut (shown only when WhatsApp or Telegram is configured) */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--plate); font-weight: 650; text-decoration: none; box-shadow: 0 12px 28px -10px rgba(22, 32, 27, .6); }
.chat-fab:hover { background: var(--red); }
.chat-fab[hidden] { display: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; }
  .earners { max-width: 640px; }
  .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .toolbar .rate-control { margin-left: 0; }
}
@media (max-width: 760px) {
  .site-nav { display: none; }
  .quote-button { margin-left: auto; }
  .hero__lede { font-size: var(--step-0); }
  .coin-strip { grid-template-columns: 1fr; }
  .coin-strip li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .coin-strip button, .coin-strip li:first-child button { padding: 16px 0; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 22px 0 18px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--rule); }
  .quote-form { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .sheet__hero { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .spec-list > div:nth-child(n) { padding-inline: 0; border-left: 0; }
  .earners { padding: 18px 18px 14px; }
}
@media (max-width: 420px) {
  .brand__name { font-size: 1.25rem; }
  .specs { grid-template-columns: 1fr 1fr; }
  .specs > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--rule); }
  .quote-item { grid-template-columns: 1fr auto; }
  .quote-item__total { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
