html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
}

a:focus-visible {
  outline: 3px solid #7b66ff;
  outline-offset: 4px;
}

.brand-logo {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -4%;
  
}

.brand-logo--header {
  font-size: 46px;
  line-height: 28px;
}

.site-header {
  position: fixed;
  top: 24px;
  right: 28px;
  left: 28px;
  z-index: 50;
}

.hero-title {
  font-family: "Gloock", serif;
  font-size: 52px;
  font-weight: 400;
  font-style: normal;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
}

.hero-subtitle {
  font-family: "Inter Tight", sans-serif;
  font-size: 24px;
  font-weight: 600;
  font-style: normal;
  line-height: 28px;
  letter-spacing: 0;
  text-align: center;
}

.promise-copy {
  font-family: "Gloock", serif;
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
}

.account-button {
  display: inline-flex;
  height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 100px;
  padding: 14px 22px;
  font-family: "Inter Tight", sans-serif;
  font-size: 18px;
  font-weight: 500;
  font-style: normal;
  line-height: 22px;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 1;
}

.account-button--login {
  width: 88px;
}

.account-button--help {
  display: none;
  width: 149px;
}

.contact-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 50;
  box-sizing: border-box;
  width: min(515px, calc(100% - 48px));
  height: 85px;
  gap: 10px;
  border: 3px solid #000;
  border-radius: 100px;
  padding: 23px 102px 22px;
  font-family: "Inter Tight", sans-serif;
  font-size: 28px;
  font-weight: 600;
  font-style: normal;
  line-height: 32px;
  letter-spacing: 0;
  box-shadow: 0 8px 28px rgb(0 0 0 / 0.18);
}

.footer-nav {
  font-family: "Gloock", serif;
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
}

.footer-wordmark {
  font-family: "Inter Tight", sans-serif;
  font-size: 52px;
  font-weight: 600;
  font-style: normal;
  line-height: 36px;
  letter-spacing: -0.04em;
  text-align: left;
}

.footer-meta {
  font-family: "Inter Tight", sans-serif;
  font-size: 8px;
  font-weight: 600;
  font-style: normal;
  line-height: 12px;
  letter-spacing: 0;
  text-align: center;
}

.contact-clearance {
  height: 112px;
}

@media (max-width: 767px) {
  .contact-float {
    height: 64px;
    padding: 10px 22px;
    font-size: 18px;
    line-height: 22px;
    white-space: nowrap;
  }
}

@media (min-width: 768px) {
  .site-header {
    top: 36px;
    right: 7vw;
    left: 7vw;
  }

  .promise-copy {
    font-size: 82px;
  }

  .footer-nav {
    font-size: 62px;
  }

  .footer-wordmark {
    font-size: 176px;
    line-height: 108px;
  }

  .footer-meta {
    font-size: 24px;
    line-height: 28px;
  }

  .contact-clearance {
    height: 157px;
  }

  .account-button--help {
    display: inline-flex;
  }
}

.therapy-card {
  display: block;
  overflow: hidden;
  border-radius: 32px;
  background: #d8d0c5;
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.06);
}

.therapy-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 0.7;
  object-fit: cover;
  transition: transform 450ms ease;
}

.therapy-card:hover img {
  transform: scale(1.025);
}

.doctor-card {
  display: grid;
  grid-template-columns: minmax(0, 484px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 5rem);
}

.doctor-card img {
  width: min(100%, 484px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 70px;
  opacity: 1;
}

.doctor-card h3 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.doctor-card .credentials {
  margin-top: 0.6rem;
  font-size: clamp(0.9rem, 1.7vw, 1.2rem);
  font-weight: 700;
}

.doctor-card .role {
  margin-top: 0.75rem;
  font-size: clamp(0.78rem, 1.4vw, 1rem);
  font-weight: 600;
  line-height: 1.35;
}

footer a {
  transition: opacity 180ms ease;
}

footer a:hover {
  opacity: 0.72;
}

@media (max-width: 639px) {
  .therapy-card {
    border-radius: 19px;
  }

  .therapy-card picture {
    display: block;
  }

  .therapy-card img {
    display: block;
    aspect-ratio: 3.63 / 1;
  }

  .doctor-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .doctor-card img {
    max-width: none;
  }

  .doctor-card h3 {
    font-size: 1.5rem;
  }

  .doctor-card .credentials {
    margin-top: 0.45rem;
    font-size: 1rem;
  }

  .doctor-card .role {
    margin-top: 0.65rem;
    font-size: 0.72rem;
  }
}

@media (min-width: 768px) {
  .doctor-card h3 {
    font-family: "Inter Tight", sans-serif;
    font-size: 42px;
    font-weight: 900;
    font-style: normal;
    line-height: 38px;
    letter-spacing: 0;
  }

  .doctor-card .credentials {
    font-family: "Inter Tight", sans-serif;
    font-size: 32px;
    font-weight: 600;
    font-style: normal;
    line-height: 38px;
    letter-spacing: 0;
  }

  .doctor-card .role {
    font-family: "Inter Tight", sans-serif;
    font-size: 24px;
    font-weight: 600;
    font-style: normal;
    line-height: 28px;
    letter-spacing: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .therapy-card img {
    transition: none;
  }
}
