/* =========================================================================
   MANY VC — site styles
   Self-contained, dependency-free (replaces Bootstrap 3 + jQuery).
   ========================================================================= */

:root {
  --navy-900: #0c1430;
  --navy-800: #101c41;
  --navy-700: #16244f;
  --brand:    #294995;   /* heritage MANY Capital blue */
  --brand-2:  #4f6fc0;
  --accent:     #b8c1d1;   /* muted silver — pairs with the navy */
  --paper:    #ffffff;
  --mist:     #f5f7fc;
  --line:     #e2e7f1;
  --ink:      #14213d;
  --muted:    #5b6a86;
  --on-dark:        #e9edf8;
  --on-dark-muted:  #a3afd0;
  --radius:   14px;
  --maxw:     1140px;
  --shadow-sm: 0 1px 2px rgba(12, 20, 48, .06), 0 2px 8px rgba(12, 20, 48, .05);
  --shadow-md: 0 10px 30px rgba(12, 20, 48, .12);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); font-weight: 700; }
h2.section-title { font-size: clamp(1.7rem, 4vw, 2.5rem); }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .9rem;
}
.eyebrow.on-dark { color: var(--accent); }

section { padding: clamp(64px, 9vw, 110px) 0; }
.section--mist { background: var(--mist); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .82em 1.6em; border-radius: 999px;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--navy-900); box-shadow: 0 2px 10px rgba(20, 33, 61, .12); }
.btn-primary:hover { background: #cdd5e1; color: var(--navy-900); box-shadow: 0 8px 24px rgba(110, 122, 145, .35); }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: rgba(233, 237, 248, .35); }
.btn-ghost:hover { border-color: var(--on-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }

/* ---- Header / nav ----------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(12, 20, 48, .9);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 6px 24px rgba(0, 0, 0, .25);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; color: #fff;
}
.brand:hover { color: #fff; }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.brand b { color: var(--accent); font-weight: 800; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin: -8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--on-dark); font-weight: 500; font-size: .97rem; padding: .25em 0;
  position: relative; transition: color .18s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
  background: var(--accent); transition: right .25s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { right: 0; }
.nav-links .ext::after { display: none; }

/* ---- Hero ------------------------------------------------------------- */
.hero {
  position: relative; padding: 0; color: var(--on-dark);
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(79, 111, 192, .45), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(184, 193, 209, .12), transparent 55%),
    linear-gradient(165deg, var(--navy-900) 0%, var(--brand) 130%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000 0%, transparent 75%);
}
.hero-inner {
  position: relative; z-index: 1;
  min-height: 92vh; display: flex; flex-direction: column; justify-content: center;
  padding: 130px 0 90px;
}
.hero h1 {
  color: #fff; font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 6.5rem); letter-spacing: -.03em; margin: 0 0 .1em;
  line-height: .98;
}
.hero h1 .vc { color: var(--accent); }
.hero .tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.5rem); font-weight: 500; letter-spacing: .02em;
  color: var(--on-dark); text-transform: uppercase; margin: 0 0 1.3rem;
}
.hero .tagline span { color: var(--accent); padding: 0 .35em; }
.hero .intro { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--on-dark-muted); max-width: 56ch; margin-bottom: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1;
  color: var(--on-dark-muted); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.hero-scroll::after { content: ""; width: 1px; height: 30px; background: linear-gradient(var(--accent), transparent); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

/* ---- About ------------------------------------------------------------ */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about-grid p { font-size: 1.1rem; color: #38445f; }
.stat-card {
  background: linear-gradient(160deg, var(--navy-800), var(--brand));
  color: var(--on-dark); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-md);
}
.stat-card dl { margin: 0; display: grid; gap: 1.3rem; }
.stat-card dt { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .15rem; }
.stat-card dd { margin: 0; font-size: 1.05rem; color: #fff; font-weight: 600; }
.stat-card dd small { display: block; font-weight: 400; color: var(--on-dark-muted); font-size: .92rem; letter-spacing: 0; }

/* ---- Platform cards --------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.1rem; margin-top: 2.5rem; }
.card {
  display: flex; flex-direction: column; gap: .35rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; color: inherit; }
.card .card-name { font-weight: 700; font-size: 1.1rem; color: var(--ink); display: flex; align-items: center; gap: .4rem; }
.card .card-name .arrow { color: var(--brand); transition: transform .2s var(--ease); }
.card:hover .card-name .arrow { transform: translate(3px, -3px); }
.card .card-tag { font-size: .9rem; color: var(--muted); }
.platform-note { margin-top: 2rem; font-size: 1rem; color: var(--muted); }

/* ---- Investors band --------------------------------------------------- */
.investors {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(79, 111, 192, .4), transparent 60%),
    linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: var(--on-dark);
}
.investors .lede { color: var(--on-dark-muted); }
.investors h2 { color: #fff; }
.investors .panel {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: center;
}
.checklist { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .8rem; }
.checklist li { display: flex; align-items: flex-start; gap: .7rem; color: var(--on-dark); }
.checklist li::before { content: "✦"; color: var(--accent); font-size: 1rem; line-height: 1.6; }

/* ---- Team / leadership ------------------------------------------------ */
.leader-card {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center; margin-top: 2.5rem; max-width: 880px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-sm);
}
.leader-photo { display: block; margin: 0; }
.leader-photo img {
  width: 100%; height: 340px; object-fit: cover; object-position: 24% 18%;
  border-radius: 12px; box-shadow: var(--shadow-md); display: block;
}
.leader-body .name { display: block; font-weight: 800; font-size: 1.6rem; color: var(--ink); letter-spacing: -.02em; }
.leader-body .role { display: block; color: var(--brand); font-weight: 600; font-size: 1rem; margin-bottom: 1rem; }
.leader-body .leader-bio { color: #38445f; font-size: 1.05rem; margin: 0; }

@media (max-width: 720px) {
  .leader-card { grid-template-columns: 1fr; }
  .leader-photo img { height: 300px; object-position: 24% 12%; }
}

/* ---- Contact ---------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-detail { display: grid; gap: 1.6rem; margin-top: 1.5rem; }
.contact-detail .row { display: grid; gap: .15rem; }
.contact-detail .row .k { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); font-weight: 700; }
.contact-detail .row .v { font-size: 1.05rem; color: var(--ink); }
.contact-detail a { font-weight: 600; }

.form label { display: block; margin-bottom: 1.1rem; }
.form label > span { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; font-weight: 600; }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; padding: .8em .9em; font: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(41, 73, 149, .15); }
.form textarea { resize: vertical; min-height: 130px; }
.form .gotcha { position: absolute; left: -9999px; }
.form-status { margin-top: 1rem; font-size: .95rem; color: var(--muted); min-height: 1.4em; }
.form-status.error { color: #d6453f; }
.form-status.success { color: #1c8a4a; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-muted); padding: 64px 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem 3rem; }
.footer-brand { max-width: 340px; }
.footer-brand .brand { margin-bottom: .8rem; }
.footer-brand p { font-size: .95rem; color: var(--on-dark-muted); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 3rem; }
.footer-col h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-col a { color: var(--on-dark-muted); font-size: .95rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center;
  font-size: .87rem; color: #75809e;
}
.footer-bottom a { color: #75809e; }
.footer-bottom a:hover { color: var(--accent); }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 860px) {
  .about-grid, .investors .panel, .contact-grid { grid-template-columns: 1fr; }
  .investors .panel { gap: 1.5rem; }

  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(12, 20, 48, .98); backdrop-filter: blur(10px);
    padding: .5rem 24px 1.5rem;
    box-shadow: 0 20px 30px rgba(0, 0, 0, .3);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { border-top: 1px solid rgba(255, 255, 255, .07); }
  .nav-links a { display: block; padding: .9rem 0; font-size: 1.05rem; }
  .nav-links a::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
