/* ---------- Tokens ---------- */
:root {
  --bg: #fbfaf7;
  --bg-alt: #f3f1ec;
  --ink: #14110f;
  --ink-soft: #4a4540;
  --muted: #807972;
  --line: #e7e3dc;
  --white: #ffffff;

  /* Tasteful pride palette — used as accents, not flooding */
  --c-red:    #e0556b;
  --c-orange: #f1924a;
  --c-yellow: #f3c44b;
  --c-green:  #5fb27d;
  --c-blue:   #4a8fd6;
  --c-violet: #8e6cd1;

  --grad: linear-gradient(90deg,
    var(--c-red) 0%,
    var(--c-orange) 20%,
    var(--c-yellow) 40%,
    var(--c-green) 60%,
    var(--c-blue) 80%,
    var(--c-violet) 100%);

  --radius: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20,17,15,.04), 0 4px 12px rgba(20,17,15,.04);
  --shadow-md: 0 8px 24px rgba(20,17,15,.06), 0 24px 60px rgba(20,17,15,.08);
  --max: 1180px;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s ease, color .2s ease; }
a:hover { opacity: .75; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -.01em; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--grad);
  box-shadow: 0 4px 14px rgba(228, 99, 122, .25);
}
.brand-name { font-family: var(--serif); font-size: 19px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; color: var(--ink-soft); }
.nav-links a { font-weight: 500; }
.nav-cta {
  background: var(--ink); color: var(--bg) !important;
  padding: 9px 16px; border-radius: 999px; font-weight: 500;
  transition: transform .15s ease, background .2s ease;
}
.nav-cta:hover { background: #2a221d; opacity: 1; transform: translateY(-1px); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 120px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-1 { width: 480px; height: 480px; background: radial-gradient(circle, var(--c-red), transparent 65%); top: -160px; left: -120px; }
.orb-2 { width: 420px; height: 420px; background: radial-gradient(circle, var(--c-blue), transparent 65%); top: 80px; right: -120px; opacity: .45; }
.orb-3 { width: 360px; height: 360px; background: radial-gradient(circle, var(--c-yellow), transparent 65%); bottom: -120px; left: 30%; opacity: .35; }

.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.eyebrow {
  display: inline-block;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
  padding-bottom: 20px;
}
.eyebrow.light { color: rgba(255,255,255,.85); }
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6.5vw, 76px);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 24px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 56px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink); color: var(--bg);
  box-shadow: 0 6px 20px rgba(20,17,15,.18);
}
.btn-primary:hover { background: #2a221d; transform: translateY(-2px); opacity: 1; box-shadow: 0 12px 28px rgba(20,17,15,.22); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(20,17,15,.15); }
.btn-ghost:hover { background: rgba(20,17,15,.04); opacity: 1; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); opacity: 1; }

.hero-meta {
  display: inline-flex; align-items: center; gap: 22px;
  padding: 16px 24px; border-radius: 999px;
  background: rgba(255,255,255,.65);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  font-size: 14px;
}
.hero-meta div:not(.dot) { display: inline-flex; align-items: baseline; gap: 8px; }
.hero-meta strong { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.hero-meta span { color: var(--muted); }
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 48px);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 24px;
}
.section-lede {
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 580px;
  margin: 0;
}
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .section-lede { margin-left: auto; margin-right: auto; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.prose { color: var(--ink-soft); font-size: 17px; }
.prose p { margin: 0 0 18px; }
.prose.muted { color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 19px; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad);
  opacity: 0; transition: opacity .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--bg-alt);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--ink);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 0 0 10px; letter-spacing: -.01em; }
.card p { color: var(--ink-soft); margin: 0; font-size: 15.5px; line-height: 1.6; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  transition: transform .2s ease;
}
.stat:hover { transform: translateY(-3px); }
.stat-num {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.stat-label { color: var(--ink-soft); font-size: 14.5px; line-height: 1.4; }

.callout {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--c-violet);
  border-radius: var(--radius);
  padding: 28px 32px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 880px;
  margin: 0 auto;
}
.callout p { margin: 0; }
.callout strong { color: var(--ink); }

/* Backed-by badge */
.backed-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
  padding: 18px 28px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.backed-label {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.backed-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

/* ---------- Founder ---------- */
.founder { align-items: center; }
.founder-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.founder-portrait {
  position: relative;
  width: 100%; aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  isolation: isolate;
  background: var(--bg-alt);
}
.founder-portrait::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 3px;
  background: var(--grad);
  opacity: .9;
}
.founder-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.founder-meta { display: flex; flex-direction: column; gap: 4px; }
.founder-meta strong { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.founder-meta span { color: var(--muted); font-size: 14px; }

/* ---------- CTA ---------- */
.cta-section { padding: 80px 0 110px; }
.cta {
  position: relative;
  border-radius: 32px;
  padding: 80px 56px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}
.cta-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.18), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,.12), transparent 50%),
    linear-gradient(135deg, #1a1614 0%, #2a1f2c 50%, #1a1820 100%);
}
.cta::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad);
  opacity: .85;
  z-index: -1;
}
.cta-content { max-width: 720px; }
.cta-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 18px;
}
.cta-sub { color: rgba(255,255,255,.8); font-size: 18px; margin: 0 0 32px; max-width: 560px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta .btn-primary { background: var(--white); color: var(--ink); }
.cta .btn-primary:hover { background: #f3f1ec; }

/* ---------- Footer ---------- */
.footer { padding: 48px 0 60px; border-top: 1px solid var(--line); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-family: var(--serif); }
.footer-copy { color: var(--muted); font-size: 14px; margin: 0; }
.footer-links { display: flex; gap: 24px; font-size: 14px; color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: transparent; border: 0; cursor: pointer;
    padding: 8px;
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg);
    padding: 24px 28px 32px;
    border-bottom: 1px solid var(--line);
  }
  .hero { padding: 64px 0 88px; }
  .section { padding: 80px 0; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 56px 32px; border-radius: 24px; }
  .hero-meta { flex-wrap: wrap; gap: 14px; }
}

@media (max-width: 540px) {
  .container { padding: 0 22px; }
  .stats { grid-template-columns: 1fr; }
  .hero-meta { width: 100%; justify-content: space-between; }
  .stat-num { font-size: 48px; }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
