:root {
  --af-font-sans: "Google Sans", "Product Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --af-background: #f8f9fa;
  --af-surface: #ffffff;
  --af-surface-muted: #edeeef;
  --af-ocean: #001b33;
  --af-ink: #191c1d;
  --af-muted: #414751;
  --af-primary: #005a9c;
  --af-primary-bright: #1e73be;
  --af-seagrass: #2e8b57;
  --af-seagrass-bright: #4fad79;
  --af-outline: #717782;
  --af-radius-sm: 0.5rem;
  --af-radius-md: 0.75rem;
  --af-radius-lg: 1rem;
  --af-shadow-soft: 0 20px 45px rgba(30, 115, 190, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--af-background);
  color: var(--af-ink);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: var(--af-font-sans);
  line-height: 1.6;
  text-rendering: geometricPrecision;
}

body,
.wp-site-blocks {
  min-height: 100vh;
  min-height: 100svh;
}

.wp-site-blocks {
  display: flex;
  flex-direction: column;
}

.wp-site-blocks > main {
  flex: 1 0 auto;
}

.wp-site-blocks > footer {
  flex-shrink: 0;
  margin-block-start: auto;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--af-primary);
}

a:hover {
  color: var(--af-ocean);
}

:focus-visible {
  outline: 3px solid var(--af-seagrass-bright);
  outline-offset: 4px;
}

.klaviyo-form-WwJwxE input,
.klaviyo-form-WWKMTf input,
.klaviyo-form-WwJwxE textarea,
.klaviyo-form-WWKMTf textarea {
  background-color: #fff !important;
  border-color: #5f6f7b !important;
  color: var(--af-ocean) !important;
}

.klaviyo-form-WwJwxE input::placeholder,
.klaviyo-form-WWKMTf input::placeholder,
.klaviyo-form-WwJwxE textarea::placeholder,
.klaviyo-form-WWKMTf textarea::placeholder {
  color: #4b5563 !important;
  opacity: 1 !important;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

.screen-reader-text:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  left: 1rem;
  padding: 0.75rem 1rem;
  top: 1rem;
  width: auto;
  z-index: 100000;
}

.af-site-header {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(0, 27, 51, 0.08);
  inset-inline: 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

@supports (backdrop-filter: blur(12px)) {
  .af-site-header {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.78);
  }
}

.af-site-header__inner {
  align-items: center;
  display: flex;
  gap: 0.875rem;
  justify-content: space-between;
  margin-inline: auto;
  max-width: 1280px;
  min-height: 4.75rem;
  padding: 0.75rem 1.25rem;
}

.af-site-brand {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 0.75rem;
  min-width: 0;
}

.af-site-logo {
  flex-shrink: 0;
}

.af-site-logo img {
  height: auto;
  max-height: 3rem;
  object-fit: contain;
  width: auto;
}

.wp-custom-logo .af-site-header .af-site-title {
  display: none;
}

.af-site-title a,
.af-site-footer__brand a {
  color: var(--af-primary);
  font-family: var(--af-font-sans);
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
}

.af-site-header__nav-wrap {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  justify-content: flex-end;
  min-width: 0;
}

.af-site-nav .wp-block-navigation__container,
.af-site-header__cta-menu .wp-block-navigation__container {
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.af-site-nav .wp-block-navigation-item__content {
  border-bottom: 2px solid transparent;
  color: var(--af-muted);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  padding-block: 0.375rem;
  text-decoration: none;
}

.af-site-nav .wp-block-navigation-item__content:hover,
.af-site-nav .wp-block-navigation-item__content:focus-visible,
.af-site-nav .current-menu-item > .wp-block-navigation-item__content,
.af-site-nav .is-style-active > .wp-block-navigation-item__content {
  border-bottom-color: var(--af-primary);
  color: var(--af-primary);
}

.af-site-header__cta-menu .wp-block-navigation-item__content {
  align-items: center;
  background: var(--af-primary);
  border: 2px solid var(--af-primary);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.2;
  min-height: 2.75rem;
  padding: 0.72rem 1.25rem;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}

.af-site-header__cta-menu .wp-block-navigation-item__content:hover,
.af-site-header__cta-menu .wp-block-navigation-item__content:focus-visible {
  background: var(--af-primary-bright);
  border-color: var(--af-primary-bright);
  box-shadow: 0 12px 24px rgba(30, 115, 190, 0.22);
  color: #fff;
}

.af-site-nav .wp-block-navigation__responsive-container-open {
  border: 1px solid rgba(113, 119, 130, 0.35);
  border-radius: 999px;
  min-height: 2.75rem;
  min-width: 2.75rem;
}

.af-site-nav .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--af-surface);
  color: var(--af-ink);
  padding: 1.25rem;
}

