/* ===========================================================================
   SUBPAGE SHARED STYLES
   Included by all landing pages alongside styles.css.
   Provides layout + component patterns not needed on the homepage.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   PAGE HERO — taller top padding to clear sticky nav
   --------------------------------------------------------------------------- */
.page-hero {
  padding-top: 160px;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* ---------------------------------------------------------------------------
   SPLIT LAYOUT — text + phone side by side, stacks on mobile
   --------------------------------------------------------------------------- */
.page-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .page-split { grid-template-columns: 1fr; gap: 40px; }
}
.page-split .phone { max-width: 280px; width: 100%; }
.page-split--reverse { direction: rtl; }
.page-split--reverse > * { direction: ltr; }

/* ---------------------------------------------------------------------------
   SCREENSHOT PLACEHOLDER — dashed box with instructions for assets
   --------------------------------------------------------------------------- */
.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  background: var(--slate-card);
  border: 2px dashed var(--slate-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-d);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 32px;
  line-height: 1.6;
  max-width: 280px;
}
.section--light .screenshot-placeholder {
  background: var(--white);
  border-color: var(--light-line);
  color: var(--muted-l);
}

/* ---------------------------------------------------------------------------
   CALLOUT CARDS — 3-column grid of feature highlights
   --------------------------------------------------------------------------- */
.page-callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
@media (max-width: 760px) {
  .page-callouts { grid-template-columns: 1fr; }
}

.page-callout {
  padding: 28px 24px;
  background: var(--slate-card);
  border: 1px solid var(--slate-line);
  border-radius: var(--radius);
}
.page-callout h4 { font-size: 16px; margin-bottom: 8px; }
.page-callout p { font-size: 14px; color: var(--text-soft); line-height: 1.55; }

.section--light .page-callout {
  background: var(--white);
  border-color: var(--light-line);
}
.section--light .page-callout h4 { color: var(--ink); }
.section--light .page-callout p { color: var(--muted-l); }

/* ---------------------------------------------------------------------------
   SCENARIO LIST — stacked items with bold labels
   --------------------------------------------------------------------------- */
.scenario-list {
  list-style: none;
  margin-top: 32px;
}
.scenario-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--slate-line);
  font-size: 15px;
  line-height: 1.6;
}
.scenario-list li:last-child { border-bottom: none; }
.scenario-list strong {
  color: var(--amber);
  display: block;
  margin-bottom: 4px;
}
.section--light .scenario-list li { border-color: var(--light-line); }
.section--light .scenario-list strong { color: var(--ink); }

/* ---------------------------------------------------------------------------
   RELATED LINKS — pill-style cross-links to other pages
   --------------------------------------------------------------------------- */
.related-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.related-links a {
  padding: 10px 20px;
  border: 1px solid var(--slate-line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}
.related-links a:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.section--light .related-links a {
  color: var(--ink);
  border-color: var(--light-line);
}
.section--light .related-links a:hover {
  border-color: var(--amber);
  color: var(--amber-warm);
}

/* ---------------------------------------------------------------------------
   PAGE FAQ — reuses homepage .faq styles, adds subpage-specific spacing
   --------------------------------------------------------------------------- */
.page-faq {
  max-width: 760px;
  margin: 0 auto;
}

/* ---------------------------------------------------------------------------
   BODY PROSE — longer text blocks on privacy/policy pages
   --------------------------------------------------------------------------- */
.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}
.prose h2 {
  font-size: 22px;
  color: var(--text);
  margin: 48px 0 16px;
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--amber); }
.prose a:hover { text-decoration: underline; }

.section--light .prose { color: var(--muted-l); }
.section--light .prose h2 { color: var(--ink); }
