/*
 * The legal pages.
 *
 * Long documents that somebody actually has to be able to read — which is the
 * whole design brief. So: one column at a comfortable measure, generous leading,
 * numbered sections that can be linked to, and the same typefaces as the rest of
 * the site so these do not read like a different company wrote them.
 *
 * Deliberately NOT small print. Setting terms at 11px is a way of saying they
 * are not meant to be read, and a court has noticed that before now.
 */

.legal { padding: 26px 0 80px; }
.legal-inner { max-width: 760px; margin-inline: auto; }

.legal-head { padding: 24px 0 30px; border-bottom: 1px solid var(--rule); margin-bottom: 34px; }
.legal-head h1 { margin: 12px 0 0; font-size: clamp(30px, 4vw, 40px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.legal-meta { margin: 16px 0 0; font-family: var(--mono); font-size: 12px; color: var(--dim); }

/* A short contents list. These documents are consulted more often than read. */
.legal-toc { margin: 0 0 40px; padding: 20px 22px; border-radius: var(--radius-card); background: var(--bg-sand); border: 1px solid var(--rule); }
.legal-toc ol { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; }
.legal-toc a { font-size: 13.5px; color: var(--ink-2); }
.legal-toc a:hover { color: var(--ink); text-decoration: underline; }

.legal-body { font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.legal-body h2 {
  margin: 46px 0 14px; font-size: 20px; font-weight: 600; letter-spacing: -.02em;
  color: var(--ink); scroll-margin-top: 90px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin: 26px 0 10px; font-size: 16px; font-weight: 600; color: var(--ink); }
.legal-body p { margin: 0 0 14px; }
.legal-body ul, .legal-body ol { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-body li { line-height: 1.7; }
.legal-body a { text-decoration: underline; }
.legal-body strong { color: var(--ink); font-weight: 600; }

/* Addresses and figures are set in the monospace face, so a customer copying a
   bank detail or an address out of a paragraph can see where it ends. */
.legal-body address { font-style: normal; font-family: var(--mono); font-size: 13.5px; line-height: 1.8; color: var(--ink); }

.legal-body dl { margin: 0 0 18px; }
.legal-body dl > div { display: flex; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule-soft); }
.legal-body dl > div:last-child { border-bottom: 0; }
.legal-body dt { flex: none; width: 190px; font-weight: 600; color: var(--ink); }
.legal-body dd { margin: 0; flex: 1; }

/* The one box: things a reader must not skim past. */
.legal-note {
  margin: 22px 0; padding: 18px 20px; border-radius: var(--radius-card);
  background: var(--bg-sand); border: 1px solid var(--rule);
}
.legal-note p:last-child { margin-bottom: 0; }
.legal-note-strong { border-color: var(--ink); background: #fff; }

/* The withdrawal form is meant to be cut out and sent, so it is boxed like one. */
.legal-form {
  margin: 22px 0; padding: 22px 24px; border-radius: var(--radius-card);
  background: #fff; border: 1px dashed var(--dim-2);
  font-family: var(--mono); font-size: 13px; line-height: 1.85;
}
.legal-form p { margin: 0 0 12px; }

.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
.legal-table th { font-weight: 600; color: var(--ink); }
.legal-table-wrap { overflow-x: auto; }

.legal-updated { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--dim); }

@media (max-width: 700px) {
  .legal-body dl > div { flex-direction: column; gap: 4px; }
  .legal-body dt { width: auto; }
}
