:root {
  --bg: #fbf7f0;
  --surface: #ffffff;
  --surface-alt: #f4ece0;
  --ink: #1c1917;
  --muted: #5f574f;
  --accent: #9a3412;
  --accent-bright: #c2410c;
  --accent-soft: #ffedd5;
  --honey: #f5b500;
  --line: #e4d8c8;
  --ok: #166534;
  --radius: 18px;
  --max: 1080px;
  --shadow: 0 20px 45px -32px rgba(28, 25, 23, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 12px;
  padding: 10px 16px;
  position: absolute;
  top: -60px;
  z-index: 20;
}
.skip-link:focus { top: 12px; color: #fff; }

.site-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 20px 24px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 19px;
  font-weight: 750;
  gap: 10px;
  letter-spacing: -0.015em;
  text-decoration: none;
}
.brand em { color: var(--accent); font-style: normal; }
.brand-mark { color: var(--accent); height: 34px; width: 34px; flex: none; }

.site-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 550;
  padding: 6px 2px;
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }

main { margin: 0 auto; max-width: var(--max); padding: 0 24px 40px; }

.hero { padding: 44px 0 56px; }
.hero-grid { align-items: center; display: grid; gap: 40px; }
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 6vw, 3.3rem); margin: 0 0 18px; }
h2 { font-size: clamp(1.45rem, 3.4vw, 2rem); margin: 0 0 14px; }
h3 { font-size: 1.12rem; margin: 0 0 6px; }
p { margin: 0 0 16px; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.2rem); max-width: 60ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 20px; }

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-block;
  font-size: 16px;
  font-weight: 650;
  padding: 12px 22px;
  text-decoration: none;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.hero-card ul { list-style: none; margin: 0; padding: 0; }
.hero-card li {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.hero-card li:first-child { border-top: 0; }
.card-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.section { padding: 40px 0; }
.section-head { margin-bottom: 26px; max-width: 62ch; }
.section-alt {
  background: var(--surface-alt);
  border-radius: var(--radius);
  margin: 24px auto;
  max-width: var(--max);
  padding: 36px 24px;
}

.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card p:last-child { margin-bottom: 0; }
.card .status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card .links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; }
.card .links a { font-size: 15px; font-weight: 600; }

.badge {
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent);
  display: inline-block;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  padding: 4px 11px;
  text-transform: uppercase;
}
.badge-ok { background: #dcfce7; color: var(--ok); }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li {
  border-top: 1px solid var(--line);
  counter-increment: step;
  padding: 18px 0 18px 46px;
  position: relative;
}
.steps li:first-child { border-top: 0; }
.steps li::before {
  color: var(--accent);
  content: counter(step);
  font-size: 22px;
  font-weight: 800;
  left: 0;
  position: absolute;
  top: 14px;
}
.steps p:last-child { margin-bottom: 0; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 36px; }
.prose h3 { margin-top: 24px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }

.callout {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  padding: 18px 20px;
}
.callout p:last-child { margin-bottom: 0; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { border-top: 1px solid var(--line); padding: 16px 0; }
.contact-list li:first-child { border-top: 0; }
.contact-list strong { display: block; }

.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 650; }
.field input, .field select, .field textarea {
  background: var(--surface);
  border: 1px solid #cfc2b0;
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  padding: 11px 13px;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { color: var(--muted); font-size: 13px; }
.form-note { color: var(--muted); font-size: 14px; }
.form-status { font-size: 15px; font-weight: 600; margin: 0; min-height: 1.2em; }
.form-status[data-state="error"] { color: #991b1b; }
.form-status[data-state="ok"] { color: var(--ok); }

.site-footer {
  background: var(--ink);
  color: #e7ded2;
  margin-top: 40px;
  padding: 40px 24px 28px;
}
.footer-main {
  display: grid;
  gap: 24px;
  margin: 0 auto;
  max-width: var(--max);
}
.footer-brand { color: #fff; font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.footer-note { color: #c9bfb2; font-size: 14px; margin: 0; max-width: 52ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer-links a { color: #f3e9db; font-size: 14px; }
.site-footer .footer-legal {
  border-top: 1px solid #3b342e;
  color: #b8ad9f;
  font-size: 13px;
  margin: 26px auto 0;
  max-width: var(--max);
  padding-top: 18px;
}
.site-footer .footer-legal a { color: #f3e9db; }

.note-small { color: var(--muted); font-size: 14px; }
.mt-18 { margin-top: 18px; }

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1.6fr 1fr; }
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

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