:root {
  /* Brand palette — sampled from the HealthNavig logo */
  --navy: #0f2a7a;
  --blue: #1a44b8;
  --cyan: #1bb3e3;
  --green: #3f9e1f;
  --leaf: #6cc22b;
  --heart: #f0306a;
  --heart-2: #f7941d;
  --tint: #e8f0fd;
  --tint-green: #ecf7e4;
  --tint-heart: #fde6ec;
  --sand-50: #fafcfe;
  --sand-100: #eff4fa;
  --ink: #16203a;
  --muted: #56607a;
  --line: #e0e6ef;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(15, 42, 122, 0.22);
  --brand-gradient: linear-gradient(120deg, var(--blue), var(--cyan) 45%, var(--leaf));
  --heart-gradient: linear-gradient(120deg, var(--heart), var(--heart-2));
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Montserrat", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; color: var(--navy); }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; border-radius: 8px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  font-weight: 600; color: var(--green); margin-bottom: .9em;
}
.eyebrow.light { color: #a9e07f; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38ch; }
.prose { color: var(--muted); }
.prose strong { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid var(--blue);
  background: var(--blue); color: var(--white); font: 600 1rem var(--font-body);
  text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, color .2s;
}
.btn:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid var(--heart); outline-offset: 2px;
}
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--tint); color: var(--navy); }
.btn-small { padding: .5em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 252, 254, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--blue); letter-spacing: -0.01em; }
.brand-name span { color: var(--green); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.site-nav a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: .45em; }
.hero h1 em {
  font-style: normal; background: var(--heart-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .h-body { color: var(--blue); }
.hero h1 .h-mind { color: var(--green); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.emblem-wrap { position: relative; width: min(440px, 82vw); aspect-ratio: 1; }
.emblem-wrap::before {
  content: ""; position: absolute; inset: 4%; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(27, 179, 227, .16), transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(108, 194, 43, .18), transparent 60%);
  filter: blur(8px);
}
.emblem { position: relative; width: 100%; height: auto; animation: float 7s ease-in-out infinite; }
.badge {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--white);
  box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; white-space: nowrap;
}
.badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.badge i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.badge svg { width: 15px; height: 15px; fill: none; stroke: var(--white); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.badge.b1 { color: var(--blue); }
.badge.b1 i { background: var(--blue); }
.badge.b2 { color: var(--green); }
.badge.b2 i { background: var(--green); }
.badge.b3 { color: var(--heart); }
.badge.b3 i { background: var(--heart-gradient); }

@keyframes float { 50% { transform: translateY(-8px); } }

.pillars-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.pillars-strip div { padding: 22px 24px; border-left: 1px solid var(--line); }
.pillars-strip div:first-child { border-left: 0; }
.pillars-strip strong { display: block; color: var(--navy); }
.pillars-strip span { font-size: .92rem; color: var(--muted); }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--sand-100); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-inline: auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

/* Philosophy flow */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 20px; align-items: center; }
.flow-step { background: var(--white); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); height: 100%; }
.flow-step p { color: var(--muted); margin: 0; }
.flow-num { display: inline-block; font-family: var(--font-display); font-size: 1rem; color: var(--cyan); margin-bottom: 10px; font-weight: 600; }
.flow-step h3 { font-family: var(--font-display); font-size: 1.4rem; }
.flow-step:nth-child(1) { border-top: 4px solid var(--blue); }
.flow-step:nth-child(3) { border-top: 4px solid var(--green); }
.flow-step:nth-child(5) { border-top: 4px solid var(--heart); }
.flow-arrow { font-size: 1.8rem; color: var(--green); }
.flow-note { text-align: center; max-width: 60ch; margin: 40px auto 0; color: var(--muted); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--tint);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Audiences */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.audience { background: var(--white); border-radius: var(--radius); padding: 36px 30px; }
.audience p { color: var(--muted); }
.audience ul { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.audience li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: .96rem; }
.audience li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--green); }
.audience.featured { background: linear-gradient(150deg, var(--navy), var(--blue)); }
.audience.featured h3, .audience.featured li { color: var(--white); }
.audience.featured p { color: #c5d3f5; }
.audience.featured ul, .audience.featured li { border-color: rgba(255,255,255,.14); }
.audience.featured li::before { background: var(--heart); }

/* Workplace */
.workplace .btn { margin-top: 12px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px 18px 60px; position: relative;
}
.checklist li::before {
  content: "✓"; position: absolute; left: 18px; top: 18px; width: 26px; height: 26px;
  border-radius: 50%; background: var(--tint); color: var(--blue);
  display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}
.checklist strong { display: block; color: var(--navy); }
.checklist span { color: var(--muted); font-size: .95rem; }

/* Vision */
.vision {
  padding: 110px 0; text-align: center; color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(27,179,227,.40), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(108,194,43,.30), transparent 45%),
    var(--navy);
}
.vision blockquote {
  margin: 0 auto; max-width: 30ch; font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.3; font-weight: 500;
}

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact-list span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.contact-list a { font-weight: 600; text-decoration: none; font-size: 1.1rem; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 1rem; background: var(--sand-50); color: var(--ink);
}
.field input[aria-invalid="true"] { border-color: #c8204f; }
.form-status { margin: 14px 0 0; font-size: .95rem; min-height: 1.5em; }
.form-status.ok { color: var(--blue); }
.form-status.err { color: #c8204f; }

/* Footer */
.site-footer { background: var(--sand-100); padding: 48px 0; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.footer-inner p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
.footer-inner nav { display: flex; gap: 24px; }
.footer-inner nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.copyright { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--sand-50); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 40px; }
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .orbit { width: min(300px, 75vw); }
  .pillars-strip { grid-template-columns: repeat(2, 1fr); }
  .pillars-strip div:nth-child(3) { border-left: 0; }
  .pillars-strip div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .pillars-strip { grid-template-columns: 1fr; }
  .pillars-strip div { border-left: 0; }
  .pillars-strip div + div { border-top: 1px solid var(--line); }
  .hero-actions .btn { width: 100%; }
  .contact-form { padding: 24px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner nav { flex-wrap: wrap; gap: 16px; }
}

/* Brand accents */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--brand-gradient); opacity: 0; transition: opacity .2s;
}
.site-header.scrolled::after { opacity: 1; }
.card:nth-child(4n+2) .icon { background: var(--tint-green); }
.card:nth-child(4n+2) .icon svg { stroke: var(--green); }
.card:nth-child(4n+3) .icon { background: var(--tint-heart); }
.card:nth-child(4n+3) .icon svg { stroke: var(--heart); }
.audience li::before { background: var(--leaf); }
.checklist li::before { background: var(--tint-green); color: var(--green); }
.footer-logo { width: 56px; height: 56px; }
.footer-brand { gap: 12px; }
@media (max-width: 860px) {
  .badge { font-size: .72rem; }
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }

/* Membership page */
.page-title { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-title span { color: var(--green); }
.site-nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.member-hero { padding-bottom: 64px; }
.member-form-section { padding-top: 64px; }
.member-cta-card {
  max-width: 640px; margin-inline: auto; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 48px 32px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.member-cta-card img { width: 96px; height: 96px; }
.member-cta-card h2 { font-size: 1.75rem; margin: 8px 0 0; }
.member-cta-card p { color: var(--muted); max-width: 46ch; margin: 0; }
.member-cta-card .btn { margin-top: 16px; padding: 1em 2.4em; font-size: 1.05rem; }
.member-cta-card .member-note { font-size: .9rem; }
.offer-banner {
  display: flex; align-items: center; gap: 14px; margin-top: 24px;
  padding: 14px 20px; border-radius: 14px; color: var(--white);
  background: linear-gradient(110deg, #e0245e, #f26b2c);
  box-shadow: 0 12px 26px -14px rgba(224, 36, 94, .6); font-size: 1.05rem;
}
.offer-banner svg { flex: none; width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.member-cta-card .offer-pill {
  margin: 4px 0 6px; padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  color: #b3174a; background: var(--tint-heart);
}
