@font-face {
  font-family: 'Pitch Sans';
  src: url('./assets/pitch-sans.woff2') format('woff2'),
    url('./assets/pitch-sans.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Sonhe';
  src: url('./assets/sonhe.woff2') format('woff2'),
    url('./assets/sonhe.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

:root {
  /*primary*/
  --coral: #FF6F61;
  --coral-light: #FF9F97;
  --coral-dark: #CC4F42;
  --coral-pale: #FFE0DD;
  --blue: #468FEA;
  --blue-clear: #468FEA42;
  --blue-opaque: #468fea1c;
  --navy: #485363;
  --navy-mid: #2E3640;
  --navy-dark: #161C22;
  --navy-light: #8A96A8;


  /*Secondary*/
  --teal: #387788;
  --teal-light: #85D0CA;
  --teal-pale: #B9DCD6;
  --mint: #E5F1EC;
  --off-white: #F7F7FA;
  --yellow: #FEE262;


  /*Neutral*/
  --slate: #8899A8;
  --slate-light: #AEBDCA;
  --off-white: #F6F5F3;
  --white: #FFFFFF;
  --green: #B9DCD6;
  --green-2: #85D0CA;
  --border-color: #E0E4EA;

  /*Font*/
  --mono: 'Pitch Sans', 'Courier New', monospace;
  --head: 'Sonhe', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Sonhe', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --section-padding: 96px 24px;
  --card-padding: 36px;
  --border-radius: 12px;

  /* Transitions */
  --transition: 0.25s ease;
}

/* ------------------------------------------------------------------------- */
/* Style guide and organization map                                            */
/* 1) CSS variables                                                            */
/* 2) Base reset / typography / layout                                         */
/* 3) Utilities / helper classes                                               */
/* 4) Navigation / hero / sections                                             */
/* 5) Section-specific blocks (problem, disciplines, platform, etc.)           */
/* 6) CTA + footer                                                             */
/* 7) Forms (contact/login, shared components)                                 */
/* 8) Responsive media queries                                                 */
/* ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--off-white);
  color: var(--navy);
  overflow-x: hidden;
}

/* ── FADE-UP ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

.fade-up-1 {
  transition-delay: 0.05s;
}

.fade-up-2 {
  transition-delay: 0.15s;
}

.fade-up-3 {
  transition-delay: 0.25s;
}

.fade-up-4 {
  transition-delay: 0.35s;
}

.fade-up-5 {
  transition-delay: 0.45s;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: var(--navy);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  color: var(--coral);
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: #B9D0CA;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links li+li::before {
  content: '';
  display: block;
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
  margin-right: 36px;
}

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

.nav-links a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 0.2s;
  margin-top: 4px;
}

.btn-ghost {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.btn-ghost:hover {
  color: var(--green);
}

.btn-primary {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--white);
  background: var(--coral);
  padding: 9px 20px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
  background: var(--coral-light);
  transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
  /* min-height: 100vh; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 80px 80px;
  position: relative;
  overflow: hidden;
  background: #F7F7FA;
}

/* .hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;

} */

/* Brand signature wave */
.brand-wave {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  pointer-events: none;
  z-index: 0;
}

.brand-wave svg {
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.eyebrow-line {
  width: 28px;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
}

.eyebrow-text {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-headline {
  font-family: var(--head);
  font-size: clamp(45px, 3.0vw, 70px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 28px;
  white-space: nowrap;
}

.hero-headline em {
  font-style: italic;
  color: var(--coral);
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  /* color: var(--slate);  */
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 32px;
}

.hero-sub strong {
  color: var(--green);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 64px;
}

.btn-hero {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  background: var(--coral);
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.btn-hero:hover {
  background: var(--coral-light);
  transform: translateY(-2px);
}

.btn-hero-ghost {
  display: inline-block;
  padding: 14px 32px;
  border: 1.5px solid var(--navy);
  text-decoration: none;
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.btn-hero-ghost:hover {
  color: var(--green);
  border-color: var(--coral);
}

/* ── SHARED SECTION STYLES ── */
section {
  padding: 100px 80px;
}

.section-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
}

.section-headline {
  font-family: var(--head);
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 20px;
  max-width: 1200px;
}

.section-headline em {
  font-style: italic;
  color: var(--coral);
}

.section-sub {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 60px;
  max-width: 600px;
}

/* ── WHAT CORAL DOES (3 disciplines) ── */
.disciplines {
  background: #fff;
}

.disc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.disc-card {
  background-color: var(--blue-opaque);
  border: 1px solid var(--blue);
  border-radius: var(--border-radius);
  padding: var(--card-padding);
  transition: box-shadow var(--transition), transform var(--transition);
}

.disc-card:hover {
  border-color: rgba(250, 110, 90, 0.3);
  transform: translateY(-3px);
}


.disc-number {
  font-family: var(--font-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  display: block;
  margin-bottom: 16px;
}

.disc-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 12px;
}

.disc-headline {
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  color: var(--coral);
  margin-bottom: 16px;
}

.disc-desc {
  font-size: 0.95rem;
  /* color: var(--slate-light); */
  line-height: 1.7;
  margin-bottom: 12px;
}

.disc-bullets {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 8px;
}

.disc-bullets li {
  font-size: 0.875rem;
  /* color: var(--slate-light); */
  padding-left: 16px;
  position: relative;
}

.disc-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--blue);
}


/* ── HOW WE DELIVER IT (technology) ── */
.platform {
  background: var(--off-white);
  padding: 60px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.platform-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 30px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

#platform-headline {
  color: var(--navy);
}

.product-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--blue);
  border-radius: var(--border-radius);
  transition: background-color var(--transition), transform var(--transition);
  background: var(--blue-opaque);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-card:hover {
  background: rgba(250, 110, 90, 0.1);
  transform: translateY(-4px);
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--white);
  border: 1px solid var(--blue);
  padding: 4px 10px;
  border-radius: 4px;
  width: fit-content;
}

.product-badge.coming {
  color: var(--yellow);
  border-color: var(--yellow);
  background-color: #8A96A8;
}

.product-name {
  font-family: var(--head);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.product-role {
  font-family: var(--head);
  font-size: 14px;
  font-weight: 700;
  color: var(--coral);
  line-height: 1.3;
}

.product-desc {
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 0px;
}

.product-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.module-tag {
  font-family: var(--mono);
  font-size: 10px;
  background: var(--navy-light);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  border: 1px solid var(--navy);
  color: var(--white);
}

.module-tag-blue {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--white);
  background: var(--blue);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  border: 1px solid var(--navy);
}

/* ── PLATFORM ARCHITECTURE SECTION ── */
.platform-architecture {
  padding: 60px 0;
}

.platform-arch-headline {
  font-family: var(--head);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 24px;
}

.platform-arch-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--coral);
  line-height: 1.6;
}

.platform-arch-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  padding: 0;
  margin: 16px 0 0 0;
  list-style: none;
}