.af-site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  align-items: stretch;
  gap: 1rem;
  padding-top: 2.5rem;
}

.af-site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  border-bottom: 1px solid rgba(113, 119, 130, 0.24);
  display: block;
  font-size: 1.125rem;
  padding: 0.875rem 0;
  width: 100%;
}

.af-site-footer {
  background: var(--af-surface-muted);
  border-top: 1px solid rgba(113, 119, 130, 0.22);
  color: var(--af-muted);
}

.af-site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin: 0 auto;
  max-width: 1280px;
  padding: 3rem 1.25rem;
}

.af-site-footer .af-site-footer__grid.wp-block-columns {
  align-items: flex-start !important;
  display: grid;
}

.af-site-footer__brand-col,
.af-site-footer__menu-col,
.af-site-footer__newsletter-col {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  min-width: 0;
}

.af-site-footer__summary {
  color: var(--af-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
  max-width: 24rem;
}

.af-site-footer__social {
  gap: 0.75rem;
  margin: 0.375rem 0 0;
}

.af-site-footer__social .wp-social-link {
  border-radius: 999px;
  transition: background-color 160ms ease, color 160ms ease;
}

.af-site-footer__social .wp-social-link:hover,
.af-site-footer__social .wp-social-link:focus-within {
  background: var(--af-primary) !important;
  color: #fff !important;
}

.af-site-footer__heading {
  color: var(--af-ink);
  font-family: var(--af-font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.af-site-footer__menu .wp-block-navigation__container {
  align-items: flex-start;
  gap: 0.5rem;
}

.af-site-footer__menu .wp-block-navigation-item__content {
  color: var(--af-muted);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

.af-site-footer__menu .wp-block-navigation-item__content:hover,
.af-site-footer__menu .wp-block-navigation-item__content:focus-visible {
  color: var(--af-primary);
  text-decoration-color: var(--af-seagrass-bright);
}

.af-site-footer__actions {
  margin-top: 0.25rem;
}

.af-site-footer__button .wp-block-button__link {
  background: var(--af-primary);
  border: 2px solid var(--af-primary);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.125rem;
}

.af-site-footer__button .wp-block-button__link:hover,
.af-site-footer__button .wp-block-button__link:focus-visible {
  background: var(--af-primary-bright);
  border-color: var(--af-primary-bright);
  color: #fff;
}

.af-site-footer__bottom {
  align-items: center;
  border-top: 1px solid rgba(113, 119, 130, 0.22);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  padding: 1rem 1.25rem;
}

.af-site-footer__bottom p {
  margin: 0;
}

.af-site-footer__copyright,
.af-site-footer__certification {
  color: var(--af-muted);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.af-site-footer__certification {
  align-items: center;
  display: inline-flex;
  gap: 0.5rem;
}

.af-site-footer__certification::before {
  background: var(--af-seagrass-bright);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 0.65rem;
  width: 0.65rem;
}

@media (max-width: 599px) {
  .af-site-header__inner {
    min-height: 4.25rem;
    padding-inline: 1rem;
  }

  .af-site-header__cta-menu {
    display: none;
  }

  .af-site-logo img {
    max-height: 2.55rem;
  }

  .af-site-title a {
    max-width: 12rem;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 600px) {
  .af-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .af-site-header__inner {
    padding-inline: 4rem;
  }

  .af-site-footer__grid {
    grid-template-columns: minmax(16rem, 1.35fr) repeat(3, minmax(0, 1fr));
    padding: 3rem 4rem;
  }

  .af-site-footer__bottom {
    padding-inline: 4rem;
  }
}
