:root {
  --bg-0: #050b1a;
  --bg-1: #0b1020;
  --bg-2: #0a0e1b;
  --ink: #f5f7fc;
  --muted: #e7e7e7;
  --soft: #bfbcbc;
  --label: #8895af;
  --line: #232d40;
  --card: #111b2f;
  --panel: #0e1422;
  --accent-a: #4451c1;
  --accent-b: #196eed;
  --footer: #060c1b;
  --link: #4451c1;
  --max: 1280px;
  --font: "Vazirmatn", "IRANYekan", sans-serif;
  --latin: "Inter", "Vazirmatn", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--font);
  background: linear-gradient(90deg, var(--bg-0), var(--bg-1) 55%, var(--bg-2));
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, p { margin: 0; }

.grad {
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ig-tip {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #152238;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #e6dfdf;
  font-size: 14px;
  line-height: 1.6;
}

.ig-tip p {
  margin: 0;
  flex: 1;
}

.ig-tip-close {
  flex: none;
  width: 32px;
  height: 32px;
  margin: -4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #bfbcbc;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.ig-tip-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 11, 26, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(35, 45, 64, 0.7);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 48px));
  height: 96px;
  margin: 0 auto;
}

.nav-start {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-tab {
  color: #c5cddc;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-tab:hover {
  color: #fff;
}

.nav-tab[aria-current="page"],
.nav-tab[aria-current="page"]:hover {
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  position: relative;
  width: 36px;
  height: 36px;
  flex: none;
}

.logo-mark img { position: absolute; }
.logo-mark img:first-child { inset: 0; width: 36px; height: 36px; }
.mark-a { top: 2px; left: 13px; width: 20px; height: 14px; }
.mark-b { top: 5px; left: 2px; width: 6px; height: 25px; }
.mark-c { top: 11px; left: 15px; width: 10px; height: 13px; }
.mark-d { top: 19px; left: 13px; width: 20px; height: 14px; }

.logo-word {
  font-size: 22px;
  font-weight: 500;
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-lg .logo-word { font-size: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 51px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  color: #f5f7fc;
  font: 500 16px/1 var(--font);
  cursor: pointer;
}

.btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: none;
}

.download-actions .btn-primary img {
  width: 29px;
  height: 29px;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
}

.btn-secondary {
  border: 1px solid var(--line);
  background: var(--panel);
  color: #f5f7fc;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: #141c2e;
}

.btn-guide-current {
  width: 168px;
  border: 1px solid var(--accent-a);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(9px);
}

.btn-guide-current span {
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.guide {
  position: relative;
  overflow: clip;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 48px 80px 96px;
}

.guide-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(947px, 100%);
  margin-right: 0;
  margin-left: auto;
  text-align: right;
}

.guide h1 {
  margin-top: 26px;
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

.guide-lead {
  width: 100%;
  margin-top: 28px;
  color: #878787;
  font-size: 22px;
  font-weight: 400;
  text-align: right;
}

.device-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 33px 39px;
  width: min(1241px, 100%);
  margin: 48px 0 0 auto;
}

.device-card {
  position: relative;
  width: 281px;
  height: 174px;
  padding: 13px 26px;
  overflow: hidden;
  border: 1.3px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: border-color 0.18s ease;
}

.device-card::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 22px;
  height: 22px;
  background: #7aa6ff;
  -webkit-mask: url("assets/a80b6.svg") center / contain no-repeat;
  mask: url("assets/a80b6.svg") center / contain no-repeat;
  transform: rotate(90deg);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.device-card:hover::after,
.device-card:focus-visible::after,
.device-card:active::after {
  opacity: 1;
}

.device-card-compact::after { content: none; }

.device-card:hover,
.device-card:focus-visible,
.device-card:active {
  border-color: #196eed;
}

.device-card.is-selected,
html:not([data-device]) .chip-row-guide .device-card[data-device="bazaar"],
html[data-device="bazaar"] .chip-row-guide .device-card[data-device="bazaar"],
html[data-device="apk"] .chip-row-guide .device-card[data-device="apk"],
html[data-device="android-tv"] .chip-row-guide .device-card[data-device="android-tv"],
html[data-device="iphone"] .chip-row-guide .device-card[data-device="iphone"],
html[data-device="mac"] .chip-row-guide .device-card[data-device="mac"],
html[data-device="windows"] .chip-row-guide .device-card[data-device="windows"],
html[data-device="linux"] .chip-row-guide .device-card[data-device="linux"],
html[data-device="tv"] .chip-row-guide .device-card[data-device="tv"] {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
}

.device-card:focus-visible {
  outline: 2px solid #8ea2ff;
  outline-offset: 3px;
}

.guide-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  width: min(1251px, 100%);
  margin: 8px auto 18px;
}

.guide-back {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 20px;
}

.guide-back img {
  width: 24px;
  height: 24px;
  transform: rotate(180deg);
}

.chip-row-guide {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  width: min(1241px, 100%);
  margin: 36px 0 0 auto;
  overflow-x: auto;
  padding-bottom: 8px;
}

.device-card-compact {
  width: 286px;
  height: 89px;
  flex: none;
  padding: 13px 26px;
}

.device-card-compact .device-mark { display: none; }

.guide-panel[hidden] { display: none !important; }

.guide-panel {
  display: none;
  scroll-margin-top: 110px;
  position: relative;
  z-index: 1;
  width: min(1251px, 100%);
  margin: 28px auto 0;
  padding: 40px 36px 28px;
  border: 1.3px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

html:not([data-device]) .guide-panel[data-panel="bazaar"],
html[data-device="bazaar"] .guide-panel[data-panel="bazaar"],
html[data-device="apk"] .guide-panel[data-panel="apk"],
html[data-device="android-tv"] .guide-panel[data-panel="android-tv"],
html[data-device="iphone"] .guide-panel[data-panel="iphone"],
html[data-device="mac"] .guide-panel[data-panel="mac"],
html[data-device="windows"] .guide-panel[data-panel="windows"],
html[data-device="linux"] .guide-panel[data-panel="linux"],
html[data-device="tv"] .guide-panel[data-panel="tv"] {
  display: block;
}

html:not([data-device]):has(.guide-panel:target) .guide-panel { display: none; }
html:not([data-device]) .guide-panel:target { display: block; }

.guide-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-bottom: 16px;
  padding: 0 22px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.guide-action:hover { filter: brightness(1.08); }

.guide-panel .download-link {
  margin-top: 0;
  margin-bottom: 28px;
}

.guide-panel .guide-steps {
  margin-top: 8px;
}

.tv-host {
  margin: 0 0 28px;
  color: #fff;
  font-family: var(--latin);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.guide-panel-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 36px;
}

.guide-panel-head img {
  width: 43px;
  height: 43px;
  object-fit: contain;
  flex: none;
}

.guide-panel-head span {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.guide-panel-head strong,
.guide-panel-head small {
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.guide-panel-head strong { font-size: 20px; font-weight: 500; }
.guide-panel-head small { font-family: var(--latin); font-size: 14px; }

.guide-steps {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-steps li {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  width: min(720px, 100%);
  text-align: right;
}

.guide-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 54px;
  bottom: -36px;
  right: 26px;
  width: 1px;
  background: #232b40;
}

.guide-steps strong {
  display: block;
  flex: 1;
  min-width: 0;
  color: #e6dfdf;
  font-size: 22px;
  font-weight: 400;
}

.guide-steps a {
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: underline;
  text-decoration-color: var(--accent-b);
  text-underline-offset: 3px;
}

.guide-steps a:hover {
  opacity: 0.85;
}

.guide-steps p {
  margin: 0;
  color: #898686;
  font-size: 22px;
  font-weight: 400;
}

.step-num {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
  color: #fff;
  font-size: 28px;
  font-weight: 500;
}

.download-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 87px;
  margin-top: 28px;
  padding: 0 24px;
  border-radius: 12px;
  background: #191e2f;
  color: #898686;
  font-size: 20px;
}

.guide-rule {
  height: 1px;
  margin: 36px 0 0;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
}

.trouble-title {
  position: relative;
  z-index: 1;
  width: min(1220px, 100%);
  margin: 48px auto 18px;
  color: #e6dfdf;
  font-size: 22px;
  font-weight: 500;
  text-align: right;
}

.trouble-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 27px 26px;
  width: min(1220px, 100%);
  margin: 0 auto 64px;
}

.trouble-card {
  min-height: 196px;
  padding: 20px 28px;
  border: 1.3px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  text-align: right;
}

.trouble-card h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
}

.trouble-card p {
  margin: 0;
  color: #8c8c8c;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
}

.download-link a {
  min-width: 0;
  overflow-wrap: anywhere;
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 20px;
}

.copy-link {
  flex: none;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
  color: #fff;
  font: 500 14px/1 var(--font);
  padding: 10px 14px;
  cursor: pointer;
}

.copy-link:hover { filter: brightness(1.08); }

.copy-link:focus-visible,
.more-devices:focus-visible,
.guide-action:focus-visible,
.section-link:focus-visible,
.sticky-cta:focus-visible {
  outline: 2px solid #8ea2ff;
  outline-offset: 3px;
}

.device-card-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.device-card-head img { flex: none; }

.device-card-head span {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.device-card strong {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

.device-card small {
  color: #fff;
  font-family: var(--latin);
  font-size: 14px;
  font-weight: 500;
}

.device-mark {
  position: absolute;
  left: 12px;
  bottom: 14px;
  width: 88px;
  height: 88px;
  opacity: 0.9;
  pointer-events: none;
}

.mark-play { width: 78px; height: 78px; }

.device-card:not(.device-card-compact) .device-card-head img[src$="330f4.png"] {
  width: 50px;
  height: 51px;
  object-fit: contain;
}

.device-card-compact .device-card-head img[src$="330f4.png"] {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.mark-bazaar {
  width: 79px;
  height: 79px;
  opacity: 0.36;
  object-fit: contain;
}
.mark-win { width: 73px; height: 73px; }
.mark-linux { width: 79px; height: 90px; bottom: 16px; }

.btn-primary:hover,
.chip-hot:hover,
.step-hot .step-icon { filter: brightness(1.08); }

.btn:focus-visible,
.chip:focus-visible,
.store:focus-visible,
.footer-links a:focus-visible,
.contacts a:focus-visible {
  outline: 2px solid #8ea2ff;
  outline-offset: 3px;
}

.hero,
.library,
.recognize,
.nearby,
.download {
  position: relative;
  overflow: clip;
}

.glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.glow-tl { top: -140px; left: -180px; }
.glow-tr { top: 120px; right: -120px; }
.glow-br { right: 180px; bottom: -180px; }

.grid-mask {
  position: absolute;
  top: -180px;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  opacity: 0.35;
  pointer-events: none;
  mask-image: radial-gradient(circle, #000 10%, transparent 62%);
}

.grid-mask img {
  position: absolute;
  inset: 0;
  width: 900px;
  height: 900px;
}

.hero {
  display: grid;
  direction: ltr;
  grid-template-columns: minmax(360px, 540px) minmax(0, 1fr);
  grid-template-areas: "phones copy";
  gap: 12px;
  align-items: center;
  width: min(1440px, 100%);
  min-height: 860px;
  margin: 0 auto;
  padding: 24px 64px 72px 24px;
}

.hero-copy,
.phones,
.recognize-copy,
.phone-large,
.section-head,
.flow,
.browser,
.download-card,
.map-caption {
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--accent-a);
  border-radius: 32px;
  background: #050e1f;
}

.pill-ghost {
  font-size: 14px;
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pill-solid {
  padding: 4px 8px;
  border-radius: 64px;
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
  color: #fff;
  font-size: 12px;
}

.hero h1 {
  max-width: 803px;
  margin-top: 21px;
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 800;
  line-height: 1.25;
  text-align: right;
}

.lead {
  max-width: 819px;
  margin-top: 21px;
  color: var(--soft);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.6;
}

.platform-board {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  margin-top: 36px;
}

.platform-col,
.platform-col-desk {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  align-self: flex-start;
  width: 100%;
}

.platform-label {
  width: 100%;
  color: var(--label);
  font-size: 13px;
  text-align: right;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; width: 100%; }
.chip-row.stretch { width: 100%; }
.chip-row.stretch .store { flex: 1; }

.chip,
.store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(9px);
}

.chip img,
.store img { width: auto; height: auto; flex: none; }

.chip:hover,
.store:hover { border-color: rgba(255, 255, 255, 0.2); }

.chip-hot {
  border-color: var(--accent-a);
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
}

.chip-hot img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
}

.hero .chip {
  min-height: 52px;
  padding: 12px 16px;
  gap: 10px;
  border-radius: 16px;
  font-size: 15px;
}

.hero .chip-row-equal {
  width: auto;
  max-width: 100%;
}

.hero .chip-row-equal .chip {
  flex: 1 1 0;
  min-width: 168px;
  justify-content: center;
}

.hero .chip img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.hero .chip-hot img {
  width: 28px;
  height: 28px;
  object-fit: cover;
}

.hero-help {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-help:hover {
  opacity: 0.85;
}

.platform-note {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

.platform-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
}

.more-devices {
  display: none;
  border: 0;
  padding: 10px 12px;
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font: 500 14px/1.2 var(--font);
  cursor: pointer;
}

.platform-board.is-personalized .more-devices { display: inline-flex; }

.platform-board.is-personalized:not(.is-expanded) .platform-group { display: none; }

.platform-board.is-personalized[data-open="android"]:not(.is-expanded) .platform-group[data-group="android"],
.platform-board.is-personalized[data-open="android-tv"]:not(.is-expanded) .platform-group[data-group="android-tv"],
.platform-board.is-personalized[data-open="web"]:not(.is-expanded) .platform-group[data-group="web"] {
  display: flex;
}

.section-link {
  display: inline-flex;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-link:hover { opacity: 0.85; }

.sticky-cta {
  display: none;
}

.hero-copy {
  grid-area: copy;
  direction: rtl;
  justify-self: end;
  width: min(819px, 100%);
}

.phones {
  grid-area: phones;
  position: relative;
  height: 700px;
}

.phone {
  width: 320px;
  height: 660px;
  padding: 12px;
  border-radius: 46px;
  background: #111;
  box-shadow:
    0 -7px 32px rgba(0, 0, 0, 0.1),
    0 45px 69px rgba(0, 0, 0, 0.15),
    inset 0 0 0 2px #3a3a3a;
}

.phone picture,
.screen-shot picture {
  display: contents;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: 36px;
}

.phone {
  position: relative;
}

.phone img.phone-status {
  position: absolute;
  top: 1.88%;
  left: 4.64%;
  width: 90.72%;
  height: 6.01%;
  object-fit: cover;
  object-position: top center;
  border-radius: 42px 44px 0 0;
}

.phone-back,
.phone-front { position: absolute; bottom: 0; }

.phone-back {
  left: -40px;
  opacity: 0.28;
  transform: scale(0.96);
}

.phone-front { left: 150px; }

.phone-large {
  grid-area: phone;
  width: min(100%, 340px);
  height: 700px;
  justify-self: center;
}

.library,
.nearby,
.download {
  padding: 72px 24px 40px;
}

.section-head {
  width: min(1202px, 100%);
  margin: 0 auto 36px;
  text-align: center;
}

.section-head h2,
.recognize h2,
.download h2 {
  font-size: clamp(32px, 3.6vw, 56px);
  font-weight: 800;
  line-height: 1.5;
}

.section-head p,
.recognize-copy > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 400;
  line-height: 1.6;
}

.flow {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1vw, 18px);
  width: min(1193px, calc(100% - 24px));
  margin: 0 auto 28px;
  padding: 0;
  list-style: none;
}

.flow li:not(.dot) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  font-size: clamp(12px, 1.45vw, 20px);
  white-space: nowrap;
  backdrop-filter: blur(9px);
}

.flow li img {
  width: clamp(18px, 2vw, 32px);
  height: clamp(18px, 2vw, 32px);
}

.flow .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-a);
  box-shadow: 0 0 0 6px rgba(68, 81, 193, 0.15);
}

