* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  scrollbar-gutter: stable;
  --ink: #55575a;
  --blue: #002C6E;
  --line: #dedfe1;
  --paper: #fff;
  font-family: 'Quicksand', Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  /* font-size: 14px; */
  font-weight: 400;
  line-height: 1.72;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--blue);
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 10;
  padding: 8px 12px;
  background: #fff;
  color: var(--blue);
}
.skip-link:focus {
  top: 12px;
}

.site-header {
  width: min(1080px, calc(100% - 48px));
  min-height: 150px;
  margin: 25px auto;
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: block;
  width: 150px;
  height: 150px;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--blue);
  font-weight: 500;
  font-size: 18px;
}

.main-nav a {
  white-space: nowrap;
}

.main-nav a[aria-current="page"] {
  color: var(--blue);
}

.menu-toggle {
  display: none;
}

.page-shell {
  width: min(1100px, calc(100% - 48px));
  min-height: 360px;
  margin: 106px auto 0;
  /* padding-left: 60px; */
}

.flash-list {
  width: min(1000px, calc(100% - 48px));
  margin: 20px auto -78px;
}

.flash {
  margin: 0;
  padding: 10px 14px;
  border-left: 3px solid var(--blue);
  background: #f5f7f8;
}

.flash--error {
  border-color: #a33333;
}

.flash--success {
  border-color: #3d7655;
}

h1,
h2,
h3 {
  color: var(--blue);
  font-weight: 600;
}

h1 {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.4;
}

h2 {
  font-size: 16px;
  line-height: 1.5;
}

p {
  margin: 0 0 16px;
}

ul {
  padding-left: 16px;
}

@media (max-width: 700px) {
  .site-header {
    width: calc(100% - 36px);
    min-height: 92px;
    margin-top: 18px;
    position: relative;
  }

  .brand {
    width: 92px;
    height: 92px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--line);
    background: #fff;
    display: grid;
    align-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .menu-toggle span {
    height: 1px;
    width: 20px;
    background: var(--blue);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 5;
    min-width: 190px;
    padding: 12px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: flex;
  }

  .page-shell {
    width: calc(100% - 36px);
    margin-top: 62px;
  }

  .flash-list {
    width: calc(100% - 36px);
    margin-bottom: -36px;
  }
}
