/* Apps page (/apps): first screen with downloads and the phone, then features, installation, platforms and
   questions. Tokens and the phone illustration come from home.css. */
.page--apps .page-hero { overflow: hidden; }
.page--apps .page-hero-inner { padding-bottom: 0; }
.apps-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 56px; align-items: end; }
.apps-hero-copy { padding-bottom: 64px; }
.apps-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.apps-meta { margin-top: 14px; color: var(--muted); font-size: 13px; }
.app-qr { display: flex; align-items: center; gap: 16px; max-width: 420px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.app-qr img { display: block; width: 96px; height: 96px; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.app-qr figcaption { color: var(--muted); font-size: 13px; line-height: 1.5; }
.apps-hero-visual { display: flex; justify-content: center; }
.apps-hero-visual .phone { margin-bottom: -150px; }
.page--apps .page-body { padding-top: 40px; grid-template-columns: minmax(0, 1fr); }
.page--apps .guide section > h2 { margin-bottom: 4px; }
.page--apps .page-hero + .page-body { padding-top: 56px; }

.apps-section + .apps-section { margin-top: 24px; border-top: 1px solid var(--line); }
.app-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.app-feature { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.app-feature .line-icon { margin-bottom: 16px; }
.app-feature h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.app-feature p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.app-steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; padding: 0; }
.app-steps li { counter-increment: step; display: grid; align-content: start; gap: 8px; padding: 22px; background: var(--tint); border-radius: var(--radius); }
.app-steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 8px; border-radius: 50%; background: var(--text); color: #fff; font-size: 14px; font-weight: 600; }
.app-steps strong { font-size: 17px; font-weight: 600; }
.app-steps span { color: var(--muted); font-size: 15px; line-height: 1.6; }
.app-platforms { display: grid; max-width: 760px; margin-top: 20px; border-top: 1px solid var(--line); }
.apps-section .faq-list { max-width: 760px; }
.app-platforms div { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.app-platforms strong { font-size: 16px; font-weight: 550; }
.app-platforms span { color: var(--muted); font-size: 14px; }
.apps-section .faq-list { margin-top: 12px; }

@media (max-width: 980px) {
  .apps-hero { grid-template-columns: 1fr; gap: 0; }
  .apps-hero-copy { padding-bottom: 48px; }
  .app-qr { display: none; }
  .app-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .apps-actions { flex-direction: column; align-items: stretch; }
  .app-features, .app-steps { grid-template-columns: 1fr; }
  .apps-hero-visual .phone { margin-bottom: -110px; }
  .page--apps .page-hero + .page-body { padding-top: 32px; }
}
