/* AXON ROBOTICS
   ---------------------------------------------------------------------------
   Concept: a diplomatic credential issued by a machine state. The visual world
   of an arms-control treaty body that happens to deal in humanoids — engraved
   display type, reference numbers, seals and registers — rendered in phosphor
   and brass on dark glass. The cyberpunk comes from the material (petrol dark,
   emissive seams, terminal data); the diplomacy comes from the structure
   (centred masthead, document rules, formal numbering, generous margins).

   Layout: centred masthead for authority over left-aligned body for reading.
   One 1240px rail. Hairline document rules carry hierarchy instead of card
   shadows; nothing floats.

   Motion: one signature — the backdrop robot tracking the cursor. Everything
   else is a response to an action, plus a single brass rule that draws itself
   under a section heading as it arrives.

   Single-theme by intent: the brief asks for cyberpunk, and a light variant
   would undo the whole material story. Token NAMES are kept from the previous
   build so the admin panel and every inline style in store.js keep resolving.
   --------------------------------------------------------------------------- */

/* The hidden attribute must always win. Any rule that sets display on an
   element (flex bars, grid shells) otherwise keeps it on screen after the
   script hides it. */
[hidden] { display: none !important; }


:root {
  /* "Laborator curat": white and light grey, one blue accent for actions.
     Token NAMES are kept from the dark build so admin.js, store.js inline
     styles and every rule below keep resolving. */
  --bg:            #ffffff;
  --bg-raised:     #f5f5f7;
  --bg-sunken:     #eef0f2;
  --bg-glass:      rgba(255, 255, 255, .82);

  --ink:           #1d1d1f;
  --ink-soft:      #515154;
  --ink-faint:     #636366;   /* AA on white and on the grey plates */

  --line:          #e5e5ea;
  --line-strong:   #c2c2c8;

  /* old registers, remapped: brass = the action blue, phosphor = data teal */
  --brass:         #005ee8;
  --oxblood:       #b42318;
  --phosphor:      #0b6e99;

  --accent:        #005ee8;
  --accent-ink:    #ffffff;
  --accent-soft:   rgba(10, 102, 255, .08);

  --good:          #15803d;
  --warn:          #b45309;
  --crit:          #c81e1e;

  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-code:    ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --radius:       14px;
  --radius-lg:    22px;

  --rail: 1240px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));

  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ------------------------------------------------------- the 3D backdrop */

/* The robot lives behind the entire document. The gradient underneath is the
   fallback when WebGL is unavailable, so the page is never a flat void. */
#backdrop-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(130% 95% at 78% 18%, rgba(10, 102, 255, 0.078) 0%, transparent 55%),
    radial-gradient(90% 80% at 12% 85%, rgba(10, 102, 255, 0.096) 0%, transparent 60%),
    linear-gradient(175deg, #ffffff 0%, var(--bg) 45%, #ffffff 100%);
}

#backdrop {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.6s ease .25s;
}
/* The figure is the hero on the front page. Everywhere else it is atmosphere
   behind dense content, so it drops right back and stops competing. */
#backdrop[data-ready="1"] { opacity: .3; }
body.is-home #backdrop[data-ready="1"] { opacity: .92; }

/* Scrim: keeps body copy legible where it crosses the figure, and carries the
   CRT scanline that does the cyberpunk work without a single image. */
#backdrop-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 0px, rgba(0, 0, 0, 0) 2px,
      rgba(0, 0, 0, 0) 3px, rgba(0, 0, 0, 0) 4px),
    linear-gradient(to right, var(--bg) 0%, rgba(255, 255, 255, 0.62) 42%, rgba(255, 255, 255, 0.18) 100%);
}

/* Everything above the backdrop. */
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* -------------------------------------------------------------- structure */

.rail {
  width: 100%;
  max-width: var(--rail);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

.band { width: 100%; }
.band--sunken {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.94));
  border-block: 1px solid var(--line);
}

/* ----------------------------------------------------------- typography */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.012em;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}

h1 { font-weight: 500; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--phosphor);
  outline-offset: 3px;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* Document label: engraved small caps rather than a tracked-out all-caps
   eyebrow. Bodoni's small caps are the point of using Bodoni. */
.doc-label {
  font-family: var(--font-display);
  font-variant: small-caps;
  letter-spacing: .08em;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------- masthead */

/* The band above a sticky header, so nothing scrolls into the system bar. */
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bg-sunken);
}

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-strong);
}

/* The brass hairline under the masthead draws itself once on load: the only
   uninvited motion on the page besides the robot. */
.site-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--brass) 18%, var(--brass) 82%, transparent);
  transform: scaleX(0);
  transform-origin: center;
  animation: draw-rule 1.5s cubic-bezier(.2, .8, .2, 1) .15s forwards;
}
@keyframes draw-rule { to { transform: scaleX(1); } }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: .04em;
  white-space: nowrap;
  color: var(--ink);
}

/* The mark is a seal: brass ring, phosphor core. */
.brand__mark {
  width: 28px; height: 28px;
  flex: none;
  position: relative;
  border: 1.5px solid var(--brass);
  border-radius: 50%;
}
.brand__mark::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(10, 102, 255, 0.45);
  border-radius: 50%;
}
.brand__mark::after {
  content: '';
  position: absolute;
  inset: 9px;
  background: var(--phosphor);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(10, 102, 255, 0.48);
}

.nav {
  display: flex;
  gap: 0;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  /* Category names are long, so the row scrolls on a narrow window. The mask
     makes the cut edge read as "more over here" instead of a clipped word. */
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
}
.nav::-webkit-scrollbar { display: none; }

.nav a {
  position: relative;
  padding: 8px 11px;
  text-decoration: none;
  font-size: 13.5px;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color .16s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 11px; right: 11px; bottom: 2px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s cubic-bezier(.2, .8, .2, 1);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a:last-child { padding-right: 30px; }
.nav a.is-active { color: var(--brass); }

.menu-btn { display: none; }
@media (max-width: 760px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 6px; margin-left: auto; min-height: 44px; padding: 0 16px;
    border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink);
    font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  }
  .site-header:not(.is-menu-open) .nav { display: none; }
  .site-header.is-menu-open .nav {
    display: flex; flex-direction: column; order: 3; width: 100%; flex: 1 1 100%;
    overflow: visible; -webkit-mask-image: none; mask-image: none;
  }
  .site-header.is-menu-open .nav a { padding: 13px 4px; font-size: 16px; border-top: 1px solid var(--line); }
  .site-header.is-menu-open .nav a:last-child { padding-right: 4px; }
  .site-header.is-menu-open .nav a::after { display: none; }
}

