body {
  font-size: 1.6rem;
  line-height: 2.6rem;
  font-family: var(--font-body), sans-serif;
  background-color: #ffffff;
  color: #050505;
}

:focus {
  outline-color: #003a56;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-weight: 500;
  color: #003a56;
  margin: 0;
  padding: 0;
}

h1,
.h1 {
  font-size: 4.8rem;
  line-height: 5.6rem;
  letter-spacing: -0.075rem;
}
h2,
.h2 {
  font-size: 3.2rem;
  line-height: 4rem;
  letter-spacing: -0.05rem;
}
h3,
.h3 {
  font-size: 2.4rem;
  line-height: 3rem;
}
h4,
.h4 {
  font-size: 2.2rem;
  line-height: 2.6rem;
}
h5,
.h5 {
  font-size: 2rem;
  line-height: 2.6rem;
}
h6,
.h6 {
  font-size: 1.6rem;
  line-height: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.1rem;
}

p {
  font-size: 1.8rem;
  line-height: 2.6rem;
  font-weight: 300;
  margin: 0;
  padding: 0;
}

.copy-lead {
  font-size: 2rem;
  line-height: 2.8rem;
  font-weight: 300;
  color: #050505;
}
.copy-small {
  font-size: 1.4rem;
  line-height: 1.8rem;
  font-weight: 400;
}

/* buttons */
button,
a {
  cursor: pointer;
}

.btn {
  padding: 14px 24px;
  letter-spacing: -0.4px;
  display: inline-block;
  border: none;
  border-radius: 4px;
  background: #003a56;
  color: #ffffff;
  font-size: 2rem;
  line-height: 2rem;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: background 0.3s;
  overflow: visible;
}
.btn--small {
  font-size: 1.6rem;
  line-height: 1.6rem;
  padding: 13px 24px;
}
.btn:focus {
  outline: none;
  background: #003a56;
  color: #ffffff;
}
.btn--secondary {
  padding: 13px 23px;
  background: #ffffff;
  color: #003a56;
  border: 1px solid #003a56;
}
.btn--secondary:focus {
  background: #ffffff;
  color: #003a56;
  border: 1px solid #003a56;
}
.btn:hover {
  background: #c8dde8;
  color: #003a56;
  border: none;
}
.btn--secondary:hover {
  background: #c8dde8;
  color: #003a56;
  border: 1px solid #c8dde8;
}
.btn--tertiary,
.btn--tertiary:focus {
  background: #f3f9fc;
  color: #003a56;
}
.btn:active,
.btn:active.btn--secondary,
.btn:active.btn--tertiary {
  background: #ebf8ff;
  color: #003a56;
  border: none;
}
.btn:hover,
.btn:active {
  text-decoration: underline;
}
.btn:focus::after,
.btn:active::after {
  content: '';
  display: block;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 7px;
  border: 2px solid #003a56;
}
.btn--secondary:focus::after {
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  left: 50%;
}
.btn[disabled] {
  padding: 12px 22px;
  background: #f5f5f5;
  color: #575756;
  border: 2px solid #cccccc;
  cursor: default;
  box-shadow: none;
}
.btn--secondary[disabled],
.btn--tertiary[disabled] {
  border-width: 1px;
}

