:root {
  --blue: #7891ad;
  --green: #7c9288;
  --gray-200: #e6e8eb;
  --gray-400: #858585;
  --gray-500: #a1a1a1;
  --dark: #212529;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--dark);
  background: var(--white);
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

.container {
  width: min(960px, 92%);
  margin: 0 auto;
}

.site-header {
  background: var(--white);
  box-shadow: 0 0 2px 2px rgba(161, 161, 161, 0.3);
}

.brand {
  display: inline-block;
  padding: 1.2rem 0;
}

.brand img {
  height: 48px;
  width: auto;
  display: block;
}

.notice {
  background: var(--gray-200);
  border-top: 5px solid var(--blue);
  border-bottom: 1px solid #d8dce0;
  padding: 2.5rem 0;
}

.notice-label {
  margin: 0;
  color: var(--gray-400);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.notice h1 {
  margin: 0.6rem 0 0.8rem;
  font-family: Plantin, Georgia, serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
  line-height: 1.2;
}

.notice p {
  max-width: 70ch;
  margin: 0;
}

.content {
  padding: 2.5rem 0 3rem;
}

.content h2,
.site-footer h2,
.site-footer h3 {
  font-family: Plantin, Georgia, serif;
  font-weight: 300;
}

.content h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.button {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.75rem 1.2rem;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.button:hover,
.button:focus-visible {
  opacity: 0.92;
}

.button:focus-visible {
  outline: 3px solid var(--dark);
  outline-offset: 2px;
}

.site-footer {
  background-color: var(--blue);
  background-image: url("./images/uggla-footer.svg");
  background-position: right;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 2rem 0 1.25rem;
}

.site-footer h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.7rem;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.site-footer p {
  margin: 0.3rem 0;
}

.site-footer a {
  color: var(--white);
}

.address-line {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.address-line img {
  width: 12px;
  margin-top: 0.3rem;
}

.copyright {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: #e8edf3;
}

@media (max-width: 640px) {
  .brand img {
    height: 38px;
  }

  .site-footer {
    background-size: 720px;
    background-position: -240px 100%;
  }
}
