/* A quiet, readable legal page using the existing BEAUX palette and type. */
.terms-page {
  --terms-paper: #f2eee5;
  --terms-ink: #39352e;
  --terms-line: rgba(57,53,46,.25);
  padding: 112px max(24px, 7vw) 72px;
  background: var(--terms-paper);
  color: var(--terms-ink);
}
.terms-hero, .terms-document, .terms-related { max-width: 920px; margin-inline: auto; }
.terms-hero { padding: clamp(56px, 7vw, 104px) 0 44px; border-bottom: 1px solid var(--terms-line); }
.terms-eyebrow, .terms-effective {
  font: 400 12px/1.6 'DM Mono', monospace;
  letter-spacing: .08em;
}
.terms-eyebrow { margin: 0 0 24px; }
.terms-hero h1 {
  margin: 0 0 30px;
  font: 400 clamp(62px, 8vw, 112px)/1 'Instrument Serif', Georgia, serif;
  letter-spacing: -.035em;
}
.terms-effective { margin: 0; letter-spacing: .025em; }
.terms-document { padding-top: 44px; font: 400 17px/1.8 'DM Sans', Arial, sans-serif; }
.terms-document p { margin: 0 0 1.2em; max-width: 76ch; }
.terms-welcome { font: italic 400 38px/1.15 'Instrument Serif', Georgia, serif; }
.terms-contents { margin: 38px 0 52px; border-block: 1px solid var(--terms-line); }
.terms-contents summary { cursor: pointer; padding: 20px 0; font: 500 13px/1.5 'DM Mono', monospace; letter-spacing: .06em; }
.terms-contents ol { columns: 2; column-gap: 44px; padding: 0 0 20px 26px; margin: 0; font-size: 14px; line-height: 1.5; }
.terms-contents li { break-inside: avoid; padding: 6px 0 6px 4px; }
.terms-section { padding: 32px 0 20px; border-top: 1px solid var(--terms-line); }
.terms-section h2 {
  margin: 0 0 22px;
  font: 400 clamp(30px, 3.4vw, 43px)/1.15 'Instrument Serif', Georgia, serif;
  letter-spacing: -.015em;
  scroll-margin-top: 144px;
}
.terms-section h2 span { display: block; margin-bottom: 12px; font: 400 11px/1.5 'DM Mono', monospace; letter-spacing: .1em; }
.terms-document a, .terms-related a { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.terms-document a:hover, .terms-related a:hover { text-decoration-thickness: 2px; }
.terms-page a:focus-visible, .terms-page summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.terms-contact { font-style: normal; overflow-wrap: anywhere; }
.terms-contact p { margin-bottom: 20px; }
.terms-signoff { padding-top: 32px; font: 500 12px/1.5 'DM Mono', monospace; letter-spacing: .15em; }
.terms-related { display: flex; flex-wrap: wrap; gap: 18px 32px; padding-top: 34px; margin-top: 34px; border-top: 1px solid var(--terms-line); font: 400 12px/1.6 'DM Mono', monospace; }
@media (max-width: 760px) {
  .terms-page { padding-top: 104px; padding-bottom: 52px; }
  .terms-hero { padding-top: 48px; padding-bottom: 32px; }
  .terms-document { padding-top: 32px; font-size: 16px; line-height: 1.75; }
  .terms-contents ol { columns: 1; }
  .terms-section { padding-top: 28px; }
  .terms-section h2 { scroll-margin-top: 128px; }
}
@media (prefers-reduced-motion: reduce) { html:has(.terms-page) { scroll-behavior: auto; } }
@media print {
  .terms-page { padding: 0; background: white; color: black; }
  .terms-page .subpage-header, .terms-contents, .terms-related, .subpage-footer { display: none !important; }
  .terms-hero { padding-top: 0; }
  .terms-hero h1 { font-size: 36pt; }
  .terms-document { font-size: 11pt; }
  .terms-section h2 { font-size: 20pt; break-after: avoid; }
}
