/* ══════════════════════════════════════════════════
   OP Solutions — Consolidated Styles
   Single-Page Application
   ══════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────── */
:root {
  --navy:       #0B1F3A;
  --navy-mid:   #162D52;
  --blue:       #1565C0;
  --blue-hi:    #1E88E5;
  --blue-light: #E3F0FF;
  --teal:       #006D77;
  --teal-light: #EDF6F7;
  --cream:      #F8F5EF;
  --off-white:  #FDFCF9;
  --text:       #111827;
  --text-mid:   #374151;
  --text-muted: #6B7280;
  --green:      #2D6A4F;


  /* ─── LOGO IMAGES ─────────────────────────────────── */
  .nav-logo { display: flex; align-items: center; gap: 0; text-decoration: none; }
  .nav-logo-img { display: block; height: 28px; width: auto; }

  /* Light-background logo: natural colors (blue badge + black text) */
  .logo-on-light { filter: none; }

  /* Dark-background logo: full white */
  .logo-on-dark  { filter: brightness(0) invert(1); }

  

  /* Features section: Compass logo — natural colors, centered */
  .section-compass-logo {
    display: block; height: 30px; width: auto;
    margin: 0 0 0.9rem 0;
    filter: none;
  }
  /* ─── TYPE SCALE: 6 stops, used consistently ────────
     xs   12px  labels, pills, captions
     sm   14px  secondary body, small UI
     base 16px  primary body
     lg   18px  lead paragraphs
     xl   22px  card/section titles
     disp fluid display headings (clamp)             */
  --xs:   0.75rem;
  --sm:   0.875rem;
  --base: 1rem;
  --lg:   1.125rem;
  --xl:   1.375rem;
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--base);
  line-height: 1.65;
  color: var(--text);
  background: var(--off-white);
  overflow-x: hidden;
}

