/* ============================================================
   Morgan Stanley partnership page — supplementary styles
   Built on top of the Upscalers Q1 design system (style.css)
   ============================================================ */

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.4rem; border-radius: var(--radius-md);
  font-size: var(--text-sm); font-weight: 600; line-height: 1;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: var(--transition);
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-surface-2); text-decoration: none; }
.btn-light { background: #fff; color: var(--color-primary); }
.btn-light:hover { background: rgba(255,255,255,0.88); text-decoration: none; }

/* --- Header co-brand pair --- */
.logo.logo--pair { display: flex; align-items: center; gap: var(--space-2); }
.logo-x { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 300; opacity: 0.55; padding: 0 2px; }
.site-logo--partner { max-height: 22px; width: auto; object-fit: contain; opacity: 0.95; }
[data-theme="dark"] .site-logo--partner { filter: invert(1) brightness(1.15); }

/* --- Hero adjustments --- */
.hero--partner { padding-bottom: var(--space-12); }
.hero-partner-mark {
  display: inline-flex !important; align-items: center; gap: 12px;
  padding: 8px 16px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 999px; margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  max-width: fit-content;
}
.hero-partner-mark img.hpm-logo {
  height: 22px !important; width: auto !important;
  max-height: 22px !important; max-width: 120px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}
.hero-partner-mark img.hpm-logo--partner {
  height: 20px !important; max-height: 20px !important; opacity: 0.95;
  display: inline-block !important;
}
/* Theme toggling for hero pair — must be after generic hpm-logo rules */
[data-theme="light"] .hero-partner-mark img.hpm-logo.site-logo--dark  { display: none !important; }
[data-theme="light"] .hero-partner-mark img.hpm-logo.site-logo--light { display: inline-block !important; }
[data-theme="dark"]  .hero-partner-mark img.hpm-logo.site-logo--dark  { display: inline-block !important; }
[data-theme="dark"]  .hero-partner-mark img.hpm-logo.site-logo--light { display: none !important; }
[data-theme="dark"] .hero-partner-mark img.hpm-logo--partner { filter: invert(1) brightness(1.15); }
.hpm-x { font-size: 14px; color: var(--color-text-muted); opacity: 0.5; font-weight: 300; }

/* --- Stat flag (small label above value) --- */
.stat-flag {
  display: inline-block; font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-primary) 60%, #ffffff 40%);
  margin-bottom: var(--space-2);
}
[data-theme="dark"] .stat-flag { color: var(--color-primary); }
.hero-accent {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-weight: 400; color: var(--color-primary);
}
.hero-cta-row { display: flex; gap: var(--space-3); flex-wrap: wrap; margin: var(--space-6) 0 var(--space-8); }

/* --- Stat strip --- */
.stat-strip {
  background: var(--color-text); color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stat-strip-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6); padding-top: var(--space-10); padding-bottom: var(--space-10);
}
.stat-value {
  font-size: var(--text-2xl); font-weight: 700; letter-spacing: -0.02em;
  color: #fff; line-height: 1;
}
[data-theme="dark"] .stat-value { color: var(--color-bg); }
.stat-unit { font-size: var(--text-lg); font-weight: 600; opacity: 0.8; margin-left: 2px; }
.stat-label {
  margin-top: var(--space-3); font-size: var(--text-sm);
  color: rgba(255,255,255,0.78); line-height: 1.4;
}
[data-theme="dark"] .stat-label { color: rgba(20,19,18,0.7); }
.stat-label span { display: block; font-size: var(--text-xs); color: rgba(255,255,255,0.5); margin-top: 2px; }
[data-theme="dark"] .stat-label span { color: rgba(20,19,18,0.5); }

/* --- Approach grid --- */
.approach-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5); margin-top: var(--space-8);
}
.approach-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  transition: var(--transition);
}
.approach-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.approach-num {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: var(--text-2xl); color: var(--color-primary); line-height: 1;
  margin-bottom: var(--space-4);
}
.approach-card h3 { font-size: var(--text-lg); margin: 0 0 var(--space-2); }
.approach-card p { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; line-height: 1.55; }

/* --- Regulated grid --- */
.reg-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5); margin-top: var(--space-8);
}
.reg-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
}
.reg-card--feature {
  grid-column: span 3;
  background: var(--color-primary-light);
  border-color: color-mix(in srgb, var(--color-primary) 25%, transparent);
}
.reg-badge {
  display: inline-block; font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--color-primary); background: var(--color-surface);
  border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
  padding: 0.3rem 0.6rem; border-radius: var(--radius-sm); margin-bottom: var(--space-4);
}
.reg-card--feature h3 { font-size: var(--text-xl); margin: 0 0 var(--space-2); }
.reg-card--feature p { font-size: var(--text-base); color: var(--color-text-muted); max-width: 60ch; margin: 0; }
.reg-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--color-success-bg); color: var(--color-success);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; margin-bottom: var(--space-4);
}
.reg-card h4 { font-size: var(--text-base); margin: 0 0 var(--space-2); }
.reg-card p { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; line-height: 1.5; }

