:root {
  color-scheme: light;
  --ink: #151617;
  --muted: #686d6f;
  --paper: #fbfbfa;
  --band: #f0f2f3;
  --green: #315f53;
  --green-dark: #244a41;
  --line: #d7dbdc;
  --mint: #dceae5;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: #fff;
  background: var(--green);
}

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

header,
main {
  width: min(1120px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

header {
  min-height: 84px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .65rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.github-link {
  min-height: 36px;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
}

.github-link:hover {
  color: var(--green);
  border-color: var(--green);
}

.intro {
  max-width: 880px;
  margin: 0 auto;
  padding: 118px 0 132px;
  text-align: center;
}

.eyebrow {
  color: var(--ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.intro h1 {
  max-width: 850px;
  margin: 28px auto 25px;
  font-size: clamp(3rem, 7vw, 5.7rem);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: .97;
}

.intro p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.75;
}

.intro::after {
  width: 46px;
  height: 2px;
  margin: 35px auto 0;
  display: block;
  background: var(--ink);
  content: "";
}

.services {
  position: relative;
  z-index: 0;
  padding: 112px 0 128px;
}

.services::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background: var(--band);
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  content: "";
}

.section-heading {
  position: relative;
  margin-bottom: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 750;
  letter-spacing: .31em;
  text-transform: uppercase;
}

.section-heading h2::after {
  width: 44px;
  height: 2px;
  margin: 25px auto 0;
  display: block;
  background: var(--ink);
  content: "";
}

.section-heading > span {
  position: absolute;
  right: 0;
  color: var(--muted);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-card {
  padding: clamp(30px, 5vw, 50px);
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 5vw, 42px);
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.service-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.service-icon {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
}

.service-icon svg {
  width: 58px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.service-icon circle {
  fill: var(--ink);
  stroke: none;
}

.service-title {
  display: flex;
  align-items: center;
  gap: 11px;
}

.service-title h3 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -.025em;
}

.service-title span {
  padding: 5px 8px;
  border: 1px solid #b8ccc5;
  color: var(--green-dark);
  background: var(--mint);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-copy p {
  max-width: 620px;
  margin: 10px 0 17px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-meta span {
  padding: 0 0 4px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 1.3rem;
}

.future-card {
  margin-top: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, .44);
  font-size: .7rem;
  letter-spacing: .06em;
  text-align: center;
}

footer {
  width: 100%;
  margin: 0;
  padding: 72px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  color: var(--muted);
  background: var(--paper);
  font-size: .68rem;
  letter-spacing: .11em;
  text-align: center;
  text-transform: uppercase;
}

footer::before {
  width: 44px;
  height: 2px;
  margin-bottom: 15px;
  background: var(--ink);
  content: "";
}

@media (max-width: 650px) {
  header,
  main {
    width: min(100% - 28px, 1120px);
  }

  header {
    min-height: 72px;
    padding: 14px 0;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: .69rem;
  }

  .brand small {
    font-size: .65rem;
  }

  .github-link {
    font-size: 0;
  }

  .github-link::after {
    font-size: .7rem;
    content: "sign in";
  }

  .intro {
    padding: 82px 0 92px;
  }

  .intro h1 {
    font-size: clamp(2.7rem, 14vw, 4.5rem);
  }

  .services {
    padding: 82px 0 92px;
  }

  .services::before {
    clip-path: polygon(0 1.4%, 100% 0, 100% 98.6%, 0 100%);
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .section-heading h2 {
    font-size: 1.1rem;
    letter-spacing: .22em;
  }

  .section-heading > span {
    display: none;
  }

  .service-card {
    padding: 25px;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 20px;
  }

  .service-icon {
    width: 62px;
    height: 62px;
  }

  .service-icon svg {
    width: 42px;
  }

  .service-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-title h3 {
    font-size: 1.35rem;
  }

  .service-copy p {
    font-size: .92rem;
  }

  .arrow {
    display: none;
  }

  footer {
    padding: 58px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
