/* ==========================================================================
   Synaipse – Shared Stylesheet
   Consolidated from inline styles across all pages.
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --blue-primary: #00629B;
  --blue-light: #2E8BC0;
  --blue-deep: #003D5C;
  --blue-pale: #F0F8FC;
  --slate: #1A2332;
  --slate-light: #2D3B4F;
  --grey: #5E6A71;
  --grey-light: #8A9BA8;
  --grey-muted: #6B7785;
  --amber: #C48A1A;
  --amber-bright: #E8A838;
  --amber-light: #F5C15D;
  --amber-dark: #D4922A;
  --amber-pale: #FFF9F0;
  --teal: #0D9488;
  --teal-dark: #0F766E;
  --teal-pale: #F0FDFA;
  --white: #FFFFFF;
  --off-white: #FAFCFE;
  --surface: #F8FAFC;
  --white-warm: #FEFEFE;
  --border: #E5E7EB;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,98,155,0.1);
  --shadow-lg: 0 12px 40px rgba(0,98,155,0.12);
  --shadow-xl: 0 16px 48px rgba(0,98,155,0.15);
  --shadow-blue-bright: 0 8px 24px rgba(0,98,155,0.25);
  --shadow-amber-md: 0 8px 24px rgba(232,168,56,0.2);
  --shadow-amber-lg: 0 8px 24px rgba(232,168,56,0.3);
}

/* ---------- Dark Mode ---------- */
html.dark {
  --white: #0F1419;
    --off-white: #1A2332;
    --surface: #141E2B;
    --white-warm: #1A2332;
    --slate: #E8ECF0;
    --slate-light: #C8D0D8;
    --grey: #9CA3AF;
    --grey-light: #8A9BA8;
    --grey-muted: #8A9BA8;
    --border: #2D3B4F;
    --blue-pale: #0D2A3D;
    --amber-pale: #2A2210;
}

html.dark body {
  color-scheme: dark;
}

html.dark site-nav nav {
  background: rgba(15, 20, 25, 0.97);
}

html.dark .nav-dropdown {
  background: rgba(15, 20, 25, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

html.dark .nav-links .nav-dropdown a {
  color: #E8ECF0;
}

html.dark .nav-links .nav-dropdown a:hover {
  background: rgba(0, 98, 155, 0.2);
    color: #fff;
}

html.dark .ehr-logo-card {
  background: var(--off-white);
}

html.dark .ehr-vendor {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
}

html.dark .ehr-vendor:hover {
  background: rgba(46, 139, 192, 0.18);
  border-color: var(--blue-light);
  color: #fff;
  box-shadow: none;
}

html.dark .ehr-strip-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

html.dark footer {
  background: #0F1419;
    border-top-color: rgba(255,255,255,0.06);
}

html.dark .footer-col a {
  color: #fff;
}

html.dark .footer-col a:hover {
  color: var(--amber-bright);
}

html.dark .footer-col h4 {
  color: var(--grey-light);
}

html.dark .footer-brand p {
  color: var(--grey-light);
}

html.dark .footer-bottom {
  border-top-color: rgba(255,255,255,0.06);
}

html.dark .footer-social a {
  background: rgba(255,255,255,0.05);
    color: var(--grey-light);
}

html.dark .footer-social a:hover {
  background: var(--amber-bright);
    color: #1A2332;
}

html.dark .footer-partner {
  border-top-color: rgba(255,255,255,0.06);
}

html.dark .footer-contact-item,
html.dark .footer-contact-item a {
  color: var(--grey-light);
}

html.dark .footer-contact-item svg {
  color: var(--amber-bright);
}

html.dark .contact {
  background: #0F1419;
}

html.dark .contact .section-title {
  color: #fff;
}

html.dark .contact-info h3 {
  color: #fff;
}

html.dark .contact-form {
  background: #1A2332;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

html.dark .hero-badge {
  background: rgba(0, 98, 155, 0.15);
    border-color: rgba(0, 98, 155, 0.3);
}

html.dark .role-card-image {
  background: linear-gradient(135deg, #0F1419 0%, #1A2332 100%);
}

html.dark .form-group label {
  color: #fff;
}

html.dark .form-group input,
html.dark .form-group textarea,
html.dark .form-group select {
  background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
    color: #fff;
}

html.dark .about-cta,
html.dark .careers-cta {
  background: #0F1419;
}

html.dark .about-cta h2,
html.dark .careers-cta h2 {
  color: #fff;
}

html.dark .blog-card,
html.dark .role-card,
html.dark .founder-card {
  background: var(--off-white);
}

html.dark .ehr-strip-section {
  background: var(--off-white);
    border-color: var(--border);
}

html.dark .subscribe-form input {
  background: var(--off-white);
    color: var(--slate);
}

html.dark .step-number {
  background: var(--off-white);
}

html.dark .footer-bottom p,
html.dark .stat-label {
  color: var(--grey-light);
}

html.dark .product-feature:nth-child(even) {
  background: rgba(255,255,255,0.02);
}

html.dark .pf-content h2 {
  color: #fff;
}

html.dark .pf-content p {
  color: rgba(255,255,255,0.6);
}

html.dark .pf-chip {
  color: var(--blue-light);
    background: rgba(0, 98, 155, 0.15);
    border-color: rgba(0, 98, 155, 0.25);
}

html.dark .product-cta {
  background: linear-gradient(135deg, #003d5f, #002a42);
}

html.dark .institution-logos-label {
  color: rgba(255,255,255,0.5);
}

html.dark .institution-logo img {
  filter: grayscale(1) brightness(0.8) invert(1);
    opacity: 0.6;
}

html.dark .institution-logo:hover img {
  filter: grayscale(0) brightness(0.85) invert(1);
    opacity: 0.9;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Skip Navigation ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--blue-primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Focus Styles ---------- */
:focus-visible {
  outline: 3px solid var(--blue-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 0;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Navigation ---------- */
site-nav nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 40px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s, border-color 0.3s;
}

site-nav nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom-color: rgba(0, 98, 155, 0.1);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

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

.nav-logo svg {
  width: 40px;
  height: 40px;
}

.nav-wordmark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--slate);
}

.nav-wordmark .ai {
  color: var(--blue-primary);
  font-weight: 800;
}

/* Inline brand wordmark for running text */
.inline-brand-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--slate);
  white-space: nowrap;
}

.inline-brand-text .ai {
  color: var(--blue-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  color: var(--grey);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-primary);
}

.nav-links .nav-cta {
  background: var(--blue-primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
}

.nav-links .nav-cta:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
}

/* ---------- Theme Toggle ---------- */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: var(--grey);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
  position: relative;
  z-index: 1002;
}

.theme-toggle:hover {
  color: var(--slate);
  border-color: var(--grey-light);
  background: var(--surface);
}

.theme-icon-moon { display: none; }

html.dark .theme-icon-sun { display: none; }
html.dark .theme-icon-moon { display: block; }

html.dark .theme-toggle {
  border-color: rgba(255,255,255,0.15);
  color: var(--grey-light);
}

html.dark .theme-toggle:hover {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  background: rgba(255,255,255,0.06);
}

/* ---------- Nav Dropdowns ---------- */
.nav-item {
  position: relative;
}

.nav-item > .nav-item-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--grey);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  cursor: default;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

.nav-item > .nav-item-trigger:hover,
.nav-item:hover > .nav-item-trigger,
.nav-item:focus-within > .nav-item-trigger {
  color: var(--blue-primary);
}

.nav-item-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.nav-item:hover .nav-item-chevron,
.nav-item:focus-within .nav-item-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 220px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 1001;
}

.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-links .nav-dropdown a {
  display: block;
  padding: 10px 14px;
  color: var(--slate);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-links .nav-dropdown a:hover {
  background: var(--blue-pale);
  color: var(--blue-primary);
}

/* "Coming Soon" badge in nav dropdown */
.nav-badge-soon {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--amber-bright);
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1.2;
}

/* Dark mode overrides for nav and dropdown — must appear after base nav/.nav-dropdown rules */
html.dark site-nav nav {
  background: rgba(15, 20, 25, 0.97);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

html.dark .nav-dropdown {
  background: rgba(15, 20, 25, 0.98);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

html.dark .nav-links .nav-dropdown a {
  color: #E8ECF0;
}

html.dark .nav-links .nav-dropdown a:hover {
  background: rgba(0, 98, 155, 0.2);
    color: #fff;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--slate);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  display: block;
  color: var(--grey);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--blue-primary);
}

.mobile-menu .mobile-cta {
  background: var(--blue-primary);
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  margin-top: 8px;
}

/* Mobile dropdown accordion */
.mobile-nav-group {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-group-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: var(--grey);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: color 0.2s;
}

.mobile-nav-group-trigger:hover {
  color: var(--blue-primary);
}

.mobile-nav-group-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.25s;
  color: var(--grey-light);
}

.mobile-nav-group.open .mobile-nav-group-chevron {
  transform: rotate(180deg);
}

.mobile-nav-group-items {
  display: none;
  padding: 0 0 8px 16px;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-group.open .mobile-nav-group-items {
  display: flex;
}

.mobile-menu .mobile-nav-group-items a {
  font-size: 15px;
  padding: 8px 0;
  border-bottom: none;
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: var(--blue-primary);
  color: #fff;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue-bright);
}

.btn-primary.amber {
  background: var(--amber-bright);
  color: var(--slate);
}

.btn-primary.amber:hover {
  background: var(--amber-light);
  box-shadow: var(--shadow-amber-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--slate);
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.section-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  color: var(--slate);
}

.section-title .highlight {
  color: var(--blue-primary);
}

.section-sub {
  font-size: 18px;
  color: var(--grey);
  max-width: 650px;
  margin: 0 auto;
}

/* ---------- Hero (Index) ---------- */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--white) 35%, var(--white) 65%, var(--amber-pale) 100%);
  position: relative;
  overflow: hidden;
}


.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-pale);
  border: 1px solid rgba(0, 98, 155, 0.15);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--amber-bright);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge .pulse-dot { animation: none; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

/* Dark mode override for hero badge — placed after base rule */
html.dark .hero-badge {
  background: rgba(0, 98, 155, 0.15);
    border-color: rgba(0, 98, 155, 0.3);
}

/* Display typography — Space Grotesk for hero / top-of-page h1s.
   Body remains DM Sans (inherited from body). */
.hero h1,
.about-hero h1,
.cred-hero h1,
.trust-hero h1,
.ditl-hero h1,
.careers-hero h1,
.blg-hero-title,
.kb-hero h1,
.coming-soon-title,
.prc-hero-title {
  font-family: 'Space Grotesk', 'DM Sans', sans-serif;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--slate);
}

.hero h1 .highlight {
  color: var(--blue-primary);
}

.hero-sub {
  font-size: 18px;
  color: var(--grey);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Stats ---------- */
.stats {
  padding: 80px 0;
  background: var(--blue-primary);
  color: #fff;
}

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

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.stat-number .accent {
  color: var(--amber-bright);
}

.stat-label {
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  letter-spacing: 0.15px;
  line-height: 1.45;
  max-width: 220px;
  margin: 0 auto;
}

.stat-number-wrap {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
}

.stat-source {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  margin-top: 8px;
}

.stat-source a {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.18s, background 0.18s;
}

.stat-source a:hover,
.stat-source a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

/* ---------- Platform Section ---------- */
.platform {
  padding: 100px 0;
  background: var(--white);
}

.platform-visual {
  background: linear-gradient(135deg, #1A2332 0%, #2D3B4F 100%);
  border-radius: 24px;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.platform-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.platform-layers {
  position: relative;
  z-index: 2;
}

.platform-layer {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px 32px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s;
}

.platform-layer:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--amber-bright);
}

.platform-layer.synaipse {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
  border: 2px solid var(--amber-bright);
  box-shadow: 0 8px 32px rgba(232,168,56,0.2);
}

.platform-layer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.platform-layer-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}

.platform-layer.synaipse .platform-layer-icon {
  background: var(--amber-bright);
}

.platform-layer h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.platform-layer p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.platform-layer-right {
  display: flex;
  gap: 8px;
}

.platform-tag {
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.platform-layer.synaipse .platform-tag {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* ---------- Role-Based Cards (Platform Section) ---------- */
.role-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.role-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--blue-primary);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.role-card:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px) scale(1.01);
}

.role-card:hover::before {
  transform: scaleX(1);
}

.role-card.featured {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-md);
}

.role-card.featured::before {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--blue-primary), var(--amber-bright));
}

.role-card-image {
  background: linear-gradient(135deg, #1A2332 0%, #2D3B4F 100%);
  border-radius: 12px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  overflow: hidden;
}

.role-card-image-placeholder {
  color: rgba(255, 255, 255, 0.25);
}

/* Role card UI mockups */
.role-card-ui {
  width: 100%;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rcu-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.rcu-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.rcu-window-title {
  margin-left: 6px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.03em;
}

.rcu-patient-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 5px 8px;
}

.rcu-patient-name {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.rcu-status {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 2px 6px;
  border-radius: 4px;
}

.rcu-status--green {
  background: rgba(16,185,129,0.2);
  color: #6EE7B7;
}

.rcu-status--blue {
  background: rgba(0,98,155,0.3);
  color: #93C5FD;
}

.rcu-status--amber {
  background: rgba(232,168,56,0.2);
  color: #FCD34D;
}

/* Clinical Staff mockup */
.rcu-waveform {
  width: 100%;
  height: 36px;
  margin: 2px 0;
}

.rcu-waveform svg {
  width: 100%;
  height: 100%;
}

.rcu-code-suggestion {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rcu-code-badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(46,139,192,0.25);
  color: #93C5FD;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.rcu-confidence {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
}

.rcu-note-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
}

.rcu-note-line {
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

/* Billing mockup */
.rcu-metrics-row {
  display: flex;
  gap: 10px;
  margin-bottom: 2px;
}

.rcu-metric {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rcu-metric-val {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  line-height: 1;
}

.rcu-metric-val--amber {
  color: #FCD34D;
}

.rcu-metric-label {
  font-size: 9px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}

.role-card-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  color: var(--blue-primary);
}

.role-card.featured .role-card-icon {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
  color: #fff;
}

.role-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--slate);
}

.role-card > p {
  color: var(--grey);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.role-card-features {
  list-style: none;
}

.role-card-features li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--grey);
  line-height: 1.5;
}

