@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --night: #07111f;
  --deep: #040b15;
  --seat: #0e1d2f;
  --seat-up: #13263b;
  --line: #172a40;
  --line-strong: #22384f;
  --cyan: #00d4ff;
  --amber: #ffb020;
  --green: #4ade80;
  --live: #c8102e;
  --text: #e2e8f0;
  --text-2: #9fb3c8;
  --white: #ffffff;
  --on-color: #07111f;
  --on-color-2: #0d2235;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Barlow", "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --wrap: min(1320px, calc(100% - var(--gutter) * 2));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); scrollbar-color: var(--line-strong) var(--night); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--sans); font-size: 1.125rem; line-height: 1.6; overflow-x: clip; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
::selection { background: var(--amber); color: var(--on-color); }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg, canvas { display: block; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 3px; }
.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; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--white); text-wrap: balance; }
h1 { font-size: clamp(3.5rem, 8.4vw, 6rem); line-height: 0.9; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); line-height: 0.95; letter-spacing: -0.005em; }
h3 { font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1; }
p { text-wrap: pretty; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-160%); background: var(--amber); color: var(--on-color); padding: 10px 16px; font-weight: 600; border-radius: 4px; transition: transform 0.2s var(--ease); }
.skip-link:focus { transform: none; }

/* Placards: the stand's own buttons */
.placard { display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; min-height: 54px; padding: 0 24px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--seat); color: var(--white); font-family: var(--display); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.01em; line-height: 1; cursor: pointer; transition: transform 0.35s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.35s var(--ease); }
.placard .icon { width: 1.05em; height: 1.05em; stroke-width: 2; transition: transform 0.35s var(--ease); }
.placard:hover { transform: translateY(-2px); box-shadow: 0 14px 24px -14px rgb(0 0 0 / 0.75); }
.placard:hover .icon { transform: translateX(3px); }
.placard:active { transform: translateY(0) scale(0.98); }
.placard--amber { background: var(--amber); border-color: var(--amber); color: var(--on-color); }
.placard--amber:hover { background: #ffc24d; border-color: #ffc24d; }
.placard--ghost { background: rgb(7 17 31 / 0.6); }
.placard--ghost:hover { border-color: var(--cyan); }
.placard--ghost:hover .icon { transform: translateY(3px); }
.placard--small { min-height: 42px; padding: 0 16px; font-size: 1.1rem; }
.placard--block { width: 100%; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter); transition: background-color 0.3s, border-color 0.3s, height 0.3s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgb(7 17 31 / 0.96); border-color: var(--line); --header-h: 64px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--white); letter-spacing: 0.005em; }
.brand img { width: 40px; height: 40px; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { position: relative; font-size: 1rem; font-weight: 500; color: var(--text-2); padding: 6px 0; transition: color 0.2s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.main-nav a:hover, .main-nav a.is-current { color: var(--white); }
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 14px; }
.language-switcher { display: flex; padding: 3px; gap: 2px; border: 1px solid var(--line-strong); border-radius: 5px; background: rgb(7 17 31 / 0.6); }
.language-switcher button { min-width: 38px; height: 32px; border: 0; border-radius: 3px; background: transparent; color: var(--text-2); font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: 0.04em; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.language-switcher button:hover { color: var(--white); }
.language-switcher button[aria-pressed="true"] { background: var(--cyan); color: var(--on-color); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 4px; background: rgb(7 17 31 / 0.6); cursor: pointer; }
.menu-toggle__bars { display: grid; gap: 6px; justify-items: center; }
.menu-toggle__bars i { display: block; width: 20px; height: 2px; background: var(--white); transition: transform 0.3s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 64px 0 auto; z-index: 49; padding: 12px var(--gutter) 24px; background: var(--night); border-bottom: 1px solid var(--line); }
.mobile-menu nav { display: grid; margin-bottom: 16px; }
.mobile-menu nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--white); }
.mobile-menu .placard { width: 100%; }

/* Stands (canvas mosaics) */
.stand { position: absolute; inset: 0; width: 100%; height: 100%; }
.key { display: inline-block; width: 11px; height: 13px; border-radius: 2px; flex: none; }
.key--amber { background: var(--amber); }
.key--cyan { background: var(--cyan); }
.key--white { background: var(--white); }
.key--seat { background: #2a4a68; }
.stand-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 0.875rem; color: var(--text-2); }
.stand-legend__item { display: inline-flex; align-items: center; gap: 8px; }

