@font-face {
  font-family: "Open Sans";
  src: url("../fonts/6dacce4cff13d02117d6.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/feb0d8644aca3df9fabf.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/0887b7d317f32a6a0d99.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --red: #981c20;
  --red-hover: #b90c12;
  --grey: #6f6f6f;
  --light-grey: #f4f4f4;
  --white: #fff;
  --content-width: 1170px;
  --gutter: 20px;
  --header-height: 62px;
  --title-size: 1.5rem;
  --heading-size: 1.125rem;
  --section-space: 1.5rem;
  --grid-gap: 20px;
}

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

body {
  margin: 0;
  color: var(--grey);
  background: var(--white);
  font: 300 1rem/1.45 "Open Sans", Arial, sans-serif;
}

::selection {
  color: var(--white);
  background: var(--red);
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 1rem;
  line-height: 1.25;
}

h1,
h2 {
  color: var(--red);
  font-size: var(--title-size);
  font-weight: 600;
}

h3,
h4 {
  font-size: var(--heading-size);
  font-weight: 400;
}

h4,
h5 {
  color: var(--red);
}

h5 {
  font-size: 1.25rem;
  font-weight: 600;
}

p,
ol,
ul {
  margin: 0 0 1rem;
}

ol,
ul {
  padding-inline-start: 2rem;
}

li::marker {
  color: var(--red);
  font-weight: 400;
}

ol ol {
  list-style-type: lower-alpha;
}

li > :is(ol, ul) {
  margin-bottom: 0;
}

a {
  color: var(--red);
  text-decoration: none;
  font-weight: 400;
}

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

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

b,
strong {
  font-weight: 600;
}

picture,
img {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(var(--content-width), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.site-header {
  padding-top: var(--header-height);
}

.header-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  background: var(--white);
  box-shadow: 0 2px 2px #70707040;
}

.header-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  padding-inline: var(--gutter);
  max-width: var(--content-width);
  min-height: var(--header-height);
  margin-inline: auto;
  background: var(--white);
}

.brand {
  grid-column: 2;
  justify-self: center;
  width: 162px;
}

.menu-button {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: var(--white);
  background: var(--red);
  cursor: pointer;
}

.menu-button svg {
  width: 18px;
  height: 20px;
  fill: currentColor;
}

.header-contact {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.8rem;
}

.header-contact a {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
  color: var(--grey);
}

.header-contact a:hover {
  color: var(--red);
}

.header-contact svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.header-contact .header-phone,
.header-phone span {
  display: none;
}

.page-title {
  padding: 35px var(--gutter) 30px;
  background: var(--grey);
  text-align: center;
}

.page-title h1 {
  margin: 0;
  color: var(--white);
  font-weight: 400;
}

.site-navigation {
  position: fixed;
  inset: var(--header-height) 0 auto;
  z-index: 9;
  display: none;
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  color: var(--grey);
  background: var(--light-grey);
  box-shadow: 0 2px 2px #70707040;
}

.site-navigation.is-open {
  display: block;
}

.site-navigation ul,
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-navigation a {
  display: block;
  padding: 5px var(--gutter);
  border-top: 1px solid var(--white);
  color: inherit;
}

.site-navigation a:hover,
.site-navigation [aria-current] {
  color: var(--red);
}

.hero-image img {
  width: 100%;
}

.intro-banner {
  padding-block: calc(30px + 0.5rem);
  color: var(--white);
  background: var(--red);
  text-align: center;
}

.intro-banner p,
.contact-value {
  margin: 0;
  font-size: var(--heading-size);
  font-weight: 400;
}

.company-section {
  position: relative;
  padding-block: calc(30px + 0.5rem) 30px;
  background: var(--light-grey);
}

.section-heading {
  text-align: center;
  margin-bottom: var(--section-space);
}

.section-subtitle {
  margin: 0;
  font-size: var(--heading-size);
  font-weight: 400;
  line-height: 1.25;
}

.grid {
  display: grid;
  gap: var(--grid-gap);
}

.feature-grid,
.tool-gallery {
  text-align: center;
}

.feature-card img,
.tool-gallery img {
  margin-inline: auto;
}

.feature-card picture {
  margin-bottom: 1rem;
}

.feature-card p:last-child {
  margin-bottom: 0;
}

.services-section,
.formats-section {
  position: relative;
  padding-block: var(--section-space);
}

.section-bar {
  padding: var(--gutter);
  color: var(--white);
  background: var(--grey);
  text-align: center;
}

.section-bar h3 {
  margin: 0;
}

.service-grid {
  margin-block: var(--section-space) calc(var(--section-space) + 1rem);
}

.tool-grid {
  margin-top: var(--section-space);
}

.card {
  padding: var(--gutter);
  border-radius: 30px 0;
  background: var(--light-grey);
}

.card-centered,
.card-format {
  text-align: center;
}

.card > :last-child {
  margin-bottom: 0;
}

.card-accent {
  color: var(--white);
  background: var(--red);
}

.card-accent :is(h3, h4, h5, a),
.card-accent li::marker {
  color: inherit;
}

.card-format p:first-child {
  margin-bottom: 0;
  font-size: var(--heading-size);
  font-weight: 400;
}

.media-banner {
  position: relative;
  margin: 0;
}

.media-banner figcaption {
  padding: 20px;
  text-align: center;
  color: var(--white);
  background: var(--grey);
  font-size: var(--title-size);
  font-weight: 400;
  line-height: 1.25;
}

.format-heading {
  text-align: center;
}

.format-heading h3 {
  margin-bottom: 1rem;
}

.format-grid {
  margin-bottom: var(--section-space);
}

.tool-gallery {
  margin-bottom: 0.75rem;
}

.contact-section {
  position: relative;
  padding-block: calc(30px + 0.5rem);
  color: var(--white);
  background: var(--grey);
  text-align: center;
}

.contact-section h2 {
  margin-bottom: var(--section-space);
  color: inherit;
  font-weight: 400;
}

.contact-section a {
  color: inherit;
}

.contact-item img {
  width: 70px;
  padding: 20px;
  border: 2px solid currentColor;
  margin: 0 auto 1rem;
}

.contact-item p:last-child {
  margin-bottom: 0;
}

.contact-item .contact-value + p {
  margin-top: 0.2rem;
}

main section[id],
.legacy-anchor {
  scroll-margin-top: 75px;
}

.legacy-anchor {
  position: absolute;
  inset-block-start: 0;
}

.legal-content {
  padding-block: var(--section-space) calc(var(--section-space) + 1rem);
  overflow-wrap: break-word;
}

.legal-content h2 {
  margin-bottom: 2rem;
  text-align: center;
}

.legal-content h3:not(:first-child) {
  margin-top: 1.5rem;
}

.legal-content section + section,
.legal-download {
  margin-top: var(--section-space);
}

.legal-content :last-child {
  margin-bottom: 0;
}

.site-footer {
  padding-block: 20px;
  color: var(--white);
  background: var(--red);
  font-size: 0.875rem;
  text-align: center;
}

.footer-content {
  display: grid;
  gap: 20px;
  align-items: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: block;
  padding: 10px 0;
  color: inherit;
  line-height: 1;
}

.site-footer li {
  border-block-end: 1px solid #ffffff40;
}

.site-footer li:first-child {
  border-block-start: 1px solid #ffffff40;
}

@media (min-width: 576px) {
  :root {
    --title-size: 1.625rem;
    --heading-size: 1.25rem;
  }

  .header-contact .header-phone {
    display: inline-flex;
  }

  .media-banner figcaption {
    padding: 30px;
  }
}

@media (min-width: 768px) {
  :root {
    --title-size: 1.75rem;
    --heading-size: 1.375rem;
    --section-space: 3rem;
  }

  .intro-banner,
  .company-section,
  .contact-section {
    padding-top: calc(30px + 1rem);
  }

  .intro-banner,
  .contact-section {
    padding-bottom: calc(30px + 1rem);
  }

  .feature-grid,
  .tool-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :is(.feature-grid, .tool-gallery) > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - var(--grid-gap)) / 2);
    justify-self: center;
  }

  .section-bar,
  .card {
    padding: 30px;
  }

  .media-banner figcaption {
    position: absolute;
    inset: auto 0 60px;
    padding: 40px;
    background: #0008;
    font-weight: 600;
  }

  .footer-content {
    grid-template-columns: 7fr 5fr;
    text-align: left;
  }

  .site-footer ul {
    display: flex;
    justify-content: flex-end;
  }

  .site-footer li,
  .site-footer li:first-child {
    border: 0;
  }

  .site-footer li + li {
    padding-left: 0.5em;
    margin-left: 0.55em;
    border-inline-start: 1px solid var(--white);
  }

  .site-footer a {
    padding: 0;
  }
}

