/* ============================================================================
   AREA — prose styles for the standalone legal documents (/privacy, /terms).
   Chrome (tokens, nav, footer, gate) comes from assets/css/area.css; this file
   only styles the document body. Rewritten 2026-09-14 for the Sept redesign
   (Poppins + Source Sans 3, Paper/ink palette); the Aug 24 version carried its
   own duplicated header/footer, which is gone.
   ========================================================================== */

/* ------------------------------------------------------------ the document --
   Measure is the whole design here. ~68 characters at the body size, inside the
   brief's 900-1000px cap, on the site's warm white rather than clinical white. */
.legal-main { background: var(--paper); }
.legal-doc {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(48px, 5.5vw, 88px) 40px clamp(64px, 6vw, 104px);
}
@media (max-width: 640px) { .legal-doc { padding-left: 24px; padding-right: 24px; } }

/* Same eyebrow system as the main site: uppercase display face, wide tracking,
   orange rule AFTER the words, every proportion derived from cap height.

   ⚠️ Scoped as `.legal-doc .legal-eyebrow`, not a bare class. `.legal-doc p`
   below is (0,1,1) and these components are all <p> elements — an unscoped
   (0,1,0) class loses to it and the eyebrow renders in charcoal body colour at
   body size. Caught by sampling the rendered pixel, not by reading the CSS.
   Keep every component rule in this block scoped for the same reason. */
.legal-doc .legal-eyebrow {
  display: inline-flex; align-items: center; gap: .50em;
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(12px, .95vw, 18px);
  font-weight: 700; line-height: 1;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--orange-text);
}
.legal-doc .legal-eyebrow::after {
  content: ''; flex: 0 0 auto;
  width: 2.55em; height: max(2px, .15em);
  background: currentColor; opacity: .9;
}

.legal-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.015em;
  color: var(--navy-deep);
}
/* Google Translate returned "política de privacidad" in lowercase; Spanish
   titles take a capital first letter. No effect on English. */
.legal-title::first-letter { text-transform: uppercase; }
.legal-doc .legal-effective {
  margin: 0 0 clamp(28px, 3vw, 44px);
  padding-bottom: clamp(24px, 2.6vw, 36px);
  border-bottom: 1px solid rgba(5, 59, 155, .14);
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
/* Unfilled placeholders are marked so they cannot be mistaken for final copy
   or quietly shipped. Deliberately conspicuous. */
.legal-doc .legal-placeholder {
  display: inline-block;
  padding: 2px 8px;
  border: 1px dashed var(--orange-text);
  border-radius: 4px;
  color: var(--orange-text);
  font-weight: 700;
  letter-spacing: .04em;
}

.legal-doc h2 {
  margin: clamp(34px, 3.4vw, 48px) 0 12px;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.5vw, 23px);
  font-weight: 700; line-height: 1.25;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--navy-deep);
}
.legal-doc h2:first-of-type { margin-top: clamp(28px, 2.8vw, 40px); }
/* Subheadings inside a section (the Text Messages terms, 2026-10-26). */
.legal-doc h3 { margin: 26px 0 8px; font: 700 15px/1.35 var(--font-display); color: var(--navy-deep); letter-spacing: 0; }
.legal-doc h2[id] { scroll-margin-top: calc(var(--nav-h, 72px) + 16px); }

.legal-doc p {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 17px; line-height: 1.7;
  color: #3a3a3a;
}
.legal-doc .legal-lede { font-size: 18px; color: #333; }

.legal-doc ul {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.legal-doc li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 20px;
  font-family: var(--font-body);
  font-size: 17px; line-height: 1.65;
  color: #3a3a3a;
}
.legal-doc li::before {
  content: '';
  position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
}

.legal-doc a {
  color: var(--navy-deep);
  text-decoration: underline;
  text-decoration-color: rgba(5, 59, 155, .35);
  text-underline-offset: 3px;
  transition: color 170ms ease, text-decoration-color 170ms ease;
}
@media (hover: hover) { .legal-doc a:hover { color: var(--orange-text); text-decoration-color: var(--orange); } }
@media (hover: none) { .legal-doc a:active { color: var(--orange-text); text-decoration-color: var(--orange); } }

