:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --text: #1c2421;
  --muted: #5b6662;
  --accent: #1f3d36;
  --accent-text: #f4efe6;
  --highlight: #b8743a;
  --border: #e3ded3;
  --radius: 14px;
  --max: 1040px;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121715;
    --surface: #1a211e;
    --text: #ebe7df;
    --muted: #a3ada8;
    --accent: #cfe3d9;
    --accent-text: #121715;
    --highlight: #e2a46c;
    --border: #2a3430;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

.site-header,
main,
.site-footer {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.header-link {
  color: var(--muted);
  text-decoration: none;
}
.header-link:hover { color: var(--text); }

.hero {
  padding: 72px 0 88px;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--highlight);
}

h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.product {
  color: var(--accent);
  border-bottom: 4px solid var(--highlight);
}

.lede {
  margin: 0 0 36px;
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 620px;
}

.button {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.button:hover { opacity: 0.9; transform: translateY(-1px); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 88px;
}

.pillars article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.pillars h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.pillars p { margin: 0; color: var(--muted); }

.contact {
  border-top: 1px solid var(--border);
  padding: 72px 0 88px;
  max-width: 640px;
}

.contact h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 2rem;
}

.contact p { margin: 0 0 20px; color: var(--muted); }

.email {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--accent);
  text-decoration-color: var(--highlight);
  text-underline-offset: 6px;
}

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

.site-footer p { margin: 0; }

a:focus-visible {
  outline: 3px solid var(--highlight);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (max-width: 760px) {
  .site-header, main, .site-footer { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 40px 0 64px; }
  .pillars { grid-template-columns: 1fr; padding-bottom: 64px; }
  .contact { padding: 56px 0 64px; }
}

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

.lede a {
  color: var(--accent);
  text-decoration-color: var(--highlight);
  text-underline-offset: 4px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-secondary {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.company-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin: 0 0 12px;
}

.company-info dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-info dd {
  margin: 2px 0 0;
  color: var(--text);
}
