/* Shared styling for the supporting pages. Deliberately inherits the landing
   page's palette and type so these read as the same site, not a bolted-on
   legal annex. */

:root {
  --blue: #0066cc;
  --blue-dark: #0052a3;
  --ink: #1a1a1a;
  --muted: #555;
  --rule: #e4e7eb;
  --page: #f8f9fa;
  --amber: #ffc107;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background-color: var(--page);
  line-height: 1.65;
}

.site-header {
  background-color: var(--blue);
  padding: 1.25rem 1.5rem;
}

.site-header a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

main {
  max-width: 46rem;          /* ~75 characters at this size */
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.card {
  background: #fff;
  border-radius: 6px;
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

h1 {
  font-size: 1.875rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.125rem;
  margin: 2.25rem 0 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

h2:first-of-type { border-top: none; padding-top: 0; margin-top: 1.75rem; }

.updated {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0 0 1.5rem;
}

p, li { font-size: 0.9375rem; }
li { margin-bottom: 0.4rem; }
a { color: var(--blue); }

.callout {
  background-color: var(--page);
  border-left: 4px solid var(--amber);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.875rem;
}

dl.facts { margin: 1.5rem 0; }
dl.facts dt { font-weight: 700; margin-top: 1rem; font-size: 0.9375rem; }
dl.facts dd { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.9375rem; }

.site-footer {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.site-footer a { margin-right: 1rem; }

.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.35rem; font-size: 0.9375rem; }

.field input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.field input:focus { outline: none; border-color: var(--blue); }

button {
  width: 100%;
  padding: 1rem;
  background-color: var(--blue);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

button:hover { background-color: var(--blue-dark); }
button:disabled { background-color: #ccc; cursor: not-allowed; }

.result { margin-top: 1.25rem; padding: 1rem; border-radius: 4px; display: none; }
.result.show { display: block; }
.result.ok { background-color: #d4edda; color: #155724; }
.result.err { background-color: #f8d7da; color: #721c24; }

@media (max-width: 600px) {
  .card { padding: 1.5rem; }
  h1 { font-size: 1.5rem; }
}
