:root {
  --navy: #003399;
  --navy-dark: #021c4c;
  --yellow: #fddf00;
  --yellow-hover: #e6c900;
  --gold: #c8a45d;
  --navy-hover: #00287a;
  --gray: #99a1af;
  --slate: #4a5565;
  --muted-slate: #6a7282;
  --dark: #0a0a0a;
  --white: #fff;
  --light-gray: #f5f5f5;
  --line-gray: #e5e7eb;
  --font-heading: 'Khand', 'Khand Fallback', sans-serif;
  --font-body: 'Google Sans Flex', 'Google Sans Flex Fallback', Arial, sans-serif;
  --transition-fast: .15s ease;
  --transition-base: .2s ease;
  --transition-slow: .35s ease;
  --shadow-card: 0 8px 12px rgba(13, 27, 42, .06);
  --container-max: 1280px;
  --container-pad: 25px;
  --header-height: 120px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  min-width: 320px;
  min-height: 100vh;
  color: var(--navy-dark);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.333;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

img {
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

address {
  font-style: normal;
}

::selection {
  color: var(--navy-dark);
  background: var(--yellow);
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.container {
  width: 100%;
  max-width: calc(var(--container-max) + (2 * var(--container-pad)));
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.desktop-only {
  display: none;
}

.mobile-only {
  display: inline;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  text-transform: uppercase;
}

.section-label::before {
  width: 21px;
  height: 3px;
  flex: 0 0 21px;
  background: var(--yellow);
  content: '';
  transform: translateY(-1px);
}

.is-muted {
  color: var(--gray);
}

.theme-icon {
  display: inline-block;
  flex: none;
  color: currentColor;
  vertical-align: middle;
}

.theme-icons {
  display: none;
}

.theme-icon--navy {
  color: var(--navy);
}

.theme-icon--navy-dark {
  color: var(--navy-dark);
}

.theme-icon--yellow {
  color: var(--yellow);
}

.theme-icon--gold {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 2px solid transparent;
  color: var(--navy-dark);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: .5px;
  text-align: center;
  text-transform: uppercase;
  transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
}

.btn .theme-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.btn .theme-icon.is-arrow {
  width: 16px;
  height: 14px;
  flex-basis: 16px;
}

.btn:not(.hero-branch-button) > span {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--yellow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--yellow-hover);
}

.btn-secondary {
  color: var(--white);
  background: var(--navy);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--navy-hover);
}

.btn-outline {
  color: var(--yellow);
  border-color: var(--yellow);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  color: var(--navy);
  background: var(--yellow);
}

@media (min-width: 992px) {
  :root {
    --container-pad: 0px;
    --header-height: 90px;
  }

  body {
    font-size: 16px;
    line-height: 1.25;
  }

  .desktop-only {
    display: inline;
  }

  .mobile-only {
    display: none;
  }

  .section-label {
    gap: 6px;
    font-size: 16px;
  }

  .btn {
    min-height: 60px;
    padding: 16px 28px;
    font-size: 18px;
    line-height: 24px;
  }

  .container {
    width: min(1280px, calc(100vw - 50px));
    max-width: 1280px;
    margin-right: 0;
    margin-left: max(25px, calc(50vw - 640px));
    padding-inline: 0;
  }
}
