:root {
  --bg: #fcfdfd;
  --text: #262a2b;
  --secondary: #57585c;
  --tertiary: #707275;
  --rule: #d5d2cb;
  --neutral-8: #bebfc1;
  --button: #1f2122;
  --button-text: #fcfdfd;
  --display: "Cal Sans", sans-serif;
  --sans: Inter, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 16px 24px 32px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
}

.glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.glow-lavender {
  left: -375px;
  top: -120px;
}

.glow-citrus {
  left: 5px;
  top: 345px;
}

.masthead,
main,
footer {
  position: relative;
  z-index: 1;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
}

.logo {
  width: 33px;
  height: 30px;
  display: flex;
  align-items: center;
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--secondary);
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 72px;
}

.eyebrow {
  margin: 0;
  color: var(--tertiary);
  font-family: 'Inter';
  font-weight: 500;
  font-size: 12px;
  line-height: 15px;
  text-transform: uppercase;
}

h1 {
  margin: 28px 0 0;
  max-width: 12ch;
  font-family: var(--display);
  font-size: 70px;
  font-weight: 400;
  line-height: 70px;
}

.intro {
  margin: 28px 0 0;
  max-width: 36rem;
  color: var(--tertiary);
  font-size: 18px;
  line-height: 26px;
}

.invitation {
  margin: 32px 0 0;
}

.download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 60px;
  padding: 14px 20px;
  border-radius: 8px;
  background: var(--button);
  color: var(--button-text);
  font-family: var(--display);
  font-size: 18px;
  line-height: 23px;
  text-decoration: none;
}

footer {
  margin-top: auto;
  padding-top: 48px;
}

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}

.closing p {
  margin: 0;
  color: var(--secondary);
}

.closing p:first-child {
  font-size: 14px;
  line-height: 20px;
}

.contact {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--neutral-8);
  border-radius: 50%;
  color: var(--secondary);
}

.contact-link:hover {
  border-color: var(--text);
  color: var(--text);
}

.contact-link svg {
  width: 16px;
  height: 16px;
  display: block;
}

.contact-link .icon-fill {
  fill: currentColor;
}

.contact-link .icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 768px) {
  body {
    padding: 16px 40px 40px;
  }

  .glow-lavender {
    left: -350px;
    top: -150px;
  }

  .glow-citrus {
    left: auto;
    right: -245px;
    top: auto;
    bottom: -265px;
  }

  .status {
    gap: 10px;
  }

  main {
    padding-top: 100px;
  }

  h1 {
    max-width: none;
    font-size: 120px;
    line-height: 120px;
  }

  .invitation {
    margin-top: 40px;
  }

  .download {
    width: 246px;
    height: 64px;
  }
}

@media (min-width: 1200px) {
  body {
    min-height: max(862px, 100vh);
    padding: 16px 64px 64px;
  }

  .glow-lavender {
    left: -232px;
    top: -204px;
  }

  .glow-citrus {
    right: -91px;
    bottom: -122px;
  }

  main {
    padding-top: 106px;
  }

  footer {
    padding-top: 48px;
    max-width: 1200px;
    margin: auto auto 0 auto;
    width: 100%;
  }

  h1 {
    margin-top: 30px;
    font-size: 140px;
    line-height: 140px;
  }

  .intro {
    margin-top: 27px;
  }

  .invitation {
    display: flex;
    justify-content: flex-end;
    margin-top: 27px;
  }
}
