/*
  Displai homepage 2026
  Brand: Displai Brand Sheet (Oct 2026). Gellix only (Regular 400, Medium 500, Semibold 600; no Bold).
  Type is black (#171717) or white. Blue 03 for primary actions and graphic accents.
  css/tokens.css defines the shared tokens, including the grounds (--bg, --fg, --rule ...);
  css/theme-white.css and css/theme-black.css add the page-only control colours. This file never hard-codes a ground colour;
  colour on grounds is reserved for accents, the How we work band and the screens themselves.
*/

@font-face { font-family: "Gellix"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/Gellix-Regular.woff2") format("woff2"); }
@font-face { font-family: "Gellix"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/Gellix-Medium.woff2") format("woff2"); }
@font-face { font-family: "Gellix"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/Gellix-SemiBold.woff2") format("woff2"); }

/* Tokens (colour, type, spacing, shape) are in css/tokens.css, loaded before this file. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.5; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--bg); color: var(--fg); padding: 12px 16px; border-radius: var(--radius); font-weight: 500; }
.skip:focus { top: 12px; }
.logo-light { display: var(--logo-on-dark); }
.logo-dark { display: var(--logo-on-light); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: calc(1400px + 2 * var(--gutter)); }

/* ---------- type ---------- */
/* The kicker is the section's real heading (keyword-bearing h2); .display is the idea line. */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: var(--fs-small); font-weight: 600; line-height: 1.3; letter-spacing: .01em; }
.kicker::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--k, currentColor); flex: none; }
h1, .h1 { font-size: var(--fs-h1); font-weight: 500; line-height: 1.02; letter-spacing: -.022em; }
.display, .close h2 { font-size: var(--fs-h2); font-weight: 500; line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; }
h3 { font-size: var(--fs-lede); font-weight: 500; line-height: 1.25; }
.lede { font-size: var(--fs-lede); line-height: 1.45; text-wrap: pretty; }
.small { font-size: var(--fs-small); line-height: 1.5; }