.role-card-features li::before {
  content: '\2713';
  color: var(--blue-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.role-card.featured .role-card-features li::before {
  color: var(--amber);
}

/* ---------- EHR Strip ---------- */
.ehr-strip-section {
  padding: 48px 0;
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero-ehr {
  margin-top: 48px;
  position: relative;
  z-index: 2;
}

.ehr-strip-subtitle {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 24px;
}

.ehr-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.ehr-vendor {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 14px;
  color: var(--slate-light);
  letter-spacing: -0.2px;
  transition: all 0.25s;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.ehr-vendor:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
  background: var(--blue-pale);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Per-vendor brand typography */
.ehr-vendor--epic       { font-weight: 700; }
.ehr-vendor--athena     { font-weight: 600; font-style: italic; }
.ehr-vendor--nextgen    { font-weight: 700; }
.ehr-vendor--cerner     { font-weight: 700; letter-spacing: -0.3px; }
.ehr-vendor--ecw        { font-weight: 600; }
.ehr-vendor--modmed     { font-weight: 700; }
.ehr-vendor--veradigm   { font-weight: 700; letter-spacing: 0.3px; }
.ehr-vendor--greenway   { font-weight: 600; }
.ehr-vendor--advancedmd { font-weight: 700; }

/* EHR Marquee Animation */
.ehr-marquee {
  overflow: hidden;
  width: 100%;
  padding: 8px 0;
}

.ehr-marquee-track {
  display: flex;
  gap: 12px;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.ehr-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ehr-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
}

/* ---------- Platform Preview ---------- */
.platform-preview {
  padding: 80px 0;
  background: linear-gradient(135deg, #1A2332 0%, #2D3B4F 100%);
  position: relative;
  overflow: hidden;
}

.platform-preview::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}


.platform-preview-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.preview-frame {
  background: #0F1419;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), 0 0 60px rgba(0, 98, 155, 0.15);
}

.preview-frame-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-frame-titlebar .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}

.preview-frame-titlebar .dot.red { background: #FF5F57; }
.preview-frame-titlebar .dot.yellow { background: #FEBC2E; }
.preview-frame-titlebar .dot.green { background: #28C840; }

.preview-frame-titlebar .titlebar-text {
  margin-left: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.preview-frame-body {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
}

.preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
}

.preview-placeholder svg {
  opacity: 0.4;
}

.preview-placeholder-title {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

.preview-placeholder-sub {
  font-size: 15px;
  max-width: 400px;
  line-height: 1.6;
}

/* -- Dashboard mockup (credentialing page) -- */
.preview-frame-body--has-dashboard {
  min-height: auto;
  padding: 0;
  display: block;
}

.dash-mock {
  display: flex;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px;
  line-height: 1.4;
  color: #334155;
  background: #F8FAFC;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  min-height: 420px;
}

/* Sidebar */
.dash-sidebar {
  width: 180px;
  min-width: 180px;
  background: #1A2332;
  color: #94A3B8;
  display: flex;
  flex-direction: column;
  padding: 0;
  flex-shrink: 0;
}

.dash-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dash-sidebar-wordmark {
  display: flex;
  flex-direction: column;
}

.dash-brand-name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.dash-brand-ai {
  color: #E8A838;
}

.dash-brand-sub {
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #64748B;
  font-weight: 600;
}

.dash-sidebar-label {
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #475569;
  font-weight: 700;
  padding: 12px 14px 4px;
}

.dash-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0 6px;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 10px;
  color: #64748B;
  border-left: 3px solid transparent;
  white-space: nowrap;
}

.dash-nav-active {
  background: rgba(0, 98, 155, 0.2);
  color: #fff;
  border-left-color: #00629B;
  font-weight: 500;
}

.dash-sidebar-agents {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0 14px;
}

.dash-agent {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  color: #475569;
  padding: 3px 0;
  white-space: nowrap;
}

.dash-agent-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-left: auto;
  flex-shrink: 0;
}

.dash-agent-idle { background: #475569; }
.dash-agent-running { background: #00629B; animation: dashPulse 1.5s ease-in-out infinite; }
.dash-agent-done { background: #16A34A; }

@keyframes dashPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.dash-sidebar-user {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.1);
}

.dash-user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, #00629B, #334155);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dash-user-name {
  font-size: 8px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-user-role {
  font-size: 7px;
  color: #E8A838;
  font-weight: 500;
}

/* Main Content Area */
.dash-main {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  min-width: 0;
}

.dash-header { margin-bottom: 2px; }

.dash-title {
  font-size: 16px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.02em;
}

.dash-subtitle {
  font-size: 9px;
  color: #64748B;
  font-weight: 500;
  margin-top: 1px;
}

/* KPI Cards */
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.dash-kpi {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.dash-kpi-label {
  font-size: 8px;
  color: #64748B;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-kpi-value {
  font-size: 18px;
  font-weight: 900;
  color: #0F172A;
  margin-top: 2px;
  letter-spacing: -0.02em;
}

/* Cards Grid */
.dash-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dash-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dash-card-wide {
  grid-column: span 1;
}

.dash-card-title {
  font-size: 9px;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}

.dash-icon-amber { color: #E8A838; font-size: 10px; }
.dash-icon-blue { color: #00629B; font-size: 10px; }

/* Pipeline items */
.dash-pipeline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0;
}

.dash-pipeline-count {
  font-size: 9px;
  font-weight: 700;
  color: #0F172A;
}

/* Status pills */
.dash-pill {
  display: inline-block;
  font-size: 7px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 99px;
  white-space: nowrap;
}

.dash-pill-blue { background: #E8F4FA; color: #00629B; }
.dash-pill-amber { background: #FEF7E8; color: #B17B1A; }
.dash-pill-green { background: #DCFCE7; color: #15803D; }
.dash-pill-purple { background: #F3E8FF; color: #7C3AED; }

/* Needs Attention */
.dash-attention-item {
  border-left: 2px solid #E8A838;
  padding-left: 8px;
  padding: 2px 0 2px 8px;
}

.dash-attention-title {
  font-size: 8px;
  font-weight: 600;
  color: #0F172A;
}

.dash-attention-sub {
  font-size: 7px;
  color: #94A3B8;
}

/* Agent Activity */
.dash-activity-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
}

.dash-activity-info {
  flex: 1;
  min-width: 0;
}

.dash-activity-name {
  font-size: 8px;
  font-weight: 600;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-activity-detail {
  font-size: 7px;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bottom row */
.dash-bottom-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 10px;
}

/* Table */
.dash-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dash-table-header,
.dash-table-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.6fr 0.8fr;
  gap: 4px;
  padding: 4px 0;
  align-items: center;
}

.dash-table-header {
  font-size: 7px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #E2E8F0;
}

.dash-table-row {
  font-size: 8px;
  color: #334155;
  border-bottom: 1px solid #F1F5F9;
}

/* Renewal items */
.dash-renewal-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
}

.dash-renewal-label {
  font-size: 8px;
  font-weight: 500;
  color: #334155;
  min-width: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-renewal-bar {
  flex: 1;
  height: 4px;
  background: #E2E8F0;
  border-radius: 2px;
  overflow: hidden;
}

.dash-renewal-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s;
}

.dash-renewal-urgent { background: #DC2626; }
.dash-renewal-warning { background: #E8A838; }
.dash-renewal-ok { background: #16A34A; }

.dash-renewal-days {
  font-size: 8px;
  font-weight: 700;
  color: #64748B;
  font-family: 'JetBrains Mono', monospace;
  min-width: 24px;
  text-align: right;
}

/* Responsive: hide sidebar on small screens */
@media (max-width: 768px) {
  .dash-sidebar { display: none; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-cards-row { grid-template-columns: 1fr; }
  .dash-bottom-row { grid-template-columns: 1fr; }
}

/* ---------- Product Feature Sections ---------- */
.product-feature {
  padding: 88px 0;
}

.product-feature:nth-child(even) {
  background: var(--off-white);
}

/* Split layout */
.pf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.pf-split--reverse {
  direction: rtl;
}

.pf-split--reverse > * {
  direction: ltr;
}

/* Visual side — mockup container */
.pf-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-mockup {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(145deg, #1A2332 0%, #0F1A27 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 20px 22px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Mockup sub-elements */
.pf-mock-alert {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 98, 155, 0.2);
  border: 1px solid rgba(0, 98, 155, 0.3);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #93C5FD;
  margin-bottom: 4px;
}

.pf-mock-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  gap: 8px;
}

.pf-mock-field:last-of-type {
  border-bottom: none;
}

.pf-mock-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.pf-mock-value {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pf-mock-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.pf-mock-badge--green {
  background: rgba(16, 185, 129, 0.2);
  color: #6EE7B7;
}

.pf-mock-badge--blue {
  background: rgba(0, 98, 155, 0.3);
  color: #93C5FD;
}

.pf-mock-badge--amber {
  background: rgba(232, 168, 56, 0.2);
  color: #FCD34D;
}

.pf-mock-cta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #6EE7B7;
}

.pf-mock-recording {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #F87171;
  padding: 4px 0;
}

.pf-mock-time {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  font-size: 11px;
}

.pf-mock-checklist {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 2px 0;
}

.pf-mock-check-item {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  padding-left: 18px;
  position: relative;
}

.pf-mock-check-item--done {
  color: rgba(255, 255, 255, 0.7);
}

.pf-mock-check-item--done::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #6EE7B7;
  font-size: 10px;
  font-weight: 700;
}

.pf-mock-pa-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pf-mock-pa-id {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.pf-mock-steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 0 2px 10px;
  border-left: 2px solid rgba(0, 98, 155, 0.4);
  margin-left: 4px;
}

.pf-mock-step {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  padding-left: 8px;
}

.pf-mock-step--done {
  color: rgba(255, 255, 255, 0.6);
}

.pf-mock-step--done::before {
  content: '✓ ';
  color: #6EE7B7;
  font-weight: 700;
}

.pf-mock-step--active {
  color: #FCD34D;
}

.pf-mock-step--active::before {
  content: '◉ ';
}

.pf-mock-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.pf-mock-bar-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  width: 24px;
  flex-shrink: 0;
}

.pf-mock-bar {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.pf-mock-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-light));
  border-radius: 4px;
}

.pf-mock-bar-val {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  width: 34px;
  text-align: right;
  flex-shrink: 0;
}

/* Content side */
.pf-step {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 12px;
}

.pf-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 98, 155, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  margin-bottom: 20px;
}

.pf-content h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 14px;
  line-height: 1.2;
}

.pf-content p {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 24px;
}

.pf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-primary);
  background: rgba(0, 98, 155, 0.07);
  border: 1px solid rgba(0, 98, 155, 0.18);
  border-radius: 20px;
  padding: 6px 14px;
}

.pf-chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-primary);
  opacity: 0.6;
  flex-shrink: 0;
}

/* ---------- Compliance / Certification Badges ---------- */
.compliance-badges {
  padding: 48px 0;
  background: var(--bg);
  border-top: 1px solid rgba(0, 98, 155, 0.08);
}

.compliance-badges-inner {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 72px;
  flex-wrap: wrap;
}

.compliance-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.compliance-badge:hover {
  opacity: 1;
}

.compliance-badge svg {
  width: 120px;
  height: auto;
}

/* HIPAA vertical stacked badge */
.compliance-badge--hipaa svg {
  width: 160px;
}

.compliance-badge-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-primary);
}

@media (max-width: 640px) {
  .compliance-badges {
    padding: 32px 0;
  }

  .compliance-badges-inner {
    gap: 40px;
  }

  .compliance-badge svg {
    width: 88px;
    height: auto;
  }

  .compliance-badge--hipaa svg {
    width: 120px;
  }

  .compliance-badge-label {
    font-size: 11px;
  }
}

/* ---------- Coming Soon Page ---------- */
.coming-soon-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--bg);
}

.coming-soon-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.coming-soon-badge {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--amber-bright);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.coming-soon-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--slate);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.coming-soon-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--grey);
  margin-bottom: 40px;
}

.coming-soon-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.coming-soon-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
}

.coming-soon-notify {
  font-size: 15px;
  color: var(--grey-light);
  margin-bottom: 28px;
  font-style: italic;
}

@media (max-width: 768px) {
  .coming-soon-hero {
    padding: 100px 0 60px;
    min-height: 70vh;
  }

  .coming-soon-title {
    font-size: 36px;
  }

  .coming-soon-features {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* Product page CTA */
.product-cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--blue-primary), #004d7a);
  color: white;
}

.product-cta h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.product-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

/* ---------- Credentialing: Product Logo in Hero ---------- */
.cred-hero .about-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cred-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.cred-logo-icon {
  flex-shrink: 0;
}

.cred-logo-text {
  display: flex;
  flex-direction: column;
}

.cred-logo-wordmark {
  font-family: 'DM Sans', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--slate);
  letter-spacing: -0.5px;
  line-height: 1;
}

.cred-logo-ai {
  color: var(--blue-primary);
}

.cred-logo-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 2px;
}

/* ---------- Credentialing: Integration Logos (inline with feature) ---------- */
.cred-integration-inner {
  grid-template-columns: 280px 1fr;
  max-width: 960px;
  gap: 48px;
  align-items: center;
}

.cred-integration-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.cred-integration-logo {
  transition: opacity 0.3s ease;
}

.cred-integration-logo--caqh svg {
  height: 64px;
  width: auto;
  display: block;
}

.cred-integration-logo--nppes svg {
  height: 72px;
  width: auto;
  display: block;
}

.cred-integration-logo--npdb svg {
  height: 60px;
  width: auto;
  display: block;
}

html.dark .cred-integration-logo--caqh,
html.dark .cred-integration-logo--nppes,
html.dark .cred-integration-logo--npdb {
  filter: brightness(1.6) saturate(0.8);
}

