/* ── Landing-page layer ───────────────────────────────────────────
   Scoped styles for the SEO landing pages. Reuses every token and
   component from styles.css; only adds what long-form pages need. */

/* One reading column for the whole page. Matches the 780px that
   .section-head already uses in styles.css, so the hero, the prose
   and the section headings all share a left edge. */
:root { --lp-read: 780px; }

.lp-hero {
  padding: clamp(120px, 16vh, 190px) 0 clamp(48px, 7vh, 84px);
  position: relative;
}
.lp-hero .container { max-width: var(--lp-read); }
.lp-hero .display { margin-bottom: 22px; }
.lp-hero .lede { max-width: 100%; }

/* Breadcrumb — also feeds BreadcrumbList schema */
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .02em;
  margin-bottom: 26px;
  opacity: .72;
}
.crumbs a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.crumbs a:hover { border-bottom-color: currentColor; }
.crumbs span[aria-current] { opacity: .85; }
.crumbs .sep { opacity: .4; }

/* Long-form prose — same column as the hero, centred in the page */
.prose { max-width: var(--lp-read); margin-inline: auto; }
.prose h2 {
  font-family: var(--serif, 'Fraunces', serif);
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.18;
  margin: 52px 0 18px;
  font-weight: 500;
}
.prose h3 {
  font-size: clamp(18px, 2vw, 22px);
  margin: 34px 0 10px;
  font-weight: 600;
}
.prose p { margin: 0 0 18px; line-height: 1.72; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; line-height: 1.72; }
.prose li { margin-bottom: 9px; }
.prose a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { opacity: .7; }
.prose strong { font-weight: 600; }

/* Answer block — the paragraph most likely to be pulled as a
   featured snippet / AI Overview citation. Keep it ~40-55 words. */
.answer-box {
  border-left: 3px solid var(--gold, #c9a227);
  padding: 20px 24px;
  margin: 0 0 30px;
  background: rgba(255, 255, 255, .03);
  border-radius: 0 10px 10px 0;
}
.answer-box p { margin: 0; font-size: 17px; line-height: 1.68; }

/* Comparison table */
.lp-table-wrap { overflow-x: auto; margin: 26px 0 34px; -webkit-overflow-scrolling: touch; }
.lp-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.lp-table th, .lp-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(128, 128, 128, .22);
  vertical-align: top;
}
.lp-table th { font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.lp-table thead th { border-bottom-width: 2px; }
.lp-table tbody tr:last-child td { border-bottom: none; }

/* Related-pages cluster — the internal-link engine */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: var(--lp-read);
  margin: 28px auto 0;
}
.related-card {
  display: block;
  padding: 22px;
  border: 1px solid rgba(128, 128, 128, .28);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform .22s ease, border-color .22s ease;
}
.related-card:hover { transform: translateY(-3px); border-color: var(--gold, #c9a227); }
.related-card .rc-k {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .55;
  margin-bottom: 9px;
}
.related-card h3 { font-size: 17px; margin: 0 0 7px; font-weight: 600; line-height: 1.35; }
.related-card p { font-size: 14px; margin: 0; opacity: .74; line-height: 1.6; }

@media (max-width: 720px) {
  .prose h2 { margin-top: 40px; }
  .answer-box { padding: 16px 18px; }
}
