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

:root {
  --background: #edf2f7;
  --accent: #00a7ff;
  --text-dark: #0c0c0c;
  --text-muted: #545454;
  --surface: rgba(255, 255, 255, 0.8);
  font-family: "Poppins", "Inter", "Helvetica Neue", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #fff;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.page {
  background: #fff;
  width: 100%;
  height: 100vh;
  padding: 0;
  position: relative;
}

.page::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 28px;
  background: 50% 50% no-repeat url("bg.jpg");
  background-size: cover;
  z-index: 0;
}

.content {
  position: relative;
  text-align: center;
  padding: 6rem 1rem 1rem 1rem;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.logo {
  display: inline-block;
  width: 240px;
  margin: 0 auto 1em auto;
}

.headline {
  font-size: 6em;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.25em 0;
}

.subtitle {
  font-size: 1.5em;
  margin: 0;
  color: var(--text-muted);
}

.contacts {
  display: block;
  position: relative;
  margin-top: auto;
}

.contact-strip {
  position: absolute;
  bottom: 4rem;
  right: 0;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-bottom-left-radius: 999px;
  border-top-left-radius: 999px;
  padding: 1.5em 2em;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1rem;
}

.contact-strip img {
  width: 20px;
  height: 20px;
}

.contact-divider {
  margin: 0 1.5em;
}

@media (max-width: 960px) {
  .content {
    padding: 5rem 1rem 1rem;
  }

  .contact-strip {
    bottom: 2.5rem;
    padding: 1.2em 1.8em;
  }
}

@media (max-width: 640px) {
  body {
    padding: 0.5rem;
  }

  .page::after {
    inset: 0.8rem;
    border-radius: 26px;
  }

  .content {
    padding: 10.5rem 0.75rem 1rem;
  }

  .headline {
    font-size: clamp(2.5rem, 12vw, 3rem);
  }

  .subtitle {
    font-size: 1rem;
    padding: 0 1em;
  }

  .contacts {
    padding-left: 1em;
  }

  .contact-strip {
    position: static;
    justify-content: end;
    margin: 1rem auto 0;
    flex-wrap: wrap;
    gap: 0;
    padding: 0.5rem 0.75em;
    margin-bottom: 3em;
  }

  .contact-link {
    gap: 0.2rem;
  }

}