/* --- Process track --- */
.process-track {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5); margin-top: var(--space-8); position: relative;
}
.process-step { position: relative; padding-top: var(--space-2); }
.process-marker {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--text-base); margin-bottom: var(--space-4);
  position: relative; z-index: 2;
}
.process-step::after {
  content: ''; position: absolute; top: 20px; left: 40px; right: -20px;
  height: 1px; background: var(--color-border); z-index: 1;
}
.process-step:last-child::after { display: none; }
.process-step h4 { font-size: var(--text-base); margin: 0 0 var(--space-2); }
.process-step p { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; line-height: 1.5; }

/* --- Track record --- */
.deal-feature {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: var(--space-8); margin-top: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.deal-feature-head, .deal-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); margin-bottom: var(--space-6); flex-wrap: wrap;
}
.company-cell { display: flex; align-items: center; gap: var(--space-3); }
.company-logo-wrap {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--color-surface-2); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; overflow: hidden;
}
.company-logo { width: 30px; height: 30px; object-fit: contain; }
.company-name { display: block; font-size: var(--text-lg); font-weight: 700; line-height: 1.1; }
.company-desc { display: block; font-size: var(--text-xs); color: var(--color-text-muted); margin-top: 2px; }
.deal-feature-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4);
}
.dfm { display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-4); background: var(--color-surface-2); border-radius: var(--radius-md); }
.dfm-v { font-size: var(--text-xl); font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.dfm-v.pos { color: var(--color-success); }
.dfm-l { font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.3; }
.dfm-l small { display: block; font-size: 0.68rem; color: var(--color-text-faint); }

.deal-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); margin-top: var(--space-5); }
.deal-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
}
.deal-list { list-style: none; margin: 0; padding: 0; }
.deal-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4);
  padding: var(--space-3) 0; border-bottom: 1px solid var(--color-divider);
  font-size: var(--text-sm);
}
.deal-list li:last-child { border-bottom: none; }
.deal-list li span { color: var(--color-text-muted); }
.deal-list li strong { text-align: right; }
.deal-list li strong.pos { color: var(--color-success); }

/* --- Portfolio snapshot stats bar --- */
.pf-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4); margin: var(--space-10) 0 var(--space-6);
}
.pf-stat {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-5) var(--space-5);
}
.pf-stat-v {
  font-size: var(--text-2xl); font-weight: 700; letter-spacing: -0.02em;
  line-height: 1; color: var(--color-text);
}
.pf-stat-v.pos { color: var(--color-primary); }
.pf-stat-l {
  margin-top: var(--space-2); font-size: var(--text-sm); font-weight: 600;
  color: var(--color-text); line-height: 1.35;
}
.pf-stat-l span {
  display: block; font-size: var(--text-xs); font-weight: 400;
  color: var(--color-text-muted); margin-top: 2px;
}

