:root {
  color-scheme: dark;
  --bg: #06131a;
  --surface: #0c2230;
  --surface-2: #103247;
  --text: #f5fbff;
  --muted: #b9d5df;
  --line: #21485a;
  --yellow: #1aa6cf;
  --green: #017ca6;
  --aqua: #8edff2;
  --ink: #031018;
  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(1, 141, 189, .24), transparent 24rem),
    radial-gradient(circle at 82% 8%, rgba(142, 223, 242, .12), transparent 22rem),
    linear-gradient(145deg, rgba(1, 124, 166, .2), transparent 38rem),
    var(--bg);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(6, 19, 26, .84);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(96px, 1fr);
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.brand.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(1, 141, 189, .3);
}

.nav-links,
.language-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links { gap: 60px; }
.language-links { justify-content: flex-end; }

.nav-links a,
.language-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .94rem;
}

.nav-links a:hover,
.language-links a:hover,
.language-links a[aria-current="page"] {
  color: var(--text);
}

.language-links a[aria-current="page"] { font-weight: 850; }

.more-languages {
  position: relative;
}

.more-languages summary {
  min-width: 34px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}

.more-languages summary::-webkit-details-marker { display: none; }

.more-languages div {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 190px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(24, 27, 31, .98);
  box-shadow: var(--shadow);
}

.more-languages span {
  color: var(--muted);
  font-size: .86rem;
}

.hero,
.section,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 72px);
  padding: 58px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 56px;
  align-items: center;
}

.hero-copy { min-width: 0; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.85rem, 7vw, 5.9rem);
  line-height: .9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 3.85rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-brand {
  min-height: clamp(86px, 14vw, 132px);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
}

.hero-brand img {
  width: clamp(72px, 12vw, 112px);
  height: clamp(72px, 12vw, 112px);
  flex: 0 0 auto;
  border-radius: clamp(16px, 2.4vw, 26px);
  box-shadow: 0 22px 58px rgba(1, 141, 189, .32);
}

.subtitle {
  max-width: 760px;
  margin-bottom: 16px;
  color: #d7f7ff;
  font-size: clamp(1.26rem, 2.3vw, 1.74rem);
  font-weight: 760;
  line-height: 1.16;
}

.lead,
.section-copy {
  max-width: 680px;
  color: #e6e2d8;
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 77px;
}

.store-badge img {
  width: 180px;
  height: 53px;
}

.store-badge.play img {
  width: 200px;
  height: 77px;
  object-fit: contain;
}

.button {
  min-height: 48px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(142, 223, 242, .7);
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.button.secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.hero-media {
  display: grid;
  justify-items: center;
  align-items: center;
}

.phone {
  width: min(100%, 318px);
  aspect-ratio: 642 / 1392;
  margin: 0;
  overflow: hidden;
  border: 10px solid #050607;
  border-radius: 34px;
  background: #050607;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .1);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band {
  background: rgba(255, 255, 255, .045);
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.stats-band { background: rgba(1, 124, 166, .16); }

.section {
  padding: 92px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: start;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}

.cards {
  display: grid;
  gap: 14px;
}

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(24, 27, 31, .72);
}

.card p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.stats {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.stats li {
  min-height: 132px;
  padding: 20px;
  border: 1px solid rgba(142, 223, 242, .2);
  border-radius: 8px;
  background: rgba(16, 17, 18, .54);
}

.stats strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.06rem;
}

.stats span {
  color: var(--muted);
  font-size: .96rem;
}

.faq-section {
  max-width: 860px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(24, 27, 31, .72);
}

.faq-list summary {
  min-height: 58px;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  padding: 0 20px 18px;
}

.final-cta {
  text-align: center;
}

.final-cta .cta-row {
  justify-content: center;
}

.app-family {
  padding-top: 72px;
}

.app-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.app-link-card {
  min-height: 150px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 34, 48, .72);
  color: var(--muted);
  text-decoration: none;
}

.app-link-card strong {
  color: var(--text);
  font-size: 1.08rem;
}

.app-link-card:hover,
.app-link-card:focus-visible {
  border-color: rgba(142, 223, 242, .56);
  background: rgba(26, 166, 207, .08);
}

.site-footer {
  padding: 54px 0;
  background: #08090a;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 42px;
  color: var(--muted);
}

.footer-inner strong,
.footer-inner a {
  color: var(--text);
}

.footer-product {
  color: #d7f7ff;
  font-size: 1.12rem;
  font-weight: 760;
}

.trademark {
  max-width: 720px;
  font-size: .92rem;
}

@media (max-width: 940px) {
  .nav {
    min-height: 66px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .split,
  .split.reverse,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .brand span {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav {
    width: min(100% - 24px, 1120px);
    gap: 12px;
  }

  .hero,
  .section,
  .footer-inner {
    width: min(100% - 24px, 1120px);
  }

  .hero-brand {
    align-items: center;
  }

  .hero .cta-row {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .hero .store-badge {
    min-height: 54px;
    flex: 0 1 auto;
  }

  .hero .store-badge img {
    width: min(156px, calc((100vw - 34px) * .47));
    height: auto;
  }

  .hero .store-badge.play img {
    width: min(174px, calc((100vw - 34px) * .53));
    height: auto;
  }

  .hero-media {
    justify-items: center;
  }

  .phone {
    width: min(74vw, 286px);
    border-radius: 30px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .app-link-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }
}
