:root {
  --ink: #0E0E0E;
  --steel: #161618;
  --steel-2: #1E1E21;
  --steel-3: #2A2A2E;
  --edge: #3C3C42;
  --paper: #F2F2EE;
  --paper-2: #D2CEC4;
  --mute: #A3A39C;
  --red: #E8001C;
  --red-deep: #A30014;
  --red-text: #FF4A5B;
  --amber: #FFB020;

  --f-stencil: 'Big Shoulders Stencil Display', 'Barlow Condensed', sans-serif;
  --f-cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Barlow', system-ui, sans-serif;

  --gutter: clamp(16px, 4.4vw, 72px);
  --topbar: 64px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --hazard: repeating-linear-gradient(-45deg, var(--red) 0 12px, var(--paper) 12px 24px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--topbar); scrollbar-color: var(--edge) var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--red);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: var(--grain);
  opacity: .045;
  pointer-events: none;
  z-index: 100;
}
::selection { background: var(--red); color: var(--paper); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--edge); border: 3px solid var(--ink); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }
h1, h2, h3, p, dl, dd, ol, figure { margin: 0; }
ol { padding: 0; list-style: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--paper); color: var(--ink); padding: 10px 16px;
  font: 600 .95rem var(--f-cond); text-transform: uppercase; letter-spacing: .06em;
}
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }
.icon { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- shared atoms ---------- */
.lamp {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: #3a2326;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.6);
  transition: background .25s, box-shadow .25s;
}
.lamp--on, .is-lit > .lamp, .lamp.is-lit {
  background: radial-gradient(circle at 40% 35%, #ff8a94, var(--red) 60%);
  box-shadow: 0 0 0 2px rgba(232,0,28,.18), 0 0 14px 2px rgba(232,0,28,.55);
}
.lamp--amber { background: radial-gradient(circle at 40% 35%, #ffe0a0, var(--amber) 60%); box-shadow: 0 0 12px 1px rgba(255,176,32,.45); }
.lamp--idle { background: #55555c; }
.rivet {
  position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: #3a3a40; border: 2px solid var(--ink);
}
.rivet--tl { top: 8px; left: 8px; } .rivet--tr { top: 8px; right: 8px; }
.rivet--bl { bottom: 8px; left: 8px; } .rivet--br { bottom: 8px; right: 8px; }

.btn {
  display: inline-flex; align-items: center; gap: .6em;
  min-height: 52px; padding: 0 1.4em;
  font: 700 1.05rem/1 var(--f-cond); letter-spacing: .07em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; border-radius: 3px;
  transition: transform .2s var(--ease-out), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn--red {
  background: var(--red); color: var(--paper);
  box-shadow: 0 10px 24px -10px rgba(232,0,28,.7);
}
.btn--red:hover { background: #ff1430; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(232,0,28,.8); }
.btn--red:active { transform: translateY(1px); box-shadow: 0 4px 10px -6px rgba(232,0,28,.7); }
.btn--ghost { color: var(--paper); border-color: var(--edge); }
.btn--ghost:hover { border-color: var(--paper); }
.btn--ghost .icon { transition: transform .3s var(--ease-out); }
.btn--ghost:hover .icon { transform: translateY(3px); }
.btn--sm { min-height: 40px; padding: 0 1em; font-size: .95rem; }

.h2 {
  font: 800 clamp(2.4rem, 5.4vw, 4.6rem)/1.14 var(--f-stencil);
  text-transform: uppercase;
  letter-spacing: -.005em;
  text-wrap: balance;
  max-width: 20ch;
}
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 6vw, 72px); }
.section-head__note { color: var(--mute); font-size: 1.125rem; max-width: 52ch; }

/* ---------- topbar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--topbar);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--gutter);
  background: var(--ink);
  border-bottom: 1px solid #232327;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.25rem/1 var(--f-cond); letter-spacing: .04em; text-transform: uppercase; }
.brand img { width: 34px; height: 34px; }
.brand--quiet img { width: 26px; height: 26px; }
.status { display: flex; align-items: center; gap: 8px; font: 600 .8rem/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font: 600 .95rem/1 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: #CFCFC8; padding: 8px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: var(--paper); border-color: var(--red); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: max(100svh, 680px);
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: var(--topbar);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(232,0,28,.07), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, #121214 70%, #19191c 100%);
}
.hero__copy { align-self: center; padding: clamp(28px, 5vh, 64px) var(--gutter) 24px; max-width: 980px; position: relative; z-index: 4; }
.hero__title {
  font: 900 clamp(3.3rem, 6.1vw, 6.2rem)/.92 var(--f-stencil);
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.hero__line { display: block; }
.hero__line--red { color: var(--red); }
.hero__lede { margin-top: clamp(20px, 3vh, 32px); max-width: 44ch; font-size: clamp(1.06rem, 1.25vw, 1.25rem); color: #D4D4CD; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3.4vh, 36px); }

/* badge */
.badge {
  position: absolute; z-index: 5;
  top: var(--topbar);
  right: calc(var(--gutter) + 2vw);
  width: clamp(180px, min(17vw, 24vh), 250px);
  transform-origin: 50% 0;
  display: none;
}
.badge__strap {
  display: block; margin: 0 auto; width: 26px; height: clamp(36px, 6vh, 70px);
  background: linear-gradient(90deg, #8f0011, var(--red) 30%, var(--red) 70%, #8f0011);
}
.badge__card {
  position: relative;
  background: var(--paper); color: var(--ink);
  border-radius: 10px;
  padding: 14px 14px 12px;
  box-shadow: 0 30px 50px -18px rgba(0,0,0,.85), 0 2px 0 rgba(255,255,255,.4) inset;
}
.badge__slot { position: absolute; top: 7px; left: 50%; width: 42px; height: 7px; margin-left: -21px; border-radius: 4px; background: #1b1b1e; }
.badge__head { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font: 700 1rem/1 var(--f-cond); text-transform: uppercase; letter-spacing: .05em; }
.badge__head img { width: 26px; height: 26px; }
.badge__no { margin-left: auto; font: 600 .8rem/1 var(--f-cond); font-variant-numeric: tabular-nums; color: #57574f; }
.badge__photo { margin-top: 12px; aspect-ratio: 3 / 4; }
.badge__body { display: grid; gap: 2px; margin-top: 12px; font: 600 .9rem/1.25 var(--f-cond); text-transform: uppercase; letter-spacing: .05em; color: #3a3a35; }
.badge__name { font: 900 1.7rem/.95 var(--f-stencil); color: var(--ink); letter-spacing: 0; margin-bottom: 4px; }
.badge__access { color: var(--red-deep); margin-top: 4px; }
.badge__barcode {
  display: block; height: 26px; margin-top: 10px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 17px);
}

.badge-mini {
  position: absolute; z-index: 4; right: var(--gutter); top: -50px;
  width: 82px; padding: 12px 6px 6px;
  background: var(--paper); color: var(--ink); border-radius: 6px;
  box-shadow: 0 16px 26px -12px rgba(0,0,0,.85);
  transform: rotate(3deg); transform-origin: 50% 0;
  text-align: center;
}
.badge-mini__clip { position: absolute; top: 4px; left: 50%; width: 26px; height: 5px; margin-left: -13px; border-radius: 3px; background: #1b1b1e; }
.badge-mini img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.badge-mini strong { display: block; margin-top: 5px; font: 900 .78rem/1 var(--f-stencil); text-transform: uppercase; }
.badge-mini span:last-child { display: block; margin-top: 3px; font: 600 .56rem/1 var(--f-cond); letter-spacing: .1em; color: #57574f; }
.photo { position: relative; overflow: hidden; background: #2a2a2e; border-radius: 3px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo__empty {
  position: absolute; inset: 0; display: none; place-items: center;
  font: 800 1.2rem/1 var(--f-stencil); letter-spacing: .08em; text-transform: uppercase; color: #77776f;
  background:
    linear-gradient(var(--edge), var(--edge)) top left / 18px 2px no-repeat,
    linear-gradient(var(--edge), var(--edge)) top left / 2px 18px no-repeat,
    linear-gradient(var(--edge), var(--edge)) bottom right / 18px 2px no-repeat,
    linear-gradient(var(--edge), var(--edge)) bottom right / 2px 18px no-repeat,
    repeating-linear-gradient(-45deg, #26262a 0 10px, #2c2c31 10px 20px);
}
.photo.is-empty img { display: none; }
.photo.is-empty .photo__empty { display: grid; }
.badge .photo.is-empty { background: #d9d6cd; }
.badge .photo__empty { color: #7a776d; background:
    linear-gradient(#a9a598, #a9a598) top left / 16px 2px no-repeat,
    linear-gradient(#a9a598, #a9a598) top left / 2px 16px no-repeat,
    linear-gradient(#a9a598, #a9a598) bottom right / 16px 2px no-repeat,
    linear-gradient(#a9a598, #a9a598) bottom right / 2px 16px no-repeat,
    repeating-linear-gradient(-45deg, #dedbd2 0 10px, #d5d2c8 10px 20px); }

/* stage: belt + machine */
.stage {
  --item: clamp(72px, 7.2vw, 104px);
  --belt-h: 22px;
  --belt-bottom: 46px;
  --head: 96px;
  position: relative; z-index: 3;
  height: 300px;
}
.belt { position: absolute; left: 0; right: 0; bottom: var(--belt-bottom); height: var(--belt-h); }
.belt__surface {
  position: absolute; inset: 0;
  background-color: #1b1b1e;
  background-image: repeating-linear-gradient(90deg, #303036 0 3px, transparent 3px 36px), linear-gradient(180deg, rgba(255,255,255,.07), transparent 40%);
  border-top: 2px solid #4b4b52;
  border-bottom: 2px solid #09090a;
}
.belt__rollers { position: absolute; left: 0; right: 0; top: calc(100% + 2px); height: 18px; display: flex; justify-content: space-between; padding: 0 6px; }
.roller {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: radial-gradient(circle, #1a1a1d 0 3px, transparent 3.5px), conic-gradient(#56565d 0 25%, #36363b 0 50%, #56565d 0 75%, #36363b 0);
  box-shadow: inset 0 0 0 2px #0c0c0d;
}
.belt__rail { position: absolute; left: 0; right: 0; top: calc(100% + 22px); height: 6px; background: var(--hazard); opacity: .85; }

.items { position: absolute; inset: 0; pointer-events: none; }
.item {
  position: absolute; left: 0;
  bottom: calc(var(--belt-bottom) + var(--belt-h) - 4px);
  width: var(--item); height: var(--item);
  will-change: transform;
}
.item svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.item__done { opacity: 0; }
.item.is-done .item__raw { opacity: 0; }
.item.is-done .item__done { opacity: 1; }
.item__tag {
  position: absolute; left: 50%; bottom: calc(100% + 6px);
  transform: translateX(-50%);
  white-space: nowrap;
  font: 600 .72rem/1 var(--f-cond); letter-spacing: .08em; text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: #8f8f88;
  padding: 4px 6px 3px;
  border: 1px solid #34343a;
  background: rgba(14,14,14,.85);
}
.item__tag::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 6px; background: #34343a; }
.item.is-done .item__tag { color: var(--paper); border-color: var(--red); background: var(--red-deep); }
.item.is-done .item__tag::after { background: var(--red); }
.item.is-reject .item__tag { color: #A3A39C; border-color: #4a4a50; background: #1A1A1D; }
.item.is-reject .item__tag::after { background: #4a4a50; }

.machine {
  position: absolute; z-index: 3;
  left: 50%; bottom: calc(var(--belt-bottom) - 10px);
  width: clamp(168px, 17vw, 236px);
  height: calc(100% - var(--belt-bottom) + 4px);
  transform: translateX(-50%);
  pointer-events: none;
}
.machine__head {
  position: absolute; left: 0; right: 0; top: 0; height: var(--head);
  background: linear-gradient(180deg, #3a3a40, #26262b);
  border: 2px solid #4d4d54;
  border-radius: 6px 6px 2px 2px;
  box-shadow: 0 18px 30px -14px rgba(0,0,0,.9);
  display: flex; align-items: center; gap: 12px; padding: 10px 14px 18px;
}
.machine__plate { width: 56px; height: 56px; flex: none; display: grid; place-items: center; background: var(--paper); border-radius: 4px; box-shadow: inset 0 0 0 2px #b8b5ab; }
.machine__plate img { width: 42px; height: 42px; }
.machine__readout {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 9px;
  background: #0a0a0b; border: 1px solid #000; border-radius: 3px;
  font: 600 .74rem/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: #8c8c86;
  white-space: nowrap; overflow: hidden;
}
.machine__readout.is-busy { color: var(--red-text); }
.machine__hazard { position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: var(--hazard); }
.machine__leg { position: absolute; top: calc(var(--head) - 8px); bottom: 0; width: 14px; background: linear-gradient(90deg, #2a2a2f, #46464d 50%, #2a2a2f); border: 1px solid #111; }
.machine__leg--l { left: 4px; } .machine__leg--r { right: 4px; }
.machine__piston { position: absolute; left: 50%; top: var(--head); width: 54px; margin-left: -27px; display: flex; flex-direction: column; align-items: center; }
.machine__piston::before { content: ""; width: 12px; height: 18px; background: linear-gradient(90deg, #6b6b72, #b7b7bd 50%, #6b6b72); }
.machine__piston span { width: 54px; height: 12px; background: linear-gradient(180deg, #55555c, #2c2c31); border: 1px solid #111; border-radius: 2px; box-shadow: 0 4px 0 -1px var(--red); }

.counter {
  position: absolute; left: var(--gutter); top: 4px; z-index: 4;
  display: flex; align-items: center; gap: 12px;
}
.counter__label { font: 600 .72rem/1.2 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.counter__digits { display: inline-flex; gap: 3px; }
.digit {
  display: block; width: 1.1em; height: 1.5em; overflow: hidden;
  font: 700 1.25rem/1.5em var(--f-cond); font-variant-numeric: tabular-nums; text-align: center;
  background: #070708; color: var(--paper); border: 1px solid #2c2c31; border-radius: 2px;
  box-shadow: inset 0 6px 8px -6px rgba(255,255,255,.12), inset 0 -6px 8px -6px rgba(0,0,0,.8);
}
.digit__reel { display: block; will-change: transform; }
.digit__reel span { display: block; height: 1.5em; }

/* ---------- how ---------- */
.how { position: relative; background: var(--steel); border-top: 1px solid #222226; }
.how__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--topbar) + 40px) 0 56px; overflow: hidden; }
.how__head { padding: 0 var(--gutter); margin-bottom: clamp(32px, 6vh, 64px); }
.how__note { margin-top: 16px; max-width: 52ch; color: var(--mute); font-size: 1.125rem; }
.how__viewport { position: relative; }
.how__track { display: flex; width: max-content; padding-inline: var(--gutter); }
.station {
  --s: clamp(480px, 52vw, 780px);
  width: var(--s);
  padding: 0 clamp(24px, 4vw, 64px) 190px 0;
}
.station__num {
  display: grid; place-items: center; flex: none;
  width: 1.15em; height: 1.15em;
  font: 900 clamp(1.8rem, 3.4vw, 3rem)/1 var(--f-stencil);
  color: var(--mute); border: 2px solid currentColor; border-radius: 50%;
  transition: color .4s, background-color .4s, border-color .4s;
}
.station.is-active .station__num { color: var(--red); background: var(--paper); border-color: var(--paper); }
.station__plate {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 16px 22px 14px;
  border: 2px solid var(--edge);
  transition: background-color .4s var(--ease-out), border-color .4s, color .4s;
}
.station h3 { font: 900 clamp(1.9rem, 3.1vw, 2.8rem)/1.12 var(--f-stencil); text-transform: uppercase; }
.station.is-active .station__plate { background: var(--red); border-color: var(--red); color: var(--paper); }
.station p { margin-top: 22px; max-width: 40ch; font-size: clamp(1.06rem, 1.3vw, 1.25rem); color: #D4D4CD; }
.how__belt { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; }
.piece { position: absolute; left: 50%; bottom: calc(100% - 4px); width: 132px; height: 132px; transform: translateX(-50%); }
.piece svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(.6); transition: opacity .35s, transform .6s var(--ease-out); }
.piece svg.is-on { opacity: 1; transform: none; }
.piece svg[data-s="0"].is-on { transform: rotate(-10deg); }
.piece__tag {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
  white-space: nowrap; padding: 4px 7px 3px;
  font: 600 .78rem/1 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; font-variant-numeric: tabular-nums;
  color: #8f8f88; border: 1px solid #34343a; background: rgba(14,14,14,.85);
  transition: color .3s, border-color .3s, background-color .3s;
}
.piece.is-final .piece__tag { color: var(--paper); border-color: var(--red); background: var(--red-deep); }

/* ---------- lines ---------- */
.lines { padding: clamp(88px, 12vw, 160px) 0; background: var(--ink); }
.plate {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 400px);
  gap: clamp(20px, 3.4vw, 48px);
  align-items: center;
  padding: clamp(32px, 4vw, 52px) 0;
  border-top: 2px solid #26262b;
}
.plate:last-of-type { border-bottom: 2px solid #26262b; }
.plate__status { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font: 600 .82rem/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.plate__body h3 { font: 700 clamp(1.6rem, 2.6vw, 2.25rem)/1.12 var(--f-cond); text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
.io { display: grid; gap: 10px; margin-top: 18px; }
.io div { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: baseline; }
.io dt { font: 700 .8rem/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.io div:last-child dt { color: var(--red-text); }
.io dd { font-size: 1.08rem; color: #DADAD3; max-width: 52ch; }
.plate__note { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #34343a; color: var(--paper); font-weight: 500; max-width: 54ch; }
.plate__parts { margin-top: 14px; font: 600 .86rem/1.4 var(--f-cond); letter-spacing: .1em; text-transform: uppercase; color: #8b8b84; }

.stamp {
  position: absolute; right: 0; top: clamp(18px, 2.4vw, 30px);
  padding: 6px 12px 4px;
  font: 900 1.05rem/1 var(--f-stencil); letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-text); border: 3px solid currentColor; border-radius: 3px;
  transform: rotate(-7deg);
  opacity: 0; visibility: hidden;
  mix-blend-mode: screen;
}
.plate.is-inspected .stamp { opacity: .9; visibility: visible; }

.mini { position: relative; height: 150px; }
.mini__belt { position: absolute; left: 0; right: 0; bottom: 18px; height: 12px; background-color: #1b1b1e; background-image: repeating-linear-gradient(90deg, #303036 0 2px, transparent 2px 24px); border-top: 2px solid #4b4b52; }
.mini__machine { position: absolute; left: 50%; bottom: 14px; width: 96px; height: 120px; transform: translateX(-50%); z-index: 2; }
.mini__machine::before, .mini__machine::after { content: ""; position: absolute; bottom: 0; top: 34px; width: 9px; background: linear-gradient(90deg, #2a2a2f, #46464d 50%, #2a2a2f); }
.mini__machine::before { left: 2px; } .mini__machine::after { right: 2px; }
.mini__head { position: absolute; inset: 0 0 auto; height: 38px; background: linear-gradient(180deg, #3a3a40, #26262b); border: 2px solid #4d4d54; border-radius: 4px 4px 2px 2px; display: grid; place-items: center; }
.mini__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--hazard); }
.mini__code {
  margin-bottom: 5px; padding: 3px 7px 2px;
  font: 900 .95rem/1 var(--f-stencil); letter-spacing: .06em; color: var(--paper);
  border: 1.5px solid #6a6a70; border-radius: 2px;
  transition: background-color .45s var(--ease-out), border-color .45s;
}
.plate.is-focus .mini__code { background: var(--red); border-color: var(--red); }
.mini__press { position: absolute; left: 50%; top: 38px; width: 32px; height: 8px; margin-left: -16px; background: linear-gradient(180deg, #55555c, #2c2c31); border-radius: 2px; box-shadow: 0 3px 0 -1px var(--red); }
.mini__item { position: absolute; bottom: 30px; left: 8%; width: 54px; height: 54px; transform: translateX(-50%); z-index: 1; }
.mini__item svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini__item .item__done { opacity: 0; }
.mini__item.is-done .item__raw { opacity: 0; }
.mini__item.is-done .item__done { opacity: 1; }

/* ---------- shop ---------- */
.shop { padding: clamp(88px, 12vw, 160px) 0; background: var(--steel); border-top: 1px solid #222226; }
.shop__side { display: grid; gap: 28px; align-content: start; }
.sealed {
  position: relative; padding: 26px 26px 24px;
  background: #0f0f11; border: 2px solid #3a3a40; border-radius: 4px;
}
.sealed::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--hazard); border-radius: 2px 2px 0 0; }
.sealed__title { display: flex; align-items: center; gap: 10px; margin-top: 6px; font: 800 1.15rem/1 var(--f-stencil); letter-spacing: .14em; text-transform: uppercase; }
.sealed p { margin-top: 12px; max-width: 46ch; color: #D0D0C9; }
.sealed__stamp {
  position: absolute; right: 22px; top: 26px;
  padding: 6px 12px 4px; border: 3px solid currentColor; border-radius: 3px;
  font: 900 1.05rem/1 var(--f-stencil); letter-spacing: .16em; text-transform: uppercase; color: var(--red-text);
  transform: rotate(-6deg); mix-blend-mode: screen;
}
.shop__grid { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.shop__photo { position: sticky; top: calc(var(--topbar) + 32px); }
.shop__tag {
  display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 12px 8px;
  background: #0a0a0b; border: 2px solid var(--edge); border-radius: 3px;
  font: 600 .8rem/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: #CFCFC8;
}
.shop__photo .photo { aspect-ratio: 3 / 4; border: 2px solid #3a3a40; border-radius: 4px; box-shadow: 0 30px 50px -28px rgba(0,0,0,.9); }
.parts { width: 100%; border-collapse: collapse; }
.parts__caption { caption-side: top; text-align: left; padding: 4px 0 16px; font: 800 1.15rem/1 var(--f-stencil); letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); }
.parts__caption .lamp { margin-right: 10px; vertical-align: 1px; }
.parts th, .parts td { text-align: left; padding: 18px 16px; border-bottom: 1px solid #2c2c31; vertical-align: baseline; }
.parts thead th { font: 700 .8rem/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); border-bottom: 2px solid var(--edge); padding-top: 0; }
.parts tbody td:first-child { width: 110px; font: 700 1rem/1 var(--f-cond); letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--red-text); }
.parts tbody th { width: 30%; font: 700 clamp(1.25rem, 2vw, 1.6rem)/1.1 var(--f-cond); text-transform: uppercase; letter-spacing: .02em; }
.parts tbody td:last-child { color: #CFCFC8; font-size: 1.08rem; }
.parts tbody tr { transition: background-color .25s; }
.parts tbody tr:hover { background: var(--steel-3); }
.parts tbody tr.parts__group:hover { background: none; }
.parts__group th {
  padding: 30px 16px 12px; border-bottom: 2px solid var(--edge);
  font: 800 1rem/1 var(--f-stencil); letter-spacing: .14em; text-transform: uppercase; color: var(--paper);
}
.parts__group th .lamp { margin-right: 10px; vertical-align: 1px; }
.parts tbody:first-of-type .parts__group th { padding-top: 14px; }
.parts__group--you th { color: var(--red-text); }

/* ---------- who ---------- */
.who { padding: clamp(88px, 12vw, 160px) 0; background: var(--ink); }
.who__grid { display: grid; grid-template-columns: minmax(280px, 440px) 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.ficha {
  position: relative;
  padding: 22px 22px 18px;
  background: var(--steel);
  border: 2px solid #3a3a40; border-radius: 6px;
  box-shadow: 0 40px 60px -30px rgba(0,0,0,.9);
}
.ficha__photo { aspect-ratio: 4 / 5; }
.ficha__label { display: flex; justify-content: space-between; margin-top: 14px; font: 700 .9rem/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.who__text { display: grid; gap: 20px; max-width: 60ch; }
.who__text .h2 { margin-bottom: 8px; }
.who__lead { font: 600 clamp(1.3rem, 2vw, 1.6rem)/1.3 var(--f-body); color: var(--paper); }
.who__text p:not(.who__lead) { color: #D0D0C9; font-size: 1.12rem; }
.terms { display: grid; gap: 0; margin-top: 12px; border-top: 2px solid #26262b; }
.terms div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #26262b; }
.terms dt { font: 700 .85rem/1.4 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.terms dd { color: var(--paper); }

/* ---------- start ---------- */
.start { position: relative; padding: clamp(96px, 13vw, 180px) 0 clamp(80px, 10vw, 140px); background: radial-gradient(ellipse 50% 60% at 50% 60%, rgba(232,0,28,.12), transparent 70%), var(--steel); text-align: center; }
.start::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--hazard); }
.start__inner { display: grid; justify-items: center; }
.start__title { font: 900 clamp(2.6rem, 6.4vw, 5.6rem)/1.14 var(--f-stencil); text-transform: uppercase; max-width: 18ch; text-wrap: balance; }
.start__lede { margin-top: 22px; max-width: 44ch; font-size: clamp(1.08rem, 1.4vw, 1.3rem); color: #D4D4CD; }
.push {
  --size: clamp(190px, 22vw, 240px);
  position: relative; display: block;
  width: var(--size); height: var(--size);
  margin-top: clamp(48px, 7vw, 80px);
  margin-bottom: 96px;
  border-radius: 50%;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.push__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 22px 28px rgba(0,0,0,.6)); }
.push__ring { transform-box: view-box; transform-origin: 120px 120px; transition: transform 1.2s var(--ease-out); }
.push__cap { transition: transform .12s ease-out; }
.push:hover .push__ring { transform: rotate(40deg); }
.push:hover .push__cap { transform: translateY(-2px); }
.push:active .push__cap, .push.is-pressed .push__cap { transform: translateY(10px); }
.push.is-pressed .push__ring { transform: rotate(220deg); transition-duration: .8s; }
.push__label {
  position: absolute; left: 50%; top: calc(100% + 24px); transform: translateX(-50%);
  display: grid; gap: 6px; white-space: nowrap;
  padding: 12px 20px 10px;
  background: #0a0a0b; border: 2px solid var(--edge); border-radius: 3px;
  font: 800 1.15rem/1 var(--f-stencil); letter-spacing: .14em; text-transform: uppercase; color: var(--paper);
}
.push__label small { font: 600 .74rem/1 var(--f-cond); letter-spacing: .14em; color: var(--mute); }
.push:focus-visible { outline: none; }
.push:focus-visible .push__label { outline: 3px solid var(--paper); outline-offset: 3px; }

/* ---------- footer ---------- */
.footer { padding: 28px 0 36px; background: var(--ink); border-top: 1px solid #222226; font: 600 .9rem/1.4 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.footer__links { display: flex; gap: 14px; margin-left: auto; }
.footer__links a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #2c2c31; border-radius: 3px; color: var(--paper); transition: border-color .2s, background-color .2s; }
.footer__links a:hover { border-color: var(--red); background: var(--red-deep); }
.footer__fine { flex-basis: 100%; font-size: .78rem; color: #7d7d77; }

/* ---------- responsive ---------- */
@media (min-width: 900px) {
  .badge { display: block; }
  .badge-mini { display: none; }
}
@media (min-width: 1100px) {
  .hero__copy { max-width: min(72vw, 1060px); }
}
@media (min-width: 641px) and (max-height: 820px) {
  .hero__title { font-size: clamp(3rem, 5.6vw, 5.4rem); }
  .stage { height: 260px; --item: 84px; --head: 80px; }
  .machine__head { padding: 8px 12px 16px; }
  .machine__plate { width: 48px; height: 48px; }
  .machine__plate img { width: 36px; height: 36px; }
}
@media (max-width: 1099px) {
  .nav { display: none; }
  .status { margin-left: auto; }
}
@media (max-width: 899px) {
  .how__pin { min-height: 0; padding: 88px 0 72px; }
  .how__track { flex-direction: column; width: auto; gap: 52px; }
  .station { width: auto; padding: 0; }
  .how__belt { display: none; }
  .station { padding-bottom: 0; }
  .plate { grid-template-columns: 1fr; gap: 18px; }
  .mini { height: 130px; max-width: 420px; }
  .who__grid { grid-template-columns: 1fr; }
  .ficha { max-width: 420px; }
  .shop__grid { grid-template-columns: 1fr; }
  .shop__photo { position: static; }
  .shop__photo .photo { aspect-ratio: 4 / 3; }
  .shop__photo img { object-position: 50% 30%; }
}
@media (max-width: 640px) {
  :root { --topbar: 58px; }
  .topbar { gap: 14px; }
  .status { display: none; }
  .topbar .brand span { display: none; }
  .topbar .btn--sm { margin-left: auto; }
  .hero__copy { padding-top: 20px; padding-bottom: 12px; }
  .hero__title { font-size: clamp(2.2rem, 11vw, 4.2rem); }
  .hero__lede { margin-top: 16px; }
  .hero__actions { margin-top: 20px; gap: 10px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; min-height: 48px; }
  .stage { --item: 70px; --belt-bottom: 30px; --head: 78px; height: 240px; }
  .machine { width: 150px; }
  .machine__head { padding: 8px 10px 16px; gap: 8px; }
  .machine__plate { width: 44px; height: 44px; }
  .machine__plate img { width: 32px; height: 32px; }
  .machine__readout { font-size: .64rem; padding: 6px 7px; letter-spacing: .03em; }
  .stage { margin-top: 40px; }
  .counter { top: -36px; }
  .counter__label { font-size: .66rem; }
  .digit { font-size: 1.05rem; }
  .item__tag { font-size: .62rem; }
  .parts thead { display: none; }
  .parts, .parts tbody, .parts tr { display: block; }
  .parts__caption { display: block; width: 100%; }
  .parts tr { display: grid; grid-template-columns: 74px 1fr; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid #2c2c31; }
  .parts th, .parts td { padding: 0; border: 0; width: auto !important; }
  .parts tbody td:last-child { grid-column: 2; }
  .parts tr.parts__group { display: block; padding: 24px 0 10px; border-bottom: 2px solid var(--edge); }
  .parts__group th { padding: 0 !important; border: 0; }
  .terms div { grid-template-columns: 1fr; gap: 4px; }
  .stamp { font-size: .85rem; top: auto; bottom: clamp(48px, 12vw, 64px); }
  .footer__links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* brand name is the full "Pedro Pereira" */
@media (min-width: 1100px) and (max-width: 1279px) {
  .status { display: none; }
}

/* ---------- control panel demo ---------- */
.board { padding: clamp(88px, 12vw, 160px) 0; background: var(--ink); }
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  background: var(--steel);
  border: 2px solid #3a3a40; border-radius: 6px;
  box-shadow: 0 40px 70px -40px rgba(0,0,0,.9);
}
.panel__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px;
  padding: 4px 6px 18px; border-bottom: 2px solid #2c2c31;
}
.panel__title { font: 800 1.25rem/1 var(--f-stencil); letter-spacing: .1em; text-transform: uppercase; }
.panel__readout { margin-right: auto; }
.panel__lamps { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.panel__sys { display: inline-flex; align-items: center; gap: 8px; font: 600 .8rem/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: #CFCFC8; }
.panel__pause {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 16px 0 8px;
  font: 700 .95rem/1 var(--f-cond); letter-spacing: .1em; text-transform: uppercase; color: var(--paper);
  background: #0a0a0b; border: 2px solid var(--edge); border-radius: 3px; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.panel__pause:hover { border-color: var(--red); }
.panel__pause-cap { width: 28px; height: 28px; border-radius: 50%; background: var(--red); border: 2.5px solid var(--ink); box-shadow: 0 0 0 2px #3a3a40; transition: transform .12s; }
.panel__pause:active .panel__pause-cap { transform: scale(.88); }
.panel.is-paused .panel__pause { border-color: var(--amber); }
.panel.is-paused .panel__pause-cap { background: var(--amber); }
.panel__stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 2px solid #2c2c31; }
.panel__stats div { padding: 18px 8px 16px; border-right: 1px solid #2c2c31; }
.panel__stats div:last-child { border-right: 0; }
.panel__stats dt { font: 600 .74rem/1.2 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.panel__stats dd { margin-top: 8px; font: 700 clamp(1.8rem, 3vw, 2.6rem)/1 var(--f-cond); font-variant-numeric: tabular-nums; color: var(--paper); }
.panel__stats dd small { font-size: .5em; color: var(--mute); margin-left: 2px; }
.panel__stats div:last-child dd { color: var(--red-text); }
.kanban { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding-top: 16px; }
.kcol { min-width: 0; padding: 10px; background: #111113; border: 1px solid #26262b; border-radius: 3px; }
.kcol h3 { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 10px; font: 700 .8rem/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: #CFCFC8; }
.kcol--wa h3 { color: var(--red-text); }
.kcol ol { display: grid; gap: 8px; height: 296px; align-content: start; }
.kcard {
  display: grid; gap: 3px; padding: 8px 10px 8px; min-width: 0;
  background: #0f0f11; border: 1px solid #3a3a40; border-radius: 2px;
  transition: border-color .4s, background-color .4s;
}
.kcard.is-moving { border-color: var(--red); }
.kcol--wa .kcard { background: var(--red-deep); border-color: var(--red); }
.kcard__no { font: 600 .7rem/1 var(--f-cond); letter-spacing: .1em; font-variant-numeric: tabular-nums; color: #8f8f88; }
.kcard__cat { font: 700 .95rem/1.15 var(--f-cond); letter-spacing: .03em; text-transform: uppercase; color: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcard__meta { font: 600 .72rem/1.2 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; color: #A3A39C; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcol--wa .kcard__no { color: #FFD4D8; }
.kcol--wa .kcard__meta { color: #FFD4D8; }
.panel__example {
  padding: 5px 9px 4px; border: 2px solid var(--paper); border-radius: 2px;
  font: 800 .82rem/1 var(--f-stencil); letter-spacing: .14em; text-transform: uppercase; color: var(--paper);
}
.panel__readout {
  padding: 6px 10px; background: #0a0a0b; border: 1px solid #000; border-radius: 3px;
  font: 600 .78rem/1 var(--f-cond); letter-spacing: .1em; text-transform: uppercase; color: #8c8c86;
}
.panel.is-limit .panel__readout, .panel.is-paused .panel__readout { color: var(--amber); }

/* ---------- interlocks ---------- */
.locks { padding: clamp(88px, 12vw, 160px) 0; background: var(--steel); border-top: 1px solid #222226; }
.interlocks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 72px); border-top: 2px solid var(--edge); }
.lock { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: start; padding: 22px 0; border-bottom: 1px solid #2c2c31; }
.lock__readout {
  display: flex; align-items: center; gap: 9px; padding: 9px 10px 8px;
  background: #0a0a0b; border: 1px solid #2c2c31; border-radius: 3px;
  font: 700 .82rem/1.1 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; font-variant-numeric: tabular-nums; color: var(--paper);
}
.interlocks .lamp { background: radial-gradient(circle at 40% 35%, #ff8a94, var(--red) 60%); box-shadow: 0 0 0 2px rgba(232,0,28,.18), 0 0 14px 2px rgba(232,0,28,.55); }
.interlocks.is-arming .lamp:not(.is-lit) { background: #3a2326; box-shadow: inset 0 1px 2px rgba(0,0,0,.6); }
.lock h3 { font: 700 clamp(1.25rem, 1.8vw, 1.5rem)/1.12 var(--f-cond); text-transform: uppercase; letter-spacing: .02em; }
.lock p { margin-top: 6px; color: #D0D0C9; max-width: 46ch; }

@media (max-width: 899px) {
  .panel__stats { grid-template-columns: 1fr 1fr; }
  .panel__stats div:nth-child(2) { border-right: 0; }
  .panel__stats div:nth-child(-n+2) { border-bottom: 1px solid #2c2c31; }
  .kanban { grid-template-columns: repeat(5, minmax(180px, 1fr)); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
  .kcol { scroll-snap-align: start; }
  .interlocks { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .panel__bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .panel__readout { margin-right: 0; }
  .panel__lamps { gap: 10px 18px; }
  .lock { grid-template-columns: 1fr; gap: 10px; }
  .lock__readout { justify-self: start; }
}
.how .h2 { max-width: 26ch; }
.station p { max-width: 44ch; }

/* ---------- solutions: three lines, one open at a time ---------- */
.solutions { padding: clamp(88px, 12vw, 160px) 0; background: var(--ink); border-top: 1px solid #222226; }
.sols { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .sols { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .sol[open] { grid-column: 1; grid-row: 1 / span 2; }
  .sols:has(.sol[open]) .sol:not([open]) { grid-column: 2; }
  .sols:not(:has(.sol[open])) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.sol {
  position: relative;
  background: var(--steel);
  border: 2px solid #3a3a40;
  border-radius: 6px;
  transition: border-color .25s, background-color .25s;
}
.sol:not([open]):hover { border-color: #55555c; background: var(--steel-2); }
.sol[open] {
  background: radial-gradient(ellipse 70% 45% at 85% 0%, rgba(232,0,28,.08), transparent 70%), var(--steel);
  border-color: #4a4a50;
  box-shadow: 0 40px 70px -36px rgba(0,0,0,.9);
}
.sol__sum {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "code chief toggle" "name name name";
  gap: 16px 14px;
  align-items: center;
  height: 100%;
  padding: clamp(22px, 2.6vw, 32px);
  cursor: pointer;
  list-style: none;
  border-radius: 4px;
}
.sol__sum::-webkit-details-marker { display: none; }
.sol[open] .sol__sum { height: auto; padding-bottom: 0; }
.sol__code {
  grid-area: code;
  padding: 4px 8px 3px;
  font: 900 1rem/1 var(--f-stencil); letter-spacing: .06em; color: var(--paper);
  border: 1.5px solid #6a6a70; border-radius: 2px;
  font-variant-numeric: tabular-nums;
  transition: background-color .45s var(--ease-out), border-color .45s;
}
.sol[open] .sol__code { background: var(--red); border-color: var(--red); }
.sol__chief {
  grid-area: chief; justify-self: start;
  padding: 5px 9px 4px;
  font: 800 .82rem/1 var(--f-stencil); letter-spacing: .12em; text-transform: uppercase;
  border: 2px solid var(--paper); border-radius: 2px;
}
.sol__name { grid-area: name; display: grid; gap: 8px; }
.sol__title {
  font: 700 clamp(1.4rem, 2.1vw, 1.85rem)/1.12 var(--f-cond);
  text-transform: uppercase; letter-spacing: .01em; text-wrap: balance;
}
.sol[open] .sol__title { font: 900 clamp(2rem, 3.4vw, 3rem)/1.12 var(--f-stencil); letter-spacing: -.005em; }
.sol__tease { color: #CFCFC8; max-width: 44ch; }
.sol[open] .sol__tease { display: none; }
.sol__toggle, .qa__toggle {
  width: 40px; height: 40px; padding: 9px; flex: none;
  color: var(--paper);
  border: 2px solid var(--edge); border-radius: 3px;
  transition: transform .35s var(--ease-out), border-color .2s, color .2s;
}
.sol__toggle { grid-area: toggle; }
.sol__sum:hover .sol__toggle, .qa summary:hover .qa__toggle { border-color: var(--paper); }
.sol__toggle use, .qa__toggle use { transform-box: fill-box; transform-origin: center; transition: transform .35s var(--ease-out); }
.sol[open] .sol__toggle use, .qa[open] .qa__toggle use { transform: rotate(45deg); }
.sol__body { padding: 18px clamp(22px, 2.6vw, 32px) clamp(24px, 2.8vw, 34px); }
.sol__lede { color: #D4D4CD; font-size: clamp(1.06rem, 1.2vw, 1.18rem); max-width: 56ch; }
.sol .io dd { max-width: 46ch; }
.sol__mini { height: 150px; max-width: 480px; margin-top: 26px; }
.sol__links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed #34343a; }
.sol__link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 .98rem/1 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: var(--paper); padding: 6px 0; border-bottom: 2px solid var(--red);
}
.sol__link .icon { transition: transform .3s var(--ease-out); }
.sol__link:hover .icon { transform: translateX(4px); }

/* ---------- pricing ---------- */
.pricing { padding: clamp(88px, 12vw, 160px) 0; background: var(--ink); border-top: 1px solid #222226; }
.prices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 1fr); gap: 18px; align-items: stretch; padding-block: 18px; }
.price {
  position: relative;
  display: flex; flex-direction: column;
  padding: 40px clamp(22px, 2.4vw, 34px) 32px;
  background: var(--steel);
  border: 2px solid #3a3a40; border-radius: 6px;
}
.price--chief {
  margin-block: -18px;
  padding-top: 58px;
  background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(232,0,28,.11), transparent 70%), var(--steel-2);
  border-color: #55555c;
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.9);
}
.price--chief::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--hazard); border-radius: 3px 3px 0 0; }
.price__head { display: grid; gap: 14px; padding-bottom: 22px; border-bottom: 2px solid #2c2c31; }
.price__chief {
  position: absolute; top: 20px; left: clamp(22px, 2.4vw, 34px);
  padding: 6px 10px 5px;
  font: 800 .85rem/1 var(--f-stencil); letter-spacing: .12em; text-transform: uppercase;
  background: var(--red); color: var(--paper); border-radius: 2px;
}
.price__name { font: 700 clamp(1.3rem, 1.8vw, 1.6rem)/1.12 var(--f-cond); text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
.price__value { display: flex; align-items: flex-end; gap: 6px; min-height: clamp(3.6rem, 5vw, 4.6rem); }
.price__value small { align-self: flex-start; margin-top: .5em; font: 700 1.2rem/1 var(--f-cond); color: var(--mute); }
.price__value strong { font: 900 clamp(3.6rem, 5vw, 4.6rem)/.9 var(--f-stencil); font-variant-numeric: tabular-nums; }
.price__value span { margin-bottom: .3em; font: 600 1.15rem/1 var(--f-cond); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.price__value--ask strong { font-size: clamp(2.3rem, 3.3vw, 2.9rem); line-height: 1.12; text-transform: uppercase; }
.price__terms { font: 600 .84rem/1.35 var(--f-cond); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.price--chief .price__terms { color: var(--red-text); }
.price__list { list-style: none; margin: 18px 0 30px; padding: 0; flex: 1; }
.price__list li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid #232327; color: #D4D4CD; font-size: 1rem; line-height: 1.45; }
.price__list li:last-child { border-bottom: 0; }
.price__list .icon { width: 1.15em; height: 1.15em; margin-top: .14em; color: var(--red-text); }
.price .btn { justify-content: center; width: 100%; }
.btn--line { color: var(--paper); border-color: var(--edge); }
.btn--line:hover { border-color: var(--red); background: rgba(232,0,28,.08); transform: translateY(-2px); }
.btn--line:active { transform: translateY(1px); }

/* ---------- faq ---------- */
.faq { padding: clamp(88px, 12vw, 160px) 0; background: var(--steel); border-top: 1px solid #222226; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--topbar) + 32px); display: grid; gap: 18px; }
.faq__head .h2 { max-width: 12ch; }
.faq__list { border-bottom: 2px solid #26262b; }
.qa { border-top: 2px solid #26262b; }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  font: 700 clamp(1.1rem, 1.5vw, 1.3rem)/1.25 var(--f-cond); letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__toggle { width: 36px; height: 36px; padding: 8px; }
.qa[open] .qa__toggle { border-color: var(--red); color: var(--red-text); }
.qa p { padding: 0 56px 26px 0; color: #D4D4CD; max-width: 62ch; }

.terms dd a { color: var(--red-text); font-weight: 600; white-space: nowrap; }

@media (min-width: 900px) {
  .price__name { min-height: 2.24em; }
}
@media (max-width: 899px) {
  .prices { grid-template-columns: 1fr; gap: 16px; padding-block: 0; }
  .price--chief { order: -1; margin-block: 0; padding-top: 64px; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}
@media (max-width: 640px) {
  .qa p { padding-right: 0; }
  .sol__mini { height: 130px; }
}
.price--chief .rivet--tl, .price--chief .rivet--tr { top: 16px; }
.price__value { position: relative; padding-top: 1.9rem; min-height: calc(clamp(3.6rem, 5vw, 4.6rem) + 1.9rem); }
.price__was { position: absolute; top: 0; left: 0; font: 600 1.2rem/1 var(--f-cond); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.price__was s { color: var(--paper); text-decoration-color: var(--red-text); text-decoration-thickness: 1.5px; }
@media (max-width: 899px) { .price__value:not(:has(.price__was)) { padding-top: 0; min-height: clamp(3.6rem, 5vw, 4.6rem); } }
