﻿/* Can TV landing — single stylesheet, mobile-first, zero external requests. */
:root {
  --bg: #060713;
  --bg-2: #0a0c18;
  --panel: #0d1020;
  --panel-2: #111528;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef1f8;
  --dim: #9aa3bb;
  --dim-2: #6f7893;
  --gold: #ff9933;
  --gold-2: #ffb347;
  --red: #ff4d4f;
  --green: #22c55e;
  --max: 1120px;
  --pad: 16px;
  --gap: 12px;
  --card-w: clamp(142px, 42vw, 178px);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .9);
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 12% -8%, rgba(255, 153, 51, .13), transparent 62%),
    radial-gradient(900px 480px at 92% 0%, rgba(88, 101, 242, .16), transparent 58%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.rail-inset { padding-left: max(var(--pad), calc((100vw - var(--max)) / 2)); }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(6, 7, 19, .72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 16px;
}
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.brand span { background: linear-gradient(92deg, #fff, #ffd9ae); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-spacer { flex: 1 1 auto; }
.nav-links { display: none; gap: 18px; font-size: 13.5px; color: var(--dim); }
.nav-links a:hover { color: var(--text); }
.lang-select {
  appearance: none;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text);
  font-size: 12.5px;
  padding: 6px 26px 6px 12px;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 14px) 12px, calc(100% - 9px) 12px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .16s ease, filter .16s ease;
}
.btn:active { transform: scale(.985); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #ff7a3d);
  color: #1a0f03;
  box-shadow: 0 12px 26px -14px rgba(255, 138, 61, .95);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-2);
  color: var(--text);
}
.nav .btn { padding: 9px 15px; font-size: 13px; }
.nav-cta { display: none; }

/* ----------------------------------------------------------------- hero */
.hero { position: relative; padding-top: 10px; }
.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  touch-action: pan-y;
}
.hero-track { display: flex; width: 100%; transition: transform .62s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.hero-slider.no-anim .hero-track { transition: none; }
.hero-slide { flex: 0 0 100%; min-width: 100%; display: flex; flex-direction: column; }
.hero-media { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #090b15; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
/* scrim: keeps white type readable on any still */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 7, 19, .34) 0%, rgba(6, 7, 19, .04) 32%, rgba(6, 7, 19, .52) 72%, rgba(6, 7, 19, .97) 100%);
}
.hero-copy { position: relative; padding: 14px 15px 18px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffc46b;
  font-weight: 800;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .65);
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(255, 77, 79, .22); }
.hero h1,
.hero .hero-title {
  margin: 9px 0 8px;
  font-size: clamp(22px, 6vw, 38px);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .68), 0 1px 2px rgba(0, 0, 0, .5);
}
.hero .hero-sub { color: #cfd7ea; font-size: 13.5px; max-width: 46ch; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: -1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.hero-stats div { background: var(--panel); padding: 12px 8px; text-align: center; }
.hero-stats b { display: block; font-size: 16px; letter-spacing: -.01em; color: #fff; }
.hero-stats span { font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }

/* carousel controls: dots + progress + arrows, always visible on both breakpoints */
.hero-bar { display: flex; align-items: center; gap: 12px; padding: 12px 2px 0; }
.hero-dots { display: flex; gap: 2px; }
.hero-dots button {
  width: 22px; height: 22px; padding: 8px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .26); background-clip: content-box;
  transition: width .22s ease, background .22s ease;
}
.hero-dots button[aria-current="true"] { width: 34px; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); background-clip: content-box; }
.hero-progress { position: relative; flex: 0 0 120px; height: 2px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.hero-progress i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.hero-arrows { display: flex; gap: 8px; flex: 0 0 auto; margin-left: auto; }
.hero-arrow {
  width: 36px; height: 36px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06);
  color: #fff; display: grid; place-items: center; font-size: 17px; line-height: 1;
  transition: background .16s ease, border-color .16s ease;
}
.hero-arrow:hover { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .3); }