@media (min-width: 992px) {
  :root {
    --title-size: 2.25rem;
    --heading-size: 1.5rem;
    --grid-gap: 30px;
  }

  .site-header {
    padding-top: 0;
  }

  .header-bar {
    position: static;
    height: 125px;
    box-shadow: none;
  }

  .header-content {
    height: 100%;
  }

  .brand {
    width: 296px;
  }

  .menu-button {
    display: none;
  }

  .header-contact {
    gap: 1rem;
    font-size: 1.125rem;
  }

  .header-contact svg {
    width: 22px;
    height: 22px;
  }

  .header-phone span {
    display: inline;
  }

  .navigation-slot {
    min-height: 84px;
  }

  .site-navigation,
  .site-navigation.is-open {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: calc(var(--content-width) + 2 * var(--gutter));
    margin-inline: auto;
    padding: 32px var(--gutter) 26px;
    overflow: visible;
    background: var(--white);
    box-shadow: none;
  }

  .site-navigation ul {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.5em;
    row-gap: 0.25rem;
  }

  .site-navigation a {
    padding: 0;
    border: 0;
  }

  .is-scrolled .header-content,
  .is-scrolled .site-navigation {
    position: fixed;
    inset-inline: 0;
    max-width: none;
  }

  .is-scrolled .header-content {
    inset-block-start: 0;
    z-index: 10;
    height: var(--header-height);
  }

  .is-scrolled .brand {
    width: 162px;
  }

  .is-scrolled .header-contact {
    visibility: hidden;
  }

  .is-scrolled .site-navigation {
    inset-block-start: var(--header-height);
    padding: 0 max(var(--gutter), calc((100% - var(--content-width)) / 2)) 10px;
    box-shadow: 0 2px 2px #70704040;
  }

  .grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-three,
  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  :is(.feature-grid, .tool-gallery) > :last-child:nth-child(odd) {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
  }

  main section[id],
  .legacy-anchor {
    scroll-margin-top: 110px;
  }
}

@media (min-width: 1200px) {
  .header-contact {
    font-size: 1.25rem;
  }

  .site-navigation {
    font-size: 1.125rem;
  }
}

@media (min-width: 1400px) {
  .header-contact {
    font-size: 1.375rem;
  }
}