.header-actions { display: flex; align-items: center; gap: 9px; flex: none; }

/* -------------------------------------------------------------- controls */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid var(--line-strong);
  background: rgba(245, 245, 247, 0.6);
  color: var(--ink);
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14.5px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: border-color .18s, background .18s, color .18s;
}
.btn:hover { border-color: var(--brass); color: var(--brass); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn[disabled]:hover { border-color: var(--line-strong); color: var(--ink); }

/* The primary action is a brass plate: the stamped, authorised thing. */
.btn--primary {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--accent-ink);
  font-weight: 600;
}
.btn--primary:hover {
  background: #0055d4;
  border-color: #0055d4;
  color: var(--accent-ink);
  box-shadow: 0 0 22px rgba(10, 102, 255, 0.3);
}

.btn--ghost { background: transparent; border-color: transparent; color: var(--ink-soft); }
.btn--ghost:hover { background: rgba(10, 102, 255, 0.08); color: var(--brass); }

.btn--sm { padding: 7px 13px; font-size: 13px; }
.btn--block { width: 100%; }

.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: rgba(245, 245, 247, 0.6);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  transition: border-color .18s;
}
.cart-pill:hover { border-color: var(--phosphor); }
.cart-pill__count {
  font-family: var(--font-mono);
  background: var(--phosphor);
  color: var(--bg);
  border-radius: 2px;
  padding: 1px 7px;
  font-size: 12px;
  font-weight: 600;
}

.chip {
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 13.5px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: border-color .18s, color .18s, background .18s;
}
.chip:hover { border-color: var(--brass); color: var(--ink); }
.chip.is-active {
  background: var(--brass);
  color: var(--accent-ink);
  border-color: var(--brass);
  font-weight: 600;
}

/* ------------------------------------------------------------------ hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px;
  align-items: center;
  padding-block: 84px 72px;
  min-height: 70vh;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-variant: small-caps;
  letter-spacing: .1em;
  font-size: 15px;
  color: var(--brass);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(10, 102, 255, 0.5), transparent);
}

.hero h1 {
  font-size: clamp(40px, 6.4vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
  max-width: 50ch;
  margin: 0 0 32px;
}

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* The hero's right column is the credential: a formal register of what the
   company is, in the shape of a document rather than a marketing card. */
.hero__stage {
  border: 1px solid var(--line-strong);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  padding: 26px 26px 20px;
  position: relative;
}
/* corner ticks, like a registered form */
.hero__stage::before,
.hero__stage::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--brass);
}
.hero__stage::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero__stage::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.hero__readout {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--phosphor);
  letter-spacing: .06em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__readout::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--phosphor);
  box-shadow: 0 0 8px var(--phosphor);
  animation: live-pulse 2.4s ease-in-out infinite;
  flex: none;
}
@keyframes live-pulse { 50% { opacity: .25; } }

/* ----------------------------------------------------------- the register */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--line-strong);
  margin: 0;
}
.stat-strip div {
  padding: 24px 22px;
  border-left: 1px solid var(--line);
}
.stat-strip div:first-child { border-left: 0; }
.stat-strip dt {
  font-family: var(--font-display);
  font-variant: small-caps;
  letter-spacing: .06em;
  font-size: 13.5px;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.stat-strip dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  line-height: 1;
}

/* --------------------------------------------------------------- sections */

.section { padding-block: 72px; }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
/* The brass rule draws in as the section arrives. store.js adds .is-revealed;
   without JS the rule is simply already full width. */
.section__head::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--line-strong);
  transform: scaleX(1);
  transform-origin: left;
}
.reveal .section__head::after { transform: scaleX(0); }
.reveal.is-revealed .section__head::after {
  transform: scaleX(1);
  transition: transform 1.1s cubic-bezier(.2, .8, .2, 1);
}

.section__head h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.08;
}
.section__head p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  max-width: 56ch;
}

.filters { display: flex; gap: 9px; flex-wrap: wrap; }

/* ------------------------------------------------------------- dossiers */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

/* Cards share edges like cells in a register rather than floating as tiles,
   so the grid reads as one document. */
.card {
  display: flex;
  flex-direction: column;
  background: var(--bg-raised);
  text-decoration: none;
  position: relative;
  min-width: 0;
  transition: background .2s;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .2s;
}
.card:hover { background: #ececf0; }
.card:hover::after { border-color: var(--brass); }

/* No inset panel and no divider under it: the render is transparent, so the
   robot stands on the card itself rather than in a recessed box. */
.card__stage {
  aspect-ratio: 4 / 3;
  max-width: 100%;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.card__stage img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.card:hover .card__stage img { transform: scale(1.045); }

.card__tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}

.card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  min-width: 0;
}
.card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.card__tagline {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0;
  flex: 1;
  line-height: 1.55;
}
.card__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.card__price {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.card__price small {
  display: block;
  font-family: var(--font-display);
  font-variant: small-caps;
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--ink-faint);
  margin-top: 2px;
}

.stock {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.stock::before {
  content: '';
  width: 6px; height: 6px;
  background: currentColor;
  flex: none;
}
.stock--in { color: var(--good); }
.stock--low { color: var(--warn); }
.stock--out { color: var(--crit); }

/* --------------------------------------------------------- product page */

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  padding-block: 48px 72px;
  align-items: start;
}

/* The same robot, shrunk to sit beside the readiness bar in the orders list. */
.readiness { display: flex; align-items: center; gap: 12px; }
/* No frame and no backdrop: the render has a transparent background, so the
   robot stands on the page itself rather than inside a box. */
.order-thumb { width: 84px; height: 84px; flex: none; display: block; }

/* The order's robot as far as it has been built. Shorter than the product
   viewer: this sits above a timeline, not beside a buy button. */
.assembly { margin-bottom: 14px; }
.assembly__stage {
  /* A fixed height rather than an aspect-ratio: with a max-height, the ratio
     shrinks the box's width too and the robot ends up in a narrow column. */
  height: 320px;
  position: relative;
  touch-action: none;
  cursor: grab;
}
.assembly__stage:active { cursor: grabbing; }
.assembly__stage canvas { display: block; width: 100%; height: 100%; }
.assembly__caption {
  margin: 0;
  padding: 2px 0 4px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.viewer {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 92px);
}
.viewer__stage {
  aspect-ratio: 1 / 1;
  max-width: 100%;
  position: relative;
  touch-action: none;
  cursor: grab;
}
.viewer__stage:active { cursor: grabbing; }
.viewer__stage canvas { display: block; width: 100%; height: 100%; }
.viewer__hint {
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--ink-faint);
  pointer-events: none;
}
.viewer__bar {
  display: flex;
  border-top: 1px solid var(--line-strong);
}
.viewer__bar button {
  flex: 1;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line);
  padding: 13px 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  cursor: pointer;
  transition: color .18s, background .18s;
}
.viewer__bar button:first-child { border-left: 0; }
.viewer__bar button:hover { color: var(--ink); background: rgba(10, 102, 255, 0.036); }
.viewer__bar button.is-active {
  color: var(--phosphor);
  background: rgba(10, 102, 255, 0.06);
  box-shadow: inset 0 -2px 0 var(--phosphor);
}

