:root {
  color-scheme: light;
  --blue: #007aff;
  --ink: #111113;
  --text: #2b2d31;
  --muted: #6f7480;
  --line: #e6e8ec;
  --surface: #ffffff;
  --soft: #f5f5f7;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(230, 232, 236, 0.76);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
}

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

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.2);
}

.header-download {
  display: inline-grid;
  place-items: center;
  min-width: 68px;
  height: 36px;
  margin-left: 14px;
  border-radius: 999px;
  color: #ffffff;
  background: #111113;
  font-size: 14px;
  font-weight: 650;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  width: min(calc(100% - 36px), 1080px);
  margin: 0 auto;
  padding: 58px 0 28px;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(58px, 16vw, 108px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 16px 0 0;
  color: var(--text);
  font-size: clamp(30px, 7vw, 48px);
  font-weight: 760;
  line-height: 1.12;
}

.hero-text {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.download-actions {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  max-width: 420px;
}

.download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 650;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.download-button:hover {
  transform: translateY(-1px);
}

.download-button.app-store {
  color: #ffffff;
  background: #111113;
  box-shadow: 0 12px 28px rgba(17, 17, 19, 0.2);
}

.download-button.android {
  color: #111113;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.platform-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.app-store .platform-icon {
  filter: invert(1);
}

.hero-shot {
  justify-self: center;
  width: min(78vw, 308px);
  max-height: 610px;
  overflow: hidden;
  border: 9px solid #111113;
  border-radius: 40px;
  background: #111113;
  box-shadow: var(--shadow);
}

.hero-shot img,
.final-shot img {
  display: block;
  width: 100%;
  border-radius: 31px;
}

.screens-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(218px, 76%);
  gap: 12px;
  overflow-x: auto;
  width: 100%;
  padding: 28px 18px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screens-strip article {
  overflow: hidden;
  min-height: 410px;
  padding: 20px 16px 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(17, 24, 39, 0.07);
  scroll-snap-align: center;
}

.screens-strip h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 720;
  line-height: 1.2;
}

.screens-strip p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.screens-strip img {
  display: block;
  width: 100%;
  border-radius: 16px 16px 0 0;
}

.features {
  display: grid;
  gap: 12px;
  width: min(calc(100% - 36px), 1080px);
  margin: 0 auto;
  padding: 54px 0 22px;
}

.features article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
  min-height: 118px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--soft);
}

.feature-icon {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--blue);
  background: #ffffff;
  font-size: 17px;
  font-weight: 760;
}

.features h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 720;
}

.features p {
  grid-column: 2;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.final-cta {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 36px), 1080px);
  margin: 36px auto 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--soft);
}

.final-shot {
  align-self: end;
  max-height: 260px;
  overflow: hidden;
  border: 8px solid #111113;
  border-radius: 34px 34px 0 0;
  background: #111113;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(30px, 8vw, 46px);
  line-height: 1.15;
}

.final-cta p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.compact {
  margin-top: 24px;
}

.site-footer {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 34px 18px 46px;
  color: #98a2b3;
  font-size: 14px;
  text-align: center;
}

@media (min-width: 760px) {
  .site-header {
    padding-inline: clamp(32px, 7vw, 96px);
  }

  .hero {
    grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
    align-items: center;
    min-height: calc(100vh - 64px);
    padding: 56px 0 66px;
  }

  .download-actions {
    grid-template-columns: repeat(2, minmax(0, 196px));
  }

  .hero-shot {
    width: min(30vw, 318px);
  }

  .screens-strip {
    grid-auto-flow: initial;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(calc(100% - 48px), 1080px);
    margin: 0 auto;
    overflow: visible;
    padding-inline: 0;
  }

  .screens-strip article {
    min-height: 500px;
  }

  .features {
    grid-template-columns: repeat(3, 1fr);
  }

  .features article {
    grid-template-columns: 1fr;
    align-content: start;
    min-height: 208px;
    padding: 28px;
  }

  .feature-icon {
    grid-row: auto;
    margin-bottom: 24px;
  }

  .features p {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 18px;
  }

  .brand {
    gap: 9px;
    font-size: 17px;
  }

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

  .header-download {
    display: none;
  }

  .hero {
    width: auto;
    margin-inline: 20px;
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(54px, 15vw, 64px);
  }

  .hero-subtitle {
    font-size: clamp(28px, 7vw, 34px);
  }

  .hero-text {
    font-size: 16px;
    overflow-wrap: break-word;
  }

  .download-actions {
    width: 100%;
    max-width: none;
  }

  .download-button {
    width: 100%;
    min-height: 54px;
    font-size: 17px;
  }

  .hero-shot {
    width: min(66vw, 258px);
    max-width: calc(100vw - 72px);
    border-width: 8px;
    border-radius: 36px;
  }

  .screens-strip {
    grid-auto-columns: 78%;
    padding-inline: 14px;
  }

  .final-cta {
    grid-template-columns: 1fr;
    width: min(calc(100% - 28px), 1080px);
    text-align: center;
  }

  .final-shot {
    width: 58%;
    margin: 0 auto;
  }
}
