/* =========================================================================
   PrisFlex — prisflex.com
   Plain CSS. Dark by default; light follows the system (prefers-color-scheme).
   Colours from brand.md (the app's own stylesheet).
   ========================================================================= */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0f1115;
  --bg-2: #13161c;
  --card: #171a21;
  --card-2: #1d212a;
  --line: #262b36;
  --text: #c9ced8;
  --strong: #eef0f4;
  --muted: #8b93a3;
  --accent: #8b7cf6;
  --accent-dark: #6d5ae6;
  --accent-light: #b4a9ff;
  --link: #b4a9ff;
  --btn: #6d5ae6;          /* white text on this passes AA */
  --btn-hover: #5b48d6;
  --spectrum: linear-gradient(90deg, #f5a65b, #ec6fa8, #8b7cf6, #4fc3d9, #5ed39a);
  --c-red: #e5484d;
  --c-orange: #f5a65b;
  --c-yellow: #f2b544;
  --c-green: #3fbf73;
  --c-blue: #4fc3d9;
  --c-pink: #ec6fa8;
  --radius: 10px;
  --radius-s: 7px;
  --shadow: 0 30px 60px -28px rgba(0, 0, 0, .85), 0 2px 10px rgba(0, 0, 0, .35);
  --glow: rgba(139, 124, 246, .28);
  --header-bg: rgba(15, 17, 21, .82);
  --container: 75rem;
  --gutter: 20px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7fb;
    --bg-2: #eef0f6;
    --card: #ffffff;
    --card-2: #f3f4f9;
    --line: #dfe2ea;
    --text: #3a4150;
    --strong: #0f1115;
    --muted: #5b6372;
    --link: #5b48d6;
    --shadow: 0 30px 60px -30px rgba(30, 24, 70, .35), 0 2px 10px rgba(30, 24, 70, .08);
    --glow: rgba(139, 124, 246, .22);
    --header-bg: rgba(246, 247, 251, .86);
    color-scheme: light;
  }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Large screens and TVs: scale everything up */
@media (min-width: 1900px) { html { font-size: 112.5%; } }
@media (min-width: 2500px) { html { font-size: 137.5%; } }
@media (min-width: 3400px) { html { font-size: 175%; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--strong);
  line-height: 1.15;
  letter-spacing: -.02em;
}
h1 { font-weight: 750; }
h2 { font-weight: 700; }
h3 { font-weight: 650; letter-spacing: -.01em; }

p { margin: 0; }

a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

strong { color: var(--strong); font-weight: 650; }

code {
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: .9em;
  padding: .1em .4em;
  border-radius: 5px;
  background: var(--card-2);
  border: 1px solid var(--line);
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 6px;
}
@media (prefers-color-scheme: light) {
  :focus-visible { outline-color: var(--accent-dark); }
}

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  background: var(--btn);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .section-tight { padding: 44px 0; }
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-light);
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}
@media (prefers-color-scheme: light) { .eyebrow { color: var(--accent-dark); } }

.section-head { max-width: 47.5rem; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
.section-head p { margin-top: 14px; font-size: 1.1rem; color: var(--text); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--spectrum);
  opacity: .55;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--strong);
  font-weight: 750;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  text-decoration: none;
  flex: none;
}
.brand img { width: 34px; height: 34px; }
.brand .flex { color: var(--accent); }

.nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-s);
  color: var(--text);
  font-weight: 550;
  font-size: .95rem;
  text-decoration: none;
}
.nav-link:hover { color: var(--strong); background: var(--card-2); }
.nav-link[aria-current="page"] { color: var(--strong); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }

.header-cta { margin-left: 6px; }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--card);
  color: var(--strong);
  cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; margin: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

@media (max-width: 900px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 69px;
    display: none;
    margin: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6);
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 18px; }
  .nav-link { padding: 12px 14px; font-size: 1.05rem; }
  .header-cta { margin: 8px 0 0; }
  .header-cta .btn { width: 100%; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { background: transparent; color: var(--strong); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); background: var(--card); }
.btn[disabled], .btn[aria-disabled="true"] {
  cursor: not-allowed;
  background: var(--card-2);
  color: var(--muted);
  border-color: var(--line);
}
@media (prefers-reduced-motion: no-preference) {
  .btn:not([disabled]):not([aria-disabled="true"]):hover { transform: translateY(-1px); }
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card-2);
  color: var(--strong);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .02em;
  white-space: nowrap;
}
.tag-soon { border-color: rgba(245, 166, 91, .55); background: rgba(245, 166, 91, .12); }
.tag-pass { border-color: rgba(139, 124, 246, .55); background: rgba(139, 124, 246, .14); }
.tag-free { border-color: rgba(63, 191, 115, .5); background: rgba(63, 191, 115, .12); }

/* ---------- Device frames ---------- */

