:root {
  --paper: #f3f6f4;
  --ink: #14221c;
  --muted: #4d5e56;
  --line: #d5e0da;
  --pine: #0c5c4c;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

body::before {
  content: "";
  display: block;
  height: 8px;
  background: var(--pine);
}

a { color: inherit; }

.top, .hero, .services, .fit, footer {
  width: min(var(--max), calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 28px 0 12px;
}

.mark {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.top p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hero { padding: 64px 0 20px; }

.kicker {
  margin: 0 0 16px;
  color: var(--pine);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.lede {
  max-width: 38rem;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 36px 0 20px;
}

article {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 26px 24px;
}

article h2, .fit h2 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

article p, .fit li { color: var(--muted); }

.fit { padding: 28px 0 64px; }

.fit ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.fit li {
  padding-left: 42px;
  position: relative;
}

.fit li::before {
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--pine);
  font-weight: 700;
  font-size: 14px;
}

.fit ol { counter-reset: step; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 48px;
  border-top: 1px solid var(--ink);
}

footer p { margin: 0; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }

footer a {
  color: var(--pine);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .top, .hero, .services, .fit, footer { width: min(var(--max), calc(100% - 32px)); }
  .services { grid-template-columns: 1fr; }
  .top, footer { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 40px; }
}
