/* Prose pages (/privacy). Loaded after styles.vN.css, which is linked purely
   for its :root tokens and the html/body ground -- so the legal page cannot
   drift from the product's palette, and there is one place a colour is
   defined. None of the intro machinery in that sheet matches anything here,
   so nothing from it applies beyond the variables. */

.legal-page{
  max-width:660px;
  margin:0 auto;
  padding:
    calc(40px + env(safe-area-inset-top)) 24px
    calc(64px + env(safe-area-inset-bottom));
  font-family:var(--font-sans);
  color:var(--body);
}

.legal-back{
  display:inline-block;margin-bottom:34px;
  font-size:13px;color:var(--muted);text-decoration:none;
}
.legal-back:hover{color:var(--cyan)}

.legal-page h1{
  margin:0 0 10px;
  font-size:34px;line-height:1.12;letter-spacing:-.025em;
  font-weight:700;color:var(--cream);
}

.legal-date{margin:0 0 34px;font-size:12.5px;color:var(--faint)}

.legal-page h2{
  margin:38px 0 12px;
  font-size:17px;line-height:1.25;letter-spacing:-.01em;
  font-weight:600;color:var(--body-3);
}

.legal-page p,.legal-page li{
  margin:0 0 14px;
  font-size:15px;line-height:1.62;color:var(--lede);
}

.legal-page ul{margin:0 0 14px;padding-left:20px}
.legal-page li{margin-bottom:8px}

.legal-page a{color:var(--cyan);text-decoration:none}
.legal-page a:hover{text-decoration:underline}

.legal-page strong{color:var(--body-3);font-weight:600}

/* The summary sits above the policy proper. It is not a substitute for it and
   does not try to look like a callout box shouting for attention -- just a
   quieter, denser opening paragraph. */
.legal-lede{
  margin:0 0 34px;padding:18px 20px;
  border:1px solid var(--line-3);border-radius:12px;
  background:var(--panel);
}
.legal-lede p{margin:0 0 10px;font-size:14.5px;color:var(--body-2)}
.legal-lede p:last-child{margin:0}

/* The opt-out control. Deliberately a plain, legible button rather than the
   landing CTA's gradient pill: this is a setting, not a conversion, and
   dressing it up like the thing it switches off would be tasteless. */
.optout{
  margin:22px 0 0;padding:20px;
  border:1px solid var(--line-4);border-radius:12px;
  background:var(--surface);
}
.optout p{margin:0 0 14px;font-size:14px;color:var(--body-2)}

.optout button{
  font-family:var(--font-sans);
  font-size:14px;font-weight:600;letter-spacing:-.01em;
  color:var(--cream);background:transparent;
  border:1px solid var(--cyan-deep);border-radius:9px;
  padding:11px 16px;cursor:pointer;
  transition:background .16s ease,color .16s ease;
}
.optout button:hover{background:var(--cyan-deep);color:var(--on-cyan)}
.optout button:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.optout button[hidden]{display:none}

@media (max-width:520px){
  .legal-page h1{font-size:28px}
  .legal-page{padding-left:20px;padding-right:20px}
}
