:root {
  --bg: #f7f9fe;
  --surface: #ffffff;
  --surface-strong: #edf4ff;
  --text: #08111f;
  --muted: #5f6c82;
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --accent: #e11d48;
  --line: #dbe7fb;
  --shadow: 0 24px 80px rgba(18, 36, 73, 0.16);
}

* { box-sizing: border-box; }
html {
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.5;
}
body { margin: 0; }
a, button { -webkit-tap-highlight-color: transparent; }
.page-shell {
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(37, 99, 235, 0.16), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(225, 29, 72, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 58%, #ffffff 100%);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  min-height: 82dvh;
  margin: 0 auto;
  padding: 56px 0 34px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, p { margin-top: 0; }
h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
}
.hero-lede {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.download-button {
  display: inline-flex;
  min-height: 64px;
  min-width: 220px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.download-button:focus-visible, .text-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.download-button:hover { transform: translateY(-1px); }
.download-button:active { transform: translateY(0); }
.download-button strong, .download-button small { display: block; }
.download-button small { margin-top: 2px; opacity: 0.78; }
.download-button.primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.34);
}
.download-button.primary:hover { background: var(--primary-dark); }
.download-button.secondary {
  color: var(--text);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.button-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}
.secondary .button-icon { background: var(--surface-strong); }
svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  color: #334155;
  background: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 700;
}
.phone-preview {
  display: flex;
  justify-content: center;
}
.phone-preview-image {
  display: block;
  width: min(330px, 100%);
  height: auto;
}
.feature-band, .install-panel {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 28px;
}
.feature-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.feature-band article, .install-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 36px rgba(20, 35, 66, 0.08);
}
.feature-band article { padding: 22px; }
.feature-band svg { color: var(--primary); }
.feature-band h2, .install-panel h2 {
  margin: 12px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}
.feature-band p, .install-panel p { margin-bottom: 0; color: var(--muted); }
.install-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}
.text-link {
  display: inline-flex;
  min-height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--text);
  font-weight: 800;
  text-decoration: none;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 8px 0 28px;
  color: var(--muted);
  font-size: 13px;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--primary); text-decoration: underline; }
.site-footer a:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10;
  min-width: 190px;
  border-radius: 8px;
  padding: 14px 16px;
  color: #ffffff;
  background: #101827;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 34px; min-height: auto; padding-top: 36px; }
  .feature-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .hero, .feature-band, .install-panel { width: min(100% - 28px, 1120px); }
  h1 { font-size: 42px; }
  .download-button { width: 100%; }
  .feature-band { grid-template-columns: 1fr; }
  .install-panel { display: block; }
  .text-link { width: 100%; margin-top: 20px; }
  .toast { right: 14px; bottom: 14px; left: 14px; text-align: center; }
}
@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;
  }
}
