@layer components {
  /* The legal pages

     The only pages in the product read end to end rather than scanned, so they
     are prose on a measure with space between the sections and nothing else:
     terms set in boxes and rules read as a form to be filled rather than an
     agreement to be read. */

  .legal h2 { font-size: var(--text-md); }

  /* Ochre, because it is the colour this product already uses for "this is not
     settled yet" (D-03), and because a draft notice that blends in is not one. */
  .legal__draft {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius);
    background: var(--warn-sunk);
    font-size: var(--text-sm);
  }

  .legal__footer {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding-top: var(--space-3);
    border-top: 1px solid var(--line);
  }

  .legal__link { color: var(--ink-muted); font-size: var(--text-sm); }
}
