/* Shared styles for the legal pages. Separate from index.html's inline block
   because these pages are long-form reading and want a different measure and
   rhythm — not because of reuse. The palette and type stack mirror the homepage;
   if one changes, change both. */

:root {
  --paper: #fbfbfa;
  --paper-2: #f1f3f0;
  --ink: #16181a;
  --ink-soft: #565c58;
  --line: #e2e6e1;
  --forest: #2f5d42;
  --forest-deep: #234734;
  --serif: ui-serif, 'New York', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Menlo, Consolas, monospace;
  --reading: 720px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #131513;
    --paper-2: #1b1f1c;
    --ink: #f2f3f1;
    --ink-soft: #9aa39c;
    --line: #2c322d;
    --forest: #8cbfa0;
    --forest-deep: #a9d3ba;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-deep); }

header { border-bottom: 1px solid var(--line); }
.bar {
  max-width: var(--reading);
  margin: 0 auto;
  padding: 0 28px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.brand img { width: 33px; height: 38px; display: block; }
.brand span { font-weight: 700; font-size: 1.3125rem; letter-spacing: -.02em; }
.bar nav a { color: var(--ink-soft); font-size: .9375rem; font-weight: 500; text-decoration: none; }
.bar nav a:hover { color: var(--forest); }

main { max-width: var(--reading); margin: 0 auto; padding: 60px 28px 80px; }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 10px; }
h2 { font-family: var(--serif); font-weight: 600; font-size: 1.3125rem; line-height: 1.25; margin: 44px 0 12px; }
.effective { color: var(--ink-soft); font-size: .9375rem; margin: 0 0 40px; }
ul { padding-left: 22px; }
li { margin: 8px 0; }

.summary {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--forest);
  border-radius: 3px;
  padding: 22px 26px;
  margin: 0 0 44px;
}
.summary p { margin: 0; }

/* Facts we do not have yet, marked so they cannot ship unnoticed. */
.placeholder {
  background: #fde68a;
  color: #6b3f0c;
  padding: .1em .45em;
  border-radius: 2px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
@media (prefers-color-scheme: dark) {
  .placeholder { background: #a16207; color: #fef6d8; }
}

footer {
  border-top: 1px solid var(--line);
  padding: 32px 28px 56px;
  color: var(--ink-soft);
  font-size: .90625rem;
}
.footer-row {
  max-width: var(--reading);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  align-items: center;
}
.footer-row nav { display: flex; gap: 22px; }
.footer-row a { text-decoration: none; }
.footer-row a:hover { text-decoration: underline; }