@media (max-width: 640px) {
  .cred-logo {
    flex-direction: column;
    text-align: center;
  }
  .cred-logo-wordmark {
    font-size: 30px;
  }
  .cred-logo-sub {
    letter-spacing: 3px;
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .cred-integration-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cred-integration-logos {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  .cred-integration-logo--caqh svg {
    height: 52px;
  }
  .cred-integration-logo--nppes svg {
    height: 56px;
  }
  .cred-integration-logo--npdb svg {
    height: 48px;
  }
}

/* ---------- Credentialing Feature Cards ---------- */
.cred-features {
  padding: 80px 0;
}

.cred-features-header {
  text-align: center;
  margin-bottom: 56px;
}

.cred-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cred-feature-card {
  background: var(--white-warm, #FEFEFE);
  border: 1px solid rgba(0, 62, 92, 0.10);
  border-radius: 16px;
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.cred-feature-card:hover {
  box-shadow: 0 12px 40px rgba(0, 62, 92, 0.12);
  border-color: rgba(0, 98, 155, 0.22);
  transform: translateY(-4px);
}

/* Illustration area — fixed height for even cards */
.cred-feature-illust {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cred-feature-illust svg {
  width: 160px;
  height: 120px;
}

.cred-feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate);
  margin: 0;
}

.cred-feature-card p {
  font-size: 0.9375rem;
  color: #5E6A71;
  margin: 0;
  line-height: 1.6;
  max-width: 340px;
}

/* Full-width feature cards */
.cred-feature-card--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  text-align: left;
  align-items: flex-start;
  gap: 24px;
}

.cred-feature-card--wide .cred-feature-illust {
  width: 160px;
  flex-shrink: 0;
}

.cred-feature-card--wide p {
  max-width: 480px;
}

/* CAQH/NPI Integration card — full-width with big logos */
.cred-feature-card--integration {
  grid-column: 1 / -1;
  padding: 48px 40px 36px;
  gap: 20px;
}

.cred-integration-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  width: 100%;
}

.cred-integration-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cred-integration-logo--caqh svg {
  height: 72px;
  width: auto;
}

.cred-integration-logo--nppes svg {
  height: 64px;
  width: auto;
}

.cred-integration-logo--npdb svg {
  height: 64px;
  width: auto;
}

.cred-feature-card--integration h3 {
  font-size: 1.25rem;
}

.cred-feature-card--integration p {
  max-width: 520px;
}

/* Responsive */
@media (max-width: 768px) {
  .cred-feature-grid {
    grid-template-columns: 1fr;
  }

  .cred-features {
    padding: 48px 0;
  }

  .cred-features-header {
    margin-bottom: 32px;
  }

  .cred-feature-card--wide {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .cred-feature-card--wide .cred-feature-illust {
    width: 100%;
  }

  .cred-feature-card--integration {
    padding: 32px 24px 28px;
  }

  .cred-integration-logos-row {
    gap: 32px;
  }

  .cred-integration-logo--caqh svg {
    height: 56px;
  }

  .cred-integration-logo--nppes svg,
  .cred-integration-logo--npdb svg {
    height: 48px;
  }
}

html.dark .cred-feature-card {
  background: #1A2332;
    border-color: rgba(255, 255, 255, 0.08);
}

html.dark .cred-feature-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.15);
}

html.dark .cred-feature-card h3 {
  color: #F1F5F9;
}

html.dark .cred-feature-card p {
  color: #94A3B8;
}

html.dark .cred-integration-logo--npdb text[fill="#000000"] {
  fill: #94A3B8;
}

/* ---------- Credentialing: How It Works Steps ---------- */
.cred-how-it-works {
  padding: 100px 0;
  background: var(--off-white);
}

.cred-how-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.cred-how-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--slate);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cred-how-header p {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.7;
}

.cred-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.cred-step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.cred-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
  color: white;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-blue-bright);
}

.cred-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 8px;
}

.cred-step p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.6;
}

.cred-step-connector {
  width: 40px;
  min-width: 40px;
  height: 2px;
  background: var(--border);
  margin-top: 24px;
}

@media (max-width: 768px) {
  .cred-steps {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
  .cred-step {
    max-width: 400px;
  }
  .cred-step-connector {
    width: 2px;
    min-width: 2px;
    height: 32px;
    margin-top: 0;
  }
  .cred-how-header h2 {
    font-size: 28px;
  }
}

/* ---------- Patient Timeline ---------- */
.timeline {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--slate) 0%, #0f1a26 100%);
  position: relative;
  overflow: hidden;
}

.timeline .section-label {
  color: var(--amber-bright);
}

.timeline .section-title {
  color: var(--white);
}

.timeline .section-sub {
  color: rgba(255,255,255,0.7);
}

.timeline-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 800px;
  margin: 48px auto 0;
  padding: 0 20px;
}

.timeline-line {
  position: absolute;
  top: 16px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}

.timeline-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  min-width: 80px;
}

.timeline-node-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 3px solid rgba(255,255,255,0.25);
  transition: all 0.3s ease;
  position: relative;
}

.timeline-node-dot::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.3s ease;
}

.timeline-node.active .timeline-node-dot {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 6px rgba(0, 98, 155, 0.25);
}

.timeline-node.active .timeline-node-dot::after {
  background: white;
}

.timeline-node:hover:not(.active) .timeline-node-dot {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.15);
}

.timeline-node-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.timeline-node.active .timeline-node-label {
  color: white;
}

.timeline-node:hover:not(.active) .timeline-node-label {
  color: rgba(255,255,255,0.75);
}

@keyframes timeline-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(0, 98, 155, 0.25); }
  50% { box-shadow: 0 0 0 12px rgba(0, 98, 155, 0.1); }
}

.timeline-node.active .timeline-node-dot {
  animation: timeline-pulse 2.5s ease-in-out infinite;
}

.timeline-panels {
  max-width: 800px;
  margin: 32px auto 0;
  padding: 0 20px;
  position: relative;
  min-height: 200px;
}

.timeline-panel {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
  display: none;
}

.timeline-panel.active {
  display: block;
  animation: timeline-panel-in 0.35s ease-out;
}

@keyframes timeline-panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.timeline-panel h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.timeline-panel p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 20px;
}

.timeline-panel ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.timeline-panel ul li {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  padding-left: 20px;
  position: relative;
}

.timeline-panel ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-bright);
}

.timeline-sync-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  padding: 14px 24px;
  border-radius: 999px;
  background: rgba(232, 168, 56, 0.08);
  border: 1px solid rgba(232, 168, 56, 0.15);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.timeline-sync-note svg {
  flex-shrink: 0;
  color: var(--amber-bright);
}

.timeline-sync-note span {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

@media (max-width: 768px) {
  .timeline-track {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  .timeline-line {
    top: 16px;
    bottom: 16px;
    left: 15px;
    right: auto;
    width: 3px;
    height: auto;
  }

  .timeline-node {
    flex-direction: row;
    gap: 16px;
    padding: 12px 0;
    min-width: 0;
  }

  .timeline-node-dot {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  .timeline-node-label {
    font-size: 15px;
  }

  .timeline-panels {
    padding: 0;
  }

  .timeline-panel ul {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-node.active .timeline-node-dot {
    animation: none;
  }
  .timeline-panel.active {
    animation: none;
  }
}

/* ---------- How it Works ---------- */
.how-it-works {
  padding: 100px 0;
  background: var(--off-white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.steps::before {
  display: none;
}

.step {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.step::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-light));
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.step:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.step:hover::after {
  transform: scaleX(1);
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  border: none;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0, 98, 155, 0.25);
}

.step:hover .step-number {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-primary));
  box-shadow: 0 8px 24px rgba(0, 98, 155, 0.4);
  transform: scale(1.05);
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--slate);
}

.step p {
  color: var(--grey);
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- Blog Preview (Index) ---------- */
.blog-preview {
  padding: 100px 0;
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.blog-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--amber);
  border-radius: 16px;
  padding: 32px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.blog-card:hover {
  border-color: var(--amber-dark);
  border-left-color: var(--amber-bright);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.blog-card-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.blog-card h3,
.blog-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-card p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card-meta {
  font-size: 13px;
  color: var(--grey-light);
}

.blog-cta {
  text-align: center;
}

/* ---------- Contact ---------- */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--off-white) 50%, var(--amber-pale) 100%);
  color: var(--slate);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(0,98,155,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact .section-label {
  color: var(--amber);
}

.contact .section-title {
  color: var(--slate);
}

.contact .section-sub {
  color: var(--grey);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--slate);
}

.contact-info p {
  color: var(--grey);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--grey);
  font-size: 15px;
}

.contact-detail svg {
  color: var(--blue-primary);
  flex-shrink: 0;
}

.contact-form {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* Dark mode override for contact form — placed after base rule */
html.dark .contact-form {
  background: var(--slate);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--slate);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--slate);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--grey-light);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group .field-error {
  color: #F87171;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select {
  border-color: #F87171;
}

.form-group.invalid .field-error {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  background: var(--blue-primary);
  color: #fff;
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.form-submit:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue-bright), 0 0 20px rgba(0, 98, 155, 0.2);
}

/* ---------- Form Fetch State CSS ---------- */
.form-submitting .form-submit {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-success {
  background: #F0FAF5;
  border: 1px solid #6EE7B7;
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success p {
  color: var(--slate);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

.form-error-banner {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: 8px;
  color: #991B1B;
  font-size: 14px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

html.dark .form-success {
  background: rgba(16, 185, 129, 0.1);
    border-color: rgba(110, 231, 183, 0.3);
}

html.dark .form-success p {
  color: #D1FAE5;
}

html.dark .form-error-banner {
  background: rgba(239, 68, 68, 0.1);
    border-color: rgba(252, 165, 165, 0.3);
    color: #FCA5A5;
}

/* ---------- Footer ---------- */
footer {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}

footer > .container {
  max-width: 1320px;
  padding: 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--grey);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--amber-bright);
  font-size: 13px;
  font-weight: 500;
  margin-top: 16px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--slate);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--blue-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-link {
  font-size: 13px;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-link:hover {
  color: var(--blue-primary);
}

html.dark .footer-bottom-link {
  color: var(--grey-light);
}

html.dark .footer-bottom-link:hover {
  color: var(--amber-bright);
}

.footer-bottom p {
  color: var(--grey);
  font-size: 13px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.04);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  text-decoration: none;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--blue-primary);
  color: #fff;
}

/* ---------- About Page ---------- */
.about-hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--white) 50%, var(--amber-pale) 100%);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(0,98,155,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--slate);
}

.about-hero h1 .highlight {
  color: var(--blue-primary);
}

.about-hero-sub {
  font-size: 20px;
  color: var(--grey);
  line-height: 1.7;
  max-width: 650px;
}

/* Mission Section */
.mission {
  padding: 100px 0;
  background: var(--white);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission-content h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: var(--slate);
}

.mission-content p {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 20px;
}

.mission-statement {
  margin: 20px 0 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(0,98,155,0.07), rgba(0,98,155,0.02));
  border-left: 4px solid var(--blue-primary);
  border-radius: 0 8px 8px 0;
}

.mission-statement p {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--blue-deep) !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

.story-vision {
  margin-top: 32px;
  padding: 32px 36px;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-primary) 100%);
  border-radius: 16px;
  color: white;
}

.story-vision-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
}

.story-vision p {
  font-size: 18px !important;
  font-weight: 500 !important;
  color: white !important;
  margin: 0 !important;
  line-height: 1.75 !important;
}

.mission-visual {
  background: linear-gradient(135deg, #1A2332 0%, #2D3B4F 100%);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.mission-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.mission-values {
  position: relative;
  z-index: 2;
}

.mission-value {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.mission-value:last-child {
  margin-bottom: 0;
}

.mission-value-icon {
  width: 48px;
  height: 48px;
  background: var(--amber-bright);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #1A2332;
}

.mission-value h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.mission-value p {
  font-size: 15px;
  color: var(--grey-light);
  line-height: 1.6;
}

/* Founders Section */
.founders {
  padding: 100px 0;
  background: var(--off-white);
}

.founders-header {
  text-align: center;
  margin-bottom: 60px;
}

.founders-header h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  color: var(--slate);
}

.founders-header p {
  font-size: 18px;
  color: var(--grey);
  max-width: 600px;
  margin: 0 auto;
}

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

.founders-grid--three {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.founders-grid--three .founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
}

.founders-grid--three .founder-name {
  font-size: 22px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.founders-grid--three .founder-bio {
  width: 100%;
  text-align: center;
}

.founders-grid--three .founder-social {
  margin-top: auto;
}

.founder-role-tag--placeholder {
  visibility: hidden;
}

.founder-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--amber-bright));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.founder-card:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-xl);
}

.founder-card:hover::before {
  transform: scaleX(1);
}

.founder-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 28px;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}

.founder-name {
  font-size: 28px;
  font-weight: 800;
  color: var(--slate);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.founder-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 8px;
}

.founder-role-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--grey);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

.founder-bio {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 24px;
  text-align: left;
}

.founder-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--blue-primary);
  transition: color 0.2s ease, transform 0.2s ease;
}

.founder-social:hover,
.founder-social:focus-visible {
  color: var(--blue-light);
  transform: translateY(-1px);
}

.founder-social svg {
  width: 100%;
  height: 100%;
}

.founders-advisor {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.advisor-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 36px;
  max-width: 640px;
  width: 100%;
  text-align: center;
}

.advisor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 16px;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}

.advisor-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 4px;
}

.advisor-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--grey);
  margin-bottom: 14px;
}

.advisor-bio {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
  text-align: center;
}

.founder-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.founder-credential {
  background: var(--blue-pale);
  color: var(--blue-primary);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Institution Logos ---------- */
.institution-logos {
  margin-top: 56px;
  text-align: center;
}

.institution-logos-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--grey);
  margin-bottom: 28px;
}

.institution-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.institution-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.institution-logo img {
  height: 100px;
  width: auto;
  display: block;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.institution-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .institution-logos-row {
    gap: 24px;
  }
  .institution-logo img {
    height: 64px;
  }
}

/* ---------- Board of Directors ---------- */
.board-directors {
  margin-top: 64px;
  text-align: center;
}

.board-directors-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--grey);
  margin-bottom: 32px;
}

.board-directors-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.board-member-card {
  flex: 0 1 calc(50% - 20px);
  min-width: 280px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.board-member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--amber-bright));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.board-member-card:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-xl);
}

.board-member-card:hover::before {
  transform: scaleX(1);
}

.board-member-name {
  font-size: 28px;
  font-weight: 800;
  color: var(--slate);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.board-member-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 20px;
}

.board-member-bio {
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey);
  text-align: left;
}

html.dark .board-member-card {
  background: rgba(255, 255, 255, 0.05);
}

html.dark .board-member-name {
  color: #fff;
}

/* ---------- Advisory Board Page ---------- */
.board-mission {
  padding: 100px 0;
  background: var(--off-white);
}

.board-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.board-mission-content .section-label {
  margin-bottom: 16px;
}

.board-mission-content h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--slate);
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  line-height: 1.2;
}

.board-mission-content p {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 16px;
}

.board-mission-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.board-value {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
}

.board-value:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-md);
}

.board-value-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--blue-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
}

.board-value h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 6px;
}

.board-value p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.6;
}

/* Board Members Grid */
.board-members-section {
  background: var(--white);
}

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

.board-card {
  text-align: center;
  padding: 40px 32px;
}

.board-avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--blue-pale);
  border: 3px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--grey-light);
}

.board-card .founder-name {
  font-size: 20px;
}

.board-card .founder-title {
  font-size: 12px;
  margin-bottom: 16px;
}

.board-card .founder-bio {
  font-size: 14px;
  line-height: 1.65;
}

/* Board CTA */
.board-cta {
  padding: 80px 0;
  background: var(--off-white);
}

.board-cta-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.board-cta-inner h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--slate);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.board-cta-inner p {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Advisory Board Responsive */
@media (max-width: 1024px) {
  .board-mission-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .board-grid {
    grid-template-columns: 1fr;
  }
  .board-mission-content h2 {
    font-size: 28px;
  }
  .board-cta-inner h2 {
    font-size: 26px;
  }
}

/* Advisory Board Dark Mode */
html.dark .board-value {
  background: var(--off-white);
}

html.dark .board-avatar-placeholder {
  border-color: var(--grey-muted);
}

/* Story Section */
.story {
  padding: 100px 0;
  background: var(--white);
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
}

.story-header {
  text-align: center;
  margin-bottom: 48px;
}

.story-header h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  color: var(--slate);
}

