/* =========================================================================
   Truvara Health — marketing site styles
   Font: self-hosted Roboto, subset to latin + latin-ext (English content only)
   ========================================================================= */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/roboto-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/roboto-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/roboto-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/roboto-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/roboto-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/roboto-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/roboto-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/roboto-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../assets/fonts/roboto-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../assets/fonts/roboto-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================================
   LAYOUT — built to the Figma specs.
   Desktop canvas 1480 · mobile canvas 390.
   Per-section gutters (desktop): base 160 · indent 240 · icon 120 ·
   functionality 39 · audience cards 40.  Mobile uses one 24px gutter.
   ========================================================================= */
:root{
  --shell:1480px;
  --g-base:clamp(24px, 10.811vw, 160px);   /* 160/1480 */
  --g-ind :clamp(24px, 16.216vw, 240px);   /* 240/1480 */
  --g-icon:clamp(24px,  8.108vw, 120px);   /* 120/1480 */
  --g-fn  :clamp(24px,  2.635vw,  39px);   /*  39/1480 */
  --g-card:clamp(24px,  2.703vw,  40px);   /*  40/1480 */
}
/* Below 900px every section shares one 24px gutter. Without this the vw
   values above resolve far too wide on a phone (10.811vw = 42px at 390). */
@media (max-width: 900px){
  :root{ --g-base:24px; --g-ind:24px; --g-icon:24px; --g-fn:24px; --g-card:24px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #19170F;
  font-weight: 400;
  line-height: 1.55;
  background: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* form controls do not inherit the body font */
body, button, input, textarea, select,
h1, h2, h3, h4, h5, p, a, span, div, li, label {
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
h1, h2, h3, h4, h5 { margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--g-base);
}
/* sections whose content sits on the wider 240 indent */
.section-intro > .container,
.two-paths > .container,
.who-we-serve > .container { padding-inline: var(--g-ind); }
/* the cards inside those sections keep their own gutters */
.two-paths .paths-grid-wrap { padding-inline: var(--g-base); }
.who-we-serve .audience-grid-wrap { padding-inline: var(--g-card); }
.product-intro { padding-inline: var(--g-icon); }
.product-panel .panel-grid-wrap { padding-left: var(--g-fn); padding-right: var(--g-card); }

/* offscreen sections skip layout + paint until scrolled near */
.section-intro, .two-paths, .product-section,
.principles, .who-we-serve, .cta-section, .site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}

/* =========================================================================
   HEADER — Figma: bar 1480x96, floats 86px down, fill #071C36
   logo 178x40 at 160 · button 200x48 at 1120, padding 16/24, gap 12, #114A8E
   nav Roboto 700 18/28 · active #79B5FC
   ========================================================================= */
.site-header {
  position: fixed;
  top: 86px;
  left: 0; right: 0;
  z-index: 60;
  background: #071C36;
  transition: top .3s ease, box-shadow .3s ease;
}
.site-header.is-docked { top: 0; box-shadow: 0 8px 24px -12px rgba(0,0,0,.55); }
.site-header .container {
  padding-block: 0;
  height: min(96px, 6.486vw);
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header .logo { display: inline-flex; align-items: center; line-height: 1; }
.site-header .logo svg,
.site-header .logo img { width: min(178px, 12.027vw); height: auto; display: block; }

.nav-list { display: flex; gap: min(36px, 2.432vw); align-items: center; }
.nav-list a.nav-link-primary,
.nav-list a.nav-link {
  font-weight: 700;
  font-size: clamp(15px, 1.216vw, 18px);
  line-height: 28px;
  letter-spacing: 0;
  white-space: nowrap;
  transition: opacity .2s;
}
.nav-list a.nav-link-primary { color: #79B5FC; }
.nav-list a.nav-link { color: #ffffff; }
.nav-list a:hover { opacity: .8; }

.btn-cta-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: min(12px, .811vw);
  padding: min(16px, 1.081vw) min(24px, 1.622vw);
  height: min(48px, 3.243vw);
  min-height: 40px;
  border-radius: 4px;
  font-weight: 700;
  font-size: clamp(15px, 1.216vw, 18px);
  line-height: 24px;
  background: #114A8E;
  color: #fff;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
  transition: background .2s;
}
.btn-cta-nav:hover { background: #0d3a70; }

/* second nav row — mobile only */
.nav-row-mobile { display: none; }

/* =========================================================================
   HERO — Figma: image 1480x741 · flat #0B2A50 30% overlay
   headline 342/680 at left 160 / top 342 · Roboto 300 61/100% · shadow 2/2/2
   ========================================================================= */
.hero {
  position: relative;
  height: clamp(420px, 50.068vw, 741px);
  background: #071C36;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  animation: kenburns 16s ease-out forwards;
}
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: rgba(11, 42, 80, .30);          /* #0B2A504D */
}
.hero-copy { position: absolute; inset: 0; z-index: 2; }
.hero-copy .container { position: relative; height: 100%; max-width: none; padding: 0; }
.hero-copy h1 {
  position: absolute;
  left: min(160px, 10.811vw);
  top:  min(342px, 23.108vw);
  width: min(680px, 45.946vw);
  font-size: clamp(2rem, 4.122vw, 61px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  color: #FFFFFF;
  text-shadow: 2px 2px 2px rgba(0,0,0,.25);
  margin-top: -.09em;                          /* leading-trim: CAP_HEIGHT */
}
@supports (text-box: trim-both cap alphabetic) {
  .hero-copy h1 { margin-top: 0; text-box: trim-both cap alphabetic; }
}

/* =========================================================================
   OPERATIONAL REALITY — Figma 1480x400, padding 96/240
   eyebrow Roboto 400 32/48 ls 2% uppercase · columns Roboto 24 lh 140% #19170F
   ========================================================================= */
.section-intro { padding-block: clamp(48px, 6.486vw, 96px); background: #fff; }
.section-intro .eyebrow {
  display: block;
  font-size: clamp(20px, 2.162vw, 32px);
  font-weight: 400;
  line-height: 48px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #1868d0;
  margin-bottom: min(32px, 2.162vw);
}
.section-intro .intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: min(48px, 3.243vw);
  max-width: none;
}
.section-intro p {
  color: #19170F;
  font-size: clamp(15px, 1.622vw, 24px);
  line-height: 1.4;
  letter-spacing: 0;
}
.section-intro strong { font-weight: 700; color: #0e2740; }

/* =========================================================================
   TWO PATHS — Figma 1480x1022, padding 128/160, #ECFAF9
   heading Roboto 700 48/48 · sub Roboto 400 24 lh140%
   card 559x601 padding 80 · icon 60 · PATH Roboto 500 20/28 #1DA59A
   title Roboto 700 30 lh120% #0A615B · body Roboto 400 20 lh140% #19170F
   button 251x48 padding 18/28 gap 12 #0C7770, label 16/24
   ========================================================================= */
.two-paths { padding-block: clamp(56px, 8.649vw, 128px); background: #ECFAF9; }
.two-paths h2 {
  color: #0f7a72;
  font-size: clamp(28px, 3.243vw, 48px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: min(24px, 1.622vw);
}
.two-paths > .container > p {
  color: #19170F;
  font-size: clamp(15px, 1.622vw, 24px);
  line-height: 1.4;
  max-width: min(1000px, 67.568vw);
  margin-bottom: min(56px, 3.784vw);
}
.paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: min(42px, 2.838vw);
  align-items: stretch;
}
.path-card {
  background: #fff;
  border: 0;
  border-radius: 0;
  padding: clamp(24px, 5.405vw, 80px);
  box-shadow: 0 2px 10px rgba(11,30,63,.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.path-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(11,30,63,.13); }
.path-card .icon-badge {
  width: min(60px, 4.054vw); height: min(60px, 4.054vw);
  min-width: 44px; min-height: 44px;
  border-radius: 0;
  background: none;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: min(28px, 1.892vw);
  flex: none;
}
.path-card .icon-badge svg { width: 100%; height: 100%; display: block; }
.path-card .badge {
  display: block;
  font-size: clamp(15px, 1.351vw, 20px);
  color: #1DA59A;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.path-card h3 {
  color: #0A615B;
  font-size: clamp(20px, 2.027vw, 30px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: min(12px, .811vw);
}
.path-card p {
  color: #19170F;
  font-size: clamp(14px, 1.351vw, 20px);
  line-height: 1.4;
  letter-spacing: 0;
  margin-bottom: min(28px, 1.892vw);
  flex: 1;
}
.btn-teal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: min(12px, .811vw);
  padding: min(18px, 1.216vw) min(28px, 1.892vw);
  border-radius: 4px;
  font-weight: 700;
  font-size: clamp(13px, 1.081vw, 16px);
  line-height: 24px;
  letter-spacing: 0;
  background: #0C7770;
  color: #fff;
  cursor: pointer;
  border: 0;
  transition: background .2s;
}
.btn-teal:hover { background: #0a635d; }

/* =========================================================================
   SOLUTION INTRO — icon 60x60 at 120, text 1000 at 240 (gap 60)
   eyebrow Roboto 500 20/28 ls2% #1A6DD4 · h2 Roboto 700 48/48 #0E396D
   body Roboto 400 24/32 #19170F
   ========================================================================= */
.product-section { padding-top: min(128px, 8.649vw); background: #fff; }
.product-intro {
  padding-bottom: clamp(32px, 4.054vw, 60px);
  display: flex;
  align-items: flex-start;
  gap: min(60px, 4.054vw);
  max-width: var(--shell);
  margin-inline: auto;
  width: 100%;
}
.product-intro .icon {
  width: min(60px, 4.054vw); height: min(60px, 4.054vw);
  min-width: 40px; min-height: 40px;
  flex-shrink: 0; margin-top: 0;
}
.product-intro .icon svg { width: 100%; height: 100%; }
.product-eyebrow {
  display: block;
  font-size: clamp(15px, 1.351vw, 20px);
  font-weight: 500;
  line-height: 28px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #1A6DD4;
  margin-bottom: min(18px, 1.216vw);
}
.product-intro h2 {
  font-size: clamp(26px, 3.243vw, 48px);
  color: #0E396D;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: min(18px, 1.216vw);
}
.product-intro p {
  font-size: clamp(15px, 1.622vw, 24px);
  color: #19170F;
  line-height: 1.333;
  letter-spacing: 0;
  max-width: min(1000px, 67.568vw);
}

/* =========================================================================
   FUNCTIONALITY PANEL — Figma 1480x754, #F5FAFF
   panel 440 at left 39, padding 40/0/40/24 (inner 416)
   label RCM=900 + FUNCTIONALITY:=700, 20/28 ls2% #1A6DD4
   sub Roboto 400 20/28 ls2% #0B2A50 · rule 2px #0B2A50
   row Roboto 700 20/32 #0E396D -> #1A6DD4 open · divider 2px #D1E6FE
   body Roboto 400 18 lh140% #0B2A50 · video 921 wide, 78 below panel top
   ========================================================================= */
.product-panel {
  background: #F5FAFF;
  padding-top: min(20px, 1.351vw);
  padding-bottom: min(80px, 5.405vw);
}
.product-panel .panel-grid {
  display: grid;
  grid-template-columns: min(440px, 29.730vw) minmax(0, 1fr);
  gap: min(40px, 2.703vw);
  align-items: start;
}
.panel-copy { padding: min(40px, 2.703vw) 0 min(40px, 2.703vw) min(24px, 1.622vw); }
.product-panel .panel-label {
  font-size: clamp(15px, 1.351vw, 20px);
  line-height: 28px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #1A6DD4;
  margin-bottom: min(24px, 1.622vw);
}
.product-panel .panel-label b { font-weight: 900; color: #1A6DD4; }   /* "RCM" / "EHR" */
.product-panel .panel-label i { font-style: normal; font-weight: 700; color: #0E396D; } /* "FEATURES:" */
.product-panel h3 {
  font-size: clamp(15px, 1.351vw, 20px);
  color: #0B2A50;
  line-height: 28px;
  letter-spacing: .02em;
  font-weight: 400;
  margin-bottom: min(24px, 1.622vw);
}
.panel-rule { border-top: 2px solid #0B2A50; }

/* Accordion */
.accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 2px solid #D1E6FE;
  border-radius: 0;
  padding: min(24px, 1.622vw) 0;
  margin-bottom: 0;
  cursor: pointer;
  box-shadow: none;
}
.accordion-item .accordion-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: clamp(15px, 1.351vw, 20px);
  line-height: 32px;
  letter-spacing: 0;
  font-weight: 700;
  color: #0E396D;
  transition: color .2s;
}
.accordion-item.is-open .accordion-title { color: #1A6DD4; }
.accordion-item .chev {
  display: inline-flex;
  align-items: center;
  color: #1A6DD4;
  transform: rotate(0deg);
  transition: transform .25s;
  margin-left: 12px;
  flex-shrink: 0;
}
.accordion-item .chev svg { width: 9px; height: 16px; display: block; }
.accordion-item.is-open .chev { transform: rotate(90deg); }
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  max-height: none;
  overflow: hidden;
  transition: grid-template-rows .35s ease, margin-top .25s ease;
  color: #0B2A50;
  font-size: clamp(14px, 1.216vw, 18px);
  line-height: 1.4;
  letter-spacing: 0;
  margin-top: 0;
}
.accordion-panel > * { overflow: hidden; min-height: 0; opacity: 0; transition: opacity .3s ease .08s; }
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; margin-top: min(12px, .811vw); max-height: none; }
.accordion-item.is-open .accordion-panel > * { opacity: 1; }

/* Video frame + ended overlay */
.video-frame { position: relative; width: 100%; max-width: none; margin-top: min(78px, 5.270vw); }
.video-frame.rcm-frame { max-width: none; }
/* The clip is sized BY the video, not the other way round.
   No fixed aspect-ratio and no object-fit, so the box takes the file's own
   proportions — nothing is cropped and there are no letterbox bars.
   Background is transparent so the section colour (#F5FAFF) shows through
   rather than a white slab behind the frame. */
.video-clip {
  position: relative;
  width: 100%; max-width: none;
  overflow: hidden;
  border-radius: 4px 0 0 0;
  background: transparent;
  line-height: 0;                 /* kills the inline-block descender gap */
}
.video-frame video {
  position: static;
  display: block;
  width: 100%;
  height: auto;                   /* video's natural ratio drives the height */
  background: transparent;
  transform: none;
}
.video-overlay {
  position: absolute; inset: 0;
  background: rgba(20,26,38,.78);
  border-radius: 4px 0 0 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.video-overlay.is-visible { display: flex; }
.video-overlay .learn-more {
  font-size: clamp(1.1rem, 1.9vw, 2rem);
  font-weight: 500;
  letter-spacing: -.01em;
  text-align: center;
  padding: 0 40px;
  line-height: 1.35;
  color: #fff;
  cursor: pointer;
}
.video-overlay .rewatch {
  position: absolute;
  left: 18px; bottom: 14px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: .9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* =========================================================================
   FOUR OPERATING PRINCIPLES — Figma 1480x898, flush (no padding)
   columns 480 | 340 | 340 · rows 451 | 447
   card padding 64/40 (inner 260) · borders 2px #ECE9E3
     row 1: 0 top · row 2: 0 bottom  (so the grid opens on both sections)
   eyebrow Roboto 500 20/28 ls2% #1A6DD4 · h2 Roboto 700 48 lh110% #0E396D
   number Roboto 100 Thin 128/128 #1A6DD4 · title Roboto 700 24 lh120% #0E396D
   ========================================================================= */
.principles { padding-block: 0; background: #fff; }
.principles-grid {
  display: grid;
  grid-template-columns: min(480px, 32.432vw) min(340px, 22.973vw) min(340px, 22.973vw);
  justify-content: start;
  border: 0;
}
.principles-grid > div {
  padding: min(64px, 4.324vw) min(40px, 2.703vw);
  border: 0 solid #ECE9E3;
}
.principles-grid .cell-text.row-1 { border-width: 0 2px 2px 2px; margin: 0 -2px -2px 0; }
.principles-grid .cell-text.row-2 { border-width: 2px 2px 0 2px; margin: 0 -2px 0 0; }
.principles-intro {
  border: 0 !important;
  margin: 0 !important;
  padding: min(149px, 10.068vw) min(40px, 2.703vw) 0 0 !important;
}
.principles-intro > * { max-width: min(440px, 29.730vw); }
.principles-grid .cell-photo {
  padding: 0 !important;
  border: 0 !important;
  margin: 0 !important;
  position: relative;
  min-height: min(448px, 30.270vw);
  overflow: hidden;
}
.principles-grid .cell-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  position: absolute; inset: 0;
  transition: transform 1.2s ease;
}
.principles-grid .cell-photo:hover img { transform: scale(1.06); }
.principles-intro .eyebrow {
  display: block;
  font-size: clamp(15px, 1.351vw, 20px);
  font-weight: 500;
  line-height: 28px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #1A6DD4;
  margin-bottom: min(24px, 1.622vw);
}
.principles-intro h2 {
  font-size: clamp(26px, 3.243vw, 48px);
  color: #0E396D;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: min(24px, 1.622vw);
}
.principles-intro p {
  color: #19170F;
  font-size: clamp(14px, 1.216vw, 18px);
  line-height: 1.4;
}
.principle-num {
  font-size: clamp(56px, 8.649vw, 128px);
  font-weight: 100;
  color: #1A6DD4;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: min(24px, 1.622vw);
}
.principles-grid h4 {
  font-size: clamp(17px, 1.622vw, 24px);
  color: #0E396D;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: min(24px, 1.622vw);
}
.principles-grid .cell-text p {
  color: #19170F;
  font-size: clamp(14px, 1.216vw, 18px);
  line-height: 1.4;
}

/* =========================================================================
   WHO WE SERVE — Figma 1480x1118, padding 128/40/96/40, #ECFAF9
   heading block 1000 at 240 · cards 440 at gutter 40, gap 40
   card image 440x200 · text padding 64 (inner 312) · border-top 6px #3CC5BB
   title Roboto 700 30 lh120% #0C7770 · body Roboto 400 20 lh140% #19170F
   ========================================================================= */
.who-we-serve {
  padding-top: min(128px, 8.649vw);
  padding-bottom: min(96px, 6.486vw);
  background: #ECFAF9;
}
.who-we-serve .eyebrow {
  display: block;
  font-size: clamp(15px, 1.351vw, 20px);
  font-weight: 400;
  line-height: 28px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #0C7770;
  margin-bottom: min(18px, 1.216vw);
}
.who-we-serve h2 {
  font-size: clamp(26px, 3.243vw, 48px);
  color: #084E49;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: min(18px, 1.216vw);
}
.who-we-serve > .container > p {
  font-size: clamp(15px, 1.622vw, 24px);
  color: #2B2823;
  line-height: 1.4;
  max-width: min(1000px, 67.568vw);
  margin-bottom: min(80px, 5.405vw);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: min(40px, 2.703vw);
  align-items: stretch;
}
.audience-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: none;
  transition: transform .3s ease, box-shadow .3s ease;
}
.audience-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(11,30,63,.14); }
.audience-card .photo { height: auto; aspect-ratio: 440 / 200; position: relative; overflow: hidden; }
.audience-card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s ease; }
.audience-card:hover .photo img { transform: scale(1.06); }
.audience-card .body {
  padding: min(64px, 4.324vw);
  border-top: 6px solid #3CC5BB;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.audience-card h3 {
  font-size: clamp(20px, 2.027vw, 30px);
  color: #0C7770;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: min(32px, 2.162vw);
}
.audience-card p {
  color: #19170F;
  font-size: clamp(14px, 1.351vw, 20px);
  line-height: 1.4;
  letter-spacing: 0;
}

/* =========================================================================
   CTA — Figma 1480x900 · card 560x451 at left 160, 192 down
   padding 72 (inner 416) · border-top 6px #1DA59A · backdrop blur 15
   h2 Roboto 700 32/48 #0C7770 · body Roboto 400 18 lh140% #042521
   button 204x48 padding 18/28 gap 12 #0C7770
   ========================================================================= */
.cta-section { position: relative; min-height: min(900px, 60.811vw); background: #e2e8f0; overflow: hidden; }
.cta-media { position: absolute; inset: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s ease; }
.cta-section:hover .cta-media img { transform: scale(1.05); }
.cta-section .container { position: relative; z-index: 2; padding-top: min(192px, 12.973vw); padding-bottom: 0; }
.cta-card {
  width: min(560px, 37.838vw);
  max-width: 100%;
  background: rgba(255,255,255,.82);
  padding: min(72px, 4.865vw);
  border-radius: 0;
  border-top: 6px solid #1DA59A;
  box-shadow: 0 20px 50px rgba(11,30,63,.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}
.cta-card h2 {
  color: #0C7770;
  font-size: clamp(22px, 2.162vw, 32px);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: min(21px, 1.419vw);
}
.cta-card p {
  color: #042521;
  margin-bottom: min(33px, 2.230vw);
  font-size: clamp(14px, 1.216vw, 18px);
  line-height: 1.4;
  letter-spacing: 0;
}
.btn-teal-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: min(12px, .811vw);
  padding: min(18px, 1.216vw) min(28px, 1.892vw);
  border-radius: 4px;
  font-weight: 700;
  font-size: clamp(13px, 1.081vw, 16px);
  line-height: 24px;
  letter-spacing: 0;
  background: #0C7770;
  color: #fff;
  cursor: pointer;
  border: 0;
  transition: background .2s;
}
.btn-teal-lg:hover { background: #0a635d; }

/* =========================================================================
   FOOTER — Figma 1480x673, padding 96/160, #071C36
   columns 440 | 200 | 200 | 200, gap 40 · logo 64
   headings Roboto 700 20/28 #3D96FF · links Roboto 400 16/32 underline #FFF
   blurb Roboto 400 18/24 #FFF · divider 2px #0E396D
   legal 16/24 underline #A8CFFD · disclaimer 14/20 #A8CFFD
   ========================================================================= */
.site-footer { background: #071C36; color: #ffffff; padding-block: min(96px, 6.486vw); }
.footer-grid {
  display: grid;
  grid-template-columns: min(440px, 29.730vw) repeat(3, min(200px, 13.514vw));
  gap: min(40px, 2.703vw);
  margin-bottom: min(32px, 2.162vw);
}
.footer-brand-mark {
  width: min(64px, 4.324vw); height: min(64px, 4.324vw);
  display: block; border-radius: 0; overflow: hidden;
  margin-bottom: min(20px, 1.351vw);
}
.footer-brand-mark svg { width: 100%; height: 100%; }
.footer-brand-name { display: block; width: min(178px, 12.027vw); min-width: 132px; }
.footer-brand-name svg,
.footer-brand-name img { width: 100%; height: auto; display: block; }
.footer-grid p {
  font-size: clamp(14px, 1.216vw, 18px);
  color: #ffffff;
  max-width: min(440px, 29.730vw);
  line-height: 1.333;
  margin: min(24px, 1.622vw) 0;
}
.footer-email {
  display: inline-flex; align-items: center; gap: 8px;
  color: #3D96FF;
  font-size: clamp(14px, 1.081vw, 16px);
  font-weight: 500;
}
.footer-grid h5 {
  color: #3D96FF;
  font-size: clamp(16px, 1.351vw, 20px);
  text-transform: none;
  line-height: 28px;
  letter-spacing: 0;
  margin-bottom: min(16px, 1.081vw);
  font-weight: 700;
}
.footer-grid ul li { margin-bottom: 0; }
.footer-grid ul li a {
  color: #ffffff;
  font-size: clamp(14px, 1.081vw, 16px);
  line-height: 32px;
  letter-spacing: 0;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.25);
  text-underline-offset: 3px;
  transition: opacity .2s;
}
.footer-grid ul li a:hover { opacity: .75; }
.footer-legal {
  border-top: 2px solid #0E396D;
  padding-top: min(32px, 2.162vw);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: min(32px, 2.162vw);
  font-size: clamp(14px, 1.081vw, 16px);
  color: #A8CFFD;
  line-height: 24px;
}
.footer-legal-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a,
.footer-legal-links a {
  color: #A8CFFD;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.25);
  text-underline-offset: 3px;
  transition: opacity .2s;
}
.footer-legal-links a:hover { opacity: .75; }
.footer-disclaimer {
  margin-top: min(32px, 2.162vw);
  padding-top: 0;
  border-top: 0;
  font-size: clamp(12px, .946vw, 14px);
  color: #A8CFFD;
  line-height: 1.43;
}

/* =========================================================================
   DEMO MODAL (unchanged behaviour, tightened type)
   ========================================================================= */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(11,30,63,.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-backdrop.is-open { display: flex; }
.modal-panel {
  background: #fff;
  width: 100%; max-width: 480px;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(11,30,63,.35);
  padding: 32px;
  position: relative;
  max-height: 90vh; overflow: auto;
  animation: modal-pop .28s cubic-bezier(.2,.9,.3,1);
}
@keyframes modal-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: transparent; border: 0;
  font-size: 1.4rem; color: #64748b;
  cursor: pointer; line-height: 1; padding: 4px 8px;
}
.modal-success { display: none; text-align: center; padding: 20px 0 8px; }
.modal-success.is-visible { display: block; }
.modal-success .check-badge {
  width: 56px; height: 56px; border-radius: 50%;
  background: #dcfce7;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.modal-success h3 { font-size: 1.35rem; color: #0E396D; margin-bottom: 8px; font-weight: 700; }
.modal-success p { color: #475569; font-size: .95rem; line-height: 1.55; }
.modal-form-wrap.is-hidden { display: none; }
.modal-form-wrap h3 { font-size: 1.35rem; color: #0E396D; margin-bottom: 6px; font-weight: 700; }
.modal-form-wrap > p { color: #64748b; font-size: .88rem; margin-bottom: 12px; line-height: 1.5; }
.modal-form-wrap .footer-email { margin-bottom: 18px; color: #1A6DD4; }
.modal-form-wrap label { display: block; font-size: .78rem; font-weight: 600; color: #334155; margin-bottom: 6px; }
.modal-form-wrap input, .modal-form-wrap textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid #cbd5e1; border-radius: 8px;
  font-size: .92rem; margin-bottom: 16px;
  font-family: inherit; box-sizing: border-box; outline: none;
}
.modal-form-wrap input:focus, .modal-form-wrap textarea:focus { border-color: #1A6DD4; }
.modal-form-wrap textarea { resize: vertical; margin-bottom: 20px; }
.btn-submit {
  width: 100%; padding: 12px 20px; border-radius: 8px; border: 0;
  background: #1A6DD4; color: #fff; font-size: .95rem; font-weight: 600; cursor: pointer;
}
.btn-submit:hover { background: #1558ab; }

/* =========================================================================
   CHEVRON ICON (10x18, from Vector.png / Vector2.png)
   ========================================================================= */
.chev-icon { width: 10px; height: 18px; flex: none; transition: transform .2s; }
.btn-cta-nav .chev-icon { color: #A8CFFD; }
.btn-teal .chev-icon, .btn-teal-lg .chev-icon { color: #3CC5BB; }
.btn-cta-nav:hover .chev-icon,
.btn-teal:hover .chev-icon,
.btn-teal-lg:hover .chev-icon { transform: translateX(3px); }

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.rv { opacity: 0; transform: translateY(30px);
      transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.rv.is-in { opacity: 1; transform: none; }
.rv.from-left  { transform: translateX(-36px); }
.rv.from-right { transform: translateX(36px); }
.rv.zoom       { transform: scale(.95); }
.rv.from-left.is-in, .rv.from-right.is-in, .rv.zoom.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1 !important; transform: none !important; }
  * { animation: none !important; transition: none !important; }
}

/* =========================================================================
   MOBILE — Figma 390 frame, single 24px gutter
   ========================================================================= */
@media (max-width: 900px) {

  /* header sits at the top; it does NOT float over the photo */
  .site-header { top: 0 !important; box-shadow: none; }
  .site-header.is-docked { box-shadow: 0 8px 24px -12px rgba(0,0,0,.55); }
  .site-header .container { height: 81px; min-height: 81px; }
  .site-header .logo svg,
  .site-header .logo img { width: 114px; }
  .nav-list a.nav-link, .nav-list a.nav-link-primary { display: none; }
  .btn-cta-nav {
    width: 178px; height: 42px; padding: 16px; gap: 12px;
    font-size: 16px; line-height: 24px;
  }
  .nav-row-mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 48px;
    background: #0B2A50;
    align-items: center;
  }
  .nav-row-mobile a {
    display: flex; align-items: center; justify-content: center;
    height: 100%;
    font-size: 15px; line-height: 28px; font-weight: 700;
    color: #fff; white-space: nowrap; padding-inline: 8px;
  }
  .nav-row-mobile a:first-child { color: #79B5FC; justify-content: flex-start; padding-left: 24px; }
  .nav-row-mobile a:last-child { justify-content: flex-end; padding-right: 24px; }
  .nav-row-mobile a + a { border-left: 1px solid #0E396D; }

  /* hero: image 309 tall, starts below the 129px header */
  .hero { margin-top: 129px; height: 309px; }
  .hero-copy h1 {
    left: 24px; top: 120px;
    width: 342px; max-width: calc(100% - 48px);
    font-size: 30px; line-height: 1; margin-top: 0;
  }

  /* operational reality */
  .section-intro { padding-block: 48px; }
  .section-intro .eyebrow { font-size: 19px; line-height: 30px; letter-spacing: 0; margin-bottom: 32px; }
  .section-intro .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-intro p { font-size: 15px; line-height: 23px; }

  /* two paths */
  .two-paths { padding-block: 48px; }
  .two-paths h2 { font-size: 25px; line-height: 34px; margin-bottom: 16px; }
  .two-paths > .container > p { font-size: 15px; line-height: 23px; max-width: none; margin-bottom: 40px; }
  .paths-grid { grid-template-columns: 1fr; gap: 40px; }
  .path-card { padding: 40px 24px; }
  .path-card .icon-badge { width: 40px; height: 40px; min-width: 40px; min-height: 40px; margin-bottom: 20px; }
  .path-card .badge { font-size: 15px; line-height: 23px; font-weight: 700; margin-bottom: 4px; }
  .path-card h3 { font-size: 23px; line-height: 30px; margin-bottom: 8px; }
  .path-card p { font-size: 15px; line-height: 23px; margin-bottom: 20px; }
  .btn-teal, .btn-teal-lg { padding: 18px 28px; gap: 12px; font-size: 15px; line-height: 23px; }

  /* solution intro: icon above the text */
  .product-section { padding-top: 48px; }
  .product-intro { flex-direction: column; gap: 20px; padding-bottom: 40px; }
  .product-intro .icon { width: 56px; height: 56px; }
  .product-eyebrow { font-size: 15px; line-height: 23px; margin-bottom: 8px; }
  .product-intro h2 { font-size: 25px; line-height: 1.2; margin-bottom: 14px; }
  .product-intro p { font-size: 15px; line-height: 1.5; max-width: none; }

  /* functionality: accordion only */
  .product-panel { padding-block: 32px; }
  .product-panel .panel-grid { grid-template-columns: 1fr; }
  .panel-copy { padding: 24px 0; }
  .video-frame { display: none; }

  /* principles: intro -> photo -> 1 -> 2 -> 3 -> 4 */
  .principles { padding-block: 48px; }
  .principles-grid { display: flex; flex-direction: column; grid-template-columns: none; }
  .principles-grid > div { padding: 28px 0; border: 0; margin: 0; }
  .principles-intro { order: 1; padding: 0 !important; }
  .principles-intro > * { max-width: none; }
  .principles-intro .eyebrow { font-size: 15px; line-height: 26px; letter-spacing: 0; margin-bottom: 20px; }
  .principles-intro h2 { font-size: 23px; line-height: 30px; margin-bottom: 20px; }
  .principles-intro h2 br { display: none; }
  .principles-intro p { font-size: 15px; line-height: 23px; }
  .principles-grid .cell-photo {
    order: 2; min-height: 212px; margin-top: 32px !important;
    width: 100vw !important; max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }
  .principles-grid .cell-text { order: 3; border: 0; border-bottom: 1px solid #ECE9E3; margin: 0; }
  .principles-grid .cell-text:last-child { border-bottom: 0; }
  .principle-num { font-size: 52px; margin-bottom: 16px; }
  .principles-grid h4 { font-size: 19px; line-height: 26px; margin-bottom: 12px; }
  .principles-grid h4 br { display: none; }
  .principles-grid .cell-text p { font-size: 15px; line-height: 23px; }

  /* who we serve */
  .who-we-serve { padding-block: 48px; }
  .who-we-serve .eyebrow { font-size: 15px; line-height: 23px; margin-bottom: 10px; }
  .who-we-serve h2 { font-size: 25px; line-height: 34px; margin-bottom: 12px; }
  .who-we-serve > .container > p { font-size: 15px; line-height: 23px; max-width: none; margin-bottom: 32px; }
  .audience-grid { grid-template-columns: 1fr; gap: 32px; }
  .audience-card .body { padding: 28px 24px; }
  .audience-card h3 { font-size: 19px; line-height: 26px; margin-bottom: 14px; }
  .audience-card p { font-size: 15px; line-height: 23px; }

  /* cta */
  .cta-section { min-height: 520px; }
  .cta-section .container { padding-block: 64px; }
  .cta-card { width: auto; padding: 28px 24px; }

  /* footer */
  .site-footer { padding-block: 48px; }
  .footer-grid { display: flex; flex-direction: column; gap: 48px; margin-bottom: 48px; }
  .footer-brand-mark { width: 64px; height: 64px; margin-bottom: 20px; }
  .footer-brand-name { width: 150px; }
  .footer-grid p { font-size: 14px; line-height: 20px; max-width: none; margin: 16px 0 0; }
  .footer-grid h5 { font-size: 20px; line-height: 28px; margin-bottom: 12px; }
  .footer-grid ul li a { font-size: 16px; line-height: 32px; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 32px; }
  .footer-legal-links { flex-direction: column; gap: 12px; }
  .footer-disclaimer { font-size: 12px; line-height: 18px; margin-top: 32px; }
}
