/* ========================================
   Title bar — legal-page variant
   Light background that matches the site's --saas hero
   (same #f3f5fb + ptb-bg-7.svg pattern, dark text, no animated blobs).
   Overrides the dark default from styles.css .page-title-bar.
   ======================================== */
.page-title-bar--legal {
  background-color: #f3f5fb;
  background-image: url('https://assets.writecream.com/outer/assets/svgs/ptb-bg-7.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  border-bottom: 1px solid var(--gray-200, #e9ecef);
}

.page-title-bar--legal h1 {
  color: var(--gray-800, #343a40);
  font-size: 44px;
  letter-spacing: -0.01em;
}

@media (max-width: 640px) {
  .page-title-bar--legal {
    padding: 56px 16px;
  }
  .page-title-bar--legal h1 {
    font-size: 28px;
  }
}

/* ========================================
   Legal page typography
   Used by: pages/privacy-policy.hbs
   Scoped under .legal-page so it can be reused for terms-of-service etc.
   ======================================== */
.legal-page {
  padding: 64px 20px 96px;
  color: var(--gray-800, #1f2937);
  font-size: 17px;
  line-height: 1.75;
}

.legal-page > * + * {
  margin-top: 1em;
}

.legal-page h2 {
  font-family: var(--font-heading, 'Jost', sans-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2.25em;
  margin-bottom: 0.4em;
  color: var(--gray-900, #111827);
}

.legal-page h3 {
  font-family: var(--font-heading, 'Jost', sans-serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 1.75em;
  margin-bottom: 0.35em;
  color: var(--gray-900, #111827);
}

.legal-page h4 {
  font-family: var(--font-heading, 'Jost', sans-serif);
  font-size: 18px;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.3em;
}

.legal-page p {
  margin: 0;
}

.legal-page ul,
.legal-page ol {
  margin: 0;
  padding-left: 1.5em;
}

.legal-page li + li {
  margin-top: 0.4em;
}

.legal-page a {
  color: var(--orange, #f86635);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover {
  text-decoration: none;
}

.legal-page strong,
.legal-page b {
  font-weight: 600;
  color: var(--gray-900, #111827);
}

.legal-page hr {
  border: none;
  border-top: 1px solid var(--gray-200, #e5e7eb);
  margin: 2.5em 0;
}

.legal-page blockquote {
  margin: 1.5em 0;
  padding: 0.75em 1.25em;
  border-left: 4px solid var(--orange, #f86635);
  background: var(--gray-50, #f9fafb);
  font-style: italic;
  color: var(--gray-700, #374151);
}

.legal-page blockquote p {
  margin: 0;
}

@media (max-width: 640px) {
  .legal-page {
    padding: 40px 16px 64px;
    font-size: 16px;
  }
  .legal-page h2 { font-size: 24px; }
  .legal-page h3 { font-size: 19px; }
}