.product__title {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.02;
  margin-bottom: 12px;
}
.product__tagline {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0 0 22px;
  line-height: 1.6;
}
.product__desc {
  color: var(--ink-soft);
  max-width: 62ch;
  line-height: 1.7;
  /* Keep the paragraphs and bullet lines a description was written with. */
  white-space: pre-line;
}

.price-block {
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--brass);
  padding: 22px;
  background: var(--bg-glass);
  margin-block: 26px;
}
.price-block__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.price-block__value {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.price-block__note { font-size: 12.5px; color: var(--ink-faint); margin-top: 6px; }

.optgroup { margin-bottom: 20px; }
.optgroup__label {
  font-family: var(--font-display);
  font-variant: small-caps;
  letter-spacing: .07em;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.optlist { display: flex; flex-direction: column; gap: 1px; background: var(--line); }
.optrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  cursor: pointer;
  background: var(--bg-raised);
  min-width: 0;
  transition: background .16s;
}
.optrow:hover { background: #ececf0; background: #ececf0; }
.optrow.is-on {
  background: rgba(10, 102, 255, 0.1);
  box-shadow: inset 2px 0 0 var(--brass);
}
.optrow input { accent-color: var(--brass); flex: none; }
.optrow span { flex: 1; font-size: 14.5px; min-width: 0; }
.optrow b {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-soft);
}
.optrow.is-on b { color: var(--brass); }

.specs { width: 100%; border-collapse: collapse; margin-top: 14px; }
.specs th, .specs td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.specs th {
  color: var(--ink-faint);
  font-weight: 400;
  width: 46%;
  font-family: var(--font-body);
}
.specs td {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.specs tr:hover td, .specs tr:hover th { background: rgba(10, 102, 255, 0.024); }

/* --------------------------------------------------------------- notices */

.notice {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--ink-faint);
  background: rgba(255, 255, 255, 0.5);
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-block: 16px;
  line-height: 1.6;
}
.notice strong { color: var(--ink); font-weight: 600; }
.notice--warn { border-left-color: var(--warn); }
.notice--crit { border-left-color: var(--crit); color: var(--crit); }
.notice--good { border-left-color: var(--good); }

/* ------------------------------------------------------------ cart, forms */

.layout-2col {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding-block: 40px 72px;
}

.panel {
  border: 1px solid var(--line-strong);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  padding: 24px;
}
.panel h3 {
  font-size: 19px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.summary { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); }
.summary__line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.summary__line span:last-child {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.summary__total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 15px;
  margin-top: 11px;
  border-top: 1px solid var(--brass);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
}
.summary__total span:last-child {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--brass);
}

.line-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.line-item__thumb {
  width: 82px;
  aspect-ratio: 1;
  overflow: hidden;
}
.line-item__thumb img { width: 100%; height: 100%; object-fit: contain; }
.line-item__name { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.line-item__opts { font-size: 12.5px; color: var(--ink-faint); margin: 0; }
.line-item__right { text-align: right; display: flex; flex-direction: column; gap: 9px; align-items: flex-end; }
.line-item__price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.qty { display: inline-flex; border: 1px solid var(--line-strong); }
.qty button {
  width: 30px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 16px;
  transition: color .16s, background .16s;
}
.qty button:hover { color: var(--brass); background: rgba(10, 102, 255, 0.1); }
.qty input {
  width: 42px;
  text-align: center;
  border: 0;
  border-inline: 1px solid var(--line);
  background: var(--bg-sunken);
  font-family: var(--font-mono);
  padding: 6px 0;
  color: var(--ink);
}

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; min-width: 0; }
.field label {
  font-family: var(--font-display);
  font-variant: small-caps;
  letter-spacing: .05em;
  font-size: 14px;
  color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--bg-sunken);
  width: 100%;
  font-size: 14.5px;
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--phosphor);
  outline: none;
  box-shadow: 0 0 0 1px var(--phosphor), 0 0 14px rgba(10, 102, 255, 0.108);
}
.field textarea { resize: vertical; min-height: 96px; font-family: var(--font-body); }
.field__hint { font-size: 12.5px; color: var(--ink-faint); line-height: 1.5; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 15px; }

.pay-methods { display: flex; flex-direction: column; gap: 1px; background: var(--line); margin-bottom: 18px; }
.pay-method {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 16px 17px;
  cursor: pointer;
  background: var(--bg-raised);
  transition: background .16s;
}
.pay-method:hover { background: #ececf0; }
.pay-method.is-on {
  background: rgba(10, 102, 255, 0.1);
  box-shadow: inset 2px 0 0 var(--brass);
}
.pay-method input { margin-top: 4px; accent-color: var(--brass); flex: none; }
.pay-method__title { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.pay-method__desc { font-size: 13px; color: var(--ink-soft); margin: 4px 0 0; line-height: 1.55; }

.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px 18px; font-size: 13.5px; margin: 0; }
.kv dt {
  font-family: var(--font-display);
  font-variant: small-caps;
  letter-spacing: .04em;
  color: var(--ink-faint);
}
.kv dd { margin: 0; font-family: var(--font-mono); word-break: break-all; color: var(--ink); }

/* ---------------------------------------------------------------- modal */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: max(20px, env(safe-area-inset-left, 0px));
  z-index: 100;
  animation: modal-in .22s ease;
}
@keyframes modal-in { from { opacity: 0; } }

