/* PetitionPack public site. Brand tokens from brand/brand-guide.md. No web fonts,
   scripts or third-party requests, so the strict CSP in landing.tf holds. */
:root {
  --navy: #17325a;
  --green: #0e7c5a;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --border: #dfe4ec;
  --text: #172033;
  --muted: #55627a;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --navy: #8fb3e8;
    --green: #5fd3a6;
    --bg: #0b1424;
    --surface: #111d30;
    --border: #24344f;
    --text: #e8edf5;
    --muted: #9daac0;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a {
  color: var(--navy);
}

a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  padding: 32px 0 8px;
}

header img {
  display: block;
  height: 40px;
  width: auto;
}

main {
  padding: 24px 0 48px;
}

h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--navy);
}

h2 {
  font-size: 1.25rem;
  margin: 40px 0 12px;
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 24px;
}

.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.cards li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}

.cards strong {
  display: block;
  margin-bottom: 4px;
}

.status {
  display: inline-block;
  border-left: 4px solid var(--green);
  background: var(--surface);
  padding: 10px 14px;
  border-radius: 6px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 20px 0 40px;
  color: var(--muted);
  font-size: 0.875rem;
}

footer a {
  color: var(--muted);
  margin-right: 16px;
}
