:root {
  color-scheme: dark;
  --bg: #070a0d;
  --surface: #11171d;
  --surface-2: #182029;
  --text: #f7f8fa;
  --muted: #a8b0bb;
  --stroke: #303944;
  --amber: #ffc342;
  --mint: #4bd0a0;
  --cyan: #36b5df;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--cyan);
}

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

.legal-shell {
  width: min(100% - 32px, 780px);
  margin: 0 auto;
  padding: 28px 0 64px;
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--stroke);
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.legal-brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.legal-nav-links {
  display: flex;
  gap: 16px;
  font-size: 15px;
  font-weight: 700;
}

.legal-nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.legal-nav-links a[aria-current="page"] {
  color: var(--amber);
}

header {
  padding: 48px 0 26px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 8vw, 54px);
  line-height: 1.05;
}

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

main {
  display: grid;
  gap: 14px;
}

section {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 8px;
}

h2 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

p {
  margin: 0 0 12px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

.support-action {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 8px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--mint);
  color: #07100d;
  font-weight: 800;
  text-decoration: none;
}

.support-action:hover {
  color: #07100d;
  filter: brightness(1.05);
}

.note {
  color: var(--muted);
}

footer {
  padding-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 560px) {
  .legal-shell {
    width: min(100% - 24px, 780px);
    padding-top: 18px;
  }

  .legal-nav {
    align-items: flex-start;
  }

  .legal-nav-links {
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
  }

  header {
    padding-top: 36px;
  }

  section {
    padding: 18px;
  }
}