.browser {
  width: min(1262px, 100%);
  margin: 0 auto;
  border-radius: 10px 10px 8px 8px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 53px;
  padding: 0 18px;
  background: #101214;
}

.url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: min(508px, 46%);
  height: 28px;
  border-radius: 6px;
  background: #0c0f12;
  color: #fff;
  font-family: var(--latin);
  font-size: 13px;
}

.screen-shot {
  width: min(1231px, calc(100% - 32px));
  margin: 0 auto;
}

.screen-shot-map { width: min(1136px, calc(100% - 32px)); }

.screen-shot img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.cursor {
  position: absolute;
  top: 86px;
  left: 120px;
  width: 18px;
  height: 18px;
  transform: rotate(-30deg);
}

.glow-library-l { left: -180px; bottom: -80px; }
.glow-library-r { right: -160px; top: -80px; }

.recognize {
  display: grid;
  direction: ltr;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  grid-template-areas: "phone copy";
  gap: 32px;
  align-items: center;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0;
}

.recognize-copy {
  grid-area: copy;
  direction: rtl;
  justify-self: end;
  width: min(778px, 100%);
  text-align: right;
}
.recognize-copy > p { font-size: 24px; font-weight: 400; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: min(420px, 100%);
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 19px;
  font-size: 20px;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 55px;
  background: rgba(255, 255, 255, 0.05);
}

