:root {
  --blue-950: #062a4a;
  --blue-900: #0a3d6e;
  --blue-800: #0d4f8c;
  --blue-700: #1565c0;
  --blue-600: #1a74d4;
  --blue-500: #2b8aef;
  --blue-400: #5aa8f5;
  --blue-200: #bbdefb;
  --blue-100: #e3f2fd;
  --blue-50: #f2f8ff;
  --white: #ffffff;
  --ink: #10233a;
  --muted: #5a6d82;
  --line: rgba(21, 101, 192, 0.14);
  --shadow: 0 22px 56px rgba(13, 79, 140, 0.14);
  --shadow-soft: 0 12px 32px rgba(16, 35, 58, 0.06);
  /* 不依赖 Google Fonts，避免微信/国内网络加载失败导致白屏 */
  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.has-smooth-scroll {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: #f7fbff;
  overflow-x: hidden;
  max-width: 100%;
  overflow-anchor: none;
}

main,
section,
.footer,
.hero-copy,
.hero-grid {
  max-width: 100%;
  min-width: 0;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(920px 480px at 8% -8%, rgba(66, 165, 245, 0.28), transparent 58%),
    radial-gradient(720px 420px at 96% 4%, rgba(21, 101, 192, 0.16), transparent 52%),
    radial-gradient(640px 360px at 50% 100%, rgba(187, 222, 251, 0.45), transparent 55%),
    linear-gradient(180deg, #eef6ff 0%, #f8fbff 32%, #ffffff 70%, #f3f8ff 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  max-width: 100%;
}

/* nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 28px rgba(13, 79, 140, 0.06);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--blue-900);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(21, 101, 192, 0.22);
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-400));
  transition: width .22s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--blue-700); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--blue-800), var(--blue-500));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(26, 116, 212, 0.3);
  transition: transform .2s ease, box-shadow .2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(26, 116, 212, 0.38);
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 118px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

/* 桌面端：文案在左、手机在右（DOM 中 visual 在前，用 order 调回） */
.hero-copy { order: 1; }
.hero-visual { order: 2; }

.hero-kicker {
  margin: 0 0 14px;
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-brand {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(46px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--blue-950);
}

.hero-tagline {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--blue-700);
}

.hero-lead {
  margin: 0 0 32px;
  max-width: 36em;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 164px;
  height: 54px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; }

.btn-android {
  background: linear-gradient(120deg, var(--blue-800), var(--blue-500));
  color: #fff;
  box-shadow: 0 14px 34px rgba(21, 101, 192, 0.3);
}

.btn-ios {
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-800);
  border: 1.5px solid rgba(21, 101, 192, 0.28);
  box-shadow: var(--shadow-soft);
}

.btn-ios:hover {
  border-color: var(--blue-500);
  box-shadow: 0 14px 30px rgba(21, 101, 192, 0.14);
}

.hero-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-promises li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  color: var(--blue-800);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: visible;
  width: 100%;
  max-width: 100%;
}

.hero-orb {
  position: absolute;
  width: min(460px, 92vw);
  height: min(460px, 92vw);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(90, 168, 245, 0.45), transparent 52%),
    radial-gradient(circle at 70% 70%, rgba(13, 79, 140, 0.2), transparent 48%);
  filter: blur(4px);
  animation: pulse 8s ease-in-out infinite;
  pointer-events: none;
}

.phone {
  position: relative;
  z-index: 2;
  width: min(278px, 68vw);
  aspect-ratio: 9 / 17.8;
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(165deg, #dbeafe, #ffffff 42%, #cfe4ff);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.85);
  animation: float 7.5s ease-in-out infinite;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 3;
  width: 86px;
  height: 10px;
  border-radius: 999px;
  background: rgba(6, 42, 74, 0.35);
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.12), transparent 40%),
    linear-gradient(180deg, #0a4a86 0%, #1a74d4 52%, #7eb8f5 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 36px 20px 28px;
  color: #fff;
  text-align: center;
}

