/*
 * FemiX Investors — premium, investor-specific presentation layer.
 * The shared framework retains the approved copy, form handling, analytics,
 * and accessibility behavior; this file changes only the Investors route.
 */

.fmxp-page--investors {
  --fmxp-purple: #582ab6;
  --fmxp-purple-hover: #46208f;
  --fmxp-lime: #cbf558;
  --fmxp-lime-hover: #b7e642;
  --fmxp-plum: #1e123b;
  --fmxp-ink: #261f1c;
  --fmxp-body: #4b4654;
  --fmxp-muted: #716b7a;
  --fmxp-lavender: #f4f0ff;
  --fmxp-pale: #d6c6fb;
  --fmxp-cloud: #f8f7fa;
  --fmxp-border: #dddde4;
  --fmxp-shadow-sm: 0 18px 52px rgba(30, 18, 59, .08);
  --fmxp-shadow-lg: 0 32px 86px rgba(30, 18, 59, .2);
  color: var(--fmxp-ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

.fmxp-page--investors h1,
.fmxp-page--investors h2,
.fmxp-page--investors h3,
.fmxp-page--investors strong,
.fmxp-page--investors button,
.fmxp-page--investors .fmxp-button,
.fmxp-page--investors .fmxp-eyebrow,
.fmxp-page--investors summary {
  font-family: "Manrope", Arial, sans-serif;
}

.fmxp-page--investors h1 {
  font-size: clamp(3rem, 5vw, 4.25rem) !important;
  font-weight: 800;
  letter-spacing: -.055em !important;
  line-height: 1.02 !important;
}

.fmxp-page--investors h2 {
  font-size: clamp(2.25rem, 3.6vw, 3rem) !important;
  font-weight: 800;
  letter-spacing: -.04em !important;
  line-height: 1.08 !important;
}

.fmxp-page--investors h3 {
  font-weight: 700;
  letter-spacing: -.025em;
}

.fmxp-page--investors .fmxp-shell {
  max-width: 1264px;
  padding-inline: 32px;
  width: 100%;
}

.fmxp-page--investors .fmxp-section {
  padding-block: clamp(88px, 9vw, 132px);
}

.fmxp-page--investors .fmxp-section--lavender { background: var(--fmxp-lavender); }
.fmxp-page--investors .fmxp-section--white { background: #fff; }
.fmxp-page--investors .fmxp-section--purple { background: var(--fmxp-purple); }
.fmxp-page--investors .fmxp-section--plum { background: var(--fmxp-plum); }

.fmxp-page--investors .fmxp-heading,
.fmxp-page--investors .fmxp-heading--center {
  margin: 0 0 clamp(48px, 6vw, 72px);
  max-width: 940px;
  text-align: left;
}

.fmxp-page--investors .fmxp-intro {
  font-size: clamp(18px, 1.45vw, 20px);
  line-height: 1.7;
  max-width: 810px;
}

.fmxp-page--investors .fmxp-eyebrow {
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .13em !important;
}

/* Announcement and primary navigation */
.fmxp-page--investors .fmxp-announcement .fmxp-shell {
  font-size: 15px;
  font-weight: 700;
}

@keyframes fmxpi-lime-pulse {
  0%, 100% { color: #fff; }
  50% { color: var(--fmxp-lime); }
}

.fmxp-page--investors .fmxp-announcement .fmxp-shell > span,
.fmxp-page--investors .fmxp-announcement .fmxp-shell > a {
  animation: fmxpi-lime-pulse 2.4s ease-in-out infinite;
  color: #fff;
}

.fmxp-page--investors .fmxp-nav {
  height: 76px;
  z-index: 900;
}

.admin-bar .fmxp-page--investors .fmxp-nav { top: 32px; }

.fmxp-page--investors .fmxp-nav__inner {
  display: grid;
  gap: 28px;
  grid-template-columns: auto 1fr auto;
}

.fmxp-page--investors .fmxp-nav__links { gap: clamp(13px, 1.35vw, 22px); }

.fmxp-page--investors .fmxp-nav__links a {
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.fmxp-page--investors .fmxp-nav .fmxp-button--nav {
  background: var(--fmxp-lime);
  border-color: var(--fmxp-lime);
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(88, 42, 182, .14);
  color: var(--fmxp-ink) !important;
  font-family: "Inter", Arial, sans-serif;
  min-height: 44px;
  padding: 10px 20px;
}

.fmxp-page--investors .fmxp-nav .fmxp-button--nav:hover {
  background: var(--fmxp-lime-hover);
  border-color: var(--fmxp-lime-hover);
}

/* Editorial hero */
.fmxp-page--investors .fmxp-hero {
  background:
    radial-gradient(circle at 8% 8%, rgba(214, 198, 251, .18), transparent 32%),
    linear-gradient(135deg, #1e123b 0%, #281448 52%, #3a1c70 100%);
  isolation: isolate;
  padding-block: clamp(72px, 7vw, 104px);
}

.fmxp-page--investors .fmxp-hero::before {
  border: 0;
  border-radius: 0;
  inset: 0;
  height: 100%;
  width: 100%;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, black, transparent 62%);
  pointer-events: none;
}

.fmxp-page--investors .fmxp-hero__grid {
  align-items: center;
  gap: clamp(50px, 6vw, 88px);
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr);
  min-height: 650px;
}

.fmxp-page--investors .fmxp-hero__copy {
  padding: 0;
  position: relative;
  z-index: 1;
}

.fmxp-page--investors .fmxp-hero h1 span { color: var(--fmxp-lime); }

.fmxp-page--investors .fmxp-hero__lead {
  color: #fff !important;
  font-size: clamp(19px, 1.55vw, 21px);
  line-height: 1.65;
  max-width: 690px;
}

.fmxp-page--investors .fmxp-hero__note {
  align-items: center;
  color: var(--fmxp-pale) !important;
  display: flex;
  font-size: 13px;
  gap: 10px;
  margin-top: 24px;
}

.fmxp-page--investors .fmxp-hero__note::before {
  background: var(--fmxp-lime);
  border-radius: 50%;
  content: "";
  flex: 0 0 7px;
  height: 7px;
  width: 7px;
}

.fmxp-page--investors .fmxp-hero__media {
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 24px;
  box-shadow: var(--fmxp-shadow-lg);
  min-height: 0;
  overflow: hidden;
}

.fmxp-page--investors .fmxp-hero__media img {
  object-position: 54% center;
  transform: scale(1.015);
}

.fmxp-page--investors .fmxp-hero__media::after {
  background: linear-gradient(180deg, transparent 52%, rgba(15, 8, 29, .78) 100%);
}

.fmxp-page--investors .fmxp-hero__media > span {
  border-color: var(--fmxp-lime);
  border-width: 28px;
  bottom: -62px;
  opacity: .94;
  right: -62px;
}

.fmxp-page--investors .fmxp-hero__media figcaption {
  bottom: 22px;
  color: #fff;
  font-size: 12px;
  left: 24px;
  letter-spacing: .02em;
  position: absolute;
  z-index: 2;
}

.fmxp-page--investors .fmxp-button {
  border-radius: 10px;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 700;
}

.fmxp-page--investors .fmxp-hero .fmxp-button--primary,
.fmxp-page--investors .fmxp-section--plum .fmxp-button--primary {
  color: var(--fmxp-ink) !important;
}

/* Compact wayfinding and trust principles */
.fmxp-investor-index {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--fmxp-border);
  position: relative;
  z-index: 20;
}

.fmxp-investor-index .fmxp-shell {
  align-items: center;
  display: flex;
  gap: clamp(20px, 3vw, 42px);
  min-height: 68px;
  overflow-x: auto;
  scrollbar-width: none;
}

.fmxp-investor-index .fmxp-shell::-webkit-scrollbar { display: none; }

.fmxp-investor-index a {
  align-items: center;
  color: var(--fmxp-body);
  display: inline-flex;
  flex: 0 0 auto;
  font: 600 13px/1.2 "Inter", Arial, sans-serif;
  min-height: 44px;
  position: relative;
  text-decoration: none;
}

.fmxp-investor-index a::after {
  background: var(--fmxp-purple);
  bottom: 4px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
  width: 100%;
}

.fmxp-investor-index a:hover { color: var(--fmxp-purple); }
.fmxp-investor-index a:hover::after { transform: scaleX(1); }

.fmxp-investor-principles { background: #fff; padding-block: clamp(40px, 5vw, 64px); }

.fmxp-investor-principles .fmxp-shell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fmxp-investor-principles article {
  align-items: flex-start;
  display: grid;
  gap: 18px;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 132px;
  padding: 20px clamp(22px, 3vw, 40px);
}

.fmxp-investor-principles article + article { border-left: 1px solid var(--fmxp-border); }

.fmxp-investor-principles article > span {
  color: var(--fmxp-purple);
  font: 800 14px/1 "Manrope", Arial, sans-serif;
  padding-top: 5px;
}

.fmxp-investor-principles strong {
  color: var(--fmxp-ink);
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.fmxp-investor-principles p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

/* Founder thesis */
.fmxp-page--investors #thesis { background: var(--fmxp-cloud); }

.fmxp-page--investors #thesis .fmxp-card-grid {
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fmxp-page--investors #thesis .fmxp-card {
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: var(--fmxp-shadow-sm);
  min-height: 310px;
  padding: 38px;
  position: relative;
}

.fmxp-page--investors #thesis .fmxp-card::before {
  color: var(--fmxp-pale);
  content: "01";
  font: 800 52px/1 "Manrope", Arial, sans-serif;
  position: absolute;
  right: 28px;
  top: 28px;
}

.fmxp-page--investors #thesis .fmxp-card:nth-child(2)::before { content: "02"; }
.fmxp-page--investors #thesis .fmxp-card:nth-child(3)::before { content: "03"; }

.fmxp-page--investors #thesis .fmxp-card .fmxp-icon {
  color: var(--fmxp-purple);
  height: 48px;
  margin-bottom: 62px;
  width: 48px;
}

.fmxp-page--investors #thesis .fmxp-card h3 { font-size: 23px !important; }
.fmxp-page--investors #thesis .fmxp-card p { font-size: 16px; }

/* Selection process */
.fmxp-page--investors #selection {
  background: linear-gradient(180deg, var(--fmxp-lavender), #ece4ff);
}

.fmxp-page--investors #selection .fmxp-process {
  counter-reset: selection-step;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
}

.fmxp-page--investors #selection .fmxp-process li {
  background: transparent;
  border: 0;
  border-radius: 0;
  min-height: 220px;
  padding: 34px 36px;
  position: relative;
}

