:root {
  color-scheme: light;
  /* #3FB580 is 2.6:1 on white: decorative use only. */
  --brand: #3fb580;
  --brand-tint: #e8f6ef;
  --link: #256a4b;
  --text: #1f2a26;
  --text-muted: #4a5550;
  --bg: #ffffff;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.page {
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1rem 2.5rem;
}

.logo {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 1.5rem;
}

h1 {
  margin: 0;
  font-size: 1.875rem;
  line-height: 1.2;
  text-align: center;
}

h2 {
  margin: 0.5rem 0 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 3px solid var(--brand);
  color: var(--link);
  font-size: 1.3125rem;
  line-height: 1.3;
  text-align: center;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  overflow-wrap: break-word;
}

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

a:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
  border-radius: 2px;
}

.contacts a,
.note a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.contacts {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.contacts li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.375rem 0;
  min-height: 44px;
}

.icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--brand);
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--link);
}

.icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.note {
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--brand);
  background: var(--brand-tint);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.footer {
  padding: 1.25rem 1rem 1.5rem;
  border-top: 1px solid var(--brand);
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

.footer p {
  max-width: 40rem;
  margin: 0 auto 0.25rem;
  overflow-wrap: break-word;
}

@media (min-width: 48rem) {
  .page {
    padding-top: 4rem;
  }

  h1 {
    font-size: 2.25rem;
  }
}
