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

html {
  min-width: 320px;
  background: #1a1a1a;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.c-menu-toggle {
  display: none;
}

.bot-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.c-form-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.w-form-done.is-visible,
.w-form-fail.is-visible {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 20px auto 0;
  padding: 16px;
  font-family: Publicsans, sans-serif;
  text-align: left;
}

.w-form-done.is-visible {
  color: #17351f;
  background: #edf7ef;
  border: 1px solid #b8d8bf;
}

.w-form-fail.is-visible {
  color: #5c1d1d;
  background: #fff0f0;
  border: 1px solid #e0b8b8;
}

.c-form-field:focus-visible,
.c-form-textarea:focus-visible,
.c-form-submit:focus-visible,
.c-menu-toggle:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid #887bff;
  outline-offset: 3px;
}

@media screen and (max-width: 900px) {
  .c-nav {
    min-height: 82px;
    padding: 16px 20px;
    flex-wrap: wrap;
  }

  .c-logo {
    min-width: 0;
    max-width: calc(100% - 92px);
    font-size: clamp(21px, 7vw, 28px);
    line-height: 1;
  }

  .c-logo-mark {
    width: 46px;
    min-width: 46px;
    margin-right: 10px;
  }

  .c-menu-toggle {
    color: #f8f7f4;
    background: transparent;
    border: 1px solid #f8f7f466;
    margin-left: auto;
    padding: 9px 12px;
    font: 500 14px/1 Publicsans, sans-serif;
    display: block;
    order: 1;
  }

  .c-nav-links {
    width: 100%;
    padding-top: 14px;
    display: none;
    order: 2;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .c-nav.is-open .c-nav-links {
    display: flex;
  }

  .c-nav-link,
  .c-nav-cta {
    width: 100%;
    padding: 12px 0;
    display: block;
    text-align: left;
  }

  .c-nav-cta {
    color: #1a1a1a;
    margin-top: 4px;
    padding: 12px 14px;
  }

  .c-section,
  .c-section-dark {
    padding-left: 20px;
    padding-right: 20px;
  }

  .c-hero-heading {
    max-width: 100%;
    font-size: clamp(42px, 12.2vw, 56px);
    overflow-wrap: normal;
  }

  .pi-h1 {
    font-size: clamp(38px, 10.5vw, 56px);
    overflow-wrap: anywhere;
  }

  .c-grid-3,
  .c-grid-4 {
    grid-template-columns: 1fr;
  }

  .c-card-text {
    overflow-wrap: anywhere;
  }
}

@media screen and (max-width: 420px) {
  .c-nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .c-logo {
    font-size: 22px;
  }

  .c-logo-mark {
    width: 42px;
    min-width: 42px;
  }

  .c-menu-toggle {
    padding: 9px 10px;
  }

  .c-section,
  .c-section-dark,
  .c-inquiry-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .c-hero-heading {
    font-size: clamp(40px, 12.5vw, 50px);
  }

  .c-cta-light,
  .c-cta {
    max-width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
