:root {
  --bg: #ffffff;
  --surface: #f4f7ff;
  --surface-2: #eef3ff;
  --text: #121826;
  --muted: #8791a3;
  --line: #dde6f0;
  --blue: #2452d8;
  --blue-dark: #14389f;
  --purple: #8c35ee;
  --orange: #f07612;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(18, 45, 117, 0.18);
  --soft-shadow: 0 18px 45px rgba(22, 40, 82, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 86% 9%, rgba(36, 82, 216, 0.09), transparent 26rem),
    radial-gradient(circle at 8% 42%, rgba(140, 53, 238, 0.08), transparent 28rem),
    var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(221, 230, 240, 0.78);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #647083;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--blue);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.16;
}

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

.hero {
  min-height: calc(100vh - 76px);
  padding: 68px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(36, 82, 216, 0.12);
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.86);
}

.eyebrow.light::before {
  background: var(--white);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.16);
}

.lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: #5f697a;
  font-size: 21px;
}

.sport-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.sport-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #5f697a;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(22, 40, 82, 0.07);
}

.sport-pills span:first-child {
  border-color: var(--blue);
  color: var(--blue);
}

.hero-actions,
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--blue);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(22, 40, 82, 0.08);
  white-space: nowrap;
}

.btn.primary {
  border-color: var(--blue);
  background: linear-gradient(135deg, var(--blue), #1f63ec);
  color: var(--white);
}

.hero-visual {
  position: relative;
  min-height: 720px;
}

.phone-shot,
.floating-shot,
.slide-phone {
  overflow: hidden;
  border: 10px solid #111827;
  border-radius: 38px;
  background: #111827;
  box-shadow: var(--shadow);
}

.phone-shot img,
.floating-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.main-shot {
  position: absolute;
  right: 0;
  top: 0;
  width: min(60vw, 350px);
  aspect-ratio: 576 / 1280;
  transform: rotate(2deg);
}

.floating-shot {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(54vw, 310px);
  aspect-ratio: 576 / 1280;
  transform: rotate(-5deg);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 78px 20px 64px 76px;
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(36, 82, 216, 0.18), rgba(240, 118, 18, 0.1));
  filter: blur(1px);
}

.blue-panel {
  width: 100%;
  padding: 84px max(16px, calc((100% - 1180px) / 2));
  border-radius: 0;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.18), transparent 18rem),
    linear-gradient(135deg, #1746c9, #102d91);
  color: var(--white);
}

.section-title {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-title.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title p {
  color: #667286;
  font-size: 18px;
}

.section-title.inverse p {
  color: rgba(255, 255, 255, 0.74);
}

.screen-slider {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 18px;
}

.slider-track {
  position: relative;
  min-height: 820px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 44px rgba(5, 15, 50, 0.18);
}

.slider-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  align-items: center;
  gap: 54px;
  padding: 34px 56px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.slider-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.slide-phone {
  width: min(100%, 330px);
  aspect-ratio: 576 / 1280;
  justify-self: center;
  border-width: 8px;
  border-radius: 34px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

.slide-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.slide-copy {
  max-width: 420px;
}

.slide-copy span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 900;
}

.slide-copy h3 {
  color: var(--white);
  font-size: clamp(28px, 3.8vw, 46px);
}

.slide-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
}

.slider-btn {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
  cursor: pointer;
  font-size: 42px;
  line-height: 1;
  box-shadow: 0 14px 30px rgba(5, 15, 50, 0.16);
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.slider-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.slider-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.slider-dots button.is-active {
  width: 34px;
  background: var(--white);
}

#features {
  padding: 88px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  min-height: 238px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.feature.blue,
.feature.purple,
.feature.orange {
  color: var(--white);
}

.feature.blue {
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.2), transparent 8rem),
    linear-gradient(135deg, #2156db, #153fc2);
}

.feature.purple {
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.2), transparent 8rem),
    linear-gradient(135deg, #a635f1, #7032e6);
}

.feature.orange {
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.22), transparent 8rem),
    linear-gradient(135deg, #f78618, #e45e0f);
}

.feature.light {
  background: linear-gradient(180deg, #ffffff, #f7f9ff);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
  font-weight: 900;
}

.feature.light .feature-icon {
  background: var(--surface-2);
  color: var(--blue);
}

.feature p {
  margin-bottom: 0;
  color: #667286;
}

.feature.blue p,
.feature.purple p,
.feature.orange p {
  color: rgba(255, 255, 255, 0.76);
}

.flow-section {
  padding: 74px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 42px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: linear-gradient(135deg, #f8faff, #eef3ff);
  box-shadow: var(--soft-shadow);
}

.flow-copy p {
  color: #667286;
  font-size: 18px;
}

.flow-list {
  display: grid;
  gap: 14px;
}

.flow-list div {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.flow-list strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--blue);
  color: var(--white);
}

.flow-list span {
  font-size: 18px;
  font-weight: 800;
}

.download {
  width: min(1180px, calc(100% - 32px));
  margin-top: 88px;
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.22), transparent 15rem),
    linear-gradient(135deg, var(--blue), #17379d);
  color: var(--white);
  box-shadow: var(--shadow);
}

.download h2 {
  max-width: 620px;
}

.download p {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  min-width: 190px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-weight: 900;
}

.legal-section {
  padding: 88px 0 44px;
}

.legal-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.legal-links a {
  min-height: 96px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  box-shadow: var(--soft-shadow);
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.doc-body {
  background: #fbfcff;
}

.doc-main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 80px;
}

.doc-main pre {
  margin: 0;
  padding: 34px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  color: var(--text);
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.7;
  box-shadow: var(--soft-shadow);
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 650px;
  }

  .main-shot {
    right: 8%;
  }

  .floating-shot {
    left: 8%;
  }

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

  .screen-slider {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  .slider-track {
    min-height: 760px;
  }

  .slider-slide {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 32px;
    padding: 28px 34px;
  }

  .slider-btn {
    width: 48px;
    height: 48px;
    font-size: 34px;
  }

  .flow-section,
  .download {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: auto;
    padding: 12px 0;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 42px 0 54px;
    gap: 34px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions .btn,
  .store-badge {
    width: 100%;
  }

  .hero-visual {
    min-height: 560px;
  }

  .main-shot {
    right: 0;
    width: min(70vw, 280px);
  }

  .floating-shot {
    left: 0;
    width: min(62vw, 245px);
  }

  .phone-shot,
  .floating-shot,
  .slide-phone {
    border-width: 7px;
    border-radius: 30px;
  }

  .blue-panel {
    padding-top: 58px;
    padding-bottom: 58px;
  }

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

  .screen-slider {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
  }

  .slider-track {
    min-height: 820px;
    border-radius: 28px;
  }

  .slider-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 22px;
    padding: 24px;
    text-align: center;
  }

  .slide-phone {
    width: min(100%, 250px);
  }

  .slide-copy {
    max-width: none;
  }

  .slide-copy span {
    margin-bottom: 16px;
  }

  .slide-copy h3 {
    font-size: 28px;
  }

  .slide-copy p {
    font-size: 16px;
  }

  .slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 30px;
  }

  #features,
  .legal-section {
    padding: 58px 0;
  }

  .flow-section,
  .download {
    padding: 28px;
    border-radius: 28px;
  }

  .download {
    margin-top: 58px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .doc-main pre {
    padding: 22px;
    font-size: 15px;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 32px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .slider-track {
    min-height: 760px;
  }

  .slide-phone {
    width: min(100%, 220px);
  }

  .sport-pills span {
    min-height: 42px;
    padding: 0 14px;
  }

  .flow-list span {
    font-size: 16px;
  }
}