/* ------------------------------------------------------------- sections */
.cat-section { padding: 26px 0 4px; scroll-margin-top: 72px; }
.cat-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 0 var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.cat-head h2 {
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-head h2 .emoji { font-size: 16px; }
.cat-head .badge-row { display: inline-flex; gap: 6px; }
.pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 153, 51, .16);
  color: var(--gold-2);
  border: 1px solid rgba(255, 153, 51, .3);
  text-transform: uppercase;
}
.see-all { padding: 4px 0; margin-left: auto; font-size: 12.5px; color: var(--gold-2); font-weight: 700; white-space: nowrap; }
.cat-sub {
  padding: 3px var(--pad) 12px;
  max-width: var(--max);
  margin: 0 auto;
  color: var(--dim-2);
  font-size: 12px;
}

/* ---------------------------------------------------------------- rails
   Continuous marquee: the track is duplicated in JS and translated every
   frame, so there is never an empty slot and never a visible seam. */
.rail { position: relative; overflow: hidden; padding-left: var(--pad); touch-action: pan-y; }
.rail-track {
  display: flex;
  gap: var(--gap);
  padding-bottom: 4px;
  will-change: transform;
  flex-shrink: 0;
  align-items: stretch;
}
.rail.no-anim { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: auto; }
.rail.no-anim::-webkit-scrollbar { display: none; }
.rail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 6px;
  width: 26px;
  pointer-events: none;
  background: linear-gradient(270deg, rgba(6, 7, 19, 0), rgba(6, 7, 19, .85));
  z-index: 3;
}
.rail::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 6px;
  width: 34px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 7, 19, 0), rgba(6, 7, 19, .9));
}