/* ---------- buttons and controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--radius);
  font-size: 1rem; font-weight: 500; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn--primary { background: var(--blue-03); color: #fff; }
.btn--primary:hover { background: var(--blue-04); }
.btn--ghost-light { border-color: var(--fg); color: var(--fg); }
.btn--ghost-light:hover { background: var(--fg); color: var(--bg); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { box-shadow: 0 10px 24px -14px rgba(0,71,212,.9); }
.btn svg, .chip-btn svg, .menu-btn svg, .hero-cue svg { fill: currentColor; }
.chip-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 99px; border: 1px solid var(--rule-strong); background: transparent; color: var(--fg); cursor: pointer;
  font-size: var(--fs-small); font-weight: 500;
}
.chip-btn:hover { background: var(--sel-bg); color: var(--sel-fg); }
.chip-btn svg { width: 16px; height: 16px; }
.toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--rule-strong); background: transparent; color: var(--fg); cursor: pointer; font-size: var(--fs-small); font-weight: 500; text-align: left; }
.toggle::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; flex: none; transition: background-color .2s ease; }
.toggle[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-fg); border-color: var(--sel-bg); }
.toggle[aria-pressed="true"]::before { background: var(--green-01); border-color: var(--green-01); }
.seg-row { display: inline-flex; padding: 4px; border-radius: 99px; border: 1px solid var(--rule); }
.seg { min-height: 44px; padding: 0 20px; border: 0; border-radius: 99px; background: transparent; color: var(--fg); cursor: pointer; font-size: var(--fs-small); font-weight: 500; }
.seg[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-fg); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: calc(var(--header-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); color: var(--fg); background: var(--header-top); transition: background-color .25s ease, box-shadow .25s ease; }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; height: 44px; flex: none; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav a, .header-login { padding: 10px 12px; border-radius: var(--radius); font-size: var(--fs-small); font-weight: 500; text-decoration: none; }
.nav a:hover, .header-login:hover { background: var(--panel-alt); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-cta .btn { min-height: 44px; padding: 0 18px; font-size: var(--fs-small); }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; border-radius: var(--radius); align-items: center; justify-content: center; }
.menu-btn svg { width: 26px; height: 26px; }
.site-header.is-solid { background: var(--header-solid); box-shadow: 0 1px 0 var(--header-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mobile-nav { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: clamp(700px, 100svh, 1020px); background: var(--bg); color: var(--fg); overflow: hidden; }
.hero-media { position: absolute; top: 0; bottom: 0; right: 0; left: 15%; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 62% at 36% 0%, rgba(var(--hero-rgb),.94) 0%, rgba(var(--hero-rgb),.78) 40%, rgba(var(--hero-rgb),0) 100%),
    linear-gradient(90deg, rgba(var(--hero-rgb),1) 0%, rgba(var(--hero-rgb),1) 31%, rgba(var(--hero-rgb),.9) 39%, rgba(var(--hero-rgb),.55) 50%, rgba(var(--hero-rgb),.16) 62%, rgba(var(--hero-rgb),0) 72%),
    linear-gradient(0deg, rgba(var(--hero-rgb),.92) 0%, rgba(var(--hero-rgb),.5) 16%, rgba(var(--hero-rgb),0) 34%),
    linear-gradient(180deg, rgba(var(--hero-rgb),.7) 0%, rgba(var(--hero-rgb),0) 16%);
}
.hero-inner { flex: 1; display: flex; align-items: center; padding-top: calc(var(--header-h) + 24px); padding-bottom: 36px; }
.hero-copy { max-width: 640px; }
.hero .kicker { --k: var(--c-blue); }
.hero h1 { margin-bottom: 24px; }
.hero h1 span, .close h2 span { display: block; text-wrap: balance; }
/* Ryan, Oct 29: the headline's second line in Displai blue, light at the top to deep at the bottom (--h1-blue per theme) */
.hero h1 span:last-child { padding-bottom: .08em; margin-bottom: -.08em; background: var(--h1-blue); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; }
@media (forced-colors: active) { .hero h1 span:last-child { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; } }
.hero .lede { max-width: 600px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cue { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: var(--fs-small); font-weight: 500; text-decoration: none; }
.hero-cue svg { width: 20px; height: 20px; }
.hero-cue:hover span { text-decoration: underline; text-underline-offset: 4px; }

.hero-band { position: relative; border-top: 1px solid var(--rule); background: rgba(var(--hero-rgb),.62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.band-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-list li + li a { border-left: 1px solid var(--rule); }
.band-list a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px 28px 24px; text-decoration: none; transition: background-color .2s ease; }
.band-list li:first-child a { padding-left: 0; }
.band-list a:hover { background: rgba(var(--hero-rgb),.35); }
.band-list a:hover .band-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.band-icon { width: 28px; height: 28px; margin-bottom: 2px; }
.band-icon--blue { fill: var(--c-blue); } .band-icon--orange { fill: var(--c-orange); }
.band-icon--teal { fill: var(--c-teal); } .band-icon--green { fill: var(--c-green); }
.band-title { font-size: var(--fs-lede); font-weight: 500; line-height: 1.2; }
.band-text { font-size: var(--fs-small); line-height: 1.45; }

/* ---------- sections ---------- */
.sec { padding: var(--sec-pad) 0; position: relative; background: var(--bg); color: var(--fg); }
.sec--alt { background: var(--bg-alt); --panel-alt: var(--panel); }
.sec--blue { background: var(--blue-04); color: #fff; --fg: #fff; --bg: var(--blue-04); --rule: rgba(255,255,255,.22); --rule-strong: #fff; }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.chapter-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.chapter-head .lede { max-width: 520px; }
.day { --k: var(--c-orange); }
.connect { --k: var(--c-blue); }
.promos, .menus { --k: var(--c-orange); }
.teams { --k: var(--c-purple); }
.svs-sec { --k: var(--c-green); }
.dash { --k: var(--c-teal); }
.approach { --k: #fff; }
.faq { --k: var(--c-blue); }

/* ---------- customer story ---------- */
.truth {
  --k: var(--orange-01);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(72% 92% at 0% 0%, rgba(66,112,235,.34) 0%, rgba(66,112,235,0) 64%),
    radial-gradient(55% 74% at 100% 100%, rgba(110,51,201,.30) 0%, rgba(110,51,201,0) 68%),
    var(--blue-05);
}
.truth .wrap { position: relative; }
.truth .kicker { color: var(--orange-01); }
.truth-grid {
  display: grid; grid-template-columns: minmax(300px, .78fr) minmax(0, 1.3fr);
  gap: clamp(40px, 7vw, 104px); align-items: center;
}
.truth-media { max-width: 430px; justify-self: center; }
.truth-video-frame {
  position: relative; aspect-ratio: 9 / 16; padding: 10px; border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.26), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.24); box-shadow: 0 38px 80px -34px rgba(0,0,0,.85);
}
.truth-video-frame::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: linear-gradient(145deg, rgba(255,171,145,.8), rgba(135,156,255,.16) 46%, rgba(99,245,217,.5));
}
.truth-video-frame video {
  display: block; width: 100%; height: 100%; border: 0; border-radius: 15px;
  object-fit: cover; background: #171717;
}
.truth-media figcaption { margin-top: 14px; color: rgba(255,255,255,.68); font-size: .875rem; line-height: 1.45; }
.truth-copy { max-width: 700px; }
.truth-brand { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.truth-brand-logo {
  width: 86px; height: 86px; flex: none; object-fit: cover; border-radius: 50%;
  background: #f4f0e5; border: 1px solid rgba(255,255,255,.3);
  box-shadow: 0 16px 34px -20px rgba(0,0,0,.9);
}
.truth-brand .kicker { margin: 0; color: #fff; font-size: 1rem; }
.truth-status {
  display: inline-flex; flex-wrap: wrap; gap: 8px 14px; align-items: center;
  margin-bottom: 26px; font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
}
.truth-brand .truth-status { display: flex; margin-bottom: 8px; }
.truth-status span:first-child { color: var(--orange-01); }
.truth-copy .display { max-width: 680px; margin-bottom: 24px; }
.truth-copy .lede { max-width: 650px; color: rgba(255,255,255,.78); }
.truth-quote { margin: clamp(32px, 4vw, 52px) 0 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.24); }
.truth-quote p { max-width: 670px; font-size: clamp(1.2rem, 1.02rem + .52vw, 1.6rem); line-height: 1.38; text-wrap: pretty; }
.truth-quote cite { display: block; margin-top: 18px; color: var(--teal-01); font-size: .9375rem; font-style: normal; font-weight: 500; }
.truth-proof {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(56px, 7vw, 88px) 0 0;
  border-top: 1px solid rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.24);
}
.truth-proof > div { padding: 28px clamp(20px, 3vw, 40px) 30px; }
.truth-proof > div:first-child { padding-left: 0; }
.truth-proof > div + div { border-left: 1px solid rgba(255,255,255,.24); }
.truth-proof dt { margin-bottom: 8px; color: var(--orange-01); font-size: clamp(1.8rem, 1.4rem + 1vw, 2.6rem); font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.truth-proof dd { margin: 0; max-width: 300px; color: rgba(255,255,255,.72); font-size: .9375rem; line-height: 1.45; }
.truth-moment {
  display: grid; grid-template-columns: minmax(190px, .55fr) minmax(0, 1.4fr); gap: 18px clamp(32px, 6vw, 84px);
  align-items: baseline; margin-top: clamp(40px, 5vw, 64px);
}
.truth-moment-label { color: var(--teal-01); font-size: .9375rem; font-weight: 600; letter-spacing: .01em; }
.truth-moment > p:nth-child(2) { max-width: 760px; font-size: clamp(1.35rem, 1.08rem + .75vw, 1.85rem); line-height: 1.35; text-wrap: pretty; }
.truth-moment-note { grid-column: 2; max-width: 760px; color: rgba(255,255,255,.62); font-size: .9375rem; line-height: 1.5; }

/* devices on the page (bezel colour per theme) */
.device-frame { background: var(--frame); box-shadow: 0 0 0 1px var(--frame-edge), 0 24px 48px -26px var(--shadow) !important; }
.dev-tag { display: block; font-size: var(--fs-small); font-weight: 500; margin-bottom: 10px; white-space: nowrap; }

/* ---------- 2. one restaurant's day ---------- */
.console { border-top: 1px solid var(--rule); padding-top: 24px; margin-bottom: 40px; }
.console-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 8px; }
.demo-label { font-size: var(--fs-small); font-weight: 500; }
.sync { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--rule); font-size: var(--fs-small); font-weight: 500; }
.sync-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-02); box-shadow: 0 0 0 4px rgba(79,235,148,.22); }
.console-top .chip-btn { margin-left: auto; }

