:root {
  --bg: #f7f5f0;
  --surface: #efebe2;
  --card: #fbfaf7;
  --text: #1c1b19;
  --muted: #6b675f;
  --accent: #1f4d3f;
  --on-accent: #f7f5f0;
  --line: #d9d4c8;
  --strong-bg: #1f4d3f;
  --strong-text: #f7f5f0;
  --strong-button-bg: #f7f5f0;
  --strong-button-text: #1f4d3f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141412;
    --surface: #1c1c19;
    --card: #22221f;
    --text: #f1eee7;
    --muted: #a39e93;
    --accent: #8cc4ad;
    --on-accent: #141412;
    --line: #34322d;
    --strong-bg: #1d3a31;
    --strong-text: #f1eee7;
    --strong-button-bg: #8cc4ad;
    --strong-button-text: #141412;
  }
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--bg);
}

/* Header */

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.mark {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

.top-link {
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

/* Type */

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(40px, 7.5vw, 72px);
  line-height: 1.05;
  max-width: 14ch;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.15;
  margin-bottom: 16px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.lede {
  font-size: clamp(18px, 2.4vw, 21px);
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 32px;
}

.section-lede {
  color: var(--muted);
  max-width: 36em;
  margin-bottom: 32px;
}

/* Sections */

main > section { padding: 80px 0; }

section[id] { scroll-margin-top: 60px; }

main > section.wrap { padding: 80px 24px; }

.band { background: var(--surface); }

main > section.hero { padding-top: 72px; }

/* Buttons */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-bottom: 40px;
}

.button {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}

.button:hover { opacity: 0.88; }

.button-invert {
  background: var(--strong-button-bg);
  color: var(--strong-button-text);
}

.text-link {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.text-link:hover, .top-link:hover { opacity: 0.75; }

.facts {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 15px;
  color: var(--muted);
}

.facts li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 8px;
}

/* How it works */

.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 32px;
}

.steps li { counter-increment: step; }

.steps li::before {
  content: counter(step);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}

.steps p { color: var(--muted); }

/* Example cards */

.cards {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.card p { color: var(--muted); }

.note {
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  font-weight: 600;
  max-width: 36em;
}

/* Services */

.services {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 28px;
}

.services li {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.services p { color: var(--muted); }

/* Contact */

.contact {
  background: var(--strong-bg);
  color: var(--strong-text);
}

.contact p {
  max-width: 34em;
  margin-bottom: 28px;
  opacity: 0.9;
}

/* Footer */

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 32px;
  padding-bottom: 40px;
  font-size: 14px;
  color: var(--muted);
}

.foot a { color: inherit; }

/* Wider screens */

@media (min-width: 720px) {
  .steps, .services { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  main > section { padding: 112px 0; }
  main > section.wrap { padding: 112px 24px; }
  main > section.hero { padding-top: 104px; }
}