.story-text p {
  font-size: 18px;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 24px;
}

.story-text p:last-child {
  margin-bottom: 0;
}

.story-quote {
  background: linear-gradient(135deg, var(--blue-pale), var(--amber-pale));
  border-left: 4px solid var(--blue-primary);
  padding: 32px 40px;
  margin: 48px 0;
  border-radius: 0 16px 16px 0;
}

.story-quote p {
  font-size: 22px;
  font-weight: 600;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 12px;
  font-style: italic;
}

.story-quote cite {
  font-size: 14px;
  color: var(--grey);
  font-style: normal;
}

/* Name Etymology Section */
.name-etymology {
  padding: 100px 0;
  background: var(--off-white);
}

.etymology-header {
  text-align: center;
  margin-bottom: 60px;
}

.etymology-header h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--slate);
}

.etymology-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.etymology-word-breakdown {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.etymology-part,
.etymology-plus {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.etymology-fragment {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--slate);
  line-height: 1;
}

.etymology-fragment.highlight {
  color: var(--blue-primary);
  font-size: 48px;
}

.etymology-source {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--grey-light);
  white-space: nowrap;
}

.etymology-plus .etymology-source {
  color: var(--blue-primary);
}

.etymology-text p {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 20px;
}

.etymology-text p:last-child {
  margin-bottom: 0;
}

.etymology-text strong {
  color: var(--slate);
}

.etymology-text em {
  color: var(--blue-primary);
  font-style: italic;
}

/* About CTA */
.about-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--white) 50%, var(--amber-pale) 100%);
  color: var(--slate);
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(0,98,155,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-cta::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(232,168,56,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.about-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.about-cta h2 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--slate);
}

.about-cta p {
  font-size: 18px;
  color: var(--grey);
  margin-bottom: 40px;
  line-height: 1.7;
}

.about-cta .btn-primary {
  background: var(--blue-primary);
  color: #fff;
}

.about-cta .btn-primary:hover {
  background: var(--blue-deep);
  box-shadow: var(--shadow-blue-bright);
}

/* ---------- Trust & Security Page ---------- */
.trust-hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--white) 50%, var(--amber-pale) 100%);
  position: relative;
  overflow: hidden;
}

.trust-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(0,98,155,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.trust-hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.trust-hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--slate);
}

.trust-hero h1 .highlight {
  color: var(--blue-primary);
}

.trust-hero-sub {
  font-size: 20px;
  color: var(--grey);
  line-height: 1.7;
  max-width: 650px;
}

/* Trust Badges */
.trust-badges {
  padding: 80px 0;
  background: var(--white);
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.trust-badge-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-badge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.trust-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue-primary);
}

.trust-badge-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 12px;
}

.trust-badge-desc {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.6;
}

/* Trust Section Headers */
.trust-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.trust-section-header h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--slate);
  margin-bottom: 16px;
}

.trust-section-intro {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.8;
  max-width: 750px;
  margin: 0 auto;
}

/* Trust Overview Cards */
.trust-overview {
  padding: 100px 0;
  background: var(--off-white);
}

.trust-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.trust-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.trust-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-pale);
  color: var(--blue-primary);
  margin-bottom: 20px;
}

.trust-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 12px;
}

.trust-card p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.7;
}

/* HIPAA Section */
.trust-hipaa {
  padding: 100px 0;
  background: var(--white);
}

/* Trust Accordions */
.trust-accordion-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-accordion {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.trust-accordion[open] {
  box-shadow: var(--shadow-md);
}

.trust-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 28px;
  font-size: 18px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  list-style: none;
}

.trust-accordion-trigger::-webkit-details-marker {
  display: none;
}

.trust-accordion-trigger::marker {
  display: none;
  content: '';
}

.trust-accordion-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--grey);
}

.trust-accordion[open] .trust-accordion-chevron {
  transform: rotate(180deg);
}

.trust-accordion-content {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--grey);
  line-height: 1.8;
}

.trust-accordion-content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-accordion-content li {
  padding-left: 20px;
  position: relative;
}

.trust-accordion-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-primary);
}

.trust-accordion-content p {
  line-height: 1.8;
}

.trust-accordion-content a {
  color: var(--blue-primary);
  text-decoration: none;
  font-weight: 500;
}

.trust-accordion-content a:hover {
  text-decoration: underline;
}

/* Data Handling */
.trust-data {
  padding: 100px 0;
  background: var(--off-white);
}

.trust-data-sections {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.trust-data-block h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue-primary);
  display: inline-block;
}

.trust-data-block p {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.8;
}

/* Privacy & Terms (Legal Content) */
.trust-privacy {
  padding: 100px 0;
  background: var(--white);
}

.trust-terms {
  padding: 100px 0;
  background: var(--off-white);
}

.trust-legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.trust-legal-content p {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 24px;
}

.trust-legal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-legal-content li {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.7;
  padding-left: 24px;
  position: relative;
}

.trust-legal-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-primary);
}

.trust-legal-content a {
  color: var(--blue-primary);
  text-decoration: none;
  font-weight: 500;
}

.trust-legal-content a:hover {
  text-decoration: underline;
}

/* Trust FAQ */
.trust-faq {
  padding: 100px 0;
  background: var(--white);
}

/* Trust CTA */
.trust-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--white) 50%, var(--amber-pale) 100%);
  color: var(--slate);
  position: relative;
  overflow: hidden;
}

.trust-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(0,98,155,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.trust-cta::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(232,168,56,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.trust-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.trust-cta h2 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--slate);
}

.trust-cta p {
  font-size: 18px;
  color: var(--grey);
  margin-bottom: 40px;
  line-height: 1.7;
}

.trust-cta .btn-primary {
  background: var(--blue-primary);
  color: #fff;
}

.trust-cta .btn-primary:hover {
  background: var(--blue-deep);
  box-shadow: var(--shadow-blue-bright);
}

/* Trust & Security – Dark Mode */
html.dark .trust-hero {
  background: linear-gradient(135deg, #0D2A3D 0%, #0F1419 50%, #2A2210 100%);
}

html.dark .trust-hero h1 {
  color: #fff;
}

html.dark .trust-badge-card {
  background: var(--off-white);
    border-color: var(--border);
}

html.dark .trust-badge-icon {
  background: rgba(0, 98, 155, 0.15);
}

html.dark .trust-badge-title {
  color: #fff;
}

html.dark .trust-card {
  background: var(--off-white);
    border-color: var(--border);
}

html.dark .trust-card h3 {
  color: #fff;
}

html.dark .trust-card-icon {
  background: rgba(0, 98, 155, 0.15);
}

html.dark .trust-section-header h2 {
  color: #fff;
}

html.dark .trust-accordion {
  background: var(--off-white);
    border-color: var(--border);
}

html.dark .trust-accordion-trigger {
  color: #fff;
}

html.dark .trust-data-block h3 {
  color: #fff;
}

html.dark .trust-cta {
  background: linear-gradient(135deg, #0D2A3D 0%, #0F1419 50%, #2A2210 100%);
}

html.dark .trust-cta h2 {
  color: #fff;
}

html.dark .trust-legal-content a {
  color: var(--blue-light);
}

html.dark .trust-accordion-content a {
  color: var(--blue-light);
}

/* ---------- Blog Page ---------- */
.blog-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-deep) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.blog-header h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.blog-header p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--amber-bright);
  color: #1A2332;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

/* Blog List */
.blog-list {
  padding: 80px 0;
  background: var(--off-white);
}

.blog-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.blog-list-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--slate);
}

.blog-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.blog-list .blog-card {
  border-width: 1px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.blog-list .blog-card:hover {
  box-shadow: 0 12px 32px rgba(0,98,155,0.12);
  transform: translateY(-4px);
}

.blog-list .blog-card-tag {
  color: #fff;
  background: var(--blue-primary);
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 16px;
  width: fit-content;
}

.blog-list .blog-card-tag.amber {
  background: var(--amber-bright);
  color: #1A2332;
}

.blog-list .blog-card h2 {
  font-size: 22px;
}

.blog-list .blog-card p {
  flex-grow: 1;
}

.blog-list .blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-card-read {
  color: var(--blue-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Stats Bar */
.stats-bar {
  background: var(--blue-primary);
  padding: 48px 0;
}

.stats-bar .stat-number {
  font-size: 40px;
  color: var(--amber-bright);
}

.stats-bar .stat-item {
  color: #fff;
}

/* Article */
.article {
  padding: 60px 0 100px;
  border-bottom: 1px solid var(--border);
}

.article:last-of-type {
  border-bottom: none;
}

.article-header {
  padding: 140px 0 40px;
  background: linear-gradient(135deg, var(--off-white) 0%, rgba(0,98,155,0.08) 100%);
  text-align: center;
  position: relative;
}

.article-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--amber-bright);
  border-radius: 2px;
}

.article-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue-primary);
  padding: 6px 14px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 20px;
}

.article-header h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--slate);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}

.article-meta {
  font-size: 15px;
  color: var(--grey);
}

.article-meta span {
  margin: 0 8px;
}

.article-content {
  padding: 60px 0;
}

.article-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 48px 0 20px;
  color: var(--slate);
  letter-spacing: -0.5px;
  padding-left: 16px;
  border-left: 4px solid var(--amber-bright);
}

.article-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--blue-primary);
}

.article-content p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--slate);
}

.article-content ul,
.article-content ol {
  margin: 24px 0;
  padding-left: 24px;
}

.article-content li {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 12px;
  color: var(--slate);
}

.article-content blockquote {
  border-left: 4px solid var(--amber-bright);
  padding: 24px 28px;
  margin: 32px 0;
  background: linear-gradient(135deg, var(--off-white) 0%, rgba(232,168,56,0.08) 100%);
  border-radius: 0 12px 12px 0;
}

.article-content blockquote p {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 0;
  color: var(--slate-light);
}

.article-content strong {
  font-weight: 700;
  color: var(--slate);
}

.stat-highlight {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-deep) 100%);
  border-radius: 16px;
  padding: 40px;
  margin: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-highlight::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(232,168,56,0.15) 0%, transparent 70%);
}

.stat-highlight .number {
  font-size: 56px;
  font-weight: 800;
  color: var(--amber-bright);
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
}

.stat-highlight .label {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.article-cta {
  background: linear-gradient(135deg, #1A2332 0%, #2D3B4F 100%);
  border-radius: 20px;
  padding: 56px;
  text-align: center;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.article-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.article-cta h3 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.article-cta p {
  font-size: 17px;
  color: var(--grey-light);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.article-cta .btn-primary {
  position: relative;
  z-index: 1;
  background: var(--amber-bright);
  color: #1A2332;
}

.article-cta .btn-primary:hover {
  background: var(--amber-light);
  box-shadow: 0 8px 20px rgba(232,168,56,0.3);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 40px;
  transition: gap 0.2s;
}

.back-link:hover {
  gap: 12px;
}

/* Subscribe */
.subscribe-section {
  background: linear-gradient(135deg, var(--off-white) 0%, rgba(0,98,155,0.05) 100%);
  padding: 80px 0;
  text-align: center;
}

.subscribe-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 12px;
}

.subscribe-section p {
  font-size: 17px;
  color: var(--grey);
  margin-bottom: 32px;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.subscribe-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.subscribe-form input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.subscribe-form input:focus {
  outline: none;
  border-color: var(--blue-primary);
}

.subscribe-form .btn-primary {
  background: var(--amber-bright);
  color: #1A2332;
}

.subscribe-form .btn-primary:hover {
  background: var(--amber-light);
  box-shadow: 0 8px 20px rgba(232,168,56,0.3);
}

/* ---------- Careers Page ---------- */
.careers-hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--white) 50%, var(--amber-pale) 100%);
  position: relative;
  overflow: hidden;
}

.careers-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(0,98,155,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.careers-hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.careers-hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--slate);
}

.careers-hero h1 .highlight {
  color: var(--blue-primary);
}

.careers-hero-sub {
  font-size: 20px;
  color: var(--grey);
  line-height: 1.7;
  max-width: 650px;
}

.careers-intro {
  padding: 80px 0;
  background: var(--white);
}

.careers-intro-grid,
.careers-perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.careers-perk,
.careers-perk-card {
  text-align: center;
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.2s;
}

.careers-perk-card:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.careers-perk-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue-primary);
}

.careers-perk h3,
.careers-perk-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--slate);
}

.careers-perk p,
.careers-perk-card p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.6;
}

.job-listings {
  padding: 80px 0 100px;
  background: var(--off-white);
}

.job-listings-header {
  text-align: center;
  margin-bottom: 48px;
}

.job-listings-header h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  color: var(--slate);
}

.job-listings-header p {
  font-size: 18px;
  color: var(--grey);
}

.job-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  margin-bottom: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--amber-bright));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.job-card:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-lg);
}

.job-card:hover::before {
  transform: scaleX(1);
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.job-card h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--slate);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.job-card-meta,
.job-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.job-meta-tag,
.job-tag {
  background: var(--blue-pale);
  color: var(--blue-primary);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.job-meta-tag.amber,
.job-tag.amber {
  background: var(--amber-pale);
  color: var(--amber);
}

.job-card-body > p:first-child {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.job-card-description {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.job-card-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 16px;
  margin-top: 28px;
  padding-left: 14px;
  border-left: 3px solid var(--amber-bright);
}

.job-card-body h4:first-of-type {
  margin-top: 0;
}

.job-card-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 8px;
}

.job-card-body li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--grey);
  line-height: 1.7;
  padding-left: 4px;
}

.job-card-body li::before {
  content: '\2713';
  color: var(--blue-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.job-card-body > .btn-primary {
  margin-top: 32px;
  padding: 18px 40px;
  font-size: 17px;
}

.job-section {
  margin-bottom: 28px;
}

.job-section:last-child {
  margin-bottom: 0;
}

.job-section h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--amber-bright);
}

.job-section ul {
  list-style: none;
  padding: 0;
}

.job-section li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--grey);
  line-height: 1.7;
  padding-left: 4px;
}

.job-section li::before {
  content: '\2713';
  color: var(--blue-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.job-card-footer {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.job-comp {
  font-size: 15px;
  color: var(--grey);
}

.job-comp strong {
  color: var(--slate);
}

.careers-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--white) 50%, var(--amber-pale) 100%);
  color: var(--slate);
  position: relative;
  overflow: hidden;
}

.careers-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(0,98,155,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.careers-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.careers-cta h2 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--slate);
}

.careers-cta p {
  font-size: 18px;
  color: var(--grey);
  margin-bottom: 40px;
  line-height: 1.7;
}

.careers-cta .btn-primary {
  background: var(--blue-primary);
  color: #fff;
}

.careers-cta .btn-primary:hover {
  background: var(--blue-deep);
  box-shadow: var(--shadow-blue-bright);
}