.platform-arch-feature {
  position: relative;
  padding: 10px 20px;
  line-height: 1.4;
  white-space: nowrap;
  border: 1px solid var(--blue);
  border-radius: 6px;
  font-size: 15px;
  color: var(--blue);
}

.platform-arch-feature:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  color: #387788;
}

/* ── PLATFORM DIFFERENCE SECTION ── */
.platform-difference::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--coral);
}

.platform-difference {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  transition: border-color 0.2s, background 0.2s;
}

.platform-difference:hover {
  border-color: var(--coral-light);
  background: var(--blue-opaque);
}

.platform-diff-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 22px;
  color: var(--coral);
  opacity: 0.8;
}

.platform-diff-title {
  font-family: var(--mono);
  font-size: 20px;
  color: var(--coral);
  line-height: 1.4;
  margin-left: 40px;
  margin-top: 8px;
  margin-bottom: 20px;
}

.difference-label {
  margin-bottom: 8px;
  /* color: var(--slate); */
}

.platform-diff-description {
  font-size: 18px;
  /* color: var(--slate); */
  line-height: 1.6;
}

/* ── PLATFORM STEPS SECTION ── */

.platform-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.platform-step {
  background: var(--off-white);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 32px;
  transition: border-color 0.2s, background 0.2s;
}

.platform-step:hover {
  border-color: rgba(250, 110, 90, 0.3);
  background: rgba(250, 110, 90, 0.05);
}

.step-number {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--coral);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.step-title {
  font-family: var(--head);
  font-size: 18px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  font-weight: bolder;
}

.step-subtitle {
  font-size: 15px;
  color: var(--blue);
  line-height: 1.6;
  margin-bottom: 16px;
  font-weight: lighter;
}

.step-description {
  font-size: 16px;
  color: var(--blue);
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: semi-bold;
}

.step-description ::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--blue);
  margin-top: 24px;
  border-radius: 1px;
}

