/* ============================================================
   ZFunds Founders Summit 2026 — Beyond Human
   v4 · Classy Navy edition
   Headings: Geist · Body: Inter · Mono: Geist Mono
   ============================================================ */

:root {
  /* Classy navy palette — deep, magazine-grade */
  --bg:        #0a1530;   /* deep navy */
  --bg-alt:    #081127;   /* darker, for alt bands */
  --bg-elev:   #0f1c3c;   /* hovered surface */
  --bg-card:   #0c1734;   /* card surface */

  /* Lines tinted faintly with periwinkle so they feel like
     a navy print page, not pure white on black */
  --line:      rgba(170, 195, 255, 0.09);
  --line-2:    rgba(170, 195, 255, 0.16);
  --line-3:    rgba(170, 195, 255, 0.26);

  --ink:       #dfe3ec;   /* primary — bright silver */
  --ink-2:     #a8afbd;   /* secondary — mid silver */
  --ink-3:     #6e7484;   /* tertiary — dim silver */
  --ink-4:     #424857;   /* quaternary */
  --ink-5:     #131c38;   /* near-bg */

  /* Single, restrained accent — used in only ~3 places per page */
  --accent:    #00ff88;

  /* Type */
  --display:   'Geist', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  --text:      'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  --mono:      'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout */
  --max:       1240px;
  --max-wide:  1440px;
  --gutter:    clamp(22px, 5vw, 80px);
  --section-y: clamp(96px, 14vh, 200px);

  /* Motion */
  --ease:      cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  font-family: var(--text);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

::selection { background: rgba(200, 208, 222, 0.24); color: #ffffff; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-wide {
  width: 100%;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   Typography primitives
   ============================================================ */
.display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.94;
  color: var(--ink);
}

.display-xl {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(60px, 11vw, 168px);
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.display-lg {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(44px, 6.6vw, 100px);
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.display-md {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 60px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.display-sm {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lede {
  font-family: var(--text);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.008em;
  max-width: 60ch;
}

.eyebrow {
  font-family: var(--text);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}

.mono {
  font-family: var(--mono);
  font-feature-settings: 'tnum' 1, 'ss01' 1;
}

/* ============================================================
   NAVIGATION — sticky, frosted, minimal
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 56px;
  background: rgba(10, 21, 48, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }

.nav-inner {
  max-width: var(--max-wide);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.nav-brand .nav-logo {
  height: 24px;
  width: auto;
}
.nav-brand .mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  font-weight: 700; font-size: 12px;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 38px;
}
.nav-links a {
  font-size: 13px;
  color: var(--ink-2);
  transition: color 0.2s ease;
  font-weight: 400;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(0, 255, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ============================================================
   Section primitives
   ============================================================ */
section { position: relative; }

.section-block {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.section-block-sm {
  padding-top: clamp(64px, 9vh, 120px);
  padding-bottom: clamp(64px, 9vh, 120px);
}

.section-divider {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section-divider hr {
  border: 0;
  height: 1px;
  background: var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  gap: 40px;
  flex-wrap: wrap;
}
.section-head .head-left { max-width: 720px; }
.section-head .eyebrow { display: block; margin-bottom: 24px; }
.section-head .head-right {
  font-size: 14px;
  color: var(--ink-3);
  max-width: 280px;
  text-align: right;
  line-height: 1.55;
}
@media (max-width: 720px) {
  .section-head .head-right { text-align: left; }
}

/* ============================================================
   Strip — slim stat row
   ============================================================ */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.strip-item .label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
  font-weight: 500;
}
.strip-item .value {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
@media (max-width: 760px) {
  .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
  font-family: var(--text);
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--ink-2); }

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--ink-4);
  transition: border-color 0.3s ease, gap 0.3s ease;
}
.text-cta:hover { border-bottom-color: var(--accent); gap: 16px; }
.text-cta .arrow {
  width: 14px; height: 14px;
  stroke: currentColor; stroke-width: 1.6; fill: none;
}

/* ============================================================
   Card primitives
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.card:hover {
  border-color: var(--line-2);
  background: var(--bg-elev);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 56px;
  background: var(--bg);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  font-family: var(--display);
  font-size: 14px;
  color: var(--ink-3);
  letter-spacing: -0.005em;
  max-width: 360px;
  line-height: 1.6;
}
.footer-brand strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 16px;
}
.footer-col h5 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--ink); }

.footer-disclaimer {
  text-align: center;
  padding: 24px 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-4);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.footer-disclaimer strong {
  color: var(--ink-3);
  font-weight: 500;
}
.footer-disclaimer .reg-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.03em;
  background: rgba(170,195,255,0.06);
  padding: 2px 6px;
  border-radius: 3px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom .copy {
  font-size: 12px;
  color: var(--ink-3);
}
.footer-bottom .meta {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.footer-bottom .meta .save-the-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 24px;
}
.footer-bottom .meta .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.5);
  animation: pulse 2.4s ease-out infinite;
}
@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 48px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   Background grain — used on hero sections
   ============================================================ */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

/* ============================================================
   Scroll-reveal
   ============================================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal-on-scroll.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.delay-1 { transition-delay: 0.08s; }
.reveal-on-scroll.delay-2 { transition-delay: 0.16s; }
.reveal-on-scroll.delay-3 { transition-delay: 0.24s; }
.reveal-on-scroll.delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-on-scroll { opacity: 1; transform: none; }
}