/* ---------- Footer Contact & Partner ---------- */
.footer-contact-info {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--grey);
  font-size: 14px;
}

.footer-contact-item a {
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: var(--blue-primary);
}

.footer-contact-item svg {
  color: var(--blue-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-partner {
  display: flex;
  justify-content: center;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 0;
}

.footer-partner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-partner-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--grey-muted);
  font-weight: 500;
}

.footer-partner-logo svg {
  display: block;
}

.footer-partner-sub {
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 44px;
  }

  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-secondary-cta {
    display: flex;
    justify-content: center;
  }

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

  .role-cards {
    grid-template-columns: 1fr;
  }

  .blog-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .steps::before {
    display: none;
  }

  footer > .container {
    padding: 0 24px;
  }

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

  /* About responsive */
  .about-hero h1 {
    font-size: 40px;
  }

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

  .etymology-word-breakdown {
    justify-content: center;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .founders-grid,
  .founders-grid--three {
    grid-template-columns: 1fr;
  }

  /* Trust responsive */
  .trust-hero h1 {
    font-size: 40px;
  }

  .trust-badges-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .trust-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-section-header h2 {
    font-size: 32px;
  }

  .trust-cta h2 {
    font-size: 36px;
  }

  /* Blog responsive */
  .blog-list-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar .stats-grid {
    gap: 24px;
  }

  /* Careers responsive */
  .careers-intro-grid,
  .careers-perks-grid {
    grid-template-columns: 1fr;
  }

  .job-card {
    padding: 32px;
  }
}

/* Role cards 2-column intermediate — tablet viewport */
@media (min-width: 641px) and (max-width: 1024px) {
  .role-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .section-title {
    font-size: 32px;
  }

  .about-hero h1,
  .careers-hero h1 {
    font-size: 36px;
  }

  .about-cta h2,
  .careers-cta h2 {
    font-size: 32px;
  }

  .founders-header h2,
  .story-header h2,
  .job-listings-header h2 {
    font-size: 32px;
  }

  .platform-visual {
    padding: 32px;
  }

  .platform-layer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .contact-grid {
    gap: 40px;
  }

  .product-feature-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pf-split,
  .pf-split--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }

  .pf-split--reverse > * {
    direction: ltr;
  }

  /* On mobile, always show visual first */
  .pf-split--reverse {
    display: flex;
    flex-direction: column-reverse;
  }

  .pf-mockup {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .hero h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section-title {
    font-size: 28px;
  }

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

  .ehr-strip {
    gap: 20px;
  }

  .ehr-vendor {
    font-size: 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* About responsive */
  .about-hero {
    padding: 140px 0 80px;
  }

  .etymology-fragment,
  .etymology-fragment.highlight {
    font-size: 36px;
  }

  .etymology-header h2 {
    font-size: 28px;
  }

  .about-hero h1,
  .careers-hero h1 {
    font-size: 32px;
  }

  .founders-header h2,
  .story-header h2,
  .job-listings-header h2 {
    font-size: 28px;
  }

  .founder-card {
    padding: 32px;
  }

  /* Trust responsive */
  .trust-hero {
    padding: 140px 0 80px;
  }

  .trust-hero h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .trust-hero-sub {
    font-size: 17px;
  }

  .trust-badges {
    padding: 60px 0;
  }

  .trust-overview,
  .trust-hipaa,
  .trust-data,
  .trust-privacy,
  .trust-terms,
  .trust-faq {
    padding: 60px 0;
  }

  .trust-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .trust-section-header h2 {
    font-size: 28px;
  }

  .trust-accordion-trigger {
    padding: 20px 24px;
    font-size: 16px;
  }

  .trust-accordion-content {
    padding: 0 24px 20px;
  }

  .trust-data-block h3 {
    font-size: 20px;
  }

  .trust-cta h2 {
    font-size: 32px;
  }

  .trust-cta p {
    font-size: 16px;
  }

  /* Blog responsive */
  .blog-header h1,
  .article-header h1 {
    font-size: 28px;
  }

  .article-content h2 {
    font-size: 24px;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .stats-bar .stat-number {
    font-size: 32px;
  }

  /* Careers responsive */
  .careers-hero {
    padding: 140px 0 80px;
  }

  .job-card-header {
    flex-direction: column;
  }

  .job-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-list-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Blog Page Redesign (blg-* namespace)
   ========================================================================== */

/* --- Blog Hero --- */
.blg-hero {
  padding: 160px 0 80px;
  background: linear-gradient(160deg, #0D1B2A 0%, #1A2332 40%, #1B3A4B 100%);
  position: relative;
  overflow: hidden;
}

.blg-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.blg-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber-bright);
  margin-bottom: 28px;
}

.blg-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-bright);
  animation: blg-pulse 2s ease-in-out infinite;
}

@keyframes blg-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.blg-hero-title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 24px;
}

.blg-hero-em {
  color: var(--amber-bright);
}

.blg-hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
}

.blg-hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 80% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 80% 50%, black 0%, transparent 100%);
}

/* --- Featured Card --- */
.blg-featured {
  padding: 0 0 60px;
  margin-top: -40px;
  position: relative;
  z-index: 3;
}

.blg-featured-card {
  display: grid;
  grid-template-columns: 1fr 340px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.4s, transform 0.4s;
}

.blg-featured-card:hover {
  box-shadow: 0 20px 60px rgba(0,98,155,0.12);
  transform: translateY(-4px);
}

.blg-featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--amber-bright);
  color: #1A2332;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.blg-featured-content {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
}

.blg-featured-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.blg-featured-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey);
  flex-grow: 1;
}

.blg-featured-visual {
  background: linear-gradient(160deg, var(--blue-primary) 0%, var(--blue-deep) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.blg-featured-stat {
  font-size: 56px;
  font-weight: 800;
  color: var(--amber-bright);
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
}

.blg-featured-stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-align: center;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  margin-top: 4px;
}


/* --- Tag Colors --- */
.blg-card-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 14px;
  width: fit-content;
}

.blg-card-tag--rcm { background: rgba(0,98,155,0.1); color: var(--blue-primary); }
.blg-card-tag--denial { background: rgba(232,168,56,0.15); color: var(--amber-dark); }
.blg-card-tag--reg { background: rgba(16,185,129,0.1); color: #059669; }

/* --- Card Grid --- */
.blg-grid-section {
  padding: 0 0 80px;
}

.blg-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.blg-grid-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: -0.5px;
}

.blg-subscribe-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-primary);
  text-decoration: none;
  transition: all 0.2s;
}

.blg-subscribe-pill:hover {
  background: var(--blue-primary);
  color: #fff;
  border-color: var(--blue-primary);
}

.blg-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.blg-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.blg-card:hover {
  border-color: var(--blue-primary);
  box-shadow: 0 12px 32px rgba(0,98,155,0.1);
  transform: translateY(-3px);
}

.blg-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.blg-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: -0.3px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.blg-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey);
  flex-grow: 1;
  margin-bottom: 20px;
}

.blg-card-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--grey-light);
}

.blg-card-date {
  font-size: 13px;
  color: var(--grey-light);
}

.blg-card-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.blg-card-arrow {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-primary);
  transition: gap 0.2s;
}

.blg-card:hover .blg-card-arrow,
.blg-featured-card:hover .blg-card-arrow {
  gap: 10px;
}

/* --- Impact Strip --- */
.blg-impact {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-deep) 100%);
}

.blg-impact-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.blg-impact-item {
  text-align: center;
}

.blg-impact-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--amber-bright);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 6px;
}

.blg-impact-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

.blg-impact-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* --- Blog Responsive --- */
@media (max-width: 1024px) {
  .blg-featured-card {
    grid-template-columns: 1fr;
  }
  .blg-featured-visual {
    min-height: 180px;
  }
  .blg-hero-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .blg-hero {
    padding: 140px 0 60px;
  }
  .blg-hero-title {
    font-size: 34px;
  }
  .blg-card-grid {
    grid-template-columns: 1fr;
  }
  .blg-impact-grid {
    flex-wrap: wrap;
    gap: 32px;
  }
  .blg-impact-divider {
    display: none;
  }
  .blg-impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .blg-featured-content {
    padding: 32px 24px;
  }
  .blg-featured-content h2 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .blg-hero-title {
    font-size: 28px;
  }
  .blg-grid-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}


/* ==========================================================================
   Pricing Page (prc-* namespace)
   ========================================================================== */

/* --- Pricing Hero --- */
.prc-hero {
  padding: 160px 0 100px;
  background: linear-gradient(160deg, #0D1B2A 0%, #1A2332 40%, #1B3A4B 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.prc-hero-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber-bright);
  margin-bottom: 24px;
  display: block;
}

.prc-hero-title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 20px;
}

.prc-hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto;
}


/* --- Model Explainer Bar --- */
.prc-model-explainer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.prc-model-explainer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.prc-model-explainer-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prc-model-explainer-icon--blue {
  background: var(--blue-pale);
  color: var(--blue-primary);
}

.prc-model-explainer-icon--amber {
  background: rgba(232,168,56,0.12);
  color: var(--amber-dark);
}

.prc-model-explainer-icon--teal {
  background: var(--teal-pale);
  color: var(--teal);
}

.prc-model-explainer-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 2px;
}

.prc-model-explainer-item span {
  display: block;
  font-size: 13px;
  color: var(--grey);
  line-height: 1.4;
}

.prc-model-explainer-divider {
  font-size: 20px;
  font-weight: 300;
  color: var(--grey-light);
  flex-shrink: 0;
}

/* --- Pricing Tiers --- */
.prc-tiers {
  padding: 0 0 80px;
  margin-top: -48px;
  position: relative;
  z-index: 3;
}

.prc-tiers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.prc-tier {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.3s;
}

.prc-tier:hover {
  box-shadow: 0 16px 48px rgba(0,98,155,0.1);
}

.prc-tier--featured {
  border-color: var(--amber-bright);
  border-width: 2px;
  box-shadow: 0 8px 32px rgba(232,168,56,0.12);
}

.prc-tier--featured:hover {
  box-shadow: 0 16px 48px rgba(232,168,56,0.18);
}

.prc-tier--teal {
  border-color: var(--teal);
  border-width: 2px;
  box-shadow: 0 8px 32px rgba(13,148,136,0.1);
}

.prc-tier--teal:hover {
  box-shadow: 0 16px 48px rgba(13,148,136,0.16);
}

.prc-tier--teal .prc-tier-icon {
  background: var(--teal-pale);
  color: var(--teal);
}

.prc-tier-badge--teal {
  background: var(--teal);
  color: #fff;
}

.prc-tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber-bright);
  color: #1A2332;
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.prc-tier-head {
  margin-bottom: 24px;
}

.prc-tier-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue-primary);
}

.prc-tier--featured .prc-tier-icon {
  background: rgba(232,168,56,0.12);
  color: var(--amber-dark);
}

.prc-tier-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 6px;
  display: block;
}

.prc-tier-label--amber {
  color: var(--amber-dark);
}

.prc-tier-label--teal {
  color: var(--teal-dark);
}

.prc-tier-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.prc-tier-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey);
}

/* Price display */
.prc-tier-price {
  background: var(--off-white);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.prc-tier-price-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--grey-light);
  display: block;
  margin-bottom: 6px;
}

.prc-tier-price-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--slate);
  display: block;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.prc-tier--featured .prc-tier-price-value {
  color: var(--amber-dark);
}

.prc-tier--teal .prc-tier-price-value {
  color: var(--teal-dark);
}

.prc-tier-price-note {
  font-size: 13px;
  color: var(--grey-light);
}

/* Savings callout (revenue share tier) */
.prc-tier-savings {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(232,168,56,0.06);
  border: 1px solid rgba(232,168,56,0.18);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--grey);
}

.prc-tier-savings svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--amber-dark);
}

/* Feature list */
.prc-tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex-grow: 1;
}

.prc-tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.5;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}

.prc-tier-features li:last-child {
  border-bottom: none;
}

.prc-tier-features > li.prc-tier-features-group {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--grey-light);
  padding: 12px 0 4px;
  border-bottom: none;
}

.prc-tier-features svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.prc-tier-cta {
  margin-bottom: 14px;
}

.prc-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
}

.prc-btn--amber {
  background: var(--amber-bright);
  color: #1A2332;
}

.prc-btn--amber:hover {
  background: var(--amber-light);
  box-shadow: 0 8px 24px rgba(232,168,56,0.3);
}

.prc-btn--teal {
  background: var(--teal);
  color: #fff;
}

.prc-btn--teal:hover {
  background: var(--teal-dark);
  box-shadow: 0 8px 24px rgba(13,148,136,0.3);
}

.prc-tier-best {
  font-size: 13px;
  color: var(--grey-light);
  text-align: center;
  font-style: italic;
}

/* --- Why We Split It section --- */
.prc-why-split {
  padding: 80px 0;
  background: var(--white);
}

.prc-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.prc-why-grid--3 {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 1100px;
}

.prc-why-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.prc-why-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.prc-why-card-icon--blue {
  background: var(--blue-pale);
  color: var(--blue-primary);
}

.prc-why-card-icon--amber {
  background: rgba(232,168,56,0.12);
  color: var(--amber-dark);
}

.prc-why-card-icon--teal {
  background: var(--teal-pale);
  color: var(--teal);
}

.prc-why-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 10px;
}

.prc-why-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--grey);
}

/* --- How it works --- */
.prc-how {
  padding: 80px 0;
  background: var(--off-white);
}

.prc-section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--slate);
  text-align: center;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.prc-section-sub {
  font-size: 17px;
  color: var(--grey);
  text-align: center;
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.prc-how-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.prc-how-step {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.prc-how-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 32px;
  font-weight: 500;
  color: var(--amber-bright);
  margin-bottom: 16px;
  line-height: 1;
}

.prc-how-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 12px;
}

.prc-how-step p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey);
}

.prc-how-connector {
  display: flex;
  align-items: center;
  padding-top: 48px;
  flex-shrink: 0;
}

/* --- Comparison Table --- */
.prc-compare {
  padding: 80px 0;
}

.prc-table-wrap {
  max-width: 920px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.prc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.prc-table thead {
  position: sticky;
  top: 74px;
  z-index: 5;
}

.prc-table th {
  background: var(--white);
  padding: 16px 20px;
  text-align: center;
  font-weight: 700;
  color: var(--slate);
  border-bottom: 2px solid var(--border);
}

.prc-table td.prc-table-feature {
  text-align: left;
  width: 40%;
}

.prc-table-tier {
  width: 20%;
}

.prc-table .prc-table-tier--featured {
  color: var(--amber-dark);
}

.prc-table .prc-table-tier--teal {
  color: var(--teal-dark);
}

.prc-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--slate);
  text-align: center;
}

.prc-table td:first-child {
  text-align: left;
  color: var(--grey);
}

