:root {
  color-scheme: light;
  --brand-blue: #0440a2;
  --body-text: #7a7a7a;
  --page-background: #ffffff;
  --content-width: 800px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--page-background);
}

body {
  margin: 0;
  background: var(--page-background);
  color: var(--body-text);
  font-family: Inter, Jost, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  border-radius: 2px;
  outline: 3px solid rgb(4 64 162 / 25%);
  outline-offset: 3px;
}

.notice {
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
  padding-block: 40px 24px;
}

.clinic-logo {
  display: block;
  width: min(500px, 100%);
  height: auto;
  margin-inline: auto;
}

.notice-header {
  text-align: center;
}

h1 {
  margin: 80px 0 0;
  color: var(--brand-blue);
  font-size: 37.8px;
  font-weight: 700;
  line-height: 1;
  text-wrap: balance;
}

.doctor-update {
  margin: 80px 0 14.4px;
  font-size: 27px;
  line-height: 1.5;
  text-wrap: balance;
}

.closure-details {
  margin-top: 120px;
}

.payment-details {
  margin-top: 104px;
}

p,
address {
  margin: 0 0 0.8em;
}

address {
  font-style: normal;
}

@media (max-width: 700px) {
  body {
    font-size: 17px;
  }

  .notice {
    width: min(100% - 36px, var(--content-width));
    padding-block: 28px 40px;
  }

  h1 {
    margin-top: 56px;
    font-size: clamp(2rem, 10vw, 2.35rem);
    line-height: 1.08;
  }

  .doctor-update {
    margin-top: 56px;
    font-size: 1.25rem;
    line-height: 1.45;
  }

  .closure-details {
    margin-top: 72px;
  }

  .payment-details {
    margin-top: 64px;
  }
}

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