/* 🏪 GlyphSlip · the storefront (/) — the hero, the ▶ split-screen demo and the pricing cards (Window H2). Layered on
 * gs.css; no inline styles anywhere (the CSP has no 'unsafe-inline'). */
body.store { --night: #0f1417; --night-2: #172026; --teal: #2dd4bf; }
.store-head { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 10px 20px; background: rgba(247, 243, 236, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.store-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: .01em; flex: 1; min-width: 0; min-height: 44px; }
.store-brand img { width: 30px; height: 30px; border-radius: 8px; flex: 0 0 auto; }
.store-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-nav { display: flex; align-items: center; gap: 14px; }
.store-nav > a:not(.btn) { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.store main { max-width: 1180px; margin: 0 auto; padding: 0 20px 24px; }
.hero { padding: 56px 0 32px; max-width: 860px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.hero h1 { font-size: clamp(32px, 6vw, 58px); line-height: 1.05; margin: 0 0 14px; letter-spacing: -.02em; }
.btn-lg { min-height: 54px; padding: 12px 22px; font-size: 17px; }
.section-head { max-width: 760px; margin: 0 0 18px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 6px; letter-spacing: -.01em; }
.section-head p { margin: 0; color: var(--ink-2); font-size: 17px; }

/* ── ▶ the split-screen demo ── */
.demo-wrap { background: var(--night); color: #eef2f3; border-radius: 24px; padding: 28px 20px 22px; margin: 12px 0 34px; scroll-margin-top: 70px; }
.demo-wrap .section-head p { color: #a5b3ba; }
.demo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: start; }
.demo-nojs { grid-column: 1 / -1; }
.phone { background: #05080a; border: 1px solid #2a3740; border-radius: 30px; padding: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); max-width: 360px; width: 100%; justify-self: center; }
.phone-cap { margin: 2px 6px 8px; font-size: 12.5px; font-weight: 700; color: #a5b3ba; letter-spacing: .02em; }
.phone-screen { border-radius: 22px; padding: 14px 12px; min-height: 470px; display: grid; gap: 10px; align-content: start; }
.phone-guest .phone-screen { background: var(--paper); color: var(--ink); }
.phone-guest .pass-room { font-size: 26px; margin: 0; }
.demo-card { padding: 12px; }
.demo-card .wallet-num { font-size: 44px; }
.demo-badge { margin-top: 8px; padding: 10px 12px; background: hsl(268 62% 38%); }
.demo-badge .badge-clock { font-size: 22px; }
.demo-code { font-size: 30px; margin: 4px 0; text-align: center; }
.demo-desk-id .tick { margin-bottom: 0; }
.hud-screen { background: #0f1417; color: #eef2f3; --card: #172026; --line: #2a3740; --ink: #eef2f3; --ink-2: #a5b3ba; --accent: #2dd4bf; --accent-ink: #062b27; }
.hud-screen .btn { background: #172026; border-color: #2a3740; color: #eef2f3; }
.hud-screen .btn-primary { background: #2dd4bf; border-color: #2dd4bf; color: #062b27; }
.hud-screen .btn-big { min-height: 64px; font-size: 18px; }
.demo-tabs button { font-size: 13px; padding: 6px 4px; }
.demo-line { margin: 0; color: #a5b3ba; font-size: 14px; }
.hud-screen .verdict { font-size: 24px; padding: 14px; }
.demo-qr { display: grid; justify-items: center; gap: 6px; align-self: center; }
.demo-qr .qr-box svg { width: 150px; height: 150px; }
.demo-qr .fine { color: #a5b3ba; }
.demo-foot { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.demo-foot .fine { color: #a5b3ba; margin: 0; }
@media (max-width: 860px) {
  .demo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .demo-qr { grid-column: 1 / -1; grid-row: 1; grid-template-columns: auto 1fr; align-items: center; justify-items: start; }
  .demo-qr .qr-box svg { width: 92px; height: 92px; }
  .phone { border-radius: 22px; padding: 6px; }
  .phone-screen { border-radius: 16px; padding: 10px 8px; min-height: 400px; gap: 8px; }
  .phone-cap { font-size: 11px; margin: 2px 4px 6px; }
  .phone-guest .pass-room { font-size: 20px; }
  .demo-card { padding: 8px; }
  .demo-card .wallet { gap: 6px; }
  .demo-card .wallet-num { font-size: 32px; min-width: 0; }
  .demo-badge .badge-day { font-size: 13px; }
  .demo-badge .badge-clock { font-size: 15px; }
  .demo-badge .badge-state, .demo-card .row-title, .demo-card p { font-size: 11.5px; }
  .demo-code { font-size: 20px; letter-spacing: .06em; }
  .hud-screen .btn { font-size: 13px; padding: 8px; min-height: 40px; }
  .hud-screen .btn-big { min-height: 52px; font-size: 14px; }
  .demo-tabs button { font-size: 11px; padding: 4px 2px; min-height: 44px; }
  .hud-screen .verdict { font-size: 16px; padding: 10px 6px; }
  .demo-line, .hud-screen .alert { font-size: 12px; }
}

/* ── the pricing cards ── */
.pricing { scroll-margin-top: 70px; padding: 8px 0 10px; }
/* GS-5: four bands — 4 × 1 on a wide screen, 2 × 2 on a tablet, 1 × 4 on a phone (never a 3 + 1 orphan row). */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); min-width: 0; overflow-wrap: anywhere; }
.plan .plan-cta { white-space: normal; text-align: center; }
.plan-for { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.plan-over { margin: 0; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.plan h3 { margin: 0; font-size: 20px; }
.plan-featured { border: 2px solid var(--accent); }
.plan-flag { margin: 0; align-self: flex-start; background: var(--accent); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.plan-fits { margin: 0; color: var(--ink-2); font-weight: 600; }
.plan-price { margin: 6px 0 0; }
.plan-price b { font-size: 44px; letter-spacing: -.02em; }
.plan-price span { color: var(--ink-2); font-size: 17px; font-weight: 600; }
.plan-setup { margin: 0; color: var(--ink-2); font-size: 14px; }
.plan-feats { margin: 8px 0 12px; padding: 0 0 0 18px; display: grid; gap: 6px; flex: 1; }
.plan-cta { width: 100%; }
.partner-note { margin: 16px 0 4px; color: var(--ink-2); font-size: 14px; font-style: italic; }
@media (max-width: 520px) {
  .store-head { padding: 8px 12px; gap: 8px; }
  .store-nav { gap: 8px; }
  .store-nav > a:not(.btn) { display: none; }
  .store-nav .btn { padding: 8px 10px; font-size: 14px; }
  .store main { padding: 0 12px 20px; }
  .hero { padding: 16px 0; }
  .demo-wrap { padding: 20px 8px 16px; border-radius: 18px; }
  .demo .tab-word { display: none; }
  .demo-tabs button { font-size: 16px; }
  .phone { padding: 4px; }
  .phone-screen { padding: 8px 6px; }
}

/* ── the price list (Window H3b: the consent box and the legal pages · GSP-24B: Build Your Hotel Bundle) ── */
.plan-annual { margin: 0; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.plan-buy { display: grid; gap: 8px; margin-top: auto; }
a.pay-link[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.consent { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin: 0 0 16px; }
.consent-box { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.consent-box input { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.consent-terms { margin: 8px 0 4px; color: var(--ink-2); font-size: 14px; }
.consent-links { margin: 0; font-size: 14px; }
.fleet-note { margin: 14px 0 0; font-weight: 600; }
.legal-links { display: block; margin-top: 6px; }
.legal-main { max-width: 760px; margin: 0 auto; padding: 18px 18px 40px; }
.legal-main h2 { font-size: 18px; margin: 22px 0 6px; }

/* ── Window H4c · feat(H4-growth) ─────────────────────────────────────────────────────────────────────────────────── */

/* 🛂 the storefront ENVOY drawer */
.sales-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 30; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px 8px 10px; border-radius: 999px; border: 1px solid #2a3740; background: #0f1417; color: #eef2f3; font-weight: 700; box-shadow: 0 6px 20px rgba(15, 20, 23, .28); cursor: pointer; }
.sales-fab-ring, .sales-ring { width: 28px; height: 28px; color: #eef2f3; flex: none; }
.sales-fab[aria-expanded="true"] { opacity: 0; pointer-events: none; }
.sales-drawer { position: fixed; z-index: 31; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: min(400px, calc(100vw - 32px)); max-height: min(620px, calc(100dvh - 32px)); display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 50px rgba(15, 20, 23, .28); transform: translateY(16px); opacity: 0; pointer-events: none; transition: transform .24s cubic-bezier(0.22, 1, 0.36, 1), opacity .2s; }
.sales-drawer[data-open="true"] { transform: none; opacity: 1; pointer-events: auto; }
.sales-head { display: flex; align-items: center; gap: 10px; }
.sales-head .sales-ring { color: var(--ink); }
.sales-title { margin: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.sales-title span { font-size: 12.5px; color: var(--ink-2); }
.sales-x { min-height: 44px; min-width: 44px; padding: 0; }
.sales-thread { flex: 1 1 auto; min-height: 120px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 2px; }
.sales-msg { max-width: 92%; border-radius: 14px; padding: 8px 12px; font-size: 15px; }
.sales-msg p { margin: 0; }
.sales-msg p + p { margin-top: 6px; }
.sales-bot { align-self: flex-start; background: #eef6f4; border: 1px solid #cfe6e1; }
.sales-me { align-self: flex-end; background: #0f1417; color: #eef2f3; }
.sales-tag { display: block; margin-top: 6px; font-size: 12px; color: var(--accent); font-weight: 700; }
.sales-next { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sales-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sales-chips .chip-btn { min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); padding: 6px 12px; font-size: 14px; font-weight: 600; cursor: pointer; }
.sales-form { display: flex; gap: 8px; }
.sales-form input { flex: 1; min-width: 0; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); padding: 8px 12px; font-size: 16px; }
.sales-fine { margin: 0; }
.sales-drawer[data-state="thinking"] .sales-ring circle:nth-child(2) { animation: sales-pulse .9s ease-in-out infinite alternate; transform-origin: 12px 12px; }
@keyframes sales-pulse { from { opacity: .45; transform: scale(.9); } to { opacity: 1; transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .sales-drawer { transition: none; } .sales-drawer[data-state="thinking"] .sales-ring circle:nth-child(2) { animation: none; } }
/* the page leaves room under its last line for the docked button */
body.store:has(.sales-fab) main, body.store:has(.sales-fab) .colophon { padding-bottom: 72px; }

/* 📮 /try/ */
.try-hero h1 { overflow-wrap: anywhere; }
.try-band { margin: 6px 0 0; font-size: 17px; }
.try-form { margin: 18px 0 0; max-width: 520px; }
.try-row { display: flex; gap: 8px; margin-top: 6px; }
.try-row input { flex: 1; min-width: 0; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); padding: 8px 12px; font-size: 17px; }

/* 📡 /b/<slug> — the Lobby Window beacon page */
.beacon-page { background: #0f1417; color: #eef2f3; }
.beacon-page .colophon a { color: #a5b3ba; }
.beacon-main { max-width: 520px; margin: 0 auto; padding: 48px 20px 24px; text-align: center; align-items: stretch; }
.beacon-main h1 { margin: 0; font-size: 34px; }
.beacon-main .eyebrow { color: #2dd4bf; }
.beacon-line { font-size: 18px; color: #d7dfe2; margin: 4px 0 8px; }
.beacon-main .btn-big { min-height: 64px; font-size: 20px; }
.beacon-main .btn-primary { background: #2dd4bf; border-color: #2dd4bf; color: #062b27; }
.beacon-main .btn-done { background: #15803d; border-color: #15803d; color: #fff; opacity: 1; }
.beacon-main .btn:not(.btn-primary) { background: #172026; border-color: #2a3740; color: #eef2f3; }
.beacon-status { min-height: 1.4em; margin: 0; font-weight: 700; color: #eef2f3; }
.beacon-main .fine { color: #a5b3ba; }
/* H4c blind pass: the drawer is a full-width sheet over a dimmed page on a phone; the button steps aside over the demo. */
.sales-scrim { display: none; }
.sales-fab[data-dodge="true"] { opacity: 0; pointer-events: none; transform: translateY(12px); }
.sales-fab { transition: opacity .2s, transform .2s; }
@media (max-width: 520px) {
  .sales-scrim { display: block; position: fixed; inset: 0; z-index: 30; background: rgba(4, 9, 11, .5); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .sales-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }
  .sales-drawer { left: 0; right: 0; bottom: 0; width: 100%; max-height: 82dvh; border-radius: 20px 20px 0 0; padding-bottom: max(14px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .sales-fab, .sales-scrim { transition: none; } }

/* ── Window GS-4 · feat(public-marketing-pricing-sync): the property-OS strip, the five lenses, the feature blocks and
 * the year's cost table (door.ts renders them from pitch.ts). Layered on the tokens above; no inline style anywhere. ── */
.door-os { margin: 0 0 16px; max-width: 760px; color: var(--ink-2); font-size: 16px; }
.door-os b { display: block; margin: 0 0 2px; color: var(--ink); }
.pitch { padding: 26px 0 10px; scroll-margin-top: 70px; }
.pitch-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.pitch-point, .feat, .lens-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; box-shadow: var(--shadow); }
.pitch-point b, .feat b { font-size: 17px; }
.pitch-point span, .feat span, .lens-card p { margin: 0; color: var(--ink-2); font-size: 15px; overflow-wrap: anywhere; }
.lens-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.lens-card h3 { margin: 0; font-size: 17px; }
.pitch-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 16px 0 0; }
.pitch-cta .fine { margin: 0; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; }
.tco { margin: 22px 0 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; }
.tco h3 { margin: 0 0 10px; font-size: 20px; }
.tco-scroll { overflow-x: auto; }
.tco-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tco-table th, .tco-table td { text-align: left; padding: 8px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.tco-table thead th { border-top: 0; color: var(--ink-2); font-size: 13px; font-weight: 700; }
.tco-table span { display: block; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.tco-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 24px; margin: 12px 0 0; }
.tco-lists .row-title { margin: 0; }
.tco-lists .plan-feats { margin: 6px 0 4px; }
/* ── Window GSP-24B · Build Your Hotel Bundle — since Window GSP-25B (AG-GS5 Surface B) a tactile configurator: three 1-click
 * presets (keycaps, the pressed one lit), four skirted module switches (picked · included free · off), the hardware receipt
 * (four module lights, the arithmetic, the struck list figure, ONE Harbor Teal key) and, under 1,020 px, a jump bar above the
 * cards. Nothing here is under 12 px; every key is 48 px tall or more; no opacity dims a word. ── */
.bundle-anchors.preset-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.preset-key { display: flex; flex-direction: column; align-items: stretch; gap: 4px; min-width: 0; min-height: 54px; padding: 12px 14px 13px; border: 0; border-radius: 15px; background: #ffffff; color: var(--ink); font: inherit; text-align: left; overflow-wrap: anywhere; cursor: pointer; box-shadow: inset 0 0 0 1.5px #877e70, 0 2px 0 #c8c1b4, 0 3px 8px -3px rgb(15 23 42 / .12); transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease; }
.preset-key:active { transform: translateY(2px); box-shadow: inset 0 0 0 1.5px #877e70; }
.preset-key[aria-pressed="true"] { background: #e6f6f1; box-shadow: inset 0 0 0 2px #0d6e5b, 0 3px 0 #0a594a; }
.preset-key:focus-visible { outline: 3px solid #0d6e5b; outline-offset: 2px; }
.preset-key__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; }
.preset-key__name { font-size: 16px; font-weight: 800; }
.preset-key__price { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.preset-key__sub { color: var(--ink-2); font-size: 14px; font-weight: 600; }
.bundle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 16px; align-items: start; }
.bundle-mods { border: 0; margin: 0; padding: 0; min-width: 0; }
.bundle-mods legend { padding: 0; margin: 0 0 8px; }
.mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mod { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 12px 14px 14px; border: 0; border-radius: 15px; background: #ffffff; box-shadow: inset 0 0 0 1.5px #877e70, 0 2px 0 #c8c1b4, 0 3px 8px -3px rgb(15 23 42 / .12); transition: box-shadow 120ms ease, background-color 120ms ease; }
.mod[data-in="picked"] { box-shadow: inset 0 0 0 2px #0d6e5b, 0 3px 0 #0a594a, 0 8px 18px -8px rgb(13 110 91 / .24); }
.mod[data-in="suite"] { padding: 10px 12px 12px; border: 2px dashed #0d6e5b; background: #e6f6f1; box-shadow: 0 3px 0 #0a594a; }
.mod[data-in="off"] { background: #eae5dc; box-shadow: inset 0 0 0 1.5px #787063, inset 0 2px 3px rgb(15 23 42 / .09); }
/* the real checkbox lies over its whole label: one ≥ 48 px hit box, the keyboard and a screen reader unchanged */
.mod-pick { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; min-height: 48px; border-radius: 12px; cursor: pointer; font-weight: 700; }
.mod-pick input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mod-pick:has(input:focus-visible) { outline: 3px solid #0d6e5b; outline-offset: 3px; }
.mod-check { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #ffffff; box-shadow: inset 0 0 0 2px #787063; }
.mod-check svg { width: 20px; height: 20px; fill: none; stroke: #ffffff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.mod[data-in="picked"] .mod-check { background: #0d6e5b; box-shadow: inset 0 0 0 2px #0a594a; }
.mod[data-in="suite"] .mod-check { background: #ffffff; box-shadow: inset 0 0 0 2px #0d6e5b; }
.mod[data-in="suite"] .mod-check svg { stroke: #0d6e5b; }
.mod:is([data-in="picked"], [data-in="suite"]) .mod-check svg { opacity: 1; }
.mod-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; font-size: 16px; }
.mod-num-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.mod-num { color: var(--ink-2); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mod-state > span { display: none; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.mod[data-in="picked"] .mod-state > [data-st="picked"] { display: inline-block; background: #e6f6f1; color: #0a5446; box-shadow: inset 0 0 0 1px #0d6e5b; }
.mod[data-in="suite"] .mod-state > [data-st="suite"] { display: inline-block; background: #0d6e5b; color: #ffffff; }
.mod[data-in="off"] .mod-state > [data-st="off"] { display: inline-block; background: #ffffff; color: #3d4c5c; box-shadow: inset 0 0 0 1px #787063; }
.mod-price { white-space: nowrap; font-size: 15px; font-variant-numeric: tabular-nums; }
.mod-lines { margin: 0; padding: 0 0 0 18px; display: grid; gap: 4px; color: var(--ink-2); font-size: 14px; }
.mod[data-in="off"] .mod-lines { color: #3d4c5c; }
/* the hardware receipt */
.bundle-sum { position: sticky; top: 76px; border: 0; box-shadow: inset 0 0 0 2px #0d6e5b, 0 4px 0 #0a594a, 0 14px 28px -12px rgb(15 23 42 / .22); }
.receipt-lights { display: flex; justify-content: flex-end; }
.receipt-leds { display: inline-flex; gap: 6px; }
.receipt-led { display: inline-grid; place-items: center; min-width: 32px; height: 22px; padding: 0 6px; border-radius: 6px; background: #eae5dc; color: #5a5146; box-shadow: inset 0 0 0 1px #787063; font: 800 12px/1 var(--mono); font-variant-numeric: tabular-nums; }
.receipt-led[data-on="true"] { background: #0d6e5b; color: #ffffff; box-shadow: inset 0 0 0 1px #0a594a, 0 0 8px rgb(45 212 191 / .55); }
.bundle-tier { margin: 0; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bundle-name { overflow-wrap: anywhere; }
.receipt-math { display: grid; gap: 4px; margin: 2px 0 0; padding: 10px 0 0; border-top: 1px dashed #b7ae9e; font-size: 14px; }
.receipt-row { display: flex; justify-content: space-between; gap: 12px; }
.receipt-row dt { color: var(--ink-2); font-weight: 600; }
.receipt-row dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt-row--cut dd { color: #0a5446; }
.receipt-row:has(> dd:empty) { display: none; }
.receipt-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.receipt-strike { color: var(--ink-2); font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; text-decoration-thickness: 2px; }
.receipt-strike:empty { display: none; }
.bundle-sum .plan-price { margin: 0; }
.bundle-sum .btn-primary { min-height: 52px; background: linear-gradient(180deg, #0d6e5b 0%, #0a594a 100%); border: 1.5px solid #074136; color: #ffffff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .24), 0 3px 0 #074136; }
.bundle-save { margin: 0; font-weight: 700; color: var(--ink); }
.bundle-save:empty { display: none; }
.bundle-note, .bundle-empty { margin: 0; color: var(--ink-2); font-size: 14px; }
.bundle-note:empty { display: none; }
.bundle-empty[hidden] { display: none; }
.bundle-empty p { margin: 0; }
.receipt-recover { width: 100%; min-height: 48px; margin-top: 8px; white-space: normal; }
[data-bundle][data-empty="true"] .bundle-sum :is(.receipt-lights, .bundle-tier, .bundle-name, .receipt-math, .receipt-total, .plan-price, .plan-annual, .bundle-save, .bundle-note) { display: none; }
/* the phone's jump bar: the tier and the month above the cards, a link to the receipt (never a second primary key) */
.mobile-live-bar { display: none; }
@media (prefers-reduced-motion: reduce) { .preset-key, .mod { transition: none; } }
@media (max-width: 1020px) {
  .bundle { grid-template-columns: minmax(0, 1fr); }
  .bundle-sum { position: static; }
  .mobile-live-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; min-height: 52px; padding: 8px 14px; border-radius: 14px; background: #e6f6f1; color: #0a3d33; text-decoration: none; box-shadow: inset 0 0 0 1.5px #0d6e5b, 0 2px 0 #0a594a; }
  [data-bundle][data-empty="true"] .mobile-live-bar { display: none; }
  .mlb-meta { display: flex; flex-direction: column; min-width: 0; }
  .mlb-tier { font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }
  .mlb-cut { font-size: 14px; font-weight: 700; color: #0a5446; }
  .mlb-cut:empty { display: none; }
  .mlb-right { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 0 4px; flex: none; }
  .mlb-price { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
  .mlb-unit { font-size: 14px; font-weight: 600; }
  .mlb-go { flex-basis: 100%; font-size: 13px; font-weight: 700; text-align: right; text-decoration: underline; }
}
@media (max-width: 600px) { .bundle-anchors.preset-strip, .mods { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .store-nav > a:not(.btn) { display: none; } }
@media (max-width: 520px) {
  .pitch { padding: 18px 0 6px; }
  .door-actions { gap: 8px; margin-bottom: 20px; }
  .door-actions .btn-lg { width: 100%; min-height: 48px; padding: 10px 12px; font-size: 15.5px; }
  .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .tco { padding: 14px 12px; }
  .tco-table { font-size: 13.5px; }
  .tco-table th, .tco-table td { padding: 6px 5px; }
  .eyebrow { margin: 0 0 6px; }
  .hero h1 { font-size: 28px; margin: 0 0 10px; }
  .door-sub { font-size: 15.5px; margin: 0 0 10px; }
  .door-os { font-size: 14px; margin: 0 0 10px; }
  .door-chips { margin: 0 0 12px; gap: 6px; }
  .sales-fab { min-height: 44px; padding: 6px 12px 6px 8px; font-size: 14px; }
}
/* Window BRAND-GS · a short phone (360 × 640): a tighter hero and the four keys in a 2 × 2 grid, so the ENVOY button
 * rests below every key at load — sales.js is untouched, and a phone taller than 700 px keeps the stack above. */
@media (max-width: 520px) and (max-height: 700px) {
  .hero { padding: 8px 0; }
  .hero h1 { font-size: 24px; margin: 0 0 8px; }
  .door-sub { font-size: 14.5px; margin: 0 0 8px; }
  .door-os { font-size: 13px; margin: 0 0 8px; }
  .door-chips { margin: 0 0 10px; }
  .door-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .door-actions .btn-lg { min-height: 48px; padding: 6px 10px; font-size: 14px; line-height: 1.2; text-align: center; }
  .door-actions .btn-lg:only-child { grid-column: 1 / -1; }
}
