/* ==========================================================================
   MOKY Screens — landing page sections
   Hero console · Quick Start · An example day · Dashboard · Content Hub · Player ·
   Guide · Built for screens at scale · Ads · Contact.
   Shared tokens and buttons are in style.css, the deck nav in nav.css.
   Interaction follows the MOKY app (moky-frontend dashboard.css): cards lift 2px with the app's
   shadow and a glow-blue edge on hover, the selected one wears the blue glow and cyan HUD corners,
   and content rises in on the app's easing curve.
   ========================================================================== */

/* ---------- Page background ---------- */
.bgx {
  position: absolute; left: 0; right: 0; top: 0; height: 1000px;
  pointer-events: none;
  background:
    radial-gradient(900px 480px at 78% 6%, rgba(47, 107, 255, .3), transparent 70%),
    radial-gradient(700px 420px at 6% 30%, rgba(124, 77, 255, .18), transparent 70%),
    linear-gradient(rgba(79, 141, 255, .07) 1px, transparent 1px) 0 0/56px 56px,
    linear-gradient(90deg, rgba(79, 141, 255, .07) 1px, transparent 1px) 0 0/56px 56px;
  -webkit-mask: linear-gradient(#000 55%, transparent);
  mask: linear-gradient(#000 55%, transparent);
}
main { position: relative; overflow-x: clip; }

/* ---------- Motion (only with JS running; .no-boot = scripts failed, show everything) ----------
   Headings fade up as they arrive; [data-stagger] groups rise in one after another, like the
   app's cards. The section gets .in from main.js. */
.no-boot [data-reveal], .no-boot [data-stagger] > * { opacity: 1 !important; transform: none !important; animation: none !important; }
.js [data-reveal] { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js main > section:not(.in) [data-stagger] > * { opacity: 0; }
main > section.in [data-stagger] > * { animation: rise .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms + 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: 72px 0 96px; }
.hg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); gap: 48px; align-items: center; }
.h1 {
  margin: 22px 0;
  font: 700 clamp(42px, 6.2vw, 80px)/1.02 var(--fd);
  letter-spacing: -.03em;
  text-wrap: balance;
}
[dir="rtl"] .h1 { letter-spacing: 0; line-height: 1.25; }
.h1 b {
  background: linear-gradient(135deg, #4F8DFF, #A58BFF);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--sl); border-radius: 99px;
  background: rgba(10, 20, 64, .6);
  color: var(--mu); font-size: 13px; font-weight: 600;
}
.chips svg { color: var(--ok); }

/* Home hero: a three-line headline in the voice of the pricing and Ads pages, two next steps, and
   the console beside it. Scoped to .hero--home because /pricing reuses .hero, .hg and .h1. */
.hero--home { padding: 44px 0 0; }
.hero--home .hg { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 44px; }
.hero--home .h1 { margin: 18px 0 20px; font-size: clamp(38px, 4.3vw, 60px); line-height: 1.04; }
.hero--home .cta { margin-top: 28px; }
.hero--home .cta .beta { margin-inline-start: 2px; }
[dir="rtl"] .hero--home .h1 { line-height: 1.25; }
.hero--home .lead { max-width: 52ch; }
@media (max-width: 1060px) { .hero--home .hg { grid-template-columns: minmax(0, 1fr); } }

/* The two things MOKY does for a business. Each is a way into its part of the page: Control and
   creativity to the Quick Start, Ad screens that earn to the Ads section. Card hover as the app's. */
.adv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 660px; margin: 28px 0 0; padding: 0; list-style: none; }
.adv-b {
  position: relative; height: 100%;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  min-height: 68px; padding: 12px 14px;
  border: 1px solid var(--sl); border-radius: 16px;
  background: rgba(10, 20, 64, .72);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .25s, background-color .2s;
}
.adv-b:hover, .adv-b:focus-visible { transform: translateY(-2px); border-color: var(--pg); background: var(--sf); box-shadow: var(--lift); }
.adv-b:active { transform: scale(.98); }
.adv-i {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(47, 107, 255, .4), rgba(124, 77, 255, .4)); color: #fff;
}
.adv-ads .adv-i { background: linear-gradient(135deg, rgba(124, 77, 255, .45), rgba(47, 107, 255, .3)); }
.adv-i .ic { width: 21px; height: 21px; }
.adv-t { display: grid; gap: 2px; min-width: 0; }
.adv-t b { font: 600 16px/1.25 var(--fd); color: var(--tx); }
.adv-t small { color: var(--mu); font-size: 13px; line-height: 1.4; }
.adv-b > .go { width: 18px; height: 18px; color: var(--mu); transition: transform .3s var(--ease), color .2s; }
.adv-b:hover > .go, .adv-b:focus-visible > .go { color: var(--tx); transform: translateX(3px); }
[dir="rtl"] .adv-b > .go { transform: scaleX(-1); }
[dir="rtl"] .adv-b:hover > .go, [dir="rtl"] .adv-b:focus-visible > .go { transform: scaleX(-1) translateX(3px); }
@media (max-width: 560px), (min-width: 1061px) and (max-width: 1239.98px) { .adv { grid-template-columns: minmax(0, 1fr); max-width: 460px; } }

/* Pricing's preview console (shared header vocabulary) */
.con { padding: 16px; }
.conh {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
[dir="rtl"] .conh { letter-spacing: 0; font-size: 12px; }
.lvb { display: flex; align-items: center; gap: 8px; color: var(--cy); }
.lvb i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 10px var(--ok);
  animation: blink 1.6s ease-in-out infinite;
}
.clk { color: var(--mu); font-variant-numeric: tabular-nums; direction: ltr; }

