/* App pages (/apps/<slug>/ and /apps/<slug>/privacy/). Loaded AFTER the site's
   /assets/css/styles.css and built only from its tokens (--bg, --bg-raise, --line, --text,
   --text-soft, --accent, --step-*, --section), so app pages look like the rest of the site.
   Generated by the Tallpine app factory (website-templates/apps.css); edit there, not here. */

.crumbs { padding-top: clamp(1.5rem, 4vw, 2.5rem); font-size: var(--step--1); color: var(--text-soft); }
.crumbs a { color: var(--text-soft); text-underline-offset: 0.25em; }
.crumbs a:hover { color: var(--text); }

/* Home-page app cards (index.html) */
.app-card img.app-icon { object-fit: contain; background: transparent; border: 0; border-radius: 0; }
.app-card h3 a { text-decoration: none; }
.app-card h3 a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.app-card .where a { color: var(--accent); text-underline-offset: 0.2em; }

/* App page */
.app-page { padding-bottom: var(--section); }
.app-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: start;
  padding-block: clamp(2rem, 6vw, 4rem) clamp(2.5rem, 6vw, 4.5rem);
}
.app-hero-icon { width: clamp(5rem, 10vw, 7rem); height: auto; }
.app-hero h1 { font-size: var(--step-hero); line-height: 1.02; }
.app-hero .lede { margin-top: 1.25rem; max-width: 40rem; font-size: var(--step-1); color: var(--text-soft); }
.app-hero .actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.app-hero .price { margin-top: 1rem; color: var(--text-soft); font-size: var(--step--1); }
.btn.is-disabled { cursor: default; opacity: 0.75; }
@media (max-width: 40rem) { .app-hero { grid-template-columns: 1fr; } }

.app-section { padding-block: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--line); }
.app-section h2 { font-size: var(--step-2); line-height: 1.1; margin-bottom: 1.5rem; }
.prose-block p { max-width: 42rem; color: var(--text-soft); }
.prose-block p + p { margin-top: 1rem; }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: 1.25rem; }
.shots figure { margin: 0; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.shots img { display: block; width: 100%; height: auto; }
.shots figcaption { padding: 0.9rem 1.1rem 1.1rem; color: var(--text-soft); font-size: var(--step--1); }

.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 0.75rem; }
.feature-list li { padding: 1rem 1.2rem; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 12px; }

.privacy-callout p { max-width: 42rem; color: var(--text-soft); }
.privacy-callout p + p { margin-top: 1.25rem; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 2rem; margin: 0; }
.facts dt { color: var(--text-soft); }
.facts dd { margin: 0; }
.facts a, .privacy-callout a:not(.btn) { color: var(--text); text-underline-offset: 0.25em; }

/* App privacy policy */
.app-privacy h1 { margin-top: 1.5rem; }
.app-privacy .meta { color: var(--text-soft); }
.app-privacy ul { list-style: disc; padding-left: 1.25rem; max-width: 40rem; margin-top: 1rem; color: var(--text-soft); }
.app-privacy li + li { margin-top: 0.4rem; }
.app-privacy strong, .app-privacy em { color: var(--text); }
.table-scroll { overflow-x: auto; margin-top: 1.25rem; max-width: 48rem; }
.app-privacy table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.app-privacy th, .app-privacy td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); }
.app-privacy th { color: var(--text); font-weight: 600; }
.app-privacy td { color: var(--text-soft); }
.app-privacy code { font-size: 0.95em; color: var(--text); }
.app-privacy .back { margin-top: 3rem; }

/* Site privacy page: list of per-app policies */
.app-privacy-links { margin-top: 1rem; display: grid; gap: 0.4rem; }
