/* Mobile-first styles; no external fonts or CDNs. */
:root {
  --bg: #fffcf7;
  --bg-alt: #f5ecdd;
  --text: #33261a;
  --muted: #6b5a47;
  --accent: #9a4a1e;
  --accent-dark: #7d3a15;
  --accent-text: #ffffff;
  --max: 64rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1rem; }

a { color: var(--accent); }
a:focus-visible, .button:focus-visible { outline: 3px solid #33261a; outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-text);
  padding: 0.5rem 1rem;
  z-index: 10;
}
.skip-link:focus { left: 0; }

.site-header { border-bottom: 1px solid #e6dbc8; background: var(--bg); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }

.hero {
  background: var(--bg-alt);
  padding: 3.5rem 0;
  border-bottom: 1px solid #e6dbc8;
}
.hero h1 { margin: 0 0 1rem; font-size: 2.1rem; line-height: 1.2; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; margin: 0 0 1.5rem; }

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  padding: 0.75rem 1.5rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-weight: 600;
}
.button:hover { background: var(--accent-dark); }
.button-light {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: calc(0.75rem - 2px) calc(1.5rem - 2px);
}
.button-light:hover { background: var(--bg-alt); color: var(--accent-dark); }

.section { padding: 3rem 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid #e6dbc8; border-bottom: 1px solid #e6dbc8; }
.section h2 { margin-top: 0; }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.card {
  background: #ffffff;
  border: 1px solid #e6dbc8;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
}

.card h3 { margin: 0 0 0.5rem; }
.card p { margin: 0; color: var(--muted); }

.site-footer { padding: 2rem 0; border-top: 1px solid #e6dbc8; color: var(--muted); font-size: 0.9rem; }
.site-footer h2 { font-size: 1rem; color: var(--text); margin: 0 0 0.25rem; }
.site-footer p { margin: 0.25rem 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

@media (min-width: 48rem) {
  .hero { padding: 5rem 0; }
  .hero h1 { font-size: 3rem; }
  .section { padding: 4rem 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
