/* Builds on the tokens, fonts and reset already defined in welcome.css —
   this file only adds what the legal document pages need.
   Deliberately NOT using the .page class from welcome.css: it hardcodes
   direction:rtl, which would fight the dir="ltr" the English copy needs. */

.brand-link { text-decoration: none; }
.legal-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.legal-home-link,
.lang-switch {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
}
.legal-home-link:hover,
.lang-switch:hover { color: var(--accent); }
.lang-switch {
  padding: 5px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
}

.legal-footer {
  max-width: 1120px;
  margin: 60px auto 0;
  padding: 22px 28px 40px;
  border-top: 1px solid var(--border);
}
.legal-footer .brand-mark { font-size: 15px; font-weight: 900; }

.legal-doc {
  max-width: 760px;
  padding-top: 36px;
  padding-bottom: 90px;
}

.legal-doc-head {
  padding-bottom: 26px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-doc-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.legal-doc-head .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.legal-doc-head h1 {
  margin-top: 12px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  letter-spacing: -.2px;
}
.legal-updated {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-faint);
  font-weight: 700;
}

.legal-section { margin-top: 30px; }
.legal-section h2 {
  font-size: 17.5px;
  font-weight: 900;
  margin-bottom: 10px;
}
.legal-section p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
}
.legal-section p + p { margin-top: 12px; }
.legal-section ul {
  margin: 4px 0 0;
  padding-inline-start: 22px;
  display: grid;
  gap: 8px;
}
.legal-section li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}
.legal-section strong { color: var(--text); }

.legal-contact {
  margin-top: 44px;
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
}
.legal-contact strong { font-size: 15px; }
.legal-contact p { margin-top: 6px; font-size: 14px; color: var(--text-muted); }
.legal-contact a { color: var(--accent); font-weight: 800; text-decoration: none; }
.legal-contact a:hover { text-decoration: underline; }

.legal-swap { margin-top: 22px; text-align: center; }
.legal-swap a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
}
.legal-swap a:hover { color: var(--accent); }
