:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #16181d;
  --muted: #5a6070;
  --accent: #1f4fd8;
  --accent-text: #ffffff;
  --border: #d9dce5;
  --error: #b42318;
  --success: #067647;
  --radius: 10px;
  --max: 44rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111318;
    --surface: #1a1d24;
    --text: #eef0f4;
    --muted: #a3a9b8;
    --accent: #7c9cff;
    --accent-text: #0b0d12;
    --border: #2f3440;
    --error: #ff8a80;
    --success: #6fd3a0;
  }
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.site-header, main, .site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

.site-header { padding-top: 24px; padding-bottom: 24px; }

.wordmark {
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.hero { padding: 48px 0 32px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
.lede { font-size: 1.15rem; color: var(--muted); margin: 0 0 24px; }

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  border: 0;
  border-radius: var(--radius);
  padding: 12px 20px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { filter: brightness(1.08); }
.button:disabled { opacity: 0.6; cursor: progress; }

.enquiry {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  margin: 16px 0 48px;
}
@media (min-width: 600px) { .enquiry { padding: 32px; } }
.enquiry h2 { margin: 0 0 8px; }
.enquiry > p { color: var(--muted); margin: 0 0 24px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.9rem; margin: 4px 0 0; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.turnstile-slot { margin: 8px 0 16px; min-height: 0; }

.form-status { margin: 16px 0 0; color: var(--error); }
.thanks { color: var(--success); font-weight: 600; font-size: 1.1rem; margin: 0; }

.site-footer {
  color: var(--muted);
  font-size: 0.9rem;
  padding-top: 16px;
  padding-bottom: 32px;
  border-top: 1px solid var(--border);
}
.site-footer a { color: inherit; }

.prose { padding: 32px 0 48px; }
.prose h1 { margin-top: 0; }