.phone-screen img {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.phone-screen strong {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.02em;
}

.phone-screen > p {
  margin: 0;
  opacity: 0.92;
  font-size: 12.5px;
  line-height: 1.55;
}

.phone-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.phone-pills span {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 11px;
  font-weight: 700;
}

.scene-card {
  position: absolute;
  z-index: 3;
  width: min(220px, 46vw);
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  animation: float 6.5s ease-in-out infinite;
}

.scene-card .scene-label {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-500);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.scene-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-900);
  font-size: 15px;
  line-height: 1.35;
}

.scene-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.scene-a { left: -2%; top: 14%; animation-delay: -0.9s; }
.scene-b { right: -4%; bottom: 16%; animation-delay: -1.8s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* sections */
.section { padding: 96px 0; }

.section.alt {
  background: linear-gradient(180deg, rgba(227, 242, 253, 0.55), rgba(255, 255, 255, 0.15));
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head .eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  color: var(--blue-950);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15.5px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 26px 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid transparent;
  border-image: none;
  box-shadow: var(--shadow-soft);
  background-clip: padding-box;
  outline: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, outline-color .25s ease;
}

.feature-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  outline-color: rgba(43, 138, 239, 0.35);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--blue-400);
}

.feature-body h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: var(--blue-900);
  letter-spacing: -0.01em;
}

.feature-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.feature-tag {
  align-self: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-item {
  padding: 28px 22px;
  border-radius: 22px;
  background: #fff;
  outline: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease;
}

.trust-item:hover { transform: translateY(-4px); }

.trust-item strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--blue-800);
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

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

.quote {
  margin: 0;
  padding: 28px 24px;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(227, 242, 253, 0.65));
  outline: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.quote p {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.55;
  color: var(--blue-900);
}

.quote footer {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px 24px 28px;
  border-radius: 22px;
  background: #fff;
  outline: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-500);
}

.step h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--blue-900);
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.download-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 48px 40px;
  background:
    radial-gradient(520px 240px at 0% 0%, rgba(255, 255, 255, 0.2), transparent 55%),
    linear-gradient(125deg, #063866, #1565c0 48%, #42a5f5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: 0 28px 64px rgba(6, 56, 102, 0.32);
}

.download-band::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.download-copy { position: relative; z-index: 1; max-width: 560px; }

.download-band h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: -0.02em;
}

.download-band p {
  margin: 0;
  opacity: 0.94;
  line-height: 1.7;
}

.download-band .cta-row { position: relative; z-index: 1; }

.download-band .btn-android {
  background: #fff;
  color: var(--blue-800);
  box-shadow: none;
}

.download-band .btn-ios {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.download-band .btn-ios:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  line-height: 1.9;
  background: rgba(255, 255, 255, 0.7);
}

.footer a {
  color: var(--muted);
  transition: color .2s ease;
}

.footer a:hover {
  color: var(--blue-700);
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(6, 42, 74, 0.5);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: min(420px, 100%);
  padding: 34px 28px 28px;
  border-radius: 24px;
  background: #fff;
  outline: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(6, 56, 102, 0.24);
  text-align: center;
  transform: translateY(16px) scale(0.98);
  transition: transform .28s ease;
}

.modal.open .modal-panel { transform: none; }

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-700);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.modal-close:hover { background: var(--blue-100); }

.modal-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
}

.modal-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-family: var(--font-display);
  color: var(--blue-950);
}

.modal-desc {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.qr-box {
  width: 228px;
  height: 228px;
  margin: 0 auto 16px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f2f8ff, #fff);
  outline: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.qr-box canvas,
.qr-box img {
  width: 192px !important;
  height: 192px !important;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.modal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--blue-800), var(--blue-500));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.modal-copy {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue-700);
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}

.modal-copy:hover { background: var(--blue-50); }

