:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #101114;
  background: #f5f8ff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --blue: #0878ff;
  --blue-dark: #0060df;
  --ink: #101114;
  --muted: #696f7d;
  --line: rgba(23, 35, 61, 0.1);
  --glass: rgba(255, 255, 255, 0.66);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 73% 16%, rgba(111, 185, 255, 0.2), transparent 28rem),
    linear-gradient(145deg, #fbfdff 0%, #f3f7ff 50%, #eef3ff 100%);
}

button,
a {
  font: inherit;
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
}

.ambient-one {
  top: -16rem;
  left: -8rem;
  background: rgba(121, 202, 255, 0.2);
}

.ambient-two {
  right: -14rem;
  bottom: -17rem;
  background: rgba(84, 108, 255, 0.18);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0;
  background: linear-gradient(145deg, #4fb4ff, #086fff 60%, #004dc9);
  box-shadow: 0 9px 20px rgba(0, 105, 236, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.official-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  color: #4c5362;
  font-size: 0.82rem;
  font-weight: 630;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 8px 24px rgba(48, 74, 119, 0.08);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.official-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25c46a;
  box-shadow: 0 0 0 4px rgba(37, 196, 106, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  align-items: center;
  gap: clamp(48px, 8vw, 116px);
  padding: 42px 0 64px;
}

.hero-copy {
  max-width: 630px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.2em;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.7rem, 7.8vw, 6.8rem);
  font-weight: 760;
  letter-spacing: -0.075em;
  line-height: 0.94;
}

h1 span {
  display: inline-block;
  padding-right: 0.08em;
  color: transparent;
  background: linear-gradient(112deg, #0791ff 5%, #3967f2 48%, #7a58e9 96%);
  -webkit-background-clip: text;
  background-clip: text;
}

.intro {
  max-width: 510px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.download-panel {
  width: min(100%, 610px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 30px;
  background: var(--glass);
  box-shadow: 0 24px 70px rgba(43, 78, 134, 0.13), inset 0 1px 0 #fff;
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
}

.panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 5px 16px;
}

.panel-heading div {
  display: grid;
  gap: 5px;
}

.panel-heading small,
.floating-label small {
  color: #969dab;
  font-size: 0.66rem;
  font-weight: 720;
  letter-spacing: 0.16em;
}

.panel-heading strong {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.panel-heading > span {
  color: #7b8392;
  font-size: 0.76rem;
}

.download-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.download-button {
  min-width: 0;
  min-height: 84px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 22px;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 11px;
  text-align: left;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 24px rgba(38, 62, 101, 0.07);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.download-button:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(0, 120, 255, 0.24);
  box-shadow: 0 15px 30px rgba(33, 86, 163, 0.13);
}

.download-button:focus-visible {
  outline: 3px solid rgba(0, 120, 255, 0.26);
  outline-offset: 3px;
}

.download-button.is-selected {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, #168cff, #076be8 58%, #1454cf);
  box-shadow: 0 18px 34px rgba(0, 101, 226, 0.3);
}

.download-button:disabled {
  color: #8d94a1;
  background: rgba(247, 249, 252, 0.7);
  cursor: not-allowed;
  box-shadow: none;
}

.platform-icon {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(150deg, #4dc27f, #0f9e56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.platform-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.platform-icon.apple {
  color: transparent;
  background:
    radial-gradient(circle at 45% 45%, #656b77 0 30%, transparent 32%),
    radial-gradient(circle at 58% 42%, #656b77 0 27%, transparent 29%),
    radial-gradient(ellipse at 52% 62%, #656b77 0 38%, transparent 40%),
    rgba(231, 234, 239, 0.9);
}

.platform-copy {
  min-width: 0;
  display: grid;
  align-self: end;
}

.platform-copy small {
  overflow: hidden;
  color: #858c9a;
  font-size: 0.68rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.platform-copy strong {
  margin-top: 3px;
  overflow: hidden;
  font-size: 0.89rem;
  letter-spacing: -0.015em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.button-state {
  grid-column: 2;
  align-self: start;
  margin-top: 5px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 690;
}

.download-button.is-selected .platform-copy small,
.download-button.is-selected .button-state {
  color: rgba(255, 255, 255, 0.76);
}

.download-button:disabled .button-state {
  color: #9ba1ac;
}

.panel-note {
  margin: 13px 5px 1px;
  color: #8b92a0;
  font-size: 0.7rem;
}

.visual-stage {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.visual-stage::before {
  content: "";
  position: absolute;
  z-index: -3;
  width: min(39vw, 455px);
  height: min(39vw, 455px);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.96), rgba(169, 215, 255, 0.74) 34%, rgba(98, 135, 255, 0.25) 69%, transparent 70%);
  filter: drop-shadow(0 30px 50px rgba(58, 95, 160, 0.16));
}

.glass-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.36), rgba(121, 176, 255, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 30px 60px rgba(41, 79, 137, 0.09);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.orbit-back {
  width: 390px;
  height: 390px;
  transform: rotate(-12deg) scaleY(0.64);
}

.orbit-front {
  width: 460px;
  height: 460px;
  transform: rotate(52deg) scaleY(0.48);
}

.app-tile {
  position: relative;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 48px;
  color: #fff;
  background: linear-gradient(145deg, #63c7ff 0%, #168aff 40%, #345be8 72%, #654de1 100%);
  box-shadow: 0 38px 70px rgba(25, 92, 197, 0.34), inset 0 2px 0 rgba(255, 255, 255, 0.56);
  transform: rotate(-4deg);
}

.app-tile::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 39px;
}

.app-tile strong {
  position: relative;
  z-index: 1;
  font-size: 7rem;
  font-weight: 650;
  letter-spacing: -0.08em;
  text-shadow: 0 12px 30px rgba(19, 56, 143, 0.28);
}

.tile-shine {
  position: absolute;
  top: -52%;
  left: -20%;
  width: 120%;
  height: 90%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(-18deg);
}

.floating-label {
  position: absolute;
  min-width: 176px;
  min-height: 62px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 18px 48px rgba(46, 77, 124, 0.14), inset 0 1px 0 #fff;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.floating-label > span:first-child {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #6a7dff, #4e54dd);
}

.floating-label div {
  display: grid;
  gap: 3px;
}

.floating-label strong {
  font-size: 0.78rem;
  white-space: nowrap;
}

.label-top {
  top: 16%;
  right: -1%;
  transform: rotate(3deg);
}

.label-bottom {
  bottom: 17%;
  left: -4%;
  transform: rotate(-3deg);
}

.floating-label .pulse {
  position: relative;
  background: rgba(29, 196, 103, 0.12);
}

.floating-label .pulse::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1bc468;
  box-shadow: 0 0 0 5px rgba(27, 196, 104, 0.14);
}

footer {
  min-height: 58px;
  border-top: 1px solid rgba(34, 49, 78, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9298a4;
  font-size: 0.72rem;
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 34px, 680px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 26px 0 48px;
  }

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

  .visual-stage {
    min-height: 410px;
  }

  .visual-stage::before {
    width: 350px;
    height: 350px;
  }

  .app-tile {
    width: 150px;
    height: 150px;
    border-radius: 39px;
  }

  .app-tile strong {
    font-size: 5.6rem;
  }

  .orbit-back {
    width: 310px;
    height: 310px;
  }

  .orbit-front {
    width: 370px;
    height: 370px;
  }

  .label-top {
    top: 12%;
    right: 5%;
  }

  .label-bottom {
    bottom: 10%;
    left: 4%;
  }
}

@media (max-width: 600px) {
  .page-shell {
    width: min(100% - 26px, 470px);
  }

  .site-header {
    min-height: 72px;
  }

  .official-pill {
    min-height: 31px;
    padding: 0 11px;
    font-size: 0.74rem;
  }

  .hero {
    gap: 20px;
    padding: 12px 0 36px;
  }

  .visual-stage {
    min-height: 315px;
  }

  .visual-stage::before {
    width: 270px;
    height: 270px;
  }

  .app-tile {
    width: 126px;
    height: 126px;
    border-radius: 34px;
  }

  .app-tile strong {
    font-size: 4.7rem;
  }

  .orbit-back {
    width: 250px;
    height: 250px;
  }

  .orbit-front {
    width: 292px;
    height: 292px;
  }

  .floating-label {
    min-width: 148px;
    min-height: 52px;
    padding: 8px 10px;
    border-radius: 17px;
  }

  .floating-label > span:first-child {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .floating-label strong {
    font-size: 0.7rem;
  }

  .label-top {
    top: 4%;
    right: -2%;
  }

  .label-bottom {
    bottom: 2%;
    left: -2%;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.7rem;
  }

  h1 {
    font-size: clamp(3.35rem, 16vw, 4.6rem);
  }

  .intro {
    margin: 21px 0 25px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .download-panel {
    padding: 14px;
    border-radius: 26px;
  }

  .panel-heading {
    padding-bottom: 13px;
  }

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

  .download-button {
    min-height: 78px;
    border-radius: 20px;
  }

  footer {
    min-height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .download-button {
    transition: none;
  }
}
