/* Layout: product landing. Dark forest hero with a live phone, a running sales ticker, then four feature bands
   (each a working mini-demo over one shared simulated store), a capability grid and a closing CTA.
   Motif: the supermarket shelf tag (yellow) and thermal receipt paper. */
:root {
  --bg: #f6f5f0; --paper: #ffffff; --paper-2: #eeece4; --line: #e2dfd4; --line-2: #cfcabd;
  --ink: #171a16; --ink-2: #3b3f39; --ink-3: #676b63; --ink-4: #8b8e86;
  --forest: #2f5233; --forest-2: #3f6a43; --forest-soft: #e2eadc;
  --night: #102016; --night-2: #18301f; --night-ink: #eef2e8; --night-ink-2: #a9b9a6; --night-line: #2a4430;
  --tag: #f3d64b; --tag-ink: #1d1a08;
  --warn: #8a5a0b; --warn-soft: #f6ead0; --danger: #a03a2a; --danger-soft: #f6dfd8;
  --receipt: #fffdf7; --receipt-ink: #26241f;
  --phone: #0c0f0c; --screen: #f7f7f3; --screen-ink: #161816;
  --f-display: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --f-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, system-ui, sans-serif;
  --f-mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #121512; --paper: #1b1f1b; --paper-2: #252a25; --line: #2e342e; --line-2: #434a43;
  --ink: #ecefe8; --ink-2: #cdd2c8; --ink-3: #9da39a; --ink-4: #7f857c;
  --forest: #8dbb88; --forest-2: #a4cc9f; --forest-soft: #213021;
  --night: #0b160f; --night-2: #132519; --night-ink: #eef2e8; --night-ink-2: #a3b3a0; --night-line: #24392a;
  --warn: #e4b45a; --warn-soft: #3a3020; --danger: #ec8d7b; --danger-soft: #3d231f;
  --receipt: #f4f1e8; --receipt-ink: #26241f;
  --screen: #1a1d1a; --screen-ink: #eceee8; color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #121512; --paper: #1b1f1b; --paper-2: #252a25; --line: #2e342e; --line-2: #434a43;
  --ink: #ecefe8; --ink-2: #cdd2c8; --ink-3: #9da39a; --ink-4: #7f857c;
  --forest: #8dbb88; --forest-2: #a4cc9f; --forest-soft: #213021;
  --night: #0b160f; --night-2: #132519; --night-ink: #eef2e8; --night-ink-2: #a3b3a0; --night-line: #24392a;
  --warn: #e4b45a; --warn-soft: #3a3020; --danger: #ec8d7b; --danger-soft: #3d231f;
  --receipt: #f4f1e8; --receipt-ink: #26241f;
  --screen: #1a1d1a; --screen-ink: #eceee8; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--ink); font-family: var(--f-sans); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--tag); outline-offset: 3px; border-radius: 4px; }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--forest); font-weight: 500; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -0.025em; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; }
h2 em, h1 em { font-style: italic; }
.lede { color: var(--ink-3); font-size: 18px; max-width: 34em; margin: 16px 0 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: var(--paper); padding: 11px 18px; border-radius: 999px; font-weight: 500; text-decoration: none; font-size: 15px; }
.btn:hover { background: var(--paper-2); }
.btn.tag { background: var(--tag); border-color: var(--tag); color: var(--tag-ink); }
.btn.tag:hover { filter: brightness(1.05); }
.btn.ghost-n { background: transparent; border-color: var(--night-line); color: var(--night-ink); }
.btn.ghost-n:hover { background: var(--night-2); }
.btn.sm { padding: 7px 13px; font-size: 13px; }
.btn.forest { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.btn.forest:hover { background: var(--forest-2); }

/* nav */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 4; padding-top: env(safe-area-inset-top, 0px); }
.nav .wrap { display: flex; align-items: center; gap: 24px; padding-block: 18px; }
.logo { display: flex; align-items: baseline; gap: 8px; color: var(--night-ink); text-decoration: none; }
.logo b { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.logo span { font-family: var(--f-mono); font-size: 11px; background: var(--tag); color: var(--tag-ink); padding: 2px 7px; border-radius: 4px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; font-size: 14px; }
.nav ul a { color: var(--night-ink-2); text-decoration: none; }
.nav ul a:hover { color: var(--night-ink); }

/* hero */
.hero { background: radial-gradient(1200px 600px at 80% 10%, var(--night-2), var(--night) 60%); color: var(--night-ink); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; padding-block: 128px 72px; }
.hero h1 { font-size: clamp(44px, 6.6vw, 86px); line-height: 0.98; }
.hero h1 .hl { background: var(--tag); color: var(--tag-ink); padding: 0 0.12em; border-radius: 6px; font-style: italic; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero p { color: var(--night-ink-2); font-size: 19px; max-width: 30em; margin: 22px 0 30px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .proof { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; font-size: 13px; color: var(--night-ink-2); }
.hero .proof b { display: block; font-family: var(--f-mono); font-size: 22px; color: var(--night-ink); font-weight: 500; letter-spacing: -0.02em; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; margin-right: 6px; box-shadow: 0 0 0 0 rgb(74 222 128 / 0.6); animation: pulse 1.8s infinite; vertical-align: 1px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgb(74 222 128 / 0); } 100% { box-shadow: 0 0 0 0 rgb(74 222 128 / 0); } }

/* phone */
.phone { width: 300px; max-width: 100%; aspect-ratio: 9 / 18.5; background: var(--phone); border-radius: 44px; padding: 11px; box-shadow: 0 40px 80px rgb(0 0 0 / 0.35), inset 0 0 0 2px #2a2f2a; position: relative; margin-inline: auto; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: var(--phone); border-radius: 20px; z-index: 3; }
.screen { width: 100%; height: 100%; background: var(--screen); color: var(--screen-ink); border-radius: 34px; overflow: hidden; position: relative; display: flex; flex-direction: column; font-size: 13px; }
.sbar { display: flex; justify-content: space-between; padding: 16px 24px 0; font-size: 12px; font-weight: 600; height: 44px; }
.hero-app { padding: 10px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.hero-app .lbl { font-size: 12px; color: var(--ink-4); }
.hero-app .big { font-family: var(--f-mono); font-size: 34px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.hero-app .delta { font-size: 12px; color: var(--forest); font-weight: 600; }
.spark { width: 100%; height: 70px; }
.feed { display: flex; flex-direction: column; gap: 0; }
.feed div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.feed div span:first-child { color: var(--ink-3); }
.feed div.fresh { animation: fresh 1.2s ease-out; }
@keyframes fresh { from { background: var(--tag); } to { background: transparent; } }
.notif-stack { position: absolute; left: 10px; right: 10px; top: 50px; display: flex; flex-direction: column; gap: 6px; z-index: 2; pointer-events: none; }
.notif { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; box-shadow: 0 8px 24px rgb(0 0 0 / 0.14); color: var(--ink); animation: drop .45s cubic-bezier(.2,.9,.3,1.2); }
.notif .ico { width: 30px; height: 30px; border-radius: 8px; background: var(--forest); color: var(--paper); display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: 16px; }
.notif b { font-size: 12px; display: block; }
.notif small { font-size: 12px; color: var(--ink-3); display: block; line-height: 1.3; }
.notif .when { font-size: 10px; color: var(--ink-4); float: right; font-weight: 400; }
@keyframes drop { from { transform: translateY(-16px) scale(.96); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .notif, .feed div.fresh, .live-dot, .ticker-track { animation: none !important; } }

/* ticker */
.ticker { background: var(--tag); color: var(--tag-ink); overflow: hidden; border-block: 1px solid color-mix(in srgb, var(--tag-ink) 15%, transparent); }
.ticker-track { display: flex; gap: 40px; white-space: nowrap; padding-block: 11px; width: max-content; animation: scroll 40s linear infinite; font-family: var(--f-mono); font-size: 13px; font-weight: 500; }
.ticker-track span::before { content: "●"; margin-right: 10px; font-size: 8px; vertical-align: 2px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* feature bands */
.band { padding-block: 104px; border-bottom: 1px solid var(--line); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
/* the cash-close demo needs the full width: copy on top, receipt and document side by side below */
.band.stack .wrap { grid-template-columns: 1fr; gap: 40px; }
.band.stack .wrap > :first-child { order: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 56px; align-items: end; }
.band.stack .points { margin: 0; }
.band.stack .lede { grid-column: 1; }
.band.stack .points { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
.band.flip .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.band.flip .wrap > :first-child { order: 2; }
.points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2); }
.points li::before { content: "✓"; color: var(--forest); font-weight: 600; }
.stage { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; position: relative; min-width: 0; }
.stage-note { font-family: var(--f-mono); font-size: 11px; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

/* 1 · inventory from anywhere */
.inv-stage { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: center; }
.inv-stage .phone { width: 250px; }
.scan { flex: 1; padding: 6px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.viewfinder { height: 120px; border-radius: 14px; background: #1d221d; position: relative; overflow: hidden; display: grid; place-items: center; }
.barcode { width: 60%; height: 54px; background: repeating-linear-gradient(90deg, #f2f2ee 0 2px, transparent 2px 4px, #f2f2ee 4px 5px, transparent 5px 8px, #f2f2ee 8px 11px, transparent 11px 12px); opacity: .9; }
.laser { position: absolute; left: 10%; right: 10%; height: 2px; background: #ff4d4d; box-shadow: 0 0 10px #ff4d4d; top: 50%; }
.viewfinder.on .laser { animation: laser .9s ease-in-out 2; }
@keyframes laser { 0%,100% { top: 25%; } 50% { top: 75%; } }
.scan-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.scan-card .code { font-family: var(--f-mono); font-size: 10px; color: var(--ink-4); }
.scan-card .nm { font-weight: 600; font-size: 13px; line-height: 1.25; }
.stepper { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.stepper button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--paper-2); font-size: 18px; line-height: 1; }
.stepper .q { font-family: var(--f-mono); font-size: 22px; font-weight: 500; }
.add-btn { width: 100%; border: 0; border-radius: 12px; background: var(--forest); color: var(--paper); padding: 11px; font-weight: 600; }
.pick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pick button { border: 1px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.pick button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.stock-list { display: flex; flex-direction: column; }
.stock-row { display: grid; grid-template-columns: minmax(0, 1fr) 64px 80px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.stock-row .bar { height: 6px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.stock-row .bar i { display: block; height: 100%; background: var(--forest); transition: width .5s; }
.stock-row.low .bar i { background: var(--danger); }
.stock-row .n { text-align: right; font-family: var(--f-mono); }
.stock-row.flash { animation: fresh 1.2s ease-out; }
.where { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.where span { font-size: 12px; background: var(--paper-2); border-radius: 999px; padding: 4px 10px; color: var(--ink-3); }
.log { margin-top: 12px; font-size: 13px; color: var(--ink-3); min-height: 1.5em; }

/* 2 · realtime */
.rt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.rt div { background: var(--paper-2); border-radius: 14px; padding: 14px; min-width: 0; }
.rt small { display: block; font-size: 12px; color: var(--ink-3); }
.rt b { font-family: var(--f-mono); font-weight: 500; font-size: clamp(18px, 2.4vw, 26px); letter-spacing: -0.03em; }
.rt-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; }
svg text { fill: var(--ink-4); font-family: var(--f-mono); font-size: 10px; }
.rt-feed { display: flex; flex-direction: column; font-size: 13px; max-height: 290px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.rt-feed div { display: grid; grid-template-columns: 52px 1fr auto; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); align-items: center; }
.rt-feed div.fresh { animation: fresh 1.2s ease-out; }
.rt-feed .t { color: var(--ink-4); font-family: var(--f-mono); font-size: 12px; }
.rt-feed .m { font-size: 11px; color: var(--ink-4); display: block; }
.toggle { border: 1px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 3px 10px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }

/* 3 · alerts */
.alert-stage { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: center; }
.alert-stage .phone { width: 260px; }
.lock { flex: 1; background: linear-gradient(170deg, #284a30, #0f1d14); color: #f2f5ee; display: flex; flex-direction: column; align-items: center; padding-top: 30px; position: relative; }
.lock .time { font-family: var(--f-display); font-size: 58px; line-height: 1; font-weight: 400; }
.lock .date { font-size: 12px; opacity: .8; margin-top: 4px; }
.lock .notif-stack { top: 130px; }
.rules { display: flex; flex-direction: column; gap: 10px; }
.rule { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.rule .nm { font-weight: 500; font-size: 14px; }
.rule .meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-3); }
.rule .meta .bar { flex: 1; height: 6px; background: var(--paper-2); border-radius: 3px; position: relative; overflow: hidden; }
.rule .meta .bar i { position: absolute; inset: 0 auto 0 0; background: var(--forest); transition: width .5s; }
.rule.low .meta .bar i { background: var(--danger); }
.pill { font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: var(--forest-soft); color: var(--forest); }
.pill.bad { background: var(--danger-soft); color: var(--danger); }
.channels { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: var(--ink-3); align-items: center; }
.channels span { border: 1px solid var(--line-2); padding: 4px 11px; border-radius: 999px; color: var(--ink-2); }

/* 4 · cierre */
.close-stage { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; align-items: start; }
.receipt { background: var(--receipt); color: var(--receipt-ink); font-family: var(--f-mono); font-size: 12px; padding: 22px 20px 30px; position: relative; box-shadow: 0 18px 40px rgb(0 0 0 / 0.12); transform: rotate(-1.2deg);
  --zz: radial-gradient(circle at 6px 0, transparent 6px, var(--receipt) 6.5px);
  -webkit-mask: linear-gradient(#000 0 0) top/100% calc(100% - 10px) no-repeat, radial-gradient(circle at 6px 10px, transparent 6px, #000 6.5px) bottom/12px 10px repeat-x;
          mask: linear-gradient(#000 0 0) top/100% calc(100% - 10px) no-repeat, radial-gradient(circle at 6px 10px, transparent 6px, #000 6.5px) bottom/12px 10px repeat-x; }
.receipt h4 { margin: 0; text-align: center; font-size: 14px; letter-spacing: 0.08em; }
.receipt .c { text-align: center; color: #6c685e; margin-bottom: 10px; }
.receipt .row { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.receipt hr { border: 0; border-top: 1px dashed #b5b0a3; margin: 8px 0; }
.receipt .tot { font-weight: 600; font-size: 13px; }
.receipt .diff { background: #e6efe0; padding: 4px 6px; margin-top: 6px; font-weight: 600; }
.receipt .bc { height: 34px; margin-top: 14px; background: repeating-linear-gradient(90deg, #26241f 0 1px, transparent 1px 3px, #26241f 3px 5px, transparent 5px 6px, #26241f 6px 7px, transparent 7px 10px); }
.out-tabs { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 3px; gap: 2px; margin-bottom: 14px; }
.out-tabs button { border: 0; background: transparent; padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.out-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / 0.1); }
.doc { max-width: 640px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px; font-size: 13px; box-shadow: 0 10px 30px rgb(0 0 0 / 0.06); }
.doc .dh { display: flex; justify-content: space-between; gap: 12px; align-items: start; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.doc .dh b { font-family: var(--f-display); font-size: 20px; font-weight: 600; }
.doc table { width: 100%; border-collapse: collapse; }
.doc td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.doc td.r { text-align: right; font-family: var(--f-mono); }
.doc .sig { display: flex; gap: 24px; margin-top: 26px; font-size: 11px; color: var(--ink-4); }
.doc .sig div { flex: 1; border-top: 1px solid var(--line-2); padding-top: 4px; }
.mail-h { display: grid; grid-template-columns: 56px 1fr; gap: 4px 8px; font-size: 13px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.mail-h span:nth-child(odd) { color: var(--ink-4); }
.attach { display: inline-flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin-top: 12px; font-size: 13px; }
.attach i { font-style: normal; background: var(--danger); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 5px; border-radius: 4px; }
.sched { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

/* capabilities */
.caps { padding-block: 104px; }
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: 44px; }
.cap { background: var(--paper); padding: 26px; min-width: 0; }
.cap .k { font-family: var(--f-mono); font-size: 11px; color: var(--forest); letter-spacing: 0.1em; text-transform: uppercase; }
.cap h3 { font-size: 22px; margin: 8px 0 6px; }
.cap p { margin: 0; color: var(--ink-3); font-size: 15px; }

/* cta */
.cta { background: var(--night); color: var(--night-ink); padding-block: 96px; position: relative; overflow: hidden; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; }
.cta h2 { font-size: clamp(36px, 5vw, 64px); }
.cta p { color: var(--night-ink-2); font-size: 18px; margin: 16px 0 28px; max-width: 30em; }
.shelf-tag { background: var(--tag); color: var(--tag-ink); border-radius: 6px; padding: 18px 22px 16px; transform: rotate(2.5deg); box-shadow: 0 20px 40px rgb(0 0 0 / 0.3); max-width: 320px; justify-self: center; position: relative; }
.shelf-tag::before { content: ""; position: absolute; top: 10px; right: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--night); }
.shelf-tag small { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.shelf-tag .p { font-family: var(--f-display); font-size: 58px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; margin: 6px 0; }
.shelf-tag .d { font-size: 14px; }
.shelf-tag .bcode { height: 26px; margin-top: 12px; background: repeating-linear-gradient(90deg, var(--tag-ink) 0 2px, transparent 2px 3px, var(--tag-ink) 3px 4px, transparent 4px 7px); opacity: .85; }
footer { background: var(--night); color: var(--night-ink-2); font-size: 13px; border-top: 1px solid var(--night-line); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; }

@media (max-width: 960px) {
  .nav ul { display: none; }
  .hero .wrap, .band .wrap, .band.flip .wrap, .cta .wrap { grid-template-columns: 1fr; gap: 44px; }
  .band.flip .wrap > :first-child { order: 0; }
  .band.stack .wrap > :first-child { display: block; }
  .band.stack .points { margin-top: 28px; }
  .hero .wrap { padding-block: 104px 56px; }
  .band, .caps { padding-block: 72px; }
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .inv-stage, .alert-stage, .close-stage, .rt-grid { grid-template-columns: 1fr; }
  .receipt { max-width: 340px; }
  .rt { grid-template-columns: 1fr 1fr; }
  .rt div:last-child { grid-column: 1 / -1; }
  .receipt { transform: none; }
}
@media (max-width: 520px) {
  .wrap { padding-inline: 16px; }
  .stage { padding: 18px; border-radius: 16px; }
  .cap-grid { grid-template-columns: 1fr; }
  .hero p, .lede { font-size: 17px; }
}

html, body { margin: 0; }
[hidden] { display: none !important; }
img { max-width: 100%; }