/* Serif display — used for all large headings only */
.serif {
  font-family: 'Lora', serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.serif em { font-style: italic; }

/* ─── NAVIGATION ─────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 66px;
  background: rgba(253,252,249,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11,31,58,0.08);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(11,31,58,0.09); }

.nav-logo { display: flex; align-items: center; gap: 0.45rem; text-decoration: none; }
.logo-op {
  background: var(--blue); color: white;
  font-weight: 600; font-size: var(--sm);
  padding: 0.18rem 0.5rem; border-radius: 4px;
}
.logo-name { font-weight: 500; font-size: var(--lg); color: var(--navy); }
.logo-sep  { width: 1px; height: 16px; background: rgba(11,31,58,0.18); margin: 0 0.35rem; }
.logo-product {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: var(--lg); color: var(--blue); letter-spacing: -0.02em;
}

.nav-btns { display: flex; gap: 0.6rem; }
.btn-outline {
  font-size: var(--sm); font-weight: 500; color: var(--navy);
  border: none; background: #90CAF9;
  padding: 0.5rem 1.1rem; border-radius: 6px;
  text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.btn-outline:hover { color: var(--navy); background: #a8d5fa; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(144,202,249,0.4); }
.btn-solid {
  font-size: var(--sm); font-weight: 600; color: var(--navy);
  background: #90CAF9; border: none;
  padding: 0.5rem 1.1rem; border-radius: 6px;
  text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.btn-solid:hover { background: #a8d5fa; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(144,202,249,0.4); }

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  min-height: 100vh; padding-top: 66px;
  background: var(--navy);
  display: flex; align-items: flex-start;
  position: relative; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(30,136,229,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,136,229,0.055) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-glow {
  position: absolute; pointer-events: none;
  border-radius: 50%;
}
.hero-glow-1 { top: -10%; right: -5%; width: 55%; height: 70%;
  background: radial-gradient(ellipse, rgba(21,101,192,0.22) 0%, transparent 65%); }
.hero-glow-2 { bottom: -20%; left: -5%; width: 45%; height: 65%;
  background: radial-gradient(ellipse, rgba(0,109,119,0.16) 0%, transparent 65%); }

.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 8rem 2rem 4rem;
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}

/* — Hero left — */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(30,136,229,0.14); border: 1px solid rgba(30,136,229,0.28);
  color: #90CAF9; font-size: var(--xs); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 100px; margin-bottom: 1.4rem;
}
.eyebrow-dot {
  width: 6px; height: 6px; background: #64B5F6; border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.4} }

.hero h1 {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: clamp(2.1rem, 3.8vw, 3.5rem);
  line-height: 1.13; letter-spacing: -0.03em;
  color: white; margin-bottom: 1.4rem;
}
.hero h1 em { font-style: italic; color: #90CAF9; }

.hero-sub {
  font-size: var(--lg); color: rgba(255,255,255,0.62);
  line-height: 1.7; max-width: 480px; margin-bottom: 2.25rem;
}
.hero-sub strong { color: rgba(255,255,255,0.9); font-weight: 500; }

.hero-ctas { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.btn-hero-primary {
  font-size: var(--base); font-weight: 600; color: white; background: var(--blue);
  border: none; padding: 0.8rem 1.6rem; border-radius: 8px;
  text-decoration: none; transition: all 0.25s; display: inline-flex; align-items: center; gap: 0.4rem;
}
.btn-hero-primary:hover { background: var(--blue-hi); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,136,229,0.38); }
.btn-hero-ghost {
  font-size: var(--base); font-weight: 500; color: rgba(255,255,255,0.78);
  background: transparent; border: 1.5px solid rgba(255,255,255,0.2);
  padding: 0.8rem 1.6rem; border-radius: 8px;
  text-decoration: none; transition: all 0.25s;
}
.btn-hero-ghost:hover { border-color: rgba(255,255,255,0.48); color: white; }

.hero-proof { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.proof-item { display: flex; align-items: center; gap: 0.4rem; font-size: var(--sm); color: rgba(255,255,255,0.48); }
.proof-check { color: #4CAF50; }
.proof-sep   { width: 1px; height: 14px; background: rgba(255,255,255,0.12); }

/* — Hero right: actual Compass report visuals — */
.hero-visual { display: flex; flex-direction: column; gap: 1rem; }

.glass-card {
  background: rgba(255,255,255,0.06); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 1.25rem 1.4rem;
}
.glass-card:first-child { animation: float 7s ease-in-out infinite; }
.glass-card:last-child  { animation: float 7s ease-in-out infinite; animation-delay: 2.5s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }

.vis-label {
  font-size: var(--xs); font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: #90CAF9; margin-bottom: 1rem;
}

/* Biometric grid */
.bio-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.55rem; }
.bio-cell {
  background: rgba(255,255,255,0.05); border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.07); padding: 0.6rem 0.5rem;
}
.bio-cell-name  { font-size: 0.65rem; color: rgba(255,255,255,0.38); margin-bottom: 0.3rem; }
.bio-cell-val   { font-family: 'Lora',serif; font-size: 0.95rem; font-weight: 600; color: white; line-height:1; }
.bio-cell-delta {
  display: inline-flex; align-items: center; gap: 0.18rem;
  font-size: 0.62rem; font-weight: 700;
  margin-top: 0.22rem; padding: 0.1rem 0.28rem; border-radius: 3px;
}
.delta-down { background: rgba(239,68,68,0.2);  color: #FCA5A5; }
.delta-up   { background: rgba(45,106,79,0.28); color: #6EE7A8; }
.delta-flat { background: rgba(100,100,100,0.2); color: rgba(255,255,255,0.45); }

.ai-strip {
  margin-top: 0.75rem; background: rgba(21,101,192,0.14);
  border: 1px solid rgba(30,136,229,0.22); border-radius: 8px;
  padding: 0.7rem 0.9rem; display: flex; gap: 0.6rem; align-items: flex-start;
}
.ai-tag {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.05em;
  background: rgba(30,136,229,0.28); color: #90CAF9;
  padding: 0.18rem 0.38rem; border-radius: 3px;
  white-space: nowrap; margin-top: 0.1rem; flex-shrink: 0;
}
.ai-copy { font-size: 0.7rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.ai-copy strong { color: rgba(255,255,255,0.85); }

/* Balance chart */
.bal-rows { display: flex; flex-direction: column; gap: 0.5rem; }
.bal-row  { display: flex; align-items: center; gap: 0.55rem; }
.bal-label { font-size: 0.64rem; color: rgba(255,255,255,0.42); width: 108px; flex-shrink:0; text-align:right; line-height:1.3; }
.bal-bars  { flex: 1; display: flex; flex-direction: column; gap: 0.16rem; }
.bar-track { height: 7px; background: rgba(255,255,255,0.07); border-radius: 4px; overflow: hidden; }
.bar-fill  { height: 100%; border-radius: 4px; }
.bg-green  { background: #4CAF50; }
.bg-red    { background: #EF5350; }
.bg-orange { background: #FF9800; }
.bal-delta {
  font-size: 0.62rem; font-weight: 700; width: 40px; text-align: center;
  background: rgba(239,68,68,0.18); color: #FCA5A5;
  padding: 0.12rem 0.28rem; border-radius: 3px; flex-shrink: 0;
}

/* ─── TAGLINE BAND ───────────────────────────────────── */
.tagline-band {
  background: var(--blue); padding: 2.25rem 2rem;
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.tagline-item {
  display: flex; align-items: center;
  font-family: 'Lora', serif; font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em; color: white;
}
.tagline-sep { width: 6px; height: 6px; background: rgba(255,255,255,0.4); border-radius: 50%; }

/* ─── SHARED SECTION SHELL ───────────────────────────── */
.section { padding: 6rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.eyebrow-label {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    background: var(--blue); color: #fff;
    padding: 0.36rem 0.85rem; border-radius: 5px;
    margin-bottom: 1.1rem;
  }
.section-h2 {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  letter-spacing: -0.03em; line-height: 1.13;
  color: var(--navy); margin-bottom: 1.25rem;
}

.features-main-logo{display:block;width:min(360px,70%);max-width:420px;height:auto;margin:3rem 0 1.4rem;}
.section-h2 em { font-style: italic; }
.section-lead { font-size: var(--lg); color: var(--text-mid); line-height: 1.7; }

/* ─── PROBLEM ────────────────────────────────────────── */
.problem-section { background: var(--cream); }

.problem-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; margin-top: 3.5rem; align-items: start;
}

.problem-list { display: flex; flex-direction: column; gap: 1.1rem; }
.problem-card {
  display: flex; gap: 1rem; padding: 1.35rem;
  background: white; border-radius: 12px;
  border: 1px solid rgba(11,31,58,0.07);
  transition: all 0.25s;
}
.problem-card:hover { transform: translateX(4px); border-color: rgba(21,101,192,0.2); box-shadow: 0 4px 16px rgba(11,31,58,0.06); }
.problem-icon {
  width: 40px; height: 40px; border-radius: 8px; background: #FEF3F2;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem;
}
.problem-title { font-size: var(--base); font-weight: 600; color: var(--navy); margin-bottom: 0.25rem; }
.problem-body  { font-size: var(--sm); color: var(--text-muted); line-height: 1.6; }

/* Quote */
.quote-card {
  background: var(--navy); border-radius: 16px; padding: 2.4rem;
  color: white; position: sticky; top: 82px;
}
.quote-mark {
  font-family: 'Lora', serif; font-size: 3.5rem;
  line-height: 0.8; color: rgba(30,136,229,0.38); margin-bottom: 1.1rem;
}
.quote-body {
  font-family: 'Lora', serif; font-size: 1.05rem;
  font-weight: 400; font-style: italic;
  line-height: 1.7; color: rgba(255,255,255,0.9); margin-bottom: 1.6rem;
}
.quote-rule { height: 1px; background: rgba(255,255,255,0.1); margin-bottom: 1.25rem; }
.quote-attr { display: flex; align-items: center; gap: 0.85rem; }
.quote-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.quote-name { font-size: var(--sm); font-weight: 600; color: white; }
.quote-role { font-size: var(--xs); color: rgba(255,255,255,0.48); line-height: 1.45; margin-top: 0.15rem; }

/* ─── GUIDE ──────────────────────────────────────────── */
.guide-section { background: var(--off-white); }
.guide-layout {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}

.cred-list { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 2rem; }
.cred-item { display: flex; align-items: flex-start; gap: 0.8rem; font-size: var(--sm); color: var(--text-mid); }
.cred-icon {
  width: 30px; height: 30px; background: var(--blue-light); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0; margin-top: 0.1rem;
}

.guide-panel {
  background: linear-gradient(140deg, var(--navy) 0%, #162D52 100%);
  border-radius: 20px; padding: 2.4rem; position: relative; overflow: hidden;
}
.guide-panel-glow {
  position: absolute; top: -30%; right: -20%; width: 60%; height: 60%; pointer-events: none;
  background: radial-gradient(circle, rgba(30,136,229,0.28) 0%, transparent 68%);
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; position: relative; z-index:1; }
.stat-box {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 1.4rem 1.2rem;
}
.stat-num {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  color: white; line-height: 1; margin-bottom: 0.3rem;
}
.stat-num span { color: #90CAF9; }
.stat-desc { font-size: var(--xs); color: rgba(255,255,255,0.52); line-height: 1.45; }

/* ─── HOW IT WORKS ───────────────────────────────────── */
.how-section { background: var(--cream); }


.steps-row {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.75rem; margin-top: 3.5rem; position: relative;
}
.steps-row::before {
  content: ''; position: absolute; top: 26px;
  left: calc(16.67% + 1rem); right: calc(16.67% + 1rem); height: 2px;
  background: repeating-linear-gradient(90deg, rgba(21,101,192,0.3) 0, rgba(21,101,192,0.3) 6px, transparent 6px, transparent 13px);
}
.step {
  background: white; border-radius: 14px; padding: 2rem;
  border: 1px solid rgba(11,31,58,0.07); transition: all 0.3s;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(11,31,58,0.08); border-color: rgba(21,101,192,0.18); }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: white;
  font-family: 'Lora', serif; font-weight: 600; font-size: var(--xl);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
}
.step-title {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: var(--xl); letter-spacing: -0.02em; color: var(--navy); margin-bottom: 0.55rem;
}
.step-body { font-size: var(--sm); color: var(--text-muted); line-height: 1.65; }

/* ─── FEATURES ───────────────────────────────────────── */
.features-section { background: var(--off-white); }


.features-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.4rem; }
.feature-card {
  border-radius: 14px; padding:1.6rem 2rem 1.85rem 2rem;
  border: 1px solid transparent; transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(11,31,58,0.08); }
.fc-blue  { background: var(--blue-light);  border-color: rgba(21,101,192,0.14); }
.fc-teal  { background: var(--teal-light);  border-color: rgba(0,109,119,0.14); }
.fc-cream { background: var(--cream);        border-color: rgba(11,31,58,0.07); }
.fc-navy  { background: var(--navy);         border-color: transparent; }

.feature-icon  { font-size: 1.6rem; margin: 0.35rem 0 0.95rem; display: block; }
.feature-title {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: var(--xl); letter-spacing: -0.02em; color: var(--navy); margin-bottom: 0.5rem;
}
.fc-navy .feature-title { color: white; }
.feature-body { font-size: var(--sm); line-height: 1.65; color: var(--text-mid); }
.fc-navy .feature-body { color: rgba(255,255,255,0.62); }

.pills { display: flex; flex-wrap: wrap; gap: 0.38rem; margin-top: 0.9rem; }
.pill {
  font-size: var(--xs); font-weight: 600;
  padding: 0.18rem 0.55rem; border-radius: 100px;
  background: rgba(21,101,192,0.1); color: var(--blue);
}
.pill-teal  { background: rgba(0,109,119,0.1); color: var(--teal); }
.pill-white { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.68); }

/* ─── MIGRATION ──────────────────────────────────────── */
.migration-section { background: var(--cream); padding: 6rem 2rem; }
.migration-layout {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.migration-steps { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 1.5rem; }
.m-step { display: flex; gap: 1rem; align-items: flex-start; }
.m-step-num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--blue);
  color: white; font-size: var(--xs); font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 0.2rem;
}
.m-step-title { font-size: var(--base); font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; }
.m-step-body  { font-size: var(--sm); color: var(--text-muted); line-height: 1.6; }

.migration-callout { background: var(--navy); border-radius: 16px; padding: 2.4rem; color: white; }
.mc-title {
  font-family: 'Lora', serif; font-weight: 600; font-style: italic;
  font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.3;
  color: white; margin-bottom: 1rem;
}
.mc-body { font-size: var(--sm); color: rgba(255,255,255,0.62); line-height: 1.7; margin-bottom: 1.5rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.check-list li { display: flex; align-items: center; gap: 0.55rem; font-size: var(--sm); color: rgba(255,255,255,0.78); }
.chk { color: #6EE7A8; flex-shrink: 0; }

/* ─── PATIENT PORTAL ─────────────────────────────────── */
.portal-section { background: var(--off-white); }
.portal-layout {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center;
}

/* Prominent eyebrow for portal section */
.portal-eyebrow {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    background: var(--blue); color: #fff;
    padding: 0.36rem 0.85rem; border-radius: 5px;
    margin-bottom: 1.1rem;
  }

.portal-timeline { display: flex; flex-direction: column; margin-top: 1.8rem; position: relative; }
.portal-timeline::before { display: none; }

/* Vertical connector line between events (connects item-to-item, stops above the last marker) */
.portal-event:not(:last-child)::after{
  content:'';
  position:absolute;
  /* center of the 36px dot */
  left: 18px;
  /* start at the bottom of the dot */
  top: 36px;
  width:2px;
  /* extend through the event's spacing to the next item */
  height: calc(100% - 36px);
  background: linear-gradient(to bottom, var(--blue), var(--teal));
  opacity:0.18;
}
.portal-event { display: flex; gap: 1.1rem; padding-bottom: 0.95rem; position: relative; }
.portal-event:last-child { padding-bottom: 0; }
.p-dot {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; flex-shrink: 0; position: relative; z-index: 1;
}
.p-dot-1 { background: rgba(21,101,192,0.1); }
.p-dot-2 { background: rgba(0,109,119,0.1); }
.p-dot-3 { background: rgba(201,148,58,0.1); }
.p-event-title { font-size: var(--base); font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; margin-top: 0.15rem; }
.p-event-body  { font-size: var(--sm); color: var(--text-muted); line-height: 1.6; }


/* Portal mockup */
.portal-mockup {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.mockup-bar {
  background: var(--navy); padding: 0.85rem 1.25rem;
  display: flex; align-items: center; gap: 0.45rem;
}
.mockup-dots { display: flex; gap: 0.35rem; }
.md { width: 9px; height: 9px; border-radius: 50%; }
.md-r { background: #FF5F57; } .md-y { background: #FEBC2E; } .md-g { background: #28C840; }
.mockup-url {
  flex: 1; background: rgba(255,255,255,0.07); border-radius: 4px;
  padding: 0.28rem 0.65rem; font-size: var(--xs); color: rgba(255,255,255,0.45);
  font-family: monospace; margin-left: 0.4rem;
}
.mockup-body { padding: 1.4rem; }
.mockup-greeting { margin-bottom: 1rem; }
.mockup-greeting strong { font-size: var(--base); color: var(--navy); }
.mockup-greeting span   { font-size: var(--sm); color: var(--text-muted); display: block; margin-top: 0.15rem; }
.mockup-cards {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0.55rem; margin-bottom: 1.1rem;
}
.mockup-card {
  background: var(--blue-light); border: 1px solid rgba(21,101,192,0.12);
  border-radius: 8px; padding: 0.8rem 0.5rem; text-align: center;
}
.mockup-card-icon  { font-size: 1.1rem; margin-bottom: 0.3rem; }
.mockup-card-label { font-size: var(--xs); font-weight: 600; color: var(--blue); }
.mockup-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.55rem 0; border-bottom: 1px solid rgba(11,31,58,0.06);
  font-size: var(--sm);
}
.mockup-row:last-child { border-bottom: none; }
.mockup-row-label  { color: var(--text-mid); }
.status-badge { font-size: var(--xs); font-weight: 600; padding: 0.14rem 0.45rem; border-radius: 4px; }
.s-done    { background: #DCFCE7; color: #166534; }
.s-prog    { background: #FEF9C3; color: #854D0E; }
.s-new     { background: #DBEAFE; color: #1E40AF; }

/* ─── FINAL CTA ──────────────────────────────────────── */
.cta-section {
  background: var(--navy); padding: 7rem 2rem;
  position: relative; overflow: hidden;
}
.cta-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(30,136,229,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,136,229,0.045) 1px, transparent 1px);
  background-size: 50px 50px;
}
.cta-glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 60%; height: 120%; pointer-events: none;
  background: radial-gradient(ellipse, rgba(21,101,192,0.18) 0%, transparent 65%);
}
.cta-inner {
  max-width: 680px; margin: 0 auto;
  text-align: center; position: relative; z-index: 2;
}
.cta-h2 {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.14; letter-spacing: -0.03em;
  color: white; margin-bottom: 1.2rem;
}
.cta-h2 em { font-style: italic; color: #90CAF9; }
.cta-sub { font-size: var(--base); color: rgba(255,255,255,0.58); line-height: 1.7; margin-bottom: 2.4rem; }
.cta-btns { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.4rem; }
.cta-note { font-size: var(--xs); color: rgba(255,255,255,0.3); }

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  background: #06111E; padding: 2.25rem 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.footer-bottom {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 1.25rem;
}
.footer-left {
  display: flex; align-items: center; gap: 1.25rem;
}
.footer-home-link {
  font-size: var(--xs); font-weight: 600; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5); text-decoration: none;
  padding: 0.3rem 0.6rem; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px; transition: color 0.2s, border-color 0.2s;
}
.footer-home-link:hover { color: #fff; border-color: rgba(255,255,255,0.5); }
.footer-copy { font-size: var(--xs); color: rgba(255,255,255,0.28); }
.footer-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem;
}
.footer-links { display: flex; gap: 1.4rem; }
.footer-links a { font-size: var(--xs); color: rgba(255,255,255,0.32); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.65); }
.footer-address { font-size: var(--xs); color: rgba(255,255,255,0.22); }

/* ─── SCROLL ANIMATION ───────────────────────────────── */
.fade-up {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; } .d4 { transition-delay: 0.32s; }

.accent-em{font-style:italic;color:#0070C0;}
.cta-accent{font-style:italic;color:#90CAF9;}

.portal-image{width:100%;height:auto;display:block;border-radius:18px;box-shadow:0 20px 60px rgba(11,31,58,0.14);}
.feature-card{position:relative;}
.feature-logo{position:absolute;top:16px;right:16px;height:30px;width:auto;}
.feature-logo.complete{height:30px;right:28px;}


/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner, .problem-layout, .guide-layout, .migration-layout, .portal-layout {
    grid-template-columns: 1fr; gap: 2.5rem;
  }
  .hero-visual { display: none; }
  .steps-row { grid-template-columns: 1fr; }
  .steps-row::before { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .tagline-band { gap: 1.25rem; }
  .tagline-sep { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-right { align-items: flex-start; }
}


.nav-team-link{font-size:var(--sm);font-weight:700;letter-spacing:0.08em;color:var(--navy);text-decoration:none;padding:0.45rem 0.55rem;border-radius:10px;}
.nav-team-link:hover{background:rgba(11,31,58,0.06);}


/* NAV TABS (HOME / SOFTWARE / OUR TEAM) */
.nav-main{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex:1;}
.nav-tabs{display:flex;align-items:center;gap:0.5rem; margin-left: 2.5rem;}
.nav-tab{font-size:var(--sm);font-weight:800;letter-spacing:0.08em;text-decoration:none;padding:0.55rem 0.85rem;border-radius:14px;color:var(--blue);white-space:nowrap;}
.nav-tab:hover{background:rgba(11,95,173,0.10);}
.nav-tab.active{background:rgba(0,0,0,0.08);color:var(--navy);}

/* ══════════════════════════════════════════════════
   SPA PAGE VISIBILITY
   ══════════════════════════════════════════════════ */
.page-container { display: none; }
.page-container.active { display: block; }

/* ══════════════════════════════════════════════════
   SOFTWARE PAGE — Sections & Components
   ══════════════════════════════════════════════════ */
/* ─── DESIGN TOKENS ─────────────────────────────────── */
:root {
  --navy:       #0B1F3A;
  --navy-mid:   #162D52;
  --blue:       #1565C0;
  --blue-hi:    #1E88E5;
  --blue-light: #E3F0FF;
  --teal:       #006D77;
  --teal-light: #EDF6F7;
  --cream:      #F8F5EF;
  --off-white:  #FDFCF9;
  --text:       #111827;
  --text-mid:   #374151;
  --text-muted: #6B7280;
  --green:      #2D6A4F;


  /* ─── LOGO IMAGES ─────────────────────────────────── */
  .nav-logo { display: flex; align-items: center; gap: 0; text-decoration: none; }
  .nav-logo-img { display: block; height: 28px; width: auto; }

  /* Light-background logo: natural colors (blue badge + black text) */
  .logo-on-light { filter: none; }

  /* Dark-background logo: full white */
  .logo-on-dark  { filter: brightness(0) invert(1); }

  

  /* Features section: Compass logo — natural colors, centered */
  .section-compass-logo {
    display: block; height: 30px; width: auto;
    margin: 0 0 0.9rem 0;
    filter: none;
  }
  /* ─── TYPE SCALE: 6 stops, used consistently ────────
     xs   12px  labels, pills, captions
     sm   14px  secondary body, small UI
     base 16px  primary body
     lg   18px  lead paragraphs
     xl   22px  card/section titles
     disp fluid display headings (clamp)             */
  --xs:   0.75rem;
  --sm:   0.875rem;
  --base: 1rem;
  --lg:   1.125rem;
  --xl:   1.375rem;
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--base);
  line-height: 1.65;
  color: var(--text);
  background: var(--off-white);
  overflow-x: hidden;
}

/* Serif display — used for all large headings only */
.serif {
  font-family: 'Lora', serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.serif em { font-style: italic; }

/* ─── NAVIGATION ─────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 66px;
  background: rgba(253,252,249,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11,31,58,0.08);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(11,31,58,0.09); }

.nav-logo { display: flex; align-items: center; gap: 0.45rem; text-decoration: none; }
.logo-op {
  background: var(--blue); color: white;
  font-weight: 600; font-size: var(--sm);
  padding: 0.18rem 0.5rem; border-radius: 4px;
}
.logo-name { font-weight: 500; font-size: var(--lg); color: var(--navy); }
.logo-sep  { width: 1px; height: 16px; background: rgba(11,31,58,0.18); margin: 0 0.35rem; }
.logo-product {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: var(--lg); color: var(--blue); letter-spacing: -0.02em;
}

.nav-btns { display: flex; gap: 0.6rem; }
.btn-outline {
  font-size: var(--sm); font-weight: 500; color: var(--navy);
  border: none; background: #90CAF9;
  padding: 0.5rem 1.1rem; border-radius: 6px;
  text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.btn-outline:hover { color: var(--navy); background: #a8d5fa; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(144,202,249,0.4); }
.btn-solid {
  font-size: var(--sm); font-weight: 600; color: var(--navy);
  background: #90CAF9; border: none;
  padding: 0.5rem 1.1rem; border-radius: 6px;
  text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.btn-solid:hover { background: #a8d5fa; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(144,202,249,0.4); }

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  min-height: 100vh; padding-top: 66px;
  background: var(--navy);
  display: flex; align-items: flex-start;
  position: relative; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(30,136,229,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,136,229,0.055) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-glow {
  position: absolute; pointer-events: none;
  border-radius: 50%;
}
.hero-glow-1 { top: -10%; right: -5%; width: 55%; height: 70%;
  background: radial-gradient(ellipse, rgba(21,101,192,0.22) 0%, transparent 65%); }
.hero-glow-2 { bottom: -20%; left: -5%; width: 45%; height: 65%;
  background: radial-gradient(ellipse, rgba(0,109,119,0.16) 0%, transparent 65%); }

.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 8rem 2rem 4rem;
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}

/* — Hero left — */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(30,136,229,0.14); border: 1px solid rgba(30,136,229,0.28);
  color: #90CAF9; font-size: var(--xs); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 100px; margin-bottom: 1.4rem;
}
.eyebrow-dot {
  width: 6px; height: 6px; background: #64B5F6; border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.4} }

.hero h1 {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: clamp(2.1rem, 3.8vw, 3.5rem);
  line-height: 1.13; letter-spacing: -0.03em;
  color: white; margin-bottom: 1.4rem;
}
.hero h1 em { font-style: italic; color: #90CAF9; }

.hero-sub {
  font-size: var(--lg); color: rgba(255,255,255,0.62);
  line-height: 1.7; max-width: 480px; margin-bottom: 2.25rem;
}
.hero-sub strong { color: rgba(255,255,255,0.9); font-weight: 500; }

.hero-ctas { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.btn-hero-primary {
  font-size: var(--base); font-weight: 600; color: white; background: var(--blue);
  border: none; padding: 0.8rem 1.6rem; border-radius: 8px;
  text-decoration: none; transition: all 0.25s; display: inline-flex; align-items: center; gap: 0.4rem;
}
.btn-hero-primary:hover { background: var(--blue-hi); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,136,229,0.38); }
.btn-hero-ghost {
  font-size: var(--base); font-weight: 500; color: rgba(255,255,255,0.78);
  background: transparent; border: 1.5px solid rgba(255,255,255,0.2);
  padding: 0.8rem 1.6rem; border-radius: 8px;
  text-decoration: none; transition: all 0.25s;
}
.btn-hero-ghost:hover { border-color: rgba(255,255,255,0.48); color: white; }

.hero-proof { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.proof-item { display: flex; align-items: center; gap: 0.4rem; font-size: var(--sm); color: rgba(255,255,255,0.48); }
.proof-check { color: #4CAF50; }
.proof-sep   { width: 1px; height: 14px; background: rgba(255,255,255,0.12); }

/* — Hero right: actual Compass report visuals — */
.hero-visual { display: flex; flex-direction: column; gap: 1rem; }

.glass-card {
  background: rgba(255,255,255,0.06); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 1.25rem 1.4rem;
}
.glass-card:first-child { animation: float 7s ease-in-out infinite; }
.glass-card:last-child  { animation: float 7s ease-in-out infinite; animation-delay: 2.5s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }

.vis-label {
  font-size: var(--xs); font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: #90CAF9; margin-bottom: 1rem;
}

/* Biometric grid */
.bio-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.55rem; }
.bio-cell {
  background: rgba(255,255,255,0.05); border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.07); padding: 0.6rem 0.5rem;
}
.bio-cell-name  { font-size: 0.65rem; color: rgba(255,255,255,0.38); margin-bottom: 0.3rem; }
.bio-cell-val   { font-family: 'Lora',serif; font-size: 0.95rem; font-weight: 600; color: white; line-height:1; }
.bio-cell-delta {
  display: inline-flex; align-items: center; gap: 0.18rem;
  font-size: 0.62rem; font-weight: 700;
  margin-top: 0.22rem; padding: 0.1rem 0.28rem; border-radius: 3px;
}
.delta-down { background: rgba(239,68,68,0.2);  color: #FCA5A5; }
.delta-up   { background: rgba(45,106,79,0.28); color: #6EE7A8; }
.delta-flat { background: rgba(100,100,100,0.2); color: rgba(255,255,255,0.45); }

.ai-strip {
  margin-top: 0.75rem; background: rgba(21,101,192,0.14);
  border: 1px solid rgba(30,136,229,0.22); border-radius: 8px;
  padding: 0.7rem 0.9rem; display: flex; gap: 0.6rem; align-items: flex-start;
}
.ai-tag {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.05em;
  background: rgba(30,136,229,0.28); color: #90CAF9;
  padding: 0.18rem 0.38rem; border-radius: 3px;
  white-space: nowrap; margin-top: 0.1rem; flex-shrink: 0;
}
.ai-copy { font-size: 0.7rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.ai-copy strong { color: rgba(255,255,255,0.85); }

/* Balance chart */
.bal-rows { display: flex; flex-direction: column; gap: 0.5rem; }
.bal-row  { display: flex; align-items: center; gap: 0.55rem; }
.bal-label { font-size: 0.64rem; color: rgba(255,255,255,0.42); width: 108px; flex-shrink:0; text-align:right; line-height:1.3; }
.bal-bars  { flex: 1; display: flex; flex-direction: column; gap: 0.16rem; }
.bar-track { height: 7px; background: rgba(255,255,255,0.07); border-radius: 4px; overflow: hidden; }
.bar-fill  { height: 100%; border-radius: 4px; }
.bg-green  { background: #4CAF50; }
.bg-red    { background: #EF5350; }
.bg-orange { background: #FF9800; }
.bal-delta {
  font-size: 0.62rem; font-weight: 700; width: 40px; text-align: center;
  background: rgba(239,68,68,0.18); color: #FCA5A5;
  padding: 0.12rem 0.28rem; border-radius: 3px; flex-shrink: 0;
}

/* ─── TAGLINE BAND ───────────────────────────────────── */
.tagline-band {
  background: var(--blue); padding: 2.25rem 2rem;
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.tagline-item {
  display: flex; align-items: center;
  font-family: 'Lora', serif; font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em; color: white;
}
.tagline-sep { width: 6px; height: 6px; background: rgba(255,255,255,0.4); border-radius: 50%; }

/* ─── SHARED SECTION SHELL ───────────────────────────── */
.section { padding: 6rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.eyebrow-label {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    background: var(--blue); color: #fff;
    padding: 0.36rem 0.85rem; border-radius: 5px;
    margin-bottom: 1.1rem;
  }
.section-h2 {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  letter-spacing: -0.03em; line-height: 1.13;
  color: var(--navy); margin-bottom: 1.25rem;
}

.features-main-logo{display:block;width:min(360px,70%);max-width:420px;height:auto;margin:3rem 0 1.4rem;}
.section-h2 em { font-style: italic; }
.section-lead { font-size: var(--lg); color: var(--text-mid); line-height: 1.7; }

/* ─── PROBLEM ────────────────────────────────────────── */
.problem-section { background: var(--cream); }

.problem-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; margin-top: 3.5rem; align-items: start;
}

.problem-list { display: flex; flex-direction: column; gap: 1.1rem; }
.problem-card {
  display: flex; gap: 1rem; padding: 1.35rem;
  background: white; border-radius: 12px;
  border: 1px solid rgba(11,31,58,0.07);
  transition: all 0.25s;
}
.problem-card:hover { transform: translateX(4px); border-color: rgba(21,101,192,0.2); box-shadow: 0 4px 16px rgba(11,31,58,0.06); }
.problem-icon {
  width: 40px; height: 40px; border-radius: 8px; background: #FEF3F2;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem;
}
.problem-title { font-size: var(--base); font-weight: 600; color: var(--navy); margin-bottom: 0.25rem; }
.problem-body  { font-size: var(--sm); color: var(--text-muted); line-height: 1.6; }

/* Quote */
.quote-card {
  background: var(--navy); border-radius: 16px; padding: 2.4rem;
  color: white; position: sticky; top: 82px;
}
.quote-mark {
  font-family: 'Lora', serif; font-size: 3.5rem;
  line-height: 0.8; color: rgba(30,136,229,0.38); margin-bottom: 1.1rem;
}
.quote-body {
  font-family: 'Lora', serif; font-size: 1.05rem;
  font-weight: 400; font-style: italic;
  line-height: 1.7; color: rgba(255,255,255,0.9); margin-bottom: 1.6rem;
}
.quote-rule { height: 1px; background: rgba(255,255,255,0.1); margin-bottom: 1.25rem; }
.quote-attr { display: flex; align-items: center; gap: 0.85rem; }
.quote-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.quote-name { font-size: var(--sm); font-weight: 600; color: white; }
.quote-role { font-size: var(--xs); color: rgba(255,255,255,0.48); line-height: 1.45; margin-top: 0.15rem; }

/* ─── GUIDE ──────────────────────────────────────────── */
.guide-section { background: var(--off-white); }
.guide-layout {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}

.cred-list { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 2rem; }
.cred-item { display: flex; align-items: flex-start; gap: 0.8rem; font-size: var(--sm); color: var(--text-mid); }
.cred-icon {
  width: 30px; height: 30px; background: var(--blue-light); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0; margin-top: 0.1rem;
}

.guide-panel {
  background: linear-gradient(140deg, var(--navy) 0%, #162D52 100%);
  border-radius: 20px; padding: 2.4rem; position: relative; overflow: hidden;
}
.guide-panel-glow {
  position: absolute; top: -30%; right: -20%; width: 60%; height: 60%; pointer-events: none;
  background: radial-gradient(circle, rgba(30,136,229,0.28) 0%, transparent 68%);
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; position: relative; z-index:1; }
.stat-box {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 1.4rem 1.2rem;
}
.stat-num {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  color: white; line-height: 1; margin-bottom: 0.3rem;
}
.stat-num span { color: #90CAF9; }
.stat-desc { font-size: var(--xs); color: rgba(255,255,255,0.52); line-height: 1.45; }

/* ─── HOW IT WORKS ───────────────────────────────────── */
.how-section { background: var(--cream); }


.steps-row {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.75rem; margin-top: 3.5rem; position: relative;
}
.steps-row::before {
  content: ''; position: absolute; top: 26px;
  left: calc(16.67% + 1rem); right: calc(16.67% + 1rem); height: 2px;
  background: repeating-linear-gradient(90deg, rgba(21,101,192,0.3) 0, rgba(21,101,192,0.3) 6px, transparent 6px, transparent 13px);
}
.step {
  background: white; border-radius: 14px; padding: 2rem;
  border: 1px solid rgba(11,31,58,0.07); transition: all 0.3s;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(11,31,58,0.08); border-color: rgba(21,101,192,0.18); }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: white;
  font-family: 'Lora', serif; font-weight: 600; font-size: var(--xl);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
}
.step-title {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: var(--xl); letter-spacing: -0.02em; color: var(--navy); margin-bottom: 0.55rem;
}
.step-body { font-size: var(--sm); color: var(--text-muted); line-height: 1.65; }

/* ─── FEATURES ───────────────────────────────────────── */
.features-section { background: var(--off-white); }


.features-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.4rem; }
.feature-card {
  border-radius: 14px; padding:1.6rem 2rem 1.85rem 2rem;
  border: 1px solid transparent; transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(11,31,58,0.08); }
.fc-blue  { background: var(--blue-light);  border-color: rgba(21,101,192,0.14); }
.fc-teal  { background: var(--teal-light);  border-color: rgba(0,109,119,0.14); }
.fc-cream { background: var(--cream);        border-color: rgba(11,31,58,0.07); }
.fc-navy  { background: var(--navy);         border-color: transparent; }

.feature-icon  { font-size: 1.6rem; margin: 0.35rem 0 0.95rem; display: block; }
.feature-title {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: var(--xl); letter-spacing: -0.02em; color: var(--navy); margin-bottom: 0.5rem;
}
.fc-navy .feature-title { color: white; }
.feature-body { font-size: var(--sm); line-height: 1.65; color: var(--text-mid); }
.fc-navy .feature-body { color: rgba(255,255,255,0.62); }

.pills { display: flex; flex-wrap: wrap; gap: 0.38rem; margin-top: 0.9rem; }
.pill {
  font-size: var(--xs); font-weight: 600;
  padding: 0.18rem 0.55rem; border-radius: 100px;
  background: rgba(21,101,192,0.1); color: var(--blue);
}
.pill-teal  { background: rgba(0,109,119,0.1); color: var(--teal); }
.pill-white { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.68); }

/* ─── MIGRATION ──────────────────────────────────────── */
.migration-section { background: var(--cream); padding: 6rem 2rem; }
.migration-layout {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.migration-steps { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 1.5rem; }
.m-step { display: flex; gap: 1rem; align-items: flex-start; }
.m-step-num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--blue);
  color: white; font-size: var(--xs); font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 0.2rem;
}
.m-step-title { font-size: var(--base); font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; }
.m-step-body  { font-size: var(--sm); color: var(--text-muted); line-height: 1.6; }

.migration-callout { background: var(--navy); border-radius: 16px; padding: 2.4rem; color: white; }
.mc-title {
  font-family: 'Lora', serif; font-weight: 600; font-style: italic;
  font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.3;
  color: white; margin-bottom: 1rem;
}
.mc-body { font-size: var(--sm); color: rgba(255,255,255,0.62); line-height: 1.7; margin-bottom: 1.5rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.check-list li { display: flex; align-items: center; gap: 0.55rem; font-size: var(--sm); color: rgba(255,255,255,0.78); }
.chk { color: #6EE7A8; flex-shrink: 0; }

/* ─── PATIENT PORTAL ─────────────────────────────────── */
.portal-section { background: var(--off-white); }
.portal-layout {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center;
}

/* Prominent eyebrow for portal section */
.portal-eyebrow {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    background: var(--blue); color: #fff;
    padding: 0.36rem 0.85rem; border-radius: 5px;
    margin-bottom: 1.1rem;
  }

.portal-timeline { display: flex; flex-direction: column; margin-top: 1.8rem; position: relative; }
.portal-timeline::before { display: none; }

/* Vertical connector line between events (connects item-to-item, stops above the last marker) */
.portal-event:not(:last-child)::after{
  content:'';
  position:absolute;
  /* center of the 36px dot */
  left: 18px;
  /* start at the bottom of the dot */
  top: 36px;
  width:2px;
  /* extend through the event's spacing to the next item */
  height: calc(100% - 36px);
  background: linear-gradient(to bottom, var(--blue), var(--teal));
  opacity:0.18;
}
.portal-event { display: flex; gap: 1.1rem; padding-bottom: 0.95rem; position: relative; }
.portal-event:last-child { padding-bottom: 0; }
.p-dot {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; flex-shrink: 0; position: relative; z-index: 1;
}
.p-dot-1 { background: rgba(21,101,192,0.1); }
.p-dot-2 { background: rgba(0,109,119,0.1); }
.p-dot-3 { background: rgba(201,148,58,0.1); }
.p-event-title { font-size: var(--base); font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; margin-top: 0.15rem; }
.p-event-body  { font-size: var(--sm); color: var(--text-muted); line-height: 1.6; }


/* Portal mockup */
.portal-mockup {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.mockup-bar {
  background: var(--navy); padding: 0.85rem 1.25rem;
  display: flex; align-items: center; gap: 0.45rem;
}
.mockup-dots { display: flex; gap: 0.35rem; }
.md { width: 9px; height: 9px; border-radius: 50%; }
.md-r { background: #FF5F57; } .md-y { background: #FEBC2E; } .md-g { background: #28C840; }
.mockup-url {
  flex: 1; background: rgba(255,255,255,0.07); border-radius: 4px;
  padding: 0.28rem 0.65rem; font-size: var(--xs); color: rgba(255,255,255,0.45);
  font-family: monospace; margin-left: 0.4rem;
}
.mockup-body { padding: 1.4rem; }
.mockup-greeting { margin-bottom: 1rem; }
.mockup-greeting strong { font-size: var(--base); color: var(--navy); }
.mockup-greeting span   { font-size: var(--sm); color: var(--text-muted); display: block; margin-top: 0.15rem; }
.mockup-cards {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0.55rem; margin-bottom: 1.1rem;
}
.mockup-card {
  background: var(--blue-light); border: 1px solid rgba(21,101,192,0.12);
  border-radius: 8px; padding: 0.8rem 0.5rem; text-align: center;
}
.mockup-card-icon  { font-size: 1.1rem; margin-bottom: 0.3rem; }
.mockup-card-label { font-size: var(--xs); font-weight: 600; color: var(--blue); }
.mockup-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.55rem 0; border-bottom: 1px solid rgba(11,31,58,0.06);
  font-size: var(--sm);
}
.mockup-row:last-child { border-bottom: none; }
.mockup-row-label  { color: var(--text-mid); }
.status-badge { font-size: var(--xs); font-weight: 600; padding: 0.14rem 0.45rem; border-radius: 4px; }
.s-done    { background: #DCFCE7; color: #166534; }
.s-prog    { background: #FEF9C3; color: #854D0E; }
.s-new     { background: #DBEAFE; color: #1E40AF; }

/* ─── FINAL CTA ──────────────────────────────────────── */
.cta-section {
  background: var(--navy); padding: 7rem 2rem;
  position: relative; overflow: hidden;
}
.cta-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(30,136,229,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,136,229,0.045) 1px, transparent 1px);
  background-size: 50px 50px;
}
.cta-glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 60%; height: 120%; pointer-events: none;
  background: radial-gradient(ellipse, rgba(21,101,192,0.18) 0%, transparent 65%);
}
.cta-inner {
  max-width: 680px; margin: 0 auto;
  text-align: center; position: relative; z-index: 2;
}
.cta-h2 {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.14; letter-spacing: -0.03em;
  color: white; margin-bottom: 1.2rem;
}
.cta-h2 em { font-style: italic; color: #90CAF9; }
.cta-sub { font-size: var(--base); color: rgba(255,255,255,0.58); line-height: 1.7; margin-bottom: 2.4rem; }
.cta-btns { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.4rem; }
.cta-note { font-size: var(--xs); color: rgba(255,255,255,0.3); }



/* ─── SCROLL ANIMATION ───────────────────────────────── */
.fade-up {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; } .d4 { transition-delay: 0.32s; }

.accent-em{font-style:italic;color:#0070C0;}
.cta-accent{font-style:italic;color:#90CAF9;}

.portal-image{width:100%;height:auto;display:block;border-radius:18px;box-shadow:0 20px 60px rgba(11,31,58,0.14);}
.feature-card{position:relative;}
.feature-logo{position:absolute;top:16px;right:16px;height:30px;width:auto;}
.feature-logo.complete{height:30px;right:28px;}


/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner, .problem-layout, .guide-layout, .migration-layout, .portal-layout {
    grid-template-columns: 1fr; gap: 2.5rem;
  }
  .hero-visual { display: none; }
  .steps-row { grid-template-columns: 1fr; }
  .steps-row::before { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .tagline-band { gap: 1.25rem; }
  .tagline-sep { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-right { align-items: flex-start; }
}


.nav-team-link{font-size:var(--sm);font-weight:700;letter-spacing:0.08em;color:var(--navy);text-decoration:none;padding:0.45rem 0.55rem;border-radius:10px;}
.nav-team-link:hover{background:rgba(11,31,58,0.06);}


/* NAV TABS (HOME / SOFTWARE / OUR TEAM) */
.nav-main{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex:1;}
.nav-tabs{display:flex;align-items:center;gap:0.5rem; margin-left: 2.5rem;}
.nav-tab{font-size:var(--sm);font-weight:800;letter-spacing:0.08em;text-decoration:none;padding:0.55rem 0.85rem;border-radius:14px;color:var(--blue);white-space:nowrap;}
.nav-tab:hover{background:rgba(11,95,173,0.10);}
.nav-tab.active{background:rgba(0,0,0,0.08);color:var(--navy);}


:root{
  --navy:#0B1F3A;
  --blue:#1565C0;
  --blue-hi:#1E88E5;
  --blue-soft:#90CAF9;
  --offwhite:#FDFCF9;
  --sky:#E3F0FF;
  --text:#0B1F3A;
  --muted: rgba(11,31,58,0.70);
  --border: rgba(11,31,58,0.14);
}


  

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--offwhite);
    color: var(--text);
    line-height: 1.7;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(13, 35, 64, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200,169,110,0.2);
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-logo {
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    font-size: 1.3rem;
    color: #fff;
    letter-spacing: 0.02em;
  }

  .nav-logo span { color: var(--blue-soft); }

  .nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
  }

  .nav-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--blue-soft); }

  /* HERO — inherit shared .hero (min-height:100vh, padding-top:66px, flex center) */

  /* Removed .hero::before and .hero::after — grid bg now uses shared .hero-grid-bg + .hero-glow divs */

  .hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
  }

  .hero-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-soft);
    margin-bottom: 20px;
  }

  .hero h1 {
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    font-size: 3.6rem;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 28px;
    font-weight: 700;
  }

  .hero h1 em {
    font-style: normal;
    color: var(--blue-soft);
  }

  .hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    max-width: 480px;
    margin-bottom: 40px;
  }

  .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .badge {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
  }

  /* Feature grid on hero right */
  .hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .hero-feat-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    transition: background 0.25s, border-color 0.25s;
  }

  .hero-feat-card:hover {
    background: rgba(10,124,124,0.12);
    border-color: rgba(10,124,124,0.4);
  }

  .hf-icon {
    width: 36px; height: 36px;
    background: rgba(10,124,124,0.25);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
    font-size: 1.1rem;
  }

  .hf-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
  }

  .hf-sub {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
  }

  /* SECTION STRUCTURE */
  .section {
    padding: 100px 80px;
  }

  .section-inner {
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
  }

  .section-title {
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    font-size: 2.4rem;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .section-intro {
    font-size: 1rem;
    color: var(--muted);
    max-width: 640px;
    margin-bottom: 56px;
  }

  /* OVERVIEW */
  #overview {
    background: #fff;
    border-bottom: 1px solid var(--border);
  }

  .overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }

  .overview-statement {
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    font-size: 1.55rem;
    color: var(--navy);
    line-height: 1.5;
    padding-left: 24px;
    border-left: 3px solid var(--blue-soft);
    margin-bottom: 40px;
  }

  .compare-table {
    width: 100%;
    border-collapse: collapse;
  }

  .compare-table th {
    background: var(--navy);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 18px;
    text-align: left;
  }

  .compare-table th:first-child { border-radius: 8px 0 0 0; }
  .compare-table th:last-child { border-radius: 0 8px 0 0; }

  .compare-table td {
    padding: 14px 18px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
  }

  .compare-table tr:nth-child(even) td { background: var(--offwhite); }

  .compare-table .challenge { color: var(--muted); }
  .compare-table .solution { color: var(--blue); font-weight: 500; }

  /* 2-col layout sections */
  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }

  .two-col.reverse { direction: rtl; }
  .two-col.reverse > * { direction: ltr; }

  .feature-visual {
    background: var(--navy);
    border-radius: 16px;
    padding: 40px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
  }

  .feature-visual::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(10,124,124,0.25) 0%, transparent 70%);
  }

  .feature-visual.alt { background: var(--blue); }

  .fv-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-soft);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
  }

  .fv-list {
    list-style: none;
    position: relative;
    z-index: 1;
  }

  .fv-list li {
    color: rgba(255,255,255,0.8);
    font-size: 0.92rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .fv-list li:last-child { border-bottom: none; }

  .fv-list li::before {
    content: '→';
    color: var(--blue-soft);
    flex-shrink: 0;
    margin-top: 1px;
  }

  .feature-visual.alt .fv-list li::before { color: var(--blue-soft); }

  /* Feature content */
  .feat-content h3 {
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.25;
  }

  .feat-content p {
    font-size: 0.97rem;
    color: var(--muted);
    margin-bottom: 28px;
  }

  .feat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
  }

  .pill {
    background: var(--sky);
    color: var(--blue);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(10,124,124,0.2);
  }

  .feat-points {
    list-style: none;
  }

  .feat-points li {
    padding: 10px 0;
    font-size: 0.93rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }

  .feat-points li:last-child { border-bottom: none; }

  .feat-points li .bullet {
    width: 20px; height: 20px;
    background: var(--blue);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
  }

  .feat-points li .bullet::after {
    content: '';
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
  }

  /* INSURANCE SECTION */
  #insurance {
    background: var(--navy);
    position: relative;
    overflow: hidden;
  }

  #insurance::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(10,124,124,0.2) 0%, transparent 65%);
    pointer-events: none;
  }

  #insurance .section-label { color: var(--blue-soft); }
  #insurance .section-title { color: #fff; }
  #insurance .section-intro { color: rgba(255,255,255,0.55); }

  .insurance-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    position: relative;
    z-index: 1;
  }

  .payer-list-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 32px;
  }

  .plc-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-soft);
    margin-bottom: 20px;
  }

  .payer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.8);
    font-size: 0.92rem;
  }

  .payer-item:last-child { border-bottom: none; }

  .payer-dot {
    width: 8px; height: 8px;
    background: var(--blue-soft);
    border-radius: 50%;
    flex-shrink: 0;
  }

  .insurance-rules {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .rule-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px 24px;
    transition: background 0.2s;
  }

  .rule-card:hover { background: rgba(10,124,124,0.15); }

  .rc-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
  }

  .rc-items {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
  }

  /* WARNING CALLOUT */
  .warning-callout {
    background: rgba(200,169,110,0.1);
    border: 1px solid rgba(200,169,110,0.3);
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 28px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .wc-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
  }

  .wc-text { font-size: 0.87rem; color: rgba(255,255,255,0.7); line-height: 1.6; }
  .wc-text strong { color: var(--blue-soft); font-weight: 600; }

  /* ALT SECTIONS */
  .section.alt { background: var(--sky); }

  /* DIVIDERS */
  .section-divider {
    height: 1px;
    background: var(--border);
    max-width: 1200px;
    margin: 0 auto;
  }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    .hero { padding: 100px 32px 60px; }
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero h1 { font-size: 2.6rem; }
    .hero-features { display: none; }
    .section { padding: 72px 32px; }
    .two-col { grid-template-columns: 1fr; gap: 40px; }
    .two-col.reverse { direction: ltr; }
    .overview-grid { grid-template-columns: 1fr; }
    .insurance-grid { grid-template-columns: 1fr; }
  }

  /* SCROLL ANIMATIONS */
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