.step-hot .step-icon {
  border-color: transparent;
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
}

.glow-rec-l { left: -180px; bottom: 0; }
.glow-rec-r { right: -120px; top: -40px; }

.browser-map { width: min(1082px, 100%); }

.map-shot { height: 520px; }

.map-overlay {
  position: absolute;
  top: 0;
  left: 18%;
  width: 78%;
  height: auto;
  pointer-events: none;
}

.map-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  color: #b5bed0;
  font-size: 14px;
}

.glow-map-l { left: -80px; bottom: 40px; }
.glow-map-r { right: -80px; top: -80px; }

.download-card {
  width: min(var(--max), 100%);
  margin: 40px auto;
  padding: 48px;
  border-radius: 20px;
  background: var(--card);
}

.download h2 { font-size: 44px; line-height: 1.5; }
.download-card > p { margin-top: 16px; color: #b5bed0; font-size: 18px; font-weight: 400; line-height: 1.7; }

.download-actions {
  display: flex;
  justify-content: stretch;
  gap: 16px;
  margin-top: 24px;
  width: 100%;
}

.download-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  height: 56px;
  min-height: 56px;
  padding: 0 24px;
}

.btn-lg { height: 56px; padding: 0 24px; }
.btn-ghost {
  background: var(--panel);
  border: 1px solid var(--line);
}

