/* Privacy (/privacy/) and Terms (/terms/): one easy column of plain words.
   A "short version" box up top, short sections with plain headings, and a box to get in touch at the end.
   Mobile first: phone styles here, bigger screens in the min-width block at the bottom. */

/* ---------- the hero ---------- */
.legal-hero { padding-bottom: 26px; }
.legal-hero h1 { font-size: clamp(40px, calc((100vw - 40px) / 6.2), 96px); }
.lobby-hero .legal-date { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--muted); }

/* ---------- the column ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 0 16px 32px; }
.legal a { color: var(--ink); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal a:hover { color: var(--blue); }
.legal-short h2, .legal-sec h2, .legal-ask h2 { font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: .01em; text-wrap: balance; }

/* the short version: the whole page in a few lines */
.legal-short { background: var(--paper); border-radius: 20px; padding: 22px 20px 24px; }
.legal-short h2 { font-size: clamp(26px, 7vw, 34px); text-transform: uppercase; margin-bottom: 16px; }
.legal-dots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.legal-dots li { position: relative; padding-left: 24px; font-size: 17px; line-height: 1.45; font-weight: 600; color: var(--ink); text-wrap: pretty; }
.legal-dots li::before { content: ""; position: absolute; left: 3px; top: .52em; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }

/* the sections */
.legal-sec { padding-top: 28px; scroll-margin-top: 12px; }
.legal-sec + .legal-sec { margin-top: 28px; border-top: 2px solid var(--line); }
.legal-sec h2 { font-size: clamp(28px, 7.4vw, 40px); margin-bottom: 14px; }
.legal-sec p, .legal-sec li { font-size: 17px; line-height: 1.55; color: #3A3F47; text-wrap: pretty; }
.legal-sec p + p, .legal-sec p + ul, .legal-sec ul + p { margin-top: 12px; }
.legal-sec ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.legal-sec li::marker { color: var(--ink); }
.legal-sec b { color: var(--ink); font-weight: 800; }

/* what goes where: a name, then a plain line. Stacked on a phone, side by side on a bigger screen */
.legal-sec ul.legal-rows { list-style: none; padding: 0; gap: 0; border-top: 1px solid var(--line); }
.legal-rows li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.legal-rows li > b { font-size: 17px; line-height: 1.35; }
.legal-rows li > span { font-size: 17px; line-height: 1.55; color: #3A3F47; }

/* get in touch */
.legal-ask { margin-top: 40px; background: var(--ink); color: var(--white); border-radius: 20px; padding: 26px 20px 28px; display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.legal-ask h2 { font-size: clamp(32px, 9vw, 48px); text-transform: uppercase; color: var(--white); }
.legal-ask p { font-size: 17px; line-height: 1.5; color: #C9CED6; }
.legal-ask p a { color: var(--white); }
.legal-ask p a:hover { color: var(--gold); }
.legal-ask .btn { min-height: 56px; background: var(--white); color: var(--ink); font-size: 18px; font-weight: 800; }
.legal-ask .btn:hover { background: var(--paper); color: var(--ink); }
.legal-also { margin-top: 18px; font-size: 16px; line-height: 1.5; color: var(--muted); }

/* ---------- bigger screens ---------- */
@media (min-width: 641px) {
  .legal-hero { padding-bottom: 34px; }
  .legal { padding: 0 20px 44px; }
  .legal-short { border-radius: 24px; padding: 30px 32px 32px; }
  .legal-dots li { font-size: 18px; }
  .legal-sec { padding-top: 32px; }
  .legal-sec + .legal-sec { margin-top: 32px; }
  .legal-sec p, .legal-sec li { font-size: 18px; }
  .legal-rows li { grid-template-columns: minmax(0, 12em) minmax(0, 1fr); gap: 4px 22px; padding: 16px 0; }
  .legal-ask { border-radius: 24px; padding: 34px 36px 36px; align-items: flex-start; }
  .legal-ask .btn { padding: 0 32px; }
}