/* --- Portfolio holdings table --- */
.pf-table-wrap {
  margin-top: var(--space-5); background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.pf-table { display: block; width: 100%; }
.pf-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) 1.1fr 1fr 1fr 1fr 0.9fr 1fr;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-divider);
  font-size: var(--text-sm);
}
.pf-row:last-child { border-bottom: none; }
.pf-row--head {
  background: var(--color-surface-2);
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--color-text-muted); font-weight: 600;
  padding-top: var(--space-3); padding-bottom: var(--space-3);
}
.pf-row--new { background: color-mix(in srgb, var(--color-primary) 4%, transparent); }
.pf-c { min-width: 0; color: var(--color-text); }
.pf-c.pos { color: var(--color-primary); font-weight: 600; }
.pf-c--co { display: flex; align-items: center; gap: var(--space-3); }
.pf-logo {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 8px;
  background: #fff; border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; font-size: 12px; font-weight: 700; color: #fff;
}
.pf-logo img { width: 22px; height: 22px; object-fit: contain; }
.pf-logo--dot { background: #6b7280; color: #fff; border-color: transparent; }
.pf-logo--dot[data-color="#0f766e"] { background: #0f766e; }
.pf-logo--dot[data-color="#2563eb"] { background: #2563eb; }
.pf-co { display: flex; flex-direction: column; min-width: 0; }
.pf-co-n {
  font-size: var(--text-sm); font-weight: 700; color: var(--color-text);
  line-height: 1.2; display: inline-flex; align-items: center; gap: var(--space-2); flex-wrap: wrap;
}
.pf-co-d {
  font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.4;
  margin-top: 2px;
}
.pf-stage {
  display: inline-block; font-size: var(--text-xs); font-weight: 600;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
  color: var(--color-primary);
  border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
}
.pf-stage--conv {
  background: rgba(139, 92, 246, 0.10); color: #7c3aed;
  border-color: rgba(139, 92, 246, 0.25);
}
.pf-stage--seed {
  background: rgba(217, 119, 6, 0.10); color: #b45309;
  border-color: rgba(217, 119, 6, 0.25);
}
.pf-status {
  display: inline-block; font-size: var(--text-xs); font-weight: 600;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  background: var(--color-surface-2); color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.pf-new-chip {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.15rem 0.45rem; border-radius: 999px;
  background: color-mix(in srgb, var(--color-primary) 12%, transparent);
  color: color-mix(in srgb, var(--color-primary) 85%, #000000 15%);
  border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
}
.pf-new-chip--soft {
  background: rgba(217, 119, 6, 0.10); color: #b45309;
  border-color: rgba(217, 119, 6, 0.22);
}

/* notable */
.notable {
  display: flex; align-items: center; gap: var(--space-5);
  margin-top: var(--space-8); flex-wrap: wrap;
  padding-top: var(--space-6); border-top: 1px solid var(--color-divider);
}
.notable-label { font-size: var(--text-sm); font-weight: 600; color: var(--color-text-muted); }
.notable-logos { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.notable-chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 999px; padding: 0.4rem 0.85rem; font-size: var(--text-sm); font-weight: 600;
}
.notable-chip img { width: 18px; height: 18px; object-fit: contain; }
.notable-chip--text { color: var(--color-text); }

/* opening banner */
.opening-banner {
  display: flex; align-items: center; gap: var(--space-4);
  margin-top: var(--space-6); padding: var(--space-5) var(--space-6);
  background: var(--color-primary-light);
  border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
  border-radius: var(--radius-lg);
}
.opening-pulse {
  width: 12px; height: 12px; border-radius: 50%; background: var(--color-primary);
  flex-shrink: 0; position: relative;
}
.opening-pulse::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--color-primary); opacity: 0.5;
  animation: pulsering 1.8s ease-out infinite;
}
@keyframes pulsering { 0% { transform: scale(0.6); opacity: 0.6; } 100% { transform: scale(1.8); opacity: 0; } }
.opening-banner > div { display: flex; flex-direction: column; }
.opening-eyebrow { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-primary); font-weight: 700; }
.opening-name { font-size: var(--text-lg); font-weight: 700; }
.opening-tag { margin-left: auto; font-size: var(--text-xs); font-weight: 600; color: var(--color-primary);
  border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent); padding: 0.3rem 0.7rem; border-radius: 999px; }

/* --- Collaboration --- */
.collab-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); margin-top: var(--space-8); }
.collab-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-8); position: relative;
  transition: var(--transition);
}
.collab-card:hover { box-shadow: var(--shadow-md); }
.collab-num {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--text-lg); margin-bottom: var(--space-5);
}
.collab-card h3 { font-size: var(--text-xl); margin: 0 0 var(--space-3); }
.collab-card p { font-size: var(--text-base); color: var(--color-text-muted); margin: 0; line-height: 1.6; }

/* --- Edge --- */
.edge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--space-8); }
.edge-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
}
.edge-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--color-primary-light); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-5);
}
.edge-icon svg { width: 22px; height: 22px; }
.edge-card h3 { font-size: var(--text-lg); margin: 0 0 var(--space-2); }
.edge-card p { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; line-height: 1.55; }

/* --- Contact --- */
.contact-section { background: var(--color-primary); }
[data-theme="dark"] .contact-section { background: var(--color-primary-light); }
.contact-inner { text-align: center; max-width: 760px; }
.contact-title {
  font-size: var(--text-2xl); font-weight: 700; color: #fff;
  letter-spacing: -0.02em; margin: var(--space-2) 0 var(--space-4);
}
[data-theme="dark"] .contact-title { color: var(--color-text); }
.contact-sub { font-size: var(--text-base); color: rgba(255,255,255,0.85); line-height: 1.65; margin: 0 auto var(--space-8); }
[data-theme="dark"] .contact-sub { color: var(--color-text-muted); }
.contact-cta-row { display: flex; align-items: center; justify-content: center; gap: var(--space-5); flex-wrap: wrap; }
.contact-locations { display: flex; gap: var(--space-2); }
.loc-chip {
  font-size: var(--text-sm); font-weight: 600; color: #fff;
  border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; padding: 0.5rem 0.9rem;
}
[data-theme="dark"] .loc-chip { color: var(--color-text); border-color: var(--color-border); }
.contact-signoff { margin-top: var(--space-8); font-size: var(--text-sm); color: rgba(255,255,255,0.7); font-style: italic; }
[data-theme="dark"] .contact-signoff { color: var(--color-text-muted); }

