/* ==========================================================================
   vendo — components & storefront layout (built on tokens.css)
   ========================================================================== */

/* ---- base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--menubar-h) + 16px); }
html.lock { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-md);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--vend); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.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; }
.mono { font-family: var(--f-mono); }
.eyebrow { font-size: var(--t-xs); font-weight: 500; color: var(--ink-3); }

.kbd {
  display: inline-flex; align-items: center; justify-content: center; gap: 2px;
  min-width: 22px; height: 22px; padding: 0 6px;
  font-family: var(--f-mono); font-size: var(--t-2xs); color: var(--ink-2);
  background: var(--card); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px;
}

/* ---- menubar (desktop OS feel) -------------------------------------------- */
.menubar {
  position: sticky; top: 0; z-index: 40;
  height: var(--menubar-h);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.menubar__in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-4); }
.menubar__left, .menubar__right { display: flex; align-items: center; gap: var(--s-1); min-width: 0; }
.menubar__right { justify-content: flex-end; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: -0.05em; margin-right: var(--s-3); }
.brand__icon { width: 26px; height: 26px; flex: none; }
.brand { color: var(--ink); }
.wm { font-family: var(--f-display); font-weight: 800; font-stretch: 110%; letter-spacing: -0.055em; line-height: 1; font-size: 21px; }
.wm i, .dot { font-style: normal; color: var(--coin); }
.brand__icon { color: var(--ink); }
.brand--lg .brand__icon { width: 34px; height: 34px; }
.brand--lg .wm { font-size: 28px; }
.menubar__link { font-size: var(--t-sm); color: var(--ink-2); text-decoration: none; padding: 5px 9px; border-radius: 7px; }
.menubar__link:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.menubar .brand__icon { display: none; }  /* vee sits in the centre of the menu bar */
.menubar__mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; }
.menubar__mark { color: var(--ink); }
.menubar__mark svg { width: 26px; height: 26px; transition: transform var(--d-mid) var(--spring); }
.menubar__mark:hover svg { transform: rotate(-8deg) scale(1.06); }
.menubar__mark:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.mb-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 9px;
  border: 0; background: transparent; border-radius: 8px; font-size: var(--t-sm); color: var(--ink-2);
}
.mb-btn:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); }
.mb-btn svg { width: 16px; height: 16px; }
.mb-status { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-xs); color: var(--ink-2); padding: 0 8px; white-space: nowrap; }
.mb-clock { font-size: var(--t-sm); color: var(--ink-2); padding: 0 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); flex: none; }
.cart-btn { margin-left: var(--s-1); }
.cart-btn .count { font-family: var(--f-mono); font-size: var(--t-xs); min-width: 18px; height: 18px; display: inline-grid; place-items: center; border-radius: 99px; background: rgba(255,255,255,.22); padding: 0 5px; }

/* ---- buttons ---------------------------------------------------------------- */
.btn {
  --h: 40px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 calc(var(--h) * .42);
  border-radius: var(--r-pill); border: 1px solid transparent;
  font-size: var(--t-sm); font-weight: 600; letter-spacing: -0.005em; line-height: 1;
  text-decoration: none; white-space: nowrap; user-select: none;
  transition: transform var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease), background var(--d-fast) var(--ease), filter var(--d-fast);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--sm { --h: 32px; font-size: var(--t-xs); }
.btn--lg { --h: 48px; font-size: var(--t-md); }
.btn--block { width: 100%; }

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--vend-hi) 0%, var(--vend) 52%, var(--vend-lo) 100%);
  border-color: var(--vend-lo);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 1px 2px color-mix(in srgb, var(--vend-lo) 50%, transparent), 0 8px 18px -8px color-mix(in srgb, var(--vend) 75%, transparent);
  text-shadow: 0 -1px 0 rgba(0,0,0,.15);
}
.btn--primary:hover { filter: brightness(1.06) saturate(1.05); }

.btn--ghost {
  color: var(--ink);
  background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
  border-color: var(--line-2);
  box-shadow: var(--gloss), var(--sh-1);
}
.btn--ghost:hover { border-color: color-mix(in srgb, var(--ink) 30%, var(--line-2)); }

.btn--dark {
  color: var(--paper);
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 82%, var(--paper)) 0%, var(--ink) 60%);
  border-color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), var(--sh-1);
}
.btn--dark:hover { filter: brightness(1.15); }

.btn--added {
  color: var(--ok);
  background: var(--ok-wash);
  border-color: color-mix(in srgb, var(--ok) 35%, transparent);
  box-shadow: none;
}

.icon-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2);
  box-shadow: var(--gloss), var(--sh-1);
}
.icon-btn:hover { color: var(--ink); }
.icon-btn svg { width: 16px; height: 16px; }

/* ---- chips ------------------------------------------------------------------ */
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px;
  border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--card);
  font-size: var(--t-sm); color: var(--ink-2); white-space: nowrap;
  box-shadow: var(--gloss);
  transition: background var(--d-fast), color var(--d-fast), border-color var(--d-fast);
}
.chip:hover { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 25%, var(--line-2)); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: none; }
.chip .dot { width: 8px; height: 8px; border-radius: 3px; background: var(--c, var(--ink-3)); flex: none; }
.chip .n { font-family: var(--f-mono); font-size: var(--t-2xs); opacity: .6; }

/* ---- small labels ----------------------------------------------------------- */
.slot {
  display: inline-flex; align-items: center; height: 22px; padding: 0 7px;
  font-family: var(--f-mono); font-size: var(--t-2xs); font-weight: 500; letter-spacing: .04em;
  color: var(--ink-2); background: var(--card); border: 1px solid var(--line-2); border-radius: 6px;
}
.pill {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-pill);
  font-size: var(--t-2xs); font-weight: 600; letter-spacing: .01em; white-space: nowrap;
}
.pill--sale { color: var(--sale); background: var(--sale-wash); }
.pill--new { color: var(--vend); background: var(--vend-wash); }
.pill--limited { color: #8a5a00; background: #fff1cf; }
:root[data-theme="dark"] .pill--limited { color: #ffcf6b; background: #2e2410; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill--limited { color: #ffcf6b; background: #2e2410; } }
.pill--ok { color: var(--ok); background: var(--ok-wash); }

/* ---- key tile (app-icon) -------------------------------------------------------- */
.tile {
  --size: 56px;
  --c: var(--cat-code);
  position: relative; flex: none;
  width: var(--size); height: var(--size); border-radius: var(--r-tile);
  display: grid; place-items: center;
  font-size: calc(var(--size) * .34); color: #fff;
  font-family: var(--f-body); font-weight: 600; letter-spacing: -0.04em;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 86%, #fff) 0%, var(--c) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 0 0 1px color-mix(in srgb, var(--c) 70%, #000 30%),
    0 1px 2px rgba(0,0,0,.08),
    0 8px 18px -10px color-mix(in srgb, var(--c) 70%, transparent);
}
.tile[data-cat="code"]   { --c: var(--cat-code); }
.tile[data-cat="create"] { --c: var(--cat-create); }
.tile[data-cat="focus"]  { --c: var(--cat-focus); }
.tile[data-cat="build"]  { --c: var(--cat-build); }
.tile[data-cat="biz"]    { --c: var(--cat-biz); }

/* ---- price ------------------------------------------------------------------------ */
.amt { font-family: var(--f-body); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.amt--sm { font-size: 15px; }
.amt--lg { font-size: 30px; letter-spacing: -0.03em; }
.was { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1px; font-size: var(--t-sm); font-variant-numeric: tabular-nums; }

/* ---- fields --------------------------------------------------------------------- */
.field {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px 0 14px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-md);
  box-shadow: var(--gloss), var(--sh-1);
  transition: border-color var(--d-fast), box-shadow var(--d-fast);
}
.field:focus-within { border-color: var(--vend); box-shadow: 0 0 0 4px color-mix(in srgb, var(--vend) 18%, transparent); }
.field svg { width: 17px; height: 17px; color: var(--ink-3); flex: none; }
.field { min-width: 0; }
.field input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font-size: var(--t-md); }
.field input::placeholder { color: var(--ink-3); }
.field--lg { height: 56px; border-radius: 18px; padding: 0 14px 0 18px; }
.field--lg input { font-size: 17px; }
select.select {
  height: 36px; padding: 0 30px 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card);
  font-size: var(--t-sm); appearance: none; box-shadow: var(--gloss);
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 15px) 16px, calc(100% - 10px) 16px; background-size: 5px 5px; background-repeat: no-repeat;
}

/* ---- section heads -------------------------------------------------------------- */
.section { padding-block: var(--s-24) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; margin-bottom: var(--s-8); }
.section-head h2 { font-family: var(--f-display); font-weight: 700; font-size: var(--t-2xl); letter-spacing: -0.035em; line-height: 1.02; }
.section-head p { color: var(--ink-2); max-width: 46ch; margin-top: 8px; }

/* ==========================================================================
   hero
   ========================================================================== */
.hero { position: relative; padding-block: clamp(40px, 6.5vw, 84px) clamp(36px, 5vw, 60px); overflow: clip; }
.hero__in { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: var(--s-5); max-width: 760px; margin-inline: auto; }
.hero h1 { font-family: var(--f-display); font-weight: 700; font-size: var(--t-3xl); line-height: .95; letter-spacing: -0.058em; }
.hero__sub { font-size: var(--t-lg); color: var(--ink-2); max-width: 54ch; line-height: 1.5; }
.status-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px;
  border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--line); box-shadow: var(--gloss), var(--sh-1);
  font-size: var(--t-xs); color: var(--ink-2); text-decoration: none;
}
.status-chip b { color: var(--ink); font-weight: 600; }

.hero-search { position: relative; width: min(100%, 600px); margin-top: var(--s-2); }
.hero-search .field--lg { box-shadow: var(--gloss), var(--sh-2); }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-3);
  padding: 6px; text-align: left;
}
.suggest__item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border-radius: 10px; border: 0; background: transparent; text-align: left; }
.suggest__item[aria-selected="true"], .suggest__item:hover { background: var(--paper); }
.suggest__item .tile { --size: 34px; }
.suggest__name { font-weight: 600; font-size: var(--t-sm); }
.suggest__meta { font-size: var(--t-xs); color: var(--ink-3); }
.suggest__all { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 10px 8px; margin-top: 4px; border: 0; border-top: 1px solid var(--line); background: transparent; font-size: var(--t-sm); color: var(--ink-2); border-radius: 0 0 10px 10px; }
.suggest__all:hover, .suggest__all[aria-selected="true"] { color: var(--vend); }
.suggest__empty { padding: 14px 12px; font-size: var(--t-sm); color: var(--ink-3); }

