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

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

body {
  margin: 0;
  background: #fff;
  color: #1c2430;
  font-family: Charter, "Bitstream Charter", Georgia, Cambria, serif;
  font-size: 1.1875rem;
  line-height: 1.7;
}

.sisus {
  max-width: 42rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.ylapalkki {
  border-bottom: 1px solid #d5e0ef;
}

.ylapalkki .sisus {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.logo {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0b4ea2;
  text-decoration: none;
}

main {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

h1 {
  margin: 0 0 1.75rem;
  font-size: clamp(2.25rem, 6vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  color: #0d2244;
  text-align: center;
}

article img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 2.25rem;
}

p {
  margin: 0 0 1.35em;
}

a {
  color: #0b4ea2;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

a:focus-visible {
  outline: 2px solid #0b4ea2;
  outline-offset: 3px;
}

.alapalkki {
  border-top: 1px solid #d5e0ef;
}

.alapalkki .sisus {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.875rem;
  color: #56657a;
}