.tv {
  position: relative;
  margin: 0;
}
.tv-screen {
  position: relative;
  padding: 1.1%;
  border-radius: 14px;
  background: #05060a;
  border: 1px solid #2a2f3a;
  box-shadow: var(--shadow);
}
.tv-screen img { width: 100%; border-radius: 4px; background: #0f1115; }
.tv-stand {
  width: 22%;
  height: 10px;
  margin: 10px auto 0;
  border-radius: 6px;
  background: linear-gradient(#232733, #14171e);
}
.tv.no-stand .tv-stand { display: none; }

.phone {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 300px;
}
.phone-body {
  position: relative;
  padding: 4.5%;
  border-radius: 13% / 6%;
  background: #05060a;
  border: 1px solid #2f3440;
  box-shadow: var(--shadow), inset 0 0 0 2px #14171e;
}
.phone-body img { width: 100%; border-radius: 9% / 4.2%; background: #0f1115; }
.phone-body::before {
  content: "";
  position: absolute;
  top: 2.4%;
  left: 50%;
  width: 26%;
  height: 1.6%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #05060a;
  z-index: 1;
}

.browser {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: var(--card-2);
}
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser img { width: 100%; }

.shot-caption {
  margin-top: 14px;
  color: var(--text);
  font-size: .95rem;
}
.shot-caption strong { display: block; margin-bottom: 2px; }

.shot-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: zoom-in;
  border-radius: 14px;
}
.shot-open:focus-visible { outline-offset: 6px; }

.mock-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 26px;
  color: var(--muted);
  font-size: .88rem;
}
.mock-note svg { flex: none; width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto 35%;
  height: 120%;
  background: radial-gradient(50% 45% at 55% 45%, var(--glow), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
.hero h1 .accent { color: var(--accent); }
@media (prefers-color-scheme: light) { .hero h1 .accent { color: var(--accent-dark); } }
.hero-sub { margin-top: 20px; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-devices-line { margin-top: 22px; color: var(--muted); font-size: .92rem; }

.hero-stage { position: relative; padding-bottom: 10%; }
.hero-stage .tv { width: 92%; }
.hero-stage .phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26%;
  max-width: none;
}
@media (max-width: 999px) {
  .hero { padding-top: 48px; }
  .hero-stage { padding-bottom: 14%; }
  .hero-stage .tv { width: 90%; }
  .hero-stage .phone { width: 30%; }
}

/* ---------- Grids ---------- */

.grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.phones-row {
  display: grid;
  gap: 28px 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
  align-items: start;
}
@media (min-width: 760px) { .phones-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.phones-row .phone { max-width: 260px; }
.phones-row figure { margin: 0; width: 100%; display: grid; justify-items: center; }
.phones-row .shot-caption { max-width: 260px; text-align: center; }

/* ---------- Cards ---------- */

.card {
  padding: 26px 24px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }

/* What it plays */
.plays {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 760px) { .plays { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1150px) { .plays { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.play-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.play-tile::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--tile, var(--accent));
}
.play-tile h3 { font-size: 1.08rem; }
.play-tile p { font-size: .92rem; }
.play-tile .tag { align-self: flex-start; margin-top: auto; }
.play-icon {
  width: 40px; height: 40px;
  padding: 8px;
  border-radius: 10px;
  background: var(--card-2);
  fill: none;
  stroke: var(--tile, var(--accent));
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.t-movies { --tile: var(--c-orange); }
.t-live { --tile: var(--c-red); }
.t-music { --tile: var(--c-green); }
.t-photos { --tile: var(--c-pink); }
.t-books { --tile: var(--c-yellow); }
.t-games { --tile: var(--c-blue); }

/* Split section (text + device) */
.split {
  display: grid;
  gap: 48px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.split .phone { margin-inline: auto; max-width: 300px; }
.split h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
.split p + p { margin-top: 14px; }

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .32em;
  width: 17px; height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b7cf6' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

/* Steps */
.steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--btn);
  color: #fff;
  font-weight: 700;
}
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }

/* CTA band */
.cta-band {
  position: relative;
  padding: 44px 32px;
  border-radius: 18px;
  text-align: center;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(139, 124, 246, .25), transparent 70%),
    var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--spectrum);
}
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.cta-band p { margin: 12px auto 0; max-width: 36rem; }
.cta-band .hero-actions { justify-content: center; }

/* Page hero (inner pages) */
.page-hero { padding: 64px 0 40px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero p { margin-top: 16px; max-width: 46rem; }

/* ---------- Features page ---------- */

.chip-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}
.chip-nav a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--strong);
  font-size: .92rem;
  font-weight: 550;
  text-decoration: none;
}
.chip-nav a:hover { border-color: var(--accent); }