.rail { position: relative; padding-top: 52px; --thumb: 30px; --v: 1; }
.rail-pill {
  position: absolute; top: 4px; left: calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--v) / 2);
  transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  background: var(--pill-bg); color: var(--pill-fg); font-size: var(--fs-small); font-weight: 600; font-variant-numeric: tabular-nums;
  padding: 6px 12px; border-radius: 99px; transition: left .45s cubic-bezier(.4,0,.2,1);
}
.rail-pill::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--pill-bg); }
.rail-input { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
.rail-input:focus-visible { box-shadow: none; }
.rail-input::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background:
    radial-gradient(circle, var(--fg) 0 3.5px, transparent 4px) left calc(var(--thumb)/2 - 5px) center / 10px 10px no-repeat,
    radial-gradient(circle, var(--fg) 0 3.5px, transparent 4px) center / 10px 10px no-repeat,
    radial-gradient(circle, var(--fg) 0 3.5px, transparent 4px) right calc(var(--thumb)/2 - 5px) center / 10px 10px no-repeat,
    var(--track);
}
.rail-input::-moz-range-track { height: 6px; border-radius: 3px; background: var(--track); }
.rail-input::-webkit-slider-thumb { -webkit-appearance: none; width: var(--thumb); height: var(--thumb); margin-top: -12px; border-radius: 50%; background: var(--blue-03); border: 4px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.rail-input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--blue-03); border: 4px solid #fff; }
.rail-input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--blue-01); }
.rail-input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px var(--blue-01); }
.rail-stops { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 6px; }
.stop {
  display: flex; flex-direction: column; gap: 2px; min-height: 56px; padding: 8px 14px; border: 1px solid transparent; border-radius: var(--radius);
  background: transparent; color: var(--fg); cursor: pointer; text-align: left; justify-self: start; transition: background-color .2s ease, color .2s ease;
}
.stop:nth-child(2) { justify-self: center; text-align: center; }
.stop:nth-child(3) { justify-self: end; text-align: right; }
.stop:hover { border-color: var(--rule); }
.stop[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-fg); }
.stop-name { font-size: var(--fs-lede); font-weight: 500; line-height: 1.2; }
.stop-time { font-size: var(--fs-small); font-weight: 500; font-variant-numeric: tabular-nums; }
.day-feed { list-style: none; margin: 18px 0 0; padding: 0; display: grid; align-content: start; gap: 6px; min-height: 5.6em; max-width: 900px; font-size: var(--fs-small); }
.feed-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: baseline; line-height: 1.45; }
.feed-time { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.feed-time::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; vertical-align: 2px; background: var(--rule); }
.feed-item:first-child .feed-time::before { background: var(--c-blue); }
.feed-item + .feed-item .feed-text { font-weight: 400; }
.feed-item:first-child .feed-text { font-weight: 500; }
@media (prefers-reduced-motion: no-preference) { .feed-item:first-child { animation: scr-reveal .5s cubic-bezier(.2,.7,.2,1) both; } }

