﻿* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #352448;
  background: #faf7ff;
  font:
    600 17px/1.8 Nunito,
    sans-serif;
}
a {
  color: #622db1;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
header,
footer {
  max-width: 1100px;
  margin: auto;
  padding: 26px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.wordmark {
  font:
    800 19px Sora,
    sans-serif;
  color: #382064;
  text-decoration: none;
}
main {
  width: min(850px, calc(100% - 32px));
  margin: 16px auto 40px;
  background: #fff;
  border: 1px solid #e3d8f0;
  border-radius: 24px;
  padding: 44px;
}
h1,
h2 {
  font-family: Sora, sans-serif;
  color: #382064;
  line-height: 1.4;
}
h1 {
  font-size: 34px;
}
h2 {
  font-size: 22px;
  margin-top: 30px;
}
.eyebrow {
  color: #622db1;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.credits {
  list-style: none;
  padding: 0;
}
.credits li {
  border-bottom: 1px solid #e3d8f0;
  padding-bottom: 18px;
}
:focus-visible {
  outline: 3px solid #622db1;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -70px;
  background: #fff;
  padding: 10px;
}
.skip:focus {
  top: 8px;
}
@media (max-width: 580px) {
  main {
    padding: 25px;
  }
  h1 {
    font-size: 29px;
  }
  h2 {
    font-size: 21px;
  }
  body {
    font-size: 16px;
  }
  header,
  footer {
    padding: 22px 18px;
  }
}
