/* ==========================================================================
   Legal pages — Privacy Policy (/privacy/) and Terms & Conditions (/terms/).
   Reuses the page kit (page.css: .pg, .pg-hero, .pg-section, .pg-wrap, .pg-h2,
   .pg-link) — this file only adds the compact hero tweak and the prose column.
   Design tokens only (var(--…) from tokens.css). No portraits/photos here.
   ========================================================================== */

/* ---- Compact hero: no media column, tighter than a normal inner page ---- */

.lgl-hero.pg-hero {
  padding-bottom: clamp(24px, 3vw, 40px);
}

.lgl-hero .pg-hero__grid {
  grid-template-columns: 1fr;
}

.lgl-hero .pg-hero__lede {
  color: var(--slate-600);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
}

.lgl-hero__switch {
  margin: 0;
}

.lgl-hero__switch .pg-link {
  margin-top: 14px;
}

/* ---- Prose column -------------------------------------------------------- */

.lgl-section {
  padding-top: 0;
}

.lgl-wrap {
  max-width: 45rem; /* ~720px */
}

.lgl-prose {
  color: var(--slate-700);
  font-size: clamp(1rem, 0.97rem + 0.14vw, 1.125rem); /* 16–18px */
  line-height: 1.7;
}

.lgl-prose > * + * {
  margin-top: 1.15em;
}

.lgl-prose h2 {
  margin-top: 2em;
  color: var(--ink-900);
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lgl-prose h2:first-child {
  margin-top: 0;
}

.lgl-prose ul,
.lgl-prose ol {
  padding-left: 1.25em;
}

.lgl-prose li + li {
  margin-top: 0.5em;
}

.lgl-prose li::marker {
  color: var(--slate-400);
}

.lgl-prose strong {
  color: var(--ink-900);
  font-weight: 600;
}

.lgl-prose a {
  color: var(--blue-700);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.lgl-prose a:hover {
  color: var(--blue-800);
}

.lgl-prose a:focus-visible,
.lgl-hero__switch .pg-link:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
