/* ==========================================================================
   Sales website. Two kinds of surface:
   - "screen" (dark navy): only what viewers see - the apps and their mock-ups
   - "paper" (light): what the operator reads, signs and pays - offer, terms
   ========================================================================== */

@font-face { font-family: "Site Sans"; src: url("../fonts/roboto-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: optional; }
@font-face { font-family: "Site Sans"; src: url("../fonts/roboto-medium.woff") format("woff"); font-weight: 500 700; font-style: normal; font-display: optional; }
@font-face { font-family: "Site Display"; src: url("../fonts/roboto-condensed-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: optional; }

@property --brand { syntax: "<color>"; inherits: true; initial-value: #4f6bff; }

:root {
  --paper: #f3f4f7;
  --paper-2: #e7eaf0;
  --card: #ffffff;
  --ink: #131722;
  --ink-2: #414a5b;
  --ink-3: #5c6577;
  --line: #d2d7e0;
  --line-2: #b4bccb;
  --zox: #b3141e;
  --zox-dark: #8e0f17;
  --zox-tint: #f8e4e5;
  --screen: #0e1424;
  --screen-2: #161f36;
  --screen-3: #212c49;
  --screen-line: #2d3a5c;
  --screen-ink: #edf0f7;
  --screen-ink-2: #aab3c9;
  --focus: #2f55d4;
  --focus-on-dark: #9eaaff;
  --ok: #2bb46a;
  --warn: #f2a33a;
  --brand: #4f6bff;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --f-text: "Site Sans", Roboto, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-display: "Site Display", "Roboto Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --step: clamp(56px, 8vw, 112px);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-text); font-kerning: normal; -webkit-font-smoothing: antialiased; }
.page { position: relative; overflow-x: clip; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.06; text-wrap: balance; }
h1, h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 1.35rem + 1.9vw, 2.85rem); }
h3 { font-size: 1.2rem; font-weight: 500; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1em; }
p, li, dd { max-width: 68ch; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin: .25em 0; }
a { color: var(--zox-dark); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
strong, b { font-weight: 500; }
small { font-size: .875rem; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.screen :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--focus-on-dark); }
main:focus { outline: none; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; 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: 12px; top: -60px; z-index: 50; background: var(--card); color: var(--ink); padding: 10px 16px; border-radius: 4px; font-weight: 500; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
.note { font-size: .9375rem; color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 22px; border: 2px solid transparent; border-radius: 4px; font: 500 1rem/1.2 var(--f-text); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--zox); color: #fff; }
.btn--primary:hover { background: var(--zox-dark); }
.btn--line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.screen .btn--line, .site-header .btn--line { color: var(--screen-ink); }
.screen .btn--line:hover { background: var(--screen-ink); border-color: var(--screen-ink); color: var(--screen); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

/* ---------- header ---------- */
/* Product offer above the main navigation */
.offer-strip {
  color: var(--ink);
  background: linear-gradient(110deg, #f8e8e8, #fff8f6 37%, #fff8f6 65%, #faeded);
  border-bottom: 1px solid #ead3d6;
}
.offer-inner {
  display: grid; align-items: center; column-gap: clamp(18px, 2.5vw, 36px);
  grid-template-areas: "devices message action";
  grid-template-columns: auto minmax(0, 1fr) auto;
  width: min(100%, 1120px); margin-inline: auto; padding: 11px var(--gutter);
}
.offer-inner:has(.offer-countdown:not([hidden])) {
  grid-template-areas: "devices message countdown action";
  grid-template-columns: auto minmax(0, 1fr) auto auto;
}
.offer-devices { grid-area: devices; width: clamp(132px, 14vw, 174px); height: auto; }
.offer-message { grid-area: message; min-width: 0; }
.offer-saving { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; margin: 0 0 5px; }
.offer-saving strong { padding: 3px 8px; border-radius: 4px; color: #fff; background: var(--zox); font-size: .875rem; line-height: 1.2; white-space: nowrap; }
.offer-saving > span { color: #654d51; font-size: .83rem; line-height: 1.25; }
.offer-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.offer-title { margin: 0; font: 700 clamp(1.38rem, 2.45vw, 1.86rem)/1.07 var(--f-display); }
.offer-price { display: inline-flex; gap: 7px; align-items: baseline; margin: 0; white-space: nowrap; line-height: 1.15; }
.offer-price > strong { color: var(--zox-dark); font: 700 clamp(1.38rem, 2.45vw, 1.86rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.offer-terms { margin: 4px 0 0; color: #4c4347; font-size: .85rem; line-height: 1.32; }
.offer-terms > span:last-child { white-space: nowrap; }
.offer-countdown { grid-area: countdown; min-width: 0; display: grid; gap: 5px; padding-left: 20px; border-left: 1px solid #e5cbce; }
.offer-timer { display: flex; gap: 4px; }
.offer-countdown[hidden], .offer-timer[hidden] { display: none; }
.offer-unit {
  display: inline-flex; align-items: baseline; justify-content: center; gap: 1px;
  min-width: 2.6rem; padding: 4px 5px; border-radius: 4px;
  color: #f7edf0; background: var(--screen);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.offer-unit b { font: 700 1.13rem/1.2 var(--f-display); }
.offer-unit > span { color: #ddcbd1; font-size: .76rem; line-height: 1.2; }
.offer-deadline { margin: 0; color: #654d51; font-size: .78rem; line-height: 1.25; }
.offer-deadline time { display: block; color: #382930; white-space: nowrap; }
.offer-action { grid-area: action; display: grid; justify-items: center; gap: 4px; }
.offer-buy {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border-radius: 5px;
  background: var(--zox); color: #fff; text-align: center; text-decoration: none; white-space: nowrap;
  font: 500 .98rem/1.15 var(--f-text);
}
.offer-buy:hover { background: var(--zox-dark); }
.offer-compare { color: #6d2830; text-align: center; font-size: .82rem; line-height: 1.3; white-space: nowrap; }
@media (min-width: 701px) and (max-width: 850px) {
  .offer-inner { column-gap: 12px; }
  .offer-devices { width: 100px; }
  .offer-buy { padding-inline: 12px; }
  .offer-countdown { padding-left: 12px; }
  .offer-unit { min-width: 2.25rem; padding-inline: 3px; }
}
@media (max-width: 700px) {
  .offer-inner {
    grid-template-areas: "message devices" "action action";
    grid-template-columns: minmax(0, 1fr) clamp(96px, 26vw, 144px);
    gap: 5px 6px; padding-block: 8px;
  }
  .offer-inner:has(.offer-countdown:not([hidden])) {
    grid-template-areas: "message devices" "countdown action";
    grid-template-columns: minmax(0, 1fr) clamp(96px, 26vw, 144px);
  }
  .offer-devices { width: 100%; max-width: 122px; justify-self: center; }
  .offer-saving { gap: 3px 6px; margin-bottom: 4px; }
  .offer-saving strong { padding: 2px 6px; font-size: .75rem; }
  .offer-saving > span, .offer-terms { font-size: .75rem; }
  .offer-title, .offer-price > strong { font-size: 1.27rem; }
  .offer-line { column-gap: 8px; }
  .offer-price .price-reference { font-size: .85rem; }
  .offer-terms { margin-top: 2px; }
  .offer-countdown { gap: 3px; padding: 0; border-left: 0; }
  .offer-unit { min-width: 2rem; padding: 3px; }
  .offer-unit b { font-size: 1rem; }
  .offer-deadline, .offer-compare { font-size: .75rem; }
  .offer-deadline time { display: inline-block; }
  .offer-action { justify-items: stretch; gap: 0; }
  .offer-buy { padding-inline: 6px; font-size: .875rem; }
  .offer-compare { display: grid; place-items: center; min-height: 26px; }
  .offer-inner:not(:has(.offer-countdown:not([hidden]))) .offer-action { grid-template-columns: 1fr 1fr; gap: 8px; }
}
.site-header { position: sticky; top: 0; z-index: 20; background: var(--screen); color: var(--screen-ink); border-bottom: 1px solid var(--screen-line); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  flex: 0 1 auto;
  width: min(var(--brand-logo-width, 212px), 100%);
  min-width: 0;
  height: var(--brand-logo-height, 40px);
  overflow: hidden;
  border-radius: 6px;
  background: #f5faf7;
}
.logo img { width: 100%; height: auto; }
.nav { margin-left: auto; }
.nav ul, .menu-panel ul, .site-footer ul { list-style: none; margin: 0; padding: 0; }
.nav ul { display: flex; gap: 4px; }
.nav li { margin: 0; }
.nav a { display: block; padding: 10px 12px; color: var(--screen-ink-2); text-decoration: none; font-weight: 500; font-size: .96875rem; border-radius: 4px; }
.nav a:hover { color: #fff; background: var(--screen-2); }
.nav a[aria-current] { color: #fff; box-shadow: inset 0 -3px 0 var(--zox); border-radius: 4px 4px 0 0; }
.header-end { display: flex; align-items: center; gap: 14px; }
.lang-link { color: var(--screen-ink-2); font-size: .9375rem; text-decoration: none; padding: 8px 4px; }
.lang-link:hover { color: #fff; text-decoration: underline; }
.lang-short { display: none; }
.menu { display: none; }
.menu summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--screen-line); border-radius: 4px; cursor: pointer; font-weight: 500; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--screen-2); }
.site-header:has(.menu[open]) { z-index: 40; }
.menu:not([open]) .menu-panel { display: none; }
.menu-panel { position: absolute; inset: 100% 0 auto; background: var(--screen); border-bottom: 1px solid var(--screen-line); padding: 6px var(--gutter) 14px; max-height: var(--menu-space, calc(100dvh - 68px)); overflow-y: auto; overscroll-behavior: contain; }
.menu-panel li { margin: 0; }
.menu-panel a { display: flex; align-items: center; min-height: 48px; padding: 8px 4px; color: var(--screen-ink); text-decoration: none; font-size: 1.0625rem; border-bottom: 1px solid var(--screen-line); }
.menu-panel a[aria-current] { color: #fff; font-weight: 500; box-shadow: inset 4px 0 0 var(--zox); padding-left: 14px; }

@media (max-width: 1060px) {
  .nav { display: none; }
  .menu { display: block; }
  .header-end { margin-left: auto; }
}
@media (min-width: 601px) and (max-height: 500px) {
  .menu-panel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
}
@media (max-width: 600px) {
  :root { --step: 44px; }
  html { scroll-padding-top: 68px; }
  .header-cta { display: none; }
  .lang-long { display: none; }
  .lang-short { display: inline; }
  .site-header { --brand-logo-width: 186px; --brand-logo-height: 34px; }
  .header-row { gap: 10px; min-height: 56px; }
  .header-end { gap: 8px; }
  .menu summary { padding-inline: 10px; }
}

@media (max-width: 360px) {
  .site-header .header-row, .site-header .header-end { gap: 6px; }
  .site-header .menu summary, .site-header .website-chat-toggle {
    gap: 5px;
    padding-inline: 7px;
    font-size: .875rem;
  }
}

/* ---------- sections ---------- */
.band { padding: var(--step) 0; }
.band--alt { background: var(--paper-2); }
.band--tight { padding: calc(var(--step) * .6) 0; }
.screen { background: var(--screen); color: var(--screen-ink); }
.screen .lead, .screen p { color: var(--screen-ink-2); }
.screen h1, .screen h2, .screen h3, .screen strong { color: #fff; }
.screen a:not(.btn) { color: #fff; }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { color: var(--ink-2); }
.screen .section-head p { color: var(--screen-ink-2); }
.section-foot { margin-top: 36px; }
.section-foot > a:only-child { display: inline-block; padding: 2px 0; }
@media (max-width: 600px) {
  .section-head { margin-bottom: 24px; }
  .section-foot { margin-top: 24px; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); background:
  radial-gradient(60% 70% at 85% 30%, color-mix(in oklab, var(--brand) 22%, transparent), transparent 70%),
  var(--screen); transition: --brand .5s ease; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.9rem); line-height: .98; margin-bottom: .35em; }
.hero .lead { color: var(--screen-ink-2); }
.hero-note { margin-top: 22px; display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--screen-ink-2); max-width: 46ch; }
.hero-note .i { color: #ff8a8f; margin-top: .15em; }
.hero-visual { position: relative; }
.hero-visual .mock-phone { position: absolute; right: -2%; bottom: -4%; width: 23%; }
.swap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 28px; padding: 14px 16px; border: 1px solid var(--screen-line); border-radius: 10px; background: color-mix(in oklab, var(--screen-2) 80%, transparent); }
.swap[hidden] { display: none; }
.swap-label { font-weight: 500; color: #fff; font-size: .9375rem; }
.swap input[type="text"] { flex: 1 1 160px; min-width: 0; min-height: 42px; padding: 0 12px; border: 1px solid var(--screen-line); border-radius: 4px; background: var(--screen); color: #fff; font: 400 1rem var(--f-text); }
.swap input[type="text"]::placeholder { color: var(--screen-ink-2); }
.swap fieldset { display: flex; gap: 8px; border: 0; margin: 0; padding: 0; }
.swap legend { float: left; margin-right: 8px; padding: 0; line-height: 30px; font-size: .875rem; color: var(--screen-ink-2); }
.swatch { position: relative; display: block; width: 30px; height: 30px; }
.swatch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); }
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--screen), 0 0 0 4px #fff; }
.swatch input:focus-visible + span { outline: 3px solid var(--focus-on-dark); outline-offset: 4px; }
/* the visitor's own logo and background picture: a file picker that looks like a button, a thumbnail, Remove */
.swap-pics { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-width: 0; padding-top: 14px; border-top: 1px solid var(--screen-line); }
.swap-pics[hidden] { display: none; }
.swap-pic { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }
.swap-pick { position: relative; display: inline-flex; align-items: center; gap: 10px; min-width: 0; min-height: 42px; padding: 0 14px 0 8px; border: 1px solid var(--screen-line); border-radius: 4px; background: var(--screen); color: #fff; font-size: .9375rem; font-weight: 500; line-height: 1.2; cursor: pointer; }
.swap-pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; font-size: 0; cursor: pointer; }
.swap-pick input::file-selector-button { cursor: pointer; }
.swap-pick:hover { border-color: var(--screen-ink-2); }
.swap-pick:has(input:focus-visible) { outline: 3px solid var(--focus-on-dark); outline-offset: 2px; }
.swap-thumb { position: relative; flex: none; width: 26px; height: 26px; border: 1px dashed var(--screen-ink-2); border-radius: 4px; background: center / contain no-repeat; }
.swap-thumb--wide { width: 40px; background-size: cover; }
.swap-thumb::before, .swap-thumb::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; border-radius: 1px; background: var(--screen-ink-2); }
.swap-thumb::after { transform: rotate(90deg); }
.swap-pic.is-set .swap-thumb { border: 1px solid var(--screen-line); background-color: var(--screen-3); }
.swap-pic.is-set .swap-thumb::before, .swap-pic.is-set .swap-thumb::after { display: none; }
.swap-remove { flex: none; min-height: 42px; margin: 0; padding: 0 12px; border: 1px solid var(--screen-line); border-radius: 4px; background: none; color: var(--screen-ink-2); font: 500 .875rem/1.2 var(--f-text); cursor: pointer; }
.swap-remove:hover { border-color: var(--screen-ink-2); color: #fff; }
.swap-remove:focus-visible { outline: 3px solid var(--focus-on-dark); outline-offset: 2px; }
.swap-remove[hidden] { display: none; }
.swap-note, .swap-msg { flex: 1 1 100%; max-width: none; margin: 0; font-size: .8125rem; line-height: 1.45; color: var(--screen-ink-2); }
.swap-msg { margin-top: -4px; color: var(--screen-ink); }
.swap-msg.is-bad { color: #ffb4b8; }
.swap-msg:empty { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); }
@media (scripting: enabled) {
  /* The static TV has no remote or keyboard hint. Reserve their space before the interactive demo mounts. */
  .hero-visual { container-type: inline-size; }
  .hero-visual .demo-mount { min-height: calc(60cqi + 240px); }
  .swap[hidden], .swap-pics[hidden] { display: flex; visibility: hidden; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 720px; }
}
@media (max-width: 600px) {
  .hero { padding: 20px 0 36px; }
  .hero-grid { row-gap: 0; }
  .hero-copy, .hero-preview { display: contents; }
  .hero h1 { font-size: clamp(2.12rem, 1.14rem + 4.85vw, 2.9rem); }
  .hero .lead { margin: 0; font-size: 1.05rem; line-height: 1.45; }
  .hero .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
  .hero .actions .btn { padding: 5px 8px; text-align: center; }
  .page:has(.offer-strip) .hero-compare { display: none; }
  .hero-note { order: 1; margin: 16px 0 0; }
  .swap { order: 2; margin-top: 16px; }
  .hero-visual { margin-top: 18px; }
  .hero-visual .mock-phone { display: none; }
}
@media (max-width: 600px) and (scripting: enabled) {
  .hero-visual .demo-mount { min-height: calc(66.3cqi + 240px); }
  @container (max-width: 350px) {
    .hero-visual .demo-mount { min-height: calc(66.3cqi + 262px); }
  }
}
@media (max-width: 359px) {
  .hero h1 { font-size: 1.95rem; }
}

/* ---------- streaming panel compatibility ---------- */
.panel-compatibility { background: var(--paper-2); }
.panel-compatibility-card {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); align-items: center;
  gap: 24px clamp(24px, 4vw, 50px); padding: clamp(20px, 3vw, 40px);
  border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 12px 32px rgb(19 23 34 / 6%);
}
.panel-compatibility-intro h2 { margin: 0 0 .4em; font-size: clamp(1.8rem, 1.3rem + 1.65vw, 2.65rem); text-wrap: pretty; }
.panel-compatibility-intro p { margin: 0; max-width: 38ch; color: var(--ink-2); }
.panel-brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.panel-brands li { max-width: none; margin: 0; }
.panel-brand {
  display: grid; grid-template-rows: 64px 1fr; gap: 7px; height: 100%; padding: 6px;
  border: 1px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--ink); text-align: center;
}
.panel-brand-mark { display: grid; place-items: center; min-width: 0; padding: 7px; border-radius: 6px; background: var(--card); }
.panel-brand-mark--dark { background: var(--screen); }
.panel-brand-mark img { width: auto; height: auto; max-width: min(100%, 148px); max-height: 38px; object-fit: contain; }
.panel-brand-name { align-self: center; padding: 0 3px 4px; font-weight: 500; font-size: .875rem; line-height: 1.25; }
.panel-brand--playlist { border-color: #bbc9e3; background: #edf2fb; color: #223b69; text-decoration: none; }
.panel-brand--playlist:hover { border-color: #526b9a; text-decoration: underline; }
.panel-brand--playlist .panel-brand-mark { place-content: center; gap: 3px; background: #1b2b4b; color: #f0f5ff; }
.panel-brand--playlist .panel-brand-mark b { font: 700 1.65rem/1 var(--f-display); letter-spacing: .05em; }
.panel-format-caption { color: #c3d1ef; font: 500 .625rem/1.1 var(--f-text); letter-spacing: .13em; text-transform: uppercase; }
.panel-adaptation {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; grid-column: 1 / -1;
  padding: clamp(14px, 2vw, 22px); border-radius: 12px; background: var(--screen); color: var(--screen-ink);
}
.panel-adaptation-copy { min-width: 0; }
.panel-adaptation-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; margin-bottom: 5px; }
.panel-adaptation h3 { margin: 0; color: #fff; }
.panel-adaptation-free {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px;
  border: 1px solid #6ed8a1; border-radius: 999px; background: #132d25; color: #b8f4cf;
  font: 500 .8125rem/1.25 var(--f-text); white-space: nowrap;
}
.panel-adaptation-free .i { width: 14px; height: 14px; }
.panel-adaptation-dollar {
  display: inline-grid; place-items: center; flex: none; width: 1.3em; height: 1.3em;
  border: 1px solid currentColor; border-radius: 50%; line-height: 1;
}
.panel-adaptation p { margin: 0; color: var(--screen-ink-2); }
.panel-adaptation .btn { padding-inline: 14px; text-align: center; }
.panel-adaptation :focus-visible { outline-color: var(--focus-on-dark); }
@media (max-width: 1000px) {
  .panel-compatibility-card { grid-template-columns: minmax(0, 1fr); gap: 19px; }
}
@media (max-width: 580px) {
  .panel-compatibility-card { gap: 15px; padding: 14px; border-radius: 14px; }
  .panel-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .panel-brand { grid-template-rows: 54px 1fr; }
  .panel-brand-name { font-size: .8125rem; }
  .panel-brand-mark img { max-height: 34px; }
  .panel-adaptation h3 { font-size: 1.0625rem; }
  .panel-adaptation p { font-size: .9375rem; line-height: 1.45; }
  .panel-adaptation .btn { width: 100%; }
}

/* ---------- page heads (inner pages) ---------- */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 20ch; }
.page-head .lead { margin-bottom: 0; }
.page-head--legal h1 { max-width: none; }
.crumbs { margin: 0 0 14px; font-size: .9375rem; }
.updated { color: var(--ink-3); margin: 6px 0 0; }

/* product heads are screens: they show the app */
.product-head { padding: clamp(40px, 6vw, 84px) 0; }
.product-head-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.product-head h1 { font-size: clamp(2.3rem, 1.4rem + 3.2vw, 4rem); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.facts li { margin: 0; padding: 6px 12px; border: 1px solid var(--screen-line); border-radius: 999px; font-size: .875rem; color: var(--screen-ink); }
@media (max-width: 960px) { .product-head-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .page-head, .product-head { padding: 26px 0 32px; }
  .product-head-grid { gap: 20px; }
  .product-head .crumbs { margin-bottom: 8px; }
  .product-head .lead { font-size: 1.05rem; line-height: 1.5; }
  .product-head .facts { margin-top: 14px; gap: 6px; }
  .product-head .facts li { padding: 4px 9px; font-size: .8125rem; }
  .product-head .actions { gap: 8px; margin-top: 16px; }
  .product-head .actions .btn { padding: 6px 12px; }
}

/* ---------- platform row (home, products) ---------- */
.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.platforms--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.platforms > li { margin: 0; max-width: none; padding: 26px 24px 28px 0; display: flex; flex-direction: column; }
.platforms > li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.platforms .i { width: 40px; height: 40px; stroke-width: 1.3; color: var(--zox); margin-bottom: 18px; }
.platforms h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; line-height: 1.05; margin-bottom: .4em; }
.platforms p { color: var(--ink-2); font-size: 1rem; }
.platforms a.more { margin-top: auto; font-weight: 500; }
@media (max-width: 960px) {
  .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platforms > li:nth-child(3) { padding-left: 0; border-left: 0; }
  .platforms > li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .platforms { grid-template-columns: minmax(0, 1fr); }
  .platforms > li, .platforms > li + li { padding: 22px 0 24px; border-left: 0; }
  .platforms > li + li { border-top: 1px solid var(--line); }
}

/* ---------- steps (a real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); counter-reset: step; }
.steps > li { counter-increment: step; position: relative; margin: 0; max-width: none; padding: 64px 24px 0 0; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; font: 700 2.6rem/1 var(--f-display); color: var(--zox); }
.steps > li::after { content: ""; position: absolute; left: 44px; right: 16px; top: 21px; border-top: 2px dashed var(--line-2); }
.steps > li:last-child::after { display: none; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
.steps--3 > li:nth-child(3n)::after { display: none; }
.steps h3 { margin-bottom: .45em; }
.steps p { color: var(--ink-2); font-size: 1rem; margin: 0; }
@media (max-width: 900px) {
  .steps, .steps--3 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps--3 > li:nth-child(3n)::after { display: block; }
  .steps > li:last-child::after { display: none; }
  .steps > li { padding: 0 0 28px 64px; }
  .steps > li::after { left: 20px; top: 50px; bottom: 6px; right: auto; border-top: 0; border-left: 2px dashed var(--line-2); }
}

/* ---------- viewers / operator split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.split > div { padding: clamp(28px, 4vw, 48px); }
.split .screen { border-radius: 0; }
.split h3 { font-family: var(--f-display); font-size: 1.75rem; font-weight: 700; line-height: 1.05; }
.split > div > p { color: var(--ink-2); }
.split .screen > p { color: var(--screen-ink-2); }
.split .card-side { background: var(--card); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.ticks { list-style: none; margin: 18px 0 0; padding: 0; }
.ticks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; margin: 0; padding: 11px 0; border-top: 1px solid var(--line); max-width: none; }
.screen .ticks li { border-top-color: var(--screen-line); }
.ticks .i { width: 22px; height: 22px; color: var(--zox); margin-top: 1px; }
.screen .ticks .i { color: #ff8a8f; }
.ticks strong { display: block; }
.ticks span { color: var(--ink-2); font-size: .96875rem; }
.screen .ticks span { color: var(--screen-ink-2); }

/* ---------- software-only notice ---------- */
.only { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 28px; padding: clamp(24px, 3.5vw, 40px); background: var(--card); border: 2px solid var(--ink); border-left-width: 10px; border-left-color: var(--zox); }
.only .i { width: 56px; height: 56px; stroke-width: 1.3; color: var(--zox); }
.only h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin-bottom: .35em; }
.only p { margin: 0 0 .6em; color: var(--ink-2); max-width: 75ch; }
.only p:last-child { margin-bottom: 0; }
.only .only-key { color: var(--ink); font-weight: 500; }
@media (max-width: 600px) { .only { grid-template-columns: minmax(0, 1fr); border-left-width: 6px; } .only .i { width: 44px; height: 44px; } }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.screen { border-left: 0; }
.plan h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.9rem; line-height: 1; margin-bottom: .3em; }
.plan .for { color: var(--ink-2); font-size: 1rem; min-height: 3.2em; }
.plan.screen .for { color: var(--screen-ink-2); }
.plan.screen .price { color: #fff; }
.price { font: 700 clamp(2.4rem, 1.9rem + 1.6vw, 3.2rem)/1 var(--f-display); margin: 14px 0 4px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.price-note { font-size: .875rem; color: var(--ink-3); margin: 0 0 18px; }
.bundle-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 11px; }
.price-reference { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.price-reference s { text-decoration: line-through var(--zox); text-decoration-thickness: 2px; }
.plan.screen .price-reference { color: var(--screen-ink-2); }
.plan.screen .price-reference s { text-decoration-color: #ff8a8f; }
.plan .price-note { margin-bottom: 10px; }
.bundle-saving { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; margin: 0 0 15px; color: var(--ink-2); font-size: .875rem; }
.bundle-saving > strong { padding: 3px 8px; border-radius: 4px; background: var(--zox); color: #fff; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.plan.screen .bundle-saving { color: var(--screen-ink); }
.app-price-comparison { display: flex; gap: 12px; align-items: baseline; margin: 0 0 8px; }
.app-price-comparison > strong { color: var(--ink); font: 700 2rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.plan-saving { margin: -4px 0 16px; color: var(--zox-dark); font-size: .9375rem; }
.plan.screen .price-note { color: var(--screen-ink-2); }
.plan .ticks { margin: 0 0 24px; }
.plan .ticks li { padding: 8px 0; font-size: .96875rem; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.bundle-visual { height: 110px; display: flex; align-items: center; justify-content: center; margin: -4px 0 20px; border-radius: 10px; background: #f5f3f1; }
.bundle-visual img { width: auto; height: 94px; max-width: 100%; object-fit: contain; }
.plan.screen .bundle-visual { background: #242f48; }
.bundle-comparison { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; margin: -3px 0 16px; }
.bundle-comparison strong { padding: 3px 9px; border-radius: 12px; color: #842637; background: #f6e8e9; font-size: .9rem; }
.bundle-comparison span { color: var(--ink-3); font-size: .875rem; }
.plan.screen .bundle-comparison span { color: var(--screen-ink-2); }
.plan .btn { align-self: stretch; }
@media (max-width: 960px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .plan .for { min-height: 0; }
}

/* ---------- tables ---------- */
.table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
caption { text-align: left; padding: 16px 20px 0; font-weight: 500; color: var(--ink-2); }
th, td { text-align: left; vertical-align: top; padding: 14px 20px; border-top: 1px solid var(--line); }
thead th { border-top: 0; font-size: .875rem; font-weight: 500; color: var(--ink-3); }
tbody th { font-weight: 500; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td.num { font-weight: 500; }
td small { display: block; color: var(--ink-3); }
.pricelist td:nth-child(2) { color: var(--ink-2); }
@media (max-width: 700px) {
  .pricelist thead { display: none; }
  .pricelist tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 16px; border-top: 1px solid var(--line); }
  .pricelist tbody tr:first-child { border-top: 0; }
  .pricelist th, .pricelist td { padding: 0; border: 0; }
  .pricelist td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: .9375rem; }
}
.matrix { min-width: 640px; }
.matrix th:not(:first-child), .matrix td { text-align: center; width: 15%; }
.matrix tbody th { position: sticky; left: 0; background: var(--card); font-weight: 400; }
.matrix .i { color: var(--ok); width: 22px; height: 22px; }
.matrix .no .i { color: var(--line-2); }
.matrix tr.group th { background: var(--paper-2); font-weight: 500; color: var(--ink); text-align: left; }
@media (max-width: 700px) {
  .matrix { min-width: 0; table-layout: fixed; }
  .matrix :is(th, td) { padding: 11px 4px; line-height: 1.35; }
  .matrix th:not(:first-child), .matrix td { width: auto; }
  .matrix thead th:first-child { width: 41%; }
  .matrix tr > :first-child { padding-left: 10px; padding-right: 7px; }
  .matrix thead th:not(:first-child) { vertical-align: middle; font-size: .75rem; }
  .matrix tbody th { position: static; font-size: .875rem; overflow-wrap: anywhere; }
  .matrix td small { font-size: .75rem; line-height: 1.35; overflow-wrap: anywhere; }
  .matrix .i { width: 18px; height: 18px; }
}

/* ---------- feature groups ---------- */
.fgroup { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 5vw, 72px); padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.fgroup:first-of-type { border-top: 2px solid var(--ink); }
.fgroup h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.fgroup > div:first-child p { color: var(--ink-2); }
.flist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; list-style: none; margin: 0; padding: 0; }
.flist li { margin: 0; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; max-width: none; }
.flist .i { width: 26px; height: 26px; color: var(--zox); }
.flist h3 { font-size: 1.0625rem; margin: 0 0 .25em; }
.flist p { margin: 0; color: var(--ink-2); font-size: .96875rem; }
.where { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.where span { font-size: .75rem; line-height: 1; padding: 4px 7px; border-radius: 3px; background: var(--paper-2); color: var(--ink-2); }
@media (max-width: 900px) { .fgroup { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .flist { grid-template-columns: minmax(0, 1fr); } }

/* ---------- two-column text blocks ---------- */
.cols { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 28px clamp(28px, 4vw, 56px); }
.cols > * { min-width: 0; }
@media (max-width: 860px) { .cols { grid-template-columns: minmax(0, 1fr); } }
.boxed { padding: clamp(22px, 3vw, 32px); background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.boxed h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; line-height: 1.05; }
.boxed ul { margin-bottom: 0; }

.hosting .section-head { margin-bottom: clamp(18px, 2.8vw, 30px); }
.hosting .section-head p { margin-bottom: 0; }
.hosting-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hosting-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(16px, 2.7vw, 28px); }
.hosting-card--provided { border-color: #b6c4df; }
.hosting-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hosting-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 9px; background: var(--paper-2); color: var(--ink); }
.hosting-card--provided .hosting-icon { background: var(--screen); color: var(--screen-ink); }
.hosting-card-head h3 { margin: 0 0 4px; }
.hosting-card-head div > span { display: block; color: var(--ink-3); font-size: .875rem; line-height: 1.35; }
.hosting-card p { margin: 0 0 16px; max-width: 52ch; color: var(--ink-2); }
.hosting-card .hosting-rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 6px; margin-bottom: 12px; font-size: .9375rem; }
.hosting-rate-previous { flex-basis: 100%; color: var(--ink-3); font-size: .875rem; }
.hosting-rate strong { color: var(--ink); font: 700 clamp(2.15rem, 3.8vw, 3rem)/1 var(--f-display); }
.hosting-card .btn { margin-top: auto; }
.hosting-quote-amount { padding-inline-start: .55em; border-inline-start: 1px solid rgb(255 255 255 / 55%); font-size: .875em; white-space: nowrap; }
.hosting-note { margin: 14px 0 0; color: var(--ink-3); font-size: .9375rem; }
@media (max-width: 660px) {
  .hosting-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hosting-card .btn { min-height: 44px; text-align: center; }
}
.next-steps { margin-bottom: 32px; }
.next-steps h2 { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; line-height: 1.05; }
.next-steps ol { margin-bottom: 0; }
.next-steps li + li { margin-top: .6em; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { padding: 10px 0; border-top: 1px solid var(--line); margin: 0; max-width: none; }
.plain-list li:first-child { border-top: 0; padding-top: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: center; padding: 20px 0; font-weight: 500; font-size: 1.125rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-2); background:
  linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
  linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat; }
.faq details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat; border-color: var(--ink); }
.faq summary:hover { color: var(--zox-dark); }
.faq .answer { padding: 0 44px 22px 0; color: var(--ink-2); }
.faq .answer p:last-child, .faq .answer ul:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }

/* ---------- CTA band ---------- */
.cta { padding: clamp(48px, 6vw, 80px) 0; }
.cta-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; }
@media (max-width: 760px) { .cta-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- contact ---------- */
.channel-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.channel-list[hidden] { display: none; }
.channel-list li { margin: 0; max-width: none; }
.channel-card { display: flex; align-items: center; gap: 12px; min-height: 82px; padding: 16px; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.channel-card img { flex: 0 0 36px; object-fit: contain; }
.channel-card strong, .channel-card small { display: block; }
.channel-card small { font-size: .875rem; color: var(--ink-3); }
a.channel-card small { color: var(--zox-dark); }
a.channel-card:hover, a.channel-card:focus-visible { border-color: var(--zox); background: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.form { display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 600px) { .form .row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .form legend { font-weight: 500; font-size: .96875rem; }
.field .hint { font-size: .875rem; color: var(--ink-3); }
input[type="text"], input[type="email"], select, textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--card); color: var(--ink); font: 400 1rem/1.4 var(--f-text); }
textarea { min-height: 150px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; margin-top: 8px; }
@media (max-width: 600px) { .checks { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--zox); flex: none; }
.form-note { font-size: .9375rem; color: var(--ink-3); margin: 0; }
@media (max-width: 600px) {
  .form, .form .row { gap: 15px; }
  .form h2 { margin-bottom: .15em; }
  .checks { gap: 0; }
  .check { min-height: 44px; align-items: center; padding: 4px 0; }
  .form > div > .btn:only-child { width: 100%; }
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); margin: 0; max-width: none; }
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list .i { color: var(--zox); width: 24px; height: 24px; }
.contact-list strong { display: block; }
.contact-list a { word-break: break-word; }

/* ---------- legal ---------- */
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-top: 40px; padding-bottom: 40px; align-items: start; }
.legal-toc { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 8px; }
.legal-toc h2 { font: 500 .875rem/1.3 var(--f-text); color: var(--ink-3); margin: 0 0 10px; letter-spacing: 0; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; font-size: .9375rem; }
.legal-toc li { margin: 0; }
.legal-toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.legal-toc a:hover { color: var(--zox-dark); border-left-color: var(--zox); }
.legal-text { max-width: 74ch; }
.legal-text h2 { font-size: 1.6rem; margin: 2.2em 0 .6em; padding-top: .4em; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 { font-size: 1.0625rem; margin: 1.6em 0 .5em; }
.legal-text p, .legal-text li { color: var(--ink); max-width: none; }
.legal-text a { overflow-wrap: anywhere; }
.legal-text .summary { padding: 18px 22px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--zox); margin-bottom: 2em; }
.legal-text .summary p:last-child { margin-bottom: 0; }
.legal-text dl { display: grid; grid-template-columns: minmax(140px, max-content) minmax(0, 1fr); gap: 10px 24px; margin: 0 0 1.5em; }
.legal-text dt { font-weight: 500; }
.legal-text dd { margin: 0; }
.legal-more { padding-bottom: var(--step); }
.legal-more h2 { font-size: 1.6rem; padding-top: 40px; border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; max-height: none; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
}
@media (max-width: 560px) { .legal-text dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .legal-text dd { margin-bottom: 10px; } }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.doc-list li { margin: 0; max-width: none; }
.doc-list a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; height: 100%; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); }
.doc-list a:hover { border-color: var(--zox); }
.doc-list .i { color: var(--zox); width: 24px; height: 24px; }
.doc-list strong { display: block; margin-bottom: 2px; }
.doc-list small { display: block; color: var(--ink-2); font-size: .9375rem; line-height: 1.45; }
@media (max-width: 900px) { .doc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .doc-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.site-footer { background: var(--screen); color: var(--screen-ink-2); padding: 48px 0 32px; font-size: .9375rem; border-top: 1px solid var(--screen-line); }
.site-footer a { color: var(--screen-ink); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-notice { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 22px; border: 1px solid var(--screen-line); border-left: 6px solid var(--zox); border-radius: 4px; margin-bottom: 44px; }
.footer-notice .i { width: 36px; height: 36px; color: #ff8a8f; stroke-width: 1.3; }
.footer-notice p { margin: 0; max-width: 110ch; color: var(--screen-ink); }
.footer-notice strong { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand .logo {
  --brand-logo-width: 194px;
  --brand-logo-height: 36px;
  margin-bottom: 14px;
}
.footer-brand p { max-width: 36ch; }
.site-footer h2 { font: 500 .9375rem/1.3 var(--f-text); color: #fff; margin: 0 0 12px; letter-spacing: 0; }
.site-footer li { margin: 0; padding: 2px 0; }
.site-footer li a { display: inline-block; padding: 3px 0; }
.footer-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--screen-line); display: grid; gap: 6px; font-size: .875rem; }
.footer-base p { margin: 0; max-width: none; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) {
  .site-footer { padding-top: 32px; }
  .footer-notice { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; margin-bottom: 28px; padding: 14px 12px; }
  .footer-notice .i { width: 24px; height: 24px; }
  .footer-grid { gap: 20px 14px; }
  .footer-grid nav:last-child { grid-column: 1 / -1; }
  .footer-grid nav:last-child ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .site-footer li a { padding-block: 6px; line-height: 1.4; overflow-wrap: anywhere; }
  .footer-base { margin-top: 26px; }
}

/* ---------- 404 ---------- */
.notfound { padding: var(--step) 0; }
.notfound .cols { margin-top: 24px; }
.notfound-links { margin-top: 24px; color: var(--ink-2); }

/* ---------- interactive demo areas (the demos themselves live in css/demo/) ---------- */
.demo-band .section-head { max-width: 860px; }
.demo-mount { min-width: 0; }
.demo-mount > .mock-phone { max-width: 880px; margin: 0 auto; }
.demo-stage > .demo-mount + .demo-mount { margin-top: 32px; }
.demo-stage .demo-mount > .mock-tv, .demo-stage .demo-mount > .mock-windows { max-width: 960px; margin: 0 auto; }

/* ==========================================================================
   App mock-ups. Each scales like an image: sizes inside are in em, and the
   em is tied to the mock-up's own width (container query units).
   ========================================================================== */
.mock { margin: 0; container-type: inline-size; --brand-2: color-mix(in oklab, var(--brand) 55%, #0b1020); }
.mock * { box-sizing: border-box; }
.ui { position: relative; overflow: hidden; color: #eef1f8; font-family: var(--f-text); line-height: 1.25; background:
  radial-gradient(80% 60% at 100% 0%, color-mix(in oklab, var(--brand) 26%, transparent), transparent 70%),
  linear-gradient(160deg, #141b31, #0b1020 70%); }
.ui .i { width: 1.6em; height: 1.6em; stroke-width: 1.5; vertical-align: middle; }
.ui-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; letter-spacing: .01em; }
.ui-glyph { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: .45em; background: var(--brand); color: #fff; flex: none; }
.ui-glyph::before { content: ""; width: 0; height: 0; border-left: .62em solid #fff; border-top: .38em solid transparent; border-bottom: .38em solid transparent; margin-left: .14em; }
.pic { position: relative; overflow: hidden; background:
  radial-gradient(circle at 72% 34%, #ffd7a1 0 7%, #ffb36b 7.5% 9%, transparent 9.5%),
  linear-gradient(180deg, #253a73 0%, #6a4a8c 38%, #d9707f 62%, #f5a764 78%, #2a2342 78.5%, #1a1630 100%); }
.pic::before { content: ""; position: absolute; inset: auto 0 0 0; height: 48%; background: #1d1a33; clip-path: polygon(0 55%, 14% 30%, 27% 50%, 42% 12%, 58% 46%, 70% 28%, 84% 52%, 100% 32%, 100% 100%, 0 100%); }
.pic::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: #13112a; clip-path: polygon(0 60%, 18% 35%, 36% 62%, 55% 30%, 74% 58%, 90% 40%, 100% 55%, 100% 100%, 0 100%); }
.pic--b { background:
  radial-gradient(circle at 30% 30%, #b9f3ff 0 6%, transparent 6.5%),
  linear-gradient(180deg, #0f3d5c 0%, #1f7a8c 45%, #73c3b5 70%, #0e2c3c 70.5%, #0a1f2c 100%); }
.pic--c { background:
  radial-gradient(circle at 50% 120%, #ff9e6b 0 30%, transparent 31%),
  linear-gradient(180deg, #2b1a4f 0%, #6b2d6e 50%, #c2456b 100%); }
.pic--c::before, .pic--c::after { opacity: .85; }

/* TV: the real app's home screen on a modern set (the interactive demo in css/demo/10-android.css draws the same) */
.mock-tv .tv { padding: .3em; font-size: 1.62cqw; border-radius: .36em; background: linear-gradient(#26292f, #070809 7%, #070809 93%, #1d2025); box-shadow: 0 0 0 1px #30343c, 0 3cqw 6cqw rgba(0,0,0,.45); }
.tv-stand { position: relative; width: 30%; height: 3cqw; margin: 0 auto; }
.tv-stand::before, .tv-stand::after { content: ""; position: absolute; }
.tv-stand::before { inset: 0 46.5% .4cqw; background: linear-gradient(90deg, #111317, #3d424c 50%, #111317); }
.tv-stand::after { inset: auto 0 0; height: .42cqw; border-radius: .3cqw; background: linear-gradient(#5b616c, #1b1e23); box-shadow: 0 .5cqw 1.2cqw rgba(0,0,0,.35); }
.mock-tv .ui { aspect-ratio: 16 / 9; display: grid; grid-template-rows: 144fr 264fr 132fr; padding: 0 1.15em 0 1.78em; border-radius: .1em; background: radial-gradient(42% 60% at 82% 16%, rgba(255,255,255,.07), transparent 70%),
  radial-gradient(50% 55% at 10% 90%, color-mix(in oklab, var(--brand) 13%, transparent), transparent 72%), linear-gradient(172deg, #1b1c21, #0f1013 52%, #060607); }
.mock-tv small { font-size: inherit; }
.mock-tv .i { stroke-width: 2; }
.tv-hh { display: flex; align-items: center; min-width: 0; padding: 1.15em .3em 0 1.1em; }
.tv-logo { flex: none; display: flex; align-items: center; gap: .45em; min-width: 0; max-width: 12.5em; }
.tv-logo .ui-glyph { font-size: 1.3em; }
.tv-logo b { overflow: hidden; font: 700 1.3em/1.1 var(--f-display); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }
.tv-when { flex: none; display: grid; gap: .15em; margin-left: .9em; padding: .1em 0 .1em .95em; border-left: 1px solid rgba(255,255,255,.6); line-height: 1.1; white-space: nowrap; }
.tv-when b { font-size: 1.2em; font-weight: 400; }
.tv-when small { font-size: .84em; }
.tv-ms { flex: 0 1 12.3em; display: flex; align-items: center; gap: .75em; min-width: 0; height: 2.05em; margin-left: 2.6em; padding: 0 1em; border-radius: 99em; background: rgba(0,0,0,.3); box-shadow: inset 0 0 0 .09em rgba(255,255,255,.3); white-space: nowrap; font-size: .96em; }
.mock-tv .tv-ms .i { width: 1.25em; height: 1.25em; }
.tv-grow { flex: 1; }
.tv-hi { position: relative; flex: none; display: grid; place-items: center; width: 3.1em; height: 3.1em; margin-left: .4em; }
.mock-tv .tv-hi .i { width: 2.1em; height: 2.1em; }
.tv-fill .i { fill: currentColor; }
.tv-dot { width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--ok); }
.tv-hi > span { position: absolute; top: 100%; left: 50%; margin-top: -.35em; font: 700 .86em/1 var(--f-display); text-transform: uppercase; white-space: nowrap; transform: translateX(-50%); }
.tv-hb { display: grid; grid-template-columns: 323fr 583fr; gap: .51em; min-height: 0; }
.tv-hr { display: grid; grid-template-rows: 193fr 60fr; gap: .7em; min-width: 0; min-height: 0; }
.tv-hr1, .tv-hr2 { display: flex; gap: .64em; min-height: 0; }
.tv-hr1 > * { flex: 279 1 0; }
.tv-hr1 > .tv-hc--series { flex-grow: 294; }
.tv-hr2 > * { flex: 1 1 0; }
.tv-hc { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; border-radius: .45em; background: #141518; box-shadow: 0 0 0 .1em color-mix(in oklab, var(--brand) 32%, #2a2b30); }
.tv-hc.is-focus { box-shadow: 0 0 0 .2em #fff; }
.tv-hs { flex: none; display: flex; align-items: center; justify-content: space-between; gap: .5em; height: 2.67em; padding: 0 .55em 0 .85em; background: color-mix(in oklab, var(--brand) 18%, #151417); }
.tv-hs > span { display: grid; gap: .1em; min-width: 0; line-height: 1.2; }
.tv-hs b, .tv-hs small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tv-hs b { font-size: .95em; font-weight: 700; }
.tv-hs small { display: flex; align-items: center; gap: .3em; font-size: .82em; }
.mock-tv .tv-hs small .i { width: 1.15em; height: 1.15em; }
.tv-hs > i { flex: none; display: grid; place-items: center; width: 2.2em; height: 1.6em; border-radius: .28em; background: #fff; color: #16181c; }
.mock-tv .tv-hs > i .i { width: 1.1em; height: 1.1em; stroke-width: 2.4; }
.tv-ha { position: relative; flex: 1; display: block; min-height: 0; overflow: hidden; }
.tv-hc:not(.is-focus) .tv-ha { filter: brightness(.74); }
.tv-hl { flex: none; overflow: hidden; padding: 0 .3em; color: #9b9da4; font: 700 1.53em/1.42 var(--f-display); text-align: center; text-transform: uppercase; white-space: nowrap; }
.tv-hc--live .tv-hl { font-size: 1.97em; line-height: 1.49; }
.tv-hc.is-focus .tv-hl { background: #fff; color: #141518; }
.tv-ha--mov { background: radial-gradient(50% 70% at 50% 105%, color-mix(in oklab, var(--brand) 45%, transparent), transparent),
  repeating-linear-gradient(90deg, rgba(0,0,0,.42), rgba(255,255,255,.05) .7em, rgba(0,0,0,.42) 1.4em), linear-gradient(color-mix(in oklab, var(--brand) 40%, #1a0c10), #0b0607); }
.tv-ha--mov::before, .tv-ha--mov::after { content: ""; position: absolute; left: 22%; width: 50%; border-radius: .14em; }
.tv-ha--mov::before { z-index: 1; top: 17%; height: 12%; background: repeating-linear-gradient(-60deg, #ececef 0 .75em, #1c1d22 .75em 1.5em); transform: rotate(-10deg); transform-origin: 0 100%; }
.tv-ha--mov::after { top: 30%; height: 52%; background: linear-gradient(#2a2b31, #131418); box-shadow: 0 .4em 1em rgba(0,0,0,.5); }
.tv-ha--mov > i { position: absolute; z-index: 1; right: 15%; bottom: 5%; width: 27%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #101114 9%, transparent 10%), radial-gradient(circle at 50% 24%, #101114 11%, transparent 12%), radial-gradient(circle at 50% 76%, #101114 11%, transparent 12%),
  radial-gradient(circle at 24% 50%, #101114 11%, transparent 12%), radial-gradient(circle at 76% 50%, #101114 11%, transparent 12%), radial-gradient(circle, #6a6e78 58%, #3a3d45 59% 68%, #1d1f24 69%); }
.tv-ha--ser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 6%; background: #0b0c0f; }
.tv-ha--ser > .pic { opacity: .72; }
.tv-hp { position: absolute; top: 38%; left: 50%; display: grid; place-items: center; width: 2.5em; height: 2.5em; border-radius: 50%; background: rgba(0,0,0,.5); transform: translate(-50%, -50%); }
.mock-tv .tv-hp .i { width: 1.3em; height: 1.3em; margin-left: .15em; fill: #fff; stroke: none; }
.tv-ha--ser > em { position: absolute; top: 60%; left: 0; right: 0; color: rgba(255,255,255,.55); font: 700 .95em/1 var(--f-display); text-align: center; text-transform: uppercase; }
.tv-heps { position: absolute; inset: auto 6% 0; display: flex; justify-content: space-around; padding: .55em 0 .5em; background: rgba(8,9,11,.72); color: rgba(255,255,255,.5); font: 700 .74em/1 var(--f-display); text-transform: uppercase; white-space: nowrap; }
.tv-heps > :nth-child(2) { color: rgba(255,255,255,.82); text-decoration: underline .16em var(--brand); text-underline-offset: .4em; }
.tv-hx { display: flex; align-items: center; justify-content: center; gap: .85em; min-width: 0; padding: 0 .6em; border-radius: .45em; background: #1c2024; box-shadow: inset 0 0 0 .1em #2d3238; font-size: 1.08em; text-transform: uppercase; white-space: nowrap; }
.mock-tv .tv-hx .i { width: 1.3em; height: 1.3em; }
.tv-hf { position: relative; display: flex; justify-content: center; padding-top: 1.6em; font-size: 1.15em; line-height: 1.3; white-space: nowrap; }
.tv-hf > :last-child { position: absolute; top: 1.4em; right: 1.4em; padding: .2em .55em; background: rgba(0,0,0,.6); font-size: .86em; }

/* phone: the same app's home screen on a phone held sideways (the real app runs in landscape only), by the app's phone
   layout: 853 x 384 dp, 1em is 16 dp (the interactive demo in css/demo/10-android.css draws the same). The device: a modern
   flagship on its side (camera hole on the left, keys on the top edge), slim metal frame (.22em), even black bezel (.52em)
   under one glass; its screen is the status bar, the app (20:9, 53.51em wide) and the gesture bar */
.mock-phone { isolation: isolate; }
.mock-phone .phone { position: relative; padding: .52em; border: .22em solid transparent; font-size: 1.8186cqw; border-radius: 3.4em;
  background: linear-gradient(#08090b 0 0) padding-box,
    radial-gradient(16em 1.1em at 30% 0, rgba(255,255,255,.8), transparent) border-box,
    radial-gradient(12em .9em at 72% 100%, rgba(255,255,255,.45), transparent) border-box,
    linear-gradient(90deg, transparent 9.3%, #2e3136 0 9.55%, transparent 0 90.45%, #2e3136 0 90.7%, transparent 0) border-box,
    linear-gradient(90deg, rgba(255,255,255,.3), transparent .14em calc(100% - .14em), rgba(255,255,255,.22)) border-box,
    linear-gradient(#dfe2e6, #a3a8af 3%, #6c7178 15%, #4d5158 50%, #5e636a 85%, #9fa4ab 97%, #cdd1d6) border-box;
  box-shadow: inset 0 0 0 .05em #000, 0 0 0 .04em rgba(0,0,0,.5), 0 .45em .8em -.2em rgba(0,0,0,.5), 0 1.6em 3em -.6em rgba(0,0,0,.55); }
.mock-phone .phone::before { content: ""; position: absolute; z-index: -1; top: -.42em; left: 21%; width: 26.5%; height: .7em; border-radius: .16em;
  background: linear-gradient(#f1f3f5, #b4b9bf 22%, #6f747b 55%, #4b4f55) 0 0 / 56.6% 100% no-repeat, linear-gradient(#f1f3f5, #b4b9bf 22%, #6f747b 55%, #4b4f55) 100% 0 / 28.3% 100% no-repeat; filter: drop-shadow(0 0 .03em rgba(0,0,0,.55)); }
.mock-phone .phone::after { content: ""; position: absolute; z-index: 3; inset: 0; border-radius: 3.18em; pointer-events: none;
  background: linear-gradient(112deg, rgba(255,255,255,.12), rgba(255,255,255,.04) 17%, transparent 29% 58%, rgba(255,255,255,.045) 70%, transparent 82%);
  box-shadow: inset 0 .07em .08em rgba(255,255,255,.1); }
.mock-phone .ph-screen { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 2.66em; background: linear-gradient(#111215 50%, #060607 0); box-shadow: 0 0 0 .05em rgba(255,255,255,.045); }
.mock-phone .ph-screen::before { content: ""; position: absolute; z-index: 2; top: 50%; left: .26em; width: .64em; height: .64em; margin-top: -.32em; border-radius: 50%; box-shadow: 0 0 0 .045em #000;
  background: radial-gradient(circle at 38% 36%, rgba(160,180,240,.55) 0 .04em, transparent .1em), radial-gradient(circle, #141826 0 .12em, #232a3d .15em .18em, #030304 .22em); }
.mock-phone .ph-screen::after { content: ""; flex: none; align-self: center; width: 7.2em; height: .2em; margin: .35em 0; border-radius: 1em; background: rgba(255,255,255,.6); }
.mock-phone .ph-status { flex: none; display: flex; align-items: center; justify-content: space-between; height: 1.75em; padding: 0 2em 0 2.2em; color: #fff; font: 500 .8em/1 var(--f-text); }
.mock-phone .ph-status i { display: flex; align-items: center; background: linear-gradient(#fff 0 0) 1.4em calc(100% - .05em) / .16em .27em, linear-gradient(#fff 0 0) 1.66em calc(100% - .05em) / .16em .45em,
  linear-gradient(#fff 0 0) 1.92em calc(100% - .05em) / .16em .63em, linear-gradient(rgba(255,255,255,.38) 0 0) 2.18em calc(100% - .05em) / .16em .81em; background-repeat: no-repeat; }
.mock-phone .ph-status i::before { content: ""; width: 1.1em; height: .82em; margin-right: 1.52em; clip-path: polygon(50% 100%, 0 33%, 0 0, 100% 0, 100% 33%); background: radial-gradient(circle .82em at 50% 100%, #fff 96%, transparent); }
.mock-phone .ph-status i::after { content: ""; width: .5em; height: .88em; border-radius: .1em; background: linear-gradient(rgba(255,255,255,.4) 0 24%, #fff 0); box-shadow: 0 -.2em 0 -.12em rgba(255,255,255,.4); }
.mock-phone .ph-model { position: absolute; right: 11%; bottom: 0; display: flex; align-items: center; height: .52em; color: rgba(210,215,225,.5); }
.mock-phone .ph-model span { font: 500 max(.44em, 6px)/1 var(--f-text); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
@container (max-width: 560px) { .mock-phone .ph-model { display: none; } }
.mock-phone .ui { flex: none; width: 100%; aspect-ratio: 20 / 9; display: grid; grid-template-rows: 84.3fr 209fr 90.8fr; padding: 0 1em; background: radial-gradient(42% 60% at 82% 16%, rgba(255,255,255,.07), transparent 70%),
  radial-gradient(50% 55% at 10% 90%, color-mix(in oklab, var(--brand) 13%, transparent), transparent 72%), linear-gradient(172deg, #1b1c21, #0f1013 52%, #060607); }
.mock-phone small { font-size: inherit; }
.mock-phone .i { stroke-width: 2; }
.mock-phone .tv-hh { padding: 0; margin: 0 -.44em 0 .125em; }
.mock-phone .tv-logo { max-width: 8em; gap: .4em; }
.mock-phone .tv-logo .ui-glyph, .mock-phone .tv-logo b { font-size: 1.05em; }
.mock-phone .tv-when { gap: 0; margin-left: .44em; padding: .05em 0 .05em .625em; }
.mock-phone .tv-when b { font-size: .875em; }
.mock-phone .tv-when small { font-size: .656em; }
.mock-phone .tv-ms { flex: 0 1 auto; gap: .44em; height: 2.75em; margin: 0 .5em 0 .375em; padding: 0 .75em 0 .625em; border-radius: 1.03em; font-size: 1em; }
.mock-phone .tv-ms .i { width: 1.1em; height: 1.1em; }
.mock-phone .tv-ms > span { font-size: .72em; }
.mock-phone .tv-hi { width: 3em; height: 3em; margin-left: 0; }
.mock-phone .tv-hi .i { width: 1.4em; height: 1.4em; }
.mock-phone .tv-dot { width: .95em; height: .95em; }
.mock-phone .tv-hi > span { margin-top: -1.45em; font-size: .6em; }
.mock-phone .tv-hb, .mock-phone .tv-hr1, .mock-phone .tv-hr2 { gap: .5em; }
.mock-phone .tv-hr { grid-template-rows: minmax(0, 1fr) 3em; gap: .5em; }
.mock-phone .tv-hc { border-radius: .625em; }
.mock-phone .tv-hs { height: 2.75em; padding: 0 .375em 0 .625em; }
.mock-phone .tv-hs b { font-size: .75em; }
.mock-phone .tv-hs small { font-size: .625em; }
.mock-phone .tv-hs small .i { width: 1.1em; height: 1.1em; }
.mock-phone .tv-hs > i { width: 1.75em; height: 1.31em; border-radius: .31em; }
.mock-phone .tv-hs > i .i { width: .85em; height: .85em; stroke-width: 2.4; }
.mock-phone .tv-hl { font-size: .9375em; line-height: 1.73; }
.mock-phone .tv-hc--live .tv-hl { font-size: 1.25em; line-height: 1.7; }
.mock-phone .tv-hp { width: 1.6em; height: 1.6em; }
.mock-phone .tv-hp .i { width: 1.3em; height: 1.3em; margin-left: .15em; fill: #fff; stroke: none; }
.mock-phone .tv-ha--ser > em { font-size: .6em; }
.mock-phone .tv-heps { padding: .35em 0 .32em; font-size: .47em; }
.mock-phone .tv-hx { gap: .6em; border-radius: .75em; font-size: .75em; }
.mock-phone .tv-hx .i { width: 1.6em; height: 1.6em; }
.mock-phone .tv-hf { padding-top: 1.65em; font-size: .8125em; }
.mock-phone .tv-hf > :last-child { top: 1.5em; right: .6em; font-size: .85em; }
.ch { display: grid; grid-template-columns: 2.1em minmax(0, 1fr); gap: .55em; align-items: center; padding: .45em .35em; border-radius: .45em; }
.ch.is-on { background: rgba(255,255,255,.08); }
.ch-logo { display: grid; place-items: center; height: 2.1em; border-radius: .4em; background: var(--c, #33405f); font: 700 .8em/1 var(--f-display); }
.ch b { display: block; font-size: .78em; font-weight: 500; }
.ch small { display: block; font-size: .64em; color: #aab3c9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar { display: block; height: .22em; border-radius: 1em; background: rgba(255,255,255,.14); margin-top: .3em; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--p, 40%); background: var(--brand); }

/* Windows app: the real home screen in a Windows window with its light title bar (the interactive demo in
   css/demo/20-windows.css draws the same). Every rule starts with .mw- or .mock-windows. */
.mw-win { border-radius: .5cqw; overflow: hidden; background: #08090b; box-shadow: 0 0 0 1px #2a3350, 0 3cqw 6cqw rgba(0,0,0,.4); }
.mw-bar { display: flex; align-items: center; gap: .55em; height: 2.1em; padding-left: .8em; background: #fff; color: #1a1a1a; font-size: 1.3cqw; }
.mw-bar .ui-glyph { width: 1.3em; height: 1.3em; }
.mw-ctrl { display: flex; height: 100%; margin-left: auto; }
.mw-ctrl i { display: grid; place-items: center; width: 3.2em; }
.mw-ctrl i::before { content: ""; width: .8em; height: .8em; border: 1px solid #2b2b2b; }
.mw-ctrl i:first-child::before { height: 0; border-width: 1px 0 0; }
.mw-ctrl i:last-child::before { border: 0; width: .9em; height: .9em; background: linear-gradient(45deg, transparent 46%, #2b2b2b 46% 54%, transparent 54%), linear-gradient(-45deg, transparent 46%, #2b2b2b 46% 54%, transparent 54%); }
.mock-windows .ui, .mock-web .ui { line-height: 1.25; color: #fff; background: radial-gradient(34% 52% at 82% 24%, rgba(205,212,228,.13), transparent 72%), radial-gradient(40% 40% at 8% 92%, rgba(150,118,96,.1), transparent 70%), linear-gradient(168deg, #16181c, #0b0d10 52%, #070809); }
.mock-windows .ui { aspect-ratio: 16 / 9.6; display: flex; flex-direction: column; gap: 1em; padding: 1.1em 1.8em .9em; font-size: 1.55cqw; }
.mock-windows .i, .mock-web .i { stroke-width: 2; }
.mock-windows small, .mock-web small { font-size: .82em; }
.mw-hh { flex: none; display: flex; align-items: center; gap: 1.1em; height: 5em; }
.mw-logo, .mb-logo { position: relative; flex: none; display: inline-flex; align-items: center; gap: .4em; min-width: 0; max-width: 12em; font: 800 1.5em/1 var(--f-display); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.mw-logo { padding-bottom: .5em; }
.mw-logo b, .mb-logo b { overflow: hidden; text-overflow: ellipsis; }
.mw-logo::after { content: ""; position: absolute; left: 32%; bottom: 0; width: 36%; height: .13em; background: var(--brand); }
.mw-when { display: flex; flex-direction: column; gap: .2em; padding-left: .9em; border-left: 1px solid rgba(255,255,255,.4); white-space: nowrap; }
.mw-when b { font-size: 1.55em; font-weight: 300; }
.mw-when small { font-weight: 500; }
.mw-ms { flex: 0 1 11em; display: flex; align-items: center; gap: .55em; min-width: 0; height: 2.6em; padding: 0 1em; border: 1px solid #3e4144; border-radius: 2em; background: rgba(20,22,24,.9); white-space: nowrap; overflow: hidden; }
.mock-windows .mw-ms .i { flex: none; width: 1.25em; height: 1.25em; }
.mw-grow, .mb-grow { flex: 1; }
.mw-hi { position: relative; flex: none; display: grid; place-items: center; width: 2.9em; height: 2.9em; }
.mock-windows .mw-hi .i { width: 1.6em; height: 1.6em; }
.mock-windows .mw-fill .i { fill: currentColor; }
.mw-hi > span { position: absolute; top: 100%; left: 50%; margin-top: .5em; transform: translateX(-50%); font: 700 .8em/1 var(--f-display); text-transform: uppercase; }
.mw-dot { width: 1.3em; height: 1.3em; border-radius: 50%; background: #4cf25e; }
.mw-hb { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr); gap: .85em; min-height: 0; }
.mw-hr { display: flex; flex-direction: column; gap: .85em; min-width: 0; min-height: 0; }
.mw-hr1, .mw-hr2 { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .85em; }
.mw-hr1 { flex: 1; min-height: 0; }
.mw-hr2 { flex: none; height: 4.2em; }
.mw-card { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; border: .14em solid color-mix(in srgb, var(--brand) 32%, #2b2e33); border-radius: .55em; background: #0f1216; }
.mw-card.is-focus { border-color: #fff; }
.mw-strip { flex: none; display: flex; align-items: center; gap: .6em; padding: .45em .6em .45em .85em; border-bottom: 1px solid #5a4d4b; background: linear-gradient(color-mix(in srgb, var(--brand) 16%, #1b1214), #22191c); }
.mw-strip > span { flex: 1; display: flex; flex-direction: column; gap: .2em; min-width: 0; white-space: nowrap; }
.mw-strip b { font-size: 1.05em; overflow: hidden; text-overflow: ellipsis; }
.mw-strip small { color: #ececec; overflow: hidden; text-overflow: ellipsis; }
.mw-strip > i { flex: none; display: grid; place-items: center; width: 2.3em; height: 1.95em; border-radius: .3em; background: #fff; color: #1d1d1d; }
.mock-windows .mw-strip > i .i { width: 1.25em; height: 1.25em; stroke-width: 2.2; }
.mw-art { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.mw-lbl { flex: none; padding: .42em .3em .38em; background: #0f1216; font: 800 1.6em/1 var(--f-display); text-align: center; text-transform: uppercase; white-space: nowrap; }
.mw-card--live .mw-lbl { padding: .5em .3em; font-size: 2.15em; }
.mw-card.is-focus .mw-lbl { background: #fff; color: #111; }
.mw-art--mov { background: radial-gradient(40% 90% at 0 35%, #8f0f15, transparent 72%), radial-gradient(40% 90% at 100% 35%, #8f0f15, transparent 72%), repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 .5em, transparent .5em 1.1em), linear-gradient(#3a0a0d, #150405); }
.mw-art--mov i:first-child { position: absolute; left: 34%; top: 34%; width: 40%; height: 44%; border-radius: .25em; background: linear-gradient(#262626 0 30%, #0d0d0d 30%); box-shadow: 0 .4em .9em rgba(0,0,0,.6); }
.mw-art--mov i:first-child::before { content: ""; position: absolute; left: -3%; right: -3%; top: -27%; height: 25%; border-radius: .15em; background: repeating-linear-gradient(115deg, #f1f1f1 0 .8em, #1e1e1e .8em 1.6em); transform: rotate(-9deg); transform-origin: 0 100%; }
.mw-art--mov i:last-child { position: absolute; left: 9%; bottom: 0; width: 20%; height: 58%; clip-path: polygon(0 0, 100% 0, 100% 24%, 88% 100%, 12% 100%, 0 24%); background: radial-gradient(circle at 18% 14%, #ffe8a3 0 13%, transparent 14%), radial-gradient(circle at 48% 8%, #fff3c9 0 14%, transparent 15%), radial-gradient(circle at 80% 14%, #ffe8a3 0 13%, transparent 14%), repeating-linear-gradient(90deg, #d71d25 0 .5em, #f3f3f3 .5em 1em) 0 100% / 100% 76% no-repeat; }
.mw-art--mov::after { content: ""; position: absolute; right: 7%; bottom: 6%; width: 27%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 28%, #111 0 10%, transparent 11%), radial-gradient(circle at 28% 62%, #111 0 10%, transparent 11%), radial-gradient(circle at 72% 62%, #111 0 10%, transparent 11%), radial-gradient(circle, #d6d6d6 0 12%, #5d5d5d 13% 62%, #cfcfcf 63% 70%, #2c2c2c 71%); }
.mw-art--ser { display: flex; }
.mw-art--ser > i { flex: 1; }
.mw-art--ser > i:nth-child(2) { flex: 1.7; }
.mw-hp { position: absolute; left: 50%; top: 36%; display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: rgba(12,12,12,.85); box-shadow: 0 0 0 .14em color-mix(in srgb, var(--brand) 80%, #000); transform: translate(-50%, -50%); }
.mock-windows .mw-hp .i { width: 1.25em; height: 1.25em; margin-left: .15em; fill: #fff; stroke: none; }
.mw-art--ser em { position: absolute; left: 0; right: 0; top: 58%; color: #f2f2f2; font: 800 .95em/1 var(--f-display); font-style: normal; text-align: center; text-transform: uppercase; text-shadow: 0 1px 3px #000; }
.mw-eps { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: .5em .2em .55em; background: linear-gradient(transparent, rgba(0,0,0,.88) 40%); font: 700 .75em/1 var(--f-display); text-transform: uppercase; white-space: nowrap; }
.mw-eps span:nth-child(2) { box-shadow: 0 .35em 0 -.12em var(--brand); }
.mw-hx { display: flex; align-items: center; justify-content: center; gap: .6em; min-width: 0; padding: 0 .6em; border: .1em solid #3a3d41; border-radius: .45em; background: linear-gradient(#1d2227, #13181b); font-size: 1.12em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.mock-windows .mw-hx .i { flex: none; width: 1.35em; height: 1.35em; }
.mw-hf { flex: none; display: flex; align-items: center; gap: 1.2em; }
.mw-ip { display: flex; align-items: center; gap: .65em; height: 3.3em; padding: 0 1.1em 0 .95em; border: .14em solid var(--brand); border-radius: 2em; background: rgba(14,4,6,.55); box-shadow: 0 0 .8em color-mix(in srgb, var(--brand) 55%, transparent); white-space: nowrap; }
.mock-windows .mw-ip > .i { width: 1.8em; height: 1.8em; color: color-mix(in srgb, var(--brand) 65%, #fff); }
.mw-ip span { display: flex; flex-direction: column; gap: .1em; }
.mw-ip b { font-size: 1.12em; }
.mw-ip .mw-ipv { flex-direction: row; align-items: center; gap: .45em; margin-left: .15em; padding-left: .75em; border-left: 1px solid rgba(255,255,255,.3); }
.mock-windows .mw-ipv .i { width: 1.45em; height: 1.45em; }
.mw-exp { flex: 1; text-align: center; font-size: 1.2em; }
.mw-ver { font-size: 1.2em; }

/* browser window (web player, control panel) */
.browser { border-radius: .9cqw; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(20,30,60,.18), 0 3cqw 6cqw rgba(10,20,50,.28); }
.screen .browser { box-shadow: 0 0 0 1px #2a3350, 0 3cqw 6cqw rgba(0,0,0,.45); }
.br-bar { display: flex; align-items: center; gap: .8em; height: 2.6em; padding: 0 1em; background: #dfe3ea; font-size: 1.3cqw; color: #3a4252; }
.br-dots { display: flex; gap: .45em; }
.br-dots i { width: .75em; height: .75em; border-radius: 50%; background: #b9c0cd; }
.br-url { flex: 1; max-width: 26em; margin: 0 auto; padding: .3em .9em; border-radius: 99em; background: #fff; color: #4a5263; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-url::before { content: ""; display: inline-block; width: .55em; height: .65em; margin-right: .5em; border: 1.5px solid #6b7385; border-radius: .12em; vertical-align: -.05em; }
.mock-web .ui { aspect-ratio: 16 / 9.4; display: flex; flex-direction: column; font-size: 1.55cqw; }
/* web player: the real Live TV screen (categories, channel list, player with its bar, programmes); every rule
   starts with .mb- or .mock-web; the interactive demo is css/demo/20-windows.css */
.mb-top { flex: none; display: flex; align-items: center; gap: .8em; height: 4.4em; padding: 0 1.4em 0 .7em; }
.mb-back { display: grid; place-items: center; width: 2.4em; height: 2.4em; }
.mock-web .mb-back .i { width: 1.45em; height: 1.45em; }
.mb-logo { font-size: 1.2em; }
.mb-tt { padding-left: .6em; border-left: .1em solid #fff; font-size: 1.4em; line-height: 1.05; text-transform: uppercase; white-space: nowrap; }
.mb-when { display: flex; align-items: baseline; gap: .6em; white-space: nowrap; }
.mb-when b { font-size: 1.9em; font-weight: 400; }
.mb-when small { font-size: 1em; color: #c4c4c4; }
.mb-cols { flex: 1; display: grid; grid-template-columns: minmax(0, 16fr) minmax(0, 24fr) minmax(0, 60fr); min-height: 0; overflow: hidden; }
.mb-cats { display: flex; flex-direction: column; background: rgba(0,0,0,.9); font-size: .85em; }
.mb-q { display: flex; align-items: center; flex: none; height: 3.4em; padding: 0 1em; background: #1b1b1b; color: #918f8f; }
.mb-cat { display: flex; justify-content: space-between; align-items: center; flex: none; min-height: 2.95em; padding: 0 1em; border-bottom: 1px solid #1b1a1a; text-transform: uppercase; }
.mb-cat.is-on { background: #5b2e56; }
.mb-chs { display: flex; flex-direction: column; background: rgba(10,13,18,.82); font-size: .85em; }
.mb-in { display: flex; align-items: center; flex: none; height: 2.4em; margin: .5em .5em .4em; padding: 0 .7em; border: 1px solid #3e4144; border-radius: .3em; color: #918f8f; }
.mb-tools { display: flex; flex: none; gap: .4em; margin: 0 .5em .5em; }
.mb-sel, .mb-rf { display: flex; align-items: center; justify-content: space-between; height: 2.4em; padding: 0 .6em; border: 1px solid #3e4144; border-radius: .3em; white-space: nowrap; }
.mb-sel { flex: 1; }
.mb-rf { justify-content: center; width: 2.6em; padding: 0; }
.mock-web .mb-sel .i, .mock-web .mb-rf .i { width: 1.2em; height: 1.2em; }
.mb-ch { display: flex; align-items: center; flex: none; gap: .65em; min-height: 3.2em; padding: .3em .55em; border-bottom: 1px solid #1b1a1a; }
.mb-ch > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .12em; white-space: nowrap; }
.mb-ch.is-on { background: #a64c02; }
.mock-web .mb-ch > .i { width: 1.3em; height: 1.3em; fill: #fff; }
.mb-sq { flex: none; display: grid; place-items: center; width: 2.5em; aspect-ratio: 4 / 3; border-radius: .4em; background: var(--c); font: 700 .85em/1 var(--f-display); }
.mb-right { display: flex; flex-direction: column; gap: .45em; min-width: 0; padding: .6em 1em .6em .9em; }
.mb-wt { display: flex; justify-content: space-between; align-items: center; font-size: 1.1em; }
.mock-web .mb-wt .i { width: 1.3em; height: 1.3em; fill: #ff4f5e; stroke: #ff4f5e; }
.mb-player { position: relative; flex: none; aspect-ratio: 16 / 8.4; overflow: hidden; background: #000; }
.mb-player > .pic { position: absolute; inset: 0; }
.mb-osd { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6em .9em .5em; background: linear-gradient(transparent, rgba(0,0,0,.6) 30%, rgba(0,0,0,.86)); font-size: .8em; }
.mb-o1 { display: flex; align-items: center; gap: .9em; }
.mb-pp { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: rgba(255,255,255,.2); }
.mock-web .mb-pp .i, .mock-web .mb-o2 .i { width: 1.4em; height: 1.4em; }
.mb-oi { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .35em; white-space: nowrap; }
.mb-oi b { font-size: 1.15em; font-weight: 400; }
.mb-pr { display: block; height: .22em; background: rgba(112,105,105,.65); }
.mb-pr i { display: block; width: var(--p); height: 100%; background: #ffb21f; }
.mb-o2 { display: flex; justify-content: space-around; margin-top: .55em; }
.mb-h { margin-top: .3em; font-weight: 700; }
.mb-er { display: flex; flex-direction: column; gap: .3em; font-size: .85em; }
.mb-er > span { display: flex; gap: .6em; color: #2ea6e8; font-size: 1.05em; white-space: nowrap; }
.mb-er b { font-weight: 400; }
.mb-er small { color: #cfcfcf; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* control panel: a still of the real panel's Overview page in its dark theme (the live demo is css/demo/30-panel.*),
   with the live Overview's tiles and quick actions in its order. Sizes come from the real panel CSS, with 1em = its
   15px: a 1385px-wide browser window (the live demo's window on a wide screen: tiles three to a row, the four quick
   actions in one), and below a 480px-wide mock-up the panel's own narrow layout (menu behind the menu button) at
   600px. Every rule starts with .mock-panel. */
.mock-panel { --pn-bg: #0f1216; --pn-bg-2: #161b22; --pn-card: #1b222c; --pn-card-2: #202936; --pn-line: #2a3340; --pn-line-2: #364254;
  --pn-text: #e6edf3; --pn-text-2: #c4cfdb; --pn-muted: #8b98a8; --pn-accent: #fc8210; --pn-info: #4ea1ff; --pn-ok: #2fbf71;
  --pn-shadow: 0 1px 2px rgba(0,0,0,.35), 0 8px 24px rgba(0,0,0,.18); }
.mock-panel .browser { background: var(--pn-bg); }
.mock-panel .br-bar { background: #252b34; color: var(--pn-text-2); }
.mock-panel .br-dots i { background: #4b5666; }
.mock-panel .br-url { background: #11151b; color: var(--pn-text-2); }
.mock-panel .br-url::before { border-color: var(--pn-muted); }
.mock-panel .ui { aspect-ratio: 16 / 10.3; font-size: 1.083cqw; line-height: 1.5; display: grid; grid-template: 3.7333em minmax(0, 1fr) / 16.8em minmax(0, 1fr); background: var(--pn-bg); color: var(--pn-text); }
.mock-panel .pn-i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mock-panel .pn-top { grid-column: 1 / -1; display: flex; align-items: center; gap: .8em; min-width: 0; padding: 0 .9333em; background: var(--pn-bg-2); border-bottom: 1px solid var(--pn-line); white-space: nowrap; }
.mock-panel .pn-tog { display: inline-grid; place-items: center; flex: none; width: 2.6667em; height: 2.6667em; }
.mock-panel .pn-tog .pn-i { width: 1.4667em; height: 1.4667em; }
.mock-panel .pn-brand { display: inline-flex; align-items: center; gap: .5em; min-width: 0; font-size: 1.0667em; font-weight: 700; letter-spacing: -.01em; }
.mock-panel .pn-brand span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mock-panel .pn-cp { flex: none; color: var(--pn-accent); font-weight: 600; }
.mock-panel .pn-status { flex: 1; display: flex; min-width: 0; overflow: hidden; }
.mock-panel .pn-pill { display: inline-flex; align-items: center; gap: .5385em; min-height: 2.4615em; padding: .3077em .9231em; border: 1px solid var(--pn-line-2); border-radius: 99em; background: var(--pn-card); font-size: .8667em; font-weight: 600; }
.mock-panel .pn-pill::before { content: ""; flex: none; width: .6154em; height: .6154em; border-radius: 50%; background: #0ca30c; }
.mock-panel .pn-theme { display: inline-flex; flex: none; overflow: hidden; border: 1px solid var(--pn-line-2); border-radius: .6667em; background: var(--pn-card); }
.mock-panel .pn-theme span { display: grid; place-items: center; min-height: 2.6667em; padding: .3333em .8333em; font-size: .8em; font-weight: 600; color: var(--pn-muted); }
.mock-panel .pn-theme span + span { border-left: 1px solid var(--pn-line-2); }
.mock-panel .pn-theme .is-on { background: var(--pn-card-2); color: var(--pn-text); box-shadow: inset 0 -.1667em 0 var(--pn-accent); }
.mock-panel .pn-usr { display: flex; flex: none; align-items: center; gap: .6667em; }
.mock-panel .pn-user, .mock-panel .pn-out { display: inline-flex; align-items: center; }
.mock-panel .pn-user { gap: .4em; min-height: 2.6667em; }
.mock-panel .pn-out { gap: .6154em; height: 2.4615em; padding: 0 .7692em; border: 1px solid var(--pn-line-2); border-radius: .6154em; font-size: .8667em; font-weight: 600; }
.mock-panel .pn-out .pn-i { width: 1.3846em; height: 1.3846em; }
.mock-panel .pn-side { min-height: 0; overflow: hidden; padding: .4em .6667em 1.6em; background: var(--pn-bg-2); border-right: 1px solid var(--pn-line); }
.mock-panel .pn-nh { display: block; margin: 1.4545em 0 .3636em; padding: 0 1.0909em; font-size: .7333em; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; color: var(--pn-muted); }
.mock-panel .pn-ni { display: flex; align-items: center; gap: .7333em; min-height: 2.6667em; margin: .0667em 0; padding: .5333em .8em; border-radius: .6em; line-height: 1.3; color: var(--pn-text-2); }
.mock-panel .pn-ni .pn-i { color: var(--pn-muted); }
.mock-panel .pn-ni.is-on { background: var(--pn-card-2); box-shadow: inset .2em 0 0 var(--pn-accent); color: var(--pn-text); font-weight: 600; }
.mock-panel .pn-ni.is-on .pn-i { color: var(--pn-accent); }
.mock-panel .pn-main { min-width: 0; min-height: 0; overflow: hidden; padding: 1.4667em 1.6em 0; }
.mock-panel .pn-h1 { display: block; margin-bottom: .8182em; font-size: 1.4667em; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.mock-panel .pn-lead { max-width: 72ch; margin: -.5333em 0 1.2em; color: var(--pn-muted); }
.mock-panel .pn-card { margin-bottom: 1.0667em; padding: 1.0667em; border: 1px solid var(--pn-line); border-radius: .8em; background: var(--pn-card); }
.mock-panel .pn-ch { display: flex; align-items: center; gap: .5333em; margin-bottom: .8em; }
.mock-panel .pn-h2 { display: inline-flex; align-items: center; gap: .4706em; font-size: 1.1333em; font-weight: 700; }
.mock-panel .pn-h2 .pn-i { width: 1.0588em; height: 1.0588em; color: var(--pn-muted); }
.mock-panel .pn-badge { margin-left: auto; padding: .25em .8333em; border: 1px solid #1f6b45; border-radius: 99em; background: #0f2b1d; color: #8df0bb; font-size: .8em; font-weight: 600; white-space: nowrap; }
.mock-panel .pn-empty { margin-bottom: .8em; padding: .4em 0; color: var(--pn-muted); }
.mock-panel .pn-sm { font-size: .8667em; }
.mock-panel .pn-mu { color: var(--pn-muted); }
.mock-panel .pn-a { color: var(--pn-info); }
.mock-panel .pn-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.0667em; margin-bottom: 1.0667em; }
.mock-panel .pn-tile { min-width: 0; padding: .9333em 1.0667em; border: 1px solid var(--pn-line); border-top: max(2px, calc(.2em + .01px)) solid var(--pn-ok); border-radius: .9333em; background: var(--pn-card); box-shadow: var(--pn-shadow); }
.mock-panel .pn-th { display: block; margin-bottom: .6154em; font-size: .8667em; font-weight: 600; color: var(--pn-muted); }
.mock-panel .pn-stat { font-size: 1.7333em; font-weight: 600; line-height: 1.2; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.mock-panel .pn-tile .pn-sm { margin-top: .6154em; }
.mock-panel .pn-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6667em; }
.mock-panel .pn-quick span { display: flex; align-items: center; gap: .6667em; min-height: 3.2em; padding: .6667em .9333em; border: 1px solid var(--pn-line); border-radius: .6667em; background: var(--pn-bg-2); font-weight: 600; }
.mock-panel .pn-quick .pn-i { color: var(--pn-accent); }
@container (max-width: 479.98px) {
  .mock-panel .br-bar { font-size: 2.6cqw; }
  .mock-panel .ui { aspect-ratio: 600 / 730; font-size: 2.5cqw; grid-template-columns: minmax(0, 1fr); }
  .mock-panel .pn-side, .mock-panel .pn-cp, .mock-panel .pn-pill, .mock-panel .pn-user span, .mock-panel .pn-out span { display: none; }
  .mock-panel .pn-top { gap: .5333em; padding: 0 .5333em; }
  .mock-panel .pn-theme span { padding: .3333em .5833em; }
  .mock-panel .pn-usr { gap: .1333em; }
  .mock-panel .pn-main { padding: .9333em 1.0667em 0; }
  .mock-panel .pn-h1 { margin-bottom: .9em; font-size: 1.3333em; }
  .mock-panel .pn-tiles { grid-template-columns: minmax(0, 1fr); }
  .mock-panel .pn-stat { font-size: 1.4667em; }
  .mock-panel .pn-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* load moment: the cards of the hero TV light up once */
@media (prefers-reduced-motion: no-preference) {
  .hero .tv-hc, .hero .tv-hx { animation: tile-on .6s ease-out both; }
  .hero .tv-hr1 > :first-child { animation-delay: .08s; } .hero .tv-hr1 > :last-child { animation-delay: .16s; }
  .hero .tv-hx:nth-child(1) { animation-delay: .24s; } .hero .tv-hx:nth-child(2) { animation-delay: .3s; } .hero .tv-hx:nth-child(3) { animation-delay: .36s; }
  .mock, .hero { transition: --brand .45s ease; }
}
@keyframes tile-on { from { opacity: .15; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

@media print {
  .offer-strip { display: none; }
  .site-header, .site-footer .footer-grid, .menu, .skip, .swap, .legal-toc, .legal-more { display: none !important; }
  body { background: #fff; }
  .screen { background: #fff; color: #000; }
}

/* Product walkthroughs. Highlight bounds are relative to each native capture. */
.capture-tour { background: #101725; color: #f5f7fb; }
.capture-tour h2, .capture-tour h3 { color: inherit; }
.capture-topics, .capture-steps { display: flex; gap: .5rem; flex-wrap: wrap; }
.capture-topics { margin: 1.4rem 0 1.8rem; }
.capture-topics a, .capture-steps a { display: flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border-radius: .65rem; color: #ced8eb; text-decoration: none; line-height: 1.3; }
.capture-topics a { border: 1px solid #546076; }
.capture-topics a[aria-current] { background: #f6f7fa; border-color: #fff; color: #111827; }
.capture-steps { flex-direction: column; align-self: start; padding: .45rem; border: 1px solid #354054; border-radius: .85rem; }
.capture-steps a[aria-current] { background: #29364b; color: #fff; box-shadow: inset 3px 0 #75e9d8; }
.capture-topics a:hover, .capture-steps a:hover { text-decoration: underline; }
.capture-group { display: grid; grid-template-columns: minmax(160px, .75fr) minmax(0, 3fr); gap: clamp(16px,3vw,40px); }
.capture-frame { margin: 0 0 1.25rem; scroll-margin-top: 85px; }
.capture-frame figcaption { margin: 0 0 1rem; }
.capture-frame small { color: #a9bed9; font-size: .88rem; }
.capture-frame h3 { font-size: clamp(1.45rem, 3vw, 2.25rem); margin: .25rem 0; }
.capture-frame p { color: #dae3ef; margin: .35rem 0 0; max-width: 74ch; }
.capture-shot, .capture-video, .capture-cover { display: block; position: relative; overflow: hidden; width: 100%; border: 1px solid #667289; border-radius: 12px; }
.capture-shot { cursor: zoom-in; }
.capture-shot img, .capture-cover img { display: block; width: 100%; height: auto; }
.capture-ring { position: absolute; border: 3px solid #77fff0; border-radius: 8px; box-shadow: 0 0 0 2px #123c49; pointer-events: none; }
.capture-ring b { position: absolute; bottom: calc(100% + 4px); left: -3px; white-space: nowrap; padding: .22em .55em; border-radius: 4px; background: #86fff0; color: #0e272c; font: 700 clamp(.72rem,1.4vw,.95rem)/1.2 var(--f-text); }
.capture-cover { color: #fff; text-decoration: none; background: #1c283b; }
.capture-cover span { display: block; padding: .8rem 1rem; font-weight: 600; }
.capture-tour [hidden] { display: none; }
@media (max-width: 740px) {
  .capture-group { grid-template-columns: 1fr; }
  .capture-topics, .capture-steps { gap: .25rem; }
  .capture-steps { flex-direction: row; }
  .capture-topics a, .capture-steps a { padding: .4rem .65rem; font-size: .92rem; }
  .capture-ring { border-width: 2px; }
}

.capture-picker { display: none; }
@media (max-width: 740px) {
  .capture-picker { display: block; width: 100%; min-height: 46px; background: #1c283b; color: #fff; border: 1px solid #667289; border-radius: .65rem; }
  .capture-long { display: none; }
}

.capture-frame figcaption a { color: #86fff0; }

.capture-frame figcaption code { overflow-wrap: anywhere; }
.capture-config {
  margin: .7rem 0;
  max-width: 100%;
  overflow-x: auto;
  padding: .65rem .9rem;
  border-left: 3px solid #86fff0;
  color: #e7f6f7;
  background: #152430;
  font: .9rem/1.5 ui-monospace, monospace;
}

.capture-group--film { display: block; }
.capture-video { height: auto; background: #0a111c; }
.film-chapters { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.film-chapters button { min-height: 44px; padding: .5rem .7rem; border: 1px solid #576d81; border-radius: .45rem; background: #192838; color: #eef5fa; cursor: pointer; font: inherit; }
.film-chapters button:hover, .film-chapters button:focus-visible { border-color: #86fff0; }
.film-chapters span { margin-right: .25em; color: #86fff0; font-variant-numeric: tabular-nums; }

.capture-frame .film-credit { margin-top: .75rem; color: #b6c8d6; font-size: .88rem; line-height: 1.5; }
.capture-frame .film-credit a { color: #ace6de; }

/* Offer details, including the native disclosure for browsers without dialog support. */
.plan-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: auto; }
.plan-actions .btn { margin: 0; padding-inline: 12px; }
.plan-actions .offer-disclosure[open] { grid-column: 1 / -1; }
.offer-info-trigger, .offer-modal-close {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 13px; gap: 6px; border: 1px solid var(--line-2);
  background: var(--card); color: var(--ink); border-radius: 6px; font: 500 1rem/1.2 var(--f-text); cursor: pointer;
}
.offer-info-trigger::-webkit-details-marker { display: none; }
.offer-info-trigger:hover, .offer-modal-close:hover { background: var(--paper-2); border-color: var(--ink-2); }
.screen .offer-info-trigger { background: var(--screen-2); color: var(--screen-ink); border-color: #69758d; }
.screen .offer-info-trigger:hover { background: var(--screen-3); border-color: var(--screen-ink-2); }
.offer-info-trigger + .plan-saving, .offer-disclosure + .plan-saving { margin-top: 16px; }
.licence-prices th, .licence-prices td { vertical-align: middle; }
.licence-prices tr > :last-child { text-align: center; }
.offer-info-modal {
  position: fixed; inset: 0; padding: 0; width: min(36rem, calc(100% - 24px)); max-width: none; max-height: none;
  margin: auto; border: 0; border-radius: 16px; background: var(--card); color: var(--ink);
  overflow: visible; box-shadow: 0 24px 80px rgb(3 10 24 / 35%);
}
.offer-info-modal::backdrop { background: rgb(9 15 31 / 68%); }
.offer-modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 1; width: 44px; padding: 0;
  border-radius: 50%; font: 400 1.65rem/1 var(--f-text);
}
.offer-modal-body { max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px); overflow: auto; overscroll-behavior: contain; border-radius: inherit; }
.offer-sheet { --sheet-pad: clamp(18px, 4vw, 32px); text-align: left; color: var(--ink); background: var(--card); }
.offer-disclosure[open] .offer-sheet { margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.offer-sheet-head { padding: 24px var(--sheet-pad) 18px; border-top: 4px solid var(--zox); background: var(--paper); }
.offer-info-modal .offer-sheet-head { padding-right: 68px; }
.offer-info-modal .offer-sheet-title:focus-visible { outline: none; text-decoration: underline; text-decoration-color: var(--focus); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.offer-sheet .offer-sheet-title { margin: 0 0 8px; font: 700 clamp(1.7rem, 3vw, 2.15rem)/1.1 var(--f-display); color: var(--ink); }
.offer-sheet-head p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0; }
.offer-sheet-head b { color: var(--zox-dark); font: 700 1.7rem/1 var(--f-display); }
.offer-sheet-head span { color: var(--ink-2); font-size: .9rem; }
.offer-deliverables { margin: 0; padding: 2px var(--sheet-pad); }
.offer-deliverables > div { position: relative; padding: 12px 0 12px 34px; }
.offer-deliverables > div + div { border-top: 1px solid var(--line); }
.offer-deliverables dt { font-weight: 600; color: var(--ink); line-height: 1.4; }
.offer-deliverables dt .i { position: absolute; left: 0; top: 14px; color: var(--zox-dark); }
.offer-deliverables dd, .offer-sheet-foot dd { margin: 3px 0 0; color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
.offer-sheet-foot { display: grid; gap: 12px; margin: 0; background: var(--paper); padding: 18px var(--sheet-pad) 22px; }
.offer-sheet-foot dt { color: var(--ink); font-weight: 600; font-size: .9375rem; }
.offer-sheet-foot dd { margin: 0; }
@media (min-width: 600px) {
  .offer-info-modal .offer-sheet-foot > div { display: grid; grid-template-columns: 7rem 1fr; gap: 12px; }
}
@media (max-width: 700px) {
  .licence-prices tr { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 6px 10px; }
  .licence-prices tr > :last-child { grid-column: 3; grid-row: 1; }
  .licence-prices tr > :last-child:has(details[open]) { grid-column: 1 / -1; grid-row: 3; text-align: left; }
}
