/* MCT Player site. See DESIGN.md (next to the site folder).
   Direction: "the living room at night". The page is a dark room; the app's
   own screens are the light source and cast a soft glow of their colors.
   Palette = the app's theme tokens. Body type is Atkinson Hyperlegible, drawn
   for low-vision readers, because many MCT users are older. */
:root {
  --ink: #0E1116;
  --deep: #090B0F;
  --band: #11151B;
  --panel: #151A21;
  --raised: #1D242E;
  --line: #262E39;
  --line-2: #323B48;
  --text: #F4F6F8;
  --muted: #A3ACB9;
  --accent: #FF8A3D;
  --accent-hi: #FFA163;
  --accent-ink: #2A1305;
  --c-live: 76, 141, 255;
  --c-film: 255, 138, 61;
  --c-series: 155, 123, 255;
  --c-fav: 47, 199, 154;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1240px;
  --r-sm: 12px;
  --r-tile: 24px;
  --stage-shadow: 0 40px 100px -30px rgba(0, 0, 0, .85);
  --hi: inset 0 1px 0 rgba(255, 255, 255, .05);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; background: var(--ink); }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 19px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Arabic: system font, and never letter-spacing (it breaks the joined letters) */
html[dir="rtl"] body, html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] .brand, html[dir="rtl"] .foot-brand { font-family: 'Segoe UI', Tahoma, system-ui, sans-serif; letter-spacing: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 860px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; inset-inline-start: 8px; top: 8px; transform: translateY(-300%); transition: transform .15s; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { transform: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: var(--r-sm); font-weight: 700; font-size: 18px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(255, 138, 61, .65), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover { background: var(--accent-hi); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--muted); background: rgba(255, 255, 255, .06); }
.btn-lg { padding: 17px 30px; font-size: 19px; border-radius: 14px; }
.btn-sm { padding: 9px 18px; font-size: 17px; }

/* Header */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(14, 17, 22, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(14, 17, 22, .9); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; flex: none; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.01em; }
.brand img { border-radius: 10px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-size: 17px; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-right { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 8px; min-height: 46px; min-width: 46px; justify-content: center; padding: 9px 14px; border-radius: 10px; background: none; border: 1px solid var(--line-2); cursor: pointer; font-size: 16px; color: var(--muted); }
.lang-btn:hover { color: var(--text); }
.lang-list {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 190px; margin: 0; padding: 6px; list-style: none;
  background: var(--raised); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); display: none;
}
.lang.open .lang-list { display: block; }
.lang-list li { padding: 11px 14px; border-radius: 8px; cursor: pointer; font-size: 17px; }
.lang-list li:hover, .lang-list li:focus-visible { background: var(--panel); }
.lang-list li[aria-selected="true"] { color: var(--accent); }
.nav-acc { gap: 8px; }
.nav-acc i { color: var(--muted); }
.nav-links .only-menu { display: none; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); background: none; border-radius: 10px; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); transition: .2s; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* Hero */
.hero { padding: 156px 0 96px; position: relative; overflow-x: clip; isolation: isolate; }
.hero::before {
  /* warm light from above, as if a lamp is on in the room */
  content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -2; pointer-events: none;
  background: radial-gradient(50% 60% at 72% 10%, rgba(255, 138, 61, .13), transparent 70%),
              radial-gradient(40% 50% at 10% 0%, rgba(76, 141, 255, .07), transparent 70%);
}
.hero-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 72px; align-items: end; }
.version {
  display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 17px;
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
}
.version b { color: var(--text); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 138, 61, .2); }
.hero h1 { font-size: clamp(52px, 7.6vw, 108px); line-height: .95; letter-spacing: -.04em; margin-top: 24px; }
.lead { font-size: clamp(19px, 1.7vw, 22px); color: var(--muted); max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* The stage: TV + phone, lit by the screen's own colors */
.stage { position: relative; margin-top: 80px; padding-bottom: 44px; isolation: isolate; }
.glow {
  position: absolute; z-index: -1; left: 2%; top: 8%; width: 84%; height: 84%; object-fit: cover;
  filter: blur(90px) saturate(2); opacity: .72; pointer-events: none; transform: scale(1.04);
}
.tv-3d { width: 84%; perspective: 2200px; }
.tv { margin: 0; position: relative; transform: rotateY(-11deg) rotateX(4deg); transform-origin: 0 50%; transform-style: preserve-3d; }
.tv::after {
  /* shadow of the stand on the floor */
  content: ""; position: absolute; left: 30%; right: 30%; bottom: -34px; height: 20px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); z-index: -1;
}
.screen, .compare {
  position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden;
  border: 10px solid #07080B; border-radius: 18px;
  box-shadow: 0 0 0 1px #2E3540, inset 0 0 0 1px rgba(255, 255, 255, .04), var(--stage-shadow);
}
.compare { user-select: none; touch-action: pan-y; }
.screen img, .compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-old { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--accent); pointer-events: none; box-shadow: 0 0 24px rgba(255, 138, 61, .8); }
.cmp-line span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 20px;
  box-shadow: 0 0 0 6px rgba(255, 138, 61, .25), 0 8px 24px rgba(0, 0, 0, .5);
}
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare:has(.cmp-range:focus-visible) { outline: 3px solid var(--accent); outline-offset: 4px; }
.cmp-tag { position: absolute; bottom: 16px; padding: 6px 14px; border-radius: 8px; font-size: 16px; font-weight: 700; background: rgba(9, 11, 15, .85); pointer-events: none; }
.tag-old { left: 16px; }
.tag-new { right: 16px; color: var(--accent); }

/* Phone frame. The screenshots carry real status-bar and home-indicator
   space, so the rounded corners never cut the bottom menu labels. */
.phone {
  padding: 7px; border-radius: 34px; background: #040507;
  box-shadow: 0 0 0 1px #3A424E, inset 0 0 0 1px rgba(255, 255, 255, .06), var(--stage-shadow);
}
.phone img { border-radius: 27px; width: 100%; }
.hero-phone { position: absolute; right: 1%; bottom: 0; width: 19%; max-width: 236px; z-index: 2; transform: rotate(3deg); }

/* Small floating cards over the stage, like the app's own toasts */
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px;
  border-radius: 18px; background: rgba(21, 26, 33, .82); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .8), var(--hi); font-size: 17px;
}
.chip-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 16px; }
.chip-b .chip-ico { background: rgba(155, 123, 255, .18); color: #B9A4FF; }
.chip-txt { display: flex; flex-direction: column; gap: 9px; }
.chip b { white-space: nowrap; }
.bar { display: block; width: 100%; min-width: 180px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.bar i { display: block; width: 62%; height: 100%; background: var(--accent); border-radius: 3px; }
.chip-a { left: -1%; bottom: 4%; }
.chip-b { left: 52%; top: -4%; }
.hint { margin-top: 26px; color: var(--muted); font-size: 17px; }
.hint i { color: var(--accent); margin-inline-end: 6px; }
.os-row { display: flex; flex-wrap: wrap; gap: 10px 30px; list-style: none; margin: 44px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 17px; }
.os-row li { display: flex; align-items: center; gap: 9px; }
.os-row i { color: var(--text); font-size: 20px; }

/* Sections */
.section { padding: 128px 0; position: relative; }
.band { background: linear-gradient(180deg, var(--band), var(--ink)); border-top: 1px solid var(--line); }
.sec-head { max-width: 760px; }
.sec-title { font-size: clamp(38px, 4.8vw, 62px); line-height: 1.02; letter-spacing: -.035em; }
.sec-lead { color: var(--muted); font-size: 21px; margin-top: 18px; max-width: 620px; }
.sec-lead b { color: var(--text); }

/* Tinted icon wells, colors from the app's home cards */
.well {
  --c: var(--c-film); flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 21px;
  color: rgb(var(--c)); background: rgba(var(--c), .14); box-shadow: inset 0 0 0 1px rgba(var(--c), .25);
}
.w-live { --c: var(--c-live); }
.w-film { --c: var(--c-film); }
.w-series { --c: var(--c-series); }
.w-fav { --c: var(--c-fav); }

/* What changed: bento of real screens, each tile a different shape */
.bento { margin-top: 72px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-tile);
  background: linear-gradient(180deg, #171C24, #12161C); border: 1px solid var(--line); box-shadow: var(--hi);
}
.tile-copy { padding: 40px 40px 0; position: relative; z-index: 1; }
.tile-copy .well { margin-bottom: 22px; }
.tile h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.025em; margin-bottom: 14px; }
.tile p { color: var(--muted); max-width: 560px; }
.tile-compare { margin-top: auto; padding: 32px 40px 0; }
.tile-compare .compare { border-width: 6px; border-radius: 14px; }
.tile .hint { padding: 18px 40px 36px; margin: 0; }
.tile-shot { margin: auto 0 0; padding: 36px 0 0; padding-inline-start: 40px; }
.tile-shot img {
  width: 100%; border-start-start-radius: 14px; border-top: 1px solid var(--line-2); border-inline-start: 1px solid var(--line-2);
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .8);
}
.t-home { grid-column: span 7; }
.t-phone { grid-column: span 5; }
.t-player { grid-column: span 12; }
.t-edit { grid-column: span 7; }
.t-icon { grid-column: span 5; }