.prc-table .prc-table-group td {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: var(--blue-pale);
  padding: 10px 20px;
}

.prc-table .prc-table-group--amber td {
  color: var(--amber-dark);
  background: rgba(232,168,56,0.08);
}

.prc-table .prc-table-group--teal td {
  color: var(--teal-dark);
  background: rgba(13,148,136,0.06);
}

.prc-table-tier-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--grey-light);
  letter-spacing: 0;
  margin-top: 2px;
}

.prc-check {
  color: #059669;
  font-weight: 700;
  font-size: 18px;
}

.prc-dash {
  color: var(--grey-light);
  font-size: 18px;
}

/* --- FAQ --- */
.prc-faq {
  padding: 80px 0;
  background: var(--off-white);
}

.prc-faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.prc-faq-item {
  border-bottom: 1px solid var(--border);
}

.prc-faq-item summary {
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.prc-faq-item summary::-webkit-details-marker {
  display: none;
}

.prc-faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--grey-light);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.prc-faq-item[open] summary::after {
  content: '\2212';
  color: var(--blue-primary);
}

.prc-faq-item summary:hover {
  color: var(--blue-primary);
}

.prc-faq-answer {
  padding-bottom: 20px;
}

.prc-faq-answer p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--grey);
}

/* --- Pricing CTA --- */
.prc-cta {
  padding: 80px 0;
}

.prc-cta-card {
  background: linear-gradient(135deg, #1A2332 0%, #2D3B4F 100%);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.prc-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,168,56,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.prc-cta-card h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.prc-cta-card p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.prc-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.prc-cta-actions .btn-secondary {
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

.prc-cta-actions .btn-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

/* --- Pricing Responsive --- */
@media (max-width: 1100px) {
  .prc-tiers-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .prc-why-grid--3 {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .prc-why-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .prc-model-explainer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .prc-model-explainer-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .prc-model-explainer-divider {
    transform: rotate(90deg);
  }
  .prc-how-steps {
    flex-direction: column;
    align-items: center;
  }
  .prc-how-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }
  .prc-hero-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .prc-hero {
    padding: 140px 0 80px;
  }
  .prc-hero-title {
    font-size: 34px;
  }
  .prc-cta-card {
    padding: 40px 24px;
  }
  .prc-cta-card h2 {
    font-size: 26px;
  }
  .prc-cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .prc-tier {
    padding: 28px 22px;
  }
  .prc-why-card {
    padding: 24px 20px;
  }
  .prc-why-split {
    padding: 60px 0;
  }
  .prc-table--4col {
    font-size: 13px;
  }
  .prc-table--4col th,
  .prc-table--4col td {
    padding: 10px 10px;
  }
  .prc-table-feature {
    width: 35%;
  }
}

@media (max-width: 480px) {
  .prc-hero-title {
    font-size: 28px;
  }
  .prc-table {
    font-size: 13px;
  }
  .prc-table th,
  .prc-table td {
    padding: 10px 8px;
  }
  .prc-model-explainer {
    padding: 16px;
  }
  .prc-table--4col {
    font-size: 12px;
  }
}


/* ==========================================================================
   Health Score Quiz Page (.hs-*)
   ========================================================================== */

/* Hero */
.hs-hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--white) 50%, var(--amber-pale) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hs-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(0,98,155,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hs-hero-content {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hs-hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: var(--slate);
}

.hs-hero h1 .highlight {
  color: var(--blue-primary);
}

.hs-hero-sub {
  font-size: 19px;
  color: var(--grey);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Quiz Section */
.hs-quiz {
  padding: 80px 0 100px;
  background: var(--off-white);
}

.hs-quiz-inner {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 48px 40px 40px;
  box-shadow: var(--shadow-md);
}

/* Progress Bar */
.hs-progress {
  position: relative;
  height: 8px;
  background: var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.hs-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-primary), var(--teal));
  border-radius: 8px;
  transition: width 0.4s ease;
}

.hs-progress-text {
  display: block;
  text-align: right;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--grey-muted);
  margin-bottom: 32px;
}

/* Questions */
.hs-questions {
  position: relative;
  min-height: 340px;
}

.hs-question {
  display: none;
  animation: hsQuestionIn 0.35s ease;
}

.hs-question--active {
  display: block;
}

@keyframes hsQuestionIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hs-question-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 28px;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

/* Options */
.hs-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hs-option {
  display: block;
  cursor: pointer;
}

.hs-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.hs-option-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  transition: all 0.2s ease;
}

.hs-option-card:hover {
  border-color: var(--blue-light);
  background: var(--blue-pale);
  box-shadow: var(--shadow-sm);
}

.hs-option--selected .hs-option-card,
.hs-option input[type="radio"]:checked + .hs-option-card {
  border-color: var(--blue-primary);
  background: var(--blue-pale);
  box-shadow: 0 0 0 3px rgba(0,98,155,0.12);
}

.hs-option input[type="radio"]:focus-visible + .hs-option-card {
  outline: 2px solid var(--blue-primary);
  outline-offset: 2px;
}

.hs-option-radio {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--grey-light);
  position: relative;
  transition: all 0.2s ease;
}

.hs-option--selected .hs-option-radio,
.hs-option input[type="radio"]:checked + .hs-option-card .hs-option-radio {
  border-color: var(--blue-primary);
  background: var(--blue-primary);
}

.hs-option--selected .hs-option-radio::after,
.hs-option input[type="radio"]:checked + .hs-option-card .hs-option-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.hs-option-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--slate);
  line-height: 1.4;
}

/* Nav Buttons */
.hs-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hs-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.hs-nav-prev {
  background: transparent;
  color: var(--grey);
  border: 1px solid var(--border);
}

.hs-nav-prev:hover:not(:disabled) {
  background: var(--off-white);
  color: var(--slate);
  border-color: var(--grey-light);
}

.hs-nav-next {
  background: var(--blue-primary);
  color: #fff;
}

.hs-nav-next:hover:not(:disabled) {
  background: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue-bright);
}

.hs-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Results Section */
.hs-results {
  display: none;
  padding: 120px 0 100px;
  background: var(--off-white);
}

.hs-results-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* Score Display */
.hs-score-display {
  text-align: center;
  margin-bottom: 56px;
}

.hs-score-gauge {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 28px;
}

.hs-gauge-svg {
  width: 100%;
  height: 100%;
}

.hs-gauge-bg {
  stroke: var(--border);
}

.hs-gauge-fill {
  stroke: var(--teal);
  transition: stroke-dashoffset 1.2s ease-out;
}

.hs-score-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hs-score-grade {
  display: block;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--teal);
}

.hs-score-number {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-muted);
  margin-top: 4px;
}

.hs-score-headline {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--slate);
  margin-bottom: 12px;
}

.hs-score-summary {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* Breakdown */
.hs-breakdown {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
}

.hs-breakdown-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hs-breakdown-item {
  margin-bottom: 20px;
}

.hs-breakdown-item:last-child {
  margin-bottom: 0;
}

.hs-breakdown-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.hs-breakdown-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
}

.hs-breakdown-score {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-muted);
}

.hs-breakdown-bar-track {
  height: 8px;
  background: var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.hs-breakdown-bar-fill {
  height: 100%;
  border-radius: 8px;
  transition: width 0.8s ease-out;
}

/* Recommendations */
.hs-recommendations {
  margin-bottom: 56px;
}

.hs-recommendations-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hs-recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.hs-rec-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.hs-rec-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.hs-rec-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue-primary);
}

.hs-rec-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 8px;
  line-height: 1.3;
}

.hs-rec-desc {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 16px;
}

.hs-rec-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.hs-rec-link:hover {
  color: var(--blue-deep);
}

.hs-rec-link svg {
  transition: transform 0.2s;
}

.hs-rec-link:hover svg {
  transform: translateX(3px);
}

/* Results CTA */
.hs-results-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--white) 50%, var(--amber-pale) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 40px;
}

.hs-results-cta h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--slate);
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.hs-results-cta p {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 28px;
}

.hs-results-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hs-start-over {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Dark Mode for Health Score */
html.dark .hs-hero {
  background: linear-gradient(135deg, #0D2A3D 0%, var(--white) 50%, #2A2210 100%);
}

html.dark .hs-quiz-inner {
  background: var(--white);
    border-color: var(--border);
}

html.dark .hs-option-card {
  background: var(--white);
    border-color: var(--border);
}

html.dark .hs-option-card:hover {
  background: var(--blue-pale);
    border-color: var(--blue-light);
}

html.dark .hs-option--selected .hs-option-card,
html.dark .hs-option input[type="radio"]:checked + .hs-option-card {
  background: var(--blue-pale);
    border-color: var(--blue-light);
}

html.dark .hs-option-text {
  color: var(--slate);
}

html.dark .hs-question-title {
  color: var(--slate);
}

html.dark .hs-nav-prev {
  color: var(--grey);
    border-color: var(--border);
}

html.dark .hs-nav-prev:hover:not(:disabled) {
  background: var(--off-white);
    color: var(--slate);
}

html.dark .hs-breakdown {
  background: var(--white);
    border-color: var(--border);
}

html.dark .hs-rec-card {
  background: var(--white);
    border-color: var(--border);
}

html.dark .hs-rec-icon {
  background: var(--blue-pale);
}

html.dark .hs-results-cta {
  background: linear-gradient(135deg, #0D2A3D 0%, var(--white) 50%, #2A2210 100%);
    border-color: var(--border);
}

html.dark .hs-gauge-bg {
  stroke: var(--border);
}

/* Responsive: Health Score */
@media (max-width: 768px) {
  .hs-hero {
    padding: 140px 0 80px;
  }

  .hs-hero h1 {
    font-size: 36px;
    letter-spacing: -1.5px;
  }

  .hs-hero-sub {
    font-size: 17px;
  }

  .hs-quiz {
    padding: 60px 0 80px;
  }

  .hs-quiz-inner {
    padding: 32px 24px 28px;
  }

  .hs-question-title {
    font-size: 19px;
  }

  .hs-questions {
    min-height: auto;
  }

  .hs-score-headline {
    font-size: 26px;
  }

  .hs-results {
    padding: 100px 0 80px;
  }

  .hs-results-cta {
    padding: 36px 24px;
  }

  .hs-results-cta h3 {
    font-size: 24px;
  }

  .hs-recommendations-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hs-hero {
    padding: 130px 0 60px;
  }

  .hs-hero h1 {
    font-size: 30px;
    letter-spacing: -1px;
  }

  .hs-quiz-inner {
    padding: 24px 16px 20px;
    border-radius: 12px;
  }

  .hs-question-title {
    font-size: 17px;
    margin-bottom: 20px;
  }

  .hs-option-card {
    padding: 14px 16px;
  }

  .hs-option-text {
    font-size: 15px;
  }

  .hs-nav-btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  .hs-score-gauge {
    width: 170px;
    height: 170px;
  }

  .hs-score-grade {
    font-size: 46px;
  }

  .hs-score-headline {
    font-size: 22px;
  }

  .hs-breakdown {
    padding: 24px 20px;
  }

  .hs-rec-card {
    padding: 24px 20px;
  }

  .hs-results-cta-actions {
    flex-direction: column;
  }
}


/* ==========================================================================
   Day in the Life Page (.ditl-*)
   ========================================================================== */

/* Hero */
.ditl-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--white) 50%, var(--amber-pale) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.ditl-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(0,98,155,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.ditl-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ditl-hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--slate);
}

.ditl-hero h1 .highlight {
  color: var(--blue-primary);
}

.ditl-hero-sub {
  font-size: 20px;
  color: var(--grey);
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto;
}

/* Timeline Section */
.ditl-timeline {
  padding: 80px 0 40px;
  background: var(--white);
}

.ditl-timeline .container {
  max-width: 1200px;
}

/* Sticky Headers */
.ditl-headers {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 24px;
  position: sticky;
  top: 72px;
  z-index: 10;
  background: var(--white);
  padding: 16px 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
}

.ditl-header-time {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-muted);
}

.ditl-header-without {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #B91C1C;
  padding-left: 16px;
}

.ditl-header-with {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  padding-left: 16px;
}

/* Time Blocks */
.ditl-block {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
  align-items: stretch;
}

.ditl-time {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
}

.ditl-time-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  font-weight: 600;
  color: var(--slate);
}

.ditl-time-period {
  font-size: 13px;
  color: var(--grey-muted);
  line-height: 1.4;
}

/* Task Cards */
.ditl-task {
  padding: 24px;
  border-radius: 16px;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ditl-task-icon {
  font-size: 24px;
  margin-bottom: 12px;
  line-height: 1;
}

.ditl-task h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.ditl-task p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.ditl-task-time {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  margin-top: auto;
}

.ditl-task-agent {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-left: 8px;
  background: rgba(0, 98, 155, 0.08);
  color: var(--blue-primary);
}

/* Manual (Without) styling */
.ditl-task--manual {
  background: #FEF2F2;
  border: 1px solid #FECACA;
}

.ditl-task--manual h4 {
  color: #991B1B;
}

.ditl-task--manual p {
  color: #7F1D1D;
  opacity: 0.75;
}

.ditl-task--manual .ditl-task-time {
  background: #FEE2E2;
  color: #B91C1C;
}

/* Automated (With) styling */
.ditl-task--automated {
  background: #F0FDF9;
  border: 1px solid #99F6E4;
}

.ditl-task--automated h4 {
  color: #065F46;
}

.ditl-task--automated p {
  color: #064E3B;
  opacity: 0.75;
}

.ditl-task--automated .ditl-task-icon {
  color: var(--teal);
  font-weight: 700;
}

.ditl-task--automated .ditl-task-time {
  background: #CCFBF1;
  color: #0F766E;
}

.ditl-coming-soon {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--amber-pale);
  color: var(--amber);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

/* Final block (Day's End) */
.ditl-task--end {
  text-align: center;
  align-items: center;
}

.ditl-task--end .ditl-task-icon {
  font-size: 32px;
}

/* Summary Section */
.ditl-summary {
  padding: 100px 0;
  background: var(--off-white);
}

.ditl-summary-header {
  text-align: center;
  margin-bottom: 48px;
}

.ditl-summary-header h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--slate);
}

.ditl-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.ditl-summary-card {
  padding: 40px;
  border-radius: 20px;
  border: 2px solid var(--border);
  background: var(--white);
}

.ditl-summary-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.ditl-summary-card--without h3 {
  color: #B91C1C;
}

.ditl-summary-card--with h3 {
  color: var(--teal);
}

.ditl-summary-card--with {
  border-color: var(--teal);
}

.ditl-summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ditl-summary-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ditl-summary-label {
  font-size: 15px;
  color: var(--grey);
}

.ditl-summary-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
}

.ditl-summary-value--bad {
  color: #B91C1C;
  background: #FEF2F2;
}

.ditl-summary-value--good {
  color: #0F766E;
  background: #F0FDF9;
}

