/* 🏪 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; }
.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) { 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-big { min-height: 52px; font-size: 14px; }
  .hud-screen .btn { font-size: 13px; padding: 8px; min-height: 40px; }
  .demo-tabs button { font-size: 11px; padding: 4px 2px; min-height: 36px; }
  .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; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; align-items: stretch; }
.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); }
.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 { min-height: 40px; padding: 8px 10px; font-size: 14px; }
  .store main { padding: 0 12px 20px; }
  .hero { padding: 30px 0 20px; }
  .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 v2 (Window H3b): the rooms question, the consent box, the add-on preview, the legal pages ── */
.rooms-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; }
.rooms-ask .field { margin: 0; font-weight: 700; }
.rooms-ask input { width: 120px; font-size: 18px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); }
.rooms-answer { margin: 0; font-weight: 700; color: var(--ink); }
.plan-match { outline: 3px solid var(--accent); outline-offset: 2px; }
.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; }
.included { margin: 16px 0 0; }
.addon { margin: 14px 0 0; border: 1px dashed var(--line); border-radius: 16px; padding: 12px 16px; }
.addon p { margin: 0; }
.addon-chip { margin-top: 6px !important; color: var(--ink-2); font-size: 13px; font-style: italic; }
.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 add-on pills (ShiftGlyph +$29/mo · ENVOY Pro +$39/mo) */
.addon .row-title { margin: 0 0 8px; }
.addon-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.addon-pill { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 8px 14px; min-width: 0; flex: 1 1 240px; }
.addon-pill b { font-size: 15px; }
.addon-pill span { color: var(--ink-2); font-size: 13.5px; }

/* 🛂 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 main, body.store .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; } }
