:root {
	--navy: #0d2137;
	--navy-lt: #162e4d;
	--teal: #0e8fa0;
	--teal-lt: #12b0c5;
	--amber: #d4841a;
	--amber-lt: #e89a30;
	--cream: #fdfaf5;
	--gray-lt: #f2f0eb;
	--gray: #e0ddd7;
	--mid: #8a8580;
	--text: #1e1c18;
	
	--navy:    #18385e;
    --blue:    #2162a8;
    --teal:    #0b7a8a;
    --lteal:   #e2f4f7;
    --lblue:   #eaf2fc;
    --lnavy:   #dde6f4;
    --green:   #2c7a50;
    --lgreen:  #e3f4ea;
    --cream:   #faf8f4;
    --warm:    #f5f0e8;
    --amber:   #b87800;
    --text:    #1a2535;
    --muted:   #4a5568;
    --soft:    #718096;
    --border:  #e2e8f0;
    --white:   #ffffff;
    
    --gap: clamp(25px, calc(17.793px + 2.252vw), 50px);
    --vertical-padding: clamp(50px, calc(35.586px + 4.505vw), 100px);

	--nav-h: 72px;
	--r: 12px;
	--shadow: 0 8px 32px rgba(13, 33, 55, 0.13);
	--trans: all 0.3s ease;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Nunito', sans-serif;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

a { 
    color: var(--teal); 
    text-decoration: none; 
}

img { 
    max-width: 100%; 
}

header {
    min-height: 100vh;
    background: linear-gradient(160deg, #10263d 0%, #1a3f63 45%, #0d5a70 100%);
    color: #fff;
    padding: 100px 0;
    position: relative;
	z-index: 3;
}

.text-accent {
  color: var(--teal-lt);
}

.eyebrow {
    font-size: .72rem; 
    letter-spacing: .18em; 
    text-transform: uppercase;
    color: var(--teal); 
    display: block;
  }
  .eyebrow-light { 
      color: rgba(180,220,230,.8); 
  }
  
/* ── NAV ── */
nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 900;
	padding: clamp(13px, calc(10.818px + 0.682vw), 19px) 0;
    background: rgba(24,56,94,.97);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.nav-container {
	display: flex;
	align-items: center;
	gap: 20px;
}
.nav-logo {
    font-weight: 700; 
    color: #fff; 
    font-size: 1.05rem; 
    letter-spacing: .01em;
}
.nav-logo em { 
    color: #6dcfe0;
}
.nav-brand {
	display: flex;
	align-items: baseline;
	gap: 9px;
	text-decoration: none;
}
.nav-wordmark {
	font-family: 'Lora', serif;
	font-size: clamp(1.188rem, calc(1.165rem + 0.114vw), 1.25rem);
	font-weight: 700;
	color: #fff;
	letter-spacing: 0.02em;
}
.nav-wordmark span {
	color: var(--teal-lt);
}
.nav-sub {
	font-size: 0.72rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.4);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.nav-links {
	margin-left: auto;
	display: flex;
	gap: 1.6rem;
	align-items: center;
	list-style: none;
}
.nav-links a {
	font-weight: 800;
    color: rgba(200,220,235,.85); 
	font-size: 0.86rem;
	text-decoration: none;
    transition: .3s ease;
}
.nav-links a:hover {
	color: #fff;
	text-decoration: none;
}

.nav-btn {
    font-size: .9rem !important;
    font-weight: 600 !important;
    background: var(--teal); 
    color: #fff !important;
    padding: .42rem 1rem; 
    border-radius: 5px;
}
.nav-btn:hover { 
    background: #0a6878 !important; 
}
  
.nav-cta {
	background: var(--amber);
	color: #fff !important;
	padding: 0.5rem clamp(1rem, calc(0.864rem + 0.682vw), 1.375rem);
	border-radius: 50px;
}
.nav-cta:hover {
	background: var(--amber-lt) !important;
}

.container {
  max-width: 1430px;
  padding: 0 15px;
  margin: 0 auto;
}

  /* ─── FOOTER ─────────────────────────────────────────── */
footer { 
  background: #0d1f33; 
  padding: var(--vertical-padding) 0; 
}
.footer-brand h3 span {
	color: var(--teal-lt);
}
.footer-col h4 {
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #6dcfe0;
	margin-bottom: 1rem;
}
.footer-col ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.footer-col li a {
	color: #fff;
	text-decoration: none;
	font-size: 0.88rem;
	transition: .3s ease;
}
.footer-legal {
	font-size: 0.78rem;
	opacity: 0.4;
	max-width: 700px;
	line-height: 1.5;
}
  .footer-grid {
    display: flex; 
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin: 0 0 2.5rem 0;
  }
  .footer-brand-col-wrapper {
    display: flex;
    gap: 2.5rem;
}
.footer-brand {
    max-width: 485px;
}
.footer-brand-col-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}
  .footer-brand .flogo { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: .7rem; }
  .footer-brand .flogo em { color: #6dcfe0; font-style: normal; }
  .footer-brand p {
    font-size: .82rem; color: #ffffff; line-height: 1.7;
  }
  
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: .5rem; }
 
  .footer-col ul li a:hover { color: #94c4d8; text-decoration: none; }
  .footer-bottom {
    padding-top: 1.5rem; 
    border-top: 1px solid #1a3248;
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: .8rem;
  }
  .footer-bottom p,
  .footer-bottom a {
    font-size: .8rem; color: #fff;
  }
  .disclaimer {
    margin: 1rem 0 0 0;
    font-size: .8rem; color: #2e4050; text-align: center; line-height: 1.65;
  }

  /* ─── SCROLL ANCHORS ─────────────────────────────────── */
  #patients, #clinicians, #how-it-works, #science { scroll-margin-top: 68px; }

/* ── RESPONSIVE ── */
@media (max-width: 601px) {
    .footer-bottom {
        justify-content: center;
    }
}
@media (max-width: 582px) {
  .bm-grid {
        grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    }
}
