.install-page { overflow-x: hidden; background: var(--paper); }

.install-hero-v3 {
  position: relative;
  isolation: isolate;
  min-height: 470px;
  overflow: hidden;
  color: var(--white);
  background: var(--cobalt);
}

.install-hero-inner,
.install-shell {
  width: min(calc(100% - 64px), 1180px);
  margin-inline: auto;
}

.install-hero-inner { display: grid; place-items: center; min-height: 378px; padding: 2.5rem 0 4rem; text-align: center; }
.install-hero-inner h1 { max-width: 850px; margin: 0 auto; color: var(--white); font-size: clamp(3.6rem, 7vw, 6.7rem); font-weight: 740; letter-spacing: -.072em; line-height: .94; }

.install-steps-v3 { padding: clamp(5rem, 9vw, 8rem) 0 clamp(6rem, 10vw, 9rem); }
.install-step-v3 { display: grid; grid-template-columns: minmax(17rem, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(3rem, 8vw, 7rem); padding: clamp(4rem, 7vw, 6.5rem) 0; border-bottom: 1px solid #dfe3f0; }
.install-step-v3:first-child { padding-top: 1rem; }
.install-step-v3:last-child { padding-bottom: 1rem; border-bottom: 0; }
.install-step-reverse { grid-template-columns: minmax(0, 1.28fr) minmax(17rem, .72fr); }
.install-step-reverse .install-step-copy { order: 2; }
.install-step-reverse .install-shot { order: 1; }
.install-step-label { display: inline-flex; padding: .52rem .76rem; border-radius: 999px; background: var(--lavender); color: var(--cobalt); font-size: .78rem; font-weight: 720; }
.install-step-copy h2 { max-width: 28rem; margin: 1.15rem 0 0; font-size: clamp(2.5rem, 4.4vw, 4.4rem); font-weight: 735; letter-spacing: -.065em; line-height: .98; }
.install-step-copy p { max-width: 31rem; margin: 1.45rem 0 0; color: var(--muted-ink); font-size: clamp(1rem, 1.35vw, 1.12rem); line-height: 1.68; letter-spacing: -.016em; }
.install-step-copy strong { color: var(--ink); font-weight: 680; }
.step-download-v3 { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.7rem; padding: .95rem 1.2rem; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .92rem; font-weight: 720; text-decoration: none; transition: transform 180ms var(--ease-out); }
.step-download-v3:hover, .step-download-v3:focus-visible { transform: translateY(-2px); }
.step-download-v3 svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.install-confirm { display: flex; align-items: center; gap: .65rem; margin-top: 1.6rem; color: var(--cobalt); font-size: .92rem; font-weight: 650; }
.install-confirm svg { width: 1.7rem; height: 1.7rem; padding: .3rem; border-radius: 50%; background: var(--lavender); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.install-shot { position: relative; overflow: hidden; margin: 0; padding: 2.7rem 1.2rem 1.2rem; border: 1px solid #ccd3e8; border-radius: 24px; background: #eef0fa; box-shadow: 0 30px 70px rgba(36,81,198,.12); }
.install-shot-app { background: #e8ebf7; }
.shot-bar { position: absolute; top: 1rem; left: 1.15rem; display: flex; gap: .35rem; }
.shot-bar span { width: .48rem; height: .48rem; border-radius: 50%; background: #aab4d3; }
.shot-bar span:first-child { background: var(--gold); }
.install-shot img { display: block; width: 100%; height: auto; border-radius: 13px; }
.shot-caption { margin-top: .85rem; color: #67799d; font-size: .8rem; font-weight: 560; text-align: center; }

.install-final-cta { margin-top: 0; background: var(--cobalt); }
.install-final-cta .final-cta-glow { display: none; }

@media (max-width: 850px) {
  .install-step-v3,
  .install-step-reverse { grid-template-columns: 1fr; gap: 2rem; }
  .install-step-reverse .install-step-copy,
  .install-step-reverse .install-shot { order: initial; }
  .install-step-copy { max-width: 38rem; }
}

@media (max-width: 520px) {
  .install-hero-v3 { min-height: 420px; }
  .install-hero-inner,
  .install-shell { width: min(calc(100% - 40px), 1180px); }
  .install-hero-inner { min-height: 344px; padding: 2rem 0 3rem; text-align: left; }
  .install-hero-inner h1 { margin-inline: 0; font-size: clamp(3.3rem, 16vw, 4.5rem); }
  .install-step-v3 { padding: 3.6rem 0; }
  .install-step-copy h2 { font-size: clamp(2.35rem, 12vw, 3.3rem); }
  .install-shot { padding: 2.25rem .7rem .7rem; border-radius: 18px; }
  .shot-bar { top: .85rem; left: .9rem; }
}

.install-substeps { display: grid; gap: .6rem; max-width: 31rem; margin: 1.3rem 0 0; padding: 0; list-style: none; counter-reset: substep; }
.install-substeps li { display: flex; align-items: center; gap: .75rem; color: var(--muted-ink); font-size: clamp(1rem, 1.35vw, 1.08rem); line-height: 1.5; counter-increment: substep; }
.install-substeps li::before { display: grid; flex: none; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--lavender); color: var(--cobalt); font-size: .8rem; font-weight: 720; content: counter(substep); }
.install-step-copy p a { color: var(--cobalt); font-weight: 620; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