.modal {
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--brass);
  width: min(480px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  padding: 30px;
}
.modal h3 { font-size: 25px; margin-bottom: 7px; }
.modal__sub { color: var(--ink-soft); font-size: 14px; margin: 0 0 22px; }
.modal__switch { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); text-align: center; }
.modal__switch button,
.text-btn {
  background: none;
  border: 0;
  color: var(--brass);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tabs { display: flex; border-bottom: 1px solid var(--line-strong); margin-bottom: 22px; }
.tabs button {
  flex: 1;
  padding: 11px;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  color: var(--ink-faint);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .18s, border-color .18s;
}
.tabs button:hover { color: var(--ink-soft); }
.tabs button.is-active { color: var(--brass); border-bottom-color: var(--brass); }

.form-error {
  background: rgba(200, 30, 30, 0.1);
  border: 1px solid var(--crit);
  border-left-width: 2px;
  color: #c81e1e;
  padding: 11px 14px;
  font-size: 13.5px;
  margin-bottom: 16px;
  line-height: 1.55;
}

/* -------------------------------------------------------- hero feature */

/* The hero's right column is a product you can buy, with its price, rather
   than a panel of facts about the company. */
.hero__feature {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 20px 22px 18px;
  transition: border-color .2s, background .2s;
}
.hero__feature:hover { border-color: var(--brass); background: rgba(245, 245, 247, 0.85); }

.hero__feature__art {
  aspect-ratio: 5 / 4;
  max-width: 100%;
  overflow: hidden;   /* a tall photo must not run under the name */
  margin: 6px 0 14px;
  display: grid;
  place-items: center;
}
.hero__feature__art img { width: 100%; height: 100%; object-fit: contain; }

.hero__feature__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 25px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hero__feature__line { margin: 5px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.hero__feature__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.hero__feature__price {
  font-size: 23px;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hero__feature__meta { font-size: 11.5px; color: var(--ink-faint); line-height: 1.5; }

/* --------------------------------------------------- catalogue weighting */

/* A platform is not a charging dock. Give the expensive, considered purchases
   the room that says so. */
/* One product per row, every row the same: picture left, facts right. */
.grid { grid-template-columns: 1fr; }
.card { flex-direction: row; }
.card .card__stage { flex: 0 0 340px; aspect-ratio: 4 / 3; }
.card__name { font-size: 22px; }
.card__specs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  gap: 10px 18px; margin: 4px 0 2px;
}
.card__specs dt { font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .06em; }
.card__specs dd { margin: 2px 0 0; font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.card__foot { align-items: center; }
.card__cta { margin-left: auto; }
.card:hover .card__cta { border-color: var(--accent); color: var(--accent); }

.card__lead {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-faint);
  margin-top: 4px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .card { flex-direction: column; }
  .card .card__stage { flex: none; }
  .card__foot { flex-wrap: wrap; }
}

.grid__empty { padding: 40px 24px; margin: 0; background: var(--bg-raised); color: var(--ink-soft); }

/* Long text on the product page opens on request. */
.product__desc.is-clamped {
  max-height: 13.5em; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 60%, transparent);
          mask-image: linear-gradient(#000 60%, transparent);
}
.specs.is-clamped tr.is-extra { display: none; }
.more { margin-top: 10px; }

/* --------------------------------------------------------- uploaded media */

/* Photos fill the card; the 3D renders keep object-fit: contain. */
/* Contain, not cover: a cropped robot loses its head or feet. */
.card__stage img.is-photo { object-fit: contain; }
.hero__feature__art img.is-photo { object-fit: contain; }
.compare-head img.is-photo,
.pick__body img.is-photo { object-fit: cover; }

/* A photo or video covering the 3D stage. */
.viewer__media {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  background: var(--bg);
  cursor: default; touch-action: auto;
}
.viewer__media img,
.viewer__media video { width: 100%; height: 100%; object-fit: contain; display: block; }
.viewer__full {
  position: absolute; right: 10px; bottom: 10px;
  padding: 5px 10px; font-size: 12px; text-decoration: none;
  background: rgba(255, 255, 255, 0.78); color: var(--ink); border: 1px solid var(--line-strong);
}
.viewer__full:hover { border-color: var(--accent); }

.gallery { display: grid; gap: 12px; padding: 12px 0; }
.gallery__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 6px;
}
.gallery__label span { color: var(--ink-faint); }
.gallery__row { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery__item {
  position: relative; flex: none;
  width: 84px; height: 63px; padding: 0;
  border: 1px solid var(--line); background: var(--bg-sunken);
  cursor: pointer; overflow: hidden; color: var(--ink-soft);
}
.gallery__item img, .gallery__item video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.gallery__item:hover { border-color: var(--line-strong); }
.gallery__item.is-active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.gallery__item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.gallery__item[draggable="true"] { cursor: grab; }
.gallery__item.is-dragging { opacity: .4; }
.gallery__item--model { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.gallery__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 15px; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.downloads { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.downloads a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 11px 2px; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
}
.downloads a:hover .downloads__name { color: var(--accent); }
.downloads__kind { font-size: 11px; padding: 2px 6px; border: 1px solid var(--brass); color: var(--brass); }
.downloads__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.downloads__size { font-size: 12px; color: var(--ink-faint); }

.cat-banner {
  display: block; width: 100%;
  aspect-ratio: 21 / 6; object-fit: cover;
  margin-bottom: 24px;
}

/* ------------------------------------------------------------- viewer note */

.viewer__note {
  margin: 0;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.5;
}

/* ----------------------------------------------------------- comparison */

.compare-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }

.compare-table th[scope="row"] {
  font-family: var(--font-body);
  font-variant: normal;
  letter-spacing: 0;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-faint);
  border-bottom: 1px solid var(--line);
  white-space: normal;
  width: 26%;
}
.compare-table td { color: var(--ink); }

.compare-head { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; min-width: 150px; }
.compare-head img { width: 100%; max-width: 160px; aspect-ratio: 4 / 3; object-fit: contain; }
.compare-head a {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.compare-head a:hover { color: var(--brass); }

/* -------------------------------------------------------------- chooser */

.chooser__q { margin-bottom: 26px; }
.chooser__opts { display: flex; flex-wrap: wrap; gap: 8px; }

.pick {
  border: 1px solid var(--line-strong);
  background: var(--bg-glass);
  margin-bottom: 16px;
}
.pick__rank {
  font-family: var(--font-display);
  font-variant: small-caps;
  letter-spacing: .07em;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
}
.pick__body { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 18px; align-items: start; }
.pick__body img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--bg-sunken); }
.pick__why { margin: 10px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.6; }
.pick__foot { display: flex; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.pick__foot .mono { font-size: 17px; color: var(--ink); }

@media (max-width: 680px) {
  .pick__body { grid-template-columns: 1fr; }
  .pick__body img { max-width: 220px; }
}

/* ------------------------------------------------------ build readiness */

.progress__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 7px;
}
.progress__pct {
  font-size: 18px;
  font-weight: 600;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}
.progress__stage { font-size: 12.5px; color: var(--ink-soft); }
.progress__eta { margin: 6px 0 0; font-size: 12px; color: var(--ink-faint); }