.download-actions .btn-primary {
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
}

.download-actions .btn-ghost {
  gap: 10px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 400;
}

.download-actions .btn-primary img {
  width: 29px;
  height: 29px;
}

.download-actions .btn-ghost img {
  width: 22px;
  height: 22px;
}

.download-card hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.download-groups {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}

.download-help {
  display: inline-flex;
  margin-top: 24px;
}

.store {
  justify-content: center;
  height: 56px;
  border-radius: 12px;
  background: var(--panel);
  border-color: var(--line);
  font-weight: 400;
}

.glow-dl-l { left: -120px; bottom: -40px; }
.glow-dl-r { right: -80px; top: -160px; }

.footer {
  position: relative;
  padding: 74px 48px 28px;
  background: var(--footer);
}

.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px 48px;
  width: min(1140px, 100%);
  margin: 0 auto;
}

.tagline {
  grid-column: 1;
  color: #a8a8a8;
  font-size: 18px;
  font-weight: 400;
  text-align: right;
}

.footer-links {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px 48px;
  align-content: flex-start;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.footer-links img { transform: rotate(-90deg); }

.contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 60px;
  width: min(900px, 100%);
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
}

.contacts li { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.contacts span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.contacts img { width: 24px; height: 24px; border-radius: 50%; }
.contacts a { color: var(--link); font-family: var(--latin); font-size: 20px; unicode-bidi: isolate; }
.contacts a.contact-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--link);
  font-family: var(--font);
  font-size: 13px;
}

