/* Mobile-first styles; no external fonts or CDNs. */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --text: #1c2430;
  --muted: #55606e;
  --accent: #1f5fbf;
  --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 #f5a623; 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 #e3e7ec; background: var(--bg); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.brand-logo { width: auto; height: 2.2rem; }
@media (prefers-reduced-motion: no-preference) {
  .brand-logo:hover { transform: rotate(-2deg); }
}
.nav { display: flex; gap: 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: 3rem 0; }
.hero h1 { margin: 0 0 1rem; font-size: 2rem; 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 { filter: brightness(1.1); }

.section { padding: 3rem 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { margin-top: 0; }

.site-footer { padding: 1.5rem 0; border-top: 1px solid #e3e7ec; color: var(--muted); font-size: 0.9rem; }
.site-footer p { margin: 0; }

@media (min-width: 48rem) {
  .hero { padding: 5rem 0; }
  .hero h1 { font-size: 3rem; }
  .section { padding: 4rem 0; }
}

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