:root {
  --bg: #f7f6f2;
  --ink: #14202b;
  --muted: #5d6872;
  --line: #d9d6cd;
  --accent: #0f5c56;
  --accent-ink: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10171d;
    --ink: #ecebe6;
    --muted: #98a2ab;
    --line: #2a343d;
    --accent: #6fc9bf;
    --accent-ink: #10171d;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.bar, main, footer {
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.mark {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.32em;
}

nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }

nav a {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

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

section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 16px;
}

.hero { border-top: 0; padding: 96px 0 112px; }

h2 {
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(52px, 11vw, 112px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lede {
  max-width: 34em;
  margin: 0 0 36px;
  font-size: 20px;
  color: var(--muted);
}

.button {
  display: inline-block;
  padding: 14px 26px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.button:hover { opacity: 0.88; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px 56px;
}

.num {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

h3 {
  margin: 6px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.3;
}

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

.statement {
  max-width: 22em;
  margin: 0 0 48px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.3;
  text-wrap: balance;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.steps strong { color: var(--ink); margin-right: 6px; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.stats b {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.1;
}

.stats span {
  font-size: 15px;
  color: var(--muted);
}

blockquote {
  max-width: 28em;
  margin: 0;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.4;
}

cite {
  display: block;
  margin-top: 14px;
  font: normal 14px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--muted);
}

.engage p { max-width: 34em; margin: 0; font-size: 20px; }

form {
  display: grid;
  gap: 20px;
  max-width: 640px;
  margin-top: 40px;
}

form[hidden] { display: none; }

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  font-size: 16px;
}

textarea { resize: vertical; }

input:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button.button {
  justify-self: start;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.engage .thanks {
  margin-top: 40px;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 32px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

footer .mark { font-size: 14px; color: var(--ink); }
