/* =====================================================================
   legal.css — Privacy Policy & Cookie Policy
   Long-form reading layout on top of redesign.css tokens. Deliberately
   plainer than the landing page: one column, generous measure, no motion.
   Legal text has to be easy to read and easy to quote, not persuasive.
   ===================================================================== */

.legal-page {
  background: var(--cream);
  color: var(--ink);
}

/* ---------- masthead ---------- */
.legal-head {
  border-bottom: 1px solid var(--hairline);
  padding: 28px 0;
}
.legal-head .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.legal-brand img { width: 30px; height: auto; }
.legal-back {
  font-size: 14px;
  color: var(--stone);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-back:hover { color: var(--ink); }

/* ---------- body ---------- */
.legal-wrap {
  max-width: 720px;          /* ~75 characters at 17px — comfortable measure */
  margin: 0 auto;
  padding: 64px 24px 96px;
}
@media (max-width: 600px) { .legal-wrap { padding: 40px 20px 64px; } }

.legal-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 7vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.legal-meta {
  font-size: 14px;
  color: var(--stone);
  margin: 0 0 8px;
}
.legal-lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 24px 0 0;
}

.legal-wrap h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 56px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}
.legal-wrap h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 30px 0 8px;
}
.legal-wrap p,
.legal-wrap li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
}
.legal-wrap p { margin: 0 0 16px; }
/* redesign.css line 101 resets `ul { list-style: none }` site-wide, which is
   right for nav rails and wrong for prose. Legal pages are prose: a list of
   rights or refund conditions has to read as a list, so the markers come back
   here, scoped to the article body only. */
.legal-wrap ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.legal-wrap ul li { padding-left: 4px; }
.legal-wrap ul li::marker { color: var(--stone); }
.legal-wrap li { margin-bottom: 8px; }
.legal-wrap a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal-wrap a:hover { color: var(--forest); }
.legal-wrap strong { color: var(--ink); }

/* ---------- placeholder callout ----------
   Unmissable on purpose: these are the fields that legally must be filled
   in before the page goes live, and a subtle style would let them ship. */
.legal-todo {
  background: var(--yellow-tint);
  border: 1px solid var(--yellow);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  margin: 28px 0;
}
.legal-todo p:last-child { margin-bottom: 0; }
.legal-todo .legal-todo-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 8px;
}
mark.ph {
  background: var(--coral-tint);
  color: var(--maroon);
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
}

/* ---------- data table ---------- */
.legal-table-scroll { overflow-x: auto; margin: 0 0 20px; }
.legal-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline);
  line-height: 1.55;
}
.legal-table th {
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  white-space: nowrap;
}
.legal-table td { color: var(--charcoal); }

/* ---------- cookiebot's injected declaration ---------- */
#CookieDeclaration {
  font-family: var(--font-sans) !important;
  font-size: 15px;
  margin-top: 8px;
}

/* ---------- footer ---------- */
.legal-foot {
  border-top: 1px solid var(--hairline);
  padding: 28px 24px 48px;
  text-align: center;
  font-size: 14px;
  color: var(--stone);
}
.legal-foot ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}
.legal-foot a,
.legal-foot button {
  font: inherit;
  color: var(--stone);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-foot a:hover,
.legal-foot button:hover { color: var(--ink); }
