/* ============================================================================
   leylive — legal pages (/juridisch/, /privacy/): a calm spec sheet.
   Label column left (sticky on desktop), text right, hairlines between rows.
   Reading size 16-18px, measure under 62ch, tokens from main.css only.
   ========================================================================== */
.legal { padding: 0 6vw var(--s10); }

.lg-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2.4fr);
  gap: var(--s4) clamp(24px, 5vw, 96px);
  padding: var(--s7) 0;
  border-top: 1px solid var(--line);
}
.lg-h { align-self: start; position: sticky; top: 112px; padding-top: 5px; }

.lg-body { max-width: 62ch; }
.lg-body p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; }
.lg-body p + p { margin-top: var(--s4); }

.legal a {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: var(--grey-soft);
  transition: text-decoration-color .2s var(--butter);
}
.legal a:hover { text-decoration-color: var(--ink); }

/* the company facts: term left, value right */
.lg-facts > div {
  display: grid;
  grid-template-columns: minmax(150px, 15em) minmax(0, 1fr);
  gap: var(--s2) var(--s5);
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--line);
}
.lg-facts > div:first-child { padding-top: 0; }
.lg-facts > div:last-child { padding-bottom: 0; border-bottom: 0; }
.lg-facts dt { font-size: 13px; color: var(--text-muted); padding-top: 3px; }
.lg-facts dd { font-size: clamp(16px, 1.2vw, 18px); font-weight: 400; line-height: 1.5; font-variant-numeric: tabular-nums; }
.lg-aside { display: inline-block; margin-left: var(--s3); font-size: 13px; font-weight: 300; color: var(--text-muted); }

/* a prose row that also holds a fact list (/privacy/): the list may use the full column, the text keeps its measure */
.lg-body.lg-wide { max-width: none; }
.lg-wide > p, .lg-wide dd { max-width: 62ch; }
.lg-wide dd { font-weight: 300; line-height: 1.65; }   /* whole sentences here, not short values: read like the prose */
.lg-body > .lg-facts { margin-top: var(--s5); }
.lg-body > .lg-facts:first-child { margin-top: 0; }
.lg-body > .lg-facts + p { margin-top: var(--s5); }

.lg-updated {
  margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text-muted);
}

@media (max-width: 760px) {
  .legal { padding: 0 20px var(--s9); }
  .lg-row { grid-template-columns: 1fr; gap: var(--s4); padding: var(--s6) 0; }
  .lg-h { position: static; padding-top: 0; }
  .lg-facts > div { grid-template-columns: 1fr; gap: var(--s1); }
  .lg-facts dt { padding-top: 0; font-size: 12px; }
  .lg-aside { display: block; margin: var(--s1) 0 0; }
}