/* --- Scroll reveal --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* --- Responsive --- */
@media (max-width: 1100px) {
  .pf-row { grid-template-columns: minmax(0, 2.6fr) 0.9fr 0.9fr 0.9fr 0.9fr 0.8fr 0.9fr; font-size: var(--text-xs); }
  .pf-co-d { display: none; }
  .pf-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .approach-grid, .reg-grid, .process-track, .edge-grid { grid-template-columns: 1fr 1fr; }
  .reg-card--feature { grid-column: span 2; }
  .process-step::after { display: none; }
  .deal-feature-grid { grid-template-columns: repeat(2, 1fr); }
  /* Portfolio table becomes card list on narrower screens */
  .pf-row--head { display: none; }
  .pf-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "co co"
      "date stage"
      "entry today"
      "multiple status";
    row-gap: var(--space-2); padding: var(--space-5);
  }
  .pf-c--co { grid-area: co; }
  .pf-row .pf-c:nth-child(2) { grid-area: date; color: var(--color-text-muted); }
  .pf-row .pf-c:nth-child(3) { grid-area: stage; justify-self: end; }
  .pf-row .pf-c:nth-child(4) { grid-area: entry; }
  .pf-row .pf-c:nth-child(4)::before { content: 'Entry: '; color: var(--color-text-muted); font-weight: 400; }
  .pf-row .pf-c:nth-child(5) { grid-area: today; }
  .pf-row .pf-c:nth-child(5)::before { content: 'Today: '; color: var(--color-text-muted); font-weight: 400; }
  .pf-row .pf-c:nth-child(6) { grid-area: multiple; font-size: var(--text-base); }
  .pf-row .pf-c:nth-child(6)::before { content: 'Multiple: '; color: var(--color-text-muted); font-weight: 400; font-size: var(--text-xs); }
  .pf-row .pf-c:nth-child(7) { grid-area: status; justify-self: end; }
  .pf-co-d { display: block; }
}
@media (max-width: 640px) {
  .stat-strip-inner, .approach-grid, .reg-grid, .process-track,
  .edge-grid, .collab-grid, .deal-pair { grid-template-columns: 1fr; }
  .reg-card--feature { grid-column: span 1; }
  .deal-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .deal-feature { padding: var(--space-6); }
  .notable { flex-direction: column; align-items: flex-start; }
  .opening-tag { margin-left: 0; }
  .pf-stats { grid-template-columns: 1fr 1fr; }
  .hero-partner-mark { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .opening-pulse::after { animation: none; }
}

/* Grid: 2 columns on desktop, full-width for featured / wide cards */
.dd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.dd-card--featured,
.dd-card--wide { grid-column: 1 / -1; }

/* Card shell */
.dd-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.75rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.dd-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 6px 24px -18px rgba(0,0,0,.18);
}
.dd-card--featured {
  background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-surface) 55%);
  border-color: var(--color-primary);
}

/* Header */
.dd-card-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}
.dd-num {
  font-family: "Source Serif Pro", "Source Serif 4", Georgia, serif;
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--color-primary);
  font-weight: 500;
  letter-spacing: -.02em;
  padding-top: .15rem;
}
.dd-q { display: flex; flex-direction: column; gap: .35rem; }
.dd-q-label {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
}
.dd-q-title {
  font-size: 1.18rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

/* Body */
.dd-card-body { display: flex; flex-direction: column; gap: 1rem; }

/* Q1 — Stats grid */
.dd-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .9rem 1.5rem;
  margin: 0;
}
.dd-stat {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .85rem 1rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  border-radius: 10px;
}
.dd-stat dt {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-muted);
  font-weight: 600;
}
.dd-stat dd {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

/* Q2 — Key-value rows */
.dd-kv {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: .75rem 1.25rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--color-divider);
  align-items: baseline;
}
.dd-kv:last-of-type { border-bottom: 0; }
.dd-k {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-muted);
  font-weight: 600;
}
.dd-v { color: var(--color-text); }

/* Q3 — Fees */
.dd-fee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .75rem;
}
.dd-fee {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .9rem 1rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  border-radius: 10px;
}
.dd-fee-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-muted);
  font-weight: 600;
}
.dd-fee-val {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}
.dd-fee--bank {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}
.dd-fee--bank .dd-fee-label { color: var(--color-primary); }
.dd-fee--bank .dd-fee-val   { color: var(--color-primary-hover); }

/* Q4 — Jurisdictions */
.dd-jur-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.dd-jur {
  padding: 1rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--color-divider);
  background: var(--color-surface-2);
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.dd-jur-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}
.dd-jur-text {
  font-size: .9rem;
  color: var(--color-text);
  line-height: 1.4;
}
.dd-jur--ok      { background: var(--color-success-bg); border-color: var(--color-success); }
.dd-jur--ok .dd-jur-label { color: var(--color-success); }
.dd-jur--review  { background: var(--color-warning-bg); border-color: var(--color-warning); }
.dd-jur--review .dd-jur-label { color: var(--color-warning); }
.dd-jur--blocked { background: var(--color-error-bg); border-color: var(--color-error); }
.dd-jur--blocked .dd-jur-label { color: var(--color-error); }

