@charset "UTF-8";
/*
	/terms, /privacy, /data-processing — the three legal documents.

	The auth shell gives a centred card and a readable measure; what this
	file adds is DOCUMENT typography, which the app template has no reason
	to carry: a legal text is read top to bottom, in long paragraphs, with
	numbered sections a customer can cite back at us ("clause 4.2").
	Every value is a theme token.
*/
/* The language buttons sit between the title and the text — one row,
   centred like the rest of the auth card, wrapping on a narrow phone. */
.legal-langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.legal-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  /* The identity block and the draft strip wear FRAMEWORK classes, not
     ours (see body-<doc>.latte): this stylesheet belongs to the /terms
     family's routes and does not travel to the /consent modal, where the
     same body renders. Anything styled only here would render naked
     there — so only page typography lives in this file.

     Sections are numbered by the markup (an ordered list would fight
     the citation numbers the text itself uses), so the heading carries
     its own number and only needs separating from the paragraph above. */
}
.legal-text h2 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.legal-text h2:first-child {
  margin-top: 0;
}
.legal-text h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.legal-text p {
  margin-bottom: 0.875rem;
}
.legal-text ul,
.legal-text ol {
  margin-bottom: 0.875rem;
  padding-left: 1.25rem;
}
.legal-text li {
  margin-bottom: 0.375rem;
}
.legal-text table {
  width: 100%;
  margin-bottom: 0.875rem;
  border-collapse: collapse;
}
.legal-text table th,
.legal-text table td {
  border-bottom: 1px solid var(--bs-border-color);
  padding: 0.5rem 0.5rem 0.5rem 0;
  text-align: left;
  vertical-align: top;
}
.legal-text table th {
  font-weight: 600;
}

/* The cross-links to the other two documents, plus the way back. */
.legal-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bs-border-color);
}