.progress__track {
  height: 5px;
  background: var(--bg-sunken);
  border: 1px solid var(--line);
  overflow: hidden;
}
.progress__fill {
  height: 100%;
  background: linear-gradient(to right, var(--oxblood), var(--brass));
  /* Grows when the workshop closes a stage, so the change is legible rather
     than a number that silently jumps between visits. */
  transition: width 1.1s cubic-bezier(.2, .8, .2, 1);
}

/* The timeline is a sequence, so it is numbered — the one place on this site
   where numbered markers describe something true about the content. */
.timeline {
  list-style: none;
  counter-reset: stage;
  margin: 22px 0 0;
  padding: 0;
}
.timeline__step {
  counter-increment: stage;
  position: relative;
  padding: 0 0 20px 38px;
  border-left: 1px solid var(--line);
  margin-left: 11px;
}
.timeline__step:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline__step::before {
  content: counter(stage);
  position: absolute;
  left: -11px;
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
}
.timeline__step.is-done::before {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--accent-ink);
  font-weight: 600;
}
.timeline__step.is-current::before {
  border-color: var(--phosphor);
  color: var(--phosphor);
  box-shadow: 0 0 12px rgba(10, 102, 255, 0.21);
}
.timeline__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink-faint);
  line-height: 1.3;
}
.timeline__step.is-done .timeline__label,
.timeline__step.is-current .timeline__label { color: var(--ink); }
.timeline__blurb { margin: 3px 0 0; font-size: 13px; color: var(--ink-faint); line-height: 1.5; }
.timeline__when { font-size: 11.5px; color: var(--ink-faint); margin-top: 5px; }
.timeline__step.is-done .timeline__when { color: var(--brass); }
.timeline__step.is-current .timeline__when { color: var(--phosphor); }

/* ---------------------------------------------------- identity providers */

.providers { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }

.provider {
  background: var(--bg-sunken);
  border-color: var(--line-strong);
  font-weight: 500;
}
.provider:hover { border-color: var(--phosphor); color: var(--ink); }
.provider__mark {
  width: 15px; height: 15px;
  flex: none;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  border-right-color: transparent;
  opacity: .75;
}

.or-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--ink-faint);
  font-size: 12.5px;
}
.or-rule::before, .or-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

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

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 580px; }
.data-table th {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-variant: small-caps;
  letter-spacing: .05em;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.data-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-soft);
}
.data-table tbody tr { transition: background .14s; }
.data-table tbody tr:hover { background: rgba(10, 102, 255, 0.03); }
.data-table a { color: var(--phosphor); text-decoration: none; }
.data-table a:hover { text-decoration: underline; }

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.badge--new { color: var(--phosphor); }
.badge--wait { color: var(--warn); }
.badge--ok { color: var(--good); }
.badge--off { color: var(--ink-faint); }
.badge--bad { color: var(--crit); }

/* --------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line-strong);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), var(--bg-sunken));
  margin-top: 72px;
}
.site-footer__inner {
  padding-block: 48px 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
}
.site-footer h4 {
  font-family: var(--font-display);
  font-variant: small-caps;
  letter-spacing: .07em;
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; font-size: 14px; transition: color .16s; }
.site-footer a:hover { color: var(--brass); }
.site-footer__legal {
  border-top: 1px solid var(--line);
  padding-block: 20px;
  font-size: 12.5px;
  color: var(--ink-faint);
  line-height: 1.6;
}

/* --------------------------------------------------------------- toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  background: var(--brass);
  color: var(--accent-ink);
  padding: 13px 22px;
  font-weight: 600;
  font-size: 14px;
  z-index: 200;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.125);
  animation: toast-in .28s cubic-bezier(.2, .8, .2, 1);
}
@keyframes toast-in {
  from { transform: translate(-50%, 16px); opacity: 0; }
}

/* ---------------------------------------------------------------- misc */

.empty {
  text-align: center;
  padding: 72px 24px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
}
.empty h3 { margin-bottom: 10px; font-size: 24px; }

.prose { max-width: 68ch; }
.prose h2 {
  font-size: 26px;
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.prose p { color: var(--ink-soft); line-height: 1.75; }
.prose ul { color: var(--ink-soft); padding-left: 22px; line-height: 1.75; }

/* ------------------------------------------------------- scroll reveals */

/* Content is visible by default. store.js only adds .reveal once the observer
   is wired, so a JS failure can never leave the page blank. */
.reveal > .grid,
.reveal > .layout-2col,
.reveal > .stat-strip {
  opacity: 0;
  transform: translateY(14px);
}
.reveal.is-revealed > .grid,
.reveal.is-revealed > .layout-2col,
.reveal.is-revealed > .stat-strip {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 52px 48px; min-height: 0; }
  .product { grid-template-columns: 1fr; gap: 32px; }
  .viewer { position: static; }
  .layout-2col { grid-template-columns: 1fr; }
  .summary { position: static; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip div:nth-child(3) { border-left: 0; }
  .stat-strip div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .site-header__inner { flex-wrap: wrap; gap: 12px; }
  .nav { order: 3; width: 100%; }
  .line-item { grid-template-columns: 62px minmax(0, 1fr); }
  .line-item__thumb { width: 62px; }
  .line-item__right { grid-column: 2; align-items: flex-start; text-align: left; }
  .section { padding-block: 48px; }
  .stat-strip dd { font-size: 27px; }
  /* The backdrop figure competes with content on a small screen: push it back. */
  body.is-home #backdrop[data-ready="1"] { opacity: .5; }
  #backdrop[data-ready="1"] { opacity: .22; }
  /* Label and value side by side leaves the value too little room to wrap. */
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dt { margin-top: 8px; }
  .kv dd { word-break: break-word; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal > .grid,
  .reveal > .layout-2col,
  .reveal > .stat-strip { opacity: 1; transform: none; }
}

/* ------------------------------------------------------- currency switch */
.cur-switch { display: inline-flex; border: 1px solid var(--line-strong); }
.cur-switch button {
  padding: 6px 9px; font: 500 12px/1 var(--font-mono); letter-spacing: .03em;
  background: transparent; color: var(--ink-soft); border: 0; cursor: pointer;
}
.cur-switch button + button { border-left: 1px solid var(--line-strong); }
.cur-switch button[aria-pressed="true"] { background: var(--brass); color: #ffffff; }
.cur-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ------------------------------------------------- what a buyer checks */
.buy-facts {
  display: grid; gap: 0; margin: 4px 0 22px;
  border-top: 1px solid var(--line);
}
.buy-facts div {
  display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.buy-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); padding-top: 2px; }
.buy-facts dd { margin: 0; font-size: 14px; color: var(--ink); line-height: 1.5; }

/* ------------------------------------------------- model comparison table */
.matrix { overflow-x: auto; margin: 0 0 28px; border: 1px solid var(--line); }
.matrix:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.matrix table { width: 100%; border-collapse: collapse; min-width: 640px; }
.matrix th, .matrix td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; vertical-align: top; }
.matrix thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); font-weight: 500; background: var(--bg-raised); }
.matrix tbody th { font-weight: 600; }
.matrix tbody th a { color: var(--ink); text-decoration: none; }
.matrix tbody th a:hover { color: var(--accent); }
.matrix td { color: var(--ink-soft); }
.matrix td.mono { color: var(--ink); white-space: nowrap; }
.matrix tbody tr:last-child > * { border-bottom: 0; }
.matrix tbody tr:hover > * { background: rgba(10, 102, 255, 0.024); }