.wx-open-tip {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 200;
  padding: 10px 12px;
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  background: linear-gradient(120deg, #0d4f8c, #1a74d4);
  color: #fff;
  box-shadow: 0 8px 20px rgba(13, 79, 140, 0.25);
}

.wx-open-tip-inner {
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.wx-open-tip strong,
.wx-open-tip b {
  color: #ffe082;
}

.is-wechat .nav {
  top: 52px;
}

.is-wechat .hero {
  padding-top: calc(118px + 52px);
}

@media (max-width: 980px) {
  .is-wechat .hero {
    padding-top: calc(88px + 52px);
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  z-index: 140;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--blue-950);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 12px 30px rgba(6, 42, 74, 0.3);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1100px) {
  .scene-a { left: 0; }
  .scene-b { right: 0; }
  .scene-card { width: min(200px, 38vw); }
}

@media (max-width: 980px) {
  .container {
    width: min(1120px, calc(100% - 32px));
  }

  .nav-links { display: none; }

  .nav-inner {
    height: 64px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    font-size: 15px;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-cta {
    flex-shrink: 0;
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding: 88px 0 48px;
  }

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

  /* 手机端：手机框在上，文案在下 */
  .hero-visual {
    order: 1;
    min-height: 0;
    padding: 4px 0 0;
  }

  .hero-copy {
    order: 2;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-row {
    justify-content: center;
  }

  .hero-promises {
    justify-content: center;
  }

  .hero-brand {
    font-size: clamp(34px, 10vw, 52px);
  }

  .hero-tagline {
    font-size: clamp(18px, 5.2vw, 24px);
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 24px;
  }

  .scene-card { display: none; }

  .phone {
    width: min(220px, 52vw);
    animation: none;
  }

  .hero-orb {
    width: min(300px, 72vw);
    height: min(300px, 72vw);
    animation: none;
  }

  .section { padding: 64px 0; }

  .section-head {
    margin-bottom: 32px;
    text-align: left;
  }

  .section-head h2 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .trust-grid,
  .quote-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: 48px 1fr;
    gap: 12px 14px;
    padding: 20px 18px;
  }

  .feature-num { font-size: 22px; }

  .feature-body h3 {
    font-size: 17px;
    line-height: 1.4;
  }

  .feature-body p {
    font-size: 14px;
  }

  .feature-tag {
    grid-column: 2;
    justify-self: start;
    margin-top: 2px;
  }

  .download-band {
    padding: 28px 20px;
    border-radius: 22px;
    flex-direction: column;
    align-items: stretch;
  }

  .download-band .cta-row {
    width: 100%;
  }

  .download-band .btn {
    width: 100%;
    min-width: 0;
  }

  .modal {
    padding: 16px;
    align-items: flex-end;
  }

  .modal-panel {
    width: 100%;
    max-height: min(92vh, 720px);
    overflow-y: auto;
    padding: 28px 20px 22px;
    border-radius: 20px 20px 16px 16px;
  }

  .qr-box {
    width: min(228px, 70vw);
    height: auto;
    aspect-ratio: 1;
  }

  .qr-box canvas,
  .qr-box img {
    width: min(192px, calc(70vw - 28px)) !important;
    height: min(192px, calc(70vw - 28px)) !important;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 24px);
  }

  .nav-inner { height: 58px; }

  .brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand { gap: 8px; font-size: 14px; }

  .hero { padding: 78px 0 36px; }

  .hero-kicker { margin-bottom: 10px; font-size: 12px; }

  .hero-promises {
    gap: 8px;
    margin-top: 20px;
  }

  .hero-promises li {
    padding: 6px 10px;
    font-size: 12px;
  }

  .cta-row {
    flex-direction: column;
    width: 100%;
  }

  .cta-row .btn {
    width: 100%;
    min-width: 0;
  }

  .phone {
    width: min(210px, 56vw);
  }

  .phone-screen {
    gap: 10px;
    padding: 30px 16px 22px;
  }

  .phone-screen img {
    width: 88px;
    height: 88px;
    border-radius: 20px;
  }

  .phone-screen strong { font-size: 17px; }

  .section { padding: 52px 0; }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .feature-num { margin-bottom: 2px; }

  .feature-tag {
    grid-column: auto;
  }

  .trust-item,
  .quote,
  .step {
    padding: 22px 18px;
  }

  .quote p { font-size: 16px; }

  .footer {
    padding: 28px 12px 36px;
    padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
    font-size: 12px;
    word-break: break-word;
  }

  .toast {
    left: 16px;
    right: 16px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    width: auto;
    transform: translateY(20px);
    text-align: center;
  }

  .toast.show {
    transform: translateY(0);
  }
}

@media (max-width: 380px) {
  .hero-brand { font-size: 30px; }
  .nav-cta { padding: 0 12px; }
}
