/* App landing pages (public/<app>/index.html, written by tools/app_pages.py).
   Built on styles.css: same tokens, header, eyebrow and footer. */
.app-page { padding-block: 40px 96px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 72px; }
.app-page > * { min-width: 0; }

.ap-hero { display: grid; grid-template-columns: 96px 1fr; gap: 28px; align-items: center; }
.ap-icon { width: 96px; height: 96px; border-radius: 22px; display: block; }
.ap-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; text-wrap: balance; }
.ap-hook { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; margin-top: 10px; text-wrap: balance; }
.ap-tag { color: var(--muted); font-size: 1.125rem; margin-top: 6px; }
.ap-dl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 18px; }
/* Both stores' badges sit in the same 162x48 slot. Their own artwork differs
   in proportion (Apple 3.0:1, Google 3.36:1) and neither may be stretched or
   cropped, so each is fitted inside the slot at full height and centred. */
.badge { display: inline-flex; align-items: center; justify-content: center; width: 162px; height: 48px; line-height: 0; }
.badge img { height: 48px; width: auto; max-width: 100%; display: block; }
.dl { display: inline-flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 6px 20px; border-radius: 12px;
      background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 700; font-size: 1.0625rem; line-height: 1.15; }
.dl small { font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.02em; opacity: 0.75; }
.dl:hover { background: #fff; }
.dl-soon { background: transparent; color: var(--muted); border: 1px solid var(--line); font-weight: 500; font-size: 0.9375rem; }

.ap-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.ap-feat { border-top: 1px solid var(--line); padding-top: 20px; }
.ap-feat h2 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.ap-feat p { color: var(--muted); margin-top: 8px; max-width: 60ch; }

.ap-shots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.ap-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 260px); gap: 16px; overflow-x: auto; padding-bottom: 8px; margin-top: 16px; }
.ap-strip img { width: 100%; height: auto; border-radius: 18px; display: block; background: #fff; }

.ap-formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.ap-formats p { margin-top: 12px; color: var(--ink); font-size: 0.9375rem; }

.ap-private { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 22px; font-size: 1.0625rem; }

.ap-more ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 16px; }
.ap-more a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; }
.ap-more a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ap-more img { width: 40px; height: 40px; border-radius: 9px; }

@media (max-width: 720px) {
  .app-page { gap: 56px; }
  .ap-hero { grid-template-columns: 72px 1fr; gap: 18px; }
  .ap-icon { width: 72px; height: 72px; border-radius: 16px; }
  .ap-features, .ap-formats { grid-template-columns: 1fr; gap: 28px; }
}