/* rich text */
.rich-text a:not(.btn) {
  background-color: transparent;
  background-image: linear-gradient(#003a56, #003a56), linear-gradient(#003a56, #003a56);
  background-size: 100% 1px, 100% 1px;
  background-position: 50% calc(100% - 2px), 50% calc(100% - 2px);
  background-repeat: no-repeat, no-repeat;
  border: 1px solid transparent;
  color: #003a56;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 2.6rem;
  position: relative;
  text-decoration: none;
}
.rich-text a:not(.btn):visited {
  background-size: 100% 1px, 33% 1px;
  background-position: 50% calc(100% - 2px), 50% calc(100%);
}
.rich-text a:not(.btn):focus {
  border-color: #003a56;
  border-radius: 5px;
  outline: none;
}
.rich-text a:not(.btn):hover {
  background-image: linear-gradient(#003a56, #003a56), linear-gradient(#003a56, #003a56);
  background-size: 100% 1px, 100% 1px;
  background-position: 50% calc(100% - 2px), 50% calc(100%);
}
.rich-text a:not(.btn):focus:hover {
  background-image: none;
}
.rich-text.copy-lead a {
  font-size: 2rem;
  font-weight: 400;
  line-height: 2.8rem;
}
.rich-text.copy-small p,
.rich-text.copy-small a {
  font-size: 1.4rem;
  line-height: 1.8rem;
  font-weight: 400;
}
.rich-text.copy-small a:not(.btn) {
  background: none;
  border-radius: 0;
  border-bottom: 1px solid #003a56;
  font-weight: 400;
}
.rich-text.copy-small a:not(.btn):hover {
  background: none;
  border-bottom-style: double;
  border-bottom-width: 3px;
}
.rich-text.copy-small a:not(.btn):focus {
  border-radius: 5px;
}

/* rich text snippets */
.rich-text h2 {
  margin: 0;
  padding: 14px 0 13px;
}
.rich-text h3 {
  margin: 0;
  padding: 15px 0 14px;
}
.rich-text h4 {
  margin: 0;
  padding: 13px 0;
}
.rich-text h5 {
  margin: 0;
  padding: 12px 0 4px;
}
.rich-text h6 {
  margin: 0;
  padding: 15px 0 8px;
}
.rich-text h2 + p,
.rich-text h3 + p,
.rich-text h4 + p,
.rich-text h5 + p,
.rich-text h6 + p {
  margin-top: 0;
}

.rich-text strong,
.rich-text b {
  font-weight: 500;
}
.rich-text p {
  margin: 15px 0;
}
.rich-text p:last-child {
  margin-bottom: 0;
}
.rich-text p:first-child {
  margin-top: 0;
}
.rich-text .btn {
  margin: 5px 0 8px;
  font-size: 2rem;
  line-height: 2rem;
  color: #ffffff;
  background-image: none;
  border: none;
}
.rich-text .btn--secondary {
  font-size: 2rem;
  line-height: 2rem;
  color: #003a56;
  border: 1px solid #003a56;
}
.rich-text .btn:hover {
  border: none;
  color: #003a56;
  background-image: none;
  text-decoration: underline;
}
.rich-text .btn:focus {
  background: #003a56;
  background-image: none;
  border: none;
}
.rich-text .btn:active {
  color: #003a56;
  background: #ebf8ff;
  text-decoration: underline;
}
.rich-text .btn:hover::after,
.rich-text .btn:focus::after {
  background: none;
}
.rich-text .btn:focus::after,
.rich-text .btn:active::after {
  content: '';
  display: block;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 7px;
  border: 2px solid #003a56;
  background: none;
}
.rich-text .btn--secondary:focus {
  background: none;
  border: 1px solid #003a56;
}
.rich-text .btn--secondary:hover {
  border: 1px solid #c8dde8;
}
.rich-text .btn--secondary:active {
  text-decoration: underline;
}
.rich-text .btn:focus:hover {
  background-color: transparent;
  text-decoration: underline;
}
.rich-text .btn--secondary:focus:hover {
  color: #003a56;
  border: 1px solid #f3f9fc;
  background: #f3f9fc;
}
.rich-text.copy-small .btn {
  padding: 13px 24px 11px;
  font-weight: 500;
  border-bottom: none;
}
.rich-text.copy-small .btn--secondary {
  padding: 12px 24px 10px;
  border-bottom: 1px solid #003a56;
}
.rich-text.copy-small .btn:hover {
  border-bottom: none;
  text-decoration: underline;
}

/* rich text snippets - list types */
.list {
  margin: 10px 0;
  list-style-type: disc;
  font-size: 1.8rem;
  line-height: 2.5rem;
  font-weight: 300;
}
.list--tick,
.list--clock,
.list--ordered {
  list-style-type: none;
}
.list li {
  position: relative;
  margin-bottom: 17px;
  margin-left: 29px;
}
.list li::before {
  position: absolute;
  content: '';
  display: block;
  top: 2px;
  left: -30px;
  font-size: 1.8rem;
  line-height: 2.5rem;
}
.list--text-color {
  color: #003a56;
}
.list--lead {
  font-size: 2rem;
  line-height: 2.8rem;
}
.list--tick {
  font-weight: 400;
}
.list--tick li::before {
  width: 20px;
  height: 20px;
  background: var(--icon-tick);
  background-position: center;
  background-size: cover;
}
.list--tick.list--lead li::before {
  top: 3px;
}
.list--clock {
  font-weight: 400;
}
.list--clock li::before {
  width: 19px;
  height: 19px;
  left: -28px;
  background: var(--icon-clock);
}
.list--clock.list--lead li::before {
  top: 5px;
}
.list--ordered {
  font-weight: 400;
}
.list--ordered li {
  counter-increment: count;
}
.list--ordered li::before {
  content: counter(count);
  left: -28px;
  top: 0;
  color: #c54d61;
}

@media screen and (max-width: 768px) {
  h1,
  .h1 {
    font-size: 3.2rem;
    line-height: 4rem;
  }
  h2,
  .h2 {
    font-size: 2.6rem;
    line-height: 3.2rem;
  }
  h3,
  .h3 {
    font-size: 2.2rem;
    line-height: 2.8rem;
  }
  h4,
  .h4 {
    font-size: 2rem;
    line-height: 2.6rem;
  }
  h5,
  .h5 {
    font-size: 1.6rem;
    line-height: 2rem;
  }
  h6,
  .h6 {
    font-size: 1.4rem;
    line-height: 1.6rem;
  }

  p,
  .list,
  .list li::before,
  .rich-text a:not(.btn) {
    font-size: 1.6rem;
    line-height: 2.4rem;
  }

  .copy-small,
  .rich-text.copy-small a,
  .general-link--small {
    font-size: 1.3rem;
    line-height: 1.6rem;
  }

  .rich-text h2 {
    padding: 16px 0 10px;
  }
  .rich-text h3 {
    padding: 17px 0 11px;
  }
  .rich-text h4 {
    padding: 12px 0 7px;
  }
  .rich-text h5 {
    padding: 14px 0 5px;
  }
  .rich-text h6 {
    padding: 16px 0 6px;
  }
  .rich-text p {
    margin: 11px 0;
  }
  .rich-text .copy-lead a {
    font-size: 2rem;
    line-height: 2.8rem;
  }
}
