/* Externalized from static_pages/investors.html (was inline <style>). */

.investor-page {
    --investor-gap: var(--space-8);
  }

  .investor-page .mkt-page {
    padding-top: 0;
  }

  .investor-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(min(420px, 100%), 1.08fr);
    gap: var(--space-10);
    align-items: center;
    padding: clamp(2.75rem, 5vw, 4.5rem) 0 clamp(3rem, 5vw, 4.5rem);
  }
  /* Content cells sit above the decorative mesh. Exclude the gradient itself:
     `.investor-hero > div` (0,1,1) would otherwise outrank
     `.investor-hero-gradient` (0,1,0) and override its `position: absolute`,
     dropping the mesh back into flow as a grid cell (empty top-left box that
     shoves the copy right and the product frame down a row). Regressed when the
     mesh changed from <canvas> to <div>. */
  .investor-hero > div:not(.investor-hero-gradient) { position: relative; z-index: 1; }
  .investor-hero-gradient {
    position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
    opacity: 0.2; pointer-events: none;
    -webkit-mask-image: radial-gradient(120% 130% at 92% 4%, #000 10%, transparent 60%);
            mask-image: radial-gradient(120% 130% at 92% 4%, #000 10%, transparent 60%);
  }
  [data-theme="dark"] .investor-hero-gradient { opacity: 0.38; }

  .investor-title {
    max-width: 680px;
    font-family: var(--font-family-heading);
    font-size: 46px;
    font-weight: 660;
    line-height: 1.04;
    letter-spacing: 0;
    color: var(--theme-text);
  }

  .investor-lede {
    max-width: 640px;
    margin-top: var(--space-5);
    font-size: 18px;
    line-height: 1.62;
    color: var(--theme-text-secondary);
  }

  .investor-proof-note {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-5);
  }

  .investor-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    background: var(--theme-card-bg);
    color: var(--theme-text-secondary);
    font-size: 12.5px;
    font-weight: 560;
    white-space: nowrap;
  }

  .investor-chip i {
    color: var(--brand-text);
    font-size: 11px;
  }

  .investor-product-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--theme-card-bg);
  }

  .investor-product-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-divider);
    color: var(--theme-text-secondary);
    font-size: 12.5px;
    font-weight: 600;
  }

  .investor-window-dots {
    display: inline-flex;
    gap: 6px;
    align-items: center;
  }

  .investor-window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--theme-text-tertiary);
    opacity: 0.55;
  }

  .investor-product-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--theme-bg-secondary);
  }

  .investor-product-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
  }

  .investor-product-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border-divider);
  }

  .investor-product-footer div {
    padding: 12px 14px;
    border-right: 1px solid var(--border-divider);
  }

  .investor-product-footer div:last-child {
    border-right: 0;
  }

  .investor-product-footer strong {
    display: block;
    margin-bottom: 3px;
    color: var(--theme-text);
    font-size: 13px;
    font-weight: 700;
  }

  .investor-product-footer span {
    display: block;
    color: var(--theme-text-tertiary);
    font-size: 12px;
    line-height: 1.4;
  }

  .investor-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-8);
  }

  .investor-proof-card,
  .investor-panel,
  .investor-metric-card {
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--theme-card-bg);
  }

  .investor-proof-card {
    min-height: 154px;
    padding: var(--space-5);
  }

  .investor-label {
    margin-bottom: var(--space-2);
    color: var(--theme-text-tertiary);
    font-family: var(--font-family-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .investor-value {
    color: var(--theme-text);
    font-family: var(--font-family-heading);
    font-size: 22px;
    font-weight: 680;
    line-height: 1.15;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
  }

  .investor-card-copy {
    margin-top: var(--space-3);
    color: var(--theme-text-secondary);
    font-size: 13.5px;
    line-height: 1.55;
  }

  .investor-section {
    margin-top: var(--space-14);
  }

  .investor-section-kicker {
    margin-bottom: var(--space-2);
    /* --brand-text, not --brand-primary: this is an 11px mono kicker, and
       --brand-primary measured 4.30:1 here — exactly the case
       design-variables.css defines --brand-text for. Five kickers on this page
       failed together. Theme-aware, so it stays correct in dark. */
    color: var(--brand-text);
    font-family: var(--font-family-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .investor-section-head {
    max-width: 760px;
    margin: 0;
    color: var(--theme-text);
    font-family: var(--font-family-heading);
    font-size: 30px;
    font-weight: 660;
    line-height: 1.18;
    letter-spacing: 0;
  }

  .investor-section-copy {
    max-width: 720px;
    margin-top: var(--space-4);
    color: var(--theme-text-secondary);
    font-size: 16px;
    line-height: 1.65;
  }

  .investor-two-col {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(min(360px, 100%), 1.05fr);
    gap: var(--space-8);
    align-items: start;
    margin-top: var(--space-7);
  }

  .investor-panel {
    padding: var(--space-6);
  }

  .investor-panel h3,
  .investor-metric-card h3 {
    margin: 0 0 var(--space-3);
    color: var(--theme-text);
    font-family: var(--font-family-heading);
    font-size: 17px;
    font-weight: 660;
    letter-spacing: 0;
  }

  .investor-panel p,
  .investor-metric-card p {
    margin: 0;
    color: var(--theme-text-secondary);
    font-size: 14px;
    line-height: 1.65;
  }

  .investor-list {
    display: grid;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .investor-list li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: var(--space-3);
    align-items: start;
  }

  .investor-list i {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--brand-text);
    background: color-mix(in srgb, var(--brand-primary) 7%, transparent);
    font-size: 12px;
  }

  .investor-list strong {
    display: block;
    color: var(--theme-text);
    font-size: 14px;
    font-weight: 660;
  }

  .investor-list span {
    display: block;
    margin-top: 2px;
    color: var(--theme-text-secondary);
    font-size: 13.5px;
    line-height: 1.5;
  }

  .investor-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-7);
  }

  .investor-metric-card {
    padding: var(--space-5);
  }

  .investor-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: var(--space-6);
    align-items: stretch;
    margin-top: var(--space-7);
  }

  .investor-showcase .investor-product-frame {
    height: 100%;
  }

  .investor-module-grid {
    display: grid;
    gap: var(--space-3);
  }

  .investor-module {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: var(--space-3);
    align-items: start;
    padding: var(--space-4);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--theme-card-bg);
  }

  .investor-module i {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--theme-bg-secondary);
    color: var(--brand-text);
    font-size: 13px;
  }

  .investor-module strong {
    display: block;
    color: var(--theme-text);
    font-size: 14px;
    font-weight: 660;
  }

  .investor-module span {
    display: block;
    margin-top: 3px;
    color: var(--theme-text-secondary);
    font-size: 13px;
    line-height: 1.45;
  }

  .investor-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-7);
  }

  .investor-timeline-item {
    padding: var(--space-5);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--theme-card-bg);
  }

  .investor-time {
    margin-bottom: var(--space-3);
    color: var(--brand-text);
    font-family: var(--font-family-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .investor-timeline-item strong {
    display: block;
    color: var(--theme-text);
    font-size: 14px;
    font-weight: 660;
  }

  .investor-timeline-item span {
    display: block;
    margin-top: var(--space-2);
    color: var(--theme-text-secondary);
    font-size: 13px;
    line-height: 1.5;
  }

  .investor-cta {
    margin-top: var(--space-14);
    padding: var(--space-8);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--brand-primary) 14%, transparent), transparent 42%),
      var(--theme-card-bg);
  }

  .investor-cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-8);
    align-items: center;
  }

  .investor-cta h2 {
    margin: 0;
    color: var(--theme-text);
    font-family: var(--font-family-heading);
    font-size: 28px;
    font-weight: 680;
    letter-spacing: 0;
  }

  .investor-cta p {
    max-width: 690px;
    margin: var(--space-3) 0 0;
    color: var(--theme-text-secondary);
    font-size: 15px;
    line-height: 1.62;
  }

  .investor-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--space-3);
  }

  .investor-legal-note {
    margin-top: var(--space-5);
    padding-top: var(--space-5);
    border-top: 1px solid var(--border-divider);
    color: var(--theme-text-tertiary);
    font-size: 12.5px;
    line-height: 1.55;
  }

  /* Related footer now uses the shared .related-links macro/CSS (marketing_v2.css). */

  @media (max-width: 1080px) {
    .investor-hero,
    .investor-two-col,
    .investor-showcase {
      grid-template-columns: 1fr;
    }

    .investor-hero {
      min-height: 0;
    }

    .investor-proof-grid,
    .investor-timeline {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 760px) {
    .investor-title {
      font-size: 34px;
      line-height: 1.1;
    }

    .investor-lede {
      font-size: 16px;
    }

    .investor-proof-grid,
    .investor-metric-grid,
    .investor-timeline,
    .investor-product-footer {
      grid-template-columns: 1fr;
    }

    .investor-product-footer div {
      border-right: 0;
      border-bottom: 1px solid var(--border-divider);
    }

    .investor-product-footer div:last-child {
      border-bottom: 0;
    }

    .investor-section-head {
      font-size: 24px;
    }

    .investor-cta {
      padding: var(--space-6);
    }

    .investor-cta-grid {
      grid-template-columns: 1fr;
    }

    .investor-cta-actions {
      justify-content: flex-start;
    }
  }
