/* ============================================================
   keepcove — privacy policy (long-form legal)
   Rides landing.css for tokens, base typography, .nav/.brand and
   .paper-grain; adds only the reading column + prose styles that
   landing.css (a marketing-component stylesheet) doesn't carry.
   English-only page — deliberately loads no i18n.js.
   ============================================================ */

/* This page is a long document with no JS to toggle the nav's .is-stuck
   background, so let the header scroll away instead of floating transparently
   over the text. */
.nav { position: static; }

.legal {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 44px) clamp(18px, 5vw, 32px) 64px;
}

.legal__head { margin-bottom: 8px; }
.legal h1 {
  font-size: clamp(2rem, 6vw, 2.9rem);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.legal__updated {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.legal__lede {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

/* transparency / not-legal-advice callout */
.legal__notice {
  margin-top: 22px;
  padding: 15px 18px;
  background: color-mix(in srgb, var(--gold) 14%, var(--card));
  border: 1.5px solid color-mix(in srgb, var(--gold) 45%, var(--paper-edge));
  border-radius: var(--r);
  font-size: 0.96rem;
}

.legal section { margin-top: 42px; }
.legal h2 {
  font-size: clamp(1.35rem, 3.6vw, 1.75rem);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--paper-edge);
}
.legal h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0;
  margin: 24px 0 6px;
}
.legal p { margin: 12px 0; }
.legal ul,
.legal ol { margin: 12px 0; padding-left: 22px; }
.legal li { margin: 7px 0; }
.legal dl { margin: 14px 0; }
.legal dt { font-weight: 700; margin-top: 16px; }
.legal dd { margin: 4px 0 0; color: var(--ink-soft); }

.legal a {
  color: var(--coral-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.legal a:hover { color: var(--coral); }
.legal strong { font-weight: 700; }
.legal code {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: var(--paper-3);
  padding: 1px 5px;
  border-radius: 6px;
}

/* footer */
.legal-foot {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px clamp(18px, 5vw, 32px) calc(40px + env(safe-area-inset-bottom));
  border-top: 1px dashed var(--paper-edge);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.legal-foot a { color: var(--ink-soft); }
.legal-foot a:hover { color: var(--coral-deep); }
