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

body {
  margin: 0;
  font-family: Segoe UI, Frutiger, Dejavu Sans, Helvetica Neue, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #000;
  background: #fff;
  overflow-wrap: break-word;
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #f17906;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

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

a:focus-visible {
  border-radius: 2px;
  outline: 3px solid #f17906;
  outline-offset: 3px;
}

header {
  padding: 1rem;
  text-align: center;
  background: #ffe9da;
}

header a {
  display: inline-block;
}

header img {
  display: block;
  width: 150px;
  height: auto;
}

@media (max-width: 480px) {
  header img {
    width: 96px;
  }
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

h1 {
  font-size: 2em;
  line-height: 1.2;
  margin: 0 0 1em;
  padding-bottom: 0.3em;
  border-bottom: 3px solid #f17906;
  hyphens: auto;
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.4em;
  }
}

h2 {
  font-size: 1.3em;
  line-height: 1.3;
  margin: 2em 0 0.5em;
}

p,
ul,
dl {
  margin: 0 0 1em;
}

ul {
  padding-left: 1.5em;
}

li + li {
  margin-top: 0.3em;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 0 0.5em;
}

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

.links li + li {
  margin-top: 0;
}

footer {
  padding: 1.5rem;
  text-align: center;
  background: #ffe9da;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.5rem;
  margin-bottom: 0.5rem;
}
