/* V61: add coordinated color to Founder Stories and company profile interiors. */
.founder-stories {
  border-color: #d9d9f1;
  background: linear-gradient(135deg, #f4f4ff 0%, #f5fbff 48%, #fff5f0 100%);
  box-shadow: 0 10px 26px rgba(66, 67, 130, .08);
}
.founder-stories-heading h2 { color: #393b82; }
.founder-video-scroll {
  padding: 8px;
  border: 1px solid #e1e1f2;
  border-radius: 12px;
  background: linear-gradient(125deg, rgba(232, 237, 255, .8), rgba(255, 243, 237, .7));
}
.founder-video-grid { gap: 9px; }
.founder-video-card {
  border-color: var(--story-border, #dddaf4);
  border-top: 4px solid var(--story-accent, #6559c9);
  border-radius: 10px 10px 10px 4px;
  background: linear-gradient(160deg, var(--story-tint, #f6f4ff), #fff 54%);
  box-shadow: 0 4px 11px rgba(51, 57, 104, .08);
}
.founder-video-card:nth-child(6n + 1) { --story-accent: #5b54c8; --story-border: #d8d5fb; --story-tint: #f0efff; }
.founder-video-card:nth-child(6n + 2) { --story-accent: #167b74; --story-border: #c9e8e2; --story-tint: #eaf8f4; }
.founder-video-card:nth-child(6n + 3) { --story-accent: #c65d42; --story-border: #f1d8ce; --story-tint: #fff2ed; }
.founder-video-card:nth-child(6n + 4) { --story-accent: #2877b7; --story-border: #cce1f2; --story-tint: #edf6ff; }
.founder-video-card:nth-child(6n + 5) { --story-accent: #9b6b16; --story-border: #eadbb7; --story-tint: #fff8e8; }
.founder-video-card:nth-child(6n) { --story-accent: #b94562; --story-border: #efcfda; --story-tint: #fff0f4; }
.founder-video-source {
  border-color: var(--story-border);
  color: var(--story-accent);
  background: var(--story-tint);
}
.founder-video-metric {
  border-color: var(--story-border);
  color: var(--story-accent);
  background: var(--story-tint);
}
.founder-video-play { background: var(--story-accent, #5b54c8); }

/* Shared colorful palette for all source-linked company profile pages. */
:is(.profile-v45, .profile-v46) {
  --profile-accent: #5b54c8;
  --profile-soft: #f1f0ff;
  --profile-border: #d9d7f4;
  background: linear-gradient(135deg, #f5f6ff 0%, #f7fbff 54%, #fff8f2 100%) !important;
}
:is(.profile-v45, .profile-v46) header {
  border-bottom-color: #dcdef0;
  background: rgba(255,255,255,.94);
  box-shadow: 0 3px 14px rgba(50, 60, 120, .055);
}
:is(.profile-v45, .profile-v46) .brand::after { display: none; content: none; }
:is(.profile-v45, .profile-v46) .back-link {
  border: 1px solid #d9d7f4;
  color: #4d4aa3;
  background: #f3f2ff;
}
:is(.profile-v45, .profile-v46) .breadcrumb { color: #797d99; }
:is(.profile-v45, .profile-v46) .breadcrumb a { color: #4d4aa3; }
:is(.profile-v45, .profile-v46) .profile-head {
  padding: 25px;
  border: 1px solid #dce1f3;
  border-radius: 18px 18px 18px 7px;
  background: linear-gradient(115deg, #f0efff 0%, #f1f8ff 62%, #fff4ed 100%);
  box-shadow: 0 8px 22px rgba(58, 67, 125, .07);
}
:is(.profile-v45, .profile-v46) .profile-company-logo {
  border-color: #d8d7ee;
  box-shadow: 0 4px 12px rgba(57, 62, 118, .09);
}
:is(.profile-v45, .profile-v46) .profile-head h1 { color: #2b3567; }
:is(.profile-v45, .profile-v46) .profile-category { color: #6d7090; }
:is(.profile-v45, .profile-v46) .category-chip {
  border-color: #d1d1f4;
  color: #514cae;
  background: #efefff;
}
:is(.profile-v45, .profile-v46) .demo-pill {
  border-color: #cfe6dd;
  color: #26715c;
  background: #edf8f3;
}
:is(.profile-v45, .profile-v46) .company-description-panel {
  position: relative;
  overflow: hidden;
  border-color: #d9d7f4;
  background: linear-gradient(135deg, #f4f2ff 0%, #f4faff 58%, #fff 100%);
  box-shadow: 0 6px 18px rgba(58, 67, 125, .06);
}
:is(.profile-v45, .profile-v46) .company-description-panel::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  content: "";
  background: linear-gradient(180deg, #6559cc, #2c8ba1, #dd7955);
}
:is(.profile-v45, .profile-v46) .company-description-panel h2,
:is(.profile-v45, .profile-v46) .sources h2 { color: #343b79; }
:is(.profile-v45, .profile-v46) .long-description p { color: #46516a; font-size: 13px; line-height: 1.78; }
:is(.profile-v45, .profile-v46) .metric-card:first-child {
  border-color: #d6d4f0 !important;
  background: linear-gradient(135deg, #f1efff, #eef8ff) !important;
}
:is(.profile-v45, .profile-v46) .metric-card:first-child .metric-label { color: #686b8f !important; }
:is(.profile-v45, .profile-v46) .metric-label:empty { display: none !important; }
:is(.profile-v45, .profile-v46) .metric-card:first-child .metric-value { color: #393c89 !important; }
:is(.profile-v45, .profile-v46) .founder-card {
  border-color: #ecd7d6;
  background: linear-gradient(105deg, #fff1ef, #f4f2ff 58%, #eef8ff);
  box-shadow: 0 5px 16px rgba(83, 65, 110, .06);
}
:is(.profile-v45, .profile-v46) .founder-avatar-link { border: 3px solid #fff; box-shadow: 0 0 0 2px #b8b4ec; }
:is(.profile-v45, .profile-v46) .founder-mark { background: linear-gradient(140deg, #6257c5, #30889a); }
:is(.profile-v45, .profile-v46) .source-card {
  border-color: #d8deef;
  box-shadow: 0 5px 16px rgba(58, 67, 125, .055);
}
:is(.profile-v45, .profile-v46) .source-card-head { border-bottom-color: #dce2f0; background: linear-gradient(100deg, #f0efff, #eef8ff); }
:is(.profile-v45, .profile-v46) .source-card h3 { color: #343b79; }
:is(.profile-v45, .profile-v46) .source-status {
  border-color: #cfe6dd;
  color: #26715c;
  background: #edf8f3;
}
:is(.profile-v45, .profile-v46) .source-data div { border-bottom-color: #e7e9f2; }
:is(.profile-v45, .profile-v46) .method-note { border-color: #d9d7f4; border-left-color: #6559cc; background: #f5f4ff; }
:is(.profile-v45, .profile-v46) footer { border-top-color: #d9dddf; background: #eceff1 !important; color: #58636b; font-size: 12px; }
:is(.profile-v45, .profile-v46) .footer-brand { color: #47535b; font-size: 16px; }
:is(.profile-v45, .profile-v46) .footer-links a { color: #47535b; font-size: 12px; }

@media (max-width: 620px) {
  :is(.profile-v45, .profile-v46) .profile-head { padding: 18px; }
  .founder-video-scroll { padding: 5px; }
}
