/* page.css — layout for long-form service pages.
   Additive only: no existing selector is redefined, so index.html is untouched.
   All colours come from the tokens already declared in style.css. */

.page-hero { padding: 148px 0 44px; }
.page-hero .section-label { margin-bottom: 14px; }
.page-title {
  font-size: clamp(2.1rem, 5.4vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 22px;
  text-wrap: balance;
  max-width: 17ch;
}
.page-standfirst {
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.68;
  color: var(--muted, #6d675c);
  max-width: 62ch;
  margin: 0 0 30px;
}

/* Breadcrumb */
.crumbs { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; font-size: 0.8rem; margin-bottom: 20px; }
.crumbs a { color: var(--muted, #6d675c); text-decoration: none; }
.crumbs a:hover { color: currentColor; text-decoration: underline; }
.crumbs span { color: var(--muted, #6d675c); opacity: 0.5; }

/* Long-form prose */
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 19px; }
.prose p { font-size: 1.02rem; line-height: 1.75; margin: 0; }
.prose h3 { font-size: 1.28rem; font-weight: 700; letter-spacing: -0.015em; margin: 14px 0 0; }
.prose ul { margin: 0; padding-left: 1.15rem; display: flex; flex-direction: column; gap: 10px; }
.prose li { font-size: 1.0rem; line-height: 1.68; }
.prose strong { font-weight: 600; }

/* The citable answer block — deliberately self-contained for AI extraction */
.answer-block {
  border-left: 3px solid currentColor;
  padding: 4px 0 4px 22px;
  max-width: 66ch;
  margin: 0;
}
.answer-block p { font-size: 1.09rem; line-height: 1.72; margin: 0; }

/* Capability grid */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 16px;
  margin: 4px 0 0;
}
.cap-card {
  border: 1px solid var(--line, rgba(28, 25, 18, 0.12));
  border-radius: 14px;
  padding: 21px 21px 23px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cap-card h3 { font-size: 1.03rem; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.cap-card p { font-size: 0.92rem; line-height: 1.62; margin: 0; color: var(--muted, #6d675c); }
.cap-num {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  opacity: 0.45;
  font-variant-numeric: tabular-nums;
}

/* Proof panel */
.proof {
  border: 1px solid var(--line, rgba(28, 25, 18, 0.12));
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.proof-label { font-size: 0.7rem; letter-spacing: 0.15em; font-weight: 600; text-transform: uppercase; opacity: 0.55; }
.proof h3 { font-size: 1.42rem; font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.proof p { font-size: 1.0rem; line-height: 1.72; margin: 0; max-width: 68ch; }
.proof-stats { display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 4px; }
.proof-stat { display: flex; flex-direction: column; gap: 3px; }
.proof-stat b { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.proof-stat span { font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.6; }

/* FAQ — visible text, not schema-only */
.faq { display: flex; flex-direction: column; gap: 0; max-width: 74ch; }
.faq-item { border-bottom: 1px solid var(--line, rgba(28, 25, 18, 0.12)); padding: 20px 0; }
.faq-item:first-child { border-top: 1px solid var(--line, rgba(28, 25, 18, 0.12)); }
.faq-item h3 { font-size: 1.06rem; font-weight: 700; margin: 0 0 9px; letter-spacing: -0.01em; }
.faq-item p { font-size: 0.98rem; line-height: 1.72; margin: 0; color: var(--muted, #6d675c); }

/* Cross-links between service pages */
.next-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(262px, 1fr)); gap: 14px; }
.next-card {
  border: 1px solid var(--line, rgba(28, 25, 18, 0.12));
  border-radius: 14px;
  padding: 20px 21px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.next-card:hover { transform: translateY(-3px); }
.next-card b { font-size: 1.0rem; font-weight: 700; letter-spacing: -0.01em; }
.next-card span { font-size: 0.88rem; line-height: 1.58; opacity: 0.7; }

@media (max-width: 720px) {
  .page-hero { padding: 120px 0 32px; }
  .proof { padding: 22px; }
}

/* Proof panel with a visual alongside the text.
   The visual components (.vms, .lake) redefine --text/--muted/--line on
   themselves, so they stay dark screens in both themes. Keeping them as a
   child of .proof means those overrides never reach the surrounding copy. */
.proof--split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}
.proof--split .proof-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
}
.proof--split .case-visual { min-width: 0; }

@media (max-width: 900px) {
  .proof--split { grid-template-columns: 1fr; gap: 22px; }
  .proof--split .case-visual { order: -1; min-height: 280px; }
}
