:root {
  --navy: #12304a;
  --navy-deep: #081b2a;
  --teal: #18a7a0;
  --blue: #2676d9;
  --health-bg: #f4f8fa;
  --paper: #f4f8fa;
  --muted: #4e6572;
  --line: #c9dae2;
}

body {
  background: var(--health-bg);
  color: var(--navy);
}

.nav {
  background: rgba(8, 18, 27, .97);
  border-bottom: 1px solid rgba(24, 167, 160, .38);
  box-shadow: inset 0 3px 0 var(--teal);
}

.nav .links a:not(.button) { color: #e7f3f5; }
.nav .links a:not(.button):hover { color: #78ded8; }

.button,
.button:visited {
  box-shadow: 0 8px 24px rgba(200, 168, 78, .2);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(200, 168, 78, .32);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(24, 167, 160, .55);
  outline-offset: 3px;
}

.hero {
  background: var(--navy-deep);
}

.hero-media {
  background:
    linear-gradient(90deg, #081b2a 3%, rgba(8, 27, 42, .95) 36%, rgba(18, 48, 74, .18) 72%),
    url('/assets/professional-health-hero.png') center/cover no-repeat;
}

.funnel-hero {
  background:
    radial-gradient(circle at 84% 16%, rgba(24, 167, 160, .24), transparent 32%),
    linear-gradient(135deg, #081b2a 0%, #12304a 58%, #174f68 100%);
}

.hero p,
.funnel-hero p { color: #e1f0f2; }
.hero-note { color: #c5e0e4 !important; }

.trust {
  background: var(--navy);
  border-top-color: rgba(24, 167, 160, .45);
}

.trust div { border-right-color: rgba(255, 255, 255, .14); }
.trust strong { color: #78ded8; }

.employer-conversion { background: #eaf4f7; }

.section h2,
.card h3,
.panel h3,
.faq h2 { color: var(--navy); }

.card,
.panel,
.faq details,
.funnel-steps div {
  border-color: var(--line);
  box-shadow: 0 14px 42px rgba(18, 48, 74, .07);
}

.card {
  border-top: 4px solid var(--teal);
}

.card:nth-child(even) { border-top-color: var(--blue); }
.card .num { color: var(--blue); }
.card a, .text-link { color: #0c706d; }
.card a:hover, .text-link:hover { color: var(--blue); }

.dark-section {
  background:
    radial-gradient(circle at 90% 12%, rgba(24, 167, 160, .18), transparent 30%),
    var(--navy-deep);
}

.dark-section h2,
.fhg-standard h2 { color: #fff; }

.step { border-top-color: var(--teal); }
.step:nth-child(even) { border-top-color: var(--blue); }

.list li::before,
.pain-list li::before,
.funnel-steps strong { color: #0f8f89; }

.pain-list li { border-bottom-color: var(--line); }

.panel input,
.panel select,
.panel textarea {
  border-color: #adc6d1;
}

.panel input:focus,
.panel select:focus,
.panel textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(24, 167, 160, .12);
}

.choice-tab {
  background: #e7f1f5;
  color: var(--navy);
}

.choice-tab:hover { border-color: var(--teal); }

.privacy-callout {
  background: var(--navy);
  border-left-color: var(--teal);
}

.privacy-callout strong { color: #78ded8; }

.submission-success {
  background: #e7f7f5;
  border-color: #8bd5d0;
}

.cta {
  background:
    linear-gradient(110deg, var(--gold) 0%, #e0c66f 58%, #f0dda0 100%);
}

.footer {
  background: #07141e;
  border-top: 3px solid var(--teal);
}

.footer strong { color: #fff; }

.footer-brand,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-contact {
  color: #d1e5e8;
  font-style: normal;
  min-width: 245px;
}

.footer-contact a {
  color: #78ded8;
  font-weight: 800;
  text-decoration: none;
}

.footer-contact a:hover { text-decoration: underline; }
.footer .legal { margin: 0; }

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(120, 222, 216, .42);
  border-radius: 999px;
  color: #dff8f6;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: rgba(24, 167, 160, .18);
  border-color: #78ded8;
  color: #fff;
}

.fhg-standard {
  background:
    radial-gradient(circle at 90% 0%, rgba(38, 118, 217, .18), transparent 34%),
    radial-gradient(circle at 4% 100%, rgba(24, 167, 160, .16), transparent 31%),
    #081b2a;
}

.fhg-standard::before {
  background: linear-gradient(125deg, rgba(200, 168, 78, .12), transparent 38%);
}

.mission-copy,
.pillar p,
.standard-close p { color: #c9dfe3; }

.pillar {
  background: rgba(12, 39, 57, .94);
  border-color: rgba(24, 167, 160, .35);
  border-top: 3px solid var(--teal);
}

.pillar:nth-child(even) {
  border-color: rgba(38, 118, 217, .38);
  border-top-color: var(--blue);
}

.pillar h3 { color: #fff; }
.standard-heading,
.standard-close { border-color: rgba(161, 201, 207, .24); }

.audience-nav a:hover {
  border-color: var(--teal);
  background: rgba(24, 167, 160, .12);
}

@media (max-width: 820px) {
  .hero-media {
    background:
      linear-gradient(180deg, rgba(8, 27, 42, .35), #081b2a 72%),
      url('/assets/professional-health-hero.png') 67% top/auto 55% no-repeat;
  }

  .footer-brand,
  .footer-contact,
  .footer .legal { margin-bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
