@font-face {
  font-family: Inter;
  src: url("inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 750;
  font-display: swap;
}

:root {
  color: #141e30;
  background: #f8f9f6;
  font-family: Inter, system-ui, sans-serif;
  font-synthesis: none;
  --accent: #2c51b9;
  --muted: #495470;
  --rule: #d9dfdf;
}

* {
  box-sizing: border-box;
}

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
}

.frame {
  width: min(76rem, calc(100% - clamp(2.5rem, 10vw, 9rem)));
  margin-inline: auto;
}

.site-header {
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: inherit;
  font-size: 1.32rem;
  font-weight: 750;
  letter-spacing: -.045em;
  text-decoration: none;
}

.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 4px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3.5rem, 10vh, 7rem);
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.35rem;
  padding: .44rem .73rem;
  border: 1px solid #d2dcf4;
  border-radius: 999px;
  background: #ecf1ff;
  color: #28478e;
  font-size: .8rem;
  font-weight: 650;
  line-height: 1.4;
}

.availability::before {
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6.35vw, 6.4rem);
  font-weight: 750;
  letter-spacing: -.075em;
  line-height: 1.02;
}

h1 span {
  display: block;
  color: var(--accent);
}

.intro {
  max-width: 31ch;
  margin: 1.55rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.65;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1.09;
  isolation: isolate;
  border: 1px solid #d7dff2;
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 77% 16%, #fff9, transparent 45%),
    linear-gradient(145deg, #edf3ff, #d8e4ff);
}

.hero-art::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(to right, #3b59951a 1px, transparent 1px),
    linear-gradient(to bottom, #3b59951a 1px, transparent 1px);
  background-size: 11% 11%;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, #000 16%, transparent 77%);
  content: "";
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 3%;
  width: 70%;
  height: 62%;
  border-bottom: 1px solid #6b87c955;
}

.steps span {
  height: var(--rise);
  border: 1px solid #466ac840;
  border-radius: .48rem .48rem 0 0;
  background: linear-gradient(to bottom, var(--blue), #f5f8ff99);
}

.steps span:nth-child(1) { --rise: 24%; --blue: #aabff0; }
.steps span:nth-child(2) { --rise: 39%; --blue: #8ea9eb; }
.steps span:nth-child(3) { --rise: 56%; --blue: #7395e8; }
.steps span:nth-child(4) { --rise: 76%; --blue: #5178d6; }
.steps span:nth-child(5) { --rise: 100%; --blue: #2c51b9; }

.site-footer {
  padding-block: 1.35rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
}

.site-footer small {
  font-size: .85rem;
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 3rem;
  }

  h1 {
    font-size: clamp(2.4rem, 10.8vw, 4.8rem);
  }

  .hero-art {
    aspect-ratio: 1.55;
  }
}