.step-status {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--coral);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(250, 110, 90, 0.1);
  border: 1px solid rgba(250, 110, 90, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 12px;
}

.step-capabilities {
  font-size: 15px;
  /* color: var(--slate); */
  line-height: 1.6;
  max-width: none;
}

.step-capabilities strong {
  font-weight: 700;
  margin-top: 8px;
}

.capabilites-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.capabilites-list li {
  padding: 10px 20px;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 15px;
  color: var(--coral-light);
  white-space: normal;
}

/* ── MANAGED SERVICE BRIDGE ── */
.managed-bridge {
  background: var(--blue-opaque);
  border-top: 1px solid rgba(250, 110, 90, 0.15);
  border-bottom: 1px solid rgba(250, 110, 90, 0.15);
  padding: 22px 80px;
}

.managed-bridge-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.managed-bridge-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.managed-bridge-text {
  font-size: 14px;
  color: #485363;
  line-height: 1.6;
}

.managed-bridge-text strong {
  color: #485363;
  font-weight: 700;
}

.managed-bridge-text a {
  color: #387788;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(250, 110, 90, 0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}

.managed-bridge-text a:hover {
  border-color: var(--coral);
}

/* ── PAYER SOLUTIONS ── */
.payer-icon {
  top: 16px;
  left: 16px;
  font-size: 30px;
  color: var(--green);
  opacity: 0.8;

}

.payer {
  background: var(--navy-mid);
}

.payer-card:hover {
  border-color: rgba(46, 204, 154, 0.3);
  background: rgba(46, 204, 154, 0.1);
}

.payer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
}

#payer-command-center {
  margin-top: 16px;
  margin-bottom: 16px;
}

#payer-command-center::before {
  background: none;
}

.payer-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--green);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* .payer-label::before { content: ''; display: block; width: 20px; height: 2px; background: var(--green); } */
.payer-title {
  font-family: var(--head);
  font-size: 20px;
  color: var(--green);
  line-height: 1.4;
  margin-top: 8px;
  margin-bottom: 20px;
}

.payer-desc {
  font-size: 18px;
  color: var(--slate);
  line-height: 1.6;
}

.payer-note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate-light);
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.payer-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.payer-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(46, 204, 154, 0.05);
  border: 1px solid rgba(46, 204, 154, 0.1);
  border-radius: 8px;
}

.payer-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(46, 204, 154, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.payer-feature-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.payer-feature-title {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.payer-headline {
  font-family: var(--head);
  font-size: 12px;
  font-weight: light;
  color: var(--slate-light);
  line-height: 1.5;
  border-left: 3px solid var(--slate);
  padding-left: 15px;
  font-style: italic;
  margin-top: 16px;
  margin-bottom: 16px;
}

#payer-subtitle {
  align-items: center;
  margin-top: 24px;
  white-space: nowrap;
}

.payer-subtitle-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 30px;
  color: var(--green);
  opacity: 0.8;
  padding: 8px;
  margin-right: 20px;
}

.payer-solutions {
  margin-top: -100px;
}

.payer-solutions .segments-grid {
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  gap: 20px;
  justify-items: start;

}

/* ── WHO WE SERVE ── */
.segments {
  background: #F7F7FA;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.segment-card {
  background: var(--blue-opaque);
  border-radius: 10px;
  padding: 28px 24px;
  border: 1px solid var(--blue);
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}

.segment-card:hover {
  /* border-color: rgba(250, 110, 90, 0.3); */
  transform: translateY(-2px);
}

.segment-icon {
  font-size: 24px;
  margin-bottom: 14px;
}

.segment-name {
  font-family: var(--head);
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.segment-desc {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ── ECOSYSTEM ── */
.ecosystem {
  background: #fff;
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  gap: 20px;
}

.eco-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
}

.eco-card {
  background: var(--blue-opaque);
  border-radius: 14px;
  padding: 48px 44px;
  border: 1px solid var(--blue);
  transition: border-color 0.2s;
}

.eco-card:hover {
  border-color: rgba(250, 110, 90, 0.25);
}

.eco-powered {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eco-powered::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--blue);
}

