:root {
  --navy: #08182c;
  --navy-2: #0c1f37;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #7eb6ff;
  --gold: #f1cb6a;
  --text: #f4f8fc;
  --muted: #d5e0ee;
  --on-gold: #231a05;
  --maxw: 44rem;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  font-size: 1.125rem;
}

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

a:hover {
  color: var(--gold);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
  z-index: 2;
}


.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

header {
  border-bottom: 1px solid var(--line);
  background: var(--navy-2);
}

.brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
}

.brand span:last-child {
  color: var(--gold);
}

nav[aria-label="Legal"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0.75rem 0 1.25rem;
}

nav[aria-label="Legal"] a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

main {
  padding: 2.5rem 0 4rem;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 2.25rem 0 0.75rem;
}

h3 {
  font-size: 1.125rem;
  margin: 1.5rem 0 0.5rem;
}

p,
li {
  color: var(--text);
}

.lede,
.updated {
  color: var(--muted);
}

.updated {
  margin-bottom: 1.75rem;
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.4rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 1rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--gold);
  font-weight: 700;
}

.toc {
  padding: 0;
  margin: 0 0 2rem;
  list-style: none;
}

.toc li {
  margin: 0.35rem 0;
}

.toc a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
}


footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 2rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
