:root {
  --bg-base: #0d1626;
  --bg-panel: #13203a;
  --bg-panel-alt: #1a2c4d;
  --accent-orange: #e8791f;
  --accent-gold: #f0b545;
  --text-primary: #eef2f7;
  --text-muted: #aebdd0;
  --line: rgba(238, 242, 247, 0.14);
  --wrap: 1120px;
  --content: 860px;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0 0 0.55em; color: var(--text-primary); font-weight: 700; line-height: 1.16; }
h1 { font-size: clamp(2.2rem, 5vw, 3.85rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.08rem; }
p { max-width: 68ch; margin: 0 0 1em; color: var(--text-muted); }
a { color: var(--accent-gold); font-weight: 700; text-underline-offset: 3px; }

.wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: 28px; }
.content-wrap { max-width: var(--content); }
.section-label { margin-bottom: 0.6rem; color: var(--accent-orange); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }

.site-head { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(13, 22, 38, 0.97); }
.site-head__row { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 30px; }
.site-head__brand { display: flex; flex: none; align-items: center; gap: 12px; color: var(--text-primary); font-size: 1.04rem; font-weight: 700; text-decoration: none; }
.site-head__brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; }
.site-head__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; }
.site-head__nav a { color: var(--text-muted); font-size: 0.9rem; font-weight: 400; text-decoration: none; transition: color 0.2s ease; }
.site-head__nav a:hover, .site-head__nav a:focus-visible { color: var(--accent-gold); }

.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-panel); cursor: pointer; }
.menu-toggle span { display: block; width: 21px; height: 2px; margin: 5px auto; background: var(--text-primary); transition: transform 0.22s ease, opacity 0.18s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { padding-block: clamp(60px, 9vw, 106px); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); gap: clamp(40px, 8vw, 100px); align-items: start; }
.hero__kicker { margin-bottom: 0.7em; color: var(--accent-orange); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.hero__copy { padding-top: 32px; }
.hero__lead { font-size: 1.04rem; }
.hero__specs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 8px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.hero__specs div { padding: 22px 24px; background: var(--bg-panel); }
.hero__specs dt { margin-bottom: 4px; color: var(--text-muted); font-size: 0.72rem; }
.hero__specs dd { margin: 0; color: var(--accent-gold); font-weight: 700; }

.android { padding-block: clamp(66px, 9vw, 100px); border-bottom: 1px solid var(--line); background: var(--bg-panel); }
.install-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 30px 0 34px; padding: 0; list-style: none; }
.install-steps li { display: flex; align-items: flex-start; gap: 14px; min-height: 96px; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: rgba(13, 22, 38, 0.46); }
.install-steps li:last-child { grid-column: 1 / -1; min-height: 0; }
.install-steps span { flex: none; color: var(--accent-orange); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; }
.install-steps strong { font-size: 0.96rem; }

.ios { padding-block: clamp(66px, 9vw, 100px); border-bottom: 1px solid var(--line); }
.ios__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr); align-items: start; gap: clamp(42px, 8vw, 100px); }
.requirements { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-panel-alt); }
.requirements ul { margin: 0; padding-left: 1.2em; color: var(--text-muted); }
.requirements li + li { margin-top: 0.5em; }

.comparison { padding-block: clamp(66px, 9vw, 100px); border-bottom: 1px solid var(--line); background: var(--bg-panel-alt); }
.table-scroll { margin: 30px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; min-width: 610px; border-collapse: collapse; background: var(--bg-panel); color: var(--text-muted); }
th, td { padding: 17px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
thead th { color: var(--text-primary); font-size: 0.86rem; letter-spacing: 0.04em; }
tbody th { color: var(--text-primary); font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

.troubleshooting { padding-block: clamp(66px, 9vw, 100px); border-bottom: 1px solid var(--line); }
.troubleshooting__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); gap: clamp(42px, 8vw, 100px); align-items: start; }
.troubleshooting aside { padding: 28px; border-left: 4px solid var(--accent-orange); background: var(--bg-panel); }
.troubleshooting aside p { margin-bottom: 0; }

.faq { padding-block: clamp(66px, 9vw, 100px); border-bottom: 1px solid var(--line); background: var(--bg-panel); }
.faq__list { margin-top: 28px; }
.faq__item { padding: 20px 0; border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--text-primary); cursor: pointer; font-weight: 700; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; color: var(--accent-orange); font-size: 1.5rem; font-weight: 400; line-height: 1; }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { margin: 14px 0 0; }

.site-foot { padding-top: 58px; }
.site-foot__grid { display: grid; grid-template-columns: 1.3fr 1fr auto; align-items: start; gap: 38px; padding-bottom: 42px; }
.site-foot__col p { font-size: 0.92rem; }
.site-foot__media { display: grid; grid-template-columns: repeat(2, 58px); gap: 10px; }
.site-foot__media img { width: 58px; height: 58px; aspect-ratio: 1; object-fit: contain; padding: 7px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg-panel-alt); }
.site-foot__legal { padding-block: 18px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 0.8rem; }

@media (max-width: 820px) {
  .site-head__row { flex-wrap: wrap; padding-block: 16px; }
  .menu-toggle { display: block; }
  .site-head__nav { display: none; flex: 1 0 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: 10px; border-top: 1px solid var(--line); }
  .site-head__nav.is-open { display: flex; }
  .site-head__nav a { padding: 12px 2px; }
  .hero__grid, .ios__grid, .troubleshooting__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-top: 0; }
  .hero__specs { grid-column: auto; }
  .site-foot__grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  .hero { padding-top: 48px; }
  .hero__grid { gap: 22px; }
  .hero__specs { grid-template-columns: 1fr; }
  .install-steps { grid-template-columns: 1fr; }
  .install-steps li:last-child { grid-column: auto; }
  .install-steps li { min-height: 0; }
}

@media (max-width: 420px) {
  .wrap { padding-inline: 16px; }
  .site-head__brand span { font-size: 0.96rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
