@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --background: #f4f4ef;
  --text: #111111;
  --muted: #6d6d68;
  --border: #d5d5ce;
  --accent: #2457ff;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  min-height: 100vh;
}

main {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

.navbar {
  height: 76px;
  padding: 0 6%;
  border-bottom: 1px solid var(--border);

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.year {
  color: var(--muted);
  font-size: 12px;
}

/* HERO */

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 30px 80px;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 25px;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(60px, 8vw, 110px);
  line-height: 0.9;
  letter-spacing: -0.07em;
  font-weight: 600;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}

.hero p {
  max-width: 520px;
  margin-top: 35px;

  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* CARDS */

.steps {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 0 0;

  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  justify-items: center;
  align-items: center;
  gap: 16px;
}

.step-card {
  width: 100%;
  max-width: 360px;
  min-height: 430px;

  background: var(--white);
  border: 1px solid var(--border);

  padding: 28px;

  display: flex;
  flex-direction: column;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--text);
}

/* CARD TOP */

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 48px;
  letter-spacing: -0.06em;
}

.tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
}

/* CARD CONTENT */

.card-content {
  margin-top: auto;
  margin-bottom: 40px;
}

.card-content h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

.card-content p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* BUTTON */

.watch-button {
  height: 48px;

  border: 1px solid var(--text);

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 16px;

  color: var(--text);
  text-decoration: none;

  font-size: 12px;
  font-weight: 600;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.watch-button span {
  font-size: 17px;
}

.watch-button:hover {
  background: var(--text);
  color: var(--white);
}

/* FOOTER */

footer {
  border-top: 1px solid var(--border);

  max-width: 1180px;
  margin: 0 auto;

  padding: 25px 30px;

  display: flex;
  justify-content: space-between;

  color: var(--muted);

  font-size: 10px;
  letter-spacing: 0.12em;
}

/* RESPONSIVE */

@media (max-width: 850px) {
  main {
    min-height: auto;
    padding: 32px 0 0;
  }

  .hero {
    padding-top: 80px;
  }

  .steps {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .step-card {
    max-width: 480px;
    min-height: 360px;
  }
}

@media (max-width: 500px) {
  .navbar {
    padding: 0 20px;
  }

  .hero {
    padding: 70px 20px 60px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .steps {
    padding: 0 20px 80px;
  }

  .step-card {
    max-width: 100%;
    padding: 24px;
  }

  footer {
    margin: 0 20px;
    padding-left: 0;
    padding-right: 0;

    flex-direction: column;
    gap: 10px;
  }
}
