/* Only the homepage app section and /app/ load this stylesheet. */
.app-promo { display: grid; gap: 24px; align-items: center; }
.app-promo > * { min-width: 0; }
.app-promo-copy h2 { font-size: clamp(1.45rem, 2.7vw, 1.9rem); }
.app-promo-copy .btn { max-width: 100%; text-align: center; }
.app-promo-screen { width: min(100%, 220px); margin: 0 auto; }
.app-promo-screen img,
.app-walk-step img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 20px;
}
.app-promo-screen figcaption,
.app-walk-step figcaption { margin-top: 10px; font-size: .78rem; line-height: 1.5; color: var(--muted); }
.app-promo-qr { justify-self: center; }
@media (max-width: 799px) { .app-promo-qr { display: none; } }
@media (min-width: 800px) {
  .app-promo { grid-template-columns: minmax(0, 1fr) 180px 132px; }
}
.app-walkthrough { margin-block: 32px; }
.app-walkthrough { scroll-margin-top: 24px; }
.app-demo { margin-bottom: 40px; }
.app-demo h2 { max-width: 24ch; font-size: clamp(1.65rem, 4vw, 2.55rem); line-height: 1.15; }
.app-demo-player { margin: 24px 0 16px; }
.app-demo-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #09151b; border: 1px solid var(--border); border-radius: 16px; }
.app-demo-player figcaption { max-width: 70em; margin-top: 12px; font-size: .85rem; line-height: 1.6; color: var(--muted); }
.app-demo-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin: 20px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.app-demo-download-copy { min-width: 0; }
.app-demo-download-copy h3 { font-size: 1.3rem; }
.app-demo-download-copy p { max-width: 58ch; margin: 0 0 12px; }
.app-demo-download-copy p:last-child { margin-bottom: 0; }
.app-demo-actions .btn { max-width: 100%; min-height: 44px; text-align: center; }
.app-demo-qr { display: none; }
@media (min-width: 800px) {
  .app-demo-actions { grid-template-columns: minmax(0, 1fr) 160px; gap: 32px; padding: 24px; }
  .app-demo-qr { display: block; }
}
.app-demo-transcript { padding: 16px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.app-demo-transcript summary { cursor: pointer; font-weight: 650; }
.app-demo-transcript p, .app-demo-transcript li { max-width: 72ch; line-height: 1.65; }
.app-demo-transcript li + li { margin-top: 10px; }
.app-demo-link { font-weight: 700; }
.app-demo video:focus-visible, .app-demo summary:focus-visible, .app-demo-link:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
@media (max-width: 480px) { .app-demo-player video { border-radius: 10px; } .app-demo-transcript { padding: 14px; } }
@media print { .app-demo-player { display: none; } .app-demo-transcript { border: none; } }
.app-walk-intro { max-width: 46em; color: var(--muted); }
.app-walk-steps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(80vw, 300px);
  gap: 16px;
  padding: 3px 3px 15px;
  margin: 16px 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}
.app-walk-step {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  scroll-snap-align: start;
}
.app-walk-step > p:not(.eyebrow) { font-size: .94rem; color: var(--muted); }
.app-walk-step figure { width: min(100%, 268px); margin: auto auto 0; padding-top: 8px; }
@media (min-width: 760px) {
  .app-walk-scroll-hint { display: none; }
  .app-walk-steps { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow-x: visible; }
}
@media print {
  .app-promo { display: none; }
  .app-walk-steps { display: block; overflow: visible; }
  .app-walk-step { break-inside: avoid; margin-bottom: 16px; }
}
