:root {
  --blue-950: #10235a;
  --blue-800: #1d49b8;
  --blue-700: #2568ee;
  --blue-500: #1492ff;
  --cyan-400: #21d4e8;
  --mint-500: #18c6a9;
  --ink: #111827;
  --muted: #667085;
  --line: #dde7f4;
  --surface: #ffffff;
  --surface-soft: #eef4fb;
  --shadow: 0 22px 56px rgba(28, 76, 151, .18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #0f2b79;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    radial-gradient(circle at 78% 72%, rgba(35, 173, 255, .7), transparent 26rem),
    linear-gradient(135deg, #13256a 0%, #1f61d3 58%, #33b4f2 100%);
  background-size: 52px 52px, 52px 52px, auto, auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

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

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

.page-shell {
  width: 100%;
  max-width: 750px;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 0 330px, #eaf3fc 330px 470px, #f4f8fd 470px 100%);
  box-shadow: 0 30px 90px rgba(6, 24, 77, .18);
}

.hero {
  position: relative;
  min-height: 392px;
  padding: max(26px, env(safe-area-inset-top)) 26px 78px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(91, 177, 255, .25), transparent 13rem),
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, .14), transparent 12rem),
    linear-gradient(145deg, #17327e 0%, #225ccc 58%, #1242a8 100%);
}

.hero__grid,
.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero::before {
  z-index: 0;
}

.hero::after,
.hero__grid {
  z-index: 0;
}

.hero + .download-panel::before {
  position: absolute;
  inset: -34px 14px auto;
  height: 56px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(234, 243, 252, .72), rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
}

.hero__grid {
  inset: 0;
  opacity: .5;
  background:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .75), transparent 82%);
}

.hero::before {
  inset: 82px auto auto 50%;
  width: 280px;
  height: 280px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}

.hero::after {
  right: -112px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
}

.hero__topline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  width: min(360px, 100%);
  margin: 4px auto 32px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  color: rgba(255, 255, 255, .86);
}

.hero__topline span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42));
}

.hero__topline span:last-child {
  background: linear-gradient(90deg, rgba(255, 255, 255, .42), transparent);
}

.app-card {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 360px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  margin: 0 auto 28px;
  padding: 0;
  text-align: center;
}

.app-logo {
  width: clamp(82px, 22vw, 112px);
  height: clamp(82px, 22vw, 112px);
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(7, 35, 111, .3);
}

.app-card h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 7.2vw, 36px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 10px 28px rgba(4, 24, 88, .28);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 8px;
  font-size: clamp(23px, 5.8vw, 31px);
  line-height: 1.15;
  font-weight: 800;
}

.hero__summary {
  margin: 0 auto;
  max-width: 380px;
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.download-panel,
.guide-panel {
  position: relative;
  z-index: 2;
  margin: -24px 18px 18px;
  padding: 22px 18px 24px;
  border: 1px solid rgba(224, 234, 247, .94);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.guide-panel {
  margin-top: 22px;
  padding-bottom: 28px;
  box-shadow: 0 16px 48px rgba(20, 68, 151, .12);
}

.section-heading {
  margin-bottom: 16px;
  text-align: center;
}

.section-heading p {
  margin: 0 0 6px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 700;
}

.section-heading h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
}

.download-actions {
  display: grid;
  gap: 13px;
}

.download-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 62px;
  gap: 14px;
  padding: 0 18px;
  border-radius: 16px;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 26px rgba(32, 104, 236, .2);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.download-button:active {
  transform: translateY(1px) scale(.99);
}

.download-button--android {
  background:
    linear-gradient(135deg, #16b99f, #258cf6);
}

.download-button--ios {
  background:
    linear-gradient(135deg, #15213b, #3f4e68);
}

.download-button__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .16);
}

.download-button__icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.download-button strong,
.download-button small {
  display: block;
}

.download-button span:last-child {
  min-width: 0;
}

.download-button small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 500;
}

.steps {
  display: grid;
  gap: 24px;
}

.step {
  position: relative;
  overflow: hidden;
  padding: clamp(12px, 3.5vw, 20px);
  border: 1px solid rgba(221, 231, 244, .95);
  border-radius: 24px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(150deg, rgba(37, 104, 238, .28), rgba(33, 212, 232, .14)) border-box;
  box-shadow: 0 16px 40px rgba(17, 36, 84, .08);
}

.step img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border: 1px solid #e8eef6;
  border-radius: 18px;
  background: #fff;
}

.step__copy {
  position: relative;
  margin-top: 14px;
  padding: 10px 18px 10px 20px;
  overflow: hidden;
  border: 1px solid rgba(197, 218, 250, .85);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(37, 104, 238, .12), rgba(33, 212, 232, .1)),
    #f6fbff;
}

.step__copy::before {
  position: absolute;
  inset: 18px auto 18px 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue-700), var(--cyan-400));
  content: "";
}

.step__copy h3 {
  margin: 0 0 6px;
  color: var(--blue-950);
  font-size: 19px;
  line-height: 1.35;
}

.step__copy p {
  margin: 0;
  color: #46566f;
  font-size: 14px;
  line-height: 1.7;
}

.step__copy strong {
  color: var(--blue-700);
}

@media (min-width: 620px) {
  .download-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-panel,
  .guide-panel {
    margin-right: 28px;
    margin-left: 28px;
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (max-width: 390px) {
  .hero {
    padding-right: 20px;
    padding-left: 20px;
    min-height: 372px;
  }

  .app-card {
    gap: 12px;
  }

  .download-panel,
  .guide-panel {
    margin-right: 14px;
    margin-left: 14px;
  }

  .step {
    padding: 13px;
  }
}