.card {
  display: flex;
  flex-direction: column;
  color: inherit;
  flex: 0 0 var(--card-w);
  width: var(--card-w);
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-2px); border-color: rgba(255, 153, 51, .4); box-shadow: 0 18px 34px -22px rgba(0, 0, 0, .95); }
.card:active { transform: scale(.99); }
.card .thumb { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: var(--panel-2); }
.card .thumb::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 26%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 7, 19, 0), rgba(6, 7, 19, .5));
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .thumb img { transform: scale(1.05); }
.card .badge {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 7px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .05em;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(4px);
  color: #fff;
  text-transform: uppercase;
}
.card .badge.hot { background: rgba(255, 106, 61, .92); }
.card .badge.live { background: rgba(220, 38, 38, .9); }
.card .badge.new { background: rgba(34, 197, 94, .9); color: #04140a; }
.card .badge.adult { background: rgba(255, 153, 51, .94); color: #1a0f03; }
.card-body { padding: 8px 9px 10px; }
.card-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: #f2f5fc;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  margin-top: 3px;
  font-size: 10.5px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ------------------------------------------------------------- promo box */
.promo-panel {
  margin: 28px auto 6px;
  max-width: var(--max);
  padding: 0 var(--pad);
}
.promo-inner {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(620px 300px at 88% -20%, rgba(255, 153, 51, .22), transparent 60%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  padding: 20px 18px;
  overflow: hidden;
}
.promo-inner h2 { font-size: 19px; margin: 8px 0 6px; letter-spacing: -.01em; }
.promo-inner .lead { color: var(--dim); font-size: 13px; }
.promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.promo-tile { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; }
.promo-tile b { display: block; font-size: 13px; margin-bottom: 3px; }
.promo-tile span { font-size: 11.5px; color: var(--dim-2); }
.promo-tile .ico { font-size: 17px; display: block; margin-bottom: 6px; }
.promo-cta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.promo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: 11px; color: var(--dim); }
.promo-chips span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; }

/* -------------------------------------------------------------- highlights */
.highlights { padding: 34px 0 4px; }
.section-title { text-align: center; padding: 0 var(--pad); margin-bottom: 18px; }
.section-title h2 { font-size: 20px; letter-spacing: -.01em; }
.section-title p { color: var(--dim-2); font-size: 12.5px; margin-top: 5px; }
.hi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.hi {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  padding: 14px 13px;
}
.hi .ico { font-size: 18px; }
.hi h3 { font-size: 13.5px; margin: 8px 0 4px; }
.hi p { font-size: 11.5px; color: var(--dim-2); }

/* ----------------------------------------------------------------- compare */
.compare { padding: 34px 0 6px; }
.cmp-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.cmp {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12.5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.cmp th, .cmp td { padding: 11px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { background: rgba(255, 255, 255, .04); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.cmp td:first-child { color: var(--dim); }
.cmp .us { color: #fff; font-weight: 700; background: rgba(255, 153, 51, .09); }

/* ---------------------------------------------------------------- install */
.install { padding: 34px 0 8px; }
.steps { display: grid; gap: 10px; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.step { display: flex; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 14px; background: var(--panel); }
.step .num {
  flex: 0 0 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
  background: rgba(255, 153, 51, .16); color: var(--gold-2); border: 1px solid rgba(255, 153, 51, .34);
}
.step b { font-size: 13.5px; display: block; margin-bottom: 3px; }
.step span { font-size: 12px; color: var(--dim-2); }
.spec { max-width: var(--max); margin: 14px auto 0; padding: 0 var(--pad); }
.spec table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.spec td { padding: 9px 4px; border-bottom: 1px dashed var(--line); }
.spec td:first-child { color: var(--dim-2); width: 42%; }
.spec td:last-child { text-align: right; font-weight: 600; }

/* ------------------------------------------------------------------ share */
.share { padding: 34px 0 8px; }
.share-card {
  max-width: var(--max); margin: 0 auto; padding: 18px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
}
.share-card h2 { font-size: 17px; }
.share-card .lead { color: var(--dim); font-size: 12.5px; margin-top: 5px; }
.progress { margin: 14px 0 10px; }
.progress .bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 99px; }
.progress .txt { font-size: 11.5px; color: var(--dim-2); margin-bottom: 6px; display: flex; justify-content: space-between; }
.share-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.share-btns a, .share-btns button {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255, 255, 255, .04);
  padding: 10px; font-size: 12.5px; font-weight: 600;
}
.share-link { margin-top: 12px; font-size: 12px; color: var(--dim); word-break: break-all; }
.share-link b { color: var(--gold-2); }

/* -------------------------------------------------------------------- faq */
.faq { padding: 34px 0 10px; }
.faq-list { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; gap: 8px; }
.faq-list details {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--panel); padding: 13px 15px;
}
.faq-list summary { cursor: pointer; font-weight: 700; font-size: 13.5px; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold-2); font-weight: 800; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin-top: 9px; font-size: 12.5px; color: var(--dim); }

/* ----------------------------------------------------------------- footer */
.footer { margin-top: 34px; border-top: 1px solid var(--line); padding: 22px 0 26px; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: flex; flex-direction: column; gap: 12px; }
.footer-inner p { font-size: 12px; color: var(--dim-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 12px; color: var(--dim); }
.footer-links a { padding: 4px 0; }
.adult-note { font-size: 10.5px; color: var(--dim-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }

/* --------------------------------------------------------------- sticky cta */
.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 45;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(6, 7, 19, 0), rgba(6, 7, 19, .94) 42%);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.sticky-cta .inner { display: flex; align-items: center; gap: 12px; max-width: var(--max); margin: 0 auto; }
.sticky-cta .txt { min-width: 0; }
.sticky-cta b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta span { font-size: 10.5px; color: var(--dim-2); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta .btn { margin-left: auto; flex: 0 0 auto; }

/* ----------------------------------------------------------------- modals */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(2, 3, 9, .72);
  backdrop-filter: blur(4px);
  padding: 0;
}
.overlay.open { display: flex; }
.sheet {
  width: 100%;
  max-width: 520px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 18px 18px 0 0;
  padding: 18px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  animation: sheetUp .24s ease;
  max-height: 92vh;
  overflow-y: auto;
}
@keyframes sheetUp { from { transform: translateY(14px); opacity: .6; } to { transform: none; opacity: 1; } }
.sheet h3 { font-size: 17px; margin-bottom: 4px; }
.sheet .sub { color: var(--dim); font-size: 12.5px; }
.sheet .rows { display: grid; gap: 9px; margin: 14px 0; }
.sheet .row { display: flex; gap: 10px; font-size: 12.5px; color: var(--dim); }
.sheet .row b { color: var(--text); font-weight: 700; }
.sheet .row .num {
  flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; background: rgba(255, 153, 51, .16); color: var(--gold-2);
}
.sheet .actions { display: grid; gap: 8px; }
.sheet .actions .btn { width: 100%; }
.sheet .link-btn { background: none; border: 0; color: var(--dim); font-size: 12.5px; text-decoration: underline; padding: 8px; }
.sheet .toast { text-align: center; font-size: 12px; color: var(--green); min-height: 18px; }

/* ---------------------------------------------------------------- desktop */
@media (min-width: 640px) {
  :root { --card-w: 168px; --gap: 14px; }
  .hero-copy { padding: 20px 22px 24px; }
  .promo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .share-btns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1024px) {
  :root { --card-w: 178px; }
  .nav-inner { height: 66px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .hero-slide { position: relative; display: block; min-height: 420px; }
  .hero-media { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero-media img { object-position: 70% center; }
  /* cinematic left-to-right scrim so the copy column always has contrast */
  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(4, 5, 14, .97) 0%, rgba(4, 5, 14, .92) 26%, rgba(4, 5, 14, .6) 48%, rgba(4, 5, 14, .1) 74%, rgba(4, 5, 14, .42) 100%),
      linear-gradient(180deg, rgba(4, 5, 14, .46) 0%, rgba(4, 5, 14, 0) 26%, rgba(4, 5, 14, .5) 100%);
  }
  .hero-copy { position: relative; padding: 50px 48px 44px; max-width: 640px; }
  .hero .hero-sub { font-size: 15px; }
  .hero-bar { padding: 14px 2px 0; }
  .cat-head h2 { font-size: 20px; }
  .cat-head, .cat-sub, .hi-grid, .promo-panel, .steps, .spec { padding-inline: 0; }
  /* Rails stay rails on desktop: shell width, marquee keeps running */
  .rail { max-width: var(--max); margin: 0 auto; padding-left: 0; }
  .rail-track { gap: 16px; }
  .sticky-cta { display: none; }
  .sheet { border-radius: 18px; align-self: center; }
  .overlay { align-items: center; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-track, .card, .btn { transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* accessible focus */
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; border-radius: 6px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* keep the scroll fade above the poster track */
.rail::after { z-index: 3; }



/* reserve room for the fixed-ish bottom CTA without leaving a gap after it */
main { padding-bottom: 12px; }
@media (max-width: 1023px) {
  /* the copy sits under the still on phones: keep the scrim light and short */
  .hero-media::after {
    background: linear-gradient(180deg, rgba(6, 7, 19, .2) 0%, rgba(6, 7, 19, 0) 42%, rgba(6, 7, 19, .58) 100%);
  }
  .hero-copy { padding: 12px 14px 16px; }
  .hero h1, .hero .hero-title { font-size: clamp(20px, 5.8vw, 34px); margin: 8px 0 6px; }
  .hero .hero-sub { font-size: 13px; }
  .hero-actions { margin-top: 14px; gap: 8px; }
  .hero-actions .btn { padding: 10px 15px; font-size: 13.5px; flex: 0 1 auto; min-width: 0; }
  .hero-stats div { padding: 10px 6px; }
}

@media (max-width: 1023px) { main { padding-bottom: 78px; } }

/* ---------------------------------------------------------- dl-missing toast */
/* Shown when the site has no enabled download link yet: the CTAs still render
   (so the layout looks finished) but tapping one explains why no file starts.
   Deliberately boring: no transform (a transformed fixed element is a classic
   "computed style says visible, nothing paints" trap), no opacity transition to
   depend on, and a z-index no page layer can outrank. */
.dl-toon {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  margin: 0 auto;
  width: fit-content;
  max-width: min(88vw, 420px);
  z-index: 2147483000;
  padding: 12px 20px;
  border-radius: 999px;
  background: #14141f;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  visibility: hidden;
}
.dl-toon.is-on {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 1023px) {
  .dl-toon { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
}