/* Plyomat TV landing page. Consumes tokens/tokens.css and assets/landing.css
   (nav, footer, FAQ, fonts) from plyomat-website-lab; adds only this page. */

/* The first screen's faces, declared again with font-display: block so the hero never
   paints a system face and then swaps metrics. Same files as assets/landing.css, which the
   page preloads; this sheet loads after landing.css, so these declarations win. */
@font-face { font-family: "Knockout 32"; src: url("../fonts/Knockout-32.otf") format("opentype"); font-display: block; }
@font-face { font-family: "Knockout 49"; src: url("../fonts/Knockout-49.otf") format("opentype"); font-display: block; }
@font-face { font-family: "Knockout 51"; src: url("../fonts/Knockout-51.otf") format("opentype"); font-display: block; }
@font-face { font-family: "Knockout 71"; src: url("../fonts/Knockout-71.otf") format("opentype"); font-display: block; }
@font-face { font-family: "Knockout 72"; src: url("../fonts/Knockout-72.otf") format("opentype"); font-display: block; }

:root { --ink:#0F1A26; --ink2:#55677d; --line:#C9D6E3; --blue:#219FFF; --pale:#CFE3F7; --navy:#0B1520; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.pt-lock, html.pt-lock body { overflow: hidden; }
[hidden] { display: none !important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip { position:absolute; left:16px; top:-60px; z-index:200; padding:10px 16px; background:#fff; color:var(--ink); font-family:"Knockout 51",sans-serif; text-transform:uppercase; letter-spacing:.06em; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid #4AB3FF; outline-offset: 2px; }
button { font: inherit; }

.tv-wrap { max-width:1320px; margin:0 auto; padding:0 32px; position:relative; }
@media (max-width:640px) { .tv-wrap { padding: 0 18px; } }
.tv-h { font-family:"Knockout 72",sans-serif; font-weight:normal; text-transform:uppercase; line-height:.92; font-size:clamp(40px,6vw,88px); margin:0 0 18px; }
.tv-sub { font-family:"Knockout 49",sans-serif; font-size:clamp(20px,2vw,27px); line-height:1.22; color:var(--pale); max-width:800px; margin:0; }

/* ---------- Hero and board ---------- */
.tv-hero { position:relative; padding:clamp(24px,3vw,44px) 0 clamp(56px,7vw,96px); background:
  radial-gradient(70% 60% at 70% 0%, rgba(33,159,255,.16), transparent 70%),
  var(--navy); }
.tv-hero-head { display:grid; grid-template-columns:auto minmax(0,1fr); gap:14px 56px; align-items:end; }
@media (max-width:980px) { .tv-hero-head { grid-template-columns: 1fr; } }
.tv-hero h1 { font-family:"Knockout 72",sans-serif; font-weight:normal; text-transform:uppercase; line-height:.88; font-size:clamp(48px,5.6vw,92px); margin:0; }
.tv-hero h1 span { display:block; color:var(--blue); white-space:nowrap; }
.tv-lead { font-family:"Knockout 49",sans-serif; font-size:clamp(21px,1.9vw,28px); line-height:1.18; color:#E8F1FA; margin:0; max-width:620px; }
.tv-jump { grid-column: 2; margin: 0; }
@media (max-width:980px) { .tv-jump { grid-column: 1; } }
.tv-jump a { font-family:"Knockout 51",sans-serif; text-transform:uppercase; letter-spacing:.08em; font-size:17px; color:var(--blue); }
.tv-jump a::after { content:" \2193"; }

.demo-grid { display:grid; grid-template-columns:minmax(0,1fr) 400px; gap:28px; margin-top:clamp(20px,2.4vw,32px); align-items:start; }
.demo-grid:focus { outline: none; }
@media (max-width:1100px) { .demo-grid { grid-template-columns: minmax(0,1fr); } }
.demo-screen { min-width: 0; }
.bezel { position:relative; padding:clamp(5px,.8vw,12px); background:#04080d; border-radius:14px; box-shadow:0 0 0 1px rgba(255,255,255,.07), 0 34px 80px rgba(0,0,0,.55); }
.bezel .pt-screen { border-radius: 3px; }
@media (max-width:640px) { .bezel { margin:0 -18px; border-radius:0; padding:4px; } }
.full-close { display:none; }
.bezel.is-full { position:fixed; inset:0; z-index:1000; margin:0; border-radius:0; padding:0; display:flex; align-items:center; justify-content:center; background:#000; }
.bezel.is-full .pt-screen { width:min(100vw, calc(100dvh * 16 / 9)); }
.bezel.is-full .full-close { display:block; position:absolute; top:12px; right:12px; z-index:2; padding:10px 16px; border:0; background:rgba(255,255,255,.92); color:var(--ink); font-family:"Knockout 51",sans-serif; text-transform:uppercase; letter-spacing:.06em; font-size:15px; cursor:pointer; }

.demo-under { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:12px 18px; margin-top:16px; }
@media (max-width:760px) { .demo-under { grid-template-columns:minmax(0,1fr); } }
.under-text { min-width:0; }
.check { margin:0; font-family:"Knockout 49",sans-serif; font-size:18px; line-height:1.25; color:var(--pale); }
.receipt + .check { margin-top:6px; }
.under-actions { display:flex; gap:8px; flex-wrap:wrap; }
.chip-btn, .focus-row button { font-family:"Knockout 51",sans-serif; text-transform:uppercase; letter-spacing:.06em; font-size:15px; line-height:1; padding:11px 14px 9px; border:2px solid #2a4363; background:transparent; color:#fff; cursor:pointer; min-height:44px; }
.chip-btn:hover, .focus-row button:hover { border-color:#4a6487; }
.chip-btn[aria-pressed="true"], .focus-row button[aria-pressed="true"] { background:#fff; border-color:#fff; color:var(--ink); }
.focus-row { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:12px; }
.focus-label { font-family:"Knockout 32",sans-serif; font-size:13px; letter-spacing:.16em; text-transform:uppercase; color:#93a7bf; margin-right:6px; }

.demo-panel { min-width:0; padding:24px; background:#0F1D2D; border:1px solid rgba(255,255,255,.07); clip-path:polygon(0 0,calc(100% - 24px) 0,100% 24px,100% 100%,0 100%); }
@media (max-width:640px) { .demo-panel { padding:20px 16px; } }
.panel-h { font-family:"Knockout 72",sans-serif; font-weight:normal; text-transform:uppercase; font-size:32px; line-height:1; margin:0; }
.panel-sub { font-family:"Knockout 49",sans-serif; font-size:19px; line-height:1.25; color:var(--pale); margin:8px 0 0; }
.ctl { margin-top:20px; border:0; padding:0; }
.ctl-h { margin:0 0 8px; font-family:"Knockout 51",sans-serif; text-transform:uppercase; letter-spacing:.08em; font-size:15px; color:var(--blue); }
.seg { display:grid; gap:6px; }
.seg-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.seg-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.seg-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.seg button { text-align:left; font-family:"Knockout 51",sans-serif; text-transform:uppercase; font-size:18px; line-height:1.05; padding:12px 10px 9px; border:2px solid #2a4363; background:transparent; color:#fff; cursor:pointer; min-height:48px; }
.seg button:hover { border-color:#4a6487; }
.seg button small { display:block; font-family:"Knockout 49",sans-serif; text-transform:none; font-size:15px; line-height:1.15; color:#93a7bf; margin-top:4px; }
.seg button[aria-pressed="true"] { background:#fff; border-color:#fff; color:var(--ink); }
.seg button[aria-pressed="true"] small { color: var(--ink2); }
.ctl-selects { display:grid; gap:12px; }
.ctl-selects label:not(.chk) { display:grid; gap:6px; font-family:"Knockout 51",sans-serif; text-transform:uppercase; letter-spacing:.08em; font-size:15px; color:var(--blue); }
.ctl-selects select { width:100%; min-height:48px; padding:10px 12px; background:#0B1520; border:2px solid #2a4363; color:#fff; font-family:"Knockout 49",sans-serif; font-size:19px; text-transform:none; letter-spacing:0; }
.chk { display:flex; align-items:center; gap:10px; margin-top:10px; font-family:"Knockout 49",sans-serif; font-size:18px; line-height:1.2; color:#E8F1FA; cursor:pointer; min-height:44px; }
.chk input { width:22px; height:22px; accent-color:var(--blue); flex:none; }
.act { display:block; min-width:250px; margin:0; font-family:"Knockout 51",sans-serif; text-transform:uppercase; letter-spacing:.06em; font-size:21px; padding:18px 20px 15px; background:var(--blue); color:#06121d; border:0; cursor:pointer; clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%); }
.act:hover { background:#4ab3ff; }
.receipt { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 12px; }
.receipt p { margin:0; }
.rc-title { font-family:"Knockout 32",sans-serif; font-size:13px; letter-spacing:.16em; text-transform:uppercase; color:#4ade80; }
.rc-line { font-family:"Knockout 51",sans-serif; font-size:22px; line-height:1.1; }
.rc-src { font-family:"Knockout 49",sans-serif; font-size:16px; color:#93a7bf; }
.panel-note { margin:14px 0 0; font-family:"Knockout 49",sans-serif; font-size:16px; color:#93a7bf; }

/* Controls shown for the current display only. */
#demo[data-display="wall"] [data-when="broadcast"],
#demo[data-display="wall"] [data-when="broadcast-saved"],
#demo[data-display="broadcast"] [data-when="wall"],
#demo[data-results="live"] [data-when="broadcast-saved"],
#demo:not([data-layout="leaderboard"]) [data-when="leaderboard"] { display: none; }

/* ---------- How it works (version 2 structure: capture, TV, Wall) ---------- */
/* Plain dark grounds with depth from light (owner rule for launch pages, 26 Nov): no grid, no brackets. */
.tv-how { padding:clamp(72px,9vw,120px) 0; color:#fff; background:radial-gradient(70% 80% at 50% 30%, rgba(33,159,255,.15), transparent 72%), #0d1c2c; border-top:1px solid #1f3252; }
.hw-stage { display:grid; grid-template-columns:minmax(150px,200px) minmax(40px,80px) minmax(0,1.7fr) minmax(40px,80px) minmax(0,1fr); align-items:center; margin-top:clamp(24px,3vw,40px); }
.hw-node { margin:0; min-width:0; transition:opacity .35s; }
.hw-node figcaption { margin-top:10px; font-family:"Knockout 32",sans-serif; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--pale); }
.hw-stage[data-beat="2"] .hw-tv .st-bezel, .hw-stage[data-beat="3"] .hw-wall .st-bezel { box-shadow:0 0 0 3px rgba(255,210,31,.6), 0 24px 60px rgba(0,0,0,.5); }
.hw-link { position:relative; height:2px; margin:0 8px; background:repeating-linear-gradient(90deg,rgba(255,255,255,.8) 0 8px,transparent 8px 14px); }
.hw-link i { position:absolute; top:-6px; left:0; width:14px; height:14px; border-radius:50%; background:#FFD21F; box-shadow:0 0 10px rgba(255,210,31,.8); opacity:0; }
.hw-link[data-go] i { animation:hw-travel .8s cubic-bezier(.2,.6,.4,1) forwards; }
@keyframes hw-travel { 0% { left:0; opacity:1; } 90% { opacity:1; } 100% { left:calc(100% - 14px); opacity:0; } }
.how-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:clamp(28px,4vw,44px); }
.how-steps button { position:relative; display:grid; gap:4px; text-align:left; padding:18px 0 6px; background:none; border:0; color:rgba(255,255,255,.6); cursor:pointer; min-height:48px; }
.how-steps button::before { content:""; position:absolute; left:0; right:0; top:0; height:4px; background:rgba(255,255,255,.25); }
.how-steps button i { position:absolute; left:0; right:0; top:0; height:4px; background:#fff; transform:scaleX(0); transform-origin:left center; }
.how-steps button[aria-selected="true"] { color:#fff; }
.how-steps b { font-family:"Knockout 51",sans-serif; font-weight:normal; text-transform:uppercase; font-size:clamp(20px,2vw,28px); line-height:1; }
.how-steps span { font-family:"Knockout 49",sans-serif; font-size:clamp(17px,1.6vw,21px); line-height:1.2; }
.hw-bar { display:flex; align-items:center; gap:16px; margin-top:16px; flex-wrap:wrap; }
.hw-note { margin:0; font-family:"Knockout 49",sans-serif; font-size:18px; color:var(--pale); }
@media (max-width:860px) {
  .hw-stage { grid-template-columns:minmax(0,1fr); justify-items:center; gap:0; }
  .hw-dev { width:170px; }
  .hw-tv, .hw-wall { width:100%; }
  .hw-wall { max-width:78%; }
  .hw-link { width:2px; height:46px; margin:10px 0; background:repeating-linear-gradient(180deg,rgba(255,255,255,.8) 0 8px,transparent 8px 14px); }
  .hw-link i { left:-6px; top:0; }
  .hw-link[data-go] i { animation-name:hw-travel-v; }
  @keyframes hw-travel-v { 0% { top:0; opacity:1; } 90% { opacity:1; } 100% { top:calc(100% - 14px); opacity:0; } }
}
@media (max-width:640px) { .how-steps { grid-template-columns:1fr; gap:4px; } }
@media (prefers-reduced-motion: reduce) { .hw-link[data-go] i { animation:none; } .hw-node { transition:none; } }

/* ---------- Which board for which day (light, as the mats page) ---------- */
.tv-which { padding:clamp(72px,9vw,120px) 0; color:#fff; background:radial-gradient(60% 90% at 85% 10%, rgba(33,159,255,.1), transparent 70%), #0b1724; border-top:1px solid #1f3252; }
.tv-which .tv-sub { color: var(--pale); }
.which-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr); gap:26px; margin-top:36px; align-items:start; }
@media (max-width:860px) { .which-grid { grid-template-columns: 1fr; } }
.which-list { display:grid; gap:6px; }
.which-list button { text-align:left; font-family:"Knockout 51",sans-serif; text-transform:uppercase; font-size:clamp(22px,2.2vw,30px); line-height:1; padding:19px 18px 15px; background:#14243A; color:#fff; border:0; cursor:pointer; min-height:56px; }
.which-list button:hover { background:#1b3150; }
.which-list button[aria-selected="true"] { background:#fff; color:var(--ink); }
.which-card { background:#12223a; border:1px solid #2a4363; padding:clamp(22px,3vw,34px); clip-path:polygon(0 0,calc(100% - 24px) 0,100% 24px,100% 100%,0 100%); }
.which-card h3 { font-family:"Knockout 72",sans-serif; font-weight:normal; text-transform:uppercase; font-size:clamp(32px,3.4vw,48px); line-height:.96; margin:0; }
.which-card p { font-family:"Knockout 49",sans-serif; font-size:clamp(20px,1.9vw,26px); line-height:1.22; color:var(--pale); margin:14px 0 0; }
.which-card .which-setup { font-family:"Knockout 51",sans-serif; text-transform:uppercase; letter-spacing:.05em; font-size:17px; color:#7cc4ff; margin-bottom:22px; }
.btn-m { display:inline-block; font-family:"Knockout 51",sans-serif; text-transform:uppercase; letter-spacing:.06em; font-size:21px; padding:17px 30px 14px; background:var(--blue); color:#06121d; border:0; cursor:pointer; clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%); }
.btn-m:hover { background:#4ab3ff; text-decoration:none; }

/* ---------- What a screen needs ---------- */
.tv-needs { padding:clamp(64px,8vw,104px) 0; background:#0F1A26; border-top:1px solid #1f3252; }
.needs { list-style:none; counter-reset:n; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; margin:30px 0 0; padding:0; }
@media (max-width:1000px) { .needs { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px) { .needs { grid-template-columns: 1fr; gap:18px; } }
.needs li { counter-increment:n; position:relative; padding-top:72px; border-top:2px solid #2a4363; }
.needs li::before { content:counter(n); position:absolute; top:14px; left:0; font-family:"Knockout 71",sans-serif; font-size:54px; line-height:1; color:var(--blue); }
.needs h3 { margin:0; font-family:"Knockout 51",sans-serif; font-weight:normal; text-transform:uppercase; font-size:26px; line-height:1.05; }
.needs p { margin:10px 0 0; font-family:"Knockout 49",sans-serif; font-size:20px; line-height:1.25; color:var(--pale); }

/* ---------- Questions ---------- */
.tv-faq { padding:clamp(64px,8vw,104px) 0; background:var(--navy); }
.tv-faq .faq-list { max-width:920px; margin-top:24px; }
.tv-faq .faq-item summary { font-size:20px; min-height:44px; }
.tv-faq .faq-item .body { font-family:"Knockout 49",sans-serif; font-size:20px; line-height:1.3; color:var(--pale); }

/* ---------- Close ---------- */
.tv-close { padding:clamp(72px,9vw,120px) 0; background:radial-gradient(60% 120% at 20% 0%, rgba(33,159,255,.22), transparent 65%), #0F1A26; border-top:1px solid #1f3252; }
.tv-close .tv-sub { margin-bottom:26px; }
.close-note { margin:20px 0 0; font-family:"Knockout 49",sans-serif; font-size:18px; color:#93a7bf; max-width:640px; }
footer { margin-top:0; }

/* ---------- Variants: Skyscraper lead, or the fallback without it ---------- */
html[data-variant="fallback"] .only-sky { display: none !important; }
html:not([data-variant="fallback"]) .only-wall { display: none !important; }
.st[data-kind="wall"] .st-if-sky, .st[data-kind="sky"] .st-if-wall { display: none !important; }

/* ---------- The opening piece: mats, devices, one wall screen ---------- */
.tv-hero { background: radial-gradient(55% 60% at 68% 52%, rgba(33,159,255,.16), transparent 70%), #0b1520 !important; }
.tv-hero-head { grid-template-columns:auto minmax(0,1fr); align-items:center; }
.tv-hero h1 { font-size:clamp(34px,4.4vw,64px) !important; line-height:.95 !important; }
.tv-hero h1 span { display:inline !important; }
.tv-lead { font-size:clamp(19px,1.6vw,24px) !important; max-width:560px; }
.st { margin-top:clamp(16px,2vw,28px); }
.st-stage { --st-flow:row; position:relative; display:grid; grid-template-columns:minmax(300px,360px) minmax(0,1fr); align-items:center; gap:0 clamp(40px,5vw,90px); }
.st-trails { position:absolute; left:0; top:0; pointer-events:none; overflow:visible; z-index:3; }
.st-trail { fill:none; stroke:var(--c); stroke-width:4; stroke-linecap:round; filter:drop-shadow(0 0 6px var(--c)); }
.st-head text { fill:#0b1520; font-family:"Knockout 71",sans-serif; font-size:14px; }
.st-stations { list-style:none; margin:0; padding:0; display:grid; gap:14px; position:relative; z-index:2; }
.st-station { --st-color:#219fff; position:relative; display:grid; grid-template-columns:minmax(0,1fr); gap:4px; }
.st-tap { position:relative; display:grid; grid-template-columns:92px auto; align-items:end; gap:12px; padding:0; background:none; border:0; color:#fff; cursor:pointer; text-align:left; }
.st-tap:focus-visible { outline-offset:6px; }
.st-badge { position:absolute; left:-10px; top:-10px; z-index:3; display:flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:50%; background:var(--st-color); color:#0b1520; font-family:"Knockout 71",sans-serif; font-size:16px; }
.st-mat { position:relative; display:block; width:92px; aspect-ratio:1; border:2px solid rgba(255,255,255,.85); overflow:hidden; }
.st-mat img { display:block; width:100%; height:100%; object-fit:cover; }
.st-ripple { position:absolute; left:50%; top:50%; width:20px; height:20px; margin:-10px 0 0 -10px; border-radius:50%; border:3px solid var(--st-color); opacity:0; }
.st-station[data-jump] .st-ripple { animation:st-ripple .5s ease-out; }
@keyframes st-ripple { from { transform:scale(.4); opacity:1; } to { transform:scale(3.4); opacity:0; } }
.st-tap .dev-phone { --dev-w:68px; }
.st-tap .dev-tablet { --dev-w:104px; }
.st-tick { position:absolute; left:104px; bottom:-20px; font-family:"Knockout 51",sans-serif; text-transform:uppercase; font-size:12px; letter-spacing:.06em; color:var(--st-color); opacity:0; transform:translateY(4px); transition:opacity .2s, transform .2s; }
.st-station[data-onwall] .st-tick { opacity:1; transform:none; }
.st-toggle { justify-self:start; display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 4px; border:0; background:none; color:#c6d5e6; font-family:"Knockout 51",sans-serif; text-transform:uppercase; font-size:14px; letter-spacing:.04em; cursor:pointer; }
.st-toggle::before { content:""; width:30px; height:16px; border-radius:99px; background:var(--st-color); box-shadow:inset 15px 0 0 2px #0b1520, inset 0 0 0 2px var(--st-color); transition:box-shadow .2s; }
.st-toggle[aria-pressed="true"]::before { box-shadow:inset -15px 0 0 2px #0b1520, inset 0 0 0 2px var(--st-color); }
.st-toggle[aria-pressed="false"]::before { background:#2a4363; box-shadow:inset 15px 0 0 2px #0b1520, inset 0 0 0 2px #2a4363; }
.st-station[data-on="false"] .st-tap { opacity:.3; cursor:default; }
.st-screens { position:relative; min-width:0; z-index:0; isolation:isolate; }
.st-tv { margin:0; min-width:0; }
.tv-body { padding:clamp(5px,.55vw,9px); background:#05080c; border-radius:8px; box-shadow:0 0 0 1px rgba(255,255,255,.09), 0 40px 90px rgba(0,0,0,.6); }
.tv-chin { display:block; width:14%; height:6px; margin:0 auto; background:#05080c; border-radius:0 0 6px 6px; }
.st-main .pt-board { opacity: var(--st-fade, 1); }
.st-phoneboard { display:none; }
.st-ring { position:absolute; right:0; bottom:-44px; display:flex; align-items:center; gap:10px; margin:0; font-family:"Knockout 51",sans-serif; text-transform:uppercase; font-size:14px; letter-spacing:.05em; color:#c6d5e6; }
.st-ring i { width:22px; height:22px; border-radius:50%; background:conic-gradient(#FFD21F var(--p,0%), rgba(255,255,255,.18) 0); -webkit-mask:radial-gradient(circle 7px,transparent 98%,#000); mask:radial-gradient(circle 7px,transparent 98%,#000); }
.st-ring[data-hit] { color:#FFD21F; }
.st-foot { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:8px 24px; margin-top:22px; }
.st-cap { margin:0; flex:1 1 520px; font-family:"Knockout 49",sans-serif; font-size:17px; line-height:1.3; color:var(--pale); max-width:860px; }
.st-quiet { display:flex; flex-wrap:wrap; align-items:center; gap:0 18px; }
.st-quiet button, .st-quiet label { min-height:44px; padding:0; border:0; background:none; color:#93a7bf; font-family:"Knockout 51",sans-serif; text-transform:uppercase; letter-spacing:.06em; font-size:13px; cursor:pointer; display:inline-flex; align-items:center; gap:8px; }
.st-quiet button:hover { color:#fff; }
.st-quiet button[aria-pressed="true"] { color:#FFD21F; }
.st-quiet button:disabled { opacity:.4; cursor:default; }
.st-quiet select { min-height:44px; background:#0f1a26; border:1px solid #2a4363; color:#fff; font-family:"Knockout 49",sans-serif; font-size:16px; text-transform:none; letter-spacing:0; padding:4px 8px; }
@media (max-width:1100px) { .st-stage { grid-template-columns:minmax(250px,290px) minmax(0,1fr); } .st-tap { grid-template-columns:76px auto; } .st-mat { width:76px; } .st-tick { left:88px; } }
@media (max-width:760px) {
  .st-stage { --st-flow:column; grid-template-columns:minmax(0,1fr); gap:26px; }
  .st-stations { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
  .st-tap { grid-template-columns:1fr; justify-items:center; gap:6px; }
  .st-mat { width:56px; order:2; }
  .st-tap .dev-phone { --dev-w:62px; } .st-tap .dev-tablet { --dev-w:84px; }
  .st-tick { left:0; right:0; bottom:-18px; text-align:center; }
  .st-toggle { justify-self:center; font-size:12px; }
  .st-badge { left:4px; top:-6px; }
  .st-tv { display:none !important; }
  .st-phoneboard { display:block; }
  .st-ring { position:static; margin-top:10px; }
}
@media (prefers-reduced-motion: reduce) { .st-station[data-jump] .st-ripple { animation:none; } .st-toggle::before, .st-tick { transition:none; } }

/* ---------- Your links ---------- */
.tv-yourlink { padding:clamp(64px,8vw,108px) 0; background:#0F1A26; border-top:1px solid #1f3252; }
.yl-grid { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:clamp(28px,4vw,64px); align-items:start; }
@media (max-width:960px) { .yl-grid { grid-template-columns:1fr; } }
.yl-links { display:grid; gap:12px; margin-top:26px; }
/* A still presentation: nothing here is a control or looks like one. */
.yl-link { padding:16px 18px; background:#13243a; border-left:4px solid #219fff; }
.yl-name { margin:0 0 6px; font-family:"Knockout 32",sans-serif; font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:#93a7bf; }
.yl-url { margin:0; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-family:"Knockout 49",sans-serif; font-size:clamp(20px,2vw,28px); color:#fff; }
.yl-note { margin:10px 0 0; font-family:"Knockout 49",sans-serif; font-size:16px; color:var(--pale); }
.yl-facts { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:18px 26px; }
@media (max-width:520px) { .yl-facts { grid-template-columns:1fr; } }
.yl-facts li { font-family:"Knockout 49",sans-serif; font-size:19px; line-height:1.25; color:var(--pale); }
.yl-facts b { display:block; font-family:"Knockout 72",sans-serif; font-weight:normal; text-transform:uppercase; font-size:clamp(20px,1.9vw,26px); line-height:1; color:#fff; margin-bottom:6px; }
.yl-demo { margin:26px 0 0; max-width:420px; }
.yl-demo figcaption { margin-top:6px; font-family:"Knockout 32",sans-serif; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:#93a7bf; }
.yl-screen { padding:6px; background:#05080c; border-radius:8px; box-shadow:0 0 0 1px rgba(255,255,255,.09); }

/* ---------- Three experiences ---------- */
.tv-exp { padding:clamp(64px,8vw,104px) 0; background:#0F1A26; border-top:1px solid #1f3252; }
.exp-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin-top:22px; }
html[data-variant="fallback"] .exp-tabs { grid-template-columns:repeat(2,minmax(0,1fr)); }
.exp-tabs button { text-align:left; padding:16px 16px 13px; background:#14243A; color:#fff; border:0; cursor:pointer; min-height:64px; }
.exp-tabs button b { display:block; font-family:"Knockout 72",sans-serif; font-weight:normal; text-transform:uppercase; font-size:clamp(20px,2.2vw,30px); line-height:1; }
.exp-tabs button > span { display:block; margin-top:4px; font-family:"Knockout 49",sans-serif; font-size:16px; color:#93a7bf; }
.exp-tabs button[aria-selected="true"] { background:#fff; color:var(--ink); }
.exp-tabs button[aria-selected="true"] > span { color:var(--ink2); }
.exp-line { margin:16px 0 0; font-family:"Knockout 49",sans-serif; font-size:clamp(20px,2vw,26px); line-height:1.22; color:#E8F1FA; max-width:900px; }
.tv-exp .demo-grid { margin-top:20px; }
.demo-panel { display:block; }
.demo-panel > summary { list-style:none; cursor:default; }
.demo-panel > summary::-webkit-details-marker { display:none; }
.ctl-note { margin:0; font-family:"Knockout 49",sans-serif; font-size:18px; line-height:1.25; color:var(--pale); }
#demo[data-display="sky"] [data-when="wall"], #demo[data-display="sky"] [data-when="broadcast"], #demo[data-display="sky"] [data-when="broadcast-saved"],
#demo[data-display="wall"] [data-when="sky"], #demo[data-display="broadcast"] [data-when="sky"] { display:none; }
.phone-view, .phone-only { display:none; }
@media (max-width:640px) {
  .tv-exp .phone-view { display:block; }
  .tv-exp .bezel:not(.is-full) { display:none; }
  .phone-only { display:inline; } .tv-only { display:none; }
  .exp-tabs { grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; }
  .exp-tabs button { padding:12px 8px 10px; min-height:56px; }
  .exp-tabs button b { font-size:17px; }
  .exp-tabs button > span { display:none; }
  .demo-panel > summary { cursor:pointer; }
  .demo-panel > summary::after { content:" +"; color:var(--blue); }
  .demo-panel[open] > summary::after { content:" \2212"; }
  .demo-under { grid-template-columns:minmax(0,1fr); }
  .act { width:100%; }
}
.bezel.is-full { display:flex !important; }

/* ---------- Revision 3: experiences ---------- */
.t-short { display:none; }
@media (max-width:640px) { .t-long { display:none; } .t-short { display:inline; } }
#demo[data-display="sky"] .demo-grid { grid-template-columns:minmax(0,1fr); }
#demo[data-display="sky"] .demo-panel { display:none; }
.demo-under { grid-template-columns:auto minmax(0,1fr) !important; }
.demo-under .under-actions { justify-self:end; }
.under-line { grid-column:1 / -1; margin:0; font-family:"Knockout 49",sans-serif; font-size:18px; line-height:1.3; color:var(--pale); }
.under-line .receipt { display:inline; color:#fff; }
.under-line .receipt[hidden] { display:none; }
.under-line .rc-title { margin-inline-end:.4em; }
.under-line .rc-line { font:inherit; color:inherit; }
.bc-dev { display:none; }
#demo[data-display="broadcast"][data-results="live"] .demo-screen { display:grid; grid-template-columns:120px minmax(0,1fr); gap:18px; align-items:center; }
#demo[data-display="broadcast"][data-results="live"] .demo-screen > :not(.bc-dev) { grid-column:2; }
#demo[data-display="broadcast"][data-results="live"] .demo-screen > .demo-under { grid-column:1 / -1; }
#demo[data-display="broadcast"][data-results="live"] .bc-dev { display:block; grid-row:1 / 3; }
.bc-dev .dev-phone { --dev-w:120px; }
.bc-dev > p { margin:8px 0 0; font-family:"Knockout 32",sans-serif; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:#93a7bf; }
@media (max-width:640px) {
  #demo[data-display="broadcast"][data-results="live"] .demo-screen { grid-template-columns:86px minmax(0,1fr); gap:10px; align-items:start; }
  .bc-dev .dev-phone { --dev-w:86px; }
  .demo-under { grid-template-columns:1fr !important; }
  .demo-under .under-actions { justify-self:start; }
  .focus-row { display:none; }
}
.pp-group { margin-top:16px; }
.pp-wall-title { display:inline-block; }
.pt-wipe :is(.pt-title,.pp-wall-title) { animation:pt-wipe .5s cubic-bezier(.2,.6,.4,1); }
@keyframes pt-wipe { from { clip-path:inset(0 100% 0 0); } to { clip-path:inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .pt-wipe :is(.pt-title,.pp-wall-title) { animation:none; } }
.hw-devbody { --dev-w:180px; display:block; margin:0 auto; }
.hw-stage[data-beat="1"] .hw-devbody { box-shadow:0 0 0 4px rgba(255,210,31,.45), 0 18px 40px rgba(0,0,0,.45); }
@media (max-width:860px) { .hw-devbody { --dev-w:150px; } }
@media (max-width:980px) { .tv-hero-head { grid-template-columns:1fr !important; } }
@media (max-width:640px) { .tv-hero h1 { font-size:34px !important; } .tv-hero h1 span { display:block !important; } .tv-lead { font-size:18px !important; } }
.st-station[data-onwall] .dev { border-color:var(--st-color); box-shadow:0 0 0 2px var(--st-color), 0 18px 40px rgba(0,0,0,.45); }
@media (max-width:760px) { .st-tick { display:none; } .tg-long { display:none; } }
.st-bezel { padding:clamp(4px,.5vw,8px); background:#05080c; border-radius:8px; box-shadow:0 0 0 1px rgba(255,255,255,.09), 0 30px 70px rgba(0,0,0,.5); }

/* ---------- Revision 3.1: mats with presence, one connected scene ---------- */
.st-stage { grid-template-columns:minmax(330px,390px) minmax(0,1fr) !important; gap:0 28px !important; }
.st-stations { gap:22px !important; }
.st-tap { grid-template-columns:150px auto !important; gap:16px !important; align-items:center !important; }
.st-mat { width:150px !important; border:2px solid rgba(255,255,255,.9) !important; overflow:visible !important; box-shadow:0 16px 30px rgba(0,0,0,.6), 0 0 0 6px rgba(255,255,255,.03); background:#111; }
.st-mat-img { display:block; width:100%; height:100%; object-fit:cover; filter:brightness(1.55) contrast(1.15); }
.st-light { position:absolute; inset:0; background:linear-gradient(140deg, rgba(255,255,255,.22), rgba(255,255,255,0) 45%), radial-gradient(70% 60% at 50% 40%, rgba(33,159,255,.12), transparent 70%); pointer-events:none; }
.st-mat .st-ctrl { display:block; position:absolute; left:-26px; bottom:-14px; width:34px; height:auto; filter:drop-shadow(0 6px 10px rgba(0,0,0,.6)); }
.st-lead { position:absolute; left:6px; bottom:-2px; width:24px; height:22px; border-left:3px solid #fff; border-bottom:3px solid #fff; border-radius:0 0 0 14px; opacity:.85; }
.st-athlete { position:absolute; left:50%; top:50%; width:34px; height:34px; margin:-17px 0 0 -17px; border-radius:50%; background:radial-gradient(circle at 40% 35%, #fff 0 18%, var(--st-color) 19% 100%); box-shadow:0 0 0 3px rgba(11,21,32,.6); opacity:0; }
.st-station[data-jump] .st-athlete { animation:st-land .45s cubic-bezier(.3,1.4,.5,1); opacity:1; }
@keyframes st-land { 0% { transform:scale(1.8); opacity:.2; box-shadow:0 18px 22px rgba(0,0,0,.5); } 60% { transform:scale(.92); opacity:1; } 100% { transform:scale(1); } }
.st-tap .dev-phone { --dev-w:78px !important; } .st-tap .dev-tablet { --dev-w:120px !important; }
.st-tick { left:166px !important; }
.st-trail { stroke-width:5 !important; }
.st-head text { font-size:15px; }
.st-head .st-head-val { fill:#0b1520; font-family:"Knockout 51",sans-serif; font-size:14px; }
.st-pace { position:absolute; left:0; top:-30px; margin:0; display:inline-flex; align-items:center; gap:8px; font-family:"Knockout 51",sans-serif; text-transform:uppercase; letter-spacing:.06em; font-size:13px; color:#FFD21F; }
.st-pace::before { content:""; width:0; height:0; border-left:9px solid currentColor; border-top:6px solid transparent; border-bottom:6px solid transparent; }
.st-pace[data-real] { color:#4ade80; }
.st-pace[data-real]::before { border:0; width:9px; height:9px; border-radius:50%; background:currentColor; }
@media (max-width:1100px) { .st-stage { grid-template-columns:minmax(260px,300px) minmax(0,1fr) !important; } .st-tap { grid-template-columns:104px auto !important; } .st-mat { width:104px !important; } .st-tick { left:120px !important; } .st-tap .dev-tablet { --dev-w:96px !important; } .st-tap .dev-phone { --dev-w:64px !important; } }
@media (max-width:760px) {
  .tv-hero { padding-top:14px !important; }
  .tv-hero h1 { font-size:30px !important; }
  .tv-lead { font-size:16px !important; line-height:1.25; }
  .st { margin-top:10px !important; }
  .st-stage { grid-template-columns:minmax(0,1fr) !important; gap:14px !important; }
  .st-screens { order:1; }
  .st-stations { order:2; gap:8px !important; }
  .st-tap { grid-template-columns:auto auto !important; justify-content:center; gap:6px !important; }
  .st-mat { width:40px !important; order:0 !important; box-shadow:none; }
  .st-mat .st-ctrl, .st-lead, .st-light { display:none; }
  .st-athlete { width:16px; height:16px; margin:-8px 0 0 -8px; }
  .st-tap .dev-phone { --dev-w:40px !important; } .st-tap .dev-tablet { --dev-w:56px !important; }

  .st-pace { position:static; margin-bottom:6px; font-size:11px; }
  .st-foot { margin-top:8px; }
}
.pp-compact { padding:12px 14px !important; min-height:0 !important; }
.pp-compact .pp-sky-art { height:210px; margin-top:4px; }
.pp-compact .pp-row { display:flex; align-items:flex-end; justify-content:space-between; gap:10px; }
.pp-compact .pp-huge { font-size:52px; margin-top:0 !important; }
.pp-compact .pp-huge small { font-size:14px; }
.pp-compact .pp-dl { grid-template-columns:1fr; margin-top:0 !important; text-align:right; }
.pp-compact .pp-dl dd { font-size:28px; }
.pp-compact .pp-state { margin-top:2px !important; }
.pp-compact .pp-skyfoot { margin-top:4px !important; padding-top:6px !important; font-size:15px; }
@media (max-width:640px) {
  #stations .pp-sky.pp-compact .pp-row { display:grid; grid-template-columns:minmax(0,1fr) max-content; }
  #stations .pp-sky.pp-compact .pp-huge { font-size:clamp(32px,10vw,52px); white-space:normal; }
  #stations .pp-sky.pp-compact .pp-huge small { display:inline-block; }
  #stations .pp-sky.pp-compact .pp-dl dd { font-size:clamp(22px,7vw,28px); white-space:nowrap; }
}
@media (min-width:1101px) {
  .st-stations { gap:10px !important; }
  .st-tap { grid-template-columns:124px auto !important; }
  .st-mat { width:124px !important; }
  .st-tap .dev-phone { --dev-w:66px !important; } .st-tap .dev-tablet { --dev-w:100px !important; }
  .st-tick { left:140px !important; }
}

/* Keep controls reachable when the scene or the TV board is compact. */
.full-close, .demo-panel > summary, .nav-toggle { min-height:44px; justify-content:center; }
.st-quiet select { max-width:100%; }
.how-steps button { color:var(--pale); }
.btn-m:focus-visible, .act:focus-visible { clip-path:none; }
.st-trails { overflow:hidden; }
.st-quiet :is(button, label), .st-toggle { color:var(--pale); }
@media (prefers-reduced-motion: reduce) {
  .st-station[data-jump] .st-athlete { animation:none; }
  #stations .cap-bar i { transition:none; }
  .st-trail { filter:none; }
}

@media (max-width:820px) {
  .nav-inner { flex-wrap:wrap; justify-content:flex-start; row-gap:0; }
  .nav-inner:not(.nav-open) .nav-links { visibility:hidden; }
}
@media (max-width:370px) {
  .nav-inner { padding-inline:18px; gap:0 14px; }
  .st-tap { grid-template-columns:1fr !important; }
}

/* Reserve the opening while the first, motionless frame and its fonts are prepared. */
.tv-hero > .tv-wrap { min-block-size: min(680px, 82svh); }
#stations .st-stations { min-block-size:548px; }
.st-stair-still { position:absolute; inset:0; display:block; width:100%; height:100%; }
.pp-wall-activity { white-space:nowrap; font-variant-numeric:tabular-nums; }
.st-check { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:4px 12px; }
.st-check .st-ring { position:static; }
.st-check [data-wall-result] { white-space:pre-line; min-block-size:1.2em; margin:0; color:var(--pale); font:16px/1.2 "Knockout 49",sans-serif; }
@media (max-width:1100px) { #stations .st-stations { min-block-size:572px; } }
@media (max-width:760px) {
  .tv-hero > .tv-wrap { min-block-size:580px; }
  #stations .st-stations { min-block-size:128px; }
  .st-check { position:static; display:grid; row-gap:2px; margin-top:10px; }
  /* The approved phone composition keeps the mats on the first screen; the tap result line
     opens with the visitor's first tap and stays. */
  .st-check:not([data-tapped]) [data-wall-result] { display:none; }
  .st-check[data-tapped] [data-wall-result] { min-block-size:2.4em; }
  .st-check .st-ring { margin:0; }
}
[data-export] .st-station *, [data-export] .st-station { animation:none !important; transition:none !important; }


/* Tablet widths: the result line and the ring sit in fixed rows, so the first checked set does not
   wrap the ring onto a new line and move the scene. */
@media (min-width:761px) and (max-width:1100px) { .st-check { display:grid; row-gap:4px; } .st-check [data-wall-result] { min-block-size:2.4em; } }

/* ---------- Owner review, 26 Nov: legibility, the links heading, controls that read as controls ---------- */
/* Running text in the site's own body face, as on the mats and DRI pages; display headings stay Knockout.
   A system face also never swaps, so the hero lead needs no reserved height. */
.tv-lead, .tv-sub, .exp-line, .st-cap, .yl-facts li, .yl-note, .ctl-note, .panel-note, .needs p, .which-card p,
.how-steps span, .hw-note, .tv-faq .faq-item .body, .close-note, .under-line, .check, .st-check [data-wall-result],
.seg button small, .chk {
  font-family:"Helvetica Neue", Arial, sans-serif; letter-spacing:0; line-height:1.55; color:var(--pale);
}
.tv-lead { color:#E8F1FA; }
.st-cap, .yl-facts li, .yl-note, .ctl-note, .panel-note, .needs p, .how-steps span, .hw-note,
.tv-faq .faq-item .body, .close-note, .under-line, .check, .st-check [data-wall-result], .chk { font-size:18px; }
.seg button small { font-size:16px; }
.seg button[aria-pressed="true"] small { color:#2c3b4d; }
.which-card p { font-size:clamp(18px,1.6vw,21px); }
.tv-sub, .exp-line { font-size:clamp(18px,1.7vw,22px); }
.tv-lead { font-size:clamp(17px,1.4vw,20px) !important; line-height:1.5 !important; }
.yl-facts b { margin-bottom:8px; }
@media (max-width:760px) {
  .tv-lead { font-size:16px !important; }
  .st-cap, .yl-facts li, .yl-note, .ctl-note, .panel-note, .needs p, .how-steps span, .hw-note,
  .tv-faq .faq-item .body, .close-note, .under-line, .check, .st-check [data-wall-result], .chk, .seg button small { font-size:16px; }
}

/* The links section: heading and lead across the top, then the links beside the facts. The heading
   is sized so its longest word fits the column at 320 px. */
.yl-head { max-width:980px; margin-bottom:clamp(24px,3vw,40px); }
.yl-head .tv-h { font-size:clamp(28px,7.4vw,88px); overflow-wrap:normal; }

/* The opening's controls: real buttons in the site's style, secondary to the scene. */
.st-quiet { gap:10px 12px; }
.st-quiet button { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 16px; border:2px solid #3a5878; border-radius:8px;
  background:#13243a; color:#fff; font-family:"Knockout 51",sans-serif; font-size:14px; letter-spacing:.06em; text-transform:uppercase; cursor:pointer; }
.st-quiet button:hover { border-color:#6f93ba; background:#1b3150; color:#fff; }
.st-quiet button:active { transform:translateY(1px); }
.st-quiet button:disabled { opacity:.45; cursor:not-allowed; }
.st-quiet [data-play]::before { content:""; box-sizing:border-box; width:10px; height:12px; border-left:3px solid currentColor; border-right:3px solid currentColor; }
.st-quiet [data-play][aria-pressed="true"] { color:#FFD21F; border-color:#8a7420; }
.st-quiet [data-play][aria-pressed="true"]::before { width:0; height:0; border-right:0; border-left:10px solid currentColor; border-top:6px solid transparent; border-bottom:6px solid transparent; }
.st-quiet label { display:inline-flex; align-items:center; gap:10px; min-height:44px; padding:0; border:0; background:none; cursor:default;
  font-family:"Helvetica Neue", Arial, sans-serif; font-size:16px; letter-spacing:0; text-transform:none; color:var(--pale); }
.st-quiet select { min-height:44px; padding:0 10px; border:2px solid #3a5878; border-radius:8px; background:#13243a; color:#fff; cursor:pointer;
  font-family:"Helvetica Neue", Arial, sans-serif; font-size:16px; }
.st-quiet select:hover { border-color:#6f93ba; }
@media (prefers-reduced-motion: reduce) { .st-quiet button:active { transform:none; } }
/* Phones: the climb sits directly under the headline (approved phone composition), and the lead
   paragraph, now in the larger body face, follows the scene. The reading order is unchanged. */
@media (max-width:760px) {
  .tv-hero > .tv-wrap { display:flex; flex-direction:column; }
  .tv-hero-head { display:contents; }
  .tv-hero h1 { order:0; }
  .tv-hero #stations { order:1; }
  .tv-lead { order:2; margin-top:18px; }
}

/* ---------- Three games (owner, 27 Nov): a still band after the Skyscraper scene ---------- */
/* Two of the product's own receiver screens, captured with sample data, each with one plain sentence.
   Nothing here is operable, and nothing moves. */
.tv-games { padding:clamp(56px,7vw,96px) 0; background:#0b1520; border-top:1px solid #1f3252; }
.gm-head { max-width:980px; margin-bottom:clamp(26px,3.4vw,44px); }
.gm-head .tv-h { font-size:clamp(36px,6vw,88px); }
.gm-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(28px,3.4vw,48px); }
@media (max-width:900px) { .gm-grid { grid-template-columns:minmax(0,1fr); } }
.gm-game { margin:0; }
.gm-screen { padding:clamp(4px,.5vw,8px); background:#05080c; border-radius:8px; box-shadow:0 0 0 1px rgba(255,255,255,.09), 0 30px 70px rgba(0,0,0,.5); }
.gm-screen > img { display:block; width:100%; height:auto; aspect-ratio:16 / 9; border-radius:3px; background:#0f1a26; }
.gm-game > figcaption { margin-top:18px; max-width:600px; }
.gm-game h3 { margin:0; font-family:"Knockout 51",sans-serif; font-weight:normal; text-transform:uppercase; letter-spacing:.04em; font-size:clamp(24px,2.2vw,30px); line-height:1.05; color:#fff; }
.gm-line, .gm-note { font-family:"Helvetica Neue", Arial, sans-serif; letter-spacing:0; line-height:1.55; color:var(--pale); }
.gm-line { margin:8px 0 0; font-size:18px; }
.gm-note { margin:clamp(22px,2.6vw,32px) 0 0; font-size:18px; }
@media (max-width:760px) { .gm-line, .gm-note { font-size:16px; } }
/* Phones: the screens run to the page edges, as the boards section's screen does, so the stills read larger. */
@media (max-width:640px) { .gm-screen { margin:0 -18px; border-radius:0; padding:4px; } .gm-screen > img { border-radius:0; } }