/* ------------------------------------------------- photos on a light plate */
/* Product photos are shot on white. On the dark site they read as bright
   holes; a soft light plate makes them look placed on purpose. */
.card__stage:has(img.is-photo),
.hero__feature__art:has(img.is-photo),
.viewer__media:has(img) { background: #eef0f2; }
.card__stage img.is-photo,
.hero__feature__art img.is-photo { padding: 14px; box-sizing: border-box; mix-blend-mode: multiply; }
.viewer__media img { mix-blend-mode: multiply; }
.card__stage:has(img.is-photo) .card__tag { background: rgba(255, 255, 255, 0.88); color: #1d1d1f; }

/* ------------------------------------------------------------- ship to */
.ship-to { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-faint); }
.ship-to select {
  background: transparent; color: var(--ink); border: 1px solid var(--line-strong);
  font: 500 12px var(--font-body); padding: 5px 6px; max-width: 150px;
}
.ship-to select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ship-to option { background: var(--bg-raised); color: var(--ink); }
/* The selects carry aria-labels; their visible captions only fit on wide screens. */
@media (max-width: 1599px) { .ship-to span { display: none; } .ship-to select { max-width: 150px; } }
@media (max-width: 760px) { .ship-to select { max-width: 104px; } }

/* ------------------------------------------------ list tools and compare */
.list-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 16px; }
.list-tools:empty { display: none; }
.list-tools input[type=search], .list-tools select {
  background: var(--bg-raised); color: var(--ink); border: 1px solid var(--line-strong);
  font: 14px var(--font-body); padding: 9px 11px; min-height: 40px;
}
.list-tools input[type=search] { flex: 1 1 260px; min-width: 0; }
.list-tools__check { display: inline-flex; gap: 7px; align-items: center; font-size: 14px; color: var(--ink-soft); }
.list-tools input:focus-visible, .list-tools select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.card-wrap { position: relative; display: flex; min-width: 0; }
.card-wrap > .card { flex: 1; }
.card__compare {
  position: absolute; z-index: 2; top: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px; font-size: 12px; cursor: pointer;
  background: rgba(255, 255, 255, 0.88); color: #1d1d1f; border: 1px solid var(--line-strong);
}
.card__compare input { accent-color: var(--brass); margin: 0; }
.card__compare:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (min-width: 761px) { .card__compare { right: auto; left: calc(340px - 110px); } }

.compare-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--brass);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
}
.compare-bar[hidden] { display: none; }
.compare-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.compare-bar__names { font-size: 13.5px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.compare-bar__actions { display: flex; gap: 8px; flex: none; }
.compare-bar a[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ------------------------------------------- header with shop settings */
/* Language, country and currency need room: below 1280px the section links
   move to their own row instead of being cut off. */
@media (max-width: 1560px) {
  .site-header__inner { flex-wrap: wrap; row-gap: 10px; }
  .nav { order: 3; width: 100%; flex: 1 1 100%; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 600px) {
  .header-actions { flex: 1 1 100%; flex-wrap: wrap; justify-content: flex-start; row-gap: 8px; margin-left: 0; }
}

/* ------------------------------------------------------------ account */
.account__tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line-strong); margin-bottom: 22px; }
.account__tabs a {
  padding: 10px 14px; color: var(--ink-faint); text-decoration: none; border-bottom: 2px solid transparent;
  margin-bottom: -1px; font-size: .92rem; letter-spacing: .02em;
}
.account__tabs a:hover { color: var(--ink-soft); }
.account__tabs a.is-active { color: var(--brass); border-bottom-color: var(--brass); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-row > a, .stat-row > div { display: block; padding: 18px; border: 1px solid var(--line-strong); background: var(--bg-raised); color: var(--ink-soft); text-decoration: none; }
.stat-row > a b, .stat-row > div b { display: block; font-size: 2rem; color: var(--ink); font-weight: 600; line-height: 1.1; }
.stat-row > a:hover { border-color: var(--brass); }
.actions-list { list-style: none; margin: 0; padding: 0; }
.actions-list li { padding: 10px 0 10px 16px; border-bottom: 1px solid var(--line); position: relative; }
.actions-list li::before { content: ''; position: absolute; left: 0; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--phosphor); }
.actions-list .actions-list__security::before { background: var(--crit); }
.actions-list .actions-list__maintenance::before, .actions-list .actions-list__pay::before { background: var(--warn); }
.robot-card { display: block; margin-bottom: 16px; color: inherit; text-decoration: none; }
a.robot-card:hover { border-color: var(--brass); }
.robot-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.robot-card__head h3 { margin: 0; }
.offer { border-left: 3px solid var(--brass); padding-left: 14px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.ticket-list, .event-log { list-style: none; margin: 0; padding: 0; }
.ticket-list li, .event-log li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ticket-list li .badge { margin-left: 6px; }
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.addr-grid summary { cursor: pointer; }
.addr-grid form { margin-top: 16px; }
fieldset.field { border: 1px solid var(--line); padding: 12px; margin: 0 0 16px; }
fieldset.field legend { padding: 0 6px; color: var(--ink-soft); font-size: .85rem; }
label.check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; color: var(--ink-soft); cursor: pointer; }
label.check input { margin-top: 3px; accent-color: var(--brass); }
.thread { display: grid; gap: 12px; margin: 16px 0 20px; }
.thread__msg { padding: 14px; border: 1px solid var(--line); background: var(--bg-raised); max-width: 760px; }
.thread__msg--staff { border-left: 3px solid var(--brass); margin-left: 24px; }
.advisory--security { border-color: var(--crit); }
.advisory--update { border-color: var(--warn); }
.checklist { margin: 0 0 12px; padding-left: 18px; color: var(--ink-soft); line-height: 1.6; }
.btn--danger { color: var(--crit); border-color: var(--crit); }
@media (max-width: 640px) {
  .account__tabs { flex-wrap: nowrap; overflow-x: auto; }
  .account__tabs a { white-space: nowrap; }
  .addr-grid { grid-template-columns: 1fr; }
  .thread__msg--staff { margin-left: 0; }
}
.account .kv { margin-bottom: 16px; }
.accessories { list-style: none; margin: 0; padding: 0; }
.accessories li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.accessories a { display: flex; align-items: center; gap: 12px; color: inherit; }
.accessories img { width: 48px; height: 48px; object-fit: contain; background: #f5f5f7; }
.order-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.order-photos img, .order-photos video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border: 1px solid var(--line); }
#share-box input { padding: 8px 10px; background: var(--bg-sunken); color: var(--ink); border: 1px solid var(--line-strong); }
.acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2px 14px; margin-bottom: 10px; }

