:root {
  --paper: #f7f6f1;
  --ink: #171715;
  --muted: #666660;
  --faint: #85847d;
  --rule: #d5d3ca;
  --page: min(760px, calc(100vw - 48px));
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

p,
h1,
h2 {
  margin-top: 0;
}

.page {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  font-weight: 500;
}

.brand {
  letter-spacing: -0.01em;
}

.site-header nav {
  display: flex;
  gap: 28px;
}

.site-header nav a,
.text-link,
.site-footer a,
.lede a,
.section-copy > p a {
  border-bottom: 1px solid var(--rule);
  transition: border-color 160ms ease;
}

.site-header nav a:hover,
.text-link:hover,
.site-footer a:hover,
.lede a:hover,
.section-copy > p a:hover {
  border-color: var(--ink);
}

.hero {
  padding-block: clamp(86px, 14vw, 134px) clamp(80px, 12vw, 116px);
}

.hero-inner {
  padding-bottom: clamp(66px, 9vw, 90px);
}

.eyebrow,
.section-label {
  color: var(--faint);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 27px;
}

h1 {
  max-width: 730px;
  margin-bottom: 34px;
  font-size: clamp(46px, 7.2vw, 70px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.lede {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.section {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 36px;
  padding-block: 54px;
  border-top: 1px solid var(--rule);
}

.section-label {
  margin: 3px 0 0;
}

.section-copy h2 {
  margin-bottom: 25px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-copy > p {
  margin-bottom: 20px;
  color: var(--muted);
}

.section-copy > p:last-child {
  margin-bottom: 0;
}

.project {
  padding-bottom: 74px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  font-size: 14px;
  font-weight: 500;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background 160ms ease, color 160ms ease;
}

.button:hover {
  background: transparent;
  color: var(--ink);
}

.steps {
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--rule);
}

.steps span {
  color: var(--faint);
  font-size: 14px;
  font-weight: 500;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
  padding-block: 34px;
  border-top: 1px solid var(--rule);
  color: var(--faint);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  :root {
    --page: calc(100vw - 32px);
  }

  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 72px;
  }

  .site-header nav {
    gap: 18px;
  }

  .hero {
    padding-block: 72px 78px;
  }

  h1 {
    font-size: clamp(42px, 13.5vw, 58px);
  }

  .lede {
    font-size: 18px;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 44px;
  }

  .section-copy h2 {
    font-size: 26px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