body{
  background: var(--offwhite);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}
.section-title, .hero h1, .feat-content h3, .overview-statement{
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
}

/* NAV LOCK - identical ribbon across pages */

/* ─── PRIVACY POLICY PAGE ────────────────────────────── */
.privacy-page {
  padding-top: 66px;
  background: var(--off-white);
}
.privacy-inner {
  max-width: 780px; margin: 0 auto;
  padding: 4rem 2rem 5rem;
}
.privacy-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--navy); margin-bottom: 0.5rem;
}
.privacy-effective {
  font-size: var(--sm); color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.privacy-inner h2 {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: 1.2rem; color: var(--navy);
  margin: 2rem 0 0.75rem;
}
.privacy-inner p {
  font-size: var(--base); color: var(--text-mid);
  line-height: 1.75; margin-bottom: 1rem;
}
.privacy-inner ul {
  list-style: disc; padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.privacy-inner li {
  font-size: var(--base); color: var(--text-mid);
  line-height: 1.75; margin-bottom: 0.4rem;
}
.privacy-inner a {
  color: var(--blue); text-decoration: none;
}
.privacy-inner a:hover { text-decoration: underline; }
.privacy-contact { list-style: none; padding-left: 0; }

#site-nav{
  background: rgba(253,252,249,0.96) !important;
  border-bottom: 1px solid rgba(11,31,58,0.10) !important;
}
#site-nav .nav-tab{color:var(--blue)!important;}
#site-nav .nav-tab.active{background:rgba(0,0,0,0.08)!important;color:var(--navy)!important;}
#site-nav .nav-contact{ text-decoration:none !important; }
#site-nav .nav-contact:hover{ text-decoration:none !important; }

/* SOFTWARE page hero overrides */
.section-label{ color: var(--blue); }

/* Fix hero pills text color (keep white on dark background) */
.hero .pill, .hero .tag, .hero .badge, .hero .chip, .hero .hero-badge, .hero .kpi-pill,
.hero .overview-pill, .hero .overview-tag, .hero .overview-badge{
  color: rgba(255,255,255,0.90) !important;
}
.hero .pill span, .hero .tag span, .hero .badge span, .hero .chip span{
  color: rgba(255,255,255,0.90) !important;
}

/* ══════════════════════════════════════════════════
   TEAM PAGE — Styles
   ══════════════════════════════════════════════════ */
/* OUR TEAM page layout, matching HOME rhythm */
.team-hero{
  position:relative;
  background:var(--navy);
  padding-top:96px;
  padding-bottom:56px;
  overflow:hidden;
}
.team-hero .hero-grid-bg{
  position:absolute;inset:0;pointer-events:none;
  background-image:
    linear-gradient(rgba(30,136,229,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,136,229,0.055) 1px, transparent 1px);
  background-size:56px 56px;
}
.team-hero .hero-glow{position:absolute;pointer-events:none;border-radius:50%;}
.team-hero .hero-glow-1{top:-10%;right:-5%;width:55%;height:70%;background:radial-gradient(ellipse, rgba(21,101,192,0.22) 0%, transparent 65%);}
.team-hero .hero-glow-2{bottom:-20%;left:-5%;width:45%;height:65%;background:radial-gradient(ellipse, rgba(0,109,119,0.16) 0%, transparent 65%);}
.team-hero .inner{
  position:relative;
  max-width:1100px;
  margin:0 auto;
  padding:0 1.5rem;
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
  text-align:center;
}
.team-hero h1{margin:0;font-family:'Lora', serif;font-weight:600;font-size:clamp(2.1rem,3.8vw,3.5rem);line-height:1.13;letter-spacing:-0.03em;color:#fff;margin-bottom:1.4rem;}
.team-hero h1 .team-accent{color:#90CAF9;}
.team-hero .sub{
  max-width:70ch;
  color:rgba(227,240,255,0.80);
  font-size:1.1rem;
  line-height:1.7;
}
.team-section{max-width:1100px;margin:0 auto;padding:56px 1.5rem 96px;}
.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;}
@media(max-width:1024px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){.team-grid{grid-template-columns:1fr;} .team-hero{padding-top:80px;padding-bottom:44px;}}

/* Card styling to match doctored proportions */
.card{background:#fff;
  border:1px solid rgba(11,31,58,0.10);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 14px 42px rgba(11,31,58,0.08);
  transition:transform .18s ease, box-shadow .18s ease;
}
.card:hover{transform:translateY(-6px);box-shadow:0 28px 80px rgba(13,31,60,0.16);}
.card-img-wrap{
  background:var(--navy);
  display:flex;align-items:center;justify-content:center;
  padding:34px 20px 28px;
  position:relative;
}
.card-img-wrap::after{
  content:"";
  position:absolute;left:0;right:0;bottom:0;height:4px;
  background:var(--blue);
  opacity:0.9;
}

/* Avatar: force exactly two rings (outer black + inner gray) and crop away any baked-in frame */
.avatar-wrap{position:relative;width:170px;height:170px;display:block;}
.avatar-crop{width:100%;height:100%;border-radius:999px;overflow:hidden;}
.avatar-crop img{width:100%;height:100%;object-fit:cover;border-radius:999px;transform:scale(1.18);transform-origin:center;}
.avatar-wrap::before{content:"";position:absolute;inset:-7px;border:7px solid rgba(11,31,58,0.92);border-radius:999px;z-index:3;pointer-events:none;}
.avatar-wrap::after{content:"";position:absolute;inset:0;border-radius:999px;box-shadow:inset 0 0 0 3px #9a9a9a;z-index:3;pointer-events:none;}

.card-body{padding:26px 26px 30px;}
.card-name{
  font-family:'Lora', serif;
  font-size:1.6rem;
  margin:0 0 6px;
  color:var(--navy);
}
.card-title{
  font-size:0.78rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  font-weight:800;
  color:var(--blue);
  margin:0 0 14px;
}
.card-divider{
  width:34px;height:2px;
  background:rgba(11,31,58,0.18);
  margin:0 0 14px;
}
.card-bio{
  color:rgba(11,31,58,0.78);
  font-size:0.98rem;
  line-height:1.7;
  margin:0;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE NAV — Hamburger & Breakpoints
   ══════════════════════════════════════════════════ */

/* Hamburger button — hidden by default */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  z-index: 101;
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Tablet: tighten spacing, keep single row */
@media (max-width: 1024px) and (min-width: 768px) {
  #site-nav { padding: 0 1rem; }
  #site-nav .nav-tabs { margin-left: 1rem; gap: 0.2rem; }
  #site-nav .nav-tab { font-size: 0.75rem; padding: 0.45rem 0.6rem; }
  #site-nav .nav-btns { gap: 0.4rem; }
  #site-nav .btn-outline,
  #site-nav .btn-solid { font-size: 0.75rem; padding: 0.4rem 0.8rem; }
  #site-nav .nav-contact { display: none; }
}

/* Phone: hamburger menu */
@media (max-width: 767px) {
  #site-nav .nav-hamburger { display: flex; }

  #site-nav .nav-main {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: rgba(253,252,249,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(11,31,58,0.1);
    box-shadow: 0 8px 24px rgba(11,31,58,0.12);
    z-index: 99;
  }
  #site-nav .nav-main.open { display: flex; }

  #site-nav .nav-tabs {
    flex-direction: column;
    gap: 0.25rem;
    margin-left: 0;
    width: 100%;
  }
  #site-nav .nav-tab {
    padding: 0.75rem 1rem;
    font-size: var(--base);
    width: 100%;
    text-align: left;
    border-radius: 8px;
  }
  #site-nav .nav-btns {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(11,31,58,0.08);
  }
  #site-nav .btn-outline,
  #site-nav .btn-solid {
    text-align: center;
    width: 100%;
    padding: 0.65rem 1rem;
  }
  #site-nav .nav-contact {
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: left;
  }
}