.feature-block { padding: 64px 0; border-top: 1px solid var(--line); }
.feature-block:first-of-type { border-top: 0; }
.feature-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px; }
.feature-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.feature-cols {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 1000px) { .feature-cols { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.feature-cols .phone { margin-inline: auto; }
.feature-shots { display: grid; gap: 24px; }

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}
@media (min-width: 980px) { .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
}
.plan.featured { border-color: rgba(139, 124, 246, .65); box-shadow: 0 0 0 1px rgba(139, 124, 246, .35), var(--shadow); }
.plan.featured::before {
  content: "";
  position: absolute;
  left: -1px; right: -1px; top: -1px;
  height: 3px;
  border-radius: 16px 16px 0 0;
  background: var(--spectrum);
}
.plan h2 { font-size: 1.45rem; }
.plan-tagline { margin-top: 6px; color: var(--muted); }
.plan-price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; color: var(--strong); }
.plan-price .amount { font-size: 2.6rem; font-weight: 750; letter-spacing: -.03em; }
.plan-price .per { color: var(--muted); }
.plan-options { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: .95rem; }
.plan-options li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.plan-options li span:last-child { color: var(--strong); font-weight: 600; white-space: nowrap; }
.plan .trial { margin-top: 12px; }
.plan .check-list { margin-top: 22px; font-size: .95rem; }
.plan-cta { margin-top: auto; padding-top: 26px; }
.plan-cta .btn { width: 100%; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { color: var(--strong); font-weight: 650; background: var(--card-2); }
.compare tbody th { color: var(--strong); font-weight: 600; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td { white-space: nowrap; }

/* ---------- Download ---------- */

.stores {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 860px) { .stores { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.store {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 16px;
  border-radius: 12px;
  background: #05060a;
  border: 1px solid #3a3f4c;
  color: #eef0f4;
}
.store-badge small { display: block; font-size: .74rem; color: #a7aebb; letter-spacing: .02em; }
.store-badge b { display: block; font-size: 1.05rem; font-weight: 650; }
.store-badge svg { flex: none; width: 26px; height: 26px; fill: none; stroke: #b4a9ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.store-devices { color: var(--text); font-size: .95rem; }

.need-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; max-width: 54rem; }
.faq details {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.faq summary {
  position: relative;
  padding: 18px 52px 18px 22px;
  color: var(--strong);
  font-weight: 650;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 22px 20px; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- Legal pages ---------- */

.prose { max-width: 47.5rem; }
.prose h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose .updated { color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  font-size: .95rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 1px;
  background: var(--spectrum);
  opacity: .6;
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-grid h2 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 650; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--strong); text-decoration: underline; }
.footer-about p { margin-top: 12px; max-width: 26rem; }
.footer-legal {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
  display: grid;
  gap: 8px;
}
.footer-legal a { color: var(--muted); }


/* ---------- Lightbox ---------- */

.lightbox {
  width: 100vw; height: 100vh; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: rgba(8, 9, 12, .95);
  color: #eef0f4;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox-inner { position: relative; display: flex; flex-direction: column; height: 100%; padding: 12px 64px 18px; }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; min-height: 46px; }
.lightbox-count { color: #b8bdc8; font-size: .9rem; }
.lightbox-figure { flex: 1 1 auto; min-height: 0; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lightbox-img { max-width: 100%; max-height: calc(100% - 80px); width: auto; height: auto; object-fit: contain; border-radius: 8px; background: #0f1115; }
.lightbox-caption { max-width: 54rem; text-align: center; color: #c9ced8; font-size: .95rem; }
.lb-btn {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; padding: 0;
  border-radius: 50%;
  border: 1px solid #3a3f4c;
  background: rgba(30, 33, 42, .9);
  color: #fff;
  cursor: pointer;
}
.lb-btn:hover { border-color: #8b7cf6; }
.lb-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lightbox :focus-visible { outline-color: #b4a9ff; }
@media (max-width: 640px) {
  .lightbox-inner { padding: 8px 12px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 58px); }
  .lb-next { right: calc(50% - 58px); }
}
body.has-lightbox { overflow: hidden; }

/* ---------- 404 ---------- */

.notfound { padding: 120px 0 140px; text-align: center; }
.notfound .big {
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.notfound h1 { margin-top: 12px; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.notfound p { margin: 14px auto 28px; max-width: 32rem; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* Frames are spans (valid inside buttons) */
.tv-screen, .tv-stand, .phone, .phone-body, .browser { display: block; }
.browser-bar { display: flex; }
.browser-bar span { display: block; }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card h3 svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1100px) { .phones-row.five { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.shot-figure { margin: 0; }
.callout a { font-weight: 600; }
.plays, .stores { list-style: none; margin: 0; padding: 0; }
.split h2 + p { margin-top: 14px; }
@media (max-width: 420px) { .plays { grid-template-columns: minmax(0, 1fr); } }
.store .tag { align-self: flex-start; }
@media (prefers-color-scheme: light) { .eyebrow { color: #5341c9; } }
.table-wrap:focus-visible { outline-offset: 2px; }