/* ---------- The app's Live fleet console, cut down to its diagram ---------- */
.fcon {
  position: relative; overflow: hidden;
  padding: 0 16px 16px;
  border: 1px solid var(--sl); border-radius: 16px;
  background:
    linear-gradient(rgba(79, 141, 255, .05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(79, 141, 255, .05) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--sf);
  box-shadow: var(--lift);
}
/* Until hero.js draws the console, hold about the height it will take, so the hero and the section under it do not
   jump when it arrives (measured: a little under the drawn height at every width, one column below 1061px). */
.fcon:empty { min-height: max(360px, calc((100vw - 48px) * .58 + 125px)); }
@media (min-width: 1061px) { .fcon:empty { min-height: 440px; } }
.fcon::before {
  /* A soft blue bloom behind the diagram: the one glow in this area. */
  content: ""; position: absolute; left: 15%; top: 12%; width: 70%; height: 62%;
  background: radial-gradient(closest-side, rgba(47, 107, 255, .22), transparent);
  pointer-events: none;
}
.fcon-h {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 0;
  font: 800 11px/1.2 var(--fb); letter-spacing: .14em; text-transform: uppercase;
}
[dir="rtl"] .fcon-h { letter-spacing: 0; font-size: 12px; }
.fcon-h .sp { flex: 1; }
.fcon-live { display: inline-flex; align-items: center; gap: 8px; color: var(--cy); white-space: nowrap; }
.fcon-live i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 10px var(--ok);
  animation: blink 1.6s ease-in-out infinite;
}
.fcon-sum, .fcon-h .clk { color: var(--mu); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.fcon-demo { padding: 2px 8px; border: 1px solid var(--sl); border-radius: 99px; color: var(--mu); letter-spacing: .08em; }
[dir="rtl"] .fcon-sum, [dir="rtl"] .fcon-h .clk, [dir="rtl"] .fcon-demo { letter-spacing: 0; }
.fcon-pane {
  position: relative; padding: 4px 12px 12px;
  border: 1px solid var(--sl); border-radius: 12px; background: rgba(5, 11, 36, .45);
}
.fcon-pane::before, .fcon-pane::after {
  /* HUD corner ticks, as on the app's panes. */
  content: ""; position: absolute; width: 10px; height: 10px;
  border: 0 solid var(--pg); opacity: .55; pointer-events: none;
}
.fcon-pane::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-top-left-radius: 12px; }
.fcon-pane::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-bottom-right-radius: 12px; }
.fcon-rd {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  min-height: 56px; padding-top: 10px; border-top: 1px solid var(--sl);
}
.fcon-st {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  color: var(--ok); font: 800 11px/1 var(--fb); letter-spacing: .1em; text-transform: uppercase;
}
.fcon-st.bad { color: var(--bad); }
.fcon-st i { width: 9px; height: 9px; border-radius: 3px; background: currentColor; }
[dir="rtl"] .fcon-st { letter-spacing: 0; font-size: 12px; }
.fcon-rdt { display: grid; flex: 1 1 180px; min-width: 0; gap: 1px; }
.fcon-rdt b { overflow: hidden; font: 600 15px/1.3 var(--fd); white-space: nowrap; text-overflow: ellipsis; }
.fcon-rdt small { color: var(--mu); font-size: 12px; line-height: 1.4; }
.fcon-act { flex: none; }
.fcon-act .ic { width: 16px; height: 16px; }
.fcon-act.warn:hover { border-color: var(--bad); background: rgba(244, 63, 94, .1); }
.fcon-att {
  position: relative; display: flex; align-items: center; gap: 12px;
  margin-top: 12px; padding: 10px 14px;
  border: 1px solid var(--bad); border-radius: 12px; background: rgba(244, 63, 94, .08);
  font-size: 13px;
  animation: rowin .35s var(--ease) both;
}
.att-ic { position: relative; display: grid; place-items: center; width: 14px; height: 14px; flex: none; }
.att-ic i, .att-ic::after { width: 8px; height: 8px; border-radius: 50%; background: var(--bad); }
.att-ic::after { content: ""; position: absolute; animation: attring 2.2s ease-out infinite; }
@keyframes attring { from { transform: scale(1); opacity: .7; } to { transform: scale(2.6); opacity: 0; } }
.fcon-att-tx { display: grid; min-width: 0; }
.fcon-att-tx b { color: #FF8FA3; }
.fcon-att-tx span { color: var(--mu); }

.gstage { position: relative; width: 100%; aspect-ratio: 560/340; margin: 6px 0; direction: ltr; container-type: inline-size; }
.gsvg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.ln {
  stroke: var(--pg); stroke-width: 1.6; stroke-dasharray: 3 8; stroke-linecap: round;
  fill: none; opacity: .85;
  animation: dash 1.1s linear infinite;
}
.ln.off { stroke: var(--bad); animation: none; opacity: .55; stroke-dasharray: 2 9; }
.gnode {
  position: absolute; transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 5px;
  min-width: 44px; min-height: 44px; padding: 4px;
  border: 0; background: none;
}
.gnode .dot {
  display: grid; place-items: center;
  width: 46px; height: 34px; border-radius: 10px;
  border: 1.5px solid var(--pg);
  background: var(--sf); color: var(--pg);
  transition: transform .2s var(--ease), border-color .15s, box-shadow .2s;
}
.gnode:hover .dot { transform: translateY(-2px); border-color: var(--tx); }
.gnode .nm { font: 700 12px/1.15 var(--fb); white-space: nowrap; text-shadow: 0 1px 6px #050B24; }
.gnode .tag { margin-top: -2px; color: #FF8FA3; font: 800 11px/1 var(--fb); letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 1px 6px #050B24; }
[dir="rtl"] .gnode .tag { letter-spacing: 0; }
.gnode.off .dot { border-color: var(--bad); color: var(--bad); }
/* Selected: the app's pinned cell (a white outline) plus the one glow. */
.gnode.sel .dot { outline: 2px solid var(--tx); outline-offset: 2px; box-shadow: var(--glow); }

/* A screen in the diagram: a mini picture (minis.css) with its name under it. */
.gn {
  position: absolute; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 5px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
}
.gn::before { content: ""; position: absolute; inset: -6px -6px -8px; } /* a larger tap area than the picture */
.gn .ms { transition: transform .2s var(--ease); }
.gn:hover .ms { transform: translateY(-2px); }
.gn .nm { font: 700 12px/1.15 var(--fb); white-space: nowrap; text-shadow: 0 1px 6px #050B24; }
.gn .tag { margin-top: -2px; color: #FF8FA3; font: 800 11px/1 var(--fb); letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 1px 6px #050B24; }
[dir="rtl"] .gn .tag { letter-spacing: 0; }
.gn.off .ms { filter: grayscale(1) brightness(.55); }
.gn.off .ms-scr { box-shadow: 0 0 0 1px var(--bad); }
.gn.sel .ms-scr { outline: 2px solid var(--tx); outline-offset: 2px; box-shadow: var(--glow); }
.gn:focus-visible { outline: 2px solid var(--cy); outline-offset: 4px; border-radius: 8px; }
/* coins rising from a screen that is running ads */
.gcoins { position: absolute; inset-inline: 0; top: 0; height: 0; pointer-events: none; }
.gcoins i {
  position: absolute; top: 0; width: 13px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FDE68A, #F59E0B 70%); border: 1px solid #B45309; color: #78350F; opacity: 0;
  font: 800 8px/11px var(--fb); text-align: center; animation: coinUp 3.4s ease-out var(--d, 0s) infinite;
}
.gcoins i::before { content: "$"; }
.gcoins i:nth-child(1) { left: 22%; --d: 0s; }
.gcoins i:nth-child(2) { left: 48%; --d: 1.1s; }
.gcoins i:nth-child(3) { left: 72%; --d: 2.2s; }
@keyframes coinUp { 0% { opacity: 0; transform: translateY(14px) scale(.7); } 15% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-22px) scale(1); } }
@media (prefers-reduced-motion: reduce) { .gcoins i { animation: none; opacity: 0; } }
@container (max-width: 420px) {
  .gn .ms-ad { font-size: 0; gap: 0; justify-content: center; }
  .gn .ms-ad i { margin: 0 3px; }
  .gn .ms-ad b { font-size: 8px; margin: 0; }
  .gn .nm { font-size: 10px; }
}

/* The Dashboard, drawn as a small app window in the middle of the network, with the Content Hub
   inside it: the Content Hub is where Dashboard users turn assets into Sequences, Channels, Layouts
   and Video Walls, not an app of its own. The window covers the hub end of every line, so the
   lines leave from its edge. Sizes follow the stage width (cqw) so it reads the same on a phone. */
.gdash {
  position: absolute; left: 32.5%; top: 24.7%; width: 35%; height: 49.4%;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; justify-items: center; align-items: center;
  padding: clamp(4px, 1.4cqw, 8px) clamp(5px, 1.6cqw, 10px) clamp(5px, 1.6cqw, 10px);
  border: 1.5px solid color-mix(in srgb, var(--pg) 70%, transparent); border-radius: clamp(10px, 2.8cqw, 16px);
  background: linear-gradient(160deg, rgba(47, 107, 255, .22), rgba(124, 77, 255, .16) 70%), var(--sf);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7);
  transition: border-color .2s;
}
.gdash.on { border-color: var(--pg); }
.gdash-bar { justify-self: start; display: flex; gap: clamp(2px, .7cqw, 4px); }
.gdash-bar i { width: clamp(3px, .9cqw, 5px); aspect-ratio: 1; border-radius: 50%; background: var(--ln); }
.gdash-main {
  display: grid; justify-items: center; align-content: center; gap: clamp(2px, .8cqw, 5px);
  min-width: 44px; min-height: 44px; padding: 2px 6px; border: 0; border-radius: 10px; background: none;
}
.gdash-main .dot {
  display: grid; place-items: center;
  width: clamp(26px, 9cqw, 48px); aspect-ratio: 1; border-radius: clamp(8px, 2.6cqw, 14px);
  border: 1.5px solid var(--pg);
  background: linear-gradient(135deg, rgba(47, 107, 255, .35), rgba(124, 77, 255, .35)), var(--sf);
  transition: transform .2s var(--ease), border-color .15s, box-shadow .2s;
}
.gdash-main .bm { width: 66%; height: 66%; }
.gdash-main .nm { font: 700 clamp(11px, 2.5cqw, 13px)/1.15 var(--fb); white-space: nowrap; }
.gdash-main:hover .dot { transform: translateY(-2px); border-color: var(--tx); }
.gdash-main.sel .dot { outline: 2px solid var(--tx); outline-offset: 2px; box-shadow: var(--glow); }
.gdash-hub {
  display: inline-flex; align-items: center; justify-content: center; gap: clamp(3px, 1cqw, 6px);
  width: 100%; min-height: clamp(24px, 6.4cqw, 34px); padding: 0 clamp(4px, 1.2cqw, 8px);
  border: 1px solid color-mix(in srgb, var(--vi) 75%, transparent); border-radius: clamp(7px, 2cqw, 10px);
  background: rgba(124, 77, 255, .16); color: #CDBEFF;
  transition: border-color .15s, background-color .15s;
}
/* a larger hit area than the chip draws, for small phones */
.gdash-hub::after { content: ""; position: absolute; inset: -4px -6px -10px; }
.gdash-hub .ic { width: clamp(12px, 3cqw, 16px); height: clamp(12px, 3cqw, 16px); flex: none; }
.gdash-hub .nm { color: var(--tx); font: 700 clamp(10px, 2.3cqw, 12px)/1.1 var(--fb); white-space: nowrap; }
.gdash-hub:hover { border-color: #B9A5FF; background: rgba(124, 77, 255, .26); }
.gdash-hub.sel { border-color: var(--tx); outline: 2px solid var(--tx); outline-offset: 2px; background: rgba(124, 77, 255, .3); }

/* Signal log rows (guide) */
.lgr span { font-weight: 800; letter-spacing: .08em; font-size: 10px; }
[dir="rtl"] .lgr span { letter-spacing: 0; font-size: 11px; }
.lgr span.p { color: var(--cy); }
.lgr span.d { color: #B9A5FF; }
.lgr span.s { color: var(--am); }

/* ==========================================================================
   MOKY Screens Explainer (section #platform): the 90-second tour, framed
   The tour lives in embed/explainer.html and plays inside this panel, centred and kept
   narrower than the page so it reads as a video. platform.js sizes the frame to its content.
   ========================================================================== */
#platform { --qo: 420px; } /* room for the heading, the padding, and the controls and chapters under the stage */
.qs-head { max-width: 760px; margin: 0 auto; text-align: center; }
.qs-head .eb { justify-content: center; }
.qs-head .h2 { font-size: clamp(24px, 3.4vw, 36px); white-space: nowrap; }
#platform { padding-block: clamp(20px, 3vw, 36px); }
.qs {
  /* narrower on short screens so heading + walkthrough always fit one view */
  max-width: clamp(640px, calc((100svh - var(--qo)) * 1.7778 + 28px), 1040px); margin: 16px auto 0; padding: 12px;
  box-shadow: 0 40px 90px -40px rgba(47, 107, 255, .55);
}
.qs-frame {
  display: block; width: 100%;
  /* a first guess (16:9 stage + controls + chapters) until the tour reports its height */
  height: calc((min(100vw - 48px, 1040px, (100svh - var(--qo)) * 1.7778 + 28px) - 28px) * .5625 + 160px);
  border: 0; border-radius: 12px; background: #050B24; color-scheme: dark;
}
.pi {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(47, 107, 255, .35), rgba(124, 77, 255, .35));
  color: #fff; flex: none;
}
.ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.ul svg { margin-top: 3px; color: var(--ok); }
.gk { font: 800 11px/1 var(--fb); letter-spacing: .16em; text-transform: uppercase; color: var(--cy); }
[dir="rtl"] .gk { letter-spacing: 0; font-size: 13px; }

/* ==========================================================================
   Product tour (real screenshots) — Dashboard + Player
   ========================================================================== */
.tour { display: grid; grid-template-columns: minmax(250px, 340px) minmax(0, 1fr); gap: 28px; margin-top: 44px; align-items: start; }
.tour-side { min-width: 0; }
.tabs-v { display: grid; gap: 10px; }
.tour-note { display: grid; gap: 10px; margin-top: 18px; padding: 14px 16px; border: 1px dashed var(--ln); border-radius: 14px; color: var(--mu); font-size: 14px; }
.tour-note p { display: flex; gap: 10px; margin: 0; }
.tour-note p svg { margin-top: 3px; color: var(--pg); }
.tour-note a { display: inline-flex; align-items: center; gap: 8px; color: var(--tx); font-weight: 700; }
.tour-note a:hover { color: var(--pg); }
.st {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start;
  text-align: start;
  padding: 14px 16px;
  border: 1px solid var(--sl); border-radius: 14px;
  background: rgba(10, 20, 64, .7);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .25s, background-color .2s;
}
.st i {
  grid-row: span 2;
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(47, 107, 255, .14); color: var(--pg);
  font-style: normal;
  transition: background-color .2s, color .2s;
}
.st i .ic { width: 18px; height: 18px; }
.st[aria-selected="true"] i { background: var(--pr); color: #fff; }
.st b { font: 600 16px/1.25 var(--fd); }
.st small { color: var(--mu); font-size: 12.5px; line-height: 1.45; }
.stage-shot { min-width: 0; }
.shot-frame { position: relative; padding: 14px; }
.panes { display: grid; }
.pane {
  grid-area: 1 / 1; min-width: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.pane.on { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.bf { border: 1px solid var(--sl); border-radius: 12px; background: var(--sf); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.bf-bar { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border-bottom: 1px solid var(--sl); background: #081034; direction: ltr; }
.bf-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--ln); }
.bf-bar span {
  flex: 1; max-width: 360px; margin-inline: 10px auto;
  padding: 3px 12px; border-radius: 99px;
  background: rgba(5, 11, 36, .8); border: 1px solid var(--sl);
  color: var(--mu); font-size: 11px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot { display: block; position: relative; width: 100%; padding: 0; border: 0; background: #000; cursor: zoom-in; overflow: hidden; }
.shot img { display: block; width: 100%; height: auto; transition: scale .6s var(--ease); }
.shot:hover img { scale: 1.02; }
.shot .zoom {
  position: absolute; inset-inline-end: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 99px;
  background: rgba(5, 11, 36, .78); border: 1px solid var(--ln);
  font-size: 12px; font-weight: 700;
  opacity: 0; transform: translateY(4px);
  transition: opacity .2s, transform .2s;
}
.shot:hover .zoom, .shot:focus-visible .zoom { opacity: 1; transform: none; }
.tvf { padding: 10px; border: 7px solid #020618; border-radius: 16px; background: #000; box-shadow: 0 0 0 1px var(--ln), 0 24px 60px rgba(0, 0, 0, .5); }
.tvf .shot img { border-radius: 4px; }
.tv-stand { width: 28%; height: 10px; margin: 0 auto; border-radius: 0 0 10px 10px; background: linear-gradient(#0b1440, #050B24); border: 1px solid var(--sl); border-top: 0; }
.shot-cap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 8px 32px; margin-top: 16px; padding: 4px 4px 0; }
.shot-cap h3 { margin: 0 0 6px; font: 600 22px/1.25 var(--fd); }
.shot-cap p { margin: 0; color: var(--mu); }
.shot-cap .ul li { font-size: 14px; color: var(--mu); }

/* Lightbox */
.lbx {
  width: min(1280px, 94vw); max-width: none; max-height: 92vh;
  padding: 0; border: 1px solid var(--ln); border-radius: 16px;
  background: #020618; color: var(--tx); overflow: hidden;
}
.lbx::backdrop { background: rgba(2, 6, 24, .86); backdrop-filter: blur(4px); }
.lbx-in { display: grid; max-height: 92vh; }
.lbx img { display: block; width: 100%; max-height: calc(92vh - 62px); object-fit: contain; background: #000; }
.lbx-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--sl); }
.lbx-bar b { flex: 1; min-width: 0; font: 600 15px var(--fd); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lbx-bar .ib { width: 40px; height: 40px; }

/* ==========================================================================
   Guide — Dashboard ⇄ Player simulator
   ========================================================================== */
.gtabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.mt {
  position: relative;
  display: grid; gap: 4px; text-align: start;
  padding: 14px 16px;
  border: 1px solid var(--sl); border-radius: 14px;
  background: rgba(10, 20, 64, .7);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .25s, background-color .2s;
}
.mt i { font: 800 11px/1 var(--fb); font-style: normal; letter-spacing: .14em; color: var(--cy); }
[dir="rtl"] .mt i { letter-spacing: 0; font-size: 12px; }
.mt b { font: 600 16px/1.25 var(--fd); }
.mt small { color: var(--mu); font-size: 12px; }
.gcard { margin-top: 14px; padding: 22px 24px; display: grid; gap: 16px; }
.gtop { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.stp { display: flex; gap: 8px; flex-wrap: wrap; }
.sd {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 0 12px;
  border: 1px solid var(--sl); border-radius: 99px;
  background: rgba(5, 11, 36, .5);
  font-size: 12px; font-weight: 700; color: var(--mu);
}
.sd:hover { border-color: var(--pg); color: var(--tx); }
.sd.on { border-color: var(--pg); color: var(--tx); background: rgba(47, 107, 255, .2); }
.sd.done { color: var(--ok); border-color: rgba(34, 197, 94, .5); }
.sd span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--s2); font-size: 11px; }
.gbody { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px 40px; align-items: start; }
.gbody h3 { margin: 0 0 8px; font: 600 clamp(22px, 2.6vw, 30px)/1.2 var(--fd); }
.gbody p { margin: 0; color: var(--mu); font-size: 16px; }
.why { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px dashed var(--ln); border-radius: 12px; font-size: 14px; color: var(--mu); }
.why svg { color: var(--cy); margin-top: 2px; }
.nud { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--am); background: rgba(245, 158, 11, .12); color: #FCD9A0; font-size: 13px; font-weight: 600; }
.gctl { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.gstat { margin-inline-start: auto; font-size: 13px; color: var(--mu); font-weight: 600; }
.pbar { height: 3px; border-radius: 3px; background: rgba(30, 58, 138, .6); overflow: hidden; direction: ltr; }
.pbar i { display: block; height: 100%; background: linear-gradient(90deg, #2F6BFF, #22D3EE); transition: width .8s linear; }

.stage { display: grid; grid-template-columns: minmax(0, 1.5fr) 72px minmax(0, 1fr); align-items: center; margin-top: 22px; direction: ltr; }
[dir="rtl"] .win, [dir="rtl"] .tvw { direction: rtl; }
.win { border: 1px solid var(--sl); border-radius: 16px; background: var(--sf); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.wbar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--sl); background: #081034;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mu);
}
[dir="rtl"] .wbar { letter-spacing: 0; font-size: 12px; }
.wbar i { width: 9px; height: 9px; border-radius: 50%; background: var(--ln); }
.wbar span { margin-inline-start: 6px; }
.wbody { display: flex; flex-direction: column; gap: 12px; min-height: 372px; padding: 14px; }
.dh { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dh .lg { display: flex; align-items: center; gap: 8px; font: 700 13px var(--fd); letter-spacing: .24em; direction: ltr; }
.dh .lg .bm { width: 22px; height: 22px; }
.lic { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; font-size: 12px; font-weight: 700; color: var(--mu); font-variant-numeric: tabular-nums; }
.pips { display: flex; gap: 3px; direction: ltr; }
.pips i { width: 6px; height: 14px; border-radius: 2px; background: var(--s2); }
.pips i.on { background: linear-gradient(180deg, #4F8DFF, #7C4DFF); }
.vt { font: 600 15px var(--fd); }
.rowh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rowh span { font-size: 12px; color: var(--mu); }
.scg { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.sc { display: block; text-align: start; border: 1px solid var(--sl); border-radius: 12px; background: var(--bg); overflow: hidden; padding: 0; }
.sc .pic { border-radius: 11px 11px 0 0; height: 62px; background: linear-gradient(135deg, #1E3A8A, #7C4DFF); }
.sc .pic.b { background: linear-gradient(135deg, #0F766E, #2F6BFF); }
.sc .pic.c { background: linear-gradient(135deg, #334155, #1E293B); filter: grayscale(1) brightness(.6); }
.sc .pic.d { background: linear-gradient(135deg, #2F6BFF, #22D3EE); }
.sc .sb { display: grid; gap: 3px; padding: 8px 10px; }
.sc b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc small { color: var(--mu); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc .bdg { justify-self: start; font-size: 10px; padding: 1px 8px; }
.sc.hl { overflow: visible; }

/* Highlighted "click me" control */
.hl {
  position: relative;
  animation: hlp 1.4s ease-in-out infinite;
  border-color: var(--cy) !important;
  box-shadow: 0 0 0 2px rgba(34, 211, 238, .35), 0 0 22px rgba(34, 211, 238, .55);
}
.hl::after {
  content: attr(data-hint);
  position: absolute; top: -9px; inset-inline-end: 10px;
  padding: 3px 7px; border-radius: 6px;
  background: var(--cy); color: #041029;
  font: 800 10px/1 var(--fb); letter-spacing: .1em; text-transform: uppercase;
  pointer-events: none; z-index: 2;
}
[dir="rtl"] .hl::after { letter-spacing: 0; font-size: 11px; }
.hl.press { transform: scale(.97); }

.codew { display: grid; gap: 14px; justify-items: start; }
.codew h4 { margin: 0; font: 600 18px var(--fd); }
.codew p { margin: 0; font-size: 14px; color: var(--mu); }
.cells { display: flex; gap: 8px; padding: 10px; border: 1px solid var(--ln); border-radius: 14px; background: var(--bg); direction: ltr; }
.cells span { display: grid; place-items: center; width: 40px; height: 50px; border-radius: 10px; border: 1px solid var(--ln); background: var(--s2); font: 600 22px var(--fd); }
.cells span.cur { border-color: var(--cy); animation: blink 1.1s ease-in-out infinite; }
.cells.ok span { border-color: var(--ok); color: var(--ok); }
.vchip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--ok); color: var(--ok); font-size: 13px; font-weight: 700; }
.fld {
  width: 100%; min-height: 42px; padding: 0 12px;
  border: 1px solid var(--field); border-radius: 10px;
  background: var(--bg); color: var(--tx);
  font: 600 14px var(--fb);
}
.fld:focus { border-color: var(--pg); outline: none; box-shadow: 0 0 0 3px rgba(79, 141, 255, .25); }
.fld[aria-invalid="true"] { border-color: var(--bad); }
.frm { display: grid; gap: 12px; width: 100%; }
.frm label, .frm .lbl { display: grid; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mu); }
[dir="rtl"] .frm label, [dir="rtl"] .frm .lbl { letter-spacing: 0; font-size: 12.5px; }
.sgm { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--sl); border-radius: 10px; background: var(--bg); }
.sgm button { flex: 1; min-height: 36px; border: 0; border-radius: 8px; background: none; color: var(--mu); font-weight: 700; font-size: 13px; }
.sgm button.on { background: var(--pr); color: #fff; }
.pill { display: flex; flex-wrap: wrap; gap: 6px; }
.pill button { min-height: 36px; padding: 0 14px; border: 1px solid var(--ln); border-radius: 99px; background: none; color: var(--mu); font-weight: 700; font-size: 13px; }
.pill button:hover { border-color: var(--pg); color: var(--tx); }
.pill button.on { background: var(--pr); border-color: var(--pg); color: #fff; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--sl); overflow-x: auto; }
.tabs span { padding: 8px 12px; font-size: 13px; font-weight: 700; color: var(--mu); white-space: nowrap; }
.tabs span.on { color: var(--tx); border-bottom: 2px solid var(--cy); }
.lst { display: grid; gap: 8px; }
.it { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; padding: 10px 12px; border: 1px solid var(--sl); border-radius: 12px; background: var(--bg); }
.it .th { width: 44px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #2F6BFF, #7C4DFF); flex: none; }
.it .th.x { background: linear-gradient(135deg, #0F766E, #22D3EE); }
.it .th.y { background: linear-gradient(135deg, #B45309, #F43F5E); }
.it b { display: block; font-size: 14px; }
.it small { color: var(--mu); font-size: 12px; }
.it.sel { border-color: var(--ok); background: rgba(34, 197, 94, .1); }
.act { display: flex; gap: 8px; flex-wrap: wrap; }
.nowp { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--sl); border-radius: 12px; background: var(--bg); }
.nowp small { display: block; color: var(--mu); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
[dir="rtl"] .nowp small { letter-spacing: 0; font-size: 12px; }
.nowp b { font-size: 15px; }
.ban { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--am); background: rgba(245, 158, 11, .1); color: #FCD9A0; font-size: 13px; font-weight: 600; }

/* Link between the two sides */
.lkw { position: relative; display: grid; place-items: center; align-self: stretch; }
.lk { width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--cy) 0 6px, transparent 6px 14px); background-size: 14px 2px; }
.lk.dp { animation: fx .6s linear infinite; }
.lk.pd { animation: fx .6s linear infinite reverse; }
.lk.both {
  background: repeating-linear-gradient(90deg, var(--cy) 0 6px, transparent 6px 14px);
  height: 6px;
  border-top: 1px solid rgba(34, 211, 238, .4); border-bottom: 1px solid rgba(124, 77, 255, .5);
  animation: fx 1.4s linear infinite;
}
.lk.none { opacity: .25; }
.lkl {
  position: absolute; top: calc(50% + 12px); left: 50%; transform: translateX(-50%);
  width: 76px; text-align: center;
  font: 700 10px/1.25 var(--fb); letter-spacing: .06em; text-transform: uppercase; color: var(--cy);
}
[dir="rtl"] .lkl { letter-spacing: 0; font-size: 11px; }

/* The simulated TV */
.tvw { display: grid; gap: 10px; }
.tv { position: relative; aspect-ratio: 16/9; border: 6px solid #020618; border-radius: 14px; background: #000; overflow: hidden; box-shadow: 0 0 0 1px var(--ln), 0 24px 60px rgba(0, 0, 0, .5); }
.tvs { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px; padding: 10px; text-align: center; }
.tvs.pair { background: radial-gradient(circle at 50% 30%, #10286f, #050B24); }
.tvs h5 { margin: 0; font: 600 14px var(--fd); }
.tvs small { color: var(--mu); font-size: 11px; }
.tvc { display: flex; gap: 4px; direction: ltr; }
.tvc span { display: grid; place-items: center; width: 26px; height: 34px; border-radius: 7px; border: 1px solid var(--pg); background: rgba(47, 107, 255, .2); font: 600 17px var(--fd); box-shadow: 0 0 12px rgba(47, 107, 255, .5); }
.tvpl { background: linear-gradient(120deg, #2F6BFF, #7C4DFF, #22D3EE, #2F6BFF); background-size: 300% 300%; animation: flow 7s ease-in-out infinite; }
.tvpl h5 { font-size: clamp(16px, 2.2vw, 24px); text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.tvbadge { position: absolute; inset-inline-start: 8px; bottom: 8px; display: flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px; background: rgba(5, 11, 36, .7); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.tvbadge i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.tvmn { position: absolute; inset-inline-end: 8px; bottom: 8px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(5, 11, 36, .65); }
.tvmenu { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(2, 6, 24, .78); }
.tvmenu div { display: grid; gap: 6px; width: 70%; }
.tvmenu button { min-height: 34px; padding: 0 12px; border: 1px solid var(--ln); border-radius: 9px; background: var(--sf); text-align: start; font-size: 12px; font-weight: 700; }
.tvoff { background: #000; }
.tvoff button { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--ln); border-radius: 99px; background: #07102f; font-size: 13px; font-weight: 700; }
.tvcap { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mu); }
[dir="rtl"] .tvcap { letter-spacing: 0; font-size: 12px; }
.glog { margin-top: 22px; padding: 16px 18px; }
.glog h4 { margin: 0 0 8px; font: 800 11px/1 var(--fb); letter-spacing: .16em; text-transform: uppercase; color: var(--cy); }
[dir="rtl"] .glog h4 { letter-spacing: 0; font-size: 13px; }
.lgr { animation: rowin .45s ease-out; display: grid; grid-template-columns: 70px 92px minmax(0, 1fr); gap: 10px; padding: 5px 0; border-bottom: 1px dashed rgba(30, 58, 138, .6); font-size: 13px; }
.lgr time { color: var(--mu); font-variant-numeric: tabular-nums; direction: ltr; text-align: start; }
.lgr span { padding-top: 2px; }
.lgr em { font-style: normal; }

/* ==========================================================================
   Content Hub workshop
   ========================================================================== */
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; font-size: 13px; font-weight: 700; color: var(--mu); }
.chain .k { padding: 6px 12px; border: 1px solid var(--sl); border-radius: 99px; background: rgba(10, 20, 64, .6); color: var(--tx); }
.chain svg { color: var(--cy); }
.demo { display: grid; gap: 14px; align-content: start; min-width: 0; }
.hub-stage { min-height: 430px; padding: 16px; background: var(--bg); }
.shot-cap .btn { margin-top: 14px; }
.sqtv { position: relative; display: grid; place-items: center; aspect-ratio: 16/9; max-height: 230px; width: 100%; padding: 10px; border: 5px solid #020618; border-radius: 12px; text-align: center; overflow: hidden; transition: background .4s; }
.sqtv b { font: 600 clamp(16px, 2.4vw, 24px) var(--fd); }
.sqtv small { color: rgba(255, 255, 255, .85); font-size: 12px; font-weight: 700; }
.t-image { background: linear-gradient(135deg, #2F6BFF, #1E3A8A); }
.t-video { background: linear-gradient(135deg, #7C4DFF, #2F6BFF); }
.t-url { background: linear-gradient(135deg, #0F766E, #22D3EE); }
.tl { position: relative; display: flex; gap: 3px; height: 36px; direction: ltr; }
.tl i { display: grid; place-items: center; min-width: 0; border-radius: 8px; border: 1px solid var(--ln); background: var(--s2); font: 800 11px var(--fb); font-style: normal; overflow: hidden; }
.tl i.on { border-color: var(--cy); background: rgba(34, 211, 238, .18); }
.ph { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--cy); box-shadow: 0 0 10px var(--cy); transition: left .8s linear; pointer-events: none; z-index: 2; }
.ph.jump { transition: none; }
.sqr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--sl); border-radius: 12px; background: var(--bg); }
.sqr.on { border-color: var(--cy); }
.sqr .nb { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--s2); font-size: 12px; font-weight: 800; }
.sqr .nm { flex: 1 1 140px; min-width: 0; display: grid; gap: 2px; }
.sqr .nm b { font-size: 14px; }
.ty { justify-self: start; padding: 1px 8px; border-radius: 99px; font-size: 11px; font-weight: 800; color: #fff; }
.ty.t-image { background: #1E3A8A; }
.ty.t-video { background: #5b34c9; }
.ty.t-url { background: #0F766E; }
.stp2 { display: flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.stp2 b { min-width: 46px; text-align: center; font-size: 14px; }
.mini { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--ln); border-radius: 10px; background: var(--sf); font-size: 18px; font-weight: 700; }
.mini:not(:disabled):hover { border-color: var(--pg); }
.mini:disabled { opacity: .3; cursor: default; }
.bar24 { position: relative; display: flex; gap: 3px; height: 56px; direction: ltr; }
.bar24 b { display: grid; place-items: center; min-width: 0; padding: 0 8px; border: 1px solid var(--ln); border-radius: 10px; font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar24 b.on { border-color: var(--cy); box-shadow: 0 0 0 1px var(--cy); }
.c0 { background: rgba(47, 107, 255, .35); }
.c1 { background: rgba(124, 77, 255, .42); }
.c2 { background: rgba(34, 211, 238, .26); }
.ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--mu); font-variant-numeric: tabular-nums; direction: ltr; }
.rg { display: grid; gap: 8px; font-size: 14px; color: var(--mu); font-weight: 600; }
.rg b { color: var(--tx); direction: ltr; unicode-bidi: isolate; }
.rg input { width: 100%; accent-color: #22D3EE; height: 28px; direction: ltr; }
.crow { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 12px; border: 1px solid var(--sl); border-radius: 12px; background: var(--bg); }
.crow small { color: var(--mu); }
.crow b { direction: ltr; unicode-bidi: isolate; }
.pubr { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.lyo { display: grid; gap: 6px; aspect-ratio: 16/9; width: 100%; max-width: 560px; padding: 6px; border: 5px solid #020618; border-radius: 12px; background: #000; direction: ltr; }
.zn {
  position: relative; display: grid; place-items: center; min-height: 0; padding: 0 8px;
  border: 1px solid var(--ln); border-radius: 8px; overflow: hidden;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.zn.sel { outline: 2px solid var(--cy); outline-offset: 1px; }
.zn.zv { background: linear-gradient(120deg, #2F6BFF, #7C4DFF, #22D3EE); background-size: 300% 300%; animation: flow 7s ease-in-out infinite; }
.zn.zi { background: repeating-linear-gradient(135deg, #0F766E 0 12px, #115e59 12px 24px); }
.zn.zt { background: #0F1D57; justify-items: start; }
.zn.zt .zl { display: inline-block; padding-left: 100%; white-space: nowrap; animation: tkr 14s linear infinite; }
.wall { display: grid; gap: 6px; width: 100%; max-width: 560px; direction: ltr; }
.wt { position: relative; aspect-ratio: 16/9; border: 4px solid #020618; border-radius: 8px; overflow: hidden; background-color: #0A1440; transition: background-size .5s, background-position .5s; }
.wt span { position: absolute; left: 6px; top: 6px; padding: 2px 8px; border-radius: 99px; background: rgba(5, 11, 36, .72); font-size: 10px; font-weight: 800; letter-spacing: .08em; }

/* ==========================================================================
   An example day
   ========================================================================== */
.scn { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 28px; margin-top: 40px; align-items: start; }
.scn-tl { display: grid; gap: 10px; }
.scn-t {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center;
  padding: 16px 16px 18px;
  border: 1px solid var(--sl); border-radius: 14px; background: rgba(10, 20, 64, .7);
  text-align: start;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .25s, background-color .2s;
}
.scn-t time { font: 600 18px/1 var(--fd); font-variant-numeric: tabular-nums; color: var(--pg); direction: ltr; }
.scn-t b { font: 600 15px/1.3 var(--fd); }
.scn-pb { position: absolute; inset-inline: 12px; bottom: 7px; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(30, 58, 138, .5); }
.scn-pb i { display: block; height: 100%; background: linear-gradient(90deg, #2F6BFF, #22D3EE); transition: width .8s linear; }
[dir="rtl"] .scn-pb i { background: linear-gradient(270deg, #2F6BFF, #22D3EE); }
.scn-stage { display: grid; gap: 14px; padding: 16px 16px 18px; }
.scn-mh { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.scn-ph { margin: 0; color: var(--mu); font: 800 11px/1.2 var(--fb); letter-spacing: .12em; text-transform: uppercase; }
[dir="rtl"] .scn-ph { letter-spacing: 0; font-size: 12px; }
.scn-lg { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; color: var(--mu); font: 700 12px var(--fb); }
.scn-lg li { display: flex; align-items: center; gap: 6px; }
.scn-lg i { width: 9px; height: 9px; border-radius: 3px; background: var(--ok); }
.scn-lg .chg i { background: var(--pg); }
.scn-lg .off i { background: var(--bad); }
.scn-lg .wall i { background: var(--vi); }
/* The floor plan uses the app's fleet map: one cell per screen on a dotted stage. */
.scn-map {
  display: grid; gap: 12px; padding: 14px;
  border: 1px solid var(--sl); border-radius: 10px;
  background: radial-gradient(circle at 1px 1px, rgba(79, 141, 255, .18) 1px, transparent 0) 0 0 / 14px 14px, #04091f;
}
.scn-fl { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; align-items: center; }
.scn-fn { color: var(--mu); font: 700 12px var(--fb); }
.scn-cells { display: flex; flex-wrap: wrap; gap: 5px; }
.scn-c {
  width: 22px; height: 22px; border-radius: 5px;
  background: var(--ok); box-shadow: 0 0 8px rgba(34, 197, 94, .45);
  transition: background-color .35s, box-shadow .35s, transform .35s var(--ease);
}
.scn-c.chg { background: var(--pg); box-shadow: 0 0 12px rgba(79, 141, 255, .8); transform: scale(1.14); }
.scn-c.wall { background: var(--vi); box-shadow: 0 0 12px rgba(124, 77, 255, .75); transform: scale(1.14); }
.scn-c.off { background: var(--bad); box-shadow: 0 0 10px rgba(244, 63, 94, .6); transform: scale(1.14); outline: 2px solid var(--tx); outline-offset: 1px; }
main > section.in .scn-c { animation: rise .4s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 12ms); }
.scn-cap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 18px; align-items: start; padding-top: 12px; border-top: 1px solid var(--sl); }
.scn-cap > time { font: 600 28px/1.1 var(--fd); font-variant-numeric: tabular-nums; direction: ltr; }
.scn-tx h3 { margin: 0 0 4px; font: 600 18px/1.3 var(--fd); }
.scn-tx p { margin: 0; color: var(--mu); font-size: 15px; }
.scn-by small { display: block; margin-bottom: 6px; color: var(--mu); font: 800 11px/1.2 var(--fb); letter-spacing: .12em; text-transform: uppercase; }
[dir="rtl"] .scn-by small { letter-spacing: 0; font-size: 12px; }
.scn-by ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.scn-by li {
  display: inline-flex; align-items: center; gap: 6px;
  padding-block: 4px; padding-inline: 6px 10px;
  border: 1px solid var(--cy); border-radius: 99px;
  font: 700 12px var(--fb); white-space: nowrap;
}
.scn-by li .ic { width: 16px; height: 16px; color: var(--cy); }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; }
.fact {
  display: grid; gap: 4px; align-content: start; min-height: 92px;
  padding: 14px 16px; border: 1px solid var(--sl); border-radius: 12px; background: rgba(10, 20, 64, .7);
  transition: border-color .2s;
}
.fact dt { font: 600 30px/1.1 var(--fd); font-variant-numeric: tabular-nums; }
.fact dd { margin: 0; color: var(--mu); font-size: 14px; }

/* ==========================================================================
   The three parts, up close: one header pattern for all three sections
   ========================================================================== */
.comp-head .h2 { margin-top: 18px; }
.trio { display: flex; align-items: center; max-width: 100%; overflow-x: auto; padding: 4px 4px 6px; margin: -4px -4px -6px; scrollbar-width: none; }
.trio::-webkit-scrollbar { display: none; }
.trio a {
  position: relative; flex: none;
  display: inline-flex; align-items: center; gap: 10px;
  padding-block: 6px; padding-inline: 6px 14px;
  border: 1px solid var(--sl); border-radius: 12px; background: rgba(10, 20, 64, .6);
  transition: border-color .15s, background-color .15s, box-shadow .2s;
}
.trio a:hover { border-color: var(--pg); background: var(--s2); }
.trio .ti { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(47, 107, 255, .14); color: var(--pg); }
.trio .ti .ic { width: 17px; height: 17px; }
.trio .tt { display: grid; line-height: 1.2; }
.trio b { font: 600 14px var(--fb); }
.trio small { color: var(--mu); font-size: 12px; }
.trio a[aria-current="true"] {
  border-color: rgba(79, 141, 255, .7);
  background: linear-gradient(180deg, rgba(47, 107, 255, .26), rgba(47, 107, 255, .1));
  box-shadow: 0 0 18px -3px rgba(47, 107, 255, .6);
}
.trio a[aria-current="true"] .ti { background: var(--pr); color: #fff; }
/* The Content Hub lives inside the Dashboard, so both links share one frame */
.trio-dash {
  flex: none; display: flex; align-items: center; gap: 6px; padding: 4px;
  border: 1px dashed rgba(79, 141, 255, .4); border-radius: 16px; background: rgba(47, 107, 255, .06);
}
.trio .trio-sub { border-color: rgba(124, 77, 255, .35); background: rgba(124, 77, 255, .08); }
.trio .trio-sub .ti { background: rgba(124, 77, 255, .18); color: #A58BFF; }
.trio .trio-sub[aria-current="true"] .ti { background: #7C4DFF; color: #fff; }
.trio-ln { flex: none; width: 26px; height: 2px; margin: 0 4px; background: repeating-linear-gradient(90deg, var(--mu) 0 4px, transparent 4px 8px); opacity: .45; }

/* ==========================================================================
   Built for screens at scale
   ========================================================================== */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 40px 0 0; padding: 0; list-style: none; }
.cap {
  display: grid; gap: 8px; align-content: start;
  padding: 20px; border: 1px solid var(--sl); border-radius: 16px; background: rgba(10, 20, 64, .7);
  transition: border-color .2s;
}
.cap .pi { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 4px; }
.cap .pi .ic { width: 22px; height: 22px; }
.cap h3 { margin: 0; font: 600 18px/1.3 var(--fd); }
.cap p { margin: 0; color: var(--mu); font-size: 15px; }

/* ==========================================================================
   Ads: the second audience
   ========================================================================== */
.eb .beta { margin-inline-start: 2px; }
.ads2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.adc {
  display: grid; gap: 10px; align-content: start; justify-items: start;
  padding: 24px; border: 1px solid var(--sl); border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 29, 87, .55), rgba(10, 20, 64, .8));
  transition: border-color .2s;
}
.adc h3 { margin: 4px 0 0; font: 600 21px/1.3 var(--fd); text-wrap: balance; }
.adc p { margin: 0 0 8px; color: var(--mu); }

/* ==========================================================================
   Card identity, as in the MOKY app
   Interactive cards lift 2px on the app's shadow with a glow-blue edge; the selected one wears the
   blue glow and the cyan HUD corners of the app's lens. Static cards only warm their edge.
   ========================================================================== */
.st:hover, .mt:hover, .scn-t:hover { border-color: var(--pg); box-shadow: var(--lift); transform: translateY(-2px); }
.st[aria-selected="true"], .mt.on, .scn-t.on {
  border-color: var(--pg); box-shadow: var(--glow);
  background: linear-gradient(180deg, rgba(15, 29, 87, .92), rgba(10, 20, 64, .92));
}
:is(.st[aria-selected="true"], .mt.on, .scn-t.on, .trio a[aria-current="true"])::before,
:is(.st[aria-selected="true"], .mt.on, .scn-t.on, .trio a[aria-current="true"])::after {
  content: ""; position: absolute; width: 9px; height: 9px; border: 1.5px solid var(--cy); pointer-events: none;
}
:is(.st[aria-selected="true"], .mt.on, .scn-t.on, .trio a[aria-current="true"])::before { top: -3px; left: -3px; border-right: 0; border-bottom: 0; border-top-left-radius: 7px; }
:is(.st[aria-selected="true"], .mt.on, .scn-t.on, .trio a[aria-current="true"])::after { bottom: -3px; right: -3px; border-left: 0; border-top: 0; border-bottom-right-radius: 7px; }
.cap:hover, .adc:hover, .fact:hover { border-color: var(--ln); }

/* ==========================================================================
   Contact
   ========================================================================== */
.cgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.cf { padding: 28px; display: grid; gap: 16px; }
.cf form { display: grid; gap: 16px; }
.cf label, .cf legend { display: grid; gap: 8px; padding: 0; font: 600 14px/1.3 var(--fb); color: var(--tx); }
.cf legend { display: block; margin-bottom: 8px; }
.cf fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cf .opt { position: relative; display: inline-flex; gap: 0; color: var(--mu); }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--field); border-radius: 99px; background: var(--bg);
  font: 700 14px var(--fb);
  transition: border-color .15s, background-color .15s, color .15s;
}
.opt:hover span { border-color: var(--pg); color: var(--tx); }
.opt input:checked + span { background: var(--pr); border-color: var(--pg); color: #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--cy); outline-offset: 2px; }
.opts[data-invalid="true"] .opt span { border-color: var(--bad); }
.cf .other { margin-top: 14px; animation: rowin .3s ease-out; }
.cf .fld { min-height: 48px; font-size: 15px; }
.cf textarea.fld { padding: 12px; min-height: 120px; resize: vertical; line-height: 1.5; }
.cerr { padding: 8px 12px; border: 1px solid var(--bad); border-radius: 10px; background: rgba(244, 63, 94, .1); color: #FFB4C2; font-size: 13px; font-weight: 600; }
.cerr:empty { display: none; }
.cok { display: grid; gap: 12px; justify-items: start; }
.cok:focus { outline: none; }
.cok h3 { margin: 0; font: 600 24px var(--fd); }
.cok p { margin: 0; color: var(--mu); }
.cf [hidden] { display: none !important; }
.cside { display: grid; gap: 28px; margin-top: 36px; }
.cside h3 { margin: 0 0 12px; font: 600 16px/1.3 var(--fd); }
.cs-links { display: flex; flex-wrap: wrap; gap: 10px; }
.cs-links .btn .ic { width: 15px; height: 15px; }
@media (max-width: 760px) { .cs-links .btn { min-height: 44px; } }
.cside ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.cside li { display: flex; gap: 10px; align-items: flex-start; color: var(--mu); }
.cside li svg { margin-top: 3px; color: var(--cy); }

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes blink { 50% { opacity: .35; } }
@keyframes dash { to { stroke-dashoffset: -22; } }
@keyframes fx { to { background-position: 14px 0; } }
@keyframes fy { to { background-position: 0 14px; } }
@keyframes hlp { 50% { box-shadow: 0 0 0 5px rgba(34, 211, 238, .18), 0 0 30px rgba(34, 211, 238, .7); } }
@keyframes flow { 50% { background-position: 100% 100%; } }
@keyframes tkr { to { transform: translateX(-100%); } }
@keyframes rowin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1060px) {
  .hg, .gbody { grid-template-columns: minmax(0, 1fr); }
  .tour, .scn { grid-template-columns: minmax(0, 1fr); }
  .tabs-v, .scn-tl { grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; padding: 6px 4px 8px; margin: -6px -4px 0; scroll-snap-type: x proximity; }
  .tabs-v .st, .scn-t { scroll-snap-align: start; }
  .tabs-v, .scn-tl { scrollbar-width: none; }
  .tabs-v::-webkit-scrollbar, .scn-tl::-webkit-scrollbar { display: none; }
  .scn-tl { grid-auto-columns: minmax(170px, 1fr); }
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .stage { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .lkw { min-height: 64px; }
  .tvw { width: 100%; max-width: 520px; justify-self: center; }
  .lk { width: 2px; height: 48px; background: repeating-linear-gradient(180deg, var(--cy) 0 6px, transparent 6px 14px); background-size: 2px 14px; }
  .lk.dp { animation: fy .6s linear infinite; }
  .lk.pd { animation: fy .6s linear infinite reverse; }
  .lk.both { width: 6px; height: 48px; background: repeating-linear-gradient(180deg, var(--cy) 0 6px, transparent 6px 14px); border: 0; border-left: 1px solid rgba(34, 211, 238, .4); border-right: 1px solid rgba(124, 77, 255, .5); animation: fy 1.4s linear infinite; }
  .lkl { top: 50%; left: calc(50% + 14px); transform: translateY(-50%); width: auto; text-align: start; }
  .gtabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ads2 { grid-template-columns: minmax(0, 1fr); }
  .scn-cap { grid-template-columns: auto minmax(0, 1fr); }
  .scn-by { grid-column: 1 / -1; }
  .cgrid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .shot-cap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .lgr { grid-template-columns: 62px 80px minmax(0, 1fr); }
  .cells span { width: 34px; height: 44px; }
  .hero { padding: 40px 0 72px; }
  .qs { padding: 8px; margin-top: 28px; }
  .qs-frame { border-radius: 10px; }
}
@media (max-width: 599px) {
  /* the tour turns 4:5 on narrow frames: stage + controls + two rows of chapters */
  .qs-frame { height: calc((100vw - 56px) * 1.25 + 160px); }
}
@media (max-width: 520px) {
  .gtabs, .caps { grid-template-columns: minmax(0, 1fr); }
  .scn-fl { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .scn-cells { gap: 4px; }
  .scn-c { width: 15px; height: 15px; border-radius: 4px; }
  .scn-map { padding: 12px; }
  .scn-cap > time { font-size: 22px; }
  .trio small { display: none; }
  .trio-ln { width: 14px; }
  /* Only the open part keeps its name on screen; the others shrink to their icon (the name stays for screen readers) */
  .trio a:not([aria-current="true"]) { padding-inline: 6px; }
  .trio a:not([aria-current="true"]) .tt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .gcard { padding: 18px 16px; }
  .cells { gap: 5px; padding: 8px; }
  .cells span { width: 30px; height: 40px; font-size: 18px; }
  .cf { padding: 20px 16px; }
  .con { padding: 12px; }
  .gnode .nm { font-size: 11px; }
  .fcon { padding: 0 12px 12px; }
  .fcon-h { gap: 10px; }
  .fcon-sum { display: none; } /* as the app's console does on phones */
  .gnode .dot { width: 38px; height: 28px; }
  .shot-frame { padding: 8px; }
  .wbody { padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  main > section [data-stagger] > *, .scn-c { animation: none !important; opacity: 1 !important; }
  .st:hover, .mt:hover, .scn-t:hover, .adv-b:hover, .adv-b:focus-visible { transform: none; }
  .shot:hover img { scale: none; }
}

/* ==========================================================================
   Services: the two things MOKY offers. Two brief cards side by side; one opens in place: it widens,
   its screens power on and its details unfold one after another, while the other stays brief beside it.
   ========================================================================== */
.svcs {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 32px; align-items: start;
  transition: grid-template-columns .6s var(--ease);
}
.svcs[data-open="signage"] { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.svcs[data-open="ads"] { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.svc {
  position: relative; display: grid; align-content: start; gap: 14px; padding: 24px;
  scroll-margin-top: calc(var(--nav-h) + 16px); cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .3s;
}
.svc:not(.open):hover { transform: translateY(-2px); border-color: var(--pg); }
.svc.open { cursor: auto; border-color: var(--pg); }
.svc.pulse { animation: svcPulse 1.2s var(--ease); }
@keyframes svcPulse { from { box-shadow: 0 0 0 0 rgba(79, 141, 255, .55); } to { box-shadow: 0 0 0 22px rgba(79, 141, 255, 0); } }
.svc-vis {
  position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 18px; min-height: 170px; padding: 18px 12px 12px;
  border: 1px solid var(--sl); border-radius: 14px; direction: ltr;
  background: radial-gradient(60% 80% at 50% 40%, rgba(47, 107, 255, .2), transparent 70%), rgba(5, 11, 36, .5);
  transition: min-height .6s var(--ease);
}
.svc.open .svc-vis { min-height: 210px; }
.svc-pv { display: grid; justify-items: center; gap: 6px; transition: width .6s var(--ease); }
.svc-pv em { font: 700 11px/1 var(--fb); font-style: normal; color: var(--mu); }
.svc-pv-a { width: 48%; }
.svc-pv-b { width: 15%; }
.svc-pv-c { width: 40%; }
.svc-pv-d { width: 30%; }
.svc.open .svc-pv-a { width: 44%; }
.svc.open .svc-pv-b { width: 13%; }
.svc.open .svc-pv-c { width: 34%; }
.svc.open .svc-pv-d { width: 26%; }
.svc .ms-a { transition: opacity .25s; }
/* the screens power on, one after another */
.svc.pulse .svc-pv .ms-scr { animation: svcOn .7s var(--ease) both; }
.svc.pulse .svc-pv:nth-child(2) .ms-scr { animation-delay: .12s; }
.svc.pulse .svc-pv:nth-child(3) .ms-scr { animation-delay: .24s; }
@keyframes svcOn { from { filter: brightness(.15); transform: scale(.94); } to { filter: none; transform: none; } }
.svc-hd { display: grid; gap: 8px; }
.svc h3 { margin: 4px 0 0; font: 600 clamp(22px, 2.4vw, 28px)/1.2 var(--fd); }
.svc p { margin: 0; color: var(--mu); font-size: 16px; }
.svc-tg {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--sl); border-radius: 99px; background: rgba(5, 11, 36, .5); color: var(--tx);
  font: 700 13px/1 var(--fb); cursor: pointer; transition: border-color .15s, background-color .15s;
}
.svc-tg:hover, .svc:not(.open):hover .svc-tg { border-color: var(--pg); background: rgba(47, 107, 255, .16); }
.svc-tg .ic { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.svc-tg[aria-expanded="true"] .ic { transform: rotate(180deg); }
.svc-tg .m2, .svc-tg[aria-expanded="true"] .m1 { display: none; }
.svc-tg[aria-expanded="true"] .m2 { display: inline; }
/* the details: a row that grows from nothing, so the card's height animates */
.svc-more { display: grid; grid-template-rows: 0fr; margin-top: -14px; transition: grid-template-rows .55s var(--ease), margin-top .55s var(--ease); }
.svc.open .svc-more { grid-template-rows: 1fr; margin-top: 0; }
.svc-in { display: grid; gap: 14px; min-height: 0; overflow: hidden; }
.svc-in > * { opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.svc.open .svc-in > * { opacity: 1; transform: none; transition-duration: .45s; }
.svc.open .svc-in > :nth-child(1) { transition-delay: .15s; }
.svc.open .svc-in > :nth-child(2) { transition-delay: .23s; }
.svc.open .svc-in > :nth-child(3) { transition-delay: .31s; }
.svc.open .svc-in > :nth-child(4) { transition-delay: .39s; }
.svc.open .svc-in > :nth-child(5) { transition-delay: .47s; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 2px; }
.svc-chip {
  min-height: 40px; padding: 0 16px; border: 1px solid var(--sl); border-radius: 99px; background: rgba(5, 11, 36, .5);
  color: var(--mu); font: 700 13px/1 var(--fb); cursor: pointer; transition: border-color .15s, color .15s, background-color .15s;
}
.svc-chip:hover { border-color: var(--pg); color: var(--tx); }
.svc-chip[aria-pressed="true"] { border-color: var(--pg); background: rgba(47, 107, 255, .22); color: var(--tx); }
.svc-chip:focus-visible, .svc-link:focus-visible, .svc-tg:focus-visible { outline: 2px solid var(--cy); outline-offset: 3px; }
.svc-pane[hidden] { display: none; }
.svc-pane { font-size: 15px; }
.svc-pts { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.svc-pts li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; }
.svc-pts .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--ok); }
.svc-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-bottom: 2px; }
.svc-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; min-height: 44px; color: var(--cy); font: 700 15px/1.2 var(--fb); }
.svc-link .ic, .svc-go .btn .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.svc-link:hover .ic { transform: translateX(3px); }
[dir="rtl"] .svc-link .ic, [dir="rtl"] .svc-go .btn .ic { transform: scaleX(-1); }
[dir="rtl"] .svc-link:hover .ic { transform: scaleX(-1) translateX(3px); }
@media (max-width: 820px) {
  .svcs, .svcs[data-open] { grid-template-columns: minmax(0, 1fr); }
  .svc { padding: 20px 16px; }
  .svc-vis { min-height: 150px; }
  .svc.open .svc-vis { min-height: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .svcs, .svc-vis, .svc-pv, .svc-more, .svc-in > *, .svc-tg .ic { transition: none !important; }
  .svc.pulse, .svc.pulse .svc-pv .ms-scr { animation: none; }
}

/* ==========================================================================
   The hero's two diagrams (home): Signage and Ads, one fading into the other. A switch in the console's header
   picks one; the Ads one has an "Ads" node in the middle and a pin with each place's city.
   ========================================================================== */
.gx { display: grid; }
.gx > .gx-l {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: scale(.985);
  transition: opacity .8s var(--ease), transform .8s var(--ease), visibility 0s linear .8s;
}
.gx > .gx-l.on { opacity: 1; visibility: visible; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease), visibility 0s; }
.fcon-sw { display: inline-flex; flex: none; padding: 2px; border: 1px solid var(--sl); border-radius: 99px; background: rgba(5, 11, 36, .5); }
.fcon-sw button {
  position: relative; min-height: 28px; padding: 0 11px; border: 0; border-radius: 99px; background: none; color: var(--mu);
  font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; transition: color .15s, background-color .25s;
}
.fcon-sw button::after { content: ""; position: absolute; inset: -8px -1px; } /* a taller tap area than the pill draws */
.fcon-sw button:hover { color: var(--tx); }
.fcon-sw button[aria-pressed="true"] { background: linear-gradient(135deg, var(--pg), var(--vi)); color: #fff; }
.fcon-sw button:focus-visible { outline: 2px solid var(--cy); outline-offset: 2px; }
.gads { background: linear-gradient(160deg, rgba(124, 77, 255, .28), rgba(47, 107, 255, .16) 70%), var(--sf); }
.gads .gdash-main .dot { background: linear-gradient(135deg, rgba(124, 77, 255, .55), rgba(47, 107, 255, .4)), var(--sf); }
.gdash-main .dot .ic { width: 56%; height: 56%; color: var(--tx); }
.gn .loc { display: inline-flex; align-items: center; gap: 3px; margin-top: -3px; color: var(--mu); font: 600 11px/1 var(--fb); white-space: nowrap; text-shadow: 0 1px 6px #050B24; }
.gn .loc .ic { width: 11px; height: 11px; flex: none; }
@container (max-width: 420px) { .gn .loc { font-size: 9px; } .gn .loc .ic { width: 9px; height: 9px; } }
@media (prefers-reduced-motion: reduce) { .gx > .gx-l, .gx > .gx-l.on { transition: none; transform: none; } }

/* ==========================================================================
   The Signage page: the home page's hero layout and diagram, then "How to use" (the Dashboard, the Content Hub,
   the Player and the field guide, moved here from the home page).
   ========================================================================== */
.hero--sg .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.how-head { max-width: 900px; }
.how-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.how-jump a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--sl); border-radius: 99px; background: rgba(5, 11, 36, .5); color: var(--tx); font: 700 13px/1 var(--fb);
  transition: border-color .15s, background-color .15s;
}
.how-jump a:hover { border-color: var(--pg); background: rgba(47, 107, 255, .16); }
.how-jump a:focus-visible { outline: 2px solid var(--cy); outline-offset: 3px; }
.how-jump .ic { width: 16px; height: 16px; color: var(--pg); }
#howto { padding-bottom: 0; }
#howto + .comp { padding-top: 64px; }

/* Field guide, pared back: four mission tabs, one line saying where you are, and the simulator. */
.gtabs .mt small { display: none; }
.gtabs { margin-top: 24px; }
.gline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; min-height: 44px; }
.gline b { font: 600 16px/1.3 var(--fd); }
.gline .ib { margin-inline-start: auto; }
.gline .ib + .btn { margin-inline-start: 0; }
.gline .nud { flex-basis: 100%; }
.stage { margin-top: 12px; }