/* =====================================================================
   "Laborator curat" — the light theme. Placed last so it wins over the
   dark-era rules above without rewriting each of them.
   ===================================================================== */

body { font-size: 16px; line-height: 1.55; letter-spacing: -0.006em; }
#backdrop-layer { display: none; }
body::before { background: #fff; }

h1, h2, h3, h4 { font-weight: 650; letter-spacing: -0.025em; }
h1 { font-weight: 700; letter-spacing: -0.035em; }
h2 { letter-spacing: -0.03em; }
.mono { font-family: var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: 0; }
code, .code { font-family: var(--font-code); }

/* No more engraved small caps: plain sentence-case labels read faster. */
.doc-label, .hero__eyebrow, .stat-strip dt, .card__price small, .optgroup__label, .field label, .kv dt,
.pick__rank, .data-table th, .site-footer h4 {
  font-family: var(--font-body);
  font-variant: normal;
  letter-spacing: 0;
}
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.kv dt { color: var(--ink-faint); font-size: 13.5px; }
.data-table th { font-size: 13px; font-weight: 600; color: var(--ink-faint); }
.hero__eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); }
.optgroup__label { font-size: 15px; font-weight: 600; color: var(--ink); }
.site-footer h4 { font-size: 13px; font-weight: 600; color: var(--ink); }
.badge { letter-spacing: .02em; border-radius: 999px; }