.fmxp-page--investors #selection .fmxp-process li:nth-child(-n+3) { border-bottom: 1px solid rgba(88,42,182,.2); }
.fmxp-page--investors #selection .fmxp-process li:not(:nth-child(3n+1)) { border-left: 1px solid rgba(88,42,182,.2); }

.fmxp-page--investors #selection .fmxp-process li > span {
  background: var(--fmxp-purple);
  color: #fff;
}

.fmxp-page--investors #selection .fmxp-process h3 { font-size: 20px !important; }
.fmxp-page--investors #selection .fmxp-process p { font-size: 15px; line-height: 1.65; }

/* Readiness */
.fmxp-page--investors #readiness .fmxp-readiness {
  align-items: stretch;
  gap: clamp(56px, 8vw, 108px);
  grid-template-columns: 1.1fr .9fr;
}

.fmxp-page--investors #readiness .fmxp-readiness__list article {
  align-items: flex-start;
  padding: 22px 0;
}

.fmxp-page--investors #readiness .fmxp-readiness__list article > span {
  background: var(--fmxp-lavender);
  color: var(--fmxp-purple);
  height: 42px;
  width: 42px;
}

.fmxp-page--investors #readiness .fmxp-readiness__list h3 {
  font-size: 19px !important;
  margin-bottom: 7px;
}

