:root {
  --blue: #112ce2;
  --blue-dark: #07105a;
  --green: #00c878;
  --gold: #ffc857;
  --ink: #ffffff;
  --text: #11172a;
  --muted: #667085;
  --line: rgba(17, 44, 226, 0.14);
  --panel: #ffffff;
  --paper: #f5f8ff;
  --shadow: 0 22px 56px rgba(7, 16, 90, 0.18);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--paper);
}

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

button {
  font: inherit;
  cursor: pointer;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1120px, calc(100% - 28px));
  min-height: 68px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  color: var(--ink);
  background: rgba(7, 16, 90, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  color: var(--blue-dark);
  background: linear-gradient(135deg, #fff, var(--gold));
}

.nav {
  display: flex;
  gap: 20px;
  font-weight: 800;
}

.nav-button,
.primary-btn,
.secondary-btn,
.download-cards button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-button,
.secondary-btn,
.download-cards button {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.primary-btn {
  color: #07105a;
  background: linear-gradient(135deg, #fff176, var(--gold));
  box-shadow: 0 14px 30px rgba(255, 200, 87, 0.25);
}

.nav-button:hover,
.primary-btn:hover,
.secondary-btn:hover,
.download-cards button:hover {
  transform: translateY(-2px);
}

.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background: var(--blue-dark);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.76;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 16, 90, 0.98), rgba(7, 16, 90, 0.74) 45%, rgba(7, 16, 90, 0.2)),
    linear-gradient(180deg, rgba(7, 16, 90, 0.2), rgba(7, 16, 90, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 164px 0 150px;
}

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

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

h1 {
  max-width: 640px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

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

.lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.06rem;
  line-height: 1.8;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.trust-row span {
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.sticky-download {
  position: sticky;
  z-index: 12;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(760px, calc(100% - 22px));
  min-height: 78px;
  margin: -106px auto 28px;
  padding: 12px;
  border-radius: 12px;
  color: #fff;
  background: rgba(8, 18, 92, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.mini-app {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mini-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  color: var(--blue-dark);
  background: var(--gold);
  font-weight: 900;
}

.mini-app p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.support-float {
  position: fixed;
  z-index: 18;
  right: 18px;
  bottom: 118px;
  display: grid;
  gap: 6px;
  place-items: center;
  min-width: 66px;
  min-height: 66px;
  padding: 8px;
  border-radius: 14px;
  color: #fff;
  background: var(--green);
  box-shadow: var(--shadow);
  font-weight: 900;
}

.support-float span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--green);
  background: #fff;
}

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

.section,
.split {
  padding: 68px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 26px;
}

.section-head p,
.split p,
.feature-grid p,
.steps p,
.footer p,
.download-modal p,
details p {
  color: var(--muted);
  line-height: 1.72;
}

.feature-grid,
.steps,
.split,
.download-cards {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid article,
.steps article,
details,
.download-modal {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-grid article,
.steps article {
  padding: 20px;
}

.feature-grid span,
.steps strong {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 9px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.install-band {
  padding: 36px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  box-shadow: var(--shadow);
}

.install-band h2,
.install-band p {
  color: #fff;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
}

.split {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
}

.download-cards {
  grid-template-columns: 1fr;
}

.download-cards button {
  min-height: 72px;
  color: var(--blue-dark);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.faq {
  max-width: 860px;
}

details {
  padding: 18px 20px;
  margin-bottom: 12px;
}

summary {
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 12px 0 0;
}

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 38px 0 120px;
  border-top: 1px solid var(--line);
}

.footer .brand {
  color: var(--blue-dark);
}

.download-dialog {
  width: min(430px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 12px;
}

.download-dialog::backdrop {
  background: rgba(7, 16, 90, 0.66);
  backdrop-filter: blur(8px);
}

.download-modal {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 26px;
}

.download-modal h2 {
  margin-bottom: 0;
}

.close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: #fff;
}

@media (max-width: 940px) {
  .nav {
    display: none;
  }

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

  .steps,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .topbar {
    min-height: 62px;
  }

  .brand {
    font-size: 0.98rem;
  }

  .nav-button {
    min-height: 40px;
    padding: 0 12px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content {
    padding-top: 126px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions button {
    width: 100%;
  }

  .sticky-download {
    width: calc(100% - 16px);
  }

  .sticky-download .primary-btn {
    min-width: 108px;
  }

  .mini-app p {
    display: none;
  }

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

  .section,
  .split {
    padding: 48px 0;
  }

  .install-band {
    width: calc(100% - 20px);
    padding: 20px;
  }

  .footer {
    flex-direction: column;
  }
}
