@font-face {
  font-family: "League Spartan";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./league-spartan.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --paper: #f3f3f3;
  --ink: #121212;
  --signal: #ff1616;
  --gutter: clamp(1rem, 3.5vw, 3rem);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "League Spartan", "Helvetica Neue", Arial, sans-serif;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--signal);
}

.legal-page {
  width: min(100%, 74rem);
  margin: 0 auto;
  padding: var(--gutter);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.brand-link::before {
  width: 0.5rem;
  aspect-ratio: 1;
  background: var(--signal);
  content: "";
}

.legal-content {
  width: min(100%, 46rem);
  margin: clamp(3.5rem, 9vw, 8rem) auto;
}

h1 {
  margin: 0 0 clamp(3rem, 7vw, 6rem);
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 2.75rem 0 0.8rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 650;
  line-height: 1.2;
}

p,
li,
address {
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  font-style: normal;
  line-height: 1.65;
}

p,
address {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid currentColor;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.legal-footer nav {
  display: flex;
  gap: 1rem;
}

.legal-footer a {
  text-decoration: none;
}

.legal-footer a[aria-current="page"] {
  color: var(--signal);
}

@media (max-width: 480px) {
  .legal-header span {
    display: none;
  }

  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
