:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #667085;
  --line: #d8ded7;
  --surface: #ffffff;
  --surface-soft: #f6f8f5;
  --blue: #2457d6;
  --green: #19a56f;
  --amber: #d9851b;
  --shadow: 0 22px 70px rgba(23, 33, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(36, 87, 214, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(25, 165, 111, 0.1), transparent 38%),
    var(--surface-soft);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 32px;
}

.hero {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.download-surface {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(216, 222, 215, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: 8px;
}

.hero-copy {
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(36, 87, 214, 0.22);
  flex: 0 0 auto;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

.tagline {
  max-width: 640px;
  margin: 28px 0 34px;
  color: #344054;
  font-size: 20px;
  line-height: 1.7;
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.release-meta div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fbfcfb;
  border-radius: 8px;
}

.release-meta dt {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.release-meta dd {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.warning {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(217, 133, 27, 0.32);
  background: rgba(217, 133, 27, 0.1);
  border-radius: 8px;
  color: #7a470f;
  font-size: 14px;
  line-height: 1.6;
}

.download-surface {
  min-height: 480px;
  padding: 24px;
  display: flex;
  align-items: stretch;
}

.mobile-panel,
.desktop-panel {
  width: 100%;
}

.mobile-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fbfcfb;
  border-radius: 8px;
}

.status-dot {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(25, 165, 111, 0.12);
  flex: 0 0 auto;
}

.platform-card h2,
.qr-copy h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0;
}

.primary-button,
.secondary-button,
.split-links a,
.desktop-links a {
  min-height: 52px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.3;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button {
  width: 100%;
  padding: 15px 18px;
  border: 0;
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 16px 30px rgba(36, 87, 214, 0.26);
  font-size: 18px;
}

.primary-button:hover,
.secondary-button:hover,
.split-links a:hover,
.desktop-links a:hover {
  transform: translateY(-1px);
}

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

.split-links a,
.desktop-links a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #2f3a45;
  font-size: 15px;
}

.desktop-panel {
  display: grid;
  align-content: center;
  gap: 18px;
}

.qr-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.qr-frame {
  width: 200px;
  aspect-ratio: 1;
  padding: 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 8px;
}

.qr-frame img {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-copy p:not(.panel-kicker) {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.secondary-button {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(36, 87, 214, 0.22);
  background: rgba(36, 87, 214, 0.08);
  color: var(--blue);
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
}

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

.noscript {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  color: #7a470f;
  background: #fff6e8;
  border: 1px solid rgba(217, 133, 27, 0.35);
  border-radius: 8px;
  text-align: center;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .page-shell {
    padding: 20px;
    align-items: start;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 28px;
  }

  .download-surface {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .page-shell {
    padding: 14px;
  }

  .hero {
    gap: 14px;
  }

  .hero-copy,
  .download-surface {
    padding: 18px;
  }

  .brand-row {
    align-items: flex-start;
    gap: 14px;
  }

  .app-icon {
    width: 58px;
    height: 58px;
  }

  h1 {
    font-size: 30px;
  }

  .tagline {
    margin: 22px 0 24px;
    font-size: 17px;
  }

  .release-meta {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 96px;
    padding: 16px;
  }

  .platform-card h2,
  .qr-copy h2 {
    font-size: 22px;
  }

  .qr-layout {
    grid-template-columns: 1fr;
  }

  .qr-frame {
    width: min(100%, 240px);
    margin: 0 auto;
  }
}
