/* Shared styling for the standalone legal pages.
   These sit outside the React bundle, so they carry their own copy of the
   palette from src/index.css. If the brand colours change, change them here
   too — there is no build step joining the two. */
:root {
  color-scheme: dark;
  --ink: #0b0705;
  --sand: #f0e6d8;
  --sand-dim: #a2948a;
  --sun: #ff7a3d;
  --lagoon: #47b8ae;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--sand);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  line-height: 1.65;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.1rem;
  margin: 2.25rem 0 0.5rem;
}

p,
li,
td,
th {
  color: var(--sand-dim);
  font-size: 0.95rem;
}

a {
  color: var(--lagoon);
}

a:focus-visible,
:where(a):focus-visible {
  outline: 2px solid var(--lagoon);
  outline-offset: 3px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
}

th,
td {
  text-align: left;
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid rgba(240, 230, 216, 0.1);
}

th {
  color: var(--sand);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.updated {
  font-size: 0.8rem;
  color: #6b6058;
}

.back {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.todo {
  border: 1px solid rgba(255, 122, 61, 0.45);
  background: rgba(255, 122, 61, 0.09);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  color: var(--sand);
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }
  main {
    padding-top: 4.5rem;
  }
}
