:root {
  --bg: #fbfaf7;
  --bg-alt: #f2efe8;
  --surface: #ffffff;
  --text: #1c1b19;
  --muted: #5f5b53;
  --line: #e2ddd2;
  --accent: #2f5d50;
  --accent-ink: #ffffff;
  --radius: 14px;
  --max: 1080px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141513;
    --bg-alt: #1b1d1a;
    --surface: #20231f;
    --text: #ecebe6;
    --muted: #a6a39a;
    --line: #2f332d;
    --accent: #8cc2ae;
    --accent-ink: #10201a;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); max-width: 18ch; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.nav nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav nav a:hover { color: var(--text); }
.wordmark, .wordmark-sm { font-weight: 700; letter-spacing: -0.03em; color: var(--text); text-decoration: none; }
.wordmark { font-size: 1.35rem; }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: .75em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.section-intro { color: var(--muted); max-width: 60ch; margin-bottom: 2rem; }

.hero { padding: 96px 0 72px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.5rem; }
.button { display: inline-block; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; border: 1px solid var(--accent); }
.button.ghost { background: transparent; color: var(--accent); }

.services { padding: 8px 0 72px; }
.services p { color: var(--muted); }
.grid-3 { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card-body { padding: 28px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card.feature h3 { font-size: 1.6rem; }
.card-lede { font-size: 1.1rem; font-style: italic; color: var(--muted); }
.tag { display: inline-block; font-size: .8rem; color: var(--muted); border: 1px solid var(--line); padding: 2px 10px; border-radius: 999px; margin-bottom: 1em; }
.facts { list-style: none; padding: 0; margin: 0 0 1.25em; display: grid; gap: 6px; color: var(--muted); font-size: .95rem; }
.facts strong { color: var(--text); font-weight: 600; margin-right: .5em; }
.link { font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

.contact { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.company { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.company dt { color: var(--muted); font-size: .9rem; }
.company dd { margin: 0; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-row nav { display: flex; gap: 20px; }
.footer-row a { color: var(--muted); }

.legal { padding: 64px 0 80px; max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }

@media (max-width: 560px) {
  .nav { height: auto; padding-top: 12px; padding-bottom: 12px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav nav { gap: 16px; }
  html { scroll-padding-top: 96px; }
}