.eco-name {
  font-family: var(--head);
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.eco-focus {
  font-family: var(--head);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 16px;
}

.eco-desc {
  font-size: 16px;
  /* color: var(--slate);  */
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ── TEAM SECTION ── */

.team {
  background-color: var(--off-white);
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.team-card {
  background-color: var(--blue-opaque);
  border: 1px solid var(--blue);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.team-card:hover {
  box-shadow: 0 10px 32px rgba(72, 83, 99, 0.10);
  transform: translateY(-4px);
}

/* Photo area */
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* When a real <img> is dropped in */
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Initials placeholder — remove once real photos are added */
.team-photo-placeholder {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .04em;
  user-select: none;
}

/* Info area */
.team-info {
  padding: 18px 16px 20px;
}

.team-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}

.team-title {
  font-size: .78rem;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 12px;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-secondary);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  transition: color var(--transition);
}

.team-linkedin img{
 height: 30px;
  width: auto;
  object-fit: contain;
}

.team-linkedin:hover {
  color: var(--teal);
}

.team-linkedin svg {
  flex-shrink: 0;
}


/* ── CTA ── */
.cta-section {
  background: var(--navy-mid);
  padding: 120px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-wave {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-wave svg {
  width: 100%;
  height: 100%;
  opacity: 0.12;
}

.cta-inner {
  position: relative;
  z-index: 2;
}

.cta-headline {
  font-family: var(--head);
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 20px;
  line-height: 1.12;
}

.cta-headline em {
  font-style: italic;
  color: var(--coral);
}

.cta-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 auto 40px;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 20px 80px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  font-family: var(--mono);
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-logo-wrap img {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

.footer-contact {
  font-size: 13px;
  color: var(--coral);
  text-decoration: none;
}

.footer-col-title {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--slate);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  justify-content: baseline;
}

#career-link {
  font-size: 13px;
  color: var(--coral);
  text-decoration: none;
  transition: color 0.2s;
}

/* ── FORM LAYOUT (CONTACT + LOGIN) ── */
.contact,
.login {
  background: var(--navy-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact .section-label,
.login .section-label {
  margin-bottom: 16px;
}

.contact .section-headline,
.login .section-headline {
  margin-bottom: 14px;
}

.contact .section-sub,
.login .section-sub {
  margin-bottom: 48px;
  max-width: 760px;
}

.contact-form,
.login-form {
  width: min(100%, 720px);
  display: grid;
  gap: 26px;
}

.contact-form .form-row,
.login-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form label,
.login-form label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}

.contact-form input,
.contact-form textarea,
.login-form input,
.login-form textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 0;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.login-form input::placeholder,
.login-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-form input:focus,
.contact-form textarea:focus,
.login-form input:focus,
.login-form textarea:focus {
  border-bottom-color: var(--coral);
}

.contact-form textarea,
.login-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form .btn-outline,
.login-form .btn-outline {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 13px;
  color: var(--coral);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(250, 110, 90, 0.5);
  border-radius: 8px;
  padding: 14px 22px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  align-self: center;
  width: min(240px, 100%);
}

.contact-form .btn-outline:hover,
.login-form .btn-outline:hover {
  background: rgba(250, 110, 90, 0.12);
  transform: translateY(-1px);
}

.contact-form .cancelbtn,
.login-form .cancelbtn {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.contact-form .cancelbtn:hover,
.login-form .cancelbtn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.login-form .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-form .psw {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.login-form .psw a {
  color: var(--coral);
  text-decoration: none;
  transition: color 0.2s;
}

.login-form .psw a:hover {
  color: var(--coral-light);
  text-decoration: underline;
}

@media (max-width: 1100px) {
  nav {
    padding: 18px 40px;
  }

  .hero {
    padding: 120px 48px 72px;
  }

  section {
    padding: 80px 48px;
  }

  .platform-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .payer-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .payer-solutions .segments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .payer-solutions .segments-grid {
    grid-template-columns: 1fr;
  }

  nav {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .brand-wave {
    display: none;
  }

  section {
    padding: 60px 24px;
  }

  .partners {
    padding: 24px;
    gap: 24px;
  }

  .problem-grid,
  .disc-grid,
  .product-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .segments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advisory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .eco-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 28px;
  }

  .cta-section {
    padding: 80px 24px;
  }
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── THEME TOGGLE ── */
.theme-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.theme-icon {
  font-size: 11px;
  color: rgba(185, 208, 202, 0.45);
  transition: color 0.3s;
  pointer-events: none;
}

[data-theme="light"] .theme-icon-sun,
:not([data-theme]) .theme-icon-sun {
  color: var(--yellow);
}

[data-theme="dark"] .theme-icon-moon {
  color: var(--blue);
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 23px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, border-color 0.3s;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .theme-toggle {
  background: rgba(70, 143, 234, 0.28);
  border-color: rgba(70, 143, 234, 0.45);
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(70, 143, 234, 0.4);
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  background: #B9D0CA;
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s;
  pointer-events: none;
}

[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(19px);
  background: var(--blue);
}

/* ======================================================= */
/* DARK MODE                                               */
/* ======================================================= */

/* CSS variable overrides for dark mode */
[data-theme="dark"] {
  --off-white: #161C24;
  --mint: #1A2D3E;
  --border-color: rgba(255, 255, 255, 0.1);
  --blue-opaque: rgba(70, 143, 234, 0.1);
  --blue-clear: rgba(70, 143, 234, 0.22);
}

/* Smooth theme transitions on key surfaces */
body,
.hero,
section,
.managed-bridge,
.disc-card,
.product-card,
.product-badge,
.segment-card,
.eco-card,
.team-card,
.team-info,
.platform-step,
.platform-difference,
.capabilites-list li,
.module-tag {
  transition: background-color 0.35s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Body */
[data-theme="dark"] body {
  background: #111820;
  color: #C8D4E0;
}

/* Section backgrounds */
[data-theme="dark"] .hero {
  background: #111820;
}

[data-theme="dark"] .disciplines {
  background: #161C24;
}

/* .platform uses var(--off-white) — handled via variable override */

[data-theme="dark"] .segments {
  background: #161C24;
  border-top-color: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .ecosystem {
  background: #111820;
}

/* .team uses var(--off-white) — handled via variable override */

/* Headings that use var(--navy) as text */
[data-theme="dark"] .hero-headline,
[data-theme="dark"] .section-headline,
[data-theme="dark"] #platform-headline,
[data-theme="dark"] .disc-title,
[data-theme="dark"] .segment-name,
[data-theme="dark"] .eco-name,
[data-theme="dark"] .team-name,
[data-theme="dark"] .product-name,
[data-theme="dark"] .platform-arch-headline {
  color: #E2ECF4;
}

/* Secondary / body text */
[data-theme="dark"] .section-sub,
[data-theme="dark"] .hero-sub,
[data-theme="dark"] .disc-desc,
[data-theme="dark"] .disc-bullets li,
[data-theme="dark"] .product-desc,
[data-theme="dark"] .segment-desc,
[data-theme="dark"] .eco-desc,
[data-theme="dark"] .team-title,
[data-theme="dark"] .payer-desc,
[data-theme="dark"] .platform-diff-description,
[data-theme="dark"] .difference-label,
[data-theme="dark"] .step-capabilities {
  color: #7A8FA6;
}

/* Cards */
[data-theme="dark"] .disc-card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .segment-card,
[data-theme="dark"] .eco-card,
[data-theme="dark"] .team-card {
  background-color: rgba(70, 143, 234, 0.08);
  border-color: rgba(70, 143, 234, 0.22);
}

[data-theme="dark"] .eco-card::before,
[data-theme="dark"] .disc-card:hover {
  border-color: rgba(250, 110, 90, 0.35);
}

[data-theme="dark"] .team-photo {
  background-color: #1A2D3E;
}

[data-theme="dark"] .team-info {
  background-color: rgba(70, 143, 234, 0.08);
}

/* Product badges & module tags */
[data-theme="dark"] .product-badge {
  background: #1D2433;
  border-color: rgba(70, 143, 234, 0.5);
}

[data-theme="dark"] .module-tag {
  background: #253040;
  border-color: rgba(255, 255, 255, 0.12);
  color: #7A8FA6;
}

/* Platform steps & differences */
[data-theme="dark"] .platform-step {
  background: #161C24;
  border-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .platform-difference {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Managed bridge */
[data-theme="dark"] .managed-bridge {
  background: rgba(70, 143, 234, 0.06);
  border-top-color: rgba(250, 110, 90, 0.1);
  border-bottom-color: rgba(250, 110, 90, 0.1);
}

[data-theme="dark"] .managed-bridge-text,
[data-theme="dark"] .managed-bridge-text strong {
  color: #7A8FA6;
}

/* Capabilities list */
[data-theme="dark"] .capabilites-list li {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Hero ghost button */
[data-theme="dark"] .btn-hero-ghost {
  border-color: rgba(200, 212, 224, 0.35);
  color: #C8D4E0;
}

[data-theme="dark"] .btn-hero-ghost:hover {
  border-color: var(--coral);
  color: var(--green);
}