.footer-line {
  width: min(1350px, 100%);
  height: 1px;
  margin: 36px auto 16px;
}

.copyright {
  color: #858585;
  font-family: var(--latin);
  font-size: 12px;
  text-align: center;
}

.legal {
  position: relative;
  overflow: hidden;
  padding: 28px 48px 80px;
}

.legal-shell {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  margin: 0 auto;
}

.legal-shell .guide-back {
  margin-bottom: 28px;
}

.legal-card {
  padding: 40px 44px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  background: rgba(17, 27, 47, 0.72);
  backdrop-filter: blur(12px);
}

.legal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-head h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.35;
}

.legal-updated {
  color: var(--label);
  font-size: 14px;
  font-weight: 500;
}

.legal-subtitle {
  margin: 0 0 16px;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
}

.legal-intro,
.legal-section p,
.legal-section li {
  color: #c5cddc;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
}

.legal-intro {
  margin-bottom: 32px;
}

.legal-section {
  margin-top: 28px;
}

.legal-section h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.legal-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-section li {
  position: relative;
  padding-right: 18px;
  margin-bottom: 10px;
}

.legal-section li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  right: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(250px, 52%) minmax(0, 1fr);
    grid-template-areas: "phones copy";
    min-height: 0;
    padding: 16px 20px 48px 8px;
  }
  .recognize {
    grid-template-columns: minmax(210px, 46%) minmax(0, 1fr);
    grid-template-areas: "phone copy";
    width: calc(100% - 16px);
    padding: 48px 0;
    gap: 12px;
  }
  .phones { height: 560px; }
  .phone { width: 230px; height: 490px; }
  .phone-back { left: -8px; }
  .phone-front { left: 28%; }
  .phone-large { width: min(100%, 250px); height: 520px; }
  .flow { gap: 6px; }
  .flow li:not(.dot) { padding: 8px; gap: 4px; }
  .flow .dot { width: 8px; height: 8px; box-shadow: 0 0 0 3px rgba(68, 81, 193, 0.15); }
  .download-groups,
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-column: 1; grid-row: auto; justify-content: flex-start; }
  .lead,
  .recognize-copy > p { font-size: 20px; }
  .download-actions { flex-direction: column; align-items: stretch; }
  .download-actions .btn {
    flex: 0 0 auto;
    width: 100%;
    height: 56px;
    min-height: 56px;
  }

  .nav .btn-primary {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    gap: 0;
    overflow: hidden;
  }

  .nav .btn-primary .btn-label {
    display: none;
  }

  .nav .btn-primary img {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 720px) {
  .nav {
    width: calc(100% - 24px);
    height: 72px;
    gap: 10px;
  }

  .nav-start { gap: 12px; }
  .nav-tabs { gap: 12px; }
  .nav-tab { font-size: 13px; }
  .nav-actions { gap: 8px; }

  .nav .btn-primary {
    width: 40px;
    min-width: 40px;
    height: 40px;
  }

  .nav .btn-primary img {
    width: 20px;
    height: 20px;
  }

  .nav-tab[href="/"] { display: none; }

  body:has(.sticky-cta) { padding-bottom: 88px; }

  .sticky-cta {
    display: flex;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(90deg, var(--accent-a) 21.875%, var(--accent-b));
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  }

  .sticky-cta.is-hidden { display: none; }

  .nav .btn-secondary { padding: 0 10px; }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "phones";
    gap: 8px;
    min-height: 0;
    padding: 8px 16px 32px;
  }

  .hero-copy {
    width: 100%;
    justify-self: stretch;
  }

  .pill {
    max-width: 100%;
    height: auto;
    padding: 8px 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero h1 { font-size: 32px; }
  .lead { font-size: 16px; }

  .phones {
    width: min(100%, 320px);
    height: 440px;
    margin: 12px auto 0;
    justify-self: center;
  }

  .phone { width: 190px; height: 410px; }
  .phone-back { left: 0; }
  .phone-front { left: 96px; }

  .library,
  .nearby,
  .download { padding: 48px 16px 16px; }

  .section-head h2,
  .recognize h2,
  .download h2 { font-size: 28px; }

  .section-head p,
  .recognize-copy > p,
  .lead { font-size: 16px; }

  .flow {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .flow .dot { display: none; }

  .flow li:not(.dot) {
    font-size: 14px;
    padding: 10px 12px;
    gap: 8px;
  }

  .flow li img { width: 22px; height: 22px; }

  .screen-shot,
  .screen-shot-map {
    width: 100%;
    border-radius: 16px;
  }

  .screen-shot img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .recognize {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "phone";
    width: calc(100% - 32px);
    gap: 28px;
    padding: 40px 0;
  }

  .recognize-copy {
    width: 100%;
    justify-self: stretch;
  }

  .phone-large {
    width: min(72%, 250px);
    height: 500px;
  }

  .steps {
    width: 100%;
    gap: 16px;
    margin-top: 28px;
  }

  .steps li { font-size: 16px; gap: 12px; }
  .step-icon { width: 44px; height: 44px; }
  .step-icon img { width: 24px; height: 24px; }

  .download-card { padding: 24px 16px; }
  .download-actions .btn { width: 100%; }

  .footer { padding: 40px 16px 24px; }
  .footer-links { gap: 14px 20px; }
  .contacts { gap: 20px 28px; margin-top: 32px; }
  .contacts a { font-size: 16px; }

  .guide { padding: 28px 16px 64px; }
  .guide h1 { font-size: 28px; white-space: normal; }
  .guide-lead { font-size: 16px; }

  .legal { padding: 20px 16px 64px; }
  .legal-card { padding: 24px 18px; }
  .legal-head h1 { font-size: 28px; }
  .legal-subtitle { font-size: 18px; }
  .legal-intro,
  .legal-section p,
  .legal-section li { font-size: 15px; }
  .device-grid { gap: 16px; }
  .device-card { width: calc(50% - 8px); height: 150px; }
  .device-card-compact { width: 240px; height: 89px; }

  .guide-panel {
    margin-top: 20px;
    padding: 24px 16px 20px;
  }

  .guide-panel-head { margin-bottom: 20px; }

  .guide-action {
    display: flex;
    width: 100%;
    min-height: 48px;
    margin-bottom: 12px;
    font-size: 15px;
  }

  .guide-panel .download-link { margin-bottom: 20px; }

  .guide-steps { gap: 16px; }

  .guide-steps li:not(:last-child)::after {
    top: 38px;
    bottom: -16px;
    right: 18px;
  }

  .step-num {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .guide-steps strong,
  .guide-steps p { font-size: 16px; }

  .download-link { height: auto; padding: 14px 16px; flex-wrap: wrap; font-size: 15px; }

  .tv-host {
    margin-bottom: 16px;
    font-size: 28px;
  }

  .trouble-grid { grid-template-columns: 1fr; }
  .trouble-card h3,
  .trouble-card p { font-size: 18px; line-height: 1.6; }
}

@keyframes section-in {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.will-reveal {
  opacity: 0;
  transform: translateY(48px);
}

.will-reveal.is-in {
  animation: section-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .will-reveal,
  .will-reveal.is-in {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