/* Stats Strip */
.ditl-stats {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-deep) 100%);
}

.ditl-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.ditl-stat-number {
  display: block;
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

.ditl-stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* CTA Section */
.ditl-cta {
  padding: 100px 0;
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ditl-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(232,168,56,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.ditl-cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.ditl-cta h2 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--slate);
}

.ditl-cta p {
  font-size: 18px;
  color: var(--grey);
  margin-bottom: 40px;
  line-height: 1.7;
}

.ditl-cta .btn-primary {
  background: var(--blue-primary);
  color: #fff;
}

.ditl-cta .btn-primary:hover {
  background: var(--blue-deep);
  box-shadow: var(--shadow-blue-bright);
}

/* Day in the Life — Dark Mode */
html.dark .ditl-task--manual {
  background: rgba(153, 27, 27, 0.12);
    border-color: rgba(239, 68, 68, 0.2);
}

html.dark .ditl-task--manual h4 {
  color: #FCA5A5;
}

html.dark .ditl-task--manual p {
  color: #FECACA;
    opacity: 0.7;
}

html.dark .ditl-task--manual .ditl-task-time {
  background: rgba(153, 27, 27, 0.2);
    color: #FCA5A5;
}

html.dark .ditl-task--automated {
  background: rgba(13, 148, 136, 0.1);
    border-color: rgba(13, 148, 136, 0.25);
}

html.dark .ditl-task--automated h4 {
  color: #5EEAD4;
}

html.dark .ditl-task--automated p {
  color: #99F6E4;
    opacity: 0.7;
}

html.dark .ditl-task--automated .ditl-task-time {
  background: rgba(13, 148, 136, 0.15);
    color: #5EEAD4;
}

html.dark .ditl-task-agent {
  background: rgba(0, 98, 155, 0.2);
    color: var(--blue-light);
}

html.dark .ditl-headers {
  background: var(--white);
}

html.dark .ditl-header-without {
  color: #FCA5A5;
}

html.dark .ditl-header-with {
  color: #5EEAD4;
}

html.dark .ditl-summary-card {
  background: var(--off-white);
    border-color: var(--border);
}

html.dark .ditl-summary-card--without h3 {
  color: #FCA5A5;
}

html.dark .ditl-summary-card--with h3 {
  color: #5EEAD4;
}

html.dark .ditl-summary-card--with {
  border-color: rgba(13, 148, 136, 0.4);
}

html.dark .ditl-summary-card h3 {
  border-bottom-color: var(--border);
}

html.dark .ditl-summary-value--bad {
  color: #FCA5A5;
    background: rgba(153, 27, 27, 0.15);
}

html.dark .ditl-summary-value--good {
  color: #5EEAD4;
    background: rgba(13, 148, 136, 0.12);
}

html.dark .ditl-coming-soon {
  background: rgba(196, 138, 26, 0.15);
    color: var(--amber-bright);
}

html.dark .ditl-cta {
  background: #0F1419;
}

html.dark .ditl-cta h2 {
  color: #fff;
}

/* Day in the Life — Responsive: Tablet */
@media (max-width: 1024px) {
  .ditl-headers {
    grid-template-columns: 100px 1fr 1fr;
    gap: 16px;
  }

  .ditl-block {
    grid-template-columns: 100px 1fr 1fr;
    gap: 16px;
  }

  .ditl-task {
    padding: 20px;
  }
}

/* Day in the Life — Responsive: Tablet (intermediate) */
@media (max-width: 768px) {
  .ditl-summary-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Day in the Life — Responsive: Mobile */
@media (max-width: 768px) {
  .ditl-hero {
    padding: 140px 0 60px;
  }

  .ditl-hero h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .ditl-hero-sub {
    font-size: 17px;
  }

  .ditl-timeline {
    padding: 40px 0 20px;
  }

  .ditl-headers {
    display: none;
  }

  .ditl-block {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 40px;
    position: relative;
    padding-left: 0;
  }

  .ditl-time {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding-top: 0;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
  }

  .ditl-without::before {
    content: 'WITHOUT SYNAIPSE';
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #B91C1C;
    margin-bottom: 8px;
  }

  .ditl-with::before {
    content: 'WITH SYNAIPSE';
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 8px;
  }

  .ditl-task {
    padding: 16px;
    border-radius: 12px;
  }

  .ditl-task-agent {
    margin-left: 0;
    margin-top: 8px;
  }

  .ditl-summary-header h2 {
    font-size: 30px;
  }

  .ditl-summary-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ditl-summary-card {
    padding: 28px;
  }

  .ditl-stats-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ditl-stat-number {
    font-size: 40px;
  }

  .ditl-cta h2 {
    font-size: 30px;
  }

  .ditl-cta p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  /* Narrow viewport: reduce container padding to give text more horizontal room.
     "SynAIpse" carries white-space: nowrap so it can't wrap mid-word; the hero
     line "Hours on Admin. SynAIpse" needs ~340px and a 375px viewport with
     default 24px padding leaves only 327px. */
  .container {
    padding: 0 18px;
  }

  /* Hero h1s — bring down further so brand text doesn't overflow */
  .hero h1,
  .about-hero h1,
  .cred-hero h1,
  .trust-hero h1,
  .careers-hero h1 {
    font-size: 26px;
    letter-spacing: -0.4px;
    line-height: 1.18;
  }

  .hero-sub,
  .about-hero-sub {
    font-size: 15px;
  }

  .hero {
    padding: 110px 0 60px;
  }

  .ditl-hero h1 {
    font-size: 28px;
  }

  .ditl-summary-card {
    padding: 20px;
  }

  .ditl-summary-value {
    font-size: 14px;
  }

  .ditl-cta h2 {
    font-size: 26px;
  }
}

/* Dark mode for mobile pseudo-labels */
@media (max-width: 768px) {
  html.dark .ditl-without::before {
    color: #FCA5A5;
  }
}

@media (max-width: 768px) {
  html.dark .ditl-with::before {
    color: #5EEAD4;
  }
}


/* =====================================================================
   ROI CALCULATOR PAGE (.roi-*)
   ===================================================================== */

.roi-hero {
  background: linear-gradient(135deg, var(--slate) 0%, var(--blue-deep) 100%);
  padding: 120px 0 64px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.roi-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0,98,155,0.25) 0%, transparent 60%);
  pointer-events: none;
}

.roi-hero-content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }

.roi-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin: 0 0 20px;
  line-height: 1.15;
}

.roi-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.roi-calculator { padding: 64px 0 80px; background: #f8f9fa; }

.roi-calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.roi-inputs {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #e5e7eb;
}

.roi-inputs-heading {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 32px;
  color: var(--slate);
}

.roi-slider-group { margin-bottom: 28px; }
.roi-slider-group:last-child { margin-bottom: 0; }

.roi-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 10px;
}

.roi-slider-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-primary);
  background: rgba(0,98,155,0.08);
  padding: 2px 10px;
  border-radius: 6px;
}

.roi-slider-group input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e5e7eb;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.roi-slider-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-primary);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,98,155,0.3);
  cursor: pointer;
  transition: transform 0.15s;
}

.roi-slider-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.roi-slider-group input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-primary);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,98,155,0.3);
  cursor: pointer;
}

.roi-slider-range {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
}

.roi-results {
  background: linear-gradient(135deg, var(--slate) 0%, var(--blue-deep) 100%);
  border-radius: 16px;
  padding: 40px;
  color: #fff;
  position: sticky;
  top: 100px;
}

.roi-results-header { text-align: center; margin-bottom: 32px; }

.roi-results-heading {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin: 0 0 12px;
}

.roi-total-savings {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -1px;
}

.roi-breakdown { margin-bottom: 32px; }

.roi-breakdown-heading {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  margin: 0 0 16px;
}

.roi-breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.roi-breakdown-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}

.roi-breakdown-label svg { opacity: 0.6; }

.roi-breakdown-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  font-weight: 600;
  color: #5EEAD4;
}

.roi-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.roi-metric {
  text-align: center;
  background: rgba(255,255,255,0.08);
  padding: 16px;
  border-radius: 12px;
}

.roi-metric-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--amber);
}

.roi-metric-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.roi-cta-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.roi-assumptions {
  padding: 48px 0 64px;
  background: #fff;
}

.roi-assumptions-heading {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 32px;
  color: var(--slate);
}

.roi-assumptions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.roi-assumption {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.roi-assumption-summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.roi-assumption-summary::-webkit-details-marker { display: none; }
.roi-assumption-summary::marker { display: none; content: ''; }

.roi-assumption-summary::after {
  content: '+';
  font-size: 18px;
  color: var(--blue-primary);
  transition: transform 0.2s;
}

details[open] > .roi-assumption-summary::after {
  content: '−';
}

.roi-assumption-content {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .roi-calculator-grid { grid-template-columns: 1fr; }
  .roi-results { position: static; }
  .roi-assumptions-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .roi-hero { padding: 100px 0 48px; }
  .roi-hero h1 { font-size: 28px; }
  .roi-hero-sub { font-size: 16px; }
  .roi-inputs { padding: 24px; }
  .roi-results { padding: 24px; }
  .roi-total-savings { font-size: 36px; }
  .roi-metric-value { font-size: 22px; }
}


/* =====================================================================
   CLAIM JOURNEY PAGE (.cj-*)
   ===================================================================== */

.cj-hero {
  background: linear-gradient(135deg, var(--slate) 0%, var(--blue-deep) 100%);
  padding: 120px 0 64px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cj-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(13,148,136,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.cj-hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }

.cj-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin: 0 0 20px;
  line-height: 1.15;
}

.cj-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

.cj-toggle {
  padding: 32px 0 0;
  background: #f8f9fa;
}

.cj-toggle-bar {
  display: flex;
  gap: 4px;
  background: #e5e7eb;
  border-radius: 12px;
  padding: 4px;
  max-width: 400px;
  margin: 0 auto;
}

.cj-toggle-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: #6b7280;
  transition: all 0.25s ease;
}

.cj-toggle-btn.active {
  background: #fff;
  color: var(--blue-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cj-toggle-btn:hover:not(.active) { color: var(--slate); }

.cj-timeline {
  padding: 48px 0 64px;
  background: #f8f9fa;
}

.cj-stage {
  display: grid;
  grid-template-columns: 60px 2px 1fr;
  gap: 0 24px;
  margin-bottom: 0;
  position: relative;
}

.cj-stage-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  justify-self: center;
  position: relative;
  z-index: 2;
}

.cj-stage-line {
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-primary), #e5e7eb);
  justify-self: center;
  min-height: 100%;
}

.cj-stage:last-of-type .cj-stage-line { visibility: hidden; }

.cj-stage-content {
  grid-column: 3;
  padding-bottom: 48px;
}

.cj-stage-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--slate);
}

.cj-stage-agent {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cj-badge-coming {
  font-size: 11px;
  background: var(--amber);
  color: #fff;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cj-stage-card {
  border-radius: 12px;
  padding: 24px;
  line-height: 1.7;
}

.cj-stage-card--without {
  background: #fff;
  border: 1px solid #e5e7eb;
}

.cj-stage-card--with {
  background: linear-gradient(135deg, rgba(13,148,136,0.06) 0%, rgba(0,98,155,0.06) 100%);
  border: 1px solid rgba(13,148,136,0.2);
}

.cj-stage-card-heading {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--slate);
}

.cj-stage-card p { font-size: 15px; color: #4b5563; margin: 0; }

.cj-stage-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.cj-stage-stat-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 24px;
  font-weight: 700;
  color: var(--blue-primary);
}

.cj-stage-card--with .cj-stage-stat-number { color: var(--teal); }

.cj-stage-stat-label {
  font-size: 13px;
  color: #9ca3af;
}

.cj-stage-improvement {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  background: rgba(13,148,136,0.08);
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-block;
}

.cj-stage-resource-link {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-primary);
  text-decoration: none;
}

.cj-stage-resource-link:hover {
  text-decoration: underline;
}

.cj-summary { padding: 64px 0; background: #fff; }

.cj-summary-header {
  text-align: center;
  margin-bottom: 40px;
}

.cj-summary-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--slate);
}

.cj-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.cj-summary-card {
  border-radius: 16px;
  padding: 32px;
}

.cj-summary-card--without {
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
}

.cj-summary-card--with {
  background: linear-gradient(135deg, rgba(13,148,136,0.06) 0%, rgba(0,98,155,0.06) 100%);
  border: 1px solid rgba(13,148,136,0.2);
}

.cj-summary-card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--slate);
}

.cj-summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cj-summary-list li {
  padding: 8px 0;
  font-size: 15px;
  color: #4b5563;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
}

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

.cj-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--slate) 0%, var(--blue-deep) 100%);
  text-align: center;
  color: #fff;
}

.cj-cta-content { max-width: 600px; margin: 0 auto; }

.cj-cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin: 0 0 16px;
}

.cj-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin: 0 0 32px;
}

@media (max-width: 768px) {
  .cj-hero { padding: 100px 0 48px; }
  .cj-hero h1 { font-size: 28px; }
  .cj-stage { grid-template-columns: 40px 2px 1fr; gap: 0 16px; }
  .cj-stage-number { width: 36px; height: 36px; font-size: 14px; }
  .cj-stage-title { font-size: 18px; }
  .cj-summary-grid { grid-template-columns: 1fr; }
  .cj-cta h2 { font-size: 26px; }
}


/* =====================================================================
   DENIAL CODE EXPLORER PAGE (.de-*)
   ===================================================================== */

.de-hero {
  background: linear-gradient(135deg, var(--slate) 0%, var(--blue-deep) 100%);
  padding: 120px 0 64px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.de-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 80%, rgba(196,138,26,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.de-hero-content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }

.de-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin: 0 0 20px;
  line-height: 1.15;
}

.de-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

.de-search {
  padding: 32px 0 0;
  background: #f8f9fa;
}

.de-search-wrapper { max-width: 800px; margin: 0 auto; }

.de-search-box {
  position: relative;
  margin-bottom: 20px;
}

.de-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

.de-search-input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.de-search-input:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(0,98,155,0.1);
}

.de-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.de-filter-chip {
  padding: 8px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
  color: #6b7280;
  transition: all 0.2s ease;
}

.de-filter-chip:hover { border-color: var(--blue-primary); color: var(--blue-primary); }

.de-filter-chip.active {
  background: var(--blue-primary);
  color: #fff;
  border-color: var(--blue-primary);
}

.de-results-count {
  display: block;
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
  margin-top: 12px;
}

.de-results-section {
  padding: 32px 0 80px;
  background: #f8f9fa;
}

.de-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

.de-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  transition: all 0.25s ease;
}

.de-card:hover {
  border-color: var(--blue-primary);
  box-shadow: 0 4px 16px rgba(0,98,155,0.1);
  transform: translateY(-2px);
}

.de-card[style*="display: none"] { display: none !important; }