.fmxp-page--investors #readiness .fmxp-readiness__list p { font-size: 15px; }

.fmxp-page--investors #readiness .fmxp-before-after {
  align-self: stretch;
  background:
    radial-gradient(circle at 85% 14%, rgba(203,245,88,.14), transparent 28%),
    var(--fmxp-plum);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 58px);
}

.fmxp-page--investors #readiness .fmxp-before-after > span {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: .1em;
}

.fmxp-page--investors #readiness .fmxp-before-after p {
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(23px, 2.4vw, 31px);
  font-weight: 700;
  line-height: 1.25;
}

/* Engagement bento */
.fmxp-page--investors #engage {
  background:
    radial-gradient(circle at 92% 8%, rgba(203,245,88,.13), transparent 26%),
    var(--fmxp-purple);
}

.fmxp-page--investors #engage .fmxp-heading { max-width: 820px; }

.fmxp-page--investors #engage .fmxp-card-grid {
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fmxp-page--investors #engage .fmxp-card {
  background: rgba(255,255,255,.085);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  min-height: 260px;
  padding: 32px;
  transition: background-color .22s ease, transform .22s ease;
}

.fmxp-page--investors #engage .fmxp-card:hover {
  background: rgba(255,255,255,.13);
  transform: translateY(-4px);
}

.fmxp-page--investors #engage .fmxp-card .fmxp-icon {
  color: var(--fmxp-lime);
  height: 42px;
  margin-bottom: 40px;
  width: 42px;
}

.fmxp-page--investors #engage .fmxp-card h3 { font-size: 20px !important; }
.fmxp-page--investors #engage .fmxp-card p { color: var(--fmxp-lavender); }