.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: var(--s-2) 0 0; font-size: var(--t-sm); color: var(--ink-3); }
.hero-stats div { display: flex; gap: 6px; align-items: baseline; }
.hero-stats dt { order: 2; }
.hero-stats dd { margin: 0; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* floating key tiles around the hero */
.floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floater {
  position: absolute; left: var(--x); top: var(--y);
  pointer-events: auto; border: 0; padding: 0; background: none;
  transform: rotate(var(--r, 0deg));
  animation: bob var(--dur, 7s) var(--ease) var(--delay, 0s) infinite alternate;
}
.floater .tile { --size: var(--s, 64px); transition: transform var(--d-mid) var(--spring); }
.floater:hover .tile, .floater:focus-visible .tile { transform: scale(1.08) rotate(calc(var(--r, 0deg) * -1)); }
.floater__tag {
  position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%) translateY(-4px);
  opacity: 0; transition: opacity var(--d-fast), transform var(--d-fast); pointer-events: none;
  display: grid; justify-items: center; gap: 4px; white-space: nowrap;
}
.floater__tag span:first-child { font-size: var(--t-xs); font-weight: 600; color: var(--ink); background: var(--card); padding: 2px 8px; border-radius: 6px; box-shadow: var(--sh-1); }
.floater:hover .floater__tag, .floater:focus-visible .floater__tag { opacity: 1; transform: translateX(-50%) translateY(0); }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -12px; } }

.ascii { position: absolute; z-index: 1; font-family: var(--f-mono); font-size: 13px; color: var(--ink-3); opacity: .8; white-space: nowrap; pointer-events: none; }