.de-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.de-card-code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-primary);
  background: rgba(0,98,155,0.08);
  padding: 4px 10px;
  border-radius: 6px;
}

.de-card-category {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.de-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--slate);
  margin: 0 0 16px;
}

.de-card-section { margin-bottom: 16px; }
.de-card-section:last-child { margin-bottom: 0; }

.de-card-section h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9ca3af;
  margin: 0 0 6px;
}

.de-card-section p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

.de-card-synaipse {
  background: rgba(13,148,136,0.04);
  border-radius: 8px;
  padding: 14px;
  border: 1px solid rgba(13,148,136,0.12);
}

.de-card-synaipse h4 { color: var(--teal); }

.de-stats {
  padding: 64px 0;
  background: #fff;
}

.de-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.de-stat { text-align: center; }

.de-stat-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 36px;
  font-weight: 800;
  color: var(--blue-primary);
}

.de-stat-label {
  font-size: 14px;
  color: #6b7280;
  margin-top: 4px;
}

.de-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--slate) 0%, var(--blue-deep) 100%);
  text-align: center;
  color: #fff;
}

.de-cta-content { max-width: 600px; margin: 0 auto; }

.de-cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin: 0 0 16px;
}

.de-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin: 0 0 32px;
}

@media (max-width: 768px) {
  .de-results { grid-template-columns: 1fr; }
  .de-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .de-hero { padding: 100px 0 48px; }
  .de-hero h1 { font-size: 28px; }
  .de-search-input { font-size: 15px; padding: 14px 14px 14px 44px; }
  .de-filters { gap: 6px; }
  .de-filter-chip { padding: 6px 12px; font-size: 13px; }
  .de-card { padding: 20px; }
  .de-stat-number { font-size: 28px; }
}


/* =====================================================================
   KNOWLEDGE BASE OVERRIDES (.kb-*)
   Extends existing .blg-* blog styles
   ===================================================================== */

.kb-hero { /* extends .blg-hero — no extra styles needed */ }

.kb-categories {
  padding: 0;
  background: #f8f9fa;
}

.kb-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 24px 0;
  border-bottom: 1px solid #e5e7eb;
}

.kb-category-btn {
  padding: 8px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
  color: #6b7280;
  transition: all 0.2s ease;
}

.kb-category-btn:hover { border-color: var(--blue-primary); color: var(--blue-primary); }

.kb-category-btn.active {
  background: var(--blue-primary);
  color: #fff;
  border-color: var(--blue-primary);
}

.kb-featured { /* extends .blg-featured */ }

.kb-grid { /* extends .blg-grid-section */ }

.kb-card[style*="display: none"] { display: none !important; }

.kb-guide {
  background: #fff;
  border-radius: 14px;
  padding: 40px;
  border: 1px solid #e5e7eb;
  margin: 20px 0;
}

.kb-guide h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--slate);
}

.kb-guide h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--slate);
}

.kb-guide p, .kb-guide li {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
}

.kb-guide ul, .kb-guide ol {
  padding-left: 24px;
  margin: 12px 0;
}

.kb-impact {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--slate) 0%, var(--blue-deep) 100%);
}

.kb-subscribe {
  padding: 64px 0;
  background: #f8f9fa;
}

.kb-subscribe-pill { /* extends .blg-subscribe-pill */ }

@media (max-width: 768px) {
  .kb-category-nav { gap: 6px; padding: 16px 0; }
  .kb-category-btn { padding: 6px 14px; font-size: 13px; }
  .kb-guide { padding: 24px; }
  .kb-guide h2 { font-size: 22px; }
}


/* =====================================================================
   AMBIENT SCRIBE ROADMAP (.as-roadmap*)
   ===================================================================== */

.as-roadmap {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef4 100%);
}

.as-roadmap-header {
  text-align: center;
  margin-bottom: 48px;
}

.as-roadmap-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--slate);
  margin: 0 0 12px;
}

.as-roadmap-header p {
  font-size: 18px;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.as-roadmap-content {
  max-width: 800px;
  margin: 0 auto;
}

.as-roadmap-timeline {
  position: relative;
  padding-left: 40px;
}

.as-roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-primary), var(--teal), #e5e7eb);
}

.as-roadmap-phase {
  position: relative;
  margin-bottom: 32px;
  padding: 24px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.as-roadmap-phase:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}

.as-roadmap-marker {
  position: absolute;
  left: -33px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e5e7eb;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #e5e7eb;
}

.as-roadmap-phase--complete .as-roadmap-marker {
  background: var(--teal);
  box-shadow: 0 0 0 2px var(--teal);
}

.as-roadmap-phase--active .as-roadmap-marker {
  background: var(--blue-primary);
  box-shadow: 0 0 0 2px var(--blue-primary);
}

.as-roadmap-phase--active {
  border-color: var(--blue-primary);
  box-shadow: 0 4px 20px rgba(0,98,155,0.12);
}

.as-roadmap-phase--future { opacity: 0.7; }

.as-roadmap-date {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.as-roadmap-phase--complete .as-roadmap-date { color: var(--teal); }
.as-roadmap-phase--active .as-roadmap-date { color: var(--blue-primary); }
.as-roadmap-phase--future .as-roadmap-date { color: #9ca3af; }

.as-roadmap-phase h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--slate);
}

.as-roadmap-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.as-roadmap-feature {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.as-roadmap-phase--complete .as-roadmap-feature {
  background: rgba(13,148,136,0.08);
  color: var(--teal);
  border-color: rgba(13,148,136,0.2);
}

.as-roadmap-phase--active .as-roadmap-feature {
  background: rgba(0,98,155,0.08);
  color: var(--blue-primary);
  border-color: rgba(0,98,155,0.2);
}

.as-roadmap-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-primary);
  margin-right: 6px;
  animation: as-pulse 2s infinite;
}

@keyframes as-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,98,155,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(0,98,155,0); }
}

.as-roadmap-cta {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .as-roadmap { padding: 48px 0; }
  .as-roadmap-phase { padding: 20px; margin-bottom: 24px; }
  .as-roadmap-timeline { padding-left: 32px; }
  .as-roadmap-marker { left: -25px; }
  .as-roadmap-header h2 { font-size: 26px; }
}


/* =====================================================================
   DARK MODE — NEW PAGES
   ===================================================================== */

html.dark /* ROI */
  .roi-calculator {
  background: #111827;
}

html.dark .roi-inputs {
  background: #1e293b; border-color: #374151; color: #e5e7eb;
}

html.dark .roi-inputs-heading {
  color: #e5e7eb;
}

html.dark .roi-slider-label {
  color: #e5e7eb;
}

html.dark .roi-slider-value {
  background: rgba(0,98,155,0.2); color: #93c5fd;
}

html.dark .roi-slider-group input[type="range"] {
  background: #374151;
}

html.dark .roi-slider-range {
  color: #6b7280;
}

html.dark .roi-assumptions {
  background: #111827;
}

html.dark .roi-assumptions-heading {
  color: #e5e7eb;
}

html.dark .roi-assumption {
  background: #1e293b; border-color: #374151;
}

html.dark .roi-assumption-summary {
  color: #e5e7eb;
}

html.dark .roi-assumption-content {
  color: #9ca3af;
}

html.dark /* Claim Journey */
  .cj-toggle {
  background: #111827;
}

html.dark .cj-toggle-bar {
  background: #374151;
}

html.dark .cj-toggle-btn {
  color: #9ca3af;
}

html.dark .cj-toggle-btn.active {
  background: #1e293b; color: #93c5fd;
}

html.dark .cj-timeline {
  background: #111827;
}

html.dark .cj-stage-title {
  color: #e5e7eb;
}

html.dark .cj-stage-card--without {
  background: #1e293b; border-color: #374151;
}

html.dark .cj-stage-card--with {
  background: rgba(13,148,136,0.08); border-color: rgba(13,148,136,0.25);
}

html.dark .cj-stage-card-heading {
  color: #e5e7eb;
}

html.dark .cj-stage-card p {
  color: #d1d5db;
}

html.dark .cj-summary {
  background: #0f172a;
}

html.dark .cj-summary-header h2 {
  color: #e5e7eb;
}

html.dark .cj-summary-card--without {
  background: #1e293b; border-color: #374151;
}

html.dark .cj-summary-card-title {
  color: #e5e7eb;
}

html.dark .cj-summary-list li {
  color: #d1d5db; border-color: #374151;
}

html.dark /* Denial Explorer */
  .de-search {
  background: #111827;
}

html.dark .de-search-input {
  background: #1e293b; border-color: #374151; color: #e5e7eb;
}

html.dark .de-search-input::placeholder {
  color: #6b7280;
}

html.dark .de-filter-chip {
  background: #1e293b; border-color: #374151; color: #9ca3af;
}

html.dark .de-filter-chip:hover {
  border-color: #93c5fd; color: #93c5fd;
}

html.dark .de-filter-chip.active {
  background: var(--blue-primary); color: #fff; border-color: var(--blue-primary);
}

html.dark .de-results-section {
  background: #111827;
}

html.dark .de-card {
  background: #1e293b; border-color: #374151;
}

html.dark .de-card:hover {
  border-color: var(--blue-light);
}

html.dark .de-card-title {
  color: #e5e7eb;
}

html.dark .de-card-section p {
  color: #d1d5db;
}

html.dark .de-card-synaipse {
  background: rgba(13,148,136,0.1); border-color: rgba(13,148,136,0.2);
}

html.dark .de-stats {
  background: #0f172a;
}

html.dark .de-stat-label {
  color: #9ca3af;
}

html.dark /* Knowledge Base */
  .kb-categories {
  background: #111827;
}

html.dark .kb-category-nav {
  border-color: #374151;
}

html.dark .kb-category-btn {
  background: #1e293b; border-color: #374151; color: #9ca3af;
}

html.dark .kb-category-btn:hover {
  border-color: #93c5fd; color: #93c5fd;
}

html.dark .kb-category-btn.active {
  background: var(--blue-primary); color: #fff;
}

html.dark .kb-guide {
  background: #1e293b; border-color: #374151;
}

html.dark .kb-guide h2,
html.dark .kb-guide h3 {
  color: #e5e7eb;
}

html.dark .kb-guide p,
html.dark .kb-guide li {
  color: #d1d5db;
}

html.dark .kb-subscribe {
  background: #111827;
}

html.dark /* Ambient Scribe Roadmap */
  .as-roadmap {
  background: linear-gradient(135deg, #111827 0%, #0f172a 100%);
}

html.dark .as-roadmap-header h2 {
  color: #e5e7eb;
}

html.dark .as-roadmap-header p {
  color: #9ca3af;
}

html.dark .as-roadmap-phase {
  background: #1e293b; border-color: #374151;
}

html.dark .as-roadmap-phase--active {
  border-color: var(--blue-primary);
}

html.dark .as-roadmap-phase h3 {
  color: #e5e7eb;
}

html.dark .as-roadmap-feature {
  background: #374151; color: #9ca3af; border-color: #4b5563;
}

html.dark .as-roadmap-phase--complete .as-roadmap-feature {
  background: rgba(13,148,136,0.15);
}

html.dark .as-roadmap-phase--active .as-roadmap-feature {
  background: rgba(0,98,155,0.15);
}

html.dark .as-roadmap-timeline::before {
  background: linear-gradient(to bottom, var(--blue-primary), var(--teal), #374151);
}


/* ---------- Hero Secondary CTA ---------- */
.hero-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--grey);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.hero-secondary-cta:hover {
  color: var(--blue-primary);
}

/* ---------- Hero Visual (Dashboard Mockup) ---------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-mock-frame {
  width: 100%;
  max-width: 540px;
  background: #0F1419;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.35),
    0 0 60px rgba(0, 98, 155, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-mock-frame:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.hero-mock-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-mock-window-title {
  margin-left: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
  flex: 1;
}

.hero-mock-live-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #4ADE80;
  background: rgba(74, 222, 128, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

/* Hero dash uses existing .dash-mock classes but with compact height */
.hero-mock-inner.dash-mock {
  min-height: 340px;
  font-size: 10px;
}

.hero-mock-inner .dash-sidebar {
  width: 160px;
  min-width: 160px;
}

.hero-mock-inner .dash-kpi-value {
  font-size: 16px;
}

@media (max-width: 1024px) {
  .hero-visual {
    justify-content: center;
  }

  .hero-mock-frame {
    transform: none;
    max-width: 480px;
  }
}

@media (max-width: 640px) {
  .hero-visual {
    display: none;
  }
}

/* ---------- Journey Flow Section ---------- */
.journey-flow {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--slate) 0%, #0f1a26 100%);
  position: relative;
  overflow: hidden;
}

.journey-flow .section-label {
  color: var(--amber-bright);
}

.journey-flow .section-title {
  color: #fff;
}

.journey-flow .section-sub {
  color: rgba(255, 255, 255, 0.65);
}

.jf-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  flex-wrap: wrap;
}

.jf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
  min-width: 140px;
  max-width: 160px;
  flex: 1;
}

.jf-step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  transition: all 0.3s;
}

.jf-step:hover .jf-step-icon {
  background: rgba(0, 98, 155, 0.3);
  border-color: var(--blue-light);
  color: #fff;
}

.jf-step--final .jf-step-icon {
  background: rgba(13, 148, 136, 0.2);
  border-color: rgba(13, 148, 136, 0.4);
  color: #2DD4BF;
}

.jf-step--final:hover .jf-step-icon {
  background: rgba(13, 148, 136, 0.35);
  border-color: var(--teal);
}

.jf-step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--amber-bright);
  margin-bottom: 6px;
}

.jf-step-label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.jf-step-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}

.jf-connector {
  display: flex;
  align-items: center;
  padding: 0 4px;
  margin-top: 16px; /* aligns with center of icons */
  color: rgba(255, 255, 255, 0.2);
  font-size: 18px;
  flex-shrink: 0;
}

.jf-cta {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .jf-track {
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .jf-connector {
    display: none;
  }

  .jf-step {
    min-width: 120px;
    max-width: 140px;
    padding: 12px 8px;
  }
}

/* ---------- Platform Trust Bar (inline below role cards) ---------- */
.platform-trust {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.platform-trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.platform-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-light);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.platform-trust-item svg {
  opacity: 0.55;
  flex-shrink: 0;
}

.platform-trust-sep {
  width: 1px;
  height: 16px;
  background: var(--border);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .platform-trust {
    margin-top: 36px;
    padding-top: 24px;
  }

  .platform-trust-items {
    gap: 12px 20px;
  }

  .platform-trust-sep {
    display: none;
  }

  .platform-trust-item {
    font-size: 12px;
  }
}

/* ---------- Print Styles ---------- */
@media print {
  nav, footer, .mobile-menu, .skip-link, .btn-primary, .btn-secondary {
    display: none;
  }
  body {
    color: #000;
    background: #fff;
  }
}