.stage { --pad: 8px; display: grid; align-items: start; }
.stage .group-label { font-size: var(--fs-small); font-weight: 600; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--rule); }
.stage .device-frame { padding: var(--pad); border-radius: 6px; }
.stage-divider { align-self: stretch; justify-self: center; width: 1px; background: var(--rule); }
.aud-switch { display: none; }
@media (min-width: 1100px) {
  .stage {
    --h: calc((100% - 6 * var(--pad) - 16px - 56px) / 4.1181);
    grid-template-columns: calc(2 * var(--pad) + 1.7778 * var(--h)) 16px calc(2 * var(--pad) + .5625 * var(--h)) 56px calc(2 * var(--pad) + 1.7778 * var(--h));
    grid-template-areas: "lc lc lc dv le" "m . p dv c";
  }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .stage {
    --h: calc((100% - 4 * var(--pad) - 18px) / 2.3403);
    grid-template-columns: calc(2 * var(--pad) + 1.7778 * var(--h)) 18px calc(2 * var(--pad) + .5625 * var(--h));
    grid-template-areas: "lc lc lc" "m . p" "le le le" "c . .";
  }
  .stage .lbl-e { margin-top: 40px; }
  .stage-divider { display: none; }
}
.lbl-c { grid-area: lc; } .lbl-e { grid-area: le; } .dev-menu { grid-area: m; } .dev-pop { grid-area: p; } .dev-comms { grid-area: c; } .stage-divider { grid-area: dv; }
.legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rule); }
.legend-item { font-size: var(--fs-small); }
.legend-item strong { display: block; font-weight: 600; margin-bottom: 6px; }

/* ---------- 3. connect your systems ---------- */
.flow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: clamp(56px, 7vw, 96px); }
.flow-col h3 { font-size: var(--fs-small); font-weight: 600; margin-bottom: 16px; }
.flow-list li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule); }
.fl-icon { grid-row: 1 / 3; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--panel-alt); fill: var(--c-blue); }
.flow-col:last-child .fl-icon { fill: var(--c-orange); }
.flow-list li:last-child { border-bottom: 1px solid var(--rule); }
.flow-list .fl-name { font-size: var(--fs-lede); font-weight: 500; line-height: 1.25; }
.flow-list .fl-detail { font-size: var(--fs-small); }
.flow-hub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: clamp(180px, 20vw, 260px); margin: 0 clamp(24px, 4vw, 56px); padding: 40px 24px; }
.flow-wire { position: absolute; top: 50%; height: 2px; width: clamp(24px, 4vw, 56px); background: repeating-linear-gradient(90deg, var(--c-blue) 0 8px, transparent 8px 14px); background-size: 14px 2px; }
.flow-wire--in { right: 100%; } .flow-wire--out { left: 100%; }
@media (prefers-reduced-motion: no-preference) { .flow-wire { animation: flow-x .9s linear infinite; } }
@keyframes flow-x { to { background-position: 14px 0; } }
@keyframes flow-y { to { background-position: 0 14px; } }
.flow-hub-core { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.flow-hub-core img { width: 46%; max-width: 120px; }
.flow-hub-core span { font-size: var(--fs-small); font-weight: 600; text-align: center; }
.coverage { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 32px 64px; padding-top: 48px; border-top: 2px solid var(--rule-strong); }
.coverage-intro h3 { margin-bottom: 12px; }
.coverage-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cov { display: flex; flex-direction: column; gap: 10px; }
.cov-status { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); font-weight: 600; }
.cov-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c-blue); }
.cov-status--scoped::before { background: transparent; border: 2px solid var(--fg); }
.cov-names { font-size: var(--fs-lede); font-weight: 500; line-height: 1.25; }
.cov p { font-size: var(--fs-small); }

/* ---------- 4. POP & LTO ---------- */
.ltod-control { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px 24px; padding: 20px 24px; border-radius: var(--radius); background: var(--panel-alt); margin-bottom: 40px; }
.ltod-control label { font-size: var(--fs-small); font-weight: 600; }
.ltod-clock { font-size: var(--fs-lede); font-weight: 500; font-variant-numeric: tabular-nums; min-width: 9.5ch; }
.ltod-range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
.ltod-range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--track); }
.ltod-range::-moz-range-track { height: 6px; border-radius: 3px; background: var(--track); }
.ltod-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--blue-03); border: 4px solid #fff; box-shadow: 0 1px 6px rgba(0,0,0,.3); }
.ltod-range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--blue-03); border: 4px solid #fff; }
.ltod-range:focus-visible { box-shadow: none; }
.ltod-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--blue-01); }
.ltod-stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.ltod-note { margin-top: 32px; max-width: 820px; font-size: var(--fs-small); }

