/*-- -------------------------- -->
<---          Legal Pages         -->
<--- -------------------------- -*/

/* Shared layout for the policy pages (privacy, cookies, confidentiality)
   -- a simple top bar with just a way back to the site (no full nav),
   a readable single-column card matching the site's parchment/teal
   palette and heading/body font pairing, and a minimal credit line.
   No footer chrome -- these are utility pages, not marketing ones. */
@media only screen and (min-width: 0rem) {
  body.cs-legal-page {
    min-height: 100vh;
    background-color: var(--primaryLight);
  }
  .cs-legal-topbar {
    width: 100%;
    padding: 1.5rem;
  }
  .cs-legal-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--bodyFont);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
  }
  .cs-legal-back svg {
    width: 1.125rem;
    height: 1.125rem;
  }
  .cs-legal {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1rem 1.25rem 4rem;
  }
  .cs-legal-card {
    width: 100%;
    max-width: 42rem;
    background-color: var(--cream);
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 3rem rgba(13, 46, 41, 0.14);
    padding: 2.5rem 1.5rem;
  }
  .cs-legal-card .cs-topper {
    color: var(--accentTextDark);
  }
  .cs-legal-title {
    font-family: var(--headingFont);
    font-weight: 400;
    font-size: 2rem;
    color: var(--navy);
    margin: 0 0 0.5rem;
  }
  .cs-legal-updated {
    font-family: var(--bodyFont);
    font-size: 0.8125rem;
    color: var(--bodyTextColor);
    opacity: 0.75;
    margin: 0 0 2rem;
  }
  .cs-legal-body h2 {
    font-family: var(--headingFont);
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--navy);
    margin: 2rem 0 0.75rem;
  }
  .cs-legal-body h2:first-child {
    margin-top: 0;
  }
  .cs-legal-body p {
    font-family: var(--bodyFont);
    font-size: 0.9375rem;
    line-height: 1.7em;
    color: var(--bodyTextColor);
    margin: 0 0 1rem;
  }
  .cs-legal-body ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .cs-legal-body li {
    font-family: var(--bodyFont);
    font-size: 0.9375rem;
    line-height: 1.7em;
    color: var(--bodyTextColor);
  }
  .cs-legal-body a {
    color: var(--accentTextDark);
    text-decoration: underline;
    text-underline-offset: 0.2rem;
  }
  .cs-legal-body strong {
    color: var(--navy);
  }
}

/* Desktop - 48rem: a little more breathing room */
@media only screen and (min-width: 48rem) {
  .cs-legal-card {
    padding: 3.5rem 3.5rem;
  }
}
