:root {
  color-scheme: light;
  --bg: #f7fbff;
  --surface: #ffffff;
  --ink: #132032;
  --muted: #647084;
  --line: #dce6ef;
  --blue: #126dff;
  --teal: #13b8a6;
  --coral: #ff6b4a;
  --plum: #412e71;
  --shadow: 0 24px 70px rgba(22, 41, 63, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 12%, rgba(19, 184, 166, 0.18), transparent 28rem),
    radial-gradient(circle at 18% 42%, rgba(255, 107, 74, 0.14), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #eef7f4 100%);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 48px;
  width: min(1180px, calc(100% - 40px));
  min-height: 720px;
  margin: 0 auto;
  padding: 32px 0 78px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img,
.phone__header img {
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(19, 32, 50, 0.13);
}

.hero__copy {
  margin-top: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  color: #10182a;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lede {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.download-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 740px;
}

.store-button {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 74px;
  gap: 13px;
  padding: 13px 16px;
  border: 1px solid rgba(19, 32, 50, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 42px rgba(24, 44, 68, 0.09);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.store-button:hover,
.store-button:focus-visible {
  border-color: rgba(18, 109, 255, 0.42);
  box-shadow: 0 20px 54px rgba(18, 109, 255, 0.14);
  transform: translateY(-2px);
}

.store-button:focus-visible,
.compact-downloads a:focus-visible {
  outline: 3px solid rgba(18, 109, 255, 0.35);
  outline-offset: 3px;
}

.store-button.is-recommended::after {
  content: attr(data-recommended);
  position: absolute;
  top: -11px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.store-button__icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-size: 24px;
}

.store-button--apple .store-button__icon {
  background: var(--ink);
}

.store-button--android .store-button__icon {
  background: var(--teal);
}

.store-button--play .store-button__icon {
  background: var(--coral);
}

.store-button small,
.store-button strong {
  display: block;
  line-height: 1.1;
}

.store-button small {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.store-button strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.download-note {
  max-width: 620px;
  margin: 16px 0 0;
  color: #6c7789;
  font-size: 14px;
  line-height: 1.6;
}

.phone-stage {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone {
  position: relative;
  width: min(360px, 100%);
  min-height: 690px;
  padding: 20px;
  border: 10px solid #141b2b;
  border-radius: 44px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 255, 0.93)),
    radial-gradient(circle at 50% 18%, rgba(18, 109, 255, 0.2), transparent 220px);
  box-shadow:
    0 38px 90px rgba(19, 32, 50, 0.27),
    inset 0 0 0 1px rgba(255, 255, 255, 0.74);
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 96px;
  height: 27px;
  border-radius: 0 0 18px 18px;
  background: #141b2b;
  transform: translateX(-50%);
}

.phone__status,
.phone__header,
.metric-grid {
  position: relative;
  z-index: 1;
}

.phone__status {
  display: flex;
  justify-content: space-between;
  padding: 3px 9px 26px;
  font-size: 13px;
  font-weight: 800;
}

.signal {
  width: 38px;
  height: 13px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--ink) 64%, transparent 64%);
  border: 2px solid var(--ink);
}

.phone__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.phone__header p {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 13px;
}

.phone__header strong {
  font-size: 17px;
}

.control {
  display: grid;
  place-items: center;
  margin: 26px 0;
  padding: 34px 18px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(18, 109, 255, 0.1), rgba(19, 184, 166, 0.18)),
    #f7fbff;
}

.control__ring {
  display: grid;
  width: 180px;
  height: 180px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(from 210deg, var(--blue), var(--teal), var(--coral), var(--blue)),
    #fff;
  box-shadow: 0 24px 50px rgba(18, 109, 255, 0.22);
}

.control__ring img {
  border-radius: 26px;
}

.control p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.control strong {
  font-size: 34px;
  line-height: 1;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
}

.metric-grid span {
  display: block;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.metric-grid strong {
  font-size: 18px;
}

.features,
.final-cta {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.features {
  padding: 38px 0 76px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

h2 {
  margin-bottom: 0;
  color: #10182a;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

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

.feature-item {
  min-height: 246px;
  padding: 28px;
  border: 1px solid rgba(19, 32, 50, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(19, 32, 50, 0.08);
}

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-size: 26px;
}

.feature-icon--teal {
  background: var(--teal);
}

.feature-icon--coral {
  background: var(--coral);
}

.feature-icon--ink {
  background: var(--plum);
}

.feature-item h3 {
  margin-bottom: 12px;
  font-size: 22px;
  letter-spacing: 0;
}

.feature-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  padding: 34px;
  border-radius: 28px;
  background: #10182a;
  color: #fff;
  box-shadow: var(--shadow);
}

.final-cta h2 {
  color: #fff;
  font-size: clamp(26px, 4vw, 42px);
}

.compact-downloads {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.compact-downloads a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: #10182a;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.compact-downloads a:hover {
  background: #eaf6ff;
  transform: translateY(-1px);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  max-width: min(420px, calc(100% - 40px));
  padding: 14px 16px;
  border-radius: 14px;
  background: #10182a;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 18px 44px rgba(16, 24, 42, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
  }

  .hero__copy {
    margin-top: 54px;
  }

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

  .store-button {
    max-width: 420px;
  }

  .phone {
    min-height: 650px;
  }

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

  .compact-downloads {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  body {
    background:
      radial-gradient(circle at 88% 8%, rgba(19, 184, 166, 0.18), transparent 18rem),
      linear-gradient(180deg, #ffffff 0%, var(--bg) 55%, #eef7f4 100%);
  }

  .hero,
  .features,
  .final-cta {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding: 22px 0 52px;
  }

  .hero__copy {
    margin-top: 46px;
  }

  h1 {
    font-size: 43px;
  }

  .lede {
    font-size: 17px;
  }

  .download-panel {
    gap: 11px;
  }

  .store-button {
    width: 100%;
    min-height: 68px;
    border-radius: 16px;
  }

  .phone {
    width: min(100%, 330px);
    min-height: 612px;
    padding: 16px;
    border-width: 8px;
    border-radius: 38px;
  }

  .control {
    margin: 20px 0;
    padding: 28px 14px;
  }

  .control__ring {
    width: 150px;
    height: 150px;
  }

  .metric-grid div {
    min-height: 82px;
    padding: 14px;
  }

  .feature-item {
    min-height: auto;
    padding: 24px;
  }

  .final-cta {
    margin-bottom: 28px;
    padding: 26px 22px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
