:root {
  color-scheme: light;
  --blue: #1947e5;
  --ink: #11131a;
  --muted: #52586b;
  --paper: #f7f8fc;
  --white: #fff;
  --line: #8a91a6;
  --signal: #ffb454;
  --font: "Assistant", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100svh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.legal-header,
.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.legal-header a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 800;
}

.legal-header nav,
.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.legal-main {
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.updated {
  margin: 0 0 42px;
  color: var(--muted);
}

h2 {
  margin: 42px 0 10px;
  font-size: 1.35rem;
  line-height: 1.25;
}

p,
li {
  max-width: 70ch;
}

.notice {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid var(--ink);
  background: #fff4e5;
}

.legal-footer {
  border-top: 1px solid var(--ink);
  border-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .legal-header,
  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