.fmxp-page--investors #engage .fmxp-actions .fmxp-button {
  background: var(--fmxp-lime);
  border-color: var(--fmxp-lime);
  color: var(--fmxp-ink) !important;
}

/* Consent-led access flow */
.fmxp-page--investors #cohort-access .fmxp-flow {
  background: #fff;
  border: 1px solid rgba(88,42,182,.14);
  border-radius: 22px;
  box-shadow: var(--fmxp-shadow-sm);
  overflow: hidden;
  padding: 14px;
}

.fmxp-page--investors #cohort-access .fmxp-flow li { min-height: 170px; }

.fmxp-page--investors #cohort-access .fmxp-flow span {
  background: var(--fmxp-purple);
  color: #fff;
}

.fmxp-page--investors #cohort-access .fmxp-checklist--columns {
  background: rgba(255,255,255,.55);
  border-radius: 18px;
  margin-top: 40px;
  max-width: none;
  padding: 22px 34px;
}

/* Expectations */
.fmxp-page--investors #expectations .fmxp-split {
  align-items: stretch;
  gap: clamp(54px, 8vw, 106px);
  grid-template-columns: 1.12fr .88fr;
}

.fmxp-page--investors #expectations .fmxp-checklist li {
  font-weight: 600;
  min-height: 62px;
  padding: 17px 0;
}

.fmxp-page--investors #expectations .fmxp-note-card {
  background: var(--fmxp-plum);
  border: 0;
  border-radius: 22px;
  color: #fff;
  padding: clamp(38px, 5vw, 58px);
}

.fmxp-page--investors #expectations .fmxp-note-card > span {
  background: var(--fmxp-lime);
  color: var(--fmxp-ink);
}

.fmxp-page--investors #expectations .fmxp-note-card h3 { color: #fff; }
.fmxp-page--investors #expectations .fmxp-note-card p { color: var(--fmxp-pale); }

/* Conversion form */
.fmxp-page--investors #investor-interest {
  background:
    radial-gradient(circle at 8% 88%, rgba(203,245,88,.1), transparent 27%),
    var(--fmxp-plum);
}

.fmxp-page--investors #investor-interest .fmxp-shell {
  width: min(1280px, calc(100% - 48px));
}

.fmxp-page--investors #investor-interest .fmxp-heading {
  width: min(100%, 1060px);
  max-width: 1060px;
  margin-inline: auto;
  text-align: left;
}

.fmxp-page--investors #investor-interest .fmxp-heading .fmxp-intro {
  max-width: 100%;
  text-align: left;
}

.fmxp-page--investors #investor-interest .fmxp-disclosure {
  max-width: none;
  margin: clamp(28px, 3vw, 44px) 0 0;
  text-align: left;
}

.fmxp-page--investors #investor-interest .fmxp-form {
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 22px;
  box-shadow: 0 34px 90px rgba(8,4,18,.32);
  gap: 16px 18px;
  padding: clamp(28px, 4vw, 42px);
}

.fmxp-page--investors #investor-interest .fmxp-field input,
.fmxp-page--investors #investor-interest .fmxp-field select,
.fmxp-page--investors #investor-interest .fmxp-field textarea {
  border-radius: 9px;
}

.fmxp-page--investors #investor-interest .fmxp-field input:focus,
.fmxp-page--investors #investor-interest .fmxp-field select:focus,
.fmxp-page--investors #investor-interest .fmxp-field textarea:focus {
  border-color: var(--fmxp-purple);
  box-shadow: 0 0 0 3px rgba(88,42,182,.12);
}

.fmxp-page--investors #investor-interest .fmxp-button--primary {
  background: var(--fmxp-lime);
  border-color: var(--fmxp-lime);
  color: var(--fmxp-ink) !important;
}

/* Footer matches the Founders page weight and lockup. */
.fmxp-page--investors .fmxp-footer,
.fmxp-page--investors .fmxp-footer p,
.fmxp-page--investors .fmxp-footer h2,
.fmxp-page--investors .fmxp-footer a { font-weight: 700; }

.fmxp-page--investors .fmxp-footer {
  border-top: 1px solid var(--fmxp-border);
  padding-top: 84px;
}

.fmxp-page--investors .fmxp-footer__grid { grid-template-columns: 2fr 1fr 1fr; }

@media (max-width: 1120px) {
  .fmxp-page--investors .fmxp-nav__inner {
    display: flex;
    gap: 16px;
  }

  .fmxp-page--investors .fmxp-nav__toggle { order: 4; }
  .fmxp-page--investors .fmxp-nav__links { top: 68px; }
}