/* Q5 — Reporting */
.dd-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.dd-report { display: flex; flex-direction: column; gap: .65rem; }
.dd-report-head {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-text-muted);
  font-weight: 700;
}
.dd-report-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.dd-report-list li {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .65rem .85rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  border-radius: 8px;
}
.dd-report-list li > span {
  font-size: .92rem;
  font-weight: 600;
  color: var(--color-text);
}
.dd-report-list li > em {
  font-style: normal;
  font-size: .8rem;
  color: var(--color-text-muted);
}

/* Q4 — Jurisdiction lists inside cards */
.dd-jur-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .9rem;
  color: var(--color-text);
  line-height: 1.5;
}
.dd-jur-list li { padding: .1rem 0; }

/* Q6 — Method tags */
.dd-method-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.dd-method-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--color-divider);
}
.dd-method-list li:last-child { border-bottom: 0; }
.dd-method-text { color: var(--color-text); font-size: .92rem; line-height: 1.5; flex: 1; min-width: 0; }
.dd-method-tag {
  display: inline-flex;
  align-items: center;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Q7 — Flow */
.dd-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  counter-reset: ddflow;
}
.dd-flow > li {
  counter-increment: ddflow;
  position: relative;
  padding: 1rem 1.1rem 1.1rem 3.25rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  border-radius: 10px;
  min-height: 100%;
}
.dd-flow > li::before {
  content: counter(ddflow, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
/* Hide the manual number — the ::before counter already shows it */
.dd-flow-step { display: none; }
.dd-flow-title {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-text);
  margin-bottom: .25rem;
}
.dd-flow-body {
  display: block;
  font-size: .88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Notes & placeholders */
.dd-note {
  font-style: italic;
  color: var(--color-text-muted);
  font-size: .88rem;
  line-height: 1.5;
  margin: 0;
}
[data-placeholder] {
  color: var(--color-text-faint);
  font-style: italic;
  border-bottom: 1px dashed var(--color-text-faint);
  padding-bottom: 1px;
}
.dd-stat dd[data-placeholder],
.dd-fee-val[data-placeholder] {
  border-bottom: 0;
  font-weight: 500;
}

/* Footer CTA strip */
.dd-foot {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.dd-foot p { margin: 0; color: var(--color-text-muted); max-width: 48rem; }
.dd-foot .btn { flex-shrink: 0; }

/* Responsive */
@media (max-width: 900px) {
  .dd-grid { grid-template-columns: 1fr; }
  .dd-card--featured, .dd-card--wide { grid-column: auto; }
  .dd-report-grid,
  .dd-jur-row { grid-template-columns: 1fr; }
  .dd-kv { grid-template-columns: 1fr; gap: .15rem; }
  .dd-num { font-size: 2.2rem; }
  .dd-card { padding: 1.4rem 1.25rem; }
}

/* Dark mode parity */
[data-theme="dark"] .dd-stat,
[data-theme="dark"] .dd-fee,
[data-theme="dark"] .dd-report-list li,
[data-theme="dark"] .dd-jur,
[data-theme="dark"] .dd-flow > li {
  background: var(--color-surface-2);
  border-color: var(--color-border);
}
[data-theme="dark"] .dd-card--featured {
  background: linear-gradient(180deg, rgba(79,152,163,.10) 0%, var(--color-surface) 55%);
}
[data-theme="dark"] .dd-fee--bank {
  background: rgba(79,152,163,.14);
  border-color: var(--color-primary);
}
[data-theme="dark"] .dd-jur--ok      { background: rgba(67,122,34,.14); }
[data-theme="dark"] .dd-jur--review  { background: rgba(150,66,25,.16); }
[data-theme="dark"] .dd-jur--blocked { background: rgba(161,44,75,.16); }
[data-theme="dark"] .dd-method-tag {
  background: rgba(79,152,163,.16);
  color: var(--color-primary);
}

/* ==================================================================
   Morgan Stanley co-branding (header + hero badge + footer)
   ================================================================== */

/* ----- Header co-brand lockup ----- */
.logo--cobrand {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo-x {
  font-size: .82rem;
  color: var(--color-text-faint);
  font-weight: 400;
  letter-spacing: .02em;
  padding: 0 .05rem;
  user-select: none;
}
.site-logo--partner {
  height: 16px;
  width: auto;
  object-fit: contain;
  display: block;
  /* let the logo keep its native red/grey colours in light mode */
}
/* On dark mode, lighten the gray "Private Banking" subtly so it stays readable */
[data-theme="dark"] .site-logo--partner {
  filter: brightness(1.08);
}

/* ----- Hero badge with logo lockup ----- */
.hero-badge--partner {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding-right: .75rem;
}
.hero-badge--partner > span {
  /* keep existing uppercase styling from .hero-badge */
}
.hero-badge-logo {
  height: 14px;
  width: auto;
  object-fit: contain;
  display: block;
  position: relative;
  top: 1px;
}
[data-theme="dark"] .hero-badge-logo {
  filter: brightness(1.08);
}

/* ----- Footer co-brand lockup ----- */
.footer-logo--cobrand {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
}
.footer-logo-mark {
  display: inline-flex;
  align-items: center;
}
.footer-logo-x {
  font-size: .8rem;
  color: var(--color-text-faint);
  padding: 0 .05rem;
  user-select: none;
}
.footer-logo-partner {
  height: 14px;
  width: auto;
  object-fit: contain;
  display: block;
}
[data-theme="dark"] .footer-logo-partner {
  filter: brightness(1.08);
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .logo--cobrand { gap: .45rem; }
  .site-logo--partner { height: 14px; }
  .logo-x { font-size: .72rem; }
  .hero-badge--partner {
    /* allow wrap on small screens */
    flex-wrap: wrap;
    gap: .35rem;
    align-items: center;
    line-height: 1.4;
  }
  .hero-badge-logo { height: 12px; }
}

/* Header tightening to accommodate co-branded lockup on one line */
.header-inner { gap: 1.25rem; }
.main-nav { gap: 1.25rem; white-space: nowrap; }
@media (max-width: 1100px) {
  .main-nav { gap: 1rem; font-size: .88rem; }
}
@media (max-width: 980px) {
  .site-logo--partner { display: none; }
  .logo-x { display: none; }
}

/* ---- FAQ toggle (DD pack) — anthropic-spv style ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: 2rem 0 2.5rem;
}
.faq-item {
  border: 1px solid #d6d0c4;
  border-radius: 10px;
  background: #fafaf7;
  overflow: hidden;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.faq-item[open] {
  border-color: rgba(185, 56, 56, .45);
  box-shadow: 0 0 0 3px rgba(185, 56, 56, .08);
}
.faq-summary {
  cursor: pointer;
  list-style: none;
  padding: .95rem 1.1rem;
  font-size: .95rem;
  font-weight: 600;
  color: #181714;
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  line-height: 1.4;
  position: relative;
  font-family: var(--font-sans, "Inter", system-ui, sans-serif);
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::marker { display: none; content: ""; }
.faq-item:hover:not([open]) .faq-summary {
  background: rgba(237, 235, 229, .5);
}
.faq-num {
  font-family: var(--font-serif, Georgia, serif);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 400;
  color: #b93838;
  line-height: 1.35;
  min-width: 1.6rem;
  flex-shrink: 0;
}
.faq-q {
  flex: 1;
  font-family: var(--font-sans, "Inter", system-ui, sans-serif);
}
.faq-chev {
  margin-left: auto;
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: rgba(237, 235, 229, .6);
  color: #6e6b65;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
  transition: background .12s ease, color .12s ease;
}
.faq-item[open] .faq-chev {
  background: rgba(185, 56, 56, .15);
  color: #b93838;
}
.faq-item[open] .faq-chev::before {
  content: "−";
}
.faq-item:not([open]) .faq-chev::before {
  content: "+";
}
.faq-answer {
  padding: 0 1.1rem 1.1rem calc(1.6rem + .8rem + 1.1rem);
  font-size: .93rem;
  line-height: 1.65;
  color: #181714;
  font-family: var(--font-sans, "Inter", system-ui, sans-serif);
}
.faq-answer p { margin: 0 0 .7rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul {
  margin: .4rem 0 .8rem;
  padding-left: 1.15rem;
}
.faq-answer li { margin-bottom: .3rem; }
.faq-answer strong { color: #181714; font-weight: 600; }
.faq-memo-list {
  list-style: none !important;
  padding: 0 !important;
  margin: .8rem 0 1.1rem !important;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.faq-memo-list li {
  padding: .65rem .85rem;
  background: #faf7f0;
  border: 1px solid #e8e0cf;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin: 0 !important;
}
.faq-memo-list li::before { display: none !important; content: none !important; }
.faq-memo-list li::marker { display: none !important; content: "" !important; }
.faq-memo-list a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(1, 105, 111, 0.3);
  transition: border-color 0.15s ease;
}
.faq-memo-list a:hover {
  border-bottom-color: var(--color-primary);
  text-decoration: none;
}
.faq-memo-tag {
  font-size: .82rem;
  color: #6e6b65;
  font-style: italic;
}
.faq-cta {
  margin: .9rem 0 !important;
  padding: .7rem 1rem;
  background: var(--color-primary-light);
  border-left: 3px solid var(--color-primary);
  border-radius: 6px;
  font-size: .95rem;
}
.faq-cta a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(1, 105, 111, 0.3);
  transition: border-color 0.15s ease;
}
.faq-cta a:hover {
  border-bottom-color: var(--color-primary);
  text-decoration: none;
}
.faq-note {
  font-style: italic;
  color: #6e6b65;
  border-top: 1px dashed #d6d0c4;
  padding-top: .8rem;
  margin-top: .9rem !important;
  font-size: .88rem;
}
@media (max-width: 700px) {
  .faq-summary { padding: .8rem .95rem; gap: .6rem; font-size: .9rem; }
  .faq-num { font-size: .95rem; min-width: 1.4rem; }
  .faq-answer { padding: 0 .95rem 1rem .95rem; font-size: .9rem; }
  .faq-chev { width: 1.25rem; height: 1.25rem; font-size: .95rem; }
}

/* Dark mode support */
[data-theme="dark"] .faq-item {
  background: #1a1a1a;
  border-color: #2f2f2f;
}
[data-theme="dark"] .faq-item[open] {
  border-color: rgba(255, 120, 120, .45);
  box-shadow: 0 0 0 3px rgba(255, 120, 120, .08);
}
[data-theme="dark"] .faq-summary { color: #f0efeb; }
[data-theme="dark"] .faq-item:hover:not([open]) .faq-summary { background: rgba(255,255,255,.03); }
[data-theme="dark"] .faq-chev { background: rgba(255,255,255,.06); color: #999; }
[data-theme="dark"] .faq-item[open] .faq-chev { background: rgba(255,120,120,.15); color: #ff8a8a; }
[data-theme="dark"] .faq-num { color: #ff8a8a; }
[data-theme="dark"] .faq-answer { color: #d9d7d0; }
[data-theme="dark"] .faq-answer strong { color: #fff; }
[data-theme="dark"] .faq-note { color: #999; border-color: #2f2f2f; }

/* Deal grid 5 (open positions) — 3 col desktop, 2 tablet, 1 mobile */
@media (max-width: 900px) {
  .deal-grid5 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .deal-grid5 { grid-template-columns: 1fr !important; }
}
.deal-grid5 .deal-card { padding: 20px; }
.deal-grid5 .deal-card .company-name { font-size: 16px; }
.deal-grid5 .deal-list li { font-size: 13px; padding: 8px 0; }


/* Minimal footer (v6): white background, no border, small logo like header */
.site-footer--minimal{
  background:#ffffff !important;
  border:0 !important;
  box-shadow:none !important;
  padding:28px 0 40px !important;
  margin:0 !important;
}
.site-footer--minimal .footer-inner{
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:0;
  text-align:center;
}
.site-footer--minimal .footer-logo{
  height:22px !important;
  width:auto !important;
  max-width:120px;
  display:block;
  object-fit:contain;
  opacity:.95;
  margin:0;
  padding:0;
  border:0;
  background:none;
}
/* Kill previous section's bottom border to merge with footer */
.section.alt{ border-bottom:0 !important; }
[data-theme="dark"] .site-footer--minimal{
  background:#ffffff !important;
  border:0 !important;
}

/* Co-investors section */
.coinvestors{
  padding:40px 0 60px;
}
.coinvestors-label{
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted-2, #8a8a8a);
  margin:0 0 16px;
  font-weight:600;
}
.coinvestors-grid{
  display:grid;
  grid-template-columns:repeat(8, minmax(0,1fr));
  gap:12px;
}
.coinvestor-card{
  background:#ffffff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:10px;
  padding:16px 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:72px;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.coinvestor-card:hover{
  border-color:rgba(1,105,111,.35);
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(0,0,0,.06);
}
.coinvestor-card .wordmark{
  font-weight:700;
  font-size:.95rem;
  letter-spacing:-.01em;
  color:#111;
  line-height:1;
  text-align:center;
  font-family:"Inter", ui-sans-serif, system-ui, sans-serif;
}
.coinvestor-card .wordmark--serif{
  font-family:"Fraunces","Playfair Display", Georgia, serif;
  font-weight:600;
  font-style:italic;
}
.coinvestor-card .wordmark--mono{
  font-family:"JetBrains Mono", ui-monospace, monospace;
  font-weight:600;
  font-size:.85rem;
  letter-spacing:.02em;
}
[data-theme="dark"] .coinvestor-card{
  background:rgba(255,255,255,.03);
  border-color:rgba(255,255,255,.08);
}
[data-theme="dark"] .coinvestor-card .wordmark{ color:#eee; }
@media(max-width:900px){
  .coinvestors-grid{ grid-template-columns:repeat(4, minmax(0,1fr)); }
}
@media(max-width:520px){
  .coinvestors-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}

/* ── HERO META ENHANCED (v5) ─────────────────────────────── */
.hero-meta {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
  flex-wrap: wrap;
  row-gap: 8px;
}
.hero-meta .hm-primary { color: var(--color-text); font-weight: 600; }
.hero-meta .hm-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text);
  font-weight: 600;
}
.hero-meta .hm-loc--live::after { content: none; }
.hero-meta .flag {
  font-size: 15px;
  line-height: 1;
  filter: saturate(1.05);
}
.hero-meta--soon {
  margin-top: 8px;
  font-size: 12px;
  gap: 14px;
}
.hero-meta--soon .hm-soon-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.hero-meta--soon .hm-loc {
  color: var(--color-text-muted);
  font-weight: 500;
  opacity: 0.85;
}

/* ── VC CARDS style Upscalers app (v5) ────────────────────── */
.vc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.vc-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.vc-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15,23,42,0.06);
}
.vc-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: contain;
  padding: 6px;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.08);
  box-sizing: border-box;
}
/* Lightspeed logo already has its own orange background; remove inner padding/border */
.vc-card img[src*="lightspeed"].vc-logo {
  padding: 0;
  border: 0;
  background: transparent;
  object-fit: cover;
}
.vc-info { display: flex; flex-direction: column; min-width: 0; }
.vc-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vc-city {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.3;
  margin-top: 2px;
}
.coinvestors-note {
  margin-top: 18px;
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.5;
  letter-spacing: 0.01em;
}
@media (max-width: 960px) {
  .vc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .vc-grid { grid-template-columns: 1fr; }
}

/* ============================================
   MOBILE V9 - Responsive fixes
   ============================================ */

/* 1. STATS 4 cards → 2x2 sur mobile, 1 col sur très petit */
@media (max-width: 780px) {
  .pf-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .pf-stat {
    padding: 16px !important;
  }
  .pf-stat-v {
    font-size: 26px !important;
  }
  .pf-stat-l {
    font-size: 13px !important;
  }
  .pf-stat-l span {
    font-size: 11px !important;
  }
}
@media (max-width: 380px) {
  .pf-stats {
    grid-template-columns: 1fr !important;
  }
}

/* 2. TABLEAU portfolio → scroll horizontal propre sur mobile
      + fade indicator à droite */
@media (max-width: 900px) {
  .pf-table-wrap {
    position: relative;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .pf-table {
    min-width: 780px;
  }
  .pf-table-wrap::-webkit-scrollbar {
    height: 6px;
  }
  .pf-table-wrap::-webkit-scrollbar-thumb {
    background: rgba(15,23,42,0.15);
    border-radius: 3px;
  }
}
/* Petit hint visuel sous le tableau sur mobile */
.pf-table-scroll-hint {
  display: none;
}
@media (max-width: 900px) {
  .pf-table-scroll-hint {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: var(--color-text-muted);
    font-style: italic;
    text-align: right;
  }
}

/* 3. CO-INVESTORS VC → carousel horizontal scroll snap sur mobile
      style Lovable app */
@media (max-width: 720px) {
  .vc-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 12px !important;
    padding: 4px 20px 12px;
    margin: 0 -20px;
    scrollbar-width: none;
  }
  .vc-grid::-webkit-scrollbar {
    display: none;
  }
  .vc-card {
    flex: 0 0 78%;
    max-width: 78%;
    scroll-snap-align: start;
    padding: 14px !important;
  }
  .vc-logo {
    width: 52px !important;
    height: 52px !important;
    flex-shrink: 0;
  }
  .vc-name {
    font-size: 15px;
  }
  .vc-city {
    font-size: 12px;
  }
}

/* ============================================
   FAQ v2 additions - Jul 21 : subtitle, bullets, docs
   ============================================ */
.faq-subtitle {
  margin: 32px 0 16px;
  padding: 14px 20px;
  border-left: 3px solid var(--color-accent, #01696F);
  background: rgba(1,105,111,0.04);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.01em;
  border-radius: 4px;
}
.faq-list-bullets {
  margin: 0 0 0.9rem 0;
  padding-left: 1.15rem;
  list-style: disc;
}
.faq-list-bullets li {
  margin: 0.25rem 0;
  color: var(--color-text);
  line-height: 1.55;
}
.faq-list-bullets li strong {
  color: var(--color-text);
}
.faq-docs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--color-divider);
}
.faq-doc-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--color-divider);
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-text);
  transition: all .15s ease;
}
.faq-doc-link:hover {
  border-color: var(--color-accent, #01696F);
  box-shadow: 0 2px 8px rgba(1,105,111,0.08);
  transform: translateY(-1px);
}
.faq-doc-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(1,105,111,0.08);
  color: var(--color-accent, #01696F);
  font-size: 16px;
  font-weight: 700;
}
.faq-doc-label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 600;
  gap: 2px;
}
.faq-doc-meta {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
}