.receipt {
  position: absolute; z-index: 1; width: 168px; padding: 12px 12px 14px;
  background: var(--card); color: var(--ink); border-radius: 4px; box-shadow: var(--sh-2);
  font-family: var(--f-mono); font-size: 10.5px; line-height: 1.55; transform: rotate(var(--r, 6deg));
  -webkit-mask: radial-gradient(5px at 50% 100%, #0000 98%, #000) 0 0 / 12px 100%;
          mask: radial-gradient(5px at 50% 100%, #0000 98%, #000) 0 0 / 12px 100%;
  padding-bottom: 18px;
}
.receipt b { display: block; font-family: var(--f-display); font-size: 15px; letter-spacing: -0.03em; margin-bottom: 4px; }
.receipt .row { display: flex; justify-content: space-between; gap: 8px; }
.receipt hr { border: 0; border-top: 1px dashed var(--line-2); margin: 6px 0; }
.receipt .save { color: var(--ok); font-weight: 600; }

/* ---- trust bar ---------------------------------------------------------------------- */
.trust { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--card) 55%, transparent); }
.trust ul { list-style: none; margin: 0 auto; padding: 14px var(--gutter); max-width: var(--max); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.trust li { display: flex; align-items: center; gap: 10px; font-size: var(--t-sm); color: var(--ink-2); min-width: 0; }
.trust li svg { width: 18px; height: 18px; color: var(--ink); flex: none; }
.trust li b { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   shop
   ========================================================================== */
.shop { padding-block: var(--s-16) 0; }
.shop__layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: var(--s-8); align-items: start; }

.filters { position: sticky; top: calc(var(--menubar-h) + 20px); display: grid; gap: var(--s-6); max-height: calc(100vh - var(--menubar-h) - 40px); overflow: auto; padding-bottom: var(--s-4); scrollbar-width: thin; }
.fgroup { display: grid; gap: 6px; }
.fgroup h3 { font-size: var(--t-xs); font-weight: 500; color: var(--ink-3); margin-bottom: 2px; padding-left: 10px; }
.fopt {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 34px; padding: 6px 10px;
  border: 0; background: transparent; border-radius: 9px; text-align: left; font-size: var(--t-sm); color: var(--ink-2);
}
.fopt:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); color: var(--ink); }
.fopt[aria-pressed="true"], .fopt[aria-checked="true"] { background: var(--card); color: var(--ink); box-shadow: var(--gloss), var(--sh-1); font-weight: 500; }
.fopt .n { margin-left: auto; font-family: var(--f-mono); font-size: var(--t-2xs); color: var(--ink-3); }
.fopt .sw { width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--ink-3)); flex: none; }
.fopt .box { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--line-2); background: var(--card); display: grid; place-items: center; flex: none; transition: background var(--d-fast), border-color var(--d-fast); }
.fopt .box svg { width: 11px; height: 11px; color: #fff; opacity: 0; }
.fopt[aria-checked="true"] .box { background: var(--ink); border-color: var(--ink); }
.fopt[aria-checked="true"] .box svg { opacity: 1; }
:root[data-theme="dark"] .fopt[aria-checked="true"] .box svg { color: var(--paper); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fopt[aria-checked="true"] .box svg { color: var(--paper); } }
.filters__clear { justify-self: start; border: 0; background: none; padding: 4px 10px; font-size: var(--t-sm); color: var(--vend); }
.filters__note { font-size: var(--t-xs); color: var(--ink-3); padding: 0 10px; line-height: 1.5; }

.shop__main { min-width: 0; display: grid; gap: var(--s-5); }
.shop__head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.shop__head h2 { font-family: var(--f-display); font-weight: 700; font-size: var(--t-2xl); letter-spacing: -0.035em; line-height: 1; }
.shop__head p { color: var(--ink-2); font-size: var(--t-sm); margin-top: 6px; }

.toolbar {
  position: sticky; top: var(--menubar-h); z-index: 15;
  display: flex; align-items: center; gap: 10px; padding: 10px 0;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.toolbar .field { flex: 1; height: 40px; box-shadow: var(--gloss); }
.toolbar .count { font-size: var(--t-sm); color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.toolbar .filters-btn { display: none; }
.cat-row { display: none; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.cat-row::-webkit-scrollbar { display: none; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s-4); }

/* ---- product card ---------------------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-1); overflow: hidden;
  transition: box-shadow var(--d-mid) var(--ease), transform var(--d-mid) var(--ease), border-color var(--d-mid);
}
.card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); border-color: var(--line-2); }
.card.in-cart { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.card__window {
  position: relative; display: grid; place-items: center; height: 124px; margin: 6px 6px 0; border: 0;
  border-radius: calc(var(--r-lg) - 6px); background: var(--paper-2); padding: 0; overflow: hidden;
}
.card__window .tile { --size: 60px; transition: transform var(--d-mid) var(--spring); z-index: 1; }
.card:hover .card__window .tile { transform: translateY(-3px) rotate(-3deg); }
.card__window .slot { position: absolute; left: 10px; top: 10px; }
.card__window .pill { position: absolute; right: 10px; top: 10px; }
.card__body { display: grid; gap: 4px; padding: 14px 16px 0; }
.card__title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.card__title h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.card__title h3 button { all: unset; cursor: pointer; }
.card__title h3 button:focus-visible { outline: 2px solid var(--vend); outline-offset: 2px; border-radius: 4px; }
.card__meta { font-size: var(--t-xs); color: var(--ink-3); }
.card__desc { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; }
.card__buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 12px; margin-top: auto; }
.card__price { display: flex; align-items: center; gap: 8px; min-width: 0; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 16px; border-top: 1px dashed var(--line); font-size: var(--t-xs); color: var(--ink-3); }
.card__foot .stock { display: inline-flex; align-items: center; gap: 6px; }
.card__foot .stock .live-dot { width: 6px; height: 6px; box-shadow: none; }

.empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 10px; text-align: center; padding: 56px 16px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--ink-2); }
.empty .face { font-family: var(--f-mono); font-size: 22px; color: var(--ink); }

/* ==========================================================================
   kits
   ========================================================================== */
.kits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.kit { display: grid; gap: var(--s-4); align-content: start; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.kit__stack { display: flex; padding-left: 8px; }
.kit__stack .tile { --size: 44px; margin-left: -6px; box-shadow: 0 0 0 3px var(--card), inset 0 1px 0 rgba(255,255,255,.5), inset 0 -3px 8px rgba(0,0,0,.18); }
.kit h3 { font-family: var(--f-display); font-size: 21px; font-weight: 700; letter-spacing: -0.03em; }
.kit__blurb { font-size: var(--t-sm); color: var(--ink-2); margin-top: 2px; }
.kit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: var(--t-sm); }
.kit li { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-2); }
.kit li span:last-child { font-size: var(--t-xs); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.kit__total { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--line); }
.kit__total .was { font-size: var(--t-xs); }

/* ==========================================================================
   how it works
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); list-style: none; margin: 0; padding: 0; }
.step { display: grid; gap: 14px; align-content: start; padding: 10px 10px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-1); }
.step__art { position: relative; height: 180px; border-radius: calc(var(--r-xl) - 10px); background: var(--paper-2); display: grid; place-items: center; overflow: hidden; }
.step__body { display: grid; gap: 6px; padding: 0 12px; }
.step__n { font-size: var(--t-xs); color: var(--ink-3); font-weight: 500; }
.step h3 { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.step p { font-size: var(--t-sm); color: var(--ink-2); }
/* step 1: keypad */
.keypad { display: grid; grid-template-columns: repeat(3, 34px); gap: 6px; padding: 12px; border-radius: 14px; background: var(--lcd); box-shadow: var(--sh-2); }
.keypad__screen { grid-column: 1 / -1; height: 30px; border-radius: 6px; background: #000; color: var(--lcd-on); font-family: var(--f-mono); font-weight: 500; font-size: 15px; display: flex; align-items: center; justify-content: flex-end; padding: 0 8px; text-shadow: 0 0 8px color-mix(in srgb, var(--lcd-on) 60%, transparent); }
.keypad span:not(.keypad__screen) { height: 28px; border-radius: 6px; background: linear-gradient(180deg, #3a3b40, #26272b); color: #d8d8dc; font-family: var(--f-mono); font-size: 12px; display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 0 #000; }
.keypad span.hot { background: linear-gradient(180deg, var(--vend-hi), var(--vend-lo)); color: #fff; }
/* step 2: pay */
.paycard { width: 210px; padding: 14px; border-radius: 16px; background: var(--card); box-shadow: var(--sh-2); display: grid; gap: 10px; }
.paycard .row { display: flex; justify-content: space-between; align-items: center; font-size: var(--t-xs); color: var(--ink-2); }
.paycard .row b { color: var(--ink); font-weight: 600; }
.paycard .btn { --h: 34px; }
/* step 3: key */
.keymail { width: 230px; padding: 14px; border-radius: 16px; background: var(--card); box-shadow: var(--sh-2); display: grid; gap: 8px; font-size: var(--t-xs); color: var(--ink-2); }
.keymail__from { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: var(--t-sm); }
.keymail__from svg { width: 22px; height: 22px; }
.keymail code { display: block; font-family: var(--f-mono); font-size: 12px; color: var(--ink); background: var(--paper); border: 1px dashed var(--line-2); padding: 8px 10px; border-radius: 8px; letter-spacing: .06em; }

/* ==========================================================================
   faq
   ========================================================================== */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--s-12); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--menubar-h) + 24px); display: grid; gap: 12px; }
.faq__aside h2 { font-family: var(--f-display); font-weight: 700; font-size: var(--t-2xl); letter-spacing: -0.035em; line-height: 1.02; }
.faq__aside p { color: var(--ink-2); }
.faq__face { font-family: var(--f-mono); font-size: 20px; color: var(--ink-3); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; cursor: pointer; font-weight: 500; font-size: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: transform var(--d-mid) var(--ease), background var(--d-fast); color: var(--ink-2); }
.qa summary .plus svg { width: 12px; height: 12px; }
.qa[open] summary .plus { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.qa__a { padding: 0 2px 20px; color: var(--ink-2); max-width: 62ch; }
.qa__a p + p { margin-top: 8px; }

/* ==========================================================================
   footer
   ========================================================================== */
.footer { margin-top: var(--s-24); border-top: 1px solid var(--line); overflow: clip; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s-8); padding-block: var(--s-12) var(--s-8); }
.footer__brand { display: grid; gap: 12px; align-content: start; }
.footer__brand p { color: var(--ink-2); font-size: var(--t-sm); max-width: 34ch; }
.footer h4 { font-size: var(--t-xs); font-weight: 500; color: var(--ink-3); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a, .footer .linkish { color: var(--ink-2); text-decoration: none; font-size: var(--t-sm); background: none; border: 0; padding: 0; text-align: left; }
.footer a:hover, .footer .linkish:hover { color: var(--ink); }
.footer__mega { font-family: var(--f-display); font-weight: 800; font-stretch: 110%; font-size: clamp(110px, 25vw, 360px); line-height: .76; letter-spacing: -0.065em; color: var(--ink); text-align: center; user-select: none; white-space: nowrap; margin-top: 10px; margin-bottom: -0.05em; }
.footer__mega i { font-style: normal; color: var(--coin); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px 8px; border-top: 1px solid var(--line); font-size: var(--t-xs); color: var(--ink-3); }
.footer__legal p { max-width: 80ch; }

/* ==========================================================================
   overlays: dialog base, quick view, cart drawer, filter sheet, toast
   ========================================================================== */
dialog { padding: 0; border: 0; color: var(--ink); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: var(--scrim); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
dialog[open] { animation: pop var(--d-mid) var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }

/* quick view */
.quick { width: min(760px, calc(100vw - 32px)); }
.quick__panel { display: grid; grid-template-columns: 300px minmax(0, 1fr); background: var(--card); border-radius: var(--r-xl); box-shadow: var(--sh-3); overflow: hidden; border: 1px solid var(--line); }
.quick__art { position: relative; display: grid; place-items: center; background: var(--paper-2); min-height: 300px; }
.quick__art .tile { --size: 112px; }
.quick__art .slot { position: absolute; left: 14px; top: 14px; }
.quick__body { display: grid; gap: 14px; padding: 26px 26px 22px; align-content: start; min-width: 0; }
.quick__close { position: absolute; right: 14px; top: 14px; z-index: 2; }
.quick__body h2 { font-family: var(--f-display); font-weight: 700; font-size: 30px; letter-spacing: -0.035em; line-height: 1.02; padding-right: 36px; }
.quick__offer { font-size: var(--t-sm); color: var(--ink-2); font-weight: 500; }
.quick__desc { color: var(--ink-2); font-size: var(--t-sm); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; padding: 14px 0; border-block: 1px dashed var(--line); font-size: var(--t-sm); }
.specs dt { color: var(--ink-3); font-size: var(--t-sm); }
.specs dd { margin: 0; color: var(--ink); }
.quick__buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.quick__price { display: flex; align-items: center; gap: 10px; }
.quick__save { font-size: var(--t-xs); color: var(--ok); font-weight: 600; }

/* cart drawer */
.drawer { margin: 0 0 0 auto; height: 100dvh; width: min(440px, 100vw); }
.drawer[open] { animation: slide var(--d-slow) var(--ease); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__panel { height: 100%; display: grid; grid-template-rows: auto 1fr auto; background: var(--paper); border-left: 1px solid var(--line); box-shadow: var(--sh-3); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--card); }
.drawer__head h2 { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; display: flex; align-items: center; gap: 10px; }
.drawer__list { overflow: auto; padding: 14px 14px 4px; display: grid; gap: 8px; align-content: start; }
.line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 10px 10px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.line .tile { --size: 42px; }
.line__name { font-weight: 600; font-size: var(--t-sm); line-height: 1.3; }
.line__meta { font-size: var(--t-xs); color: var(--ink-3); }
.line__right { display: grid; justify-items: end; gap: 4px; }
.line__remove { border: 0; background: none; padding: 0; font-size: var(--t-xs); color: var(--ink-3); }
.line__remove:hover { color: var(--sale); }
.drawer__foot { display: grid; gap: 12px; padding: 16px 18px 18px; border-top: 1px solid var(--line); background: var(--card); }
.totals { display: grid; gap: 6px; font-size: var(--t-sm); }
.totals .row { display: flex; justify-content: space-between; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.totals .row.save { color: var(--ok); font-weight: 600; }
.totals .row.total { color: var(--ink); font-weight: 600; font-size: 17px; padding-top: 8px; border-top: 1px dashed var(--line); margin-top: 2px; align-items: center; }
.drawer__note { font-size: var(--t-xs); color: var(--ink-3); text-align: center; }
.drawer__empty { display: grid; justify-items: center; align-content: center; gap: 12px; text-align: center; padding: 40px 24px; color: var(--ink-2); height: 100%; }
.drawer__empty .face { font-family: var(--f-mono); font-size: 26px; color: var(--ink); }
.notice { font-size: var(--t-xs); line-height: 1.5; color: var(--ink-2); background: var(--vend-wash); border: 1px solid color-mix(in srgb, var(--vend) 25%, transparent); border-radius: 10px; padding: 10px 12px; }
.notice code { font-family: var(--f-mono); font-size: 11px; }
.form-error { font-size: var(--t-xs); color: var(--sale); }
.drawer .field { height: 42px; box-shadow: var(--gloss); }

/* filter sheet (mobile) */
.sheet { margin: auto 0 0; width: 100vw; max-height: 86dvh; }
.sheet__panel { background: var(--paper); border-radius: 22px 22px 0 0; padding: 10px 18px 20px; display: grid; gap: 14px; max-height: 86dvh; overflow: auto; }
.sheet__grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line-2); justify-self: center; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; }
.sheet__head h2 { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.sheet .filters { position: static; max-height: none; overflow: visible; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  transform: translateX(-50%) translateY(16px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 10px;
  background: var(--ink); color: var(--paper); border-radius: 14px; box-shadow: var(--sh-3);
  font-size: var(--t-sm); transition: opacity var(--d-mid) var(--ease), transform var(--d-mid) var(--spring);
  max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast .tile { --size: 28px; }
.toast button { border: 0; background: color-mix(in srgb, var(--paper) 16%, transparent); color: var(--paper); border-radius: 9px; height: 30px; padding: 0 12px; font-size: var(--t-xs); font-weight: 600; white-space: nowrap; }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .kits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .shop__layout { grid-template-columns: minmax(0, 1fr); }
  .shop__layout > .filters { display: none; }
  .toolbar .filters-btn { display: inline-flex; }
  .cat-row { display: flex; }
  .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menubar__links, .mb-clock { display: none; }
  .floaters .floater:nth-child(n+7), .ascii, .receipt { display: none; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .faq__aside { position: static; }
}
@media (max-width: 760px) {
  .quick__panel { grid-template-columns: minmax(0, 1fr); }
  .quick__art { min-height: 190px; }
  .quick__art .tile { --size: 88px; }
  .mb-status { display: none; }
  .floaters { display: none; }
  .hero-chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; justify-self: stretch; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .hero-chips::-webkit-scrollbar { display: none; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menubar__in { grid-template-columns: auto 1fr auto; }
  .menubar__mark { display: none; }
  .menubar .brand__icon { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---- hero extras ------------------------------------------------------------------ */
.hero__stack { display: none; padding-left: 10px; margin-bottom: 4px; }
.hero__stack .tile { --size: 44px; margin-left: -4px; box-shadow: 0 0 0 3px var(--paper), inset 0 1px 0 rgba(255,255,255,.5), inset 0 -3px 8px rgba(0,0,0,.18); }
.hero__stack .tile:nth-child(odd) { transform: rotate(-6deg); }
.hero__stack .tile:nth-child(even) { transform: rotate(5deg) translateY(3px); }
@media (max-width: 1180px) {
  .floaters, .ascii, .receipt { display: none !important; }
  .hero__stack { display: flex; }
}

/* ---- real product icons ------------------------------------------------------------- */
.tile--img { background: #fff; color: transparent; overflow: hidden; text-shadow: none;
  box-shadow: 0 0 0 1px rgba(17,17,19,.08), 0 1px 2px rgba(17,17,19,.06), 0 8px 18px -10px rgba(17,17,19,.35); }
.tile--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
:root[data-theme="dark"] .tile--img { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 8px 18px -10px rgba(0,0,0,.8); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tile--img { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 8px 18px -10px rgba(0,0,0,.8); } }
.kit__stack .tile--img, .hero__stack .tile--img { box-shadow: 0 0 0 3px var(--card), 0 6px 14px -8px rgba(0,0,0,.35); }
.hero__stack .tile--img { box-shadow: 0 0 0 3px var(--paper), 0 6px 14px -8px rgba(0,0,0,.35); }

/* ---- type: Inter for headings and subheads ------------------------------------------ */
.hero h1, .section-head h2, .shop__head h2, .kit h3, .step h3, .faq__aside h2, .quick__body h2, .drawer__head h2, .sheet__head h2 {
  font-family: var(--f-display); font-weight: 800; font-stretch: 110%;
}
.hero h1 { letter-spacing: -0.05em; }
.section-head h2, .shop__head h2, .faq__aside h2 { letter-spacing: -0.035em; }
.hero__sub { font-family: var(--f-body); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.section-head p, .shop__head p, .faq__aside p { font-family: var(--f-body); font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.kit__blurb { font-size: 14px; color: var(--ink-2); }

/* ---- vee in empty states -------------------------------------------------------------- */
.vee { width: 56px; height: 56px; display: block; color: var(--ink); }
.faq__aside .vee { width: 48px; height: 48px; margin-bottom: 6px; }

/* ==========================================================================
   phones & touch
   ========================================================================== */
.card__off, .m-only { display: none; }
.cartbar { display: none; }
.card { cursor: pointer; }

/* touch screens: no keyboard hints, no hover lift */
@media (hover: none) {
  .kbd { display: none; }
  .card:hover { transform: none; box-shadow: var(--sh-1); border-color: var(--line); }
  .card:hover .card__window .tile { transform: none; }
}

@media (max-width: 760px) {
  /* iOS zooms into any field under 16px */
  input, select, textarea { font-size: 16px !important; }

  /* menu bar: wordmark, search, cart */
  .menubar [data-theme-toggle], .mb-btn .kbd { display: none; }
  .mb-btn[data-search-jump] { width: 38px; height: 38px; padding: 0; justify-content: center; }
  .mb-btn[data-search-jump] svg { width: 19px; height: 19px; }
  .cart-btn { --h: 36px; }

  /* hero */
  .hero { padding-block: 28px 32px; }
  .hero__in { gap: 16px; }
  .hero__sub { font-size: 19px; max-width: 32ch; }
  .hero-search .field--lg { height: 52px; border-radius: 16px; }
  .hero-chips, .cat-row { -webkit-mask: linear-gradient(90deg, #000 82%, transparent); mask: linear-gradient(90deg, #000 82%, transparent); }
  .chip { height: 36px; padding: 0 14px; }

  /* trust row: compact 2 × 2 */
  .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding-block: 14px; }
  .trust li { align-items: flex-start; font-size: 12.5px; line-height: 1.35; gap: 8px; }
  .trust li svg { width: 16px; height: 16px; margin-top: 1px; }

  /* shop: one slim sticky row, sort lives in the filter sheet */
  .shop { padding-top: 36px; }
  .shop__head p { display: none; }
  .shop__main { gap: 12px; }
  .toolbar { gap: 8px; padding: 8px 0; flex-wrap: nowrap; }
  .toolbar .field { flex: 1; height: 44px; }
  .toolbar .select, .toolbar .count { display: none; }
  .toolbar .filters-btn { --h: 44px; padding: 0 14px; flex: none; }

  /* kits and steps become swipeable rows */
  .kits, .steps {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(84%, 340px);
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; gap: 12px;
  }
  .kits::-webkit-scrollbar, .steps::-webkit-scrollbar { display: none; }
  .kits > *, .steps > * { scroll-snap-align: start; }
  .step__art { height: 150px; }
  .section { padding-top: 64px; }
  .section-head { margin-bottom: 20px; }
  .section-head p { font-size: 18px; }

  /* faq */
  .faq__aside { gap: 8px; }
  .qa summary { padding: 16px 0; font-size: 15.5px; }

  /* footer */
  .footer { margin-top: 64px; }
  .footer__top { gap: 24px; padding-block: 36px 24px; }
  .footer ul { gap: 2px; }
  .footer a, .footer .linkish { display: block; padding: 6px 0; font-size: 14px; }

  /* quick view becomes a bottom sheet with a sticky buy bar */
  .quick { width: 100vw; max-width: 100vw; margin: auto 0 0; }
  .quick[open] { animation: sheet-up var(--d-slow) var(--ease); }
  .quick__panel { grid-template-columns: minmax(0, 1fr); border-radius: 24px 24px 0 0; max-height: 92dvh; overflow-y: auto; border-bottom: 0; overscroll-behavior: contain; }
  .quick__art { min-height: 148px; }
  .quick__art::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: var(--line-2); }
  .quick__art .tile { --size: 76px; }
  .quick__body { padding: 20px 18px 0; gap: 12px; }
  .quick__body h2 { font-size: 26px; }
  .specs { grid-template-columns: 92px minmax(0, 1fr); }
  .quick__buy { position: sticky; bottom: 0; z-index: 2; margin-inline: -18px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--card); border-top: 1px solid var(--line); }
  .quick__buy .btn { flex: 1; }

  /* cart drawer: full screen */
  .drawer { width: 100vw; }
  .drawer__panel { border-left: 0; }
  .drawer__foot { padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .line { padding: 12px; }
  .line__remove { padding: 6px 0 2px; font-size: 13px; }

  /* filter sheet: bigger targets, sticky apply button */
  .sheet__panel { padding-bottom: 0; }
  .sheet .fopt { min-height: 44px; font-size: 15px; }
  .sheet .fgroup--sort { display: flex; }
  .sheet .fgroup--chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .sheet .fgroup--chips h3 { flex-basis: 100%; padding-left: 0; margin-bottom: 0; }
  .sheet .fgroup--chips .fopt { width: auto; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--card); box-shadow: none; gap: 8px; }
  .sheet .fgroup--chips .fopt .box { display: none; }
  .sheet .fgroup--chips .fopt .n { margin-left: 2px; }
  .sheet .fgroup--chips .fopt[aria-pressed="true"], .sheet .fgroup--chips .fopt[aria-checked="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .sheet .fgroup--chips .fopt[aria-checked="true"] .n, .sheet .fgroup--chips .fopt[aria-pressed="true"] .n { color: inherit; opacity: .6; }
  .sheet .filters { gap: 20px; }
  .sheet .filters__note { padding: 0; }
  #sheetDone { position: sticky; bottom: 0; margin-inline: -18px; width: calc(100% + 36px); border-radius: 0; height: auto; padding: 16px 18px calc(16px + env(safe-area-inset-bottom, 0px)); }

  /* cart bar pinned to the bottom once something is in the cart */
  .cartbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 45;
    display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 16px 0 12px; border: 0; border-radius: 20px;
    background: var(--ink); color: var(--paper); box-shadow: var(--sh-3); text-align: left;
    animation: pop var(--d-mid) var(--ease);
  }
  .cartbar__icons { display: flex; padding-left: 6px; flex: none; }
  .cartbar__icons .tile { --size: 32px; margin-left: -8px; box-shadow: 0 0 0 2px var(--ink); }
  .cartbar__text { display: grid; gap: 1px; min-width: 0; flex: 1; }
  .cartbar__text b { font-size: 14.5px; font-weight: 600; }
  .cartbar__text span { font-size: 12px; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cartbar__total { font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; }
  .cartbar svg.arrow { width: 18px; height: 18px; opacity: .8; }
  html.has-cartbar body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  html.has-cartbar .toast { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .toast { padding: 8px 14px 8px 8px; }
  .toast > span:not(:first-child) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  html.has-cartbar .toast button { display: none; }
}

/* the fgroup for sorting only shows inside the mobile sheet */
.fgroup--sort { display: none; }

@media (max-width: 560px) {
  /* product cards become compact rows: icon left, details right */
  .grid { gap: 10px; }
  .card { display: grid; grid-template-columns: 78px minmax(0, 1fr); grid-template-areas: "win body" "win buy"; border-radius: 18px; }
  .card__window { grid-area: win; align-self: start; width: 66px; height: 66px; margin: 12px 0 0 12px; border-radius: 16px; }
  .card__window .tile { --size: 46px; }
  .card__window .pill, .card__window .slot { display: none; }
  .slot-m { font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); }
  .card__body { grid-area: body; padding: 12px 14px 0 12px; gap: 2px; }
  .card__title { flex-wrap: wrap; row-gap: 2px; }
  .card__title h3 { font-size: 15px; }
  .card__title .pill { height: 20px; font-size: 10.5px; }
  .card__desc { font-size: 13px; margin-top: 2px; }
  .card__buy { grid-area: buy; padding: 10px 12px 12px; gap: 8px; align-items: flex-end; }
  .card__price { flex-wrap: wrap; gap: 2px 6px; }
  .card__price .amt { font-size: 17px; }
  .card__price .was { font-size: 12.5px; }
  .card__off { display: inline-flex; height: 20px; font-size: 10.5px; padding: 0 6px; }
  .card__buy .btn { --h: 38px; flex: none; }
  .card__foot { display: none; }
  .m-only { display: inline; }
  .m-only.ok { color: var(--ok); }

  .hero h1 { font-size: clamp(40px, 11.5vw, 54px); }
  .kit { padding: 16px; }
}

@media (max-width: 360px) {
  .cart-btn .cart-label { display: none; }
  .card { grid-template-columns: 66px minmax(0, 1fr); }
  .card__window { width: 56px; height: 56px; }
  .card__window .tile { --size: 40px; }
}

@keyframes sheet-up { from { transform: translateY(48px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ==========================================================================
   desktop-OS skin (heyclicky-inspired): Inter, Aqua buttons, window chrome
   ========================================================================== */
:root {
  --aqua-blue: linear-gradient(#edf4ff 0%, #d6e7ff 18%, #a2c7ff 50%, #99cbf8 80%, #a2d2f7 100%);
  --aqua-blue-edge: #221898;
  --aqua-gray: linear-gradient(#fbfbfb 0%, #ededed 42%, #e4e4e4 100%);
  --aqua-gray-edge: #626262;
  --aqua-green: linear-gradient(#f1fbf3 0%, #d9f3df 45%, #bfe9ca 100%);
  --bar: linear-gradient(#f6f6f6, #e4e4e4);
  --bar-edge: rgba(0, 0, 0, .14);
  --win-edge: rgba(0, 0, 0, .16);
  --link: #1f6bff;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bar: linear-gradient(#3b3b3e, #2c2c2f); --bar-edge: rgba(255,255,255,.08); --win-edge: rgba(255,255,255,.12); --link: #6ea2ff; } }
:root[data-theme="dark"] { --bar: linear-gradient(#3b3b3e, #2c2c2f); --bar-edge: rgba(255,255,255,.08); --win-edge: rgba(255,255,255,.12); --link: #6ea2ff; }

body { letter-spacing: -0.011em; }

/* headings: Inter medium, tight, lowercase */
.hero h1, .section-head h2, .shop__head h2, .kit h3, .step h3, .faq__aside h2, .quick__body h2, .drawer__head h2, .sheet__head h2 {
  font-family: var(--f-display); font-weight: 500; font-stretch: normal; letter-spacing: -0.035em;
}
.hero h1 { font-size: clamp(46px, 6.4vw, 88px); line-height: 1.04; letter-spacing: -0.04em; }
.section-head h2, .shop__head h2 { font-size: clamp(32px, 3.9vw, 56px); line-height: 1.1; letter-spacing: -0.035em; }
.wm { font-weight: 600; font-stretch: normal; letter-spacing: -0.045em; }
.hero__sub { font-family: var(--f-body); font-style: normal; font-size: 18px; font-weight: 450; color: var(--ink); max-width: 46ch; line-height: 1.5; }
.hero__fine { font-size: 12px; color: var(--ink-3); margin-top: -4px; }

/* menu bar like a mac */
.menubar { height: 36px; }
:root { --menubar-h: 36px; }
.menubar__link { font-size: 13.5px; color: color-mix(in srgb, var(--ink) 55%, transparent); padding: 4px 8px; }
.menubar .wm { font-size: 15px; }
.mb-sys { display: inline-flex; align-items: center; gap: 12px; color: color-mix(in srgb, var(--ink) 45%, transparent); padding: 0 8px; }
.mb-sys svg { width: 15px; height: 15px; }
.mb-sys svg.bat { width: 21px; height: 18px; }
.mb-btn { height: 26px; font-size: 13px; }
.mb-clock { font-size: 13px; color: color-mix(in srgb, var(--ink) 55%, transparent); }
.cart-link { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 6px 0 8px; border: 0; background: none; color: var(--link); font-size: 13.5px; font-weight: 500; border-radius: 7px; }
.cart-link:hover { background: color-mix(in srgb, var(--link) 10%, transparent); }
.cart-link svg { width: 15px; height: 15px; }
.cart-link .count { font-family: var(--f-mono); font-size: 11px; min-width: 18px; height: 18px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 99px; background: var(--link); color: #fff; }

/* aqua buttons */
.btn { font-weight: 500; letter-spacing: -0.03em; }
.btn--primary { color: #000; background: var(--aqua-blue); border: 1px solid var(--aqua-blue-edge); text-shadow: 0 1px 0 rgba(255,255,255,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -2px 4px rgba(34,24,152,.12), 0 6px 16px -6px rgba(0,0,0,.2); }
.btn--primary:hover { filter: brightness(1.04) saturate(1.1); }
.btn--ghost, .btn--dark { color: #000; background: var(--aqua-gray); border: 1px solid var(--aqua-gray-edge); text-shadow: 0 1px 0 #fff; box-shadow: inset 0 1px 0 #fff, 0 6px 16px -6px rgba(0,0,0,.18); }
.btn--ghost:hover, .btn--dark:hover { filter: brightness(1.03); }
.btn--added { color: #0d4f25; background: var(--aqua-green); border: 1px solid #2f7a45; box-shadow: inset 0 1px 0 #fff; }
.btn--white { color: #000; background: linear-gradient(#ffffff, #ececec); border: 1px solid #9a9a9a; box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(0,0,0,.25); font-family: var(--f-mono); font-size: 13px; letter-spacing: 0; height: 36px; padding: 0 16px; }
.btn--lg { --h: 46px; font-size: 16px; }
.chip { box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }

/* window chrome */
.win__bar { position: relative; display: flex; align-items: center; gap: 10px; height: 28px; padding: 0 10px; background: var(--bar); border-bottom: 1px solid var(--bar-edge); }
.lights { display: inline-flex; gap: 6px; flex: none; }
.lights i, .lights .light-close { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.22); display: block; border: 0; padding: 0; }
.lights i:nth-child(2), .lights .light-close + i { background: #febc2e; }
.lights i:last-child { background: #28c840; }
.lights .light-close { cursor: pointer; position: relative; }
.lights .light-close:hover::after { content: "×"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 10px; line-height: 1; color: rgba(0,0,0,.55); }
.win__title { position: absolute; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: color-mix(in srgb, var(--ink) 55%, transparent); white-space: nowrap; max-width: 62%; overflow: hidden; text-overflow: ellipsis; }
.win__title svg { width: 14px; height: 14px; }
.win__slot { margin-left: auto; font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); }
.win--blue .win__bar { background: linear-gradient(#e3edfb, #c9dbf4); }
.win--pink .win__bar { background: linear-gradient(#f8e6ec, #efcfdb); }
.win--green .win__bar { background: linear-gradient(#e4f3e1, #cbe5c5); }
.win--amber .win__bar { background: linear-gradient(#f8f0dc, #ecdcb5); }
:root[data-theme="dark"] :is(.win--blue, .win--pink, .win--green, .win--amber) .win__bar { filter: brightness(.35) saturate(1.4); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.win--blue, .win--pink, .win--green, .win--amber) .win__bar { filter: brightness(.35) saturate(1.4); } }

/* product cards are little windows */
.card { border-radius: 11px; border-color: var(--win-edge); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 26px -14px rgba(0,0,0,.28); }
.card:hover { box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 18px 34px -14px rgba(0,0,0,.32); border-color: var(--win-edge); }
.card.in-cart { border-color: #2f7a45; }
.card__window { margin: 8px 8px 0; border-radius: 8px; height: 118px; }
.card__window .pill { top: 8px; right: 8px; }

/* hero: a desktop */
.hero { background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 16%, transparent) 1px, transparent 0); background-size: 24px 24px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(transparent, var(--paper)); pointer-events: none; }
.floater { display: grid; justify-items: center; gap: 6px; }
.floater__label { font-size: 11px; font-weight: 500; color: var(--ink-2); background: color-mix(in srgb, var(--paper) 85%, transparent); padding: 1px 6px; border-radius: 4px; white-space: nowrap; transform: rotate(calc(var(--r, 0deg) * -1)); }
.floater__tag { top: auto; bottom: calc(100% + 8px); }
.desk { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.desk > * { position: absolute; }
.ascii { font-family: var(--f-mono); font-size: 14px; color: var(--ink-2); opacity: .9; }
.folder { display: grid; justify-items: center; gap: 4px; }
.folder__icon { position: relative; width: 52px; height: 40px; }
.folder__icon::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 10px; border-radius: 4px 6px 0 0; background: #6fb3ee; }
.folder__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; bottom: 0; border-radius: 4px; background: linear-gradient(#9ed1fb, #6db4f0); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 4px 10px -4px rgba(0,0,0,.25); }
.folder em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--ink-2); }
.bubble { pointer-events: auto; display: inline-flex; align-items: center; max-width: 250px; padding: 10px 16px 11px; border-radius: 22px; border: 1px solid #3a63c9; background: linear-gradient(#f3f8ff 0%, #d4e6ff 35%, #a8c9fb 100%); color: #000; font-size: 17px; font-weight: 450; letter-spacing: -0.02em; box-shadow: inset 0 1px 0 #fff, 0 10px 24px -10px rgba(34,24,152,.45); cursor: pointer; text-align: left; }
.bubble::after { content: ""; position: absolute; right: -5px; bottom: 6px; width: 14px; height: 14px; background: #a9cafb; border-right: 1px solid #3a63c9; border-bottom: 1px solid #3a63c9; border-radius: 0 0 10px 0; transform: skewX(-20deg); }
.caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 2px; background: currentColor; animation: blink 1s steps(1) infinite; vertical-align: text-bottom; }
@keyframes blink { 50% { opacity: 0; } }
.receipt { font-family: var(--f-mono); }
@media (max-width: 1180px) { .desk { display: none; } }

/* section heads: centered with a label pill */
.section-head--center { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; margin-bottom: 40px; }
.section-head--center p { margin-top: 0; max-width: 52ch; font-family: var(--f-body); font-style: normal; font-size: 18px; color: var(--ink-2); }
.label-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 11px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); background: linear-gradient(var(--card), color-mix(in srgb, var(--card) 88%, var(--ink))); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 1px 2px rgba(0,0,0,.08); font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.label-pill--glass { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); backdrop-filter: blur(6px); }

/* marquee */
.marquee { position: relative; overflow: hidden; margin-top: 88px; font-size: clamp(36px, 5vw, 64px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.2; white-space: nowrap; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: inline-flex; gap: .6em; padding-right: .6em; animation: slide-x 28s linear infinite; color: color-mix(in srgb, var(--ink) 22%, transparent); }
.marquee__focus { position: absolute; inset: 0; -webkit-mask: linear-gradient(90deg, transparent 34%, #000 42%, #000 58%, transparent 66%); mask: linear-gradient(90deg, transparent 34%, #000 42%, #000 58%, transparent 66%); }
.marquee__focus .marquee__track { color: var(--ink); }
@keyframes slide-x { to { transform: translateX(-50%); } }

/* kits sit on a sky */
#kits.section { padding-top: 40px; }
.sky { position: relative; overflow: hidden; margin-inline: clamp(8px, 1.6vw, 24px); border-radius: 28px; padding-block: 72px 80px; color: #fff;
  background: #2f6fd8 url("kits-sky.jpg?v=1") center 30% / cover no-repeat; }
.sky::before { /* keeps the heading readable and settles the sky in dark mode */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 40, 120, .28) 0%, rgba(10, 40, 120, 0) 38%); }
:root[data-theme="dark"] .sky::before { background: linear-gradient(180deg, rgba(4, 14, 44, .45) 0%, rgba(4, 14, 44, .18) 45%, rgba(4, 14, 44, .28) 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sky::before { background: linear-gradient(180deg, rgba(4, 14, 44, .45) 0%, rgba(4, 14, 44, .18) 45%, rgba(4, 14, 44, .28) 100%); } }
.sky > * { position: relative; }
.sky .section-head h2 { color: #fff; text-shadow: 0 2px 18px rgba(20,60,140,.35); }
.sky .section-head p { color: rgba(255,255,255,.92); }
.kit { position: relative; padding: 0; gap: 0; border-radius: 11px; border: 1px solid rgba(0,0,0,.18); box-shadow: 0 20px 40px -18px rgba(10,40,110,.55); color: var(--ink); overflow: visible; }
.kit__bar { border-radius: 10px 10px 0 0; }
.kit__in { display: grid; gap: var(--s-4); padding: 18px; }
.kit__tag { position: absolute; top: -11px; right: 12px; z-index: 2; height: 22px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 99px; font-size: 11.5px; font-weight: 600; color: #000; background: var(--aqua-blue); border: 1px solid var(--aqua-blue-edge); white-space: nowrap; }
.kit h3 { font-size: 22px; }

/* terminal banner */
.terminal { margin-top: 28px; border-radius: 11px; overflow: hidden; background: #1c1c1e; color: #e8e8e8; border: 1px solid #000; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.terminal__bar { height: 26px; display: flex; align-items: center; padding: 0 10px; background: #2a2a2c; }
.terminal__body { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px 22px; font-family: var(--f-mono); }
.terminal__title { font-size: 18px; color: #fff; margin-bottom: 8px; }
.terminal__body p:not(.terminal__title) { font-size: 13.5px; color: #a8a8a8; max-width: 60ch; line-height: 1.6; }
.terminal__note { text-align: center; font-size: 11.5px; color: var(--ink-3); margin-top: 10px; }

/* steps are windows */
.step { padding: 0 0 22px; border-radius: 11px; border-color: var(--win-edge); overflow: hidden; gap: 14px; }
.step .win__bar { margin-bottom: 0; }
.step__art { margin: 0 10px; border-radius: 8px; }
.step__body { padding: 0 18px; }
.step h3 { font-size: 21px; }

/* the note: a Notes window */
.notes { max-width: 640px; margin: 0 auto; border-radius: 11px; overflow: hidden; background: var(--card); border: 1px solid var(--win-edge); box-shadow: 0 30px 60px -30px rgba(0,0,0,.4); }
.win__bar--notes { background: linear-gradient(#f9f1cf, #efe2a8); }
:root[data-theme="dark"] .win__bar--notes { background: linear-gradient(#4a4228, #3a3420); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .win__bar--notes { background: linear-gradient(#4a4228, #3a3420); } }
.notes__body { padding: 28px 34px 30px; display: grid; gap: 14px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.notes__body p:nth-of-type(2) { color: var(--ink); font-weight: 500; font-size: 19px; }
.notes__date { font-size: 12px !important; color: var(--ink-3) !important; text-align: center; }
.notes mark { background: linear-gradient(transparent 12%, #fff3a3 12%, #fff3a3 88%, transparent 88%); color: var(--ink); padding: 0 2px; }
:root[data-theme="dark"] .notes mark { background: linear-gradient(transparent 12%, #5c5220 12%, #5c5220 88%, transparent 88%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .notes mark { background: linear-gradient(transparent 12%, #5c5220 12%, #5c5220 88%, transparent 88%); } }
.notes__sign { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.notes__vee { width: 40px; height: 40px; color: var(--ink); }
.notes__sign b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.notes__sign span { font-size: 12.5px; color: var(--ink-3); }
.notes__sig { margin-left: auto; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.045em; font-size: 30px !important; color: var(--ink) !important; transform: rotate(-6deg); }
.notes__sig i { font-style: normal; color: var(--coin); }

/* faq: white cards like heyclicky */
.faq { position: relative; display: block; max-width: 720px; margin: 0 auto; }
.faq__list { display: grid; gap: 10px; }
.qa, .qa:first-child { border: 0; background: var(--card); border-radius: 10px; padding: 0 20px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.qa summary { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; padding: 18px 0; }
.qa summary .plus { border: 0; width: 22px; height: 22px; color: var(--ink); }
.qa summary .plus svg { width: 14px; height: 14px; }
.qa[open] summary .plus { background: none; color: var(--ink); }
.qa__a { color: var(--ink-2); font-size: 15.5px; padding-bottom: 20px; }
.faq__vee { position: absolute; right: -96px; top: 210px; width: 64px; height: 64px; transform: rotate(8deg); }
@media (max-width: 1020px) { .faq__vee { display: none; } }

/* quick view is a window */
.quick__panel { grid-template-columns: 300px minmax(0, 1fr); grid-template-rows: auto 1fr; border-radius: 12px; border-color: var(--win-edge); }
.quick__bar { grid-column: 1 / -1; }
.quick__close { display: none; }
.quick__body h2 { padding-right: 0; }

/* footer */
.footer__mega { font-family: var(--f-display); font-weight: 600; font-stretch: normal; letter-spacing: -0.07em; }

/* ---- phones ------------------------------------------------------------------------- */
@media (max-width: 760px) {
  .hero__fine { font-size: 11.5px; }
  .marquee { margin-top: 56px; font-size: 34px; }
  .sky { border-radius: 22px; padding-block: 48px 52px; margin-inline: 8px; }
  .terminal__body { flex-direction: column; align-items: flex-start; gap: 16px; padding: 16px 16px 18px; }
  .terminal__title { font-size: 16px; }
  .notes__body { padding: 22px 20px 24px; font-size: 16px; }
  .notes__body p:nth-of-type(2) { font-size: 17.5px; }
  .notes__sig { font-size: 30px !important; }
  .qa { padding: 0 16px; }
  .qa summary { font-size: 16px; padding: 16px 0; }
  .quick__panel { grid-template-columns: minmax(0, 1fr); border-radius: 18px 18px 0 0; }
  .quick__art::before { display: none; }
  .menubar .mb-sys, .menubar .mb-clock { display: none; }
  .cart-link { height: 32px; font-size: 14.5px; }
}
@media (max-width: 560px) {
  .card__bar { display: none; }
  .card { border-radius: 16px; }
  .card__window { margin: 12px 0 0 12px; width: 66px; height: 66px; border-radius: 16px; }
}
@media (max-width: 360px) {
  .cart-link .cart-label { display: none; }
  .card__window { width: 56px; height: 56px; }
}

/* ==========================================================================
   footer: link columns, a keyboard wordmark, a quiet base row
   ========================================================================== */
.footer { margin-top: 120px; border-top: 0; overflow: visible; }
.footer__cols { margin-top: 88px !important; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr); gap: 32px; max-width: 1040px; margin: 0 auto; }
.footer h4 { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 14px; letter-spacing: -0.01em; }
.footer ul { display: grid; gap: 10px; }
.footer a, .footer .linkish { font-size: 13.5px; color: color-mix(in srgb, var(--ink) 55%, transparent); padding: 0; transition: color var(--d-fast); }
.footer a:hover, .footer .linkish:hover { color: var(--ink); }
.footer__disclaimer p { font-size: 13px; line-height: 1.55; color: color-mix(in srgb, var(--ink) 55%, transparent); max-width: 34ch; }

.footer__base { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 40px; padding-block: 18px 26px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.footer__status { display: inline-flex; align-items: center; gap: 8px; justify-self: center; }
.footer__status .live-dot { width: 6px; height: 6px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); }
.footer__base .footer__top-link { justify-self: end; font-size: 12.5px; color: var(--ink-3); }
.footer__base .footer__top-link:hover { color: var(--ink); }

@media (max-width: 1020px) {
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__disclaimer { grid-column: 1 / -1; }
  .footer__disclaimer p { max-width: 62ch; }
}
@media (max-width: 760px) {
  .footer { margin-top: 88px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer a, .footer .linkish { display: inline-block; padding: 4px 0; font-size: 14.5px; }
  .footer ul { gap: 4px; }
  .footer__base { grid-template-columns: 1fr auto; row-gap: 8px; margin-top: 28px; }
  .footer__status { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
}

/* ==========================================================================
   footer machine: a vending machine that actually vends
   ========================================================================== */
.machine__lead { text-align: center; font-family: var(--f-body); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(18px, 2vw, 22px); color: var(--ink-2); margin-bottom: 22px; }
.machine {
  --m-body: #18181b; --m-edge: #0a0a0b; --m-panel: #222226;
  position: relative; max-width: 1080px; margin: 0 auto 26px; padding: 16px; color: #ececec;
  border-radius: 30px 30px 20px 20px;
  background: linear-gradient(90deg, #0f0f11 0%, var(--m-body) 6%, #1d1d21 50%, var(--m-body) 94%, #0f0f11 100%);
  border: 1px solid var(--m-edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 50px 80px -40px rgba(0,0,0,.55), 0 18px 30px -18px rgba(0,0,0,.35);
}
:root[data-theme="dark"] .machine { --m-body: #1f1f23; border-color: #2c2c31; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .machine { --m-body: #1f1f23; border-color: #2c2c31; } }

/* the lit sign */
.machine__sign {
  position: relative; display: grid; justify-items: center; gap: 6px; padding: 26px 20px 22px; border-radius: 20px; overflow: hidden;
  background: radial-gradient(90% 140% at 50% -10%, #34343a 0%, #1a1a1e 55%, #121215 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 -10px 30px rgba(0,0,0,.5);
}
.machine__sign::before, .machine__sign::after { /* marquee bulbs, top and bottom */
  content: ""; position: absolute; left: 18px; right: 18px; height: 6px;
  background: radial-gradient(circle, #a9c8ff 0 2px, rgba(77,140,255,.35) 2.6px, transparent 3.2px) 0 0 / 22px 6px repeat-x;
  filter: drop-shadow(0 0 4px rgba(77,140,255,.7)); animation: bulbs 1.6s steps(2) infinite;
}
.machine__sign::before { top: 9px; }
.machine__sign::after { bottom: 9px; animation-delay: .8s; }
@keyframes bulbs { 50% { opacity: .45; } }
.machine__word { font-weight: 600; font-size: clamp(64px, 12vw, 156px); line-height: .9; letter-spacing: -0.065em; color: #fff; text-shadow: 0 0 22px rgba(255,255,255,.28), 0 0 2px rgba(255,255,255,.6); }
.machine__word i { font-style: normal; color: var(--coin); text-shadow: 0 0 24px rgba(77,140,255,.9), 0 0 6px rgba(77,140,255,.9); }
.machine__tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8d8d93; }

/* glass + side panel */
.machine__body { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 14px; margin-top: 14px; }
.machine__glass {
  position: relative; overflow: hidden; padding: 6px 14px 4px; border-radius: 14px;
  background: linear-gradient(180deg, #101013, #0b0b0d);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 0 0 7px #19191c, inset 0 10px 30px rgba(0,0,0,.85);
}
.machine__glass::after { /* glass glare */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(112deg, transparent 0 22%, rgba(255,255,255,.035) 22% 30%, transparent 30% 34%, rgba(255,255,255,.025) 34% 36%, transparent 36%);
}
.vrow { position: relative; display: grid; grid-template-columns: 18px repeat(8, minmax(0, 1fr)); align-items: end; gap: 6px; padding: 14px 4px 0; }
.vrow::after { /* the shelf */
  content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 4px; border-radius: 2px;
  background: linear-gradient(#3a3a40, #232327); box-shadow: 0 2px 4px rgba(0,0,0,.6);
}
.vrow__label { align-self: center; font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--coin); text-shadow: 0 0 6px rgba(77,140,255,.5); padding-bottom: 18px; }
.vslot { position: relative; z-index: 1; display: grid; justify-items: center; gap: 0; padding: 6px 2px 0; border: 0; border-radius: 10px; background: none; color: inherit; cursor: pointer; transition: background var(--d-fast); }
.vslot .tile { --size: clamp(30px, 3.4vw, 42px); transition: transform var(--d-mid) var(--spring), opacity var(--d-mid), filter var(--d-mid); z-index: 1; }
.vslot:hover .tile { transform: translateY(-4px) rotate(-3deg); }
.vslot__gap { height: clamp(30px, 3.4vw, 42px); }
.vcoil { width: 70%; height: 7px; margin-top: 2px; border-radius: 4px; background: repeating-linear-gradient(100deg, transparent 0 4px, #55555c 4px 5.5px); opacity: .9; }
.vslot__tag { display: grid; justify-items: center; margin-top: 8px; font-family: var(--f-mono); font-size: 10px; line-height: 1.25; color: #77777e; padding-bottom: 4px; }
.vslot__tag b { font-weight: 500; color: #d9d9de; }
.vslot--empty .vslot__tag b { color: #4d4d53; }
.vslot.is-selected { background: rgba(77,140,255,.12); box-shadow: inset 0 0 0 1px rgba(77,140,255,.55); }
.vslot.is-selected .vslot__tag b { color: var(--coin); }
.vslot.is-out .tile { opacity: .28; filter: grayscale(1); }
.vslot.is-out .vslot__tag b { color: #4fd18a; }
.vslot:focus-visible { outline: 2px solid var(--coin); outline-offset: 1px; }
.tile.dropping { animation: vdrop .52s cubic-bezier(.5, 0, .9, .4) forwards; }
@keyframes vdrop { 0% { transform: none; } 18% { transform: translateY(-6px) rotate(-4deg); } 100% { transform: translateY(180px) rotate(14deg); opacity: 0; } }

.machine__side { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 14px; background: linear-gradient(180deg, #2a2a2f, #1d1d21); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), inset 0 0 0 1px rgba(255,255,255,.04); }
.vdisplay { display: grid; gap: 4px; min-height: 66px; padding: 11px 12px; border-radius: 9px; background: #050506; box-shadow: inset 0 2px 10px rgba(0,0,0,.95), 0 1px 0 rgba(255,255,255,.06); font-family: var(--f-mono); }
.vdisplay__code { font-size: 17px; font-weight: 500; color: var(--coin); text-shadow: 0 0 10px rgba(77,140,255,.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vdisplay__name { font-size: 11px; color: #5d7fc6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vkeys { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.vkey { height: 34px; border-radius: 8px; border: 1px solid #08080a; background: linear-gradient(180deg, #45454b, #2c2c31); color: #ededf0; font-family: var(--f-mono); font-size: 13px; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 2px 0 #050506; transition: transform 80ms, box-shadow 80ms; }
.vkey:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 0 #050506; }
.vkey--wide { grid-column: span 2; font-size: 11.5px; color: #c9c9cf; }
.vkey:focus-visible { outline: 2px solid var(--coin); outline-offset: 1px; }
.vend-btn { --h: 42px; }
.vend-btn:disabled { filter: grayscale(.8) brightness(.8); opacity: .65; cursor: not-allowed; }
.vcoin { display: flex; align-items: center; gap: 12px; padding: 4px 2px 0; font-family: var(--f-mono); font-size: 10.5px; line-height: 1.35; color: #77777e; }
.vcoin__slot { position: relative; width: 22px; height: 44px; border-radius: 7px; background: linear-gradient(90deg, #6c6c73, #c8c8cf 45%, #6c6c73); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 2px 4px rgba(0,0,0,.6); flex: none; }
.vcoin__slot::after { content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 4px; margin-left: -2px; border-radius: 2px; background: #050506; }

/* dispense tray */
.machine__tray { position: relative; display: flex; align-items: center; justify-content: center; min-height: 92px; margin-top: 14px; padding: 12px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, #050506, #0e0e10); box-shadow: inset 0 10px 22px rgba(0,0,0,.95), inset 0 0 0 1px rgba(255,255,255,.05); }
.vtray__hint { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #4c4c52; }
.vitem { display: flex; align-items: center; gap: 14px; width: min(100%, 640px); padding: 10px 12px 10px 10px; border-radius: 12px; background: var(--card); color: var(--ink); box-shadow: 0 10px 24px -8px rgba(0,0,0,.7); }
.vitem .tile { --size: 44px; }
.vitem__info { display: grid; gap: 2px; min-width: 0; flex: 1; }
.vitem__info b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vitem__info span { font-size: 12px; color: var(--ink-3); }
.vitem .amt { font-size: 18px; }
.vitem__more { border: 0; background: none; padding: 6px 4px; font-size: 12.5px; color: var(--ink-3); }
.vitem__more:hover { color: var(--ink); }
.machine__tray.pop .vitem { animation: tray-pop .42s var(--spring); }
@keyframes tray-pop { from { transform: translateY(-46px) rotate(-3deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* feet, like vee */
.machine__foot { position: absolute; bottom: -16px; width: 64px; height: 18px; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #111113, #050506); }
.machine__foot--l { left: 12%; }
.machine__foot--r { right: 12%; }

@media (prefers-reduced-motion: reduce) { .machine__sign::before, .machine__sign::after { animation: none; } }

@media (max-width: 900px) {
  .machine__body { grid-template-columns: minmax(0, 1fr); }
  .machine__side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }
  .machine__side .vend-btn { grid-column: 1; }
  .vcoin { grid-column: 2; grid-row: 2; justify-content: flex-end; }
  .vdisplay { grid-column: 1; grid-row: 1; }
  .vkeys { grid-column: 2; grid-row: 1; }
}
@media (max-width: 560px) {
  .machine { padding: 10px; border-radius: 22px 22px 16px 16px; }
  .machine__sign { padding: 20px 12px 18px; border-radius: 16px; }
  .machine__word { font-size: 19vw; }
  .machine__tag { font-size: 9.5px; letter-spacing: .05em; }
  .machine__glass { padding: 2px 6px 2px; }
  .vrow { grid-template-columns: 10px repeat(8, minmax(0, 1fr)); gap: 2px; padding: 10px 0 0; }
  .vrow::after { bottom: 15px; height: 3px; }
  .vrow__label { font-size: 9.5px; padding-bottom: 14px; }
  .vslot { padding: 4px 0 0; border-radius: 7px; }
  .vslot .tile, .vslot__gap { --size: 28px; height: 28px; }
  .vslot__tag { font-size: 8.5px; margin-top: 5px; }
  .vslot__tag b { display: none; }
  .vcoil { height: 5px; }
  .machine__side { display: flex; flex-direction: column; align-items: stretch; }
  .machine__side > * { grid-column: auto !important; grid-row: auto !important; }
  .vcoin { display: none; }
  .vkey { height: 40px; font-size: 14px; }
  .vitem { flex-wrap: wrap; gap: 10px; }
  .vitem__info { flex: 1 1 60%; }
  .vitem .amt { margin-left: auto; }
  .vitem .btn { flex: 1; }
  .machine__foot { width: 46px; height: 14px; bottom: -13px; }
  .footer__cols { margin-top: 64px !important; }
}

/* receipt printer on the side panel */
.vprint { margin-top: auto; display: grid; justify-items: center; padding-top: 10px; }
.vprint__paper { position: relative; z-index: 1; width: 128px; padding: 10px 10px 14px; margin-bottom: -6px; background: #fbfbf7; color: #333; font-family: var(--f-mono); font-size: 10px; line-height: 1.5; text-align: center; border-radius: 2px 2px 0 0; transform: rotate(-2deg);
  box-shadow: 0 6px 12px -6px rgba(0,0,0,.6);
  -webkit-mask: radial-gradient(4px at 50% 0, #0000 98%, #000) 0 0 / 10px 100%; mask: radial-gradient(4px at 50% 0, #0000 98%, #000) 0 0 / 10px 100%; }
.vprint__slot { width: 160px; height: 10px; border-radius: 5px; background: #050506; box-shadow: inset 0 2px 4px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.08); position: relative; z-index: 2; }
@media (max-width: 900px) { .vprint { display: none; } }

/* ==========================================================================
   spacing & nav sizing pass
   ========================================================================== */
/* nav bar: taller, roomier, easier to hit */
:root { --menubar-h: 60px; }
.menubar { height: var(--menubar-h); }
.menubar__in { gap: 20px; }
.brand { gap: 10px; margin-right: 18px; }
.menubar .wm { font-size: 21px; }
.menubar__links { display: inline-flex; align-items: center; gap: 2px; }
.menubar__link { font-size: 14.5px; font-weight: 450; padding: 8px 12px; border-radius: 9px; color: color-mix(in srgb, var(--ink) 60%, transparent); transition: background var(--d-fast), color var(--d-fast); }
.menubar__link:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.menubar__mark { width: 42px; height: 42px; border-radius: 11px; }
.menubar__mark svg { width: 32px; height: 32px; }
.menubar__right { gap: 4px; }
.mb-sys { gap: 14px; padding: 0 10px; }
.mb-sys svg { width: 17px; height: 17px; }
.mb-sys svg.bat { width: 23px; height: 19px; }
.mb-btn { height: 38px; padding: 0 10px; border-radius: 10px; font-size: 14px; }
.mb-btn svg { width: 18px; height: 18px; }
.mb-clock { font-size: 14px; padding: 0 10px; }
.cart-link {
  height: 40px; padding: 0 14px 0 12px; margin-left: 8px; gap: 8px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.02em; color: #000;
  background: var(--aqua-blue); border: 1px solid var(--aqua-blue-edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -2px 4px rgba(34,24,152,.12), 0 6px 16px -8px rgba(0,0,0,.28);
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.cart-link:hover { background: var(--aqua-blue); filter: brightness(1.04) saturate(1.1); }
.cart-link svg { width: 17px; height: 17px; }
.cart-link .count { min-width: 20px; height: 20px; font-size: 11.5px; background: rgba(0,0,0,.85); color: #fff; text-shadow: none; }

/* hero: more air above and below, scaled to the screen */
.hero { padding-block: clamp(64px, 10vw, 148px) clamp(60px, 8.8vw, 128px); }
.hero__in { gap: 22px; }
.hero h1 { margin-top: 4px; }
.hero__fine { margin-top: 2px; }

@media (max-width: 760px) {
  :root { --menubar-h: 56px; }
  .menubar__in { gap: 10px; }
  .menubar .wm { font-size: 20px; }
  .menubar .brand__icon { width: 28px; height: 28px; }
  .mb-btn[data-search-jump] { width: 42px; height: 42px; }
  .mb-btn[data-search-jump] svg { width: 20px; height: 20px; }
  .cart-link { height: 40px; font-size: 15px; margin-left: 2px; }
  .hero { padding-block: 64px 60px; }
  .hero__in { gap: 18px; }
  .hero__stack { margin-bottom: 8px; }
}
@media (max-width: 380px) {
  .hero { padding-block: 52px 52px; }
  .menubar .wm { font-size: 19px; }
}
@media (max-width: 1020px) { .menubar__links { display: none; } }

/* ---- chips & label pills: themed surfaces (fixes the white rim in dark mode) ---------- */
:root { --chip-bg: var(--card); --chip-edge: var(--line-2); --chip-hi: rgba(255,255,255,.9); --chip-fg: var(--ink-2); --chip-hover-bg: var(--card); --chip-hover-edge: color-mix(in srgb, var(--ink) 28%, transparent); --chip-drop: 0 1px 2px rgba(0,0,0,.05); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --chip-bg: #1a1a1d; --chip-edge: rgba(255,255,255,.1); --chip-hi: rgba(255,255,255,.05); --chip-fg: #c2c2c8; --chip-hover-bg: #222226; --chip-hover-edge: rgba(255,255,255,.22); --chip-drop: 0 1px 2px rgba(0,0,0,.5); } }
:root[data-theme="dark"] { --chip-bg: #1a1a1d; --chip-edge: rgba(255,255,255,.1); --chip-hi: rgba(255,255,255,.05); --chip-fg: #c2c2c8; --chip-hover-bg: #222226; --chip-hover-edge: rgba(255,255,255,.22); --chip-drop: 0 1px 2px rgba(0,0,0,.5); }

.chip { background: var(--chip-bg); border-color: var(--chip-edge); color: var(--chip-fg); box-shadow: inset 0 1px 0 var(--chip-hi), var(--chip-drop); font-weight: 450; }
.chip:hover { background: var(--chip-hover-bg); border-color: var(--chip-hover-edge); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: none; }
.chip .n { opacity: .5; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }

.label-pill { background: var(--chip-bg); border-color: var(--chip-hover-edge); box-shadow: inset 0 1px 0 var(--chip-hi), var(--chip-drop); color: var(--ink-2); }
.label-pill--glass { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }

/* ---- hero search dropdown: never clipped, always on top ------------------------------ */
.hero { overflow-x: clip; overflow-y: visible; }
.hero__in { z-index: 25; }
.suggest { max-height: min(440px, 60vh); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 24px 60px -18px rgba(0,0,0,.45), 0 0 0 1px var(--line); border: 0; }
.suggest__item { padding: 10px 12px; }
.suggest__all { align-items: center; gap: 8px; padding: 12px 12px 10px; font-weight: 500; }
.suggest__all svg { width: 16px; height: 16px; flex: none; transition: transform var(--d-fast); }
.suggest__all:hover svg, .suggest__all[aria-selected="true"] svg { transform: translateX(3px); }
:root[data-theme="dark"] .suggest { box-shadow: 0 24px 60px -18px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.08); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .suggest { box-shadow: 0 24px 60px -18px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.08); } }


/* the footer machine is always dark, so its lights use a brighter blue */
.machine { --coin: #5b95ff; }

/* ---- wordmark: Unbounded, used only for the name "vendo." ----------------------------- */
.wm, .machine__word, .notes__sig { font-family: var(--f-wordmark); font-weight: 600; letter-spacing: -0.04em; }
.menubar .wm { font-size: 19px; }
.brand--lg .wm { font-size: 24px; }
.machine__word { font-size: clamp(54px, 10vw, 132px); letter-spacing: -0.05em; }
.notes__sig { font-size: 26px !important; }
@media (max-width: 760px) { .menubar .wm { font-size: 18px; } }
@media (max-width: 560px) { .machine__word { font-size: 15.5vw; } }
@media (max-width: 380px) { .menubar .wm { font-size: 17px; } }
/* kits sky: keep white type readable over bright clouds */
.sky::before { background: linear-gradient(180deg, rgba(10, 44, 130, .42) 0%, rgba(10, 44, 130, .16) 34%, rgba(10, 44, 130, 0) 52%); }
.sky .section-head h2 { text-shadow: 0 2px 24px rgba(6, 26, 90, .45), 0 1px 2px rgba(6, 26, 90, .25); }
.sky .section-head p { color: #fff; text-shadow: 0 1px 14px rgba(6, 26, 90, .6), 0 1px 2px rgba(6, 26, 90, .35); }
.sky::before { background:
  radial-gradient(46% 26% at 50% 21%, rgba(12, 46, 140, .42), rgba(12, 46, 140, 0) 72%),
  linear-gradient(180deg, rgba(10, 44, 130, .36) 0%, rgba(10, 44, 130, .12) 34%, rgba(10, 44, 130, 0) 52%); }
@media (max-width: 760px) { .sky::before { background:
  radial-gradient(90% 22% at 50% 14%, rgba(12, 46, 140, .45), rgba(12, 46, 140, 0) 75%),
  linear-gradient(180deg, rgba(10, 44, 130, .36) 0%, rgba(10, 44, 130, 0) 40%); } }

/* ==========================================================================
   trust row (all sizes) + phone hero redesign
   ========================================================================== */
.trust__ico { display: inline-grid; place-items: center; flex: none; }
.trust__ico svg { width: 18px; height: 18px; color: var(--ink); }
.trust__txt b { color: var(--ink); font-weight: 600; }
.trust__txt small { font-size: inherit; color: var(--ink-2); margin-left: .35em; }
.sub-short { display: none; }
.chip--all { display: none; }
.chip--all svg { width: 14px; height: 14px; flex: none; }

@media (max-width: 760px) {
  /* hero */
  .hero { padding-block: 44px 40px; }
  .hero__in { gap: 18px; }
  .hero__stack { margin-bottom: 4px; }
  .hero h1 { font-size: clamp(42px, 12vw, 58px); line-height: 1.02; }
  .sub-long { display: none; }
  .sub-short { display: inline; }
  .hero__sub { font-size: 17px; line-height: 1.45; max-width: 30ch; color: var(--ink-2); }
  .hero-search { margin-top: 4px; }
  .hero-search .field--lg { height: 54px; border-radius: 16px; }
  .hero__fine { display: none; }

  /* categories: a two-column grid, every option visible */
  .hero-chips {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
    justify-self: stretch; width: 100%; margin-inline: 0; padding-inline: 0;
    overflow: visible; -webkit-mask: none; mask: none;
  }
  .hero-chips .chip { height: 46px; padding: 0 14px; border-radius: 14px; justify-content: flex-start; gap: 10px; font-size: 14.5px; min-width: 0; }
  .hero-chips .chip .n { margin-left: auto; opacity: .55; }
  .hero-chips .chip--all { display: inline-flex; background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: none; }
  .hero-chips .chip--all .n { margin-left: auto; opacity: .6; }
  .hero-chips .chip--all:hover { background: var(--ink); color: var(--paper); }

  /* trust row: four small cards */
  .trust { background: transparent; border: 0; }
  .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 4px var(--gutter) 8px; }
  .trust li { display: grid; align-content: start; gap: 10px; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.04); font-size: 14px; line-height: 1.3; }
  .trust__ico { width: 34px; height: 34px; border-radius: 10px; background: var(--paper-2); margin: 0; }
  .trust__ico svg { width: 17px; height: 17px; margin: 0; }
  .trust__txt { display: grid; gap: 3px; }
  .trust__txt b { font-size: 14.5px; letter-spacing: -0.01em; }
  .trust__txt small { margin-left: 0; font-size: 13px; color: var(--ink-3); line-height: 1.35; }
  .shop { padding-top: 40px; }
}
@media (max-width: 380px) {
  .hero-chips .chip { padding: 0 12px; font-size: 13.5px; }
  .trust li { padding: 12px; }
}
@media (max-width: 360px) {
  .hero-chips .chip { gap: 8px; padding: 0 12px; }
  .hero-chips .chip:not(.chip--all) .n { display: none; }
}

/* ==========================================================================
   live store: announcement bar, sold-out states, discount codes, order placed
   (all driven from /operator through the local server)
   ========================================================================== */
.annbar { background: #0b0b0c; color: #f4f4f5; font-size: 13px; position: relative; z-index: 41; }
.annbar__in { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 10px; padding-block: 6px; padding-right: 44px; text-align: center; }
.annbar a, .annbar span { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.annbar a svg { width: 14px; height: 14px; color: #8fb0ff; transition: transform var(--d-fast) var(--ease); }
.annbar a:hover svg { transform: translateX(2px); }
.annbar__x { position: absolute; right: max(8px, var(--gutter)); top: 50%; translate: 0 -50%; width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: #8a8a90; cursor: pointer; }
.annbar__x:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.annbar__x svg { width: 14px; height: 14px; }

.btn--soldout, .btn--soldout:hover { color: var(--ink-3); background: var(--paper-2); border: 1px solid var(--line); box-shadow: none; text-shadow: none; filter: none; cursor: not-allowed; }
.card.is-soldout .card__window .tile { filter: grayscale(1); opacity: .45; }
.card.is-soldout .card__window .pill--sale, .card.is-soldout .card__off { display: none; }
.card.is-soldout .card__price .amt { color: var(--ink-3); }
.card .stock.is-out { color: var(--sale); }
.card .stock.is-out .live-dot { background: var(--sale); }
.vslot.is-sold .tile { opacity: .22; filter: grayscale(1); }
.vslot.is-sold .vslot__tag b { color: #ff7b81; }

.totals .row.disc { color: var(--ok); font-weight: 500; }
.totals .row.disc b { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .02em; }
.totals .row.disc .linkish { margin-left: 4px; padding: 0; border: 0; background: none; color: var(--ink-3); font-size: 12px; text-decoration: underline; cursor: pointer; }
.code-row { display: flex; gap: 8px; }
.code-row .field { flex: 1; }
.code-row input { font-family: var(--f-mono); text-transform: uppercase; font-size: 14px; letter-spacing: .02em; }
.code-row input::placeholder { font-family: var(--f-body); text-transform: none; letter-spacing: 0; }
.code-row .btn { --h: 42px; flex: none; }
.drawer__done b { font-size: 18px; color: var(--ink); }
.drawer__done strong { color: var(--ink); font-weight: 600; }
.drawer__done-total { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
