/* Real app preview: screenshots + walkthrough recordings */
.demo { scroll-margin-top: 84px; }
.demo .sec-head p.demo-lede { font-size: 1.15rem; color: var(--mute); max-width: 56ch; margin: 26px 0 0; }
.demo-note { display: inline-block; margin-top: 16px; font-size: .9rem; font-weight: 700; color: var(--ink); background: var(--sky); border-radius: 999px; padding: 6px 14px; }
.shots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); margin: 0; padding: 0; list-style: none; }
.shot { margin: 0; display: grid; gap: 14px; align-content: start; }
.shot-btn { display: block; text-decoration: none; width: 100%; padding: 0; border: 2px solid var(--ink2); border-radius: 22px; overflow: hidden; background: var(--sky); cursor: zoom-in; position: relative; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.shot-btn:hover { transform: translateY(-4px); }
.shot-btn img { width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.shot-btn .zoom { position: absolute; right: 10px; bottom: 10px; background: var(--ink); color: var(--paper); font: 800 .74rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 8px 11px; border-radius: 999px; }
.shot figcaption { font-size: .95rem; color: var(--mute); }
.shot figcaption b { display: block; color: var(--ink); font-family: var(--display); font-weight: 900; font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: 4px; }
.shot .step { display: inline-block; font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-d); margin-bottom: 4px; }

.walks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 6vw, 80px); }
.walk { background: var(--sky); border-radius: var(--r); padding: clamp(20px, 2.6vw, 34px); display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.walk video { width: 100%; height: auto; aspect-ratio: 390 / 844; border-radius: 18px; background: var(--ink); display: block; border: 2px solid var(--ink2); object-fit: contain; }
.walk h3 { font-family: var(--display); font-weight: 900; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 8px; }
.walk .len { font-weight: 800; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-d); margin: 0 0 12px; }
.walk ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; color: var(--ink); font-weight: 600; }
.walk ol li::marker { color: var(--blue-d); font-weight: 900; }
.walk .hint { margin: 14px 0 0; font-size: .9rem; color: var(--mute); }

.lb { border: 0; padding: 0; background: transparent; max-width: min(94vw, 560px); max-height: 96dvh; width: 100%; overflow: visible; color: var(--ink); }
.lb::backdrop { background: rgba(6, 12, 24, .82); }
.lb-in { background: var(--paper); border-radius: 22px; padding: 14px; display: grid; gap: 10px; max-height: 94dvh; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lb-top h2 { font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.1; }
.lb-close { font: 800 .95rem var(--body); border: 2px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 8px 16px; cursor: pointer; min-height: 44px; }
.lb-close:hover { background: var(--ink); color: var(--paper); }
.lb-img { overflow: auto; border-radius: 14px; max-height: calc(94dvh - 140px); }
.lb-img img { width: 100%; height: auto; }
.lb-cap { margin: 0; color: var(--mute); font-size: .95rem; }

[data-website-theme="dark"] .shot-btn .zoom { background: #6aa6ff; color: #081428; }
[data-website-theme="dark"] .walk { background: #1a2a42; }
[data-website-theme="dark"] .demo-note { background: #1f3a63; }

@media (min-width: 1101px) { .walk { grid-template-columns: 1fr; } .walk video { max-width: 260px; } }
@media (max-width: 1100px) { .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); } .walks { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .walk { grid-template-columns: 1fr; }
  .walk video { max-width: 300px; margin: 0 auto; }
}
@media (max-width: 420px) { .shots { grid-template-columns: 1fr; } .shot-btn { max-width: 320px; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .shot-btn:hover { transform: none; } }
