:root {
  --bg: #faf8f4;
  --bg-alt: #f2eee7;
  --surface: #ffffff;
  --text: #1d2329;
  --muted: #545d67;
  --accent: #2c4a6b;
  --accent-hover: #1f3650;
  --line: #e3ddd2;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.narrow > * { max-width: 680px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 14px;
  background: var(--accent);
  color: #fff;
  z-index: 10;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
}
nav { display: flex; gap: 24px; }
nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 112px 0 104px; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.headline {
  margin: 20px 0 0;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  line-height: 1.3;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.lede {
  max-width: 560px;
  margin: 16px 0 40px;
  color: var(--muted);
  font-size: 1.15rem;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 14px 26px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}
.button:hover { background: var(--accent-hover); color: #fff; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 {
  margin: 0 0 24px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.section p { margin: 0 0 16px; }

/* Service cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
}
.card-num {
  margin: 0 0 12px !important;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.card h3 { margin: 0 0 10px; font-size: 1.15rem; line-height: 1.35; font-weight: 600; }
.card p:last-child { margin: 0; color: var(--muted); }
.note { margin-top: 24px !important; color: var(--muted); font-size: 0.95rem; }

/* Contact */
#contact .button { margin-top: 8px; }
.email-line { margin-top: 20px !important; color: var(--muted); }

/* Footer */
.site-footer { padding: 40px 0 56px; color: var(--muted); font-size: 0.9rem; }
.site-footer p { margin: 0 0 6px; }
.fine { font-size: 0.82rem; }

/* Privacy page */
.prose h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 8px; }
.prose h2 { font-size: 1.2rem; margin: 36px 0 10px; }
.muted { color: var(--muted); }

@media (min-width: 720px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav-optional { display: none; }
  .hero { padding: 72px 0 72px; }
  .section { padding: 64px 0; }
  .card { padding: 22px; }
}

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