/* Cooper Home public page: theme tokens from design/theme.css (Appendix A) with the Phase 1
   adjustments (olive #495940 for text accents, sage #AFBEA5 for fills only, #ffffff). */
:root {
  --background: #fdfdfd;
  --foreground: #000000;
  --card: #fdfdfd;
  --muted: #f5f5f5;
  --muted-foreground: #6b6b6b;
  --primary: #AFBEA5;
  --accent: #495940;
  --accent-foreground: #ffffff;
  --border: #e7e7ee;
  --radius: 1.4rem;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #070503;
    --foreground: #f9f8f7;
    --card: #100d08;
    --muted: #1e1a14;
    --muted-foreground: #a8a49e;
    --border: #26211a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  letter-spacing: -0.015em;
  line-height: 1.55;
}
main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3.5rem 1rem 4rem;
}
header.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
header.brand .mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.8rem;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 700;
}
header.brand .name { font-weight: 600; font-size: 1.05rem; }
header.brand a { color: inherit; text-decoration: none; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.15; margin: 0 0 1rem; letter-spacing: -0.03em; }
h2 { font-size: 1.2rem; margin: 2rem 0 0.5rem; }
p, li { color: var(--foreground); }
p.lead { font-size: 1.15rem; color: var(--muted-foreground); }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0;
}
.card h2 { margin-top: 0; }
a { color: var(--accent); }
@media (prefers-color-scheme: dark) { a { color: var(--primary); } }
footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
footer a { color: inherit; }
.muted { color: var(--muted-foreground); }