/* Header: white glass, a single hairline, no drawn brass rule. */
.site-header { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.site-header::after { display: none; }
.brand { font-family: var(--font-body); font-weight: 700; font-size: 16px; letter-spacing: .14em; }
.brand__mark { border-color: var(--ink); }
.brand__mark::before { border-color: rgba(29, 29, 31, .35); }
.brand__mark::after { background: var(--accent); box-shadow: none; }

/* Controls: rounded, quiet, one blue. */
.btn { border-radius: 999px; background: #fff; padding: 12px 22px; font-weight: 600; min-height: 44px; }
.btn:hover { border-color: var(--ink-faint); }
.btn--primary { background: var(--accent); border-color: var(--accent); }
.btn--primary:hover { box-shadow: none; }
.btn--sm { min-height: 36px; padding: 7px 14px; }
.btn--ghost { background: transparent; }
.chip { border-radius: 999px; background: #fff; }
.field input, .field select, .field textarea {
  border-radius: 12px; background: #fff; border-color: var(--line-strong); font-size: 16px; min-height: 46px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 4px rgba(10, 102, 255, .15);
}
:focus-visible { outline: 3px solid rgba(10, 102, 255, .45); outline-offset: 2px; }

/* Surfaces: grey cards on white, generous radius, no glass. */
.panel { background: #fff; backdrop-filter: none; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.panel h3 { border-bottom: 0; padding-bottom: 0; }
.card { background: var(--bg-raised); border-radius: var(--radius-lg); overflow: hidden; }
.card::after { border-radius: var(--radius-lg); }
.card:hover { background: #ededf0; }
.modal { background: #fff; border: 0; border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0, 0, 0, .18); }
.band--sunken { background: var(--bg-raised); border-block: 0; }
.section__head { border-bottom: 0; }
.section__head::after { display: none; }
.site-footer { background: var(--bg-raised); border-top: 0; }
.drawer { border-radius: var(--radius-lg); }
.data-table tbody tr:hover { background: var(--bg-raised); }
.toast { border-radius: 14px; }

/* Product photos and 3D stages sit on the same soft grey plate everywhere. */
.viewer__stage, .viewer__media, .card__stage, .hero__feature__art {
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #eef0f2 72%);
  border-radius: var(--radius-lg);
}
.viewer__stage::before, .viewer__stage::after { display: none; }

/* Touch targets: the small header controls reach 44px on touch screens. */
@media (pointer: coarse) {
  .header-actions .btn, .header-actions select, .cur-switch button { min-height: 44px; }
}

/* ------------------------------------------------ hero: G1 live on a road */
.hero-live {
  position: relative; overflow: hidden;
  min-height: min(86vh, 820px);
  background: #f6f7f9 url('/models/g1-poster.webp') center / cover no-repeat;
  transition: background-color .6s ease, color .6s ease;
}
.hero-live.is-live { background-image: none; }
.hero-live > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-live__rail { position: relative; z-index: 2; pointer-events: none; }
.hero-live__copy { max-width: 540px; padding: clamp(40px, 9vh, 96px) 0 96px; pointer-events: auto; }
.hero-live h1 { font-size: clamp(34px, min(5.4vw, 8.5vh), 70px); line-height: 1.03; margin: 12px 0 18px; }
.hero-live__copy > p { font-size: 18px; color: var(--ink-soft); margin: 0 0 18px; max-width: 46ch; }
.hero-live__from { font-size: 16px !important; color: var(--ink) !important; }
.hero-live .hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-live__tools {
  position: absolute; z-index: 3; right: 20px; bottom: 20px; display: flex; gap: 6px;
  padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(10px);
  border: 1px solid var(--line);
}
.hero-live:not(.is-live) .hero-live__tools { display: none; }
.hero-live__tool {
  border: 0; background: transparent; color: var(--ink-soft); font-weight: 600; font-size: 13px;
  padding: 8px 14px; border-radius: 999px; cursor: pointer; min-height: 36px;
}
.hero-live__tool:hover { color: var(--ink); }
.hero-live__tool[aria-pressed="true"] { background: var(--ink); color: #fff; }
.hero-live__note { position: absolute; z-index: 2; left: max(20px, calc((100vw - var(--rail)) / 2 + 20px)); bottom: 26px; margin: 0; font-size: 12.5px; color: var(--ink-faint); }

/* Scanner labels pinned beside the joints. */
.g1-tag {
  position: absolute; z-index: 2; left: 0; top: 0; pointer-events: none; white-space: nowrap;
  font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #0b4f6c;
  padding: 4px 9px; border-radius: 6px; background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(34, 211, 238, .7); box-shadow: 0 0 0 3px rgba(34, 211, 238, .12);
  animation: g1-tag-in .35s ease both;
}
.g1-tag::before {
  content: ''; position: absolute; left: -14px; top: 50%; width: 12px; height: 1px; background: #22d3ee;
}
@keyframes g1-tag-in { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: none; } }

/* Night: wet asphalt and neon. The copy turns light with it. */
.hero-live.is-night { background-color: #070a12; color: #f5f7fb; }
.hero-live.is-night h1 { color: #ffffff; text-shadow: 0 0 28px rgba(34, 211, 238, .25); }
.hero-live.is-night .hero-live__copy > p, .hero-live.is-night .hero-live__from, .hero-live.is-night .hero-live__note { color: #b8c2d6 !important; }
.hero-live.is-night .hero__eyebrow { color: #22d3ee; }
.hero-live.is-night .btn:not(.btn--primary) { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .25); }
.hero-live.is-night .btn--primary { background: #ff2bd6; border-color: #ff2bd6; box-shadow: 0 0 24px rgba(255, 43, 214, .45); }
.hero-live.is-night .hero-live__tools { background: rgba(10, 14, 24, .7); border-color: rgba(255, 255, 255, .12); }
.hero-live.is-night .hero-live__tool { color: #b8c2d6; }
.hero-live.is-night .hero-live__tool[aria-pressed="true"] { background: #22d3ee; color: #041016; }
.hero-live.is-night .g1-tag { background: rgba(4, 16, 22, .82); color: #a5f3fc; }

@media (max-width: 800px) {
  .hero-live { min-height: 0; padding-bottom: 50vh; background-position: center bottom; background-size: cover; }
  .hero-live__copy { padding-top: 28px; }
  .hero-live h1 { font-size: 38px; }
  .hero-live__copy > p { font-size: 16px; }
  .hero-live__note { display: none; }
  .hero-live__tools { right: 50%; transform: translateX(50%); bottom: 14px; }
  .g1-tag { font-size: 11px; }
}

/* Product page: grouped datasheet and the sticky buy bar. */
.specs__group th { padding-top: 22px !important; font-size: 13px; font-weight: 600; color: var(--ink) !important; background: transparent !important; border-bottom: 1px solid var(--line-strong); }
.specs tbody:first-child .specs__group th { padding-top: 6px !important; }
.buybar {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px);
  animation: buybar-in .25s ease both;
}
@keyframes buybar-in { from { transform: translateY(100%); } }
.buybar__inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.buybar__name { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__price { font-weight: 600; font-size: 17px; }
@media (prefers-reduced-motion: reduce) { .buybar { animation: none; } }
@media (max-width: 760px) {
  .buybar__inner { gap: 10px; min-height: 60px; }
  .buybar__name { font-size: 14px; }
  .buybar__price { font-size: 15px; }
  /* The end of the page stays reachable above the bar. */
  body:has(.buybar:not([hidden])) { padding-bottom: 64px; }
}
.viewer, .summary { top: calc(env(safe-area-inset-top, 0px) + 132px); }

/* Header: one locale control, everything rounded. */
.locale { position: relative; }
.locale summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 6px 14px; border-radius: 999px; background: var(--bg-raised);
  font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.locale summary::-webkit-details-marker { display: none; }
.locale summary::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.locale[open] summary { background: #e8e8ed; }
.locale__panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; display: grid; gap: 12px; min-width: 240px;
  padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .12);
}
.locale__panel .ship-to { display: grid; gap: 4px; font-size: 12.5px; color: var(--ink-faint); }
.locale__panel .ship-to select { width: 100%; min-height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; padding: 6px 10px; font-size: 14px; }
.cur-switch { border-radius: 999px; overflow: hidden; }
.cur-switch button { flex: 1; min-height: 38px; }
.cart-pill { border-radius: 999px; }
@media (max-width: 640px) {
  .site-header__inner { flex-wrap: wrap; row-gap: 8px; }
  .header-actions { gap: 4px; }
  .header-actions .btn--ghost { padding: 6px 8px; }
  .locale__panel { position: fixed; left: 12px; right: 12px; top: auto; min-width: 0; }
  .hero-live { background-image: none; }
}

/* Account: finance, calendar, fleet, robot documents and parts, ticket files */
.cal-list { list-style: none; margin: 0; padding: 0; }
.cal-list li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.cal-list li:first-child { border-top: 0; }
.cal-list time { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-size: 13px; }
.cal-list .cal-kind { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.doc-list, .part-list { list-style: none; margin: 0; padding: 0; }
.doc-list li, .part-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.doc-list li:first-child, .part-list li:first-child { border-top: 0; }
.file-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.file-grid a { display: block; width: 112px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg-raised); font-size: 12px; text-decoration: none; color: var(--ink-soft); }
.file-grid img, .file-grid video { display: block; width: 100%; height: 84px; object-fit: cover; }
.file-grid span { display: block; padding: 6px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Growth: demo, rent, leasing, reviews, guides */
.grow-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: -6px 0 12px; }
.grow-facts { list-style: none; margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-raised); font-size: 13.5px; }
.grow-facts li { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; padding: 4px 0; }
.grow-facts b { min-width: 86px; font-weight: 600; }
.grow-facts span { color: var(--ink-soft); flex: 1; min-width: 180px; }
.faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 14.5px; }
.faq p { margin: 8px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.stars { color: #b7791f; letter-spacing: 1px; }
.reviews__avg { display: flex; gap: 8px; align-items: baseline; }
.review { border-top: 1px solid var(--line); padding: 12px 0; }
.review p { margin: 6px 0; font-size: 14px; line-height: 1.55; }
.slot-day { border: 0; padding: 0; margin: 0 0 14px; }
.slot-day legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.slot { display: inline-flex; margin: 0 6px 6px 0; }
.slot input { position: absolute; opacity: 0; }
.slot span { padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-variant-numeric: tabular-nums; cursor: pointer; }
.slot input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.slot input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.guide-card { display: block; text-decoration: none; color: inherit; }
.guide-card h4 { margin: 0 0 6px; font-size: 16px; }
.guide-card p { margin: 0; color: var(--ink-soft); font-size: 13.5px; }
.guide-card:hover { border-color: var(--accent); }
.article { max-width: 760px; }
.article h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 8px 0 12px; }
.article__lead { font-size: 18px; color: var(--ink-soft); }
.article__body h2 { font-size: 21px; margin: 28px 0 8px; }
.article__body p, .article__body li { font-size: 15.5px; line-height: 1.65; }
.summary__line--discount span:last-child { color: var(--status-good, #1a7f37); }
