:root {
  /* Typography: Gotham is the brand face; Montserrat loads as licensed web-neutral substitute when Gotham unavailable */
  --font-brand: "Gotham", "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: var(--font-brand);

  /* SOATERA Identity — Navy #0A1D3A, Teal #00A8A8, Neutral #F0F2F5 */
  --brand-navy: #0a1d3a;
  --brand-navy-600: #112a52;
  --brand-teal: #00a8a8;
  --brand-teal-700: #008d8d;
  --brand-teal-100: #e8f8f8;
  --neutral-panel: #f0f2f5;
  --neutral-100: #f0f2f5;
  --neutral-200: #e4e8ed;
  --neutral-300: #cfd7e2;
  --neutral-400: #b8c4d4;
  --neutral-450: #a8b5c9;
  --text-900: #0a1d3a;
  --white: #ffffff;
}

html {
  font-size: 16px;
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  background: var(--neutral-panel);
  color: var(--text-900);
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

main h1,
main h2,
main h3,
main .h4,
main .h5 {
  font-family: var(--font-brand);
  color: var(--text-900);
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.brand-name {
  font-family: var(--font-brand);
  font-weight: 600;
}

a,
.nav-link {
  color: var(--brand-teal);
}

a:hover,
.nav-link:hover {
  color: var(--brand-navy);
}

.site-nav {
  background: var(--brand-navy);
  border-bottom: 3px solid var(--brand-teal);
}

.site-nav .navbar-brand {
  color: var(--white);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

/* Crop spec-sheet label from branded JPG exports */
.site-logo-wrap {
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-logo-mark {
  display: block;
  height: 40px;
  width: auto;
  max-width: none;
  object-fit: cover;
  object-position: center 65%;
  clip-path: inset(18% 10% 6% 10%);
  -webkit-clip-path: inset(18% 10% 6% 10%);
}

.site-logo-wrap-footer .site-logo-mark {
  height: 34px;
  clip-path: inset(18% 10% 6% 10%);
}

.site-nav .site-logo.site-logo-mark {
  height: 42px;
}

.site-nav .navbar-brand:hover {
  color: var(--white);
  opacity: 0.92;
}

.site-nav-inner {
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}

.site-nav .site-logo:not(.site-logo-mark) {
  height: 44px;
  width: auto;
  max-width: min(240px, 55vw);
  display: block;
  object-fit: contain;
}

/* iOS: avoid auto-zoom on focus — keep inputs at least 16px */
input.form-control,
select.form-control {
  font-size: 1rem;
  min-height: 44px;
}

textarea.form-control {
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 991.98px) {
  .site-nav .navbar-toggler {
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem 0.65rem;
  }

  .site-nav .nav-link {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 360px) {
  .site-nav .site-logo:not(.site-logo-mark) {
    height: 36px;
    max-width: min(210px, 48vw);
  }

  .site-nav .site-logo-mark {
    height: 36px;
  }
}

.site-nav .site-logo-sm {
  height: 36px;
  max-width: 160px;
}

.site-nav .nav-link {
  color: rgba(255, 255, 255, 0.92);
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: var(--brand-teal);
}

.custom-toggler-icon {
  filter: brightness(0) invert(1);
}

.container {
  max-width: 1080px;
}

.hero-panel,
.content-panel {
  background: var(--white);
  border: 1px solid var(--neutral-300);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(10, 29, 58, 0.08);
}

@media (max-width: 575.98px) {
  .hero-panel,
  .content-panel {
    padding: 1.1rem 1rem;
    border-radius: 10px;
  }
}

.hero-eyebrow {
  font-family: var(--font-brand);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-navy-600);
  margin-bottom: 0.5rem;
}

.hero-headline {
  font-family: var(--font-brand);
  font-size: clamp(1.28rem, 2.8vw + 0.55rem, 1.95rem);
  font-weight: 600;
  line-height: 1.28;
  color: var(--text-900);
  margin-bottom: 0.65rem;
  max-width: 38rem;
}

.hero-brand-line {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  color: var(--brand-navy);
}

.hero-lead {
  max-width: 40rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-family: var(--font-brand);
  font-size: clamp(0.85rem, 1vw + 0.72rem, 0.98rem);
  color: var(--brand-teal);
  margin-bottom: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lead-disclaimer {
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 42rem;
}

.hero-panel-brand .hero-brand-banner {
  max-height: min(240px, 40vw);
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 4px 12px rgba(10, 29, 58, 0.12));
}

@media (min-width: 992px) {
  .hero-panel-brand .hero-brand-banner {
    max-height: 280px;
  }
}

.cta-button {
  background-color: var(--brand-teal);
  border-color: var(--brand-teal);
  color: var(--white);
  min-height: 44px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  touch-action: manipulation;
}

.cta-button:hover,
.cta-button:focus {
  background-color: var(--brand-teal-700);
  border-color: var(--brand-teal-700);
  color: var(--white);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 168, 168, 0.25);
}

.form-control {
  background: var(--white);
  color: var(--text-900);
  border: 1px solid var(--neutral-400);
}

.form-control:focus {
  background: var(--white);
  color: var(--text-900);
  border-color: var(--brand-teal);
}

.success-alert {
  background: var(--brand-teal-100);
  color: var(--brand-navy);
  border: 1px solid var(--neutral-450);
}

.footer {
  border-top: 1px solid var(--neutral-300);
  padding: 1rem 0;
  background: var(--white);
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-footer-logo img {
  display: block;
}

.site-footer-logo .site-logo-mark {
  height: 34px;
}

.site-footer-logo:not(.site-logo-wrap) img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.site-footer-links {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.35rem;
  font-size: 0.9rem;
  min-width: 0;
}

.site-footer-links a {
  white-space: nowrap;
}

.site-footer-links a.footer-email-link {
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.site-footer-sep {
  color: var(--neutral-400);
  user-select: none;
}

.site-footer-copy {
  flex: 0 1 auto;
  text-align: right;
  min-width: 0;
}

.site-footer-copy a {
  color: var(--brand-teal);
  text-decoration: none;
}

.site-footer-copy a:hover {
  color: var(--brand-navy);
  text-decoration: underline;
}

.contact-alt {
  font-size: 0.95rem;
}

@media (max-width: 575.98px) {
  .site-footer-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .site-footer-links {
    justify-content: flex-start;
  }

  .site-footer-copy {
    text-align: left;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .site-footer-logo:not(.site-logo-wrap) img {
    height: 32px;
    max-width: 180px;
  }

  .site-footer-logo .site-logo-mark {
    height: 30px;
  }
}