/* Hero */
.hero { position: relative; min-height: max(640px, min(100svh, 980px)); display: flex; background: var(--night); overflow: hidden; }
.hero__inner { position: relative; z-index: 2; width: var(--wrap); margin: 0 auto; padding: calc(var(--header-h) + clamp(40px, 9vh, 110px)) 0 clamp(28px, 5vh, 48px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); grid-template-rows: 1fr auto; column-gap: clamp(24px, 4vw, 64px); row-gap: 40px; }
.hero__copy { align-self: center; max-width: 40rem; }
.hero__copy h1 { margin-bottom: 26px; }
.hero__lead { max-width: 40rem; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.45; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.audience-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 40px; font-size: 0.95rem; color: var(--text-2); }
.audience-row strong { font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
.hero__figure { min-height: 360px; }
.hero__foot { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero__proof { max-width: 44rem; font-size: 1rem; color: var(--text-2); }
.hero__proof strong { margin-right: 4px; font-family: var(--display); font-size: 2rem; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; vertical-align: -0.12em; }
.hero__foot .stand-legend { grid-column: 1; }
.hero__hint { grid-row: 1 / span 2; grid-column: 2; align-self: end; font-family: var(--display); font-size: 1.05rem; font-weight: 600; color: var(--text-2); letter-spacing: 0.03em; }
.figure-amber { color: var(--amber); }
.figure-cyan { color: var(--cyan); }
.figure-green { color: var(--green); }

/* How it works */
.how { position: relative; padding: clamp(96px, 12vw, 160px) 0 clamp(80px, 10vw, 140px); background: var(--night); }
.how__intro { width: var(--wrap); margin: 0 auto clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 24px clamp(24px, 4vw, 64px); align-items: end; }
.how__intro p { max-width: 30rem; color: var(--text-2); font-size: 1.2rem; }
.how__track { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 64px); }
.how__sticky { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; height: calc(100svh - var(--header-h) - 40px); max-height: 760px; display: flex; flex-direction: column; gap: 14px; }
.how__screen { position: relative; flex: 1; border-radius: 6px; background: var(--deep); border: 1px solid var(--line); overflow: hidden; }
.how__status { position: absolute; left: 18px; bottom: 16px; z-index: 2; padding: 8px 12px; border-radius: 4px; background: rgb(4 11 21 / 0.92); border: 1px solid var(--line-strong); font-family: var(--display); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.how__status:empty { display: none; }
.how__steps { display: grid; }
.how__step { min-height: 78svh; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 24px 0; }
.how__step h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 0.95; }
.how__step p { max-width: 30rem; color: var(--text); font-size: 1.2rem; }
.how__step h3, .how__step p { transition: opacity 0.5s var(--ease); }
.js .how__step:not(.is-active) h3 { opacity: 0.45; }
.js .how__step:not(.is-active) p { opacity: 0.72; }

/* Scoreboard */
.score { width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 80px) 0 clamp(96px, 12vw, 160px); }
.score__head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 24px clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.score__head p { max-width: 30rem; color: var(--text-2); font-size: 1.2rem; }
.board { border: 1px solid var(--line-strong); border-radius: 6px; background: var(--deep); overflow: hidden; }
.score-row { display: grid; grid-template-columns: minmax(0, 1.1fr) clamp(210px, 21vw, 320px) minmax(0, 1.2fr); grid-template-rows: auto auto; column-gap: clamp(20px, 3vw, 48px); row-gap: 4px; align-items: center; padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 40px); }
.score-row + .score-row { border-top: 1px solid var(--line); }
.score-label { grid-column: 1; grid-row: 1; align-self: end; font-size: 1.15rem; font-weight: 500; color: var(--white); line-height: 1.4; }
.score-context { grid-column: 1; grid-row: 2; align-self: start; font-size: 0.95rem; color: var(--text-2); }
.score-value { grid-column: 2; grid-row: 1 / span 2; font-family: var(--display); font-size: clamp(3.2rem, 5.6vw, 5rem); font-weight: 700; line-height: 0.9; color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.score-bar, .score-ruler { grid-column: 3; grid-row: 1 / span 2; }
.score-bar { display: grid; grid-template-columns: repeat(50, 1fr); grid-auto-rows: 18px; gap: 3px; }
.score-bar i { display: block; border-radius: 1.5px; background: var(--seat-up); transform-origin: bottom; transition: background-color 0.4s ease, transform 0.6s var(--ease); }
.score-bar i.is-lit { background: var(--tone); }
.score-ruler { position: relative; display: flex; justify-content: space-between; padding-top: 30px; font-size: 0.85rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.score-ruler .score-bar { position: absolute; inset: 0 0 auto; grid-auto-rows: 22px; }
.score__note { margin-top: 18px; font-size: 0.95rem; color: var(--text-2); max-width: 60rem; }

/* Complete solution: sectors */
.include { padding-bottom: clamp(40px, 6vw, 80px); }
.include__head { width: var(--wrap); margin: 0 auto clamp(40px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 24px clamp(24px, 4vw, 64px); align-items: end; }
.include__head p { max-width: 30rem; color: var(--text-2); font-size: 1.2rem; }
.sector { --tone: var(--cyan); position: relative; }
.sector--amber { --tone: var(--amber); }
.sector--green { --tone: var(--green); }
.sector__band { position: relative; background-color: var(--tone); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='66' fill='%2307111F'%3E%3Cg fill-opacity='.055'%3E%3Crect x='14' width='4' height='66'/%3E%3Crect x='32' width='4' height='66'/%3E%3Crect x='50' width='4' height='66'/%3E%3Crect x='68' width='4' height='66'/%3E%3Crect y='18' width='72' height='4'/%3E%3Crect y='40' width='72' height='4'/%3E%3Crect y='62' width='72' height='4'/%3E%3C/g%3E%3Crect x='18' y='0' width='14' height='18' fill-opacity='0.035'/%3E%3Crect x='36' y='0' width='14' height='18' fill-opacity='0.015'/%3E%3Crect x='54' y='0' width='14' height='18' fill-opacity='0.05'/%3E%3Crect x='0' y='22' width='14' height='18' fill-opacity='0.025'/%3E%3Crect x='36' y='22' width='14' height='18' fill-opacity='0.045'/%3E%3Crect x='54' y='22' width='14' height='18' fill-opacity='0.01'/%3E%3Crect x='0' y='44' width='14' height='18' fill-opacity='0.04'/%3E%3Crect x='18' y='44' width='14' height='18' fill-opacity='0.02'/%3E%3Crect x='54' y='44' width='14' height='18' fill-opacity='0.03'/%3E%3C/svg%3E"); background-size: 72px 66px; color: var(--on-color); padding: clamp(72px, 9vw, 120px) max(var(--gutter), calc((100% - 1320px) / 2)); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.sector__band :focus-visible { outline-color: var(--on-color); }
.sector__text h2 { color: var(--on-color); margin-bottom: 22px; }
.sector__text p { max-width: 30rem; font-size: 1.2rem; font-weight: 500; color: var(--on-color-2); }
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.spec-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; font-size: 1.05rem; line-height: 1.5; color: var(--on-color-2); }
.spec-list .icon { width: 28px; height: 28px; margin-top: 2px; stroke-width: 1.7; color: var(--on-color); }
.spec-list strong { display: block; font-family: var(--display); font-size: 1.45rem; font-weight: 700; line-height: 1.05; color: var(--on-color); margin-bottom: 4px; }
.spec-list--wide { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; padding-top: 32px; border-top: 2px solid rgb(7 17 31 / 0.85); }
.sector--amber .sector__band { grid-template-columns: minmax(0, 1fr); }
.fixture { margin: 16px 0 0; border-top: 3px solid var(--on-color); }
.fixture__row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 8px clamp(32px, 5vw, 80px); align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgb(7 17 31 / 0.35); }
.fixture dt { font-family: var(--display); font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 700; line-height: 1; color: var(--on-color); }
.fixture dd { margin: 0; max-width: 36rem; font-size: 1.1rem; font-weight: 500; line-height: 1.5; color: var(--on-color-2); }
.sector--amber .sector__text { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.sector--amber .sector__text h2 { margin: 0; }
.recreation-note { width: var(--wrap); margin: 16px auto 0; font-size: 0.9rem; color: var(--text-2); }
.sector--cyan .sector__band, .sector--green .sector__band { padding-bottom: clamp(150px, 16vw, 220px); }
.sector--cyan { padding-bottom: clamp(40px, 5vw, 72px); }

/* Panel recreation */
.panel-frame { position: relative; z-index: 2; width: var(--wrap); margin: clamp(-150px, -12vw, -96px) auto 0; display: grid; grid-template-columns: 210px minmax(0, 1fr); border: 1px solid var(--line-strong); border-radius: 8px; background: #0b1726; overflow: hidden; box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.8); font-size: 13px; line-height: 1.4; color: #cbd5e1; }
.pf-side { padding: 18px 12px; background: #0a1422; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 2px; }
.pf-brand { display: flex; align-items: center; gap: 9px; padding: 0 6px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.pf-brand b { display: block; color: var(--white); font-size: 14px; }
.pf-brand small { color: #8396ae; font-size: 11px; }
.pf-side p { padding: 12px 8px 4px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8396ae; }
.pf-side span { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 4px; color: #94a3b8; }
.pf-side span .icon { width: 16px; height: 16px; }
.pf-side span.is-active { background: rgb(0 212 255 / 0.12); color: var(--cyan); }
.pf-main { padding: 0 0 18px; min-width: 0; }
.pf-top { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.pf-top b { color: var(--white); font-size: 15px; }
.pf-live { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 3px; background: rgb(74 222 128 / 0.12); color: var(--green); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; }
.pf-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.pf-clock { margin-left: auto; color: #8396ae; font-variant-numeric: tabular-nums; }
.pf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 16px 20px; }
.pf-stats div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: #0e1b2b; }
.pf-stats span { display: block; color: #8396ae; font-size: 11px; }
.pf-stats strong { display: block; margin-top: 2px; color: var(--cyan); font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.t-amber { color: var(--amber) !important; }
.t-green { color: var(--green) !important; }
.pf-list { display: grid; gap: 10px; padding: 0 20px; }
.pf-row { padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: #0e1b2b; display: grid; gap: 7px; }
.pf-row__head { display: flex; align-items: baseline; gap: 10px; }
.pf-row__head b { color: var(--white); font-size: 14px; }
.pf-row__head em { color: #8396ae; font-style: normal; font-size: 12px; }
.pf-ok { margin-left: auto; padding: 1px 8px; border-radius: 3px; background: rgb(74 222 128 / 0.12); color: var(--green); font-size: 11px; font-weight: 600; }
.pf-row__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; color: #94a3b8; font-size: 12px; font-variant-numeric: tabular-nums; }
.pf-peers { position: relative; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--amber); }
.pf-peers i { position: relative; flex: 1; height: 6px; border-radius: 3px; background: #1a2c42; overflow: hidden; }
.pf-peers i::after { content: ""; position: absolute; inset: 0; width: calc(var(--p) * 100%); background: var(--amber); border-radius: 3px; transform-origin: left; transition: transform 1.2s var(--ease); }
.js .panel-frame:not(.is-in) .pf-peers i::after { transform: scaleX(0); }

/* App recreation */
.app-stage { position: relative; z-index: 2; width: var(--wrap); margin: clamp(-170px, -13vw, -110px) auto 0; padding-right: clamp(0px, 24vw, 330px); }
.tv-frame { container-type: inline-size; position: relative; padding: 1.2% 1.2% 1.6%; border-radius: 10px; background: #02060c; border: 1px solid #1d2c3e; box-shadow: 0 50px 90px -40px rgb(0 0 0 / 0.85); }
.tv-zoom { container-type: inline-size; }
.tv-screen { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: var(--night); padding: 3.3cqw 3.6cqw 2.6cqw; display: grid; grid-template-rows: auto 1fr auto; gap: 2.1cqw; color: var(--text); font-size: 1.35cqw; line-height: 1.3; }
.tv-top { display: flex; align-items: center; gap: 2cqw; }
.tv-brand { display: flex; align-items: center; gap: 1cqw; font-family: var(--display); font-weight: 700; font-size: 2.3cqw; color: var(--white); }
.tv-brand img { width: 3cqw; height: 3cqw; }
.tv-time { margin-left: auto; font-size: 1.55cqw; color: var(--text-2); font-variant-numeric: tabular-nums; }
.tv-profile { display: flex; align-items: center; gap: 0.7cqw; padding: 0.8cqw 1.6cqw; border-radius: 3cqw; background: var(--seat); border: 1px solid var(--line); font-size: 1.45cqw; }
.tv-profile .icon { width: 1.8cqw; height: 1.8cqw; }
.tv-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.7cqw; min-height: 0; }
.tv-card { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 1.3cqw; background: var(--seat); overflow: hidden; min-height: 0; }
.tv-card.is-focus { outline: 0.35cqw solid #e2e8f0; outline-offset: 0.4cqw; }
.tv-card__band { display: flex; align-items: center; gap: 1cqw; padding: 1cqw 1.7cqw; font-family: var(--display); font-weight: 700; font-size: 2.3cqw; color: var(--on-color); }
.tv-card__band .icon { width: 2.1cqw; height: 2.1cqw; stroke-width: 2; }
.tv-card--live .tv-card__band { background: var(--cyan); }
.tv-card--films .tv-card__band { background: var(--amber); }
.tv-card--series .tv-card__band { background: var(--green); }
.tv-card__body { padding: 1.8cqw 1.7cqw; display: flex; flex-direction: column; gap: 1.1cqw; }
.tv-match { font-family: var(--display); font-weight: 700; font-size: 4.4cqw; line-height: 0.95; color: var(--white); }
.tv-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8cqw; font-size: 1.3cqw; color: var(--text-2); }
.tag-live { padding: 0.25cqw 0.8cqw; border-radius: 0.3cqw; background: var(--live); color: var(--white); font-family: var(--display); font-weight: 700; letter-spacing: 0.03em; }
.tag-ch { padding: 0.15cqw 0.7cqw; border-radius: 0.3cqw; border: 1px solid var(--cyan); color: var(--cyan); font-family: var(--display); font-weight: 600; }
.tv-comp { color: var(--text-2); font-size: 1.4cqw; }
.tv-progress { position: relative; display: block; height: 0.45cqw; border-radius: 0.3cqw; background: #1d3149; overflow: hidden; margin-top: auto; }
.tv-progress::after { content: ""; position: absolute; inset: 0; width: calc(var(--p) * 100%); background: var(--cyan); }
.tv-progress--amber::after { background: var(--amber); }
.tv-art { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.6cqw; padding: 1.7cqw; min-height: 0; overflow: hidden; }
.tv-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tv-art::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgb(7 17 31 / 0.96) 12%, rgb(7 17 31 / 0.2) 64%, transparent); }
.tv-art > :not(svg) { position: relative; z-index: 2; }
.tv-art strong { font-family: var(--display); font-weight: 700; font-size: 3cqw; line-height: 0.95; color: var(--white); }
.tv-art span { font-size: 1.3cqw; font-weight: 600; }
.tv-art .tv-progress { margin-top: 0.4cqw; }
.tv-today { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto; align-items: center; gap: 2cqw; padding: 1.3cqw 1.8cqw; border-radius: 1.2cqw; background: var(--seat); }
.tv-today > div { display: grid; gap: 0.1cqw; font-size: 1.3cqw; padding-left: 2cqw; border-left: 1px solid var(--line-strong); min-width: 0; }
.tv-today > div b { font-family: var(--display); font-size: 2cqw; color: var(--white); font-variant-numeric: tabular-nums; }
.tv-today > div span { font-family: var(--display); font-weight: 600; font-size: 1.6cqw; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-today > div em { font-style: normal; color: #ff8a99; font-weight: 600; font-size: 1.15cqw; }
.tv-today > div small { color: var(--text-2); font-size: 1.15cqw; }
.tv-today .tv-today__label { padding-left: 0; border: 0; }
.tv-today__label b { font-size: 2.4cqw !important; }
.tv-agenda { display: flex; align-items: center; gap: 0.4cqw; padding: 0.9cqw 1.6cqw; border-radius: 3cqw; border: 1px solid var(--line-strong); font-family: var(--display); font-weight: 600; font-size: 1.6cqw; color: var(--white); }
.tv-agenda .icon { width: 1.6cqw; height: 1.6cqw; }
.phone-frame { container-type: inline-size; position: absolute; right: 0; bottom: 6%; z-index: 3; width: clamp(240px, 27%, 350px); padding: 2.2%; border-radius: 22px; background: #02060c; border: 1px solid #22344a; box-shadow: 0 40px 70px -30px rgb(0 0 0 / 0.9); }
.phone-screen { border-radius: 12px; overflow: hidden; background: var(--night); padding: 4cqw 5cqw; display: grid; grid-template-rows: auto auto 1fr; gap: 2.4cqw; font-size: 4cqw; }
.ph-top { display: flex; align-items: center; justify-content: space-between; font-family: var(--display); font-size: 6cqw; line-height: 1.1; color: var(--white); }
.ph-top .icon { width: 6cqw; height: 6cqw; color: var(--text-2); }
.ph-cats { display: flex; gap: 2cqw; overflow: hidden; }
.ph-cats span { flex: none; padding: 0.8cqw 2.8cqw; border-radius: 6cqw; border: 1px solid var(--line-strong); font-family: var(--display); font-weight: 600; font-size: 3.6cqw; line-height: 1.35; color: var(--text-2); }
.ph-cats .is-on { background: var(--cyan); border-color: var(--cyan); color: var(--on-color); }
.ph-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2cqw; align-content: start; }
.ph-ch { display: flex; gap: 2.2cqw; align-items: center; padding: 1.6cqw; border-radius: 2cqw; background: var(--seat); min-width: 0; }
.ph-ch.is-on { outline: 0.6cqw solid var(--cyan); }
.ph-ch i { flex: none; display: grid; place-items: center; width: 9cqw; height: 9cqw; border-radius: 1.6cqw; background: var(--c); color: var(--on-color); font-family: var(--display); font-weight: 700; font-style: normal; font-size: 3.6cqw; }
.ph-ch div { display: grid; min-width: 0; }
.ph-ch b { font-family: var(--display); font-size: 4.2cqw; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-ch span { font-size: 3.3cqw; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-ch u { position: relative; display: block; height: 0.8cqw; margin-top: 1cqw; border-radius: 1cqw; background: #1d3149; overflow: hidden; text-decoration: none; }
.ph-ch u::after { content: ""; position: absolute; inset: 0; width: calc(var(--p) * 100%); background: var(--cyan); }
.feature-chips { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.feature-chips li { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 12px; border-radius: 4px; background: var(--on-color); color: var(--white); font-family: var(--display); font-size: 1.3rem; font-weight: 600; line-height: 1.1; }
.feature-chips .icon { width: 22px; height: 22px; color: var(--green); }
.sector--green .recreation-note { margin-top: clamp(40px, 7vw, 92px); }
[data-rise] { transition: transform 1.1s var(--ease), opacity 1.1s var(--ease); }
.js [data-rise]:not(.is-in) { transform: translateY(48px); opacity: 0.001; }

/* FAQ */
.faq { width: min(980px, calc(100% - var(--gutter) * 2)); margin: 0 auto; padding: clamp(96px, 12vw, 160px) 0 clamp(80px, 10vw, 140px); }
.faq h2 { margin-bottom: clamp(32px, 5vw, 56px); }
.faq-item { border-top: 1px solid var(--line-strong); }
.faq-item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-item h3 { font-size: inherit; line-height: inherit; }
.faq-item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border: 0; background: none; text-align: left; font-family: var(--display); font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.1; color: var(--white); cursor: pointer; transition: color 0.2s; }
.faq-item button:hover { color: var(--amber); }
.faq-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 4px; background: var(--seat); color: var(--amber); transition: background-color 0.2s, color 0.2s; }
.faq-icon .icon { width: 20px; height: 20px; stroke-width: 2.2; transition: transform 0.45s var(--ease); }
.faq-item button[aria-expanded="true"] .faq-icon { background: var(--amber); color: var(--on-color); }
.faq-item button[aria-expanded="true"] .faq-icon .icon { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.5s var(--ease); }
.js .faq-answer { grid-template-rows: 0fr; }
.js .faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { max-width: 46rem; padding: 0 0 28px; color: var(--text); font-size: 1.15rem; }

/* Contact */
.contact { position: relative; overflow: hidden; background: var(--deep); padding: clamp(156px, 12vw, 176px) 0 clamp(96px, 12vw, 160px); }
.contact__inner { position: relative; z-index: 2; width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 40px clamp(32px, 6vw, 96px); align-items: center; }
.contact__copy { max-width: 34rem; }
.contact__copy h2 { margin-bottom: 22px; font-size: clamp(3rem, 7vw, 6rem); line-height: 0.9; }
.contact__copy p { font-size: 1.25rem; color: var(--text); }
.contact-email { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 4px 0; border-bottom: 2px solid var(--amber); font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--white); transition: color 0.2s; }
.contact-email:hover { color: var(--amber); }
.contact-email .icon { color: var(--amber); }
.contact-form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-strong); border-radius: 8px; background: var(--night); box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.9); }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--seat); color: var(--white); font-size: 1.05rem; transition: border-color 0.2s, background-color 0.2s; caret-color: var(--amber); }
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: right 20px center, right 14px center; background-size: 6px 6px; background-repeat: no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: #7f95ab; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #33506d; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--cyan); background: var(--seat-up); }
.field [aria-invalid="true"] { border-color: #ff8a99; }
.field-error { min-height: 0; font-size: 0.9rem; color: #ff8a99; }
.field-error:empty { display: none; }
.form-hint { font-size: 0.9rem; color: var(--text-2); }
.form-message { font-size: 0.95rem; font-weight: 600; color: var(--green); }
.form-message:empty { display: none; }
.form-message.is-error { color: #ff8a99; }
.form-message a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.contact-form[aria-busy="true"] .placard { opacity: 0.75; cursor: progress; }

/* Legal + footer */
.legal-disclosure { width: min(980px, calc(100% - var(--gutter) * 2)); margin: 0 auto; padding: clamp(64px, 8vw, 104px) 0; display: grid; gap: 16px; color: var(--text-2); font-size: 1rem; }
.legal-disclosure h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; color: var(--text); margin-bottom: 6px; }
.site-footer { width: var(--wrap); margin: 0 auto; padding: 32px 0 44px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; font-size: 0.95rem; color: var(--text-2); }
.site-footer__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: flex-end; }
.site-footer__meta a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.site-footer__meta a:hover { text-decoration-color: var(--amber); }
.site-footer__meta a[aria-current="page"] { text-decoration-color: var(--cyan); }
.form-hint a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.form-hint a:hover { text-decoration-color: var(--amber); }

/* Privacy and cookie pages */
.legal-page .site-header { background: rgb(7 17 31 / 0.96); border-color: var(--line); }
.legal-page .header-tools { margin-left: auto; }
.legal-doc { width: var(--wrap); margin: 0 auto; padding: calc(var(--header-h) + clamp(40px, 7vw, 88px)) 0 clamp(64px, 8vw, 104px); }
.legal-doc__body { max-width: 46rem; }
.legal-doc__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 0.95rem; color: var(--text-2); transition: color 0.2s; }
.legal-doc__back:hover { color: var(--white); }
.legal-doc__back .icon { width: 1.1em; height: 1.1em; }
.legal-doc h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); line-height: 0.95; }
.legal-doc__date { margin-top: 14px; font-size: 0.95rem; color: var(--text-2); }
.legal-doc h2 { margin-top: 48px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; }
.legal-doc p, .legal-doc ul { margin-top: 14px; }
.legal-doc ul { padding-left: 1.25em; list-style: disc; }
.legal-doc li + li { margin-top: 8px; }
.legal-doc li::marker { color: var(--cyan); }
.legal-doc strong { font-weight: 600; color: var(--white); }
.legal-doc a:not(.legal-doc__back) { color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--cyan); }
.legal-doc a:not(.legal-doc__back):hover { text-decoration-color: var(--amber); }
.legal-doc code { padding: 3px 8px; border-radius: 3px; background: var(--seat-up); font-size: 0.92em; }
.legal-doc__summary { margin-top: 36px; padding: 22px 24px 24px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--seat); }
.legal-doc__summary h2 { margin-top: 0; font-size: clamp(1.5rem, 2.2vw, 1.8rem); }
.legal-doc__facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 28px; margin: 16px 0 0; }
.legal-doc__facts dt { color: var(--text-2); }
.legal-doc__facts dd { margin: 0; color: var(--white); overflow-wrap: anywhere; }
.legal-doc__table { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; }
.legal-doc table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 1rem; }
.legal-doc th, .legal-doc td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-doc th { background: var(--seat); font-family: var(--display); font-weight: 600; color: var(--white); letter-spacing: 0.02em; }
.legal-doc tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  .legal-doc table, .legal-doc tbody, .legal-doc tr, .legal-doc td { display: block; min-width: 0; }
  .legal-doc thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-doc td { padding: 10px 14px; }
  .legal-doc td::before { content: attr(data-label); display: block; font-family: var(--display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); }
  .legal-doc tbody tr:last-child td:not(:last-child) { border-bottom: 1px solid var(--line); }
}
.todo { padding: 0 4px; border-radius: 3px; background: rgb(255 176 32 / 0.16); outline: 1px dashed var(--amber); color: var(--amber); }


/* Responsive */
@media (max-width: 1180px) {
  .main-nav { gap: 18px; }
  .spec-list--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .main-nav, .header-tools > .placard { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: grid; place-items: center; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; }
  .hero__figure { min-height: clamp(260px, 56vw, 460px); }
  .how__track { grid-template-columns: minmax(0, 1fr); }
  .how__sticky { top: var(--header-h); z-index: 3; height: 42svh; padding: 10px 0 12px; background: var(--night); gap: 8px; box-shadow: 0 18px 18px -6px var(--night); }
  .how__sticky .stand-legend { font-size: 0.8rem; gap: 6px 14px; }
  .how__sticky .stand-legend__item { gap: 6px; }
  .how__step { min-height: 0; justify-content: flex-start; padding: 24svh 0 4svh; }
  .how__step:last-child { padding-bottom: 22svh; }
  .sector__band, .sector--amber .sector__text { grid-template-columns: minmax(0, 1fr); }
  .score-row { grid-template-columns: minmax(0, 1fr) auto; }
  .score-bar, .score-ruler { grid-column: 1 / -1; grid-row: 3; margin-top: 16px; }
  .score-value { grid-column: 2; }
  .panel-frame { grid-template-columns: minmax(0, 1fr); }
  .pf-side { display: none; }
  .app-stage { --stage-pb: clamp(110px, 16vw, 170px); padding-right: 0; padding-bottom: var(--stage-pb); }
  .phone-frame { bottom: 0; width: clamp(230px, 40%, 340px); }
  .sector--green .recreation-note { margin-top: calc(24px - clamp(110px, 16vw, 170px)); padding-right: calc(var(--wrap) * 0.4 + 32px); }
  .contact__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .site-header { gap: 12px; }
  .brand { font-size: 1.35rem; }
  .brand img { width: 34px; height: 34px; }
  .hero__inner { padding-top: calc(var(--header-h) + 36px); row-gap: 28px; }
  .hero__actions .placard { flex: 1 1 100%; }
  .hero__foot { grid-template-columns: minmax(0, 1fr); }
  .hero__hint { grid-row: auto; grid-column: 1; }
  .how__intro, .score__head, .include__head { grid-template-columns: minmax(0, 1fr); }
  .score-row { grid-template-columns: minmax(0, 1fr); }
  .score-value { grid-column: 1; grid-row: auto; margin: 10px 0 2px; }
  .score-label, .score-context { grid-row: auto; }
  .score-label { order: -1; }
  .score-bar, .score-ruler { grid-row: auto; }
  .spec-list, .spec-list--wide { grid-template-columns: minmax(0, 1fr); }
  .fixture__row { grid-template-columns: minmax(0, 1fr); }
  .pf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; }
  .pf-list { padding: 0 14px; }
  .pf-top { padding: 12px 14px; }
  .phone-frame { right: 50%; transform: translateX(50%); width: min(320px, 82%); }
  .app-stage { padding-bottom: clamp(150px, 50vw, 210px); }
  .sector--green .recreation-note { margin-top: 24px; padding-right: 0; }
  .site-footer { grid-template-columns: minmax(0, 1fr); }
  .contact { padding-top: 140px; }
  .site-footer__meta { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .tv-frame { overflow: hidden; -webkit-mask-image: linear-gradient(to right, #000 80%, transparent 99%); mask-image: linear-gradient(to right, #000 80%, transparent 99%); }
  .tv-zoom { width: 640px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .js [data-rise]:not(.is-in) { transform: none; opacity: 1; }
  .js .how__step:not(.is-active) h3, .js .how__step:not(.is-active) p { opacity: 1; }
  .js .panel-frame:not(.is-in) .pf-peers i::after { transform: none; }
}
.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } }
