:root {
  --navy: #293a68;
  --teal: #51b2ab;
  --teal-strong: #00a99d;
  --text: #111827;
  --muted: #5f6877;
  --bg: #f5f8fc;
  --card-bg: #ffffff;
  --border-subtle: #dde5ee;
  --shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.1);
  --radius-lg: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, rgba(245, 248, 252, 0.96), rgba(245, 248, 252, 1)),
    var(--bg);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 169, 157, 0.3);
  outline-offset: 3px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffffee;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-left a {
  display: inline-flex;
  align-items: center;
}

.nav-left img {
  display: block;
  height: auto;
}

.brand-logo {
  gap: 0.45rem;
}

.brand-logo-shield {
  width: 32px;
  flex: 0 0 auto;
}

.brand-logo-wording {
  width: clamp(124px, 27vw, 164px);
  flex: 0 1 auto;
  min-width: 0;
}

.nav-toggle {
  border: none;
  background: transparent;
  padding: 0.35rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.22rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-links {
  width: 100%;
  display: none;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  padding-top: 0.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  align-items: stretch;
}

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

.nav-links a {
  position: relative;
  border-radius: 8px;
  padding: 0.35rem 0;
}

.nav-links a.active {
  color: var(--teal-strong);
  font-weight: 700;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.16rem;
  height: 2px;
  background: var(--teal);
  border-radius: 999px;
}

.nav-links a.btn:hover::after {
  content: none;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.35rem;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal-strong);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 169, 157, 0.26);
}

.btn-primary:hover {
  background: #058f86;
  box-shadow: 0 14px 30px rgba(0, 169, 157, 0.34);
}

.btn-login {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(41, 58, 104, 0.16);
  box-shadow: none;
}

.btn-login:hover {
  transform: translateY(-1px);
  background: rgba(41, 58, 104, 0.04);
}

.nav-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.85rem 1.6rem;
  white-space: nowrap;
}

.hero {
  background:
    radial-gradient(circle at 12% 10%, rgba(81, 178, 171, 0.85) 0, rgba(81, 178, 171, 0) 30%),
    linear-gradient(135deg, #293a68 0%, #16213d 58%, #0f172a 100%) !important;
}

.hero-title {
  letter-spacing: 0;
}

.hero-eyebrow,
.spotlight-panel-eyebrow,
.footer-tagline {
  letter-spacing: 0.1em;
}

.hero-body,
.hero-pill,
.section-body,
.subsection-body,
.feature-card-body,
.cta p,
.cta-body {
  color: var(--muted);
}

.hero .hero-body,
.hero .hero-pill {
  color: rgba(226, 232, 240, 0.9);
}

.feature-card,
.secondary-item,
.step-card,
.spotlight-panel,
.contact-card,
.compliance-card,
.cta-box,
.rems-card {
  border-radius: 8px !important;
  border: 1px solid rgba(221, 229, 238, 0.9);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.075) !important;
}

.hero-illustration,
.hero-visual img {
  border-radius: 8px !important;
}

.hero-illustration-wrapper {
  align-items: center;
}

.cta-box,
.rems-card {
  background: linear-gradient(135deg, #f3fbff, #f7fbff) !important;
}

footer {
  text-align: center;
  padding: 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid rgba(221, 229, 238, 0.9);
  background: rgba(255, 255, 255, 0.58);
}

.footer-tagline {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal-strong);
  display: block;
  margin-bottom: 0.4rem;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  margin-top: 0.35rem;
  color: #5f6877;
}

.footer-contact a {
  color: var(--navy);
  font-weight: 600;
}

.site-disclaimer {
  font-size: 0.75rem;
  color: #8a94a6;
  display: block;
  margin: 0.35rem auto 0;
  max-width: 640px;
}

#form-status {
  min-height: 1.25rem;
}

@media (min-width: 1150px) {
  .nav {
    padding: 0.9rem 1.5rem;
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    border-top: none;
    padding-top: 0;
    font-size: 0.95rem;
  }

  .nav-links a {
    padding: 0.25rem 0;
  }

  .hero-title {
    font-size: clamp(2.15rem, 3.2vw, 2.65rem);
  }

  .hero-illustration-wrapper {
    justify-content: flex-end;
    transform: translateY(-1.25rem);
  }

  .hero-illustration {
    width: min(100%, 620px);
  }
}
