:root {
  --bg: #f4f1ea;
  --ink: #141414;
  --muted: #66645f;
  --line: #d8d3ca;
  --accent: #c84d28;
  --white: #fff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  line-height: 1.5;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2.2rem, 4.3vw, 4.5rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1rem;
}

header,
footer,
section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

header,
footer {
  display: flex;
  align-items: center;
  gap: 28px;
}

header {
  min-height: 88px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

header nav,
footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.brand span,
.eyebrow,
.steps strong,
.features strong {
  color: var(--accent);
}

.button {
  display: inline-block;
  padding: 15px 24px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
}

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

main > section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.hero {
  padding: 96px 0 84px;
  text-align: center;
}

.narrow {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero p,
#why-hirefox .narrow p,
.cta p {
  max-width: 720px;
  margin: 24px auto 0;
  font-size: 1.15rem;
}

.hero .button,
.cta .button {
  margin-top: 28px;
}

.proofs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.proofs li:not(:last-child)::after {
  content: "·";
  margin-left: 22px;
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

#why-hirefox .narrow {
  max-width: 760px;
}

.steps,
.skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 46px;
}

.steps article,
.skills article {
  padding: 0 34px;
  border-left: 1px solid var(--line);
}

.steps article:first-child,
.skills article:first-child {
  padding-left: 0;
  border-left: 0;
}

.steps article:last-child,
.skills article:last-child {
  padding-right: 0;
}

.steps strong {
  display: block;
  margin-bottom: 10px;
  font-size: 2.4rem;
  line-height: 1;
}

.steps p,
.skills p {
  margin-top: 10px;
}

.skills {
  grid-template-columns: repeat(4, 1fr);
}

.section-heading {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
  align-items: end;
}

.features {
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.features > div {
  display: grid;
  grid-template-columns: 54px 1.1fr 2fr;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}

.features > div:first-child {
  border-top: 0;
}

.cta {
  text-align: center;
}

footer {
  min-height: 120px;
  justify-content: space-between;
  font-size: 0.9rem;
}

footer p {
  margin-right: auto;
}

@media (max-width: 820px) {
  header {
    align-items: flex-start;
    padding: 22px 0;
  }

  header nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 18px;
  }

  header .button {
    display: none;
  }

  .steps,
  .skills,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .steps article,
  .skills article {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .steps article:first-child,
  .skills article:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .features > div {
    grid-template-columns: 44px 1fr;
  }

  .features p {
    grid-column: 2;
  }

  footer {
    flex-wrap: wrap;
    padding: 28px 0;
  }
}

@media (max-width: 560px) {
  header,
  footer,
  section {
    width: min(calc(100% - 30px), var(--max));
  }

  main > section {
    padding: 56px 0;
  }

  .hero {
    padding-top: 72px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  header nav a:not(.button) {
    font-size: 0.85rem;
  }

  .proofs li::after {
    display: none;
  }
}
