/* Q-Sports landing page.
   Brand: the q-lite.com palette (navy #023b7e, teal #00b3c4, accent #006997, the
   navy-to-teal gradient, near-square corners, black hero with an LED dot grid)
   with the Q-Cloud web app's text tokens and Manrope. Montserrat stands in for
   q-lite.com's Proxima Nova, which is licensed to that domain only. */

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --navy: #023b7e;
  --teal: #00b3c4;
  --teal-2: #34bdbc;
  --accent: #006997;
  --accent-strong: #005a82;
  --grad: linear-gradient(to right, #023b7e, #00bac6);
  --grad-diag: linear-gradient(135deg, #023b7e 0%, #0e5380 48%, #00b9be 100%);

  --ink: #0d2236;
  --text: #33404f;
  --muted: #506880;
  --line: #dde6ef;
  --bg: #ffffff;
  --tint: #eef3f8;
  --night: #03070f;
  --deep: #020a45;

  --f-display: "Montserrat", "Proxima Nova", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "DM Mono", ui-monospace, monospace;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(13, 34, 54, .05), 0 10px 30px rgba(13, 34, 54, .08);
  --shadow-lg: 0 30px 70px -20px rgba(2, 20, 50, .45);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
h1, h2, h3 { font-family: var(--f-display); color: var(--navy); margin: 0; line-height: 1.15; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); font-size: .95rem; }
.t-accent { color: var(--teal); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 2px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { background: #e9f8fa; color: var(--accent-strong); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-footer { background: var(--accent); color: #fff; padding: 10px 16px; }
.btn-footer:hover { background: #0a7fb3; color: #fff; }
.i-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow {
  margin: 0 0 14px; font: 700 .8rem/1.2 var(--f-body);
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.eyebrow-light { color: var(--teal); }
.lead { font-size: 1.12rem; color: var(--text); }

/* ---------- navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(3, 7, 15, .72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background-color .2s;
}
.nav[data-scrolled="true"] { background: rgba(3, 7, 15, .94); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 2px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand-q { width: 30px; height: 30px; fill: #fff; }
.brand-word { font: 800 1.5rem/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; transform: translateY(-1px); }
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu a {
  color: #e8eef5; text-decoration: none; padding: 9px 11px;
  font: 600 .74rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase;
}
.nav-menu a:hover { color: var(--teal); }
.nav-menu .nav-cta { background: var(--teal); color: #fff; margin-left: 10px; padding: 11px 16px; }
.nav-menu .nav-cta:hover { background: #00a0b0; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; content: ""; transition: transform .2s, opacity .2s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- LED dot grid (hero, dark sections, footer) ---------- */
.hero, .section-dark, .footer { position: relative; overflow: hidden; }
.hero::before, .dots {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .11) 1px, transparent 1.5px);
  background-size: 9px 9px;
}

/* ---------- hero ---------- */
.hero { background: var(--night); color: #dfe7ef; padding: 150px 0 110px; }
.hero-full { min-height: 100vh; display: grid; align-items: center; padding: 60px 0; }
.hero::after {
  content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -120px; pointer-events: none;
  background: radial-gradient(circle, rgba(0, 179, 196, .22), transparent 60%);
}
.hero-shape {
  position: absolute; right: 0; top: 0; width: 46%; height: 68px; z-index: 1;
  background: var(--grad); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); opacity: .9;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; z-index: 2; }
.hero-title {
  font: 900 clamp(2.6rem, 6vw, 4.7rem)/.95 var(--f-display);
  text-transform: uppercase; letter-spacing: -.02em; color: #fff; margin-bottom: 28px;
}
.hero-title span { display: block; }
.hero-lead { font-size: 1.08rem; max-width: 34em; color: #d3dde8; }
.hero-lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero-facts { list-style: none; padding: 22px 0 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .92rem; color: #a9b8c8; }
.hero-facts b { display: block; font: 800 1.35rem/1.2 var(--f-display); color: #fff; }
.hero-visual { position: relative; padding-bottom: 60px; }
.led-frame {
  margin: 0; background: #000; padding: clamp(6px, 1vw, 12px); border-radius: 6px;
  box-shadow: 0 0 0 1px #1d2633, 0 0 80px -10px rgba(0, 179, 196, .35), var(--shadow-lg);
}
.led-frame img { width: 100%; border-radius: 2px; }
.hero-phone {
  position: absolute; margin: 0; width: 36%; left: -12%; bottom: -40px;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: #040c1c; color: #c9d5e2; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #c9d5e2; }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head .lead { margin-top: 18px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.split-reverse .split-copy { order: 2; }
.split-copy h2 { margin-bottom: 18px; }
.note { margin-top: 22px; padding: 14px 18px; border-left: 3px solid var(--teal); background: rgba(0, 179, 196, .08); font-size: .95rem; }

.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.checks b { color: var(--ink); }
.checks-light b { color: #fff; }
.plain { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.plain li { padding-left: 18px; position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: .68em; width: 8px; height: 2px; background: var(--teal); }
.plain b { color: var(--ink); }

/* ---------- four parts ---------- */
.parts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.part {
  position: relative; overflow: hidden; color: #fff; padding: 30px 26px 26px; border-radius: var(--radius);
  display: flex; flex-direction: column; min-height: 300px;
}
.part::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, .08) 50%);
}
.part-1 { background: var(--navy); }
.part-2 { background: var(--accent); }
.part-3 { background: #2c7894; }
.part-4 { background: #233a4d; }
.part h3 { color: #fff; font-size: 1.45rem; margin: 18px 0 12px; }
.part p { color: rgba(255, 255, 255, .88); flex: 1; }
.part-icon { width: 34px; height: 34px; fill: none; stroke: #9be7ee; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.part-tag { font: 700 .74rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: #9be7ee; }

/* ---------- match day ---------- */
.matchday {
  list-style: none; margin: 56px 0 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative;
}
.matchday::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 3px; background: var(--grad); }
.matchday li { position: relative; counter-increment: step; padding-top: 60px; }
.matchday li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 3px solid var(--teal);
  font: 800 1.05rem/1 var(--f-display); color: var(--navy);
}
.matchday b { display: block; font: 800 1.15rem/1.2 var(--f-display); color: var(--navy); text-transform: uppercase; letter-spacing: .02em; }
.matchday span { color: var(--muted); font-size: .95rem; }

/* ---------- control app phones ---------- */
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.phone-shot { margin: 0; text-align: center; }
.phone-shot img { width: 100%; filter: drop-shadow(0 24px 34px rgba(2, 30, 60, .28)); }
.phone-shot-2 { margin-top: 70px; }
figcaption { font: 500 .8rem/1.4 var(--f-mono); color: var(--muted); margin-top: 14px; }

/* ---------- LED scenes ---------- */
.scenes { display: grid; gap: 22px; }
.scene-stage { max-width: 900px; width: 100%; margin: 0 auto; }
.scene-stage figcaption { color: #b9c7d6; font: 400 1rem/1.55 var(--f-body); padding: 14px 6px 4px; min-height: 4.6em; }
.scene-stage figcaption b { color: #fff; margin-right: 8px; font-family: var(--f-display); }
.scene-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 10px; }
.scene-thumbs a { display: block; text-decoration: none; color: #9fb0c2; font-size: .72rem; text-align: center; }
.scene-thumbs img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 3px; border: 2px solid transparent; opacity: .7; transition: opacity .15s, border-color .15s; }
.scene-thumbs span { display: block; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scene-thumbs a:hover img, .scene-thumbs a[aria-current="true"] img { opacity: 1; border-color: var(--teal); }
.scene-thumbs a[aria-current="true"] { color: #fff; }
.fonts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 28px 48px; margin-top: 72px; align-items: start; }
.fonts-copy h3 { margin-bottom: 12px; font-size: 1.3rem; }
.fonts-copy p { margin: 0; }
.font-shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.font-shots figure { margin: 0; }
.font-shots img { width: 100%; border-radius: 4px; background: #030304; padding: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.font-shots figcaption { margin-top: 8px; font: 400 .9rem/1.45 var(--f-body); color: #9fb0c2; }
.font-shots figcaption b { display: block; color: #fff; font-family: var(--f-display); }
.feature-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 64px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .12); }
.feature-row h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature-row p { margin: 0; font-size: .97rem; }

/* ---------- studio tabs ---------- */
/* Wide screens: no scroll container, so never a scrollbar. The line under the tabs is a
   background, so when the tabs scroll sideways it scrolls along with them. */
.tab-list {
  display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 32px;
  background: linear-gradient(var(--line), var(--line)) left bottom / 100% 2px no-repeat local;
}
/* The seven tabs need about 1110 px (plus room for the page scrollbar); narrower, they
   scroll sideways in one row. */
@media (max-width: 1240px) {
  .tab-list { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
}
.tab-list [role="tab"] {
  flex: none; background: none; border: 0; border-bottom: 3px solid transparent;
  padding: 12px 16px; cursor: pointer; color: var(--muted);
  font: 700 .85rem/1.2 var(--f-body); letter-spacing: .04em; text-transform: uppercase;
}
.tab-list [role="tab"]:hover { color: var(--navy); }
.tab-list [role="tab"][aria-selected="true"] { color: var(--navy); border-bottom-color: var(--teal); }
.tab-panel { display: grid; gap: 28px; }
.panel-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 12px 40px; align-items: baseline; }
.panel-copy p { margin: 0; }
.tab-panel + .tab-panel { margin-top: 64px; }
.tabs[data-ready] .tab-panel + .tab-panel { margin-top: 0; }
.tab-panel[hidden] { display: none; }
.panel-copy h3 { font-size: 1.4rem; }
.shot { width: 100%; filter: drop-shadow(0 22px 40px rgba(2, 30, 60, .22)); }
.zoomable { cursor: zoom-in; }
/* Fixed columns: the arrows stay at the edges whatever the length of the scene name. */
.carousel-nav { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 18px; margin-bottom: 18px; }
.carousel-nav[hidden] { display: none; }
.carousel-btn {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none; cursor: pointer;
  background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--shadow);
  transition: border-color .15s, color .15s;
}
.carousel-btn:hover { border-color: var(--teal); color: var(--accent); }
/* Name on one line (ellipsis if needed), counter below: same height for every slide. */
.carousel-status { margin: 0; display: grid; justify-items: center; min-width: 0; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.carousel-status b { max-width: 100%; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carousel-status span { font-family: var(--f-mono); font-size: .8rem; }
@media (max-width: 560px) {
  .carousel-nav { gap: 10px; }
  .carousel-status { font-size: .85rem; }
}
.slide { margin: 0; }
.slide[hidden] { display: none; }

/* ---------- connection diagram ---------- */
.diagram { margin: 0; }
.diagram svg { width: 100%; font-family: var(--f-body); }
.routes .diagram { margin: -4px 0 18px; }
.routes .checks { margin-top: 16px; font-size: .95rem; }
.routes-both { margin: 44px 0 0; font-size: 1.1rem; }
.checks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.diagram figcaption { font: 600 1rem/1.5 var(--f-body); color: var(--accent); text-align: center; margin-top: 18px; }
.d-cloud { fill: #e3e8ee; }
.d-site { fill: #fff; stroke: #2c7894; stroke-width: 2; stroke-dasharray: 9 7; }
.d-edge { fill: var(--accent); }
.d-queue { fill: #a7ded8; }
.d-node { fill: #fff; stroke: var(--navy); stroke-width: 2.5; }
.d-link { stroke: var(--teal); stroke-width: 3; fill: none; }
.d-link-off { stroke: #b8c1cc; stroke-width: 3; stroke-dasharray: 5 6; }
.d-x path { stroke: #d33a3a; stroke-width: 5; stroke-linecap: round; }
.d-t { font-size: 17px; font-weight: 800; fill: var(--navy); }
.d-s { font-size: 14px; font-weight: 600; }
.d-muted { fill: #6c7886; }
.d-bad { fill: #c62f2f; font-weight: 800; }
.d-on-edge { fill: #fff; }
.d-queue-t { fill: var(--navy); font-weight: 800; }
.d-label { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; fill: #2c7894; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 22px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 12px; }
.card h3 .badge { margin-right: 8px; vertical-align: middle; }
.card p:last-child { margin-bottom: 0; }

/* ---------- sports ---------- */
.sports { display: grid; gap: 22px; }
.sport-group { background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.sport-group h3 { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; margin-bottom: 14px; }
.badge { font: 700 .7rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 2px; color: #fff; }
.badge-now { background: var(--navy); }
.badge-later { background: #7a8b9c; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--tint); border: 1px solid var(--line); padding: 6px 12px; border-radius: 99px; font-weight: 600; font-size: .92rem; color: var(--ink); }

/* ---------- levels ---------- */
.levels { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.levels li { position: relative; padding: 24px 34px 24px 24px; color: #fff; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%); margin-left: -10px; }
.levels li:first-child { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); margin-left: 0; }
.levels li:nth-child(1) { background: var(--navy); }
.levels li:nth-child(2) { background: #0a5285; padding-left: 40px; }
.levels li:nth-child(3) { background: var(--accent); padding-left: 40px; }
.levels li:nth-child(4) { background: #0090a8; padding-left: 40px; }
.levels b { display: block; font: 800 1.1rem/1.2 var(--f-display); margin-bottom: 6px; }
.levels span { font-size: .88rem; color: rgba(255, 255, 255, .9); display: block; line-height: 1.45; }

/* ---------- cloud ---------- */
.cloud-shot { margin: 0; }
.split-wide { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }

/* ---------- roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.stage { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; box-shadow: var(--shadow); }
.stage::before { content: ""; position: absolute; inset: -1px -1px auto; height: 5px; background: var(--grad); border-radius: var(--radius) var(--radius) 0 0; }
.stage:nth-child(2)::before { background: linear-gradient(to right, #7a8b9c, #b5c2ce); }
.stage-tag { font: 700 .78rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.stage h3 { font-size: 1.3rem; margin-bottom: 18px; }

/* ---------- faq ---------- */
.faq-wrap { max-width: 900px; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative;
  font: 700 1.05rem/1.4 var(--f-display); color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--f-body); color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 24px 22px; margin: 0; }

/* ---------- call to action ---------- */
.cta { position: relative; overflow: hidden; background: var(--grad-diag); color: #e6f4f8; padding: 88px 0; }
.cta-shape { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 58%, rgba(255, 255, 255, .08) 58%, rgba(255, 255, 255, .08) 72%, transparent 72%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { margin: 0; max-width: 36em; }
.cta-actions { display: grid; gap: 14px; justify-items: start; }
.cta-phones { font-size: .95rem; }
.cta-phones a { color: #fff; }

/* ---------- footer ---------- */
.footer { background: var(--deep); color: #d6deea; padding: 72px 0 36px; font-size: .95rem; }
.footer-q { position: absolute; width: 760px; left: -140px; bottom: -260px; fill: #0b2a7a; opacity: .45; pointer-events: none; }
.footer-claim { text-align: center; font: 500 .95rem/1 var(--f-body); letter-spacing: .26em; text-transform: uppercase; color: #fff; margin-bottom: 56px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-h { color: #fff; font: 700 1rem/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-bottom p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.footer a:not(.btn) { color: var(--teal); text-decoration: none; }
.footer-bottom p:last-child a { color: #fff; }
.footer a:not(.btn):hover { text-decoration: underline; }
.footer-logo { width: 92px; margin-right: 10px; }
.footer-note { margin: 22px 0 0; font-size: .8rem; color: #8592b8; }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1800px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(2, 8, 20, .88); }
.lightbox img { max-width: min(96vw, 1800px); max-height: 94vh; width: auto; border-radius: 6px; }
.lightbox-close {
  position: fixed; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .26); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-menu a { padding: 9px 8px; letter-spacing: .05em; }
  .scene-thumbs { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(3, 7, 15, .97); padding: 8px var(--gutter) 20px; border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: none;
  }
  .nav[data-open="true"] .nav-menu { display: flex; }
  .nav-menu a { padding: 14px 4px; font-size: .85rem; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav-menu .nav-cta { margin: 14px 0 0; text-align: center; }
  .hero { padding-top: 120px; }
  .hero-shape { display: none; }
  .hero-grid, .split, .split-wide, .panel-copy { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { padding: 0 0 40px 18%; }
  .hero-phone { left: 0; width: 30%; }
  .split-reverse .split-copy { order: 0; }
  .parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .part { min-height: 0; }
  .matchday { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .matchday::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; background: linear-gradient(#023b7e, #00bac6); }
  .matchday li { padding: 0 0 22px 64px; min-height: 66px; }
  .feature-row, .cards-2, .cards-3, .checks-2, .roadmap, .footer-cols, .fonts { grid-template-columns: minmax(0, 1fr); }
  .levels { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .levels li, .levels li:first-child { clip-path: none; margin: 0; padding: 18px 20px; border-radius: var(--radius); }
  .levels li:nth-child(n) { padding-left: 20px; }
  .phones { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .parts { grid-template-columns: minmax(0, 1fr); }
  .hero-facts { gap: 14px; font-size: .8rem; }
  .hero-facts b { font-size: 1.05rem; }
  .scene-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .phone-shot-2 { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
