/* TrustUs — legal pages -------------------------------------------------------
   A document, not a page of the site: the logo above it, the text on a reading
   measure, and a footer that is a line and three links. Nothing here competes
   with the words. */

/* --- The header ------------------------------------------------------------
   In the flow, not fixed. The rest of the site floats a capsule over a picture;
   there is no picture here, and a document should start at the top of itself. */
.tu-lgl-hd {
  display: flex;
  justify-content: center;
  padding-block: clamp(var(--sp-6), 4vw, var(--sp-7));
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.tu-lgl-hd__logo { display: block; line-height: 0; }
.tu-lgl-hd__logo img { height: clamp(44px, 4.4vw, 58px); width: auto; display: block; }

/* --- The document ---------------------------------------------------------- */
.lgl { padding-block: clamp(var(--sp-7), 6vw, var(--sp-9)); background: var(--paper); }
.lgl__wrap {
  /* Wider than a single column of prose, narrower than the page. A policy is
     read start to finish, so it wants a measure — but at 72ch it was 576px on a
     1440px screen and read as a column adrift in an empty page. */
  width: min(860px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* The site's own sizes. This page does not get to decide the headings are
   bigger than they are everywhere else; it is the measure that changed. */
.lgl h1 {
  font-size: var(--fs-display);
  line-height: 1.35;
  margin: 0 0 var(--sp-5);
  color: var(--red);
}
.lgl__intro {
  margin: 0 0 clamp(var(--sp-6), 4vw, var(--sp-7));
  padding-bottom: clamp(var(--sp-6), 4vw, var(--sp-7));
  border-bottom: 1px solid var(--line);
}

.lgl__section { margin-bottom: clamp(var(--sp-6), 4vw, var(--sp-7)); }
.lgl h2 {
  font-size: var(--fs-h2);
  line-height: 1.45;
  margin: 0 0 var(--sp-4);
}

/* `.lgl` on the front: tu-system.css sets `.hp p` and the wrapper here is not
   `.hp`, but a bare `p` rule would still lose to anything two-part later. */
.lgl p,
.lgl__intro {
  margin-block: 0 var(--sp-5);
  font-size: var(--fs-lead);
  line-height: 1.95;
  color: var(--ink);
}
.lgl__section p:last-child { margin-bottom: 0; }

.lgl__email a {
  color: var(--red);
  font-weight: 700;
  border-bottom: 1px solid var(--red-edge);
  padding-bottom: 1px;
}
.lgl__email a:hover { border-bottom-color: currentColor; }

.lgl__closing {
  padding-top: clamp(var(--sp-6), 4vw, var(--sp-7));
  border-top: 1px solid var(--line);
  margin-bottom: 0 !important;
  color: var(--muted);
}

/* --- The footer ------------------------------------------------------------- */
.tu-lgl-ft {
  border-top: 1px solid var(--line);
  background: var(--wash);
  padding-block: clamp(var(--sp-6), 4vw, var(--sp-7));
}
/* Centred: there are three links and one line, and pushed to opposite edges of
   a 72ch column they read as two things that happen to share a strip. */
.tu-lgl-ft__in {
  width: min(860px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: flex; flex-direction: column; align-items: center;
  gap: var(--sp-4);
  text-align: center;
}
.tu-lgl-ft__links ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3) var(--sp-5);
}
.tu-lgl-ft__links a {
  color: var(--ink); font-size: var(--fs-small); font-weight: 700;
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
}
.tu-lgl-ft__links a:hover { color: var(--red); border-bottom-color: currentColor; }
.tu-lgl-ft__copy { margin: 0; color: var(--muted); font-size: var(--fs-caption); }


