/* Interim styling for the legal pages.
   Deliberately neutral — expect this to be replaced when the Claude Design
   layout lands. Structure is semantic so a restyle is a CSS-only change. */

:root {
  --ground: #fbfbfa;
  --surface: #f2f2f0;
  --ink: #1c1b19;
  --muted: #5a5852;
  --faint: #7d7a73;
  --rule: #e0dfda;
  --accent: #1f5f52;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #14130f;
    --surface: #1d1c18;
    --ink: #f0efe9;
    --muted: #a8a49a;
    --faint: #8b877d;
    --rule: #2c2a25;
    --accent: #6fbfa9;
  }
}

:root[data-theme="dark"] {
  --ground: #14130f;
  --surface: #1d1c18;
  --ink: #f0efe9;
  --muted: #a8a49a;
  --faint: #8b877d;
  --rule: #2c2a25;
  --accent: #6fbfa9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.legal {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

.legal header { border-bottom: 2px solid var(--ink); padding-bottom: 1.25rem; margin-bottom: 2rem; }

.org {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 .6rem;
}

h1 { margin: 0 0 .5rem; font-size: 1.9rem; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }

.dates { margin: 0; font-family: var(--mono); font-size: .78rem; color: var(--muted); }

h2 {
  margin: 2.25rem 0 .6rem;
  font-size: 1.1rem;
  letter-spacing: -.01em;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--rule);
}

h3 { margin: 1.4rem 0 .4rem; font-size: .95rem; }

p, li { margin: 0 0 .85rem; }
ul, ol { padding-left: 1.3rem; margin: 0 0 .85rem; }
li { margin-bottom: .4rem; }

a { color: var(--accent); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

strong { font-weight: 640; }

.callout {
  border-left: 3px solid var(--accent);
  background: var(--surface);
  padding: .9rem 1.1rem;
  margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout .tag {
  display: block;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: .4rem;
}

.contact {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
}
.contact p { margin-bottom: .3rem; }
.contact .label {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: .5rem;
}

.legal footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: .85rem;
  color: var(--muted);
}
.legal footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: 1rem; }
.legal footer .entity { font-family: var(--mono); font-size: .74rem; color: var(--faint); line-height: 1.7; }
