:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --alt: #f3f0eb;
  --text: #1d1b19;
  --muted: #6b6560;
  --line: #e4dfd8;
  --accent: #2f4a3f;
  --accent-ink: #ffffff;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151413; --surface: #1d1c1a; --alt: #1b1a18; --text: #ece8e2;
    --muted: #a39d95; --line: #2f2c29; --accent: #8fb5a3; --accent-ink: #10201a;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
}
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); margin: 0 0 0.6em; }
h2 { font-size: 1.4rem; margin: 1.6em 0 0.5em; }
h3 { font-size: 1.1rem; margin: 0 0 0.4em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; }
.mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-size: 15px; }
nav { display: flex; gap: 4px; }
nav a { padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 15px; }
nav a:hover { background: var(--alt); }
nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }

.hero { padding: 56px 0 48px; background: var(--alt); border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: var(--radius); border: 1px solid var(--accent);
  background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn-ghost { background: transparent; color: var(--accent); }

.section { padding: 40px 0; }
.section > .wrap > h2:first-child, .section h1:first-child { margin-top: 0; }
.section-alt { background: var(--alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { margin: 0; color: var(--muted); }

.details { display: grid; grid-template-columns: 1fr; gap: 2px 16px; margin: 0; }
.details dt { font-weight: 600; margin-top: 10px; }
.details dd { margin: 0; color: var(--muted); }
@media (min-width: 600px) {
  .details { grid-template-columns: 220px 1fr; }
  .details dt, .details dd { margin-top: 8px; }
}

.prose ul { padding-left: 1.2em; }
.muted { color: var(--muted); }

.form { display: grid; gap: 6px; margin-top: 24px; }
.form label { font-weight: 600; font-size: 15px; margin-top: 8px; }
.form input, .form textarea {
  width: 100%; padding: 12px; font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form .btn { margin-top: 14px; justify-self: start; }
.form-error { color: #b3261e; margin: 8px 0 0; }
.thanks { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.thanks h2 { margin-top: 0; }
[hidden] { display: none !important; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 28px 0; font-size: 14px; color: var(--muted); }
.site-footer p { margin: 2px 0; overflow-wrap: anywhere; }
.site-footer .legal-name { font-weight: 700; color: var(--text); }
.site-footer .footer-links { margin-top: 10px; }
.site-footer .copy { margin-top: 10px; }
.company { font-size: 1.25rem; font-weight: 700; color: var(--accent); margin: -0.3em 0 0.4em; }
