/* Liquor OS marketing site, in the Prism brand (plans/liquor-os-brand-2026-09-30, direction A).
   Every colour is a token; dark is the default and theme.js sets data-mode before the first paint.
   The spectrum is light: the neon sign, behind the hero, under the main button, in the night bar, on
   a staffer's facet. It is never under body text. The logo is Neon (since 1 October 2026): one tube
   writes os, drawn on and lit each time it comes into view. */

/* ---------- tokens ---------- */
:root, [data-mode=dark] {
  color-scheme: dark;
  --canvas: #05080d; --panel: #0b111b; --panel-2: #111927; --panel-3: #182233; --line: #1b2331; --line-2: #273144;
  --ink: #f5f7fa; --ink-2: #c9ced8; --ink-3: #8f98a8;
  --accent: #9ca3ff; --accent-2: #b6bbff; --accent-soft: rgba(139, 147, 246, .16); --accent-ink: #b4b9ff;
  --main: #f3f4f6; --on-main: #0b111b; --focus: #9ca3ff;
  --paper: #f3f4f6; --paper-ink: #0b111b;
  --nav: #03070c; --nav-ink: #ffffff; --nav-ink-2: #8f98a8; --nav-line: #121a27;
  --tile: #141d2c; --bezel: #111927;
  --sky: linear-gradient(90deg, #0d1424 0%, #141b38 40%, #252f6c 64%, #5a4bae 80%, #b766b0 91%, #e7a27e 100%);
  --spectrum: linear-gradient(90deg, #6fb1ff, #8b93f6 24%, #b489f2 44%, #e884f5 64%, #f08aa0 82%, #c98a52);
  --spectrum-v: linear-gradient(180deg, #6fb1ff, #8b93f6 25%, #b489f2 50%, #e884f5 72%, #f08aa0 88%, #c98a52);
  --head-light: radial-gradient(30% 100% at 56% 105%, rgba(111, 177, 255, .42), transparent 70%), radial-gradient(26% 95% at 72% 105%, rgba(180, 137, 242, .44), transparent 70%), radial-gradient(24% 90% at 86% 100%, rgba(232, 132, 245, .36), transparent 70%), radial-gradient(22% 95% at 99% 80%, rgba(240, 138, 160, .32), transparent 70%), radial-gradient(18% 80% at 104% 25%, rgba(201, 138, 82, .24), transparent 70%);
  --aur-1: #6fb1ff; --aur-2: #b489f2; --aur-3: #e884f5; --aur-4: #f08aa0; --aur-5: #c98a52; --aur-op: .9;
  --ok: #5be3a8; --ok-soft: rgba(91, 227, 168, .12); --bad: #ff6b6b; --bad-soft: rgba(255, 107, 107, .12);
  --star: #f2cf6f; --spark: #9ca3ff;
  --k1: #6fb1ff; --k2: #b489f2; --k3: #f08aa0;
  --p0: #6fb1ff; --p1: #8b93f6; --p2: #b489f2; --p3: #e884f5; --p4: #f08aa0; --p5: #c98a52;
  --ne-glow: 1; --ne-core: .8;
  --sg-pool: .62; --sg-bar: .55; --sg-halo: .5; --sg-glow: .8; --sg-core: .8; --sg-refl: .26; --sg-glass: .09;
  --badge-bg: #f3f4f6; --badge-ink: #0b111b;
  --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, .75); --shadow-card: 0 12px 32px -14px rgba(0, 0, 0, .7);
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --font-body: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --r: 12px; --r-btn: 10px;
  --spring: cubic-bezier(.3, 1.35, .5, 1);
}
[data-mode=light] {
  color-scheme: light;
  --canvas: #f3f5f9; --panel: #ffffff; --panel-2: #f6f7fa; --panel-3: #eceff5; --line: #e4e8ef; --line-2: #d0d7e2;
  --ink: #0b111b; --ink-2: #3b4455; --ink-3: #5b6476;
  --accent: #4f56d6; --accent-2: #3f46c4; --accent-soft: #eceefe; --accent-ink: #4048c8;
  --main: #0b111b; --on-main: #ffffff; --focus: #4f56d6;
  --paper: #0b111b; --paper-ink: #ffffff;
  --nav: #ffffff; --nav-ink: #0b111b; --nav-ink-2: #5b6476; --nav-line: #e4e8ef;
  --tile: #0b111b; --bezel: #0b111b;
  --sky: linear-gradient(90deg, #e9edf6 0%, #e3e6f7 40%, #dad7f6 64%, #e7cff1 80%, #f5cfde 91%, #f8dcc6 100%);
  --spectrum: linear-gradient(90deg, #3f8ff0, #6a72ee 24%, #9a63e4 44%, #cf55df 64%, #e05a7c 82%, #b46a2c);
  --head-light: radial-gradient(30% 100% at 56% -5%, rgba(111, 177, 255, .40), transparent 70%), radial-gradient(26% 95% at 72% -5%, rgba(180, 137, 242, .40), transparent 70%), radial-gradient(24% 90% at 86% 0%, rgba(232, 132, 245, .40), transparent 70%), radial-gradient(22% 95% at 99% 15%, rgba(240, 138, 160, .40), transparent 70%);
  --aur-1: #a9cdff; --aur-2: #cdb4f7; --aur-3: #f1b4f8; --aur-4: #f6bccb; --aur-5: #e5c3a3; --aur-op: .75;
  --ok: #11774a; --ok-soft: #e3f4ea; --bad: #c0352b; --bad-soft: #fde8e6;
  --star: #b58800; --spark: #4f56d6;
  --k1: #3f8ff0; --k2: #9a63e4; --k3: #e05a7c;
  --p0: #3f8ff0; --p1: #6a72ee; --p2: #9a63e4; --p3: #cf55df; --p4: #e05a7c; --p5: #b46a2c;
  --ne-glow: 0; --ne-core: 0;
  --sg-pool: .4; --sg-bar: .45; --sg-halo: .16; --sg-glow: .42; --sg-core: .5; --sg-refl: .18; --sg-glass: .1;
  --badge-bg: #0b111b; --badge-ink: #ffffff;
  --shadow-lg: 0 24px 60px -28px rgba(11, 17, 27, .35); --shadow-card: 0 10px 28px -16px rgba(11, 17, 27, .35);
}
.p0 { stop-color: var(--p0); } .p1 { stop-color: var(--p1); } .p2 { stop-color: var(--p2); }
.p3 { stop-color: var(--p3); } .p4 { stop-color: var(--p4); } .p5 { stop-color: var(--p5); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background: var(--canvas); color: var(--ink);
  font: 400 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--paper); color: var(--paper-ink); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow { font: 600 12px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.ic { flex: none; display: block; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.gl { flex: none; display: block; fill: currentColor; }
.grow { flex: 1; }

/* ---------- the neon mark ----------
   One 5-unit tube on a 64 grid writes os (24 px and under: the 7-unit small cut, no core). Three
   layers: a blurred glow, the spectrum tube (pathLength 1, so it can be drawn on), a white core.
   In light mode the glow and core are off and the tube takes the deep stops. */
.neon { display: block; flex: none; overflow: visible; }
.neon path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ne-glow { opacity: calc(var(--ne-glow) * .8); }
.ne-core { opacity: var(--ne-core); }
.neon-night { --ne-glow: 1; --ne-core: .8; }
/* lighting it: the tube is drawn in one stroke over 1.5 s, then the gas catches and the glow
   and core flicker on. site.js adds .play when a mark comes into view; theme.js holds every
   mark dark until then (html.neon-wait), and never under reduced motion. */
.neon.play .ne-tube { stroke-dasharray: 1.02 1.02; animation: ne-draw 1.5s cubic-bezier(.6, .05, .3, 1) both; }
.neon.play :is(.ne-glow, .ne-core, .ne-lit) { animation: ne-flick 1.1s steps(1, end) 1.45s both; }
html.neon-wait .neon:not(.play) .ne-tube { stroke-dasharray: 1.02 1.02; stroke-dashoffset: 1.02; }
html.neon-wait .neon:not(.play) :is(.ne-glow, .ne-core, .ne-lit) { visibility: hidden; }
/* the dash runs 2% past the end of the tube, so the round cap at the tail of the s is never dropped */
@keyframes ne-draw { from { stroke-dashoffset: 1.02; } to { stroke-dashoffset: 0; } }
@keyframes ne-flick { 0% { visibility: hidden; } 18% { visibility: visible; } 26% { visibility: hidden; } 44% { visibility: visible; } 52% { visibility: hidden; } 60%, 100% { visibility: visible; } }

/* ---------- the lockup: the word liquor, then the neon os at 1.55 times the type ---------- */
.lockup { display: inline-flex; align-items: center; gap: .1em; font: 700 26px/1 var(--font-display); letter-spacing: -0.035em; white-space: nowrap; color: var(--ink); }
.lockup .wm { display: inline-block; transform: translateY(.02em); }
.lockup .neon { width: 1.55em; height: 1.55em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 15px; border-radius: var(--r-btn); border: 1px solid transparent; font: 600 14px/1 var(--font-body); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; transition: transform .28s var(--spring), background-color .2s ease, border-color .2s ease, color .2s ease, filter .2s ease; }
.btn:active { transform: scale(.965); }
.btn-paper { background: var(--paper); color: var(--paper-ink); }
.btn-paper:hover { filter: brightness(1.06); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { background: var(--panel-2); }
.btn-pri { background: var(--main); color: var(--on-main); }
.btn-sec { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--panel-2); color: var(--ink); }
.btn-main { background: var(--main); color: var(--on-main); min-height: 48px; font-size: 15px; box-shadow: 0 10px 28px -12px rgba(180, 137, 242, .6); }
.btn-sm { min-height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; gap: 5px; }
.btn-lg { min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn-xl { min-height: 54px; padding: 0 26px; font-size: 17px; border-radius: 12px; }
.btn-block { display: flex; width: 100%; }
.btn-fake { cursor: default; }
.btn-fake:active { transform: none; }
.link { border: 0; background: none; padding: 0; font: 600 13px/1.2 var(--font-body); color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font: 600 11.5px/1 var(--font-body); letter-spacing: 0; white-space: nowrap; vertical-align: middle; background: var(--panel-2); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.tag-paper { background: var(--paper); color: var(--paper-ink); box-shadow: none; }

/* ---------- the top bar ---------- */
.site-top { position: sticky; top: 0; z-index: 40; background: var(--canvas); border-bottom: 1px solid var(--line); }
.st { display: flex; align-items: center; gap: 18px; height: 62px; }
.st-brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); border-radius: 8px; }
.st-nav { display: flex; gap: 22px; margin-left: auto; font-size: 13.5px; color: var(--ink-2); }
.st-nav a { text-decoration: none; }
.st-nav a:hover { color: var(--ink); }
.st-in { margin-left: 4px; }
.mode-sw { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); gap: 2px; flex: none; }
.mode-sw button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--ink-3); padding: 5px 11px 5px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.mode-sw button[aria-checked=true] { background: var(--panel); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .18), inset 0 0 0 1px var(--line-2); }
.mode-sw button:hover:not([aria-checked=true]) { color: var(--ink-2); }

/* ---------- the aurora: blurred light that rises from below ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(72px); opacity: var(--aur-op); will-change: transform; animation: drift 24s ease-in-out infinite alternate; }
.aurora .a1 { width: 58%; height: 70%; left: -14%; bottom: -30%; background: var(--aur-1); }
.aurora .a2 { width: 50%; height: 62%; left: 20%; bottom: -28%; background: var(--aur-2); animation-duration: 28s; }
.aurora .a3 { width: 46%; height: 60%; left: 46%; bottom: -30%; background: var(--aur-3); animation-duration: 21s; }
.aurora .a4 { width: 42%; height: 58%; right: -12%; bottom: -14%; background: var(--aur-4); animation-duration: 26s; }
.aurora .a5 { width: 36%; height: 46%; right: -16%; top: 16%; background: var(--aur-5); opacity: calc(var(--aur-op) * .55); animation-duration: 31s; }
.aurora::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--canvas) 26%, color-mix(in oklab, var(--canvas) 62%, transparent) 54%, transparent 82%); }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(4%, -6%, 0) scale(1.12); } }

/* ---------- the hero: the brand guide's, line for line ---------- */
.hero { position: relative; min-height: min(980px, 100vh); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; z-index: 0; pointer-events: none; background: linear-gradient(transparent, var(--canvas)); }
.hero-in { position: relative; z-index: 1; text-align: center; padding: clamp(64px, 10vh, 112px) 0 0; }
.hero-h { font-size: clamp(54px, 9.4vw, 132px); line-height: .92; letter-spacing: -0.03em; word-spacing: .04em; font-weight: 700; margin: 22px 0 28px; }
.hero-h span { display: block; }
.lead { font: 400 clamp(18px, 1.8vw, 22px)/1.3 var(--font-display); letter-spacing: -0.015em; color: var(--ink-2); max-width: 760px; margin: 0 auto; }
.ctas { display: flex; gap: 12px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.hero-stage { position: relative; z-index: 1; display: flex; justify-content: center; margin-top: -20px; padding-bottom: 64px; pointer-events: none; }
.hero-art { width: min(980px, 94vw); height: auto; display: block; overflow: visible; }

/* the sign: the neon os over the bar top, its light pooling on the bar and caught in it upside
   down. It writes itself, flickers on, then hums: the glow breathes slowly while it is lit. */
.sign .ne-glass { stroke: var(--ink); opacity: var(--sg-glass); }
.sign .ne-glow { opacity: var(--sg-glow); }
.sign .ne-core { opacity: var(--sg-core); }
.sign .sg-halo { opacity: var(--sg-halo); }
.sign .sg-pool { opacity: var(--sg-pool); }
.sign .sg-bar { opacity: var(--sg-bar); }
.sign .sg-refl { opacity: var(--sg-refl); }
.sign.play .sg-hum { animation: sg-hum 5.6s ease-in-out 2.6s infinite alternate; }
.sign.play .sg-pool .sg-hum { animation-duration: 7.2s; animation-delay: 2.9s; }
@keyframes sg-hum { 0% { opacity: 1; } 45% { opacity: .84; } 70% { opacity: .95; } 100% { opacity: .88; } }

/* ---------- sections ---------- */
.s { position: relative; padding: 128px 0 0; }
.s-head { max-width: 860px; margin-bottom: 40px; }
.s-head h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.035em; margin: 12px 0 16px; text-wrap: balance; }
.s-head-c { margin-left: auto; margin-right: auto; text-align: center; }
.s-head-c .s-lede { margin: 0 auto; }
.s-lede { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 680px; }
.sub-h { font: 600 12px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }

/* reveal on scroll: only once site.js has armed it, so a page without script shows everything */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal-on [data-reveal].in { opacity: 1; transform: none; }
.reveal-on .staff .sf:nth-child(3n+2) { transition-delay: .06s; }
.reveal-on .staff .sf:nth-child(3n) { transition-delay: .12s; }
.reveal-on .plans .plan:nth-child(2) { transition-delay: .06s; }
.reveal-on .plans .plan:nth-child(3) { transition-delay: .12s; }

/* ---------- the staff mark: a solid white glyph in a dark cut tile, a spectrum facet in its corner ---------- */
.mark { --sz: 48px; position: relative; overflow: hidden; width: var(--sz); height: var(--sz); border-radius: 28%; display: inline-grid; place-items: center; flex: none; background: var(--tile); color: #ffffff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.mark::after { content: ""; position: absolute; right: 0; top: 0; width: 32%; height: 32%; background: linear-gradient(135deg, #e884f5, #8b93f6 60%, #6fb1ff); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.mark > svg { position: relative; z-index: 1; }
.mark .neon { width: 78%; height: 78%; }
.mark-sm { --sz: 36px; }
.mark-xs { --sz: 28px; }

/* ---------- 1 · while you were closed ---------- */
.night { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 22px 26px 18px; }
.night::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--head-light); opacity: .7; -webkit-mask-image: linear-gradient(90deg, transparent 50%, #000 92%); mask-image: linear-gradient(90deg, transparent 50%, #000 92%); }
.night-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--ink-3); }
.night-top b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.night-store { font-size: 12.5px; text-align: center; }
.nb-track { position: relative; height: 34px; }
.nb-sky { position: absolute; left: 0; right: 0; top: 7px; height: 20px; border-radius: 10px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.nb-lit { position: absolute; inset: 0; background: var(--sky); clip-path: inset(0 calc((1 - var(--p, 1)) * 100%) 0 0); }
.nb-tick { position: absolute; top: 0; left: calc(var(--x) * 100%); width: 24px; height: 34px; margin-left: -12px; display: grid; place-items: center; }
.nb-tick i { display: block; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 2px var(--panel); }
.nb-tick[data-kind=call] i { background: var(--k1); }
.nb-tick[data-kind=message] i { background: var(--k2); }
.nb-tick[data-kind=hold] i { background: var(--k3); }
.nb-tick.off i { background: var(--line-2); }
.nb-tick.pop i { animation: pop .5s var(--spring); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.6); } 100% { transform: scale(1); } }
.nb-edge { position: absolute; top: 4px; bottom: 4px; left: calc(var(--p, 1) * 100%); width: 2px; margin-left: -1px; border-radius: 2px; background: #ffffff; opacity: 0; box-shadow: 0 0 12px 3px rgba(180, 137, 242, .55); transition: opacity .3s ease; }
.playing .nb-edge { opacity: 1; }
.night .nb-track { height: 46px; margin: 16px 0 4px; }
.night .nb-sky { top: 10px; height: 26px; border-radius: 13px; }
.night .nb-tick { height: 46px; width: 30px; margin-left: -15px; }
.night .nb-tick i { width: 14px; height: 14px; box-shadow: 0 0 0 3px var(--panel); }
.night-hours { position: relative; height: 16px; font-size: 11.5px; color: var(--ink-3); }
.night-hours span { position: absolute; left: calc(var(--x) * 100%); transform: translateX(-50%); white-space: nowrap; }
.night-hours span:first-child { transform: none; }
.night-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.nb-key { display: flex; gap: 14px; flex-wrap: wrap; font: 500 12.5px/1 var(--font-body); color: var(--ink-2); }
.nb-key span { display: inline-flex; align-items: center; gap: 6px; }
.nb-key i, .ev-k i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.k1 { background: var(--k1); } .k2 { background: var(--k2); } .k3 { background: var(--k3); }
.k0 { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.nb-replay { color: var(--ink-2); }

.events { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.ev { display: grid; gap: 6px; align-content: start; padding: 16px 18px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); transition: opacity .5s ease, border-color .5s ease; }
.ev time { font: 600 15px/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.ev-k { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.ev-k i + i { margin-left: -2px; }
.ev p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.ev.dim { opacity: .35; }
.ev.lit-now { border-color: var(--line-2); }

/* ---------- 2 · the staff ---------- */
.staff { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.sf { background: var(--canvas); padding: 28px 28px 32px; transition: background-color .25s ease; }
.sf:hover { background: var(--panel); }
.sf h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 21px; letter-spacing: -0.025em; margin: 20px 0 8px; }
.sf p { font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 46ch; }

/* ---------- 3 · the dial ---------- */
.dial-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 64px; align-items: start; }
.dial-grid .s-head { margin-bottom: 0; }
.always { margin-top: 36px; }
.always li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.always li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 7px; height: 7px; border-radius: 2px; background: var(--ink-3); }
.dial-card { border-radius: 16px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow-card); padding: 22px; }
.dc-h { display: flex; align-items: center; gap: 12px; }
.dc-who { display: grid; line-height: 1.3; }
.dc-who b { font-size: 15.5px; }
.dc-who span { font-size: 13px; color: var(--ink-3); }
.dial { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin-top: 18px; padding: 4px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.dial button { border: 0; background: transparent; color: var(--ink-2); min-height: 40px; padding: 8px 10px; border-radius: 9px; font: 600 14px/1.2 var(--font-body); transition: background-color .2s ease, color .2s ease; }
.dial button:hover:not([aria-checked=true]) { color: var(--ink); background: var(--panel-3); }
.dial button[aria-checked=true] { background: var(--main); color: var(--on-main); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.dial-panes { margin-top: 20px; min-height: 360px; }
.dial-pane h3 { font-size: 24px; letter-spacing: -0.03em; }
.dial-pane > p { margin-top: 6px; font-size: 15.5px; color: var(--ink-2); }
.dial-pane .ex { margin-top: 16px; }
.dial-pane.enter { animation: pane-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes pane-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dial-def { margin-top: 14px !important; font-size: 13px !important; color: var(--ink-3) !important; }
.receipt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--panel-2); border: 1px solid var(--line); }
.r-ok { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); flex: none; }
.r-t { display: grid; gap: 2px; min-width: 0; }
.r-t b { font-size: 14.5px; font-weight: 600; }
.r-t span { font-size: 12.5px; color: var(--ink-3); }
.r-undo { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font: 600 13px/1 var(--font-body); color: var(--ink); white-space: nowrap; }
.auto-ex { border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; }
.ax { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--panel-2); font-size: 14.5px; }
.ax + .ax { border-top: 1px solid var(--line); }
.ax-s { font-weight: 600; }
.ax-v { color: var(--ink-2); }
.ax-v.ok { color: var(--ok); font-weight: 600; }
.earn { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.earn-b { display: grid; gap: 10px; justify-items: start; }
.earn-b p { padding: 10px 14px; border-radius: 4px 16px 16px 16px; background: var(--panel-2); font-size: 14.5px; line-height: 1.45; }
.dial-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

/* ---------- cards (shared by the dial, the Store Room and the counter page) ----------
   The platform brief's order, each thing said once: where it came from (one quiet line, no staff
   name on a staffer's own card, no status the section already gives), what to decide, the evidence
   in one inset block, then what the yes does beside a quiet Edit and the one paper button. */
.card { position: relative; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); padding: 14px 16px; display: grid; gap: 10px; box-shadow: var(--shadow-card); }
.card-src { display: flex; align-items: center; gap: 8px; min-width: 0; font: 500 13px/1.2 var(--font-body); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.card-src > span:not(.mark) { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-src time { margin-left: auto; white-space: nowrap; }
.mark-src { --sz: 20px; border-radius: 6px; }
.card-t { font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; }
.evid { border-radius: 10px; background: var(--panel-2); overflow: hidden; }
.evid-p { padding: 10px 14px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.quote { padding: 10px 14px; background: var(--panel-2); font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.quote cite { display: flex; gap: 8px; align-items: center; font-style: normal; font: 500 13px/1.2 var(--font-body); color: var(--ink-3); margin-bottom: 5px; }
.stars { display: inline-flex; gap: 2px; }
.stars i { width: 10px; height: 10px; background: var(--line-2); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stars i.on { background: var(--star); }
.draft { padding: 10px 14px; border-top: 1px solid var(--line); background: var(--panel-2); font-size: 14.5px; color: var(--ink); line-height: 1.45; }
.draft-l { font: 600 11px/1 var(--font-body); color: var(--ink-3); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .14em; }
.card-f { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.card-f .btn { min-height: 36px; font-size: 13.5px; }
.card-f .btn-pri { min-width: 112px; }
.card-then { margin-right: auto; font: 500 13px/1.35 var(--font-body); color: var(--ink-3); }
.btn-q { background: transparent; color: var(--ink-2); padding: 0 8px; }

/* ---------- 4 · the morning: the Store Room ---------- */
.dash-wrap { position: relative; isolation: isolate; }
.dash-wrap::before { content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; bottom: 40px; height: 220px; border-radius: 50%; background: var(--spectrum); filter: blur(90px); opacity: .28; pointer-events: none; }
.dash { display: grid; grid-template-columns: 66px minmax(0, 1fr); border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: var(--canvas); box-shadow: var(--shadow-lg); font-size: 14px; text-align: left; }
.d-rail { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 0; background: var(--nav); border-right: 1px solid var(--nav-line); color: var(--nav-ink-2); }
.d-logo { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: #05080d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); margin-bottom: 10px; }
.d-nb { position: relative; width: 44px; height: 42px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; }
.d-nb.on { background: var(--tile); color: #ffffff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.d-nb.on::after { content: ""; position: absolute; right: 0; top: 0; width: 12px; height: 12px; background: linear-gradient(135deg, #e884f5, #8b93f6 60%, #6fb1ff); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.d-nb b { position: absolute; top: 4px; right: 2px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px; background: var(--badge-bg); color: var(--badge-ink); font: 700 9.5px/15px var(--font-body); text-align: center; box-shadow: 0 0 0 2px var(--nav); }
.d-sep { display: block; width: 22px; height: 1px; background: var(--nav-line); margin: 6px auto; }
.d-grow { flex: 1; }
.d-main { min-width: 0; display: flex; flex-direction: column; }
.d-top { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 18px 0 24px; border-bottom: 1px solid var(--line); background: var(--panel); }
.d-title { font: 700 15px/1 var(--font-display); letter-spacing: -0.015em; white-space: nowrap; }
.d-search { display: flex; align-items: center; gap: 8px; height: 36px; width: min(300px, 24vw); padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--ink-3); font-size: 13.5px; white-space: nowrap; overflow: hidden; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 11px; background: var(--panel-2); border: 1px solid var(--line); flex: none; }
.seg > span, .seg button { border: 0; background: transparent; color: var(--ink-2); padding: 5px 9px; border-radius: 8px; font: 600 12px/1.2 var(--font-body); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.seg > .on, .seg button[aria-checked=true] { background: var(--panel); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .14), inset 0 0 0 1px var(--line-2); }
.livepill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.livepill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.ans { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line); background: var(--panel-2); border-radius: 999px; padding: 4px 12px 4px 5px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.ans .sw { width: 30px; height: 18px; border-radius: 99px; background: var(--ok); position: relative; }
.ans .sw i { position: absolute; top: 2px; left: 14px; width: 14px; height: 14px; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-3); color: var(--ink); font: 700 13px/1 var(--font-display); box-shadow: inset 0 0 0 1px var(--line-2); flex: none; }
.d-view { padding: 28px 32px 32px; }
.hello-a { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 6px 28px; padding: 24px 28px 18px; margin: -28px -32px 0; border-bottom: 1px solid var(--line); }
.hello-a::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--head-light); -webkit-mask-image: linear-gradient(90deg, transparent 46%, #000 80%); mask-image: linear-gradient(90deg, transparent 46%, #000 80%); }
[data-mode=light] .hello-a::before { -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 72%); mask-image: linear-gradient(90deg, transparent 30%, #000 72%); }
.hello-h { font-size: 34px; line-height: 1; letter-spacing: -0.035em; margin: 8px 0 6px; }
.hello-a .lede { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.needs { display: flex; align-items: baseline; gap: 8px; color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.needs-n { font: 600 44px/1 var(--font-display); letter-spacing: -0.04em; color: var(--ink); }
.nightbar { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "l track r replay" ". key . ."; gap: 4px 14px; align-items: center; margin-top: 14px; }
.nb-l { grid-area: l; font: 500 12px/1 var(--font-body); color: var(--ink-3); white-space: nowrap; }
.nb-r { grid-area: r; font: 500 12px/1 var(--font-body); color: var(--ink); white-space: nowrap; }
.nightbar .nb-track { grid-area: track; }
.nightbar .nb-replay { grid-area: replay; }
.nightbar .nb-key { grid-area: key; font-size: 12px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
.tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "lbl lbl" "val sp" "delta sp"; column-gap: 12px; row-gap: 7px; align-content: start; padding: 16px 18px 18px; min-height: 88px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.tile .lbl { grid-area: lbl; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.tile .val { grid-area: val; display: flex; align-items: baseline; gap: 8px; font: 700 34px/1 var(--font-display); letter-spacing: -0.03em; }
.tile .val small { font: 500 12.5px/1 var(--font-body); letter-spacing: 0; color: var(--ink-3); }
.tile .delta { grid-area: delta; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.tile .spark, .tile .hist { grid-area: sp; align-self: end; }
.spark { color: var(--spark); }
.spark rect { fill: currentColor; opacity: .32; }
.spark rect.last { opacity: 1; }
.hist { display: grid; gap: 3px; width: 92px; }
.hist-r { display: grid; grid-template-columns: 8px 1fr; gap: 5px; align-items: center; font: normal 600 9px/1 var(--font-body); color: var(--ink-3); }
.hist-r i { display: block; height: 4px; border-radius: 2px; width: var(--w); min-width: 2px; background: var(--star); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 28px; align-items: start; }
.col-main, .col-side { display: grid; gap: 12px; align-content: start; min-width: 0; }
.sec-h { display: flex; align-items: center; gap: 10px; min-height: 22px; }
.sec-h h5 { font: 600 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.sec-h .n { letter-spacing: 0; color: var(--ink-3); font-weight: 500; }
.hint { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.say { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; }
.say-h { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.say-h time { font: 500 11px/1 var(--font-body); color: var(--ink-3); }
.say-b p { padding-top: 2px; font-size: 15px; line-height: 1.45; }
.aa { gap: 8px; padding: 12px; }
.aa-one { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 2px; font: 500 13px/1.3 var(--font-body); color: var(--ink-3); }
.cc { position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); padding: 14px 16px 14px 18px; display: grid; gap: 12px; }
.cc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--spectrum-v); }
.cc-h { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.cc-h .ic { margin-top: 1px; }
.cc-h > span { display: grid; gap: 3px; }
.cc-h b { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.cc-h > span > span { font-size: 12.5px; color: var(--ink-3); }
.cc .card-f { justify-content: flex-start; }
.dash-cap { margin-top: 18px; font-size: 13px; color: var(--ink-3); text-align: center; }

/* ---------- 5 · rules it knows ---------- */
.states { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.state { border-radius: 16px; border: 1px solid var(--line); background: var(--panel); padding: 26px 28px 14px; }
.state-h { display: flex; align-items: center; gap: 14px; }
.state-ab { position: relative; overflow: hidden; width: 48px; height: 48px; border-radius: 28%; display: grid; place-items: center; background: var(--tile); color: #ffffff; font: 700 17px/1 var(--font-display); letter-spacing: -0.02em; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.state-ab::after { content: ""; position: absolute; right: 0; top: 0; width: 32%; height: 32%; background: linear-gradient(135deg, #e884f5, #8b93f6 60%, #6fb1ff); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.state-h h3 { font-size: 26px; letter-spacing: -0.03em; }
.fix { margin: 20px 0 8px; border-radius: var(--r); background: var(--panel-2); border: 1px solid var(--line); overflow: hidden; }
.fix-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 15px; }
.fix-row + .fix-row { border-top: 1px solid var(--line); }
.fix-no { color: var(--ink-3); }
.fix-no .ic { color: var(--bad); }
.fix-no s { text-decoration-color: var(--bad); text-decoration-thickness: 1.5px; }
.fix-ok { color: var(--ink); font-weight: 500; }
.fix-ok .ic { color: var(--ok); }
.ph { display: inline-block; padding: 0 7px; border-radius: 6px; border: 1px dashed var(--line-2); color: var(--ink-2); font-size: .92em; font-weight: 500; }
.rl li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.rl li:first-child { border-top: 0; }
.everywhere { margin-top: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); padding: 24px 28px; }
.everywhere ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px 28px; }
.everywhere li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.fine { margin-top: 20px; font-size: 13px; color: var(--ink-3); }

/* ---------- 6 · counter staff by text ---------- */
.counter-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: center; }
.counter-grid .s-head { margin-bottom: 0; }
.pts { margin-top: 28px; }
.pts li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.pts b { color: var(--ink); font-weight: 600; }
.phones { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
.phone { display: flex; flex-direction: column; width: 284px; min-height: 560px; flex: none; border-radius: 44px; background: var(--canvas); border: 1px solid var(--line-2); box-shadow: 0 0 0 7px var(--bezel), 0 0 0 8px var(--line-2), var(--shadow-lg); overflow: hidden; margin: 8px; }
.phone-card { margin-top: 56px; }
.ph-bar { position: relative; display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 26px 0 30px; font: 600 14px/1 var(--font-display); }
.ph-island { position: absolute; left: 50%; top: 11px; width: 88px; height: 25px; margin-left: -44px; border-radius: 13px; background: #000000; }
.ph-sig { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.ph-sig i { width: 3px; border-radius: 1px; background: currentColor; }
.ph-sig i:nth-child(1) { height: 4px; } .ph-sig i:nth-child(2) { height: 6px; } .ph-sig i:nth-child(3) { height: 8px; } .ph-sig i:nth-child(4) { height: 11px; }
.ph-head { display: grid; justify-items: center; gap: 4px; padding: 6px 0 12px; border-bottom: 1px solid var(--line); background: var(--panel); }
.ph-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #05080d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ph-head b { font-size: 13px; }
.ph-head > span:last-child { font-size: 11px; color: var(--ink-3); margin-top: -3px; }
.ph-thread { padding: 14px 14px 20px; display: grid; gap: 8px; align-content: start; }
.ph-day { text-align: center; font-size: 11px; color: var(--ink-3); margin-bottom: 4px; }
.bub { max-width: 86%; padding: 10px 13px; border-radius: 18px 18px 18px 6px; background: var(--panel-3); font-size: 14px; line-height: 1.38; }
.ph-compose { margin: auto 12px 14px; display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 5px 0 14px; border-radius: 17px; border: 1px solid var(--line-2); font-size: 13px; color: var(--ink-3); }
.ph-compose i { width: 24px; height: 24px; border-radius: 50%; background: var(--panel-3); }
.bub-l { display: block; margin-top: 6px; font-size: 12.5px; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.ph-page { padding: 6px 12px 16px; }
.ph-store { text-align: center; font-size: 12px; color: var(--ink-3); margin: 2px 0 12px; }
.hold { box-shadow: none; padding: 14px; }
.hold .card-f { flex-wrap: wrap; }
.hold .card-then { flex-basis: 100%; }
.hold .card-f .btn { flex: 1; min-width: 0; min-height: 42px; }
.hold-q { display: grid; gap: 10px; }
.hold-done { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 10px; background: var(--ok-soft); font-size: 13.5px; line-height: 1.35; }
.hold-done .ic { color: var(--ok); }
.hold-done .link { margin-left: auto; }
.hold-done[hidden], .hold-q[hidden] { display: none; }

/* ---------- 7 · plans ---------- */
.bill { margin-top: 26px; }
.bill button { padding: 8px 14px; font-size: 13.5px; }
.save { font-size: 11.5px; font-weight: 600; color: var(--ok); }
.bill button[aria-checked=true] .save { color: var(--ok); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); padding: 28px 26px 26px; }
.plan h3 { display: flex; align-items: center; gap: 10px; font-size: 24px; letter-spacing: -0.03em; }
.plan-for { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); min-height: 3em; }
.price { margin-top: 22px; }
.price b { display: block; font: 700 52px/1 var(--font-display); letter-spacing: -0.04em; }
.price span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.extra { margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }
.inc { margin: 22px 0 24px; display: grid; gap: 10px; }
.inc li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.inc li::before { content: ""; position: absolute; left: 3px; top: 4px; width: 5px; height: 10px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan .btn-block { margin-top: auto; }
.plan-note { margin: -8px 0 22px; font-size: 13px; color: var(--ink-3); }
.plan-rec { border-color: transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--spectrum) border-box; box-shadow: 0 30px 70px -36px rgba(180, 137, 242, .55); }
.plans-fine { margin-top: 20px; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.addons { margin-top: 64px; }
.addons ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.addons li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "b em" "s s"; gap: 3px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.addons b { grid-area: b; font-size: 15px; font-weight: 600; }
.addons em { grid-area: em; font-style: normal; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.addons li > span { grid-area: s; font-size: 13.5px; color: var(--ink-3); }

/* ---------- 8 · questions ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 2px; cursor: pointer; list-style: none; font: 600 19px/1.3 var(--font-display); letter-spacing: -0.015em; border-radius: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--ink-3); transition: transform .3s var(--spring); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq summary:hover .ic { color: var(--ink); }
.faq-a p { padding: 0 2px 24px; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 64ch; }

/* ---------- 9 · closing ---------- */
.close { position: relative; overflow: hidden; isolation: isolate; margin-top: 140px; padding-top: 120px; text-align: center; }
.close::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 0; pointer-events: none; background: linear-gradient(transparent, var(--canvas)); }
.close .aurora::after { background: linear-gradient(180deg, var(--canvas) 34%, color-mix(in oklab, var(--canvas) 55%, transparent) 64%, transparent 100%); }
.close-in { position: relative; z-index: 1; }
.close-h { font-size: clamp(42px, 6.6vw, 92px); line-height: .96; letter-spacing: -0.03em; word-spacing: .04em; margin: 0 auto 24px; max-width: 12em; text-wrap: balance; }
.close-stage { margin-top: 8px; padding-bottom: 24px; }
.close-stage .hero-art { width: min(720px, 90vw); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: center; }
.foot-brand p { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--ink-2); }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { color: var(--ink); }
.foot-meta { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }

/* ---------- light/dark switch: the new theme sweeps in from the left ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.vt::view-transition-new(root) { animation: sweep 520ms cubic-bezier(.65, 0, .35, 1) both; }
@keyframes sweep { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }

/* ---------- widths ---------- */
@media (max-width: 1180px) {
  .events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols { grid-template-columns: minmax(0, 1fr) 300px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dial-grid, .counter-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .dial-grid .s-head, .counter-grid .s-head { max-width: 760px; }
  .d-search { display: none; }
  .plan-for { min-height: 4.5em; }
}
@media (max-width: 960px) {
  .st-nav { display: none; }
  .st-in { margin-left: auto; }
  .staff { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .states { grid-template-columns: minmax(0, 1fr); }
  .cols { grid-template-columns: minmax(0, 1fr); }
  .night-store { display: none; }
}
@media (max-width: 820px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .plan-for { min-height: 0; }
}
@media (max-width: 720px) {
  .s { padding-top: 96px; }
  .s-lede { font-size: 16px; }
  .mode-sw button { gap: 0; padding: 6px 8px; }
  .mode-sw button span { display: none; }
  .events { grid-template-columns: minmax(0, 1fr); }
  .addons ul { grid-template-columns: minmax(0, 1fr); }
  .everywhere ul { grid-template-columns: minmax(0, 1fr); }
  .phones { flex-direction: column; align-items: center; gap: 28px; }
  .phone-card { margin-top: 8px; min-height: 0; padding-bottom: 10px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  /* the Store Room at phone width: the app's own phone layout, no rail, one column */
  .dash { grid-template-columns: minmax(0, 1fr); border-radius: 18px; }
  .d-rail { display: none; }
  .d-top { padding: 0 14px; gap: 8px; }
  .d-top .seg, .d-top .ans { display: none; }
  .d-view { padding: 20px 16px 18px; }
  .hello-a { margin: -20px -16px 0; padding: 20px 16px 14px; grid-template-columns: minmax(0, 1fr); }
  .hello-h { font-size: 30px; }
  .needs { order: -1; display: none; }
  .nightbar { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l r" "track track" "key key" "replay replay"; }
  .nightbar .nb-replay { justify-self: start; margin-left: -10px; }
  .tiles { gap: 10px; margin: 20px 0; }
  .tile { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lbl" "val" "delta"; padding: 14px; }
  .tile .spark, .tile .hist { display: none; }
  .tile .val { font-size: 28px; flex-wrap: wrap; row-gap: 2px; }
  .tile .delta { white-space: normal; }
  .card-f { flex-wrap: wrap; }
  .card-then { flex-basis: 100%; }
  .card-src .day { display: none; }
  .card-src > span:not(.mark) { white-space: normal; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 40px); }
  /* the night as a timeline down the page */
  .events { gap: 0; margin-top: 24px; padding-left: 6px; }
  .ev { position: relative; border: 0; border-left: 1px solid var(--line-2); border-radius: 0; background: none; padding: 0 0 22px 22px; }
  .ev:last-child { padding-bottom: 0; border-left-color: transparent; }
  .ev::before { content: ""; position: absolute; left: -5px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--canvas); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
  .st { gap: 10px; }
  .lockup { font-size: 23px; }
  .staff { grid-template-columns: minmax(0, 1fr); }
  .sf { padding: 24px 22px 26px; }
  .night { padding: 18px 16px 14px; }
  .night-hours { display: none; }
  .night-foot { flex-direction: column; align-items: flex-start; }
  .night-foot .nb-replay { margin-left: -10px; }
  .dial-card { padding: 16px; }
  .dial button { font-size: 13px; padding: 8px 6px; }
  .dial-panes { min-height: 0; }
  .state { padding: 22px 18px 10px; }
  .everywhere { padding: 20px 18px; }
  .plan { padding: 24px 20px 20px; }
  .price b { font-size: 46px; }
  .bill button { padding: 8px 10px; }
  .phone { width: min(300px, calc(100vw - 72px)); }
  .faq summary { font-size: 17px; }
  .close { margin-top: 110px; padding-top: 90px; }
  /* the sign stays big enough to read as a sign: wider than the screen, its empty ends cropped */
  .hero .hero-stage { margin-top: 18px; }
  .hero-stage .sign { width: 150vw; max-width: none; }
  .close-stage .sign { width: 128vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora i, .livepill i, .neon, .neon * { animation: none !important; }
  .btn, .sf, .dial button, .ev, .faq summary .ic { transition: none !important; }
  .reveal-on [data-reveal] { opacity: 1; transform: none; transition: none; }
  .dial-pane.enter, .nb-tick.pop i { animation: none; }
}
