:root {
  --night: #080f1a;
  --deep: #0d1826;
  --mist: #1b2c40;
  --fire: #f5a623;
  --ice: #4db8e8;
  --void-el: #c74bd4;
  --light: #e9eff7;
  --text: #d5e0ee;
  --text-dim: #8fa3ba;
  --line: rgba(140, 170, 205, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--night);
  color: var(--text);
  font-family: "Barlow", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.legal-head {
  border-bottom: 1px solid var(--line);
  padding: 2rem 1.5rem 1.6rem;
  text-align: center;
}

.legal-head a {
  font-family: "Cinzel", serif;
  letter-spacing: 0.24em;
  padding-left: 0.24em;
  color: var(--light);
  font-size: 1rem;
  text-decoration: none;
}

.legal-head .back {
  display: block;
  margin-top: 0.8rem;
  font-family: "Barlow", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-left: 0;
}

main {
  max-width: 62ch;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}

h1 {
  font-family: "Cinzel", serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.2;
  color: var(--light);
  margin-bottom: 0.6rem;
}

.updated {
  color: var(--text-dim);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  margin-bottom: 3rem;
}

h2 {
  font-family: "Cinzel", serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  font-size: 1.25rem;
  color: var(--light);
  margin: 2.8rem 0 0.9rem;
}

h3 {
  font-weight: 500;
  font-size: 1rem;
  color: var(--light);
  margin: 1.6rem 0 0.5rem;
}

p,
li {
  margin-bottom: 0.9rem;
}

ul {
  padding-left: 1.3rem;
}

li::marker {
  color: var(--text-dim);
}

a {
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid rgba(77, 184, 232, 0.35);
  transition:
    color 0.2s,
    border-color 0.2s;
}

a:hover {
  border-color: var(--ice);
}

dl {
  margin-bottom: 1.4rem;
}

dt {
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 1.1rem;
}

dd {
  margin-left: 0;
  color: var(--text);
}

.todo {
  display: inline-block;
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas,
    monospace;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--fire);
  background: rgba(245, 166, 35, 0.09);
  border: 1px dashed rgba(245, 166, 35, 0.55);
  border-radius: 4px;
  padding: 0.1em 0.5em;
}

.notice {
  border: 1px dashed rgba(245, 166, 35, 0.55);
  background: rgba(245, 166, 35, 0.07);
  border-radius: 6px;
  padding: 1.1rem 1.2rem 0.4rem;
  margin-bottom: 2.5rem;
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas,
    monospace;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--fire);
}

footer {
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.82rem;
}

footer nav {
  display: flex;
  gap: 1.4rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

footer a {
  color: var(--text-dim);
  border-bottom-color: transparent;
}

footer a:hover {
  color: var(--ice);
  border-color: var(--ice);
}

a:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
}