/* ---------- 5. POS-Powered Menu Boards ---------- */
.posd { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 40px); }
.posd-corp, .posd-pos { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding: 16px 20px; border-radius: var(--radius); background: var(--bg); }
.posd-corp { grid-column: 1 / -1; position: relative; margin-bottom: 36px; border: 2px solid var(--rule-strong); }
.posd-corp::before, .posd-corp::after { content: ""; position: absolute; top: 100%; width: 2px; height: 36px; background: var(--rule-strong); }
.posd-corp::before { left: 25%; } .posd-corp::after { left: 75%; }
.posd-who { display: flex; flex-direction: column; gap: 2px; }
.posd-who b { font-size: var(--fs-small); font-weight: 600; }
.posd-who span { font-size: var(--fs-small); }
.posd-store { display: flex; flex-direction: column; }
.posd-store .dev-tag { margin-bottom: 12px; }
.posd-store .device-frame { padding: 8px; border-radius: 6px; }
.posd-pos { position: relative; margin-top: 36px; border: 2px solid var(--c-blue); }
.posd-pos::before { content: ""; position: absolute; bottom: 100%; left: 50%; width: 2px; height: 36px; background: var(--c-blue); }
.posd-pos .toggle { border-color: var(--c-blue); }
.posd-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 32px; }
.posd-log { font-size: var(--fs-small); min-height: 3em; max-width: 640px; }
.posd-legend { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: var(--fs-small); }
.posd-legend span { display: inline-flex; align-items: center; gap: 10px; }
.posd-legend i { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.pull { margin-top: clamp(48px, 6vw, 80px); max-width: 880px; font-size: var(--fs-h2); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }

/* ---------- 6. Employee Communications ---------- */
.contrast { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.contrast figure { display: flex; flex-direction: column; gap: 16px; }
.contrast figcaption { font-size: var(--fs-small); }
.contrast figcaption strong { display: block; font-size: var(--fs-lede); font-weight: 500; margin-bottom: 4px; }
.contrast .device-frame { padding: 8px; border-radius: 6px; }
.wb { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; background: linear-gradient(#c9ccd1, #a9adb3); padding: 1.6%; box-shadow: 0 18px 40px -22px var(--shadow); }
.wb img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.teams-line { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; }
.teams-line p:first-child { font-size: var(--fs-h2); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.teams-line p:last-child { font-size: var(--fs-lede); max-width: 520px; }

/* ---------- 7. Store vs. Store ---------- */
.svs-wall { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.svs-wall .chip-row { display: inline-flex; padding: 4px; border-radius: 99px; border: 1px solid var(--rule); margin-bottom: 28px; }
.svs-wall .device-frame { padding: 10px; border-radius: 6px; }
.svs-points li { padding: 18px 0; border-top: 1px solid var(--rule); font-size: var(--fs-small); }
.svs-points li:last-child { border-bottom: 1px solid var(--rule); }
.svs-points strong { display: block; font-size: var(--fs-lede); font-weight: 500; margin-bottom: 4px; }

/* ---------- 8. Displai Dashboard ---------- */
.roles { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.roles .toggle[aria-pressed="true"]::before { background: var(--teal-01); border-color: var(--teal-01); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.tree { font-size: var(--fs-small); }
.tree ul { position: relative; margin-left: 22px; padding-left: 22px; }
.tree ul::before { content: ""; position: absolute; left: 0; top: 0; bottom: 26px; width: 2px; background: var(--rule); }
.tree li { position: relative; padding-top: 10px; }
.tree ul > li::before { content: ""; position: absolute; left: -22px; top: 33px; width: 18px; height: 2px; background: var(--rule); }
.node { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border-radius: var(--radius); border: 2px solid var(--rule); background: var(--bg); font-weight: 500; transition: border-color .25s ease, background-color .25s ease, color .25s ease; }
.sec--alt .node { background: var(--panel); }
.node small { font-size: inherit; font-weight: 400; }
.node.is-in, .sec--alt .node.is-in { border-color: var(--node-in-line); background: var(--node-in-bg); color: var(--node-in-fg); }
.tree-leaves { display: flex; flex-wrap: wrap; gap: 8px; margin-left: 22px; padding-left: 22px; padding-top: 10px; position: relative; }
.tree-leaves::before { content: ""; position: absolute; left: 0; top: 0; height: 33px; width: 2px; background: var(--rule); }
.tree-leaves .node { min-height: 40px; padding: 0 12px; }
.role-side { position: sticky; top: calc(var(--header-h) + 24px); }
.role-card { padding: 28px; border-radius: var(--radius); background: var(--teal-05); color: #fff; }
.role-facts { list-style: none; margin: 8px 0 0; padding: 0; }
.role-facts li { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-small); }
.role-fact-k { font-size: 1.0625rem; font-weight: 500; }
.role-card .small { font-weight: 600; }
.role-card h3 { margin: 6px 0 12px; }
.role-card p:last-child { font-size: var(--fs-small); }


/* ---------- 10. How we work ---------- */
.approach .display { max-width: 760px; margin-bottom: 20px; }
.approach .lede { max-width: 640px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 80px); counter-reset: step; }
.steps li { position: relative; padding: 28px 28px 8px 0; border-top: 2px solid rgba(255,255,255,.9); }
.steps li + li { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.22); }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-size: var(--fs-small); font-weight: 600; margin-bottom: 18px; }
.steps h3 { margin-bottom: 10px; }
.steps p { font-size: var(--fs-small); }
.trust { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.22); font-size: var(--fs-small); font-weight: 500; }

/* ---------- 11. Questions ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 32px 64px; align-items: start; }
.qa-list { border-top: 2px solid var(--rule-strong); }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease; }
.qa[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.qa summary h3 { font-size: var(--fs-lede); }
.qa p { padding: 0 48px 24px 0; font-size: var(--fs-small); max-width: 720px; }
.qa p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.qa p a:hover { text-decoration-thickness: 2px; }

/* ---------- 12. close ---------- */
.close { position: relative; overflow: hidden; isolation: isolate; background: var(--bg); color: var(--fg); padding: clamp(96px, 11vw, 168px) 0; }
.close-mark { position: absolute; z-index: -1; right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); top: 50%; width: clamp(180px, 24vw, 340px); transform: translateY(-50%); opacity: var(--close-mark-opacity); }
.close-copy { max-width: 700px; }
.close .kicker { --k: var(--c-blue); }
.close h2 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.022em; margin-bottom: 28px; }
.close .lede { max-width: 580px; margin-bottom: 40px; }
.close-note { margin-top: 20px; font-size: var(--fs-small); }

/* footer */
.site-footer { background: var(--bg-alt); color: var(--fg); padding: 56px 0 88px; border-top: 1px solid var(--rule); }
.foot-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
.foot-top img { height: 28px; width: auto; }
.foot-tag { margin-top: 16px; font-size: var(--fs-small); max-width: 320px; }
.foot-nav { display: grid; grid-template-columns: repeat(3, auto); gap: 24px 56px; }
.foot-nav div { display: flex; flex-direction: column; }
.foot-h { font-size: var(--fs-small); font-weight: 600; margin-bottom: 6px; }
.foot-nav a, .foot-social a { font-size: var(--fs-small); text-decoration: none; padding: 6px 0; }
.foot-nav a:hover, .foot-social a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 24px; font-size: var(--fs-small); }
.foot-social { display: flex; flex-wrap: wrap; gap: 0 20px; }


/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto; z-index: 49; background: var(--bg); color: var(--fg); padding: 8px var(--gutter) 24px; box-shadow: 0 16px 32px -16px rgba(0,0,0,.35); }
  .mobile-nav:not([hidden]) { display: block; }
  .mobile-nav a { display: flex; align-items: center; min-height: 52px; font-size: var(--fs-lede); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--rule); }
  .mobile-nav .btn { width: 100%; margin-top: 20px; border-bottom: 0; color: #fff; }
  .band-list { grid-template-columns: repeat(2, 1fr); }
  .band-list li:nth-child(3) a { border-left: 0; padding-left: 0; }
  .band-list li:nth-child(n+3) a { border-top: 1px solid var(--rule); }
  .chapter-head, .sec-head--split, .faq-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-hub { margin: 24px auto; }
  .flow-wire { left: 50%; right: auto; width: 2px; height: 24px; top: auto; background: repeating-linear-gradient(180deg, var(--c-blue) 0 8px, transparent 8px 14px); background-size: 2px 14px; animation-name: flow-y; }
  .flow-wire--in { bottom: 100%; } .flow-wire--out { top: 100%; }
  .coverage { grid-template-columns: 1fr; }
  .ltod-stores { grid-template-columns: 1fr; gap: 28px; }
  .svs-wall, .dash-grid { grid-template-columns: 1fr; }
  .role-side { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .close-mark { opacity: .3; }
  .truth-grid { grid-template-columns: minmax(260px, .68fr) minmax(0, 1fr); gap: 48px; }
  .truth-proof > div { padding-left: 24px; padding-right: 24px; }
}
@media (min-width: 900px) and (max-height: 860px) {
  .hero .kicker { margin-bottom: 14px; }
  .hero h1 { margin-bottom: 18px; }
  .hero .lede { margin-bottom: 24px; }
  .hero-cue { margin-top: 18px; }
  .band-list a { padding-top: 18px; padding-bottom: 20px; gap: 6px; }
  .hero-inner { padding-bottom: 28px; }
}
@media (max-width: 899px) {
  .hero { min-height: 0; }
  /* Stacked hero. The photo is cropped by layout only (pixels untouched): a size container
     shows the counter and screens and keeps the soffit signage out of frame. */
  .hero-media { position: relative; left: 0; height: 46svh; min-height: 300px; max-height: 460px; overflow: hidden; container-type: size; }
  .hero-media img {
    position: absolute; max-width: none; height: auto; object-fit: fill;
    width: max(200cqw, 166.7cqh);
    left: calc(max(200cqw, 166.7cqh) * -0.40);
    top: calc(max(200cqw, 166.7cqh) * -0.15);
  }
  .hero-shade { background: linear-gradient(180deg, rgba(var(--hero-rgb),.7) 0%, rgba(var(--hero-rgb),0) 24%, rgba(var(--hero-rgb),0) 55%, rgba(var(--hero-rgb),1) 100%); bottom: auto; height: 46svh; min-height: 300px; max-height: 460px; }
  .hero-inner { padding-top: 8px; padding-bottom: 40px; }
  .hero h1 { margin-bottom: 20px; }
  .hero .lede { margin-bottom: 28px; }
  .hero-cue { margin-top: 28px; }
  .truth-grid { grid-template-columns: 1fr; }
  .truth-copy { max-width: none; }
  .truth-media { width: min(78vw, 430px); order: 2; }
  .truth-copy { order: 1; }
}
@media (max-width: 759px) {
  :root { --header-h: 64px; }
  .brand img { height: 26px; }
  .truth-brand { align-items: flex-start; }
  .truth-brand-logo { width: 72px; height: 72px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .band-list a { padding: 22px 16px 24px 16px; }
  .band-list li:nth-child(odd) a { padding-left: 0; }
}
@media (max-width: 699px) {
  .truth-proof { grid-template-columns: 1fr; }
  .truth-proof > div, .truth-proof > div:first-child { padding: 24px 0; }
  .truth-proof > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.24); }
  .truth-moment { grid-template-columns: 1fr; }
  .truth-moment-note { grid-column: 1; }
  .console-top .chip-btn { margin-left: 0; }
  .rail { padding-top: 0; }
  .rail-input, .rail-pill { display: none; }
  .rail-stops { gap: 8px; margin-top: 16px; }
  .rail-stops .stop { justify-self: stretch; text-align: center; align-items: center; border-color: var(--rule); padding: 8px 6px; }
  .day-feed { min-height: 0; }
  .feed-item { grid-template-columns: 82px minmax(0, 1fr); gap: 10px; }
  .feed-item + .feed-item { display: none; }
  .stage { display: block; }
  .aud-switch { display: inline-flex; padding: 4px; border-radius: 99px; border: 1px solid var(--rule); margin-bottom: 20px; }
  .aud-switch button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 99px; background: transparent; color: var(--fg); cursor: pointer; font-size: var(--fs-small); font-weight: 500; }
  .aud-switch button[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-fg); }
  .stage[data-audience="customer"] .lbl-e, .stage[data-audience="customer"] .dev-comms,
  .stage[data-audience="employee"] .lbl-c, .stage[data-audience="employee"] .dev-menu, .stage[data-audience="employee"] .dev-pop { display: none; }
  .dev-pop { width: 56%; margin: 24px auto 0; }
  .stage-divider { display: none; }
  .legend { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .stage[data-audience="customer"] ~ .legend [data-aud="employee"], .stage[data-audience="employee"] ~ .legend [data-aud="customer"] { display: none; }
  .posd { grid-template-columns: 1fr; }
  .posd-corp::before, .posd-corp::after { display: none; }
  .posd-corp { margin-bottom: 24px; }
  .posd-store + .posd-store { margin-top: 40px; }
  .ltod-control { grid-template-columns: 1fr auto; }
  .ltod-control .ltod-range { grid-column: 1 / -1; grid-row: 2; }
  .ltod-control .chip-btn { grid-column: 1 / -1; justify-self: start; }
  .contrast { grid-template-columns: 1fr; }
  .coverage-rows { grid-template-columns: 1fr; gap: 28px; }
  .tree ul { margin-left: 10px; padding-left: 14px; }
  .tree ul > li::before { left: -14px; width: 10px; top: 29px; }
  .tree-leaves { margin-left: 10px; padding-left: 14px; gap: 6px; }
  .node { min-height: 38px; padding: 0 10px; }
  .tree-leaves .node { min-height: 34px; padding: 0 10px; }
  .teams-line { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { padding-left: 0; border-left: 0; }
  .foot-nav { grid-template-columns: 1fr 1fr; }
  .qa p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ======================================================================
   Connect your systems: the platform diagram (control-room panel in both options)
   ====================================================================== */
.hubdiag {
  --flow: row;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr); gap: 0 clamp(64px, 8vw, 128px);
  align-items: center; padding: clamp(32px, 4vw, 56px); margin-bottom: clamp(56px, 7vw, 96px); border-radius: 18px; overflow: hidden;
  color: #fff; isolation: isolate;
  background:
    radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px) 0 0 / 22px 22px,
    radial-gradient(70% 90% at 50% 50%, #142166 0%, #0B1342 55%, #060A24 100%);
  box-shadow: 0 40px 80px -48px rgba(8,23,122,.9);
}
.hub-wires { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: visible; }
.wire { fill: none; stroke-width: 1.5; stroke: rgba(135,156,255,.38); }
.wire--out { stroke: rgba(255,171,145,.38); }
.packet { filter: drop-shadow(0 0 6px currentColor); }
.packet--in { fill: #879CFF; color: #879CFF; }
.packet--out { fill: #FFAB91; color: #FFAB91; }
.hub-col, .hub-core { position: relative; z-index: 1; min-width: 0; }
.hub-h { font-size: var(--fs-small); font-weight: 600; margin-bottom: 16px; }
.hub-list { display: grid; gap: 12px; }
.hub-node { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.hub-icon { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: rgba(135,156,255,.18); fill: #A9B7FF; }
.hub-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hub-txt b { font-size: 1rem; font-weight: 500; line-height: 1.25; }
.hub-txt small { font-size: .8125rem; line-height: 1.35; }
.hub-tag { font-style: normal; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.1); white-space: nowrap; }
.hub-out { grid-template-columns: 156px minmax(0, 1fr); }
.hub-out .device { width: 156px; }
.hub-out .device:has(.scr--portrait) { width: 50px; margin: 0 53px; }
.hub-out .device-frame { padding: 4px; border-radius: 6px; background: #05081C; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 10px 24px -12px rgba(0,0,0,.8) !important; }
.hub-core { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.hub-core img { width: 92px; height: auto; margin-bottom: 6px; }
.hub-core-nm { font-size: 1.125rem; font-weight: 500; }
.hub-core-sub { font-size: .8125rem; line-height: 1.4; max-width: 190px; }
@media (max-width: 1099px) {
  .hubdiag { --flow: column; grid-template-columns: 1fr; gap: 72px; }
  .hub-list { grid-template-columns: 1fr 1fr; }
  .hub-core { padding: 8px 0; }
}
@media (max-width: 699px) {
  .hubdiag { padding: 28px 16px; gap: 64px; border-radius: 14px; }
  .hub-list { grid-template-columns: 1fr; gap: 10px; }
  #hub-out { grid-template-columns: 1fr 1fr; }
  .hub-out { grid-template-columns: 1fr; gap: 10px; padding: 12px; }
  .hub-out .device { width: 100%; }
  .hub-out .device:has(.scr--portrait) { width: 38%; margin: 0 auto; }
  .hub-tag { display: none; }
}

/* ======================================================================
   POP & LTO: one schedule, three time zones
   ====================================================================== */
.lto-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 2.2fr); gap: 28px; align-items: start; }
.lto-rule, .lto-board { border-radius: 14px; background: var(--panel); border: 1px solid var(--rule); }
.lto-rule { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.lto-rule-k { font-size: var(--fs-small); font-weight: 600; }
.lto-rule-nm { font-size: var(--fs-lede); font-weight: 500; line-height: 1.25; }
.lto-rule-dl { margin: 4px 0 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.lto-rule-dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-small); }
.lto-rule-dl dt { font-weight: 600; }
.lto-rule-dl dd { margin: 0; }
.lto-rule-note { font-size: var(--fs-small); }
.lto-board { --meta: 170px; --scr: 92px; padding: 22px 26px 18px; }
.lto-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.lto-top-k { font-size: var(--fs-small); font-weight: 600; }
.lto-top .ltod-clock { font-size: var(--fs-lede); font-weight: 500; font-variant-numeric: tabular-nums; }
.lto-top .chip-btn { margin-left: auto; }
.lto-axis, .lrow, .lto-scrub { display: grid; grid-template-columns: var(--meta) minmax(0, 1fr) var(--scr); gap: 20px; align-items: center; }
.lto-ticks { display: flex; justify-content: space-between; font-size: .75rem; font-weight: 600; padding-bottom: 8px; }
.lrow { padding: 14px 0; border-top: 1px solid var(--rule); }
.lrow-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lrow-city { font-size: 1.0625rem; font-weight: 500; }
.lrow-zone { font-size: .8125rem; }
.lrow-time { font-size: 1.5rem; font-weight: 500; line-height: 1.1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; margin: 6px 0 4px; white-space: nowrap; }
.lrow-status { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--rule); white-space: nowrap; }
.lrow-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 2px solid currentColor; }
.lrow.is-live .lrow-status { background: var(--sel-bg); color: var(--sel-fg); border-color: var(--sel-bg); }
.lrow.is-live .lrow-status::before { background: var(--green-01); border-color: var(--green-01); }
.lrow-track { position: relative; height: 54px; }
.lseg { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 12px; overflow: hidden; color: #fff; font-size: .8125rem; white-space: nowrap; }
.lseg b { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.lseg-bf { left: 0; width: var(--flip); background: var(--orange-04); border-radius: 10px 0 0 10px; }
.lseg-lto { left: var(--flip); right: 0; background: #C22B33; border-radius: 0 10px 10px 0; }
.lrow-track::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--now, 0%); right: 0; background: var(--panel); opacity: .74; border-radius: 0 10px 10px 0; pointer-events: none; }
.lrow-flip { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--flip); width: 2px; margin-left: -1px; background: #fff; font-size: 0; }
.lrow-now { position: absolute; z-index: 3; top: -7px; bottom: -7px; left: var(--now, 0%); width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--fg); }
.lrow-now::before { content: ""; position: absolute; top: -5px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--fg); }
.lrow-screen .device-frame { padding: 4px; border-radius: 6px; }
.lto-scrub { padding-top: 14px; border-top: 1px solid var(--rule); }
.lto-scrub-k { font-size: .8125rem; font-weight: 600; }
.lto-scrub .ltod-range { height: 36px; }
@media (max-width: 1099px) { .lto-layout { grid-template-columns: 1fr; } }
@media (max-width: 699px) {
  .lto-board { padding: 18px 16px 14px; }
  .lto-top { flex-wrap: wrap; }
  .lto-top .chip-btn { margin-left: 0; }
  .lto-axis, .lto-scrub { grid-template-columns: 1fr; gap: 6px; }
  .lto-axis > span, .lto-scrub > span { display: none; }
  .lrow { grid-template-columns: minmax(0, 1fr) 72px; grid-template-areas: "meta scr" "track track"; gap: 12px; }
  .lrow-meta { grid-area: meta; } .lrow-screen { grid-area: scr; } .lrow-track { grid-area: track; height: 44px; }
  .lseg { font-size: .75rem; padding: 0 8px; }
}