@media (max-width: 900px) {
  .fmxp-page--investors .fmxp-hero { padding-block: 64px 0; }

  .fmxp-page--investors .fmxp-hero__grid {
    gap: 52px;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .fmxp-page--investors .fmxp-hero__copy { padding: 0; }

  .fmxp-page--investors .fmxp-hero__media {
    aspect-ratio: 16 / 10;
    border-radius: 24px 24px 0 0;
  }

  .fmxp-investor-principles .fmxp-shell { grid-template-columns: 1fr; }

  .fmxp-investor-principles article {
    min-height: 0;
    padding: 24px 0;
  }

  .fmxp-investor-principles article + article {
    border-left: 0;
    border-top: 1px solid var(--fmxp-border);
  }

  .fmxp-page--investors #thesis .fmxp-card-grid,
  .fmxp-page--investors #engage .fmxp-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .fmxp-page--investors #selection .fmxp-process { grid-template-columns: repeat(2, 1fr); }
  .fmxp-page--investors #selection .fmxp-process li { border-bottom: 1px solid rgba(88,42,182,.2); }
  .fmxp-page--investors #selection .fmxp-process li:not(:nth-child(3n+1)) { border-left: 0; }
  .fmxp-page--investors #selection .fmxp-process li:nth-child(even) { border-left: 1px solid rgba(88,42,182,.2); }

  .fmxp-page--investors #readiness .fmxp-readiness,
  .fmxp-page--investors #expectations .fmxp-split,
  .fmxp-page--investors #investor-interest .fmxp-form-layout { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .fmxp-page--investors .fmxp-shell { padding-inline: 24px; }
  .fmxp-page--investors .fmxp-section { padding-block: 76px; }

  .fmxp-page--investors .fmxp-nav { height: 68px; }
  .fmxp-page--investors .fmxp-nav__inner { gap: 12px; }
  .fmxp-page--investors .fmxp-nav__links { left: 20px; right: 20px; top: 68px; }
  .fmxp-page--investors .fmxp-nav .fmxp-button--nav { font-size: 13px; padding: 9px 14px; width: auto; }

  .fmxp-page--investors .fmxp-hero h1 { font-size: clamp(40px, 11.5vw, 48px) !important; }
  .fmxp-page--investors .fmxp-hero__media { aspect-ratio: 4 / 3; }
  .fmxp-page--investors .fmxp-hero__media figcaption { bottom: 16px; left: 18px; }

  .fmxp-investor-index .fmxp-shell { padding-inline: 24px; }

  .fmxp-page--investors #thesis .fmxp-card-grid,
  .fmxp-page--investors #engage .fmxp-card-grid,
  .fmxp-page--investors #selection .fmxp-process { grid-template-columns: 1fr; }

  .fmxp-page--investors #selection .fmxp-process li,
  .fmxp-page--investors #selection .fmxp-process li:nth-child(even),
  .fmxp-page--investors #selection .fmxp-process li:not(:nth-child(3n+1)) {
    border-bottom: 1px solid rgba(88,42,182,.2);
    border-left: 0;
    min-height: 0;
    padding: 28px 0;
  }

  .fmxp-page--investors #selection .fmxp-process li:last-child { border-bottom: 0; }

  .fmxp-page--investors #thesis .fmxp-card,
  .fmxp-page--investors #engage .fmxp-card { min-height: 0; }

  .fmxp-page--investors #cohort-access .fmxp-checklist--columns { padding: 18px 22px; }

  .fmxp-page--investors #investor-interest .fmxp-form { padding: 24px 20px; }
}

@media (max-width: 640px) {
  .fmxp-page--investors .fmxp-shell { width: 100%; }
  .fmxp-page--investors #investor-interest .fmxp-shell { width: calc(100% - 36px); }
  .fmxp-page--investors .fmxp-nav .fmxp-button--nav { display: inline-flex; }
  .fmxp-page--investors .fmxp-hero { padding-top: 56px; }
  .fmxp-page--investors .fmxp-hero__media { margin-inline: -24px; width: calc(100% + 48px); }
  .fmxp-page--investors .fmxp-hero__media { border-radius: 20px 20px 0 0; }
  .fmxp-page--investors .fmxp-footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .fmxp-page--investors .fmxp-announcement .fmxp-shell > span,
  .fmxp-page--investors .fmxp-announcement .fmxp-shell > a {
    animation: none;
    color: var(--fmxp-lime);
  }

  .fmxp-page--investors #engage .fmxp-card:hover { transform: none; }
}
