/* === LEGAL.CSS === */
:root {
  --font-header: "gravesend-sans", sans-serif;
  --font-body: "inter", sans-serif;
  --color-bg: #0a0a0a;
  --color-text: #fff;
  --color-text-light: rgba(255, 255, 255, 0.6);
  --color-accent: #fff;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text-light);
  line-height: 1.6;
  font-size: 0.8rem; /* CHANGED */
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 5vh 2rem;
}

/* === NEW AIRY RHYTHM RULES === */
main > * + * {
  margin-top: 1.125rem; /* CHANGED */
}
main > h1 + p,
main > h2 + p {
  margin-top: 1.25rem; /* CHANGED */
}

/* ADDED "easy on the eyes" spacing for new sections */
main > p + h2,
main > ul + h2 {
  margin-top: 2.5rem;
}

/* === ROBUST FONT RULES === */
h1, h2 {
  font-family: var(--font-header);
  color: var(--color-text);
  letter-spacing: 0.03em;
  margin: 0; /* Reset for rhythm */
  line-height: 1.4; /* ADDED */
}

h1 {
  font-weight: 700; /* Bold */
}

h2 {
  font-weight: 500; /* Medium */
}

p, ul {
  margin: 0; /* Reset for rhythm */
  line-height: 1.6; /* Ensure p tags inherit this */
}

ul {
  padding-left: 1.5rem; /* Indent bullet lists */
}

li {
  margin-bottom: 0.75rem;
}
/* Fix spacing if a list follows a p */
p + ul {
  margin-top: 1.125rem; /* CHANGED */
}
/* === END RHYTHM RULES === */

a {
  color: var(--color-accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}