/* Legal page: shared Valeri palette and typography. */
.terms-layout { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 2fr); align-items: start; gap: 72px; }
.terms-index { padding: 24px; border: 1px solid var(--line); border-radius: 5px; background: var(--soft); }
.terms-index .eyebrow { margin-bottom: 18px; }
.terms-index ol { margin: 0; padding-left: 20px; color: var(--valeri-blue-dark); }
.terms-index li { padding-left: 5px; font-size: 13px; line-height: 1.7; }
.terms-index li + li { margin-top: 14px; }
.terms-index a:hover { text-decoration: underline; text-underline-offset: 4px; }
.terms-content { min-width: 0; max-width: 800px; }
.terms-section + .terms-section { margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--line); }
.terms-section h2 { scroll-margin-top: 120px; }
.terms-section p, .terms-clauses li { color: var(--muted); font-size: 14px; line-height: 1.95; overflow-wrap: anywhere; }
.terms-section p { margin: 0 0 20px; }
.terms-section .eyebrow { color: var(--valeri-blue-dark); font-size: 11px; }
.terms-clauses { margin: 26px 0; padding-left: 24px; }
.terms-clauses li { padding-left: 10px; }
.terms-clauses li + li { margin-top: 22px; }
.terms-clauses li::marker { color: var(--valeri-blue-dark); font-weight: 700; }
.terms-note { padding: 20px 24px; border-left: 3px solid var(--valeri-blue); background: var(--soft); }
.terms-note p, .terms-section p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .terms-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .terms-content { max-width: none; }
}
@media (max-width: 600px) {
  .terms-index, .terms-note { padding: 20px; }
  .terms-section + .terms-section { margin-top: 32px; padding-top: 30px; }
}