* {
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #18212f;
}

a {
  color: inherit;
}

.contact-page {
  width: min(680px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.contact-header {
  padding: 28px 0;
  text-align: center;
}

.contact-header a {
  display: inline-block;
}

.contact-logo {
  display: block;
  width: 250px;
  max-width: 70vw;
  height: auto;
}

.contact-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 80px;
}

.contact-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.contact-card h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 54px);
  line-height: 1;
}

.contact-intro {
  max-width: 520px;
  margin: 22px 0 28px;
  font-size: 17px;
  line-height: 1.65;
}

.contact-email {
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 22px;
  border: 1px solid #d9dee7;
  border-radius: 10px;
}

.contact-email:hover {
  text-decoration: underline;
}

.back-link {
  margin-top: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.contact-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 30px;
  border-top: 1px solid #e7eaf0;
  font-size: 13px;
}

.contact-footer-links {
  display: flex;
  gap: 18px;
}

.contact-footer a {
  text-decoration: none;
}

.contact-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .contact-page {
    width: min(100% - 28px, 680px);
  }

  .contact-header {
    padding: 22px 0;
  }

  .contact-logo {
    width: 220px;
  }

  .contact-card {
    padding: 40px 8px 60px;
  }

  .contact-intro {
    font-size: 16px;
  }

  .contact-footer {
    flex-direction: column;
    align-items: center;
  }
}