.t-phone { background: radial-gradient(70% 45% at 50% 100%, rgba(255, 138, 61, .16), transparent 70%), linear-gradient(180deg, #171C24, #12161C); }
.phone-dock {
  flex: 1 0 400px; display: flex; align-items: flex-end; justify-content: center; padding: 36px 24px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%); mask-image: linear-gradient(to bottom, transparent, #000 22%);
}
.phone-dock .phone { width: min(300px, 82%); flex: none; padding-bottom: 0; border-radius: 34px 34px 0 0; }
.phone-dock .phone img { border-radius: 27px 27px 0 0; }

.t-player { min-height: 560px; justify-content: center; background: #050608; }
.tile-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.t-player::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(9, 11, 15, .96) 0%, rgba(9, 11, 15, .88) 38%, rgba(9, 11, 15, .2) 75%, transparent);
}
html[dir="rtl"] .t-player::before { background: linear-gradient(270deg, rgba(9, 11, 15, .96) 0%, rgba(9, 11, 15, .88) 38%, rgba(9, 11, 15, .2) 75%, transparent); }
.t-player .tile-copy { padding: 56px; max-width: 640px; }
.t-player p { color: #C3CAD4; }
.modes { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.modes li { padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); font-weight: 700; font-size: 17px; color: var(--text); }
.note { margin-top: 18px; font-size: 17px; }

.t-icon { background: radial-gradient(60% 50% at 50% 78%, rgba(255, 138, 61, .2), transparent 70%), linear-gradient(180deg, #171C24, #12161C); }
.icons { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 28px; padding: 40px 24px 44px; }
.icon-old, .icon-new { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--muted); font-weight: 700; font-size: 17px; }
.icon-old img { width: 84px; opacity: .8; filter: saturate(.7); }
.icon-new img { width: 150px; filter: drop-shadow(0 18px 30px rgba(255, 138, 61, .3)); }
.icon-new span { color: var(--accent); }
.icon-arrow { font-size: 26px; color: var(--muted); }

.fixes {
  margin-top: 20px; padding: 40px; border-radius: var(--r-tile); border: 1px solid var(--line); background: var(--band);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 56px; align-items: start;
}
.fixes h3 { font-size: 26px; letter-spacing: -.02em; }
.fixes ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; }
.fixes li { padding-inline-start: 34px; position: relative; color: var(--muted); }
.fixes li::before { content: "\f00c"; font: var(--fa-font-solid); position: absolute; inset-inline-start: 0; top: 5px; color: var(--accent); font-size: 17px; }

/* Features */
.feats { margin: 72px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 40px; }
.feats dt { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; font-weight: 700; font-size: 21px; line-height: 1.25; }
.feats dd { margin: 8px 0 0; color: var(--muted); }

/* Gallery: big screens */
.gallery { margin-top: 72px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.g-main { grid-column: 1 / -1; }
.g-item {
  position: relative; padding: 0; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; cursor: zoom-in; background: #000;
  aspect-ratio: 16 / 9; box-shadow: var(--stage-shadow); text-align: start;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.g-item:hover img { transform: scale(1.02); }
.g-item > span {
  position: absolute; inset-inline-start: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 10px; background: rgba(9, 11, 15, .88); font-size: 17px;
}
.g-item > span i { color: var(--accent); }

/* Download */
.download { padding-top: 40px; }
.dl-panel {
  position: relative; overflow: hidden; padding: 72px; border-radius: 32px; border: 1px solid var(--line-2); box-shadow: var(--hi);
  background: radial-gradient(60% 70% at 100% 0%, rgba(255, 138, 61, .2), transparent 65%),
              radial-gradient(50% 60% at 0% 100%, rgba(76, 141, 255, .08), transparent 70%), var(--panel);
}
.dl-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dl {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 18px 20px;
  border-radius: 18px; background: rgba(9, 11, 15, .55); border: 1px solid var(--line-2); transition: border-color .15s, background .15s, transform .15s;
}
.dl:hover { border-color: var(--accent); background: rgba(9, 11, 15, .8); transform: translateY(-2px); }
.dl > i { font-size: 28px; width: 58px; height: 58px; border-radius: 14px; background: var(--raised); display: grid; place-items: center; box-shadow: var(--hi); }
.dl-text { display: flex; flex-direction: column; min-width: 0; }
.dl-name { font-weight: 700; font-size: 20px; }
.dl-note { color: var(--muted); font-size: 16px; }
.dl-code { margin-top: 6px; font-size: 16px; color: var(--muted); }
.dl-code b { font-size: 22px; color: var(--accent); letter-spacing: .06em; margin-inline-start: 6px; }
.dl-go { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 11px; background: rgba(255, 138, 61, .14); box-shadow: inset 0 0 0 1px rgba(255, 138, 61, .4); color: var(--accent); font-weight: 700; font-size: 17px; white-space: nowrap; transition: background .15s, color .15s; }
.dl:hover .dl-go, .dl:focus-visible .dl-go, .dl.featured .dl-go { background: var(--accent); color: var(--accent-ink); }
.dl.featured { border-color: rgba(255, 138, 61, .55); }

.steps { list-style: none; counter-reset: s; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.steps li { counter-increment: s; position: relative; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 18px;
  font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--accent); background: rgba(255, 138, 61, .12); box-shadow: inset 0 0 0 1px rgba(255, 138, 61, .35);
}
.steps h3 { font-size: 23px; margin-bottom: 6px; }
.steps p { color: var(--muted); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px 72px; align-items: start; }
.faq-wrap .sec-title { position: sticky; top: 120px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 0; font-weight: 700; font-size: 21px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-size: 26px; font-weight: 400; color: var(--accent); background: rgba(255, 138, 61, .1); line-height: 1; transition: transform .2s;
}
.faq summary:hover::after { background: rgba(255, 138, 61, .2); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 28px; color: var(--muted); max-width: 680px; }
.faq b { color: var(--text); letter-spacing: .06em; }

/* Closing */
.closing { padding: 128px 0 104px; text-align: center; position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.closing::before {
  content: ""; position: absolute; left: 50%; top: 40px; width: 760px; max-width: 100%; height: 460px; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 138, 61, .2), transparent);
}
.closing-icon { width: 128px; margin: 0 auto 32px; border-radius: 30px; box-shadow: 0 30px 60px -20px rgba(255, 138, 61, .5), 0 0 0 1px rgba(255, 255, 255, .08); }
.closing h2 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -.035em; line-height: 1.02; margin-bottom: 34px; }
.legal { margin: 64px auto 0; max-width: 760px; color: var(--muted); font-size: 16px; }

.footer { border-top: 1px solid var(--line); padding: 36px 0; background: var(--deep); }
.foot-in { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 36px; }
.foot-brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 19px; }
.foot-brand img { border-radius: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; }
.foot-links a { color: var(--muted); font-size: 17px; display: inline-block; padding: 10px 0; }
.foot-links a:hover { color: var(--text); }
.copy { margin-inline-start: auto; color: var(--muted); font-size: 16px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 7, 10, .95); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 14px; box-shadow: var(--stage-shadow); }
.lb-close { position: absolute; top: 18px; inset-inline-end: 18px; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--raised); cursor: pointer; font-size: 22px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .dl, .g-item img { transition: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-head { grid-template-columns: 1fr; }
  .lead { max-width: 640px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chip-b { display: none; }
  .t-home, .t-player, .t-edit { grid-column: 1 / -1; }
  .t-phone, .t-icon { grid-column: span 1; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fixes, .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .sec-title { position: static; }
  .dl-panel { padding: 56px 40px; }
  .dl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; padding: 10px 20px 22px;
    background: var(--ink); border-bottom: 1px solid var(--line); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 8px; font-size: 20px; color: var(--text); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links .only-menu { display: block; }
  .nav-links .only-menu i { color: var(--accent); width: 26px; }
  .menu-btn { display: block; }
  .nav-reg { display: none; }
}
@media (max-width: 860px) {
  .section { padding: 96px 0; }
  .download { padding-top: 24px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .fixes ul { grid-template-columns: 1fr; }
  .t-player { min-height: 0; }
  .tile-bg { position: static; height: auto; aspect-ratio: 1600 / 520; order: 2; }
  .t-player::before { display: none; }
  .t-player .tile-copy { padding: 40px 40px 32px; max-width: none; }
}
@media (max-width: 700px) {
  .bento { grid-template-columns: 1fr; }
  .t-phone, .t-icon { grid-column: 1 / -1; }
  .gallery { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; gap: 32px; }
  .feats dt { flex-direction: row; align-items: center; }
}
@media (max-width: 560px) {
  body { font-size: 18px; }
  .wrap { padding: 0 18px; }
  .nav-in { gap: 8px; }
  .brand { font-size: 18px; gap: 9px; }
  .brand img { width: 34px; height: 34px; }
  .lang-btn span { display: none; }
  .nav-acc { display: none; }
  .hero { padding: 116px 0 64px; }
  .version { font-size: 16px; }
  .cta .btn { width: 100%; }
  .stage { margin-top: 48px; padding-bottom: 28px; }
  .tv-3d { display: none; }
  .hero-phone { display: block; position: relative; right: auto; margin: 0 auto; width: 68%; max-width: 270px; transform: none; }
  .chip { display: none; }
  .tile-compare { padding: 24px 18px 0; }
  .tile .hint { padding: 14px 24px 28px; font-size: 16px; }
  .compare { border-width: 5px; border-radius: 10px; }
  .cmp-line span { width: 44px; height: 44px; font-size: 17px; }
  .cmp-tag { font-size: 14px; bottom: 8px; padding: 4px 10px; }
  .tag-old { left: 8px; } .tag-new { right: 8px; }
  .os-row { gap: 10px 22px; font-size: 16px; }
  .sec-lead { font-size: 19px; }
  .tile-copy { padding: 28px 24px 0; }
  .tile-shot { padding-inline-start: 24px; padding-top: 28px; }
  .t-player .tile-copy { padding: 28px 24px 24px; }
  .phone-dock { flex-basis: 360px; }
  .icons { gap: 18px; }
  .icon-old img { width: 64px; } .icon-new img { width: 112px; }
  .fixes { padding: 28px 24px; }
  .g-item > span { inset-inline-start: 10px; bottom: 10px; padding: 6px 12px; font-size: 16px; }
  .dl-panel { padding: 40px 18px; border-radius: 24px; }
  .dl { grid-template-columns: 50px minmax(0, 1fr); padding: 16px; }
  .dl > i { width: 50px; height: 50px; font-size: 24px; }
  .dl-go { grid-column: 1 / -1; justify-content: center; }
  .faq summary { font-size: 19px; }
  .closing { padding: 96px 0 80px; }
  .copy { margin-inline-start: 0; width: 100%; }
}

/* Privacy page */
.policy { padding: 150px 0 110px; }
.policy h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; letter-spacing: -.03em; }
.policy .lead { margin-top: 22px; color: var(--muted); font-size: 21px; }
.summary { margin: 44px 0 64px; padding: 30px 32px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); border-inline-start: 4px solid var(--accent); }
.summary h2 { font-size: 24px; margin-bottom: 18px; }
.summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.summary li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; font-size: 19px; }
.summary li i { color: var(--accent); font-size: 20px; margin-top: 4px; text-align: center; }
.pol-sec { padding: 40px 0; border-top: 1px solid var(--line); }
.pol-sec h2 { font-size: clamp(26px, 3vw, 32px); margin-bottom: 20px; letter-spacing: -.02em; }
.pol-sec p { color: #C9D0D9; }
.pol-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 26px; }
.pol-list li { color: #C9D0D9; }
.pol-list strong { display: block; color: var(--text); font-size: 20px; margin-bottom: 6px; }
.agree { margin: 16px 0 36px; padding-top: 32px; border-top: 1px solid var(--line); font-weight: 700; }
html[dir="rtl"] .rtl-mirror { transform: scaleX(-1); }
@media (max-width: 560px) {
  .policy { padding: 112px 0 80px; }
  .policy .lead { font-size: 19px; }
  .summary { padding: 22px 20px; margin: 32px 0 44px; }
  .home-link span { display: none; }
  .policy .btn-lg { width: 100%; justify-content: center; }
}
