:root {
  --bg: hsl(121, 39%, 97%);
  --surface: hsl(121, 39%, 93%);
  --tint: hsl(121, 39%, 86%);
  --line: hsl(121, 24%, 74%);
  --main: hsl(121, 39%, 30%);
  --mainDeep: hsl(121, 39%, 15%);
  --ink: hsl(121, 39%, 12%);
  --muted: hsl(121, 18%, 30%);
  --accent: hsl(91, 39%, 30%);
  --accentSoft: hsl(91, 39%, 88%);
  --onDark: hsl(121, 39%, 95%);
  --onDarkMuted: hsl(121, 25%, 80%);
  --headFont: "Crimson Pro", Georgia, "Times New Roman", serif;
  --bodyFont: "Libre Franklin", "Segoe UI", Arial, sans-serif;
  --pill: 999px;
  --wrap: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--bodyFont);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--headFont);
  color: var(--mainDeep);
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 3.9rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--main);
}

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

img,
svg {
  max-width: 100%;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

.timeline {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px 40px 76px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 38px;
  width: 2px;
  background: linear-gradient(var(--tint), var(--line) 12%, var(--line) 88%, var(--tint));
}

.step {
  position: relative;
  padding: 64px 0 24px;
  scroll-margin-top: 80px;
}

.step::before {
  content: "";
  position: absolute;
  left: -46px;
  top: 74px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 6px var(--bg);
}

.stepTag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 62ch;
}

@media (max-width: 640px) {
  .timeline {
    padding: 0 18px 32px 46px;
  }

  .timeline::before {
    left: 20px;
  }

  .step {
    padding-top: 48px;
  }

  .step::before {
    left: -33px;
    top: 56px;
    width: 14px;
    height: 14px;
  }

  .wrap {
    padding: 0 18px;
  }
}
