/* BetaWave Inventory site: Persuade surface. Warehouse floor marking + bin signage. */

body { background: var(--paper); font-size: 17px; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  padding: 10px 14px; background: var(--ink); color: var(--yellow); font-weight: 700; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

.btn-lg { min-height: 52px; padding: 0 24px; font-size: 17px; }
.btn-yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-yellow:hover { background: #ffdf55; }
.fine { font-size: 14px; color: var(--on-yellow-2); margin: 14px 0 0; }
.center { text-align: center; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  padding: 12px max(24px, calc((100% - 1180px) / 2));
  background: var(--yellow);
  border-bottom: 3px solid var(--ink);
}
.brand { font-family: var(--display); font-weight: 900; font-size: 32px; line-height: 1; letter-spacing: 0.02em; text-decoration: none; margin: 0; white-space: nowrap; }
.brand { display: inline-flex; align-items: center; }
.brand-mark { width: 0.86em; height: 0.86em; flex: none; margin-right: 0.32em; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav nav a { font-weight: 650; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav nav a:hover { border-bottom-color: var(--ink); }
.nav-cta { margin-left: auto; white-space: nowrap; flex-shrink: 0; }

/* ---------- Aisle (first viewport) ---------- */
.aisle {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center;
  min-height: calc(100svh - 67px);
  padding: 56px max(24px, calc((100% - 1180px) / 2)) 64px;
  background: var(--yellow);
}
.aisle-no {
  position: absolute; right: -0.06em; top: 50%; transform: translateY(-52%);
  font-family: var(--stencil); font-weight: 900; font-size: clamp(220px, 34vw, 560px); line-height: 0.8;
  color: #d69600;
  letter-spacing: -0.02em;
  pointer-events: none; user-select: none;
}
.aisle-copy { position: relative; }
.aisle h1 {
  margin: 0;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(48px, 6.4vw, 96px); line-height: 0.9; letter-spacing: -0.005em;
  text-wrap: balance;
}
.lede { margin: 24px 0 0; max-width: 34em; font-size: 19px; line-height: 1.5; color: #2a2300; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.aisle .btn:not(.btn-primary):not(.btn-yellow) { background: transparent; }
.aisle .btn:not(.btn-primary):not(.btn-yellow):hover { background: rgba(255, 255, 255, 0.4); }

/* Live label maker: black sign plate + white label */
.maker { position: relative; display: grid; grid-template-columns: 272px minmax(0, 1fr); align-items: center; gap: 0; }
.plate {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px;
  padding: 20px 20px 18px;
  background: var(--ink); color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18), 0 16px 32px rgba(60, 45, 0, 0.25);
}
.plate::before, .plate::after {
  content: ""; position: absolute; top: 12px; width: 8px; height: 8px; border-radius: 50%;
  background: #3a3a3a; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.6);
}
.plate::before { left: 12px; }
.plate::after { right: 12px; }
.plate-h { margin: 0 0 2px; font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--yellow); text-align: center; }
.plate label { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; font-size: 13px; font-weight: 650; color: #d9d9d9; }
.plate input, .plate select {
  width: 100%; min-width: 0; min-height: 40px; padding: 6px 10px; border-radius: 5px;
  border: 1.5px solid #4a4a4a; background: #1f1f1f; color: #fff;
}
.plate select { font-size: 14px; font-weight: 500; }
.plate input:focus-visible, .plate select:focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; box-shadow: none; }
.plate .btn { margin-top: 4px; }
.plate-note { margin: 0; font-size: 12px; color: #b3b3b3; line-height: 1.4; }

.maker-stage { position: relative; z-index: 3; display: grid; justify-items: start; margin-left: -14px; min-width: 0; }
.maker-label {
  transform-origin: left center;
  transform: rotate(-1.4deg);
  filter: drop-shadow(0 2px 2px rgba(60, 45, 0, 0.2)) drop-shadow(0 14px 24px rgba(60, 45, 0, 0.22));
}
.maker-label .lbl { border-radius: 0.07in; }
.maker-status { margin: 22px 0 0 52px; min-height: 1.5em; font-weight: 650; color: var(--on-yellow-2); font-size: 15px; }
.maker-status.is-bad { color: #7a0016; }

/* Signature: scan sweep when the barcode redraws */
.lbl-bars, .lbl-qr { position: relative; }
.scan .lbl-bars::after, .scan .lbl-qr::after {
  content: ""; position: absolute; top: -6%; bottom: -6%; left: 0; width: 3px;
  background: #ff2d2d; box-shadow: 0 0 0 1px rgba(255, 45, 45, 0.25), 0 0 12px 2px rgba(255, 45, 45, 0.55);
  animation: sweep 520ms var(--ease-out) forwards;
}
@keyframes sweep {
  0% { left: 0; opacity: 1; }
  85% { opacity: 1; }
  100% { left: calc(100% - 3px); opacity: 0; }
}

/* ---------- Floor tape ---------- */
.tape {
  height: 34px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 22px, var(--yellow) 22px 44px);
  border-block: 3px solid var(--ink);
}

/* ---------- Sections ---------- */
.sec-h {
  margin: 0;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(36px, 4.4vw, 60px); line-height: 0.95; letter-spacing: 0;
  text-wrap: balance; max-width: 16em;
}
.sec-sub { margin: 16px 0 0; max-width: 46em; color: var(--ink-2); font-size: 18px; }

.how { padding: 96px 0 88px; background: var(--paper); }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 48px; }
.flow-mid { align-self: center; }
.flow figure { margin: 0; }
.flow figcaption { margin-bottom: 16px; max-width: 32em; color: var(--ink-2); }
.flow figcaption b { color: var(--ink); }
.flow-mid { color: var(--ink); }
.flow-mid svg { width: 100%; }
.sheet-grid { border: 1.5px solid var(--line); border-radius: 6px; overflow: hidden; font-size: 14px; background: #fff; }
.sg-row { display: grid; grid-template-columns: 1.4fr 1fr 1.25fr 0.45fr; }
.sg-row span { padding: 9px 10px; border-right: 1px solid #e3e5e7; border-bottom: 1px solid #e3e5e7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-row span:last-child { border-right: 0; text-align: right; }
.sg-row:not(.sg-head) span:nth-child(2), .sg-row:not(.sg-head) span:nth-child(3) { font-family: var(--mono); font-size: 12.5px; }
.sg-head span { background: #f3f4f5; font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; color: #4c5157; }
.mini-sheet {
  position: relative; aspect-ratio: 8.5 / 4.4; width: min(100%, 360px); margin-inline: auto;
  background: #fff; border: 1.5px solid var(--line); border-radius: 3px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.08), 0 12px 28px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.mini-sheet .mini-in { position: absolute; left: 0; top: 0; width: 8.5in; height: 11in; transform-origin: 0 0; }
.mini-sheet .lbl { position: absolute; outline: 0.5pt solid #e1e3e5; }
.mini-sheet .ghost { position: absolute; border: 1px dashed #d6d9dc; border-radius: 0.06in; }

.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 64px 0 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-top: 58px; color: var(--ink-2); }
.steps li::before {
  content: counter(s); position: absolute; top: 0; left: 0;
  font-family: var(--stencil); font-weight: 900; font-size: 52px; line-height: 1; color: var(--ink);
}
.steps b { display: block; color: var(--ink); font-size: 19px; margin-bottom: 4px; }

/* Why switch */
.switch { padding: 96px 0; background: var(--ink); color: #fff; }
.switch .sec-h { color: var(--yellow); }
.switch .sec-sub { color: #cfcfcf; }
.compare { width: 100%; margin-top: 44px; border-collapse: collapse; font-size: 17px; }
.compare th {
  text-align: left; padding: 0 20px 14px 0;
  font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: 0.03em;
}
.compare th:first-child { color: #9b9b9b; }
.compare th:last-child { color: var(--yellow); }
.compare td { padding: 16px 20px 16px 0; border-top: 1px solid #333; vertical-align: top; width: 50%; }
.compare td:first-child { color: #a8a8a8; text-decoration: line-through; text-decoration-color: rgba(255, 210, 31, 0.55); text-decoration-thickness: 2px; }
.compare td:last-child { color: #fff; font-weight: 600; }

/* Stock */
.stock { padding: 96px 0; background: var(--concrete); }
.stock-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px 36px; margin-top: 44px; }
.stock-item { display: grid; gap: 10px; justify-items: start; }
.stock-item .shape {
  background: #fff; border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 6px 14px rgba(0, 0, 0, 0.08);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; color: #7b8086; font-size: 14px;
}
.stock-item p { margin: 0; font-size: 14px; line-height: 1.35; }
.stock-item p b { display: block; font-size: 15px; }
.codes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 56px 0 0; }
.codes div { border-top: 3px solid var(--ink); padding-top: 12px; }
.codes dt { font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; }
.codes dd { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }

/* Pricing: hang tags */
.pricing { padding: 96px 0; background: var(--paper); }
.tags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; align-items: stretch; }
.tag {
  position: relative; display: flex; flex-direction: column;
  padding: 44px 28px 28px;
  background: #fff; border: 2px solid var(--ink); border-radius: 14px 14px 10px 10px;
}
.tag::before {
  content: ""; position: absolute; top: 14px; left: 50%; width: 14px; height: 14px; transform: translateX(-50%);
  border-radius: 50%; border: 2px solid var(--ink); background: var(--concrete);
}
.tag-hot { background: var(--yellow); }
.tag h3 { margin: 0; font-family: var(--display); font-weight: 900; font-size: 30px; text-transform: uppercase; letter-spacing: 0.02em; }
.price { margin: 8px 0 0; font-family: var(--display); font-weight: 900; font-size: 72px; line-height: 0.9; }
.per { margin: 4px 0 0; color: var(--ink-2); font-weight: 600; }
.tag-hot .per { color: var(--on-yellow-2); }
.tag ul { margin: 22px 0 24px; padding: 0; list-style: none; display: grid; gap: 8px; flex: 1; }
.tag li { padding-left: 22px; position: relative; }
.tag li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 7px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.soon { margin: 0; padding: 12px 14px; border: 2px dashed var(--ink); border-radius: 6px; font-weight: 650; font-size: 14.5px; text-align: center; }

/* Close */
.close {
  position: relative; overflow: hidden;
  padding: 110px 0; background: var(--yellow); border-top: 3px solid var(--ink);
}
.close .wrap { position: relative; display: grid; gap: 28px; justify-items: start; }
.close h2 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 5.6vw, 80px); line-height: 0.92; max-width: 12em; text-wrap: balance; }
.aisle-no.small { font-size: clamp(180px, 26vw, 400px); }

/* Footer */
.foot { padding: 48px 0 56px; background: var(--ink); color: #cfcfcf; font-size: 15px; }
.foot .brand { color: var(--yellow); font-size: 28px; }
.foot-in { display: grid; gap: 8px; }
.foot p { margin: 0; }
.legal { margin-top: 16px !important; font-size: 13px; color: #9a9a9a; max-width: 70em; }

/* Entrance: the aisle sign settles once */
@media (prefers-reduced-motion: no-preference) {
  .aisle-no { animation: rise 900ms var(--ease-out) both; }
  .maker-label { animation: settle 700ms 120ms var(--ease-out) both; }
}
@keyframes rise { from { transform: translateY(-46%); opacity: 0; } to { transform: translateY(-52%); opacity: 1; } }
@keyframes settle { from { transform: rotate(-5deg) translateY(10px); } to { transform: rotate(-1.4deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav { gap: 18px; }
  .nav ul { gap: 14px; }
  .nav .brand { font-size: 26px; }
}
@media (max-width: 1080px) {
  .aisle { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .maker-stage { margin-left: 18px; }
  .nav nav { display: none; }
  .codes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { gap: 12px; }
  .nav-cta { min-height: 38px; padding: 0 12px; font-size: 14px; }
  .brand { font-size: 26px; }
  .aisle { padding-top: 36px; }
  .maker { grid-template-columns: 1fr; }
  .maker-stage { margin: -10px 0 0; justify-items: center; order: -1; }
  .maker-label { transform-origin: center; }
  .maker-status { margin-left: 0; text-align: center; }
  .flow { grid-template-columns: 1fr; }
  .flow-mid { width: 60px; transform: rotate(90deg); margin: 0 auto; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .tags { grid-template-columns: 1fr; }
  .compare thead { display: none; }
  .compare tr { display: grid; border-top: 1px solid #333; padding: 14px 0; }
  .compare td { width: auto; border: 0; padding: 2px 0; }
  .codes { grid-template-columns: 1fr; }
  .how, .switch, .stock, .pricing { padding: 64px 0; }
}

section[id] { scroll-margin-top: 72px; }

.mini-sheet::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, #fff); pointer-events: none; }
.chip { position: absolute; top: -13px; right: 18px; margin: 0; padding: 3px 10px; background: var(--ink); color: var(--yellow); font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em; border-radius: 4px; }
@media (max-width: 760px) {
  .aisle { display: flex; flex-direction: column; gap: 0; }
  .aisle-copy { display: contents; }
  .aisle h1 { order: 1; }
  .maker { order: 2; margin-top: 28px; }
  .lede { order: 3; }
  .cta-row { order: 4; }
  .aisle .fine { order: 5; }
  .aisle-copy > * { position: relative; }
}

@media (max-width: 420px) {
  .nav .brand { font-size: 17px; white-space: nowrap; }
  .nav-cta { white-space: nowrap; padding: 0 10px; font-size: 13.5px; }
}

/* Waitlist: the black sign plate again, so it reads as part of the same world */
a.soon { display: block; text-decoration: none; }
a.soon:hover { background: rgba(255, 255, 255, 0.5); }
.waitlist {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px 48px;
  margin-top: 56px; padding: 32px 36px;
  background: var(--ink); color: #fff; border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18), 0 16px 32px rgba(0, 0, 0, 0.16);
}
.wl-copy h3 { margin: 0; font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 0.95; text-transform: uppercase; color: var(--yellow); }
.wl-copy p { margin: 12px 0 0; color: #d9d9d9; max-width: 32em; }
.wl-systems { grid-column: 2; border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.wl-systems legend { padding: 0; margin-bottom: 8px; font-weight: 650; font-size: 14px; color: #d9d9d9; }
.wl-systems label { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; cursor: pointer; }
.wl-systems input { width: 18px; height: 18px; accent-color: var(--yellow); }
.wl-row { grid-column: 2; display: flex; gap: 10px; align-items: flex-end; }
.wl-email { flex: 1; display: grid; gap: 4px; font-size: 14px; font-weight: 650; color: #d9d9d9; }
.wl-email input {
  min-height: 48px; padding: 8px 12px; border-radius: 6px;
  border: 1.5px solid #4a4a4a; background: #1f1f1f; color: #fff; font-size: 16px;
}
.wl-email input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; box-shadow: none; }
.wl-email input[aria-invalid="true"] { border-color: #ff6b81; }
.waitlist .btn { min-height: 48px; }
.wl-status { grid-column: 2; margin: 0; min-height: 1.4em; font-size: 15px; font-weight: 600; color: #d9d9d9; }
.wl-status.is-bad { color: #ff9aa9; }
.wl-done { grid-column: 1 / -1; }
.wl-done h3 { margin: 0; font-family: var(--display); font-weight: 900; font-size: 34px; text-transform: uppercase; color: var(--yellow); }
.wl-done p { margin: 10px 0 0; color: #d9d9d9; }
@media (max-width: 860px) {
  .waitlist { grid-template-columns: 1fr; padding: 26px 22px; }
  .wl-systems, .wl-row, .wl-status { grid-column: 1; }
  .wl-row { flex-direction: column; align-items: stretch; }
}
