/* ============================================================
   ZAR FUNDING — styles.css  (light / paper theme)
   Built around US dollar green #6B8068
   ============================================================ */

:root {
  --dollar:        #6B8068;
  --dollar-deep:   #4A5A47;
  --dollar-darker: #3A463A;
  --sage:          #8AA17F;
  --gold:          #B0852B;

  --bg:            #F2EFE6;   /* warm paper */
  --surface:       #FFFFFF;   /* cards */
  --surface-2:     #FBF9F3;
  --ink:           #1F281D;   /* text */
  --ink-soft:      #586353;   /* secondary text */
  --cream:         #F6F3EA;   /* on-green text */
  --line:          rgba(31, 40, 29, 0.12);
  --line-soft:     rgba(31, 40, 29, 0.07);

  --glass:         rgba(246, 243, 234, 0.65);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-script: 'Caveat', cursive;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 14px 40px rgba(31, 40, 29, 0.10);
  --shadow-lg: 0 26px 60px rgba(31, 40, 29, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* soft paper field with a faint top glow */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(1200px 760px at 50% -12%, rgba(138,161,127,0.16), transparent 62%),
    radial-gradient(900px 700px at 100% 100%, rgba(107,128,104,0.10), transparent 60%),
    var(--bg);
}

/* ---------- Film grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grainShift 0.7s steps(4) infinite;
}
/* animate the texture, not the box, so the overlay never exceeds the viewport */
@keyframes grainShift {
  0%   { background-position: 0 0; }
  25%  { background-position: -7px 9px; }
  50%  { background-position: 9px -11px; }
  75%  { background-position: -5px 5px; }
  100% { background-position: 6px -7px; }
}

/* ---------- Floating dots ---------- */
/* dotted board, like Valley / VC Sheet, faded toward the edges */
.bg-dots {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(rgba(31,40,29,0.11) 1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 50% 38%, #000 38%, transparent 92%);
  mask-image: radial-gradient(circle at 50% 38%, #000 38%, transparent 92%);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn-solid { background: var(--dollar); color: var(--cream); box-shadow: 0 10px 24px rgba(107,128,104,0.35); }
.btn-solid:hover { transform: translateY(-3px); background: var(--dollar-deep); box-shadow: 0 16px 34px rgba(74,90,71,0.4); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--dollar); color: var(--dollar-deep); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.02rem; }
.btn-block { width: 100%; margin-top: 0.4rem; }

/* ============================================================
   BRAND
   ============================================================ */
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); }
.brand-img { height: 38px; width: auto; display: block; }
.brand-text { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand-thin { font-weight: 400; color: var(--dollar); margin-left: 2px; }

/* ============================================================
   HEADER — light glass
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, border-color 0.4s, box-shadow 0.4s;
  border-bottom: 1px solid transparent; padding: 0.4rem 0;
}
.site-header.scrolled {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(31,40,29,0.05);
}
.header-inner { max-width: var(--maxw); margin: 0 auto; padding: 0.6rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.main-nav { display: flex; gap: 1.5rem; align-items: center; }
.main-nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; font-weight: 500; position: relative; transition: color 0.25s; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--dollar); transition: width 0.3s var(--ease); }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }
.nav-switch { color: var(--dollar) !important; font-weight: 600 !important; }
.header-actions { display: flex; align-items: center; gap: 0.8rem; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

/* ============================================================
   SHARED ACCENTS
   ============================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; font-weight: 500; line-height: 1;
  color: var(--dollar-deep); background: var(--surface); border: 1px solid var(--line);
  padding: 0.6rem 1.05rem; border-radius: 100px; margin-bottom: 1.6rem; box-shadow: var(--shadow);
}
.pulse-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--dollar); box-shadow: 0 0 0 0 rgba(107,128,104,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(107,128,104,0.5);} 70% { box-shadow: 0 0 0 12px rgba(107,128,104,0);} 100% { box-shadow: 0 0 0 0 rgba(107,128,104,0);} }

.script-accent { font-family: var(--font-script); font-weight: 700; color: var(--dollar); font-size: 1.16em; display: inline-block; transform: rotate(-3deg); padding: 0 0.08em; }

/* arrow */
.arrow-zone { position: relative; width: min(580px, 92%); margin: 1.4rem auto 2.4rem; }
.arrow-svg { width: 100%; height: auto; display: block; }
.arrow-label-a, .arrow-label-b { position: absolute; font-family: var(--font-script); font-size: 1.4rem; color: var(--ink); }
.arrow-label-a { left: 0; top: -6px; }
.arrow-label-b { right: 0; bottom: -4px; color: var(--dollar); }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 100px; display: grid; place-items: start center; padding-top: 7px; }
.scroll-cue span { width: 5px; height: 8px; border-radius: 4px; background: var(--dollar); animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0);} 40% { opacity: 1;} 80% { opacity: 0; transform: translateY(14px);} 100% { opacity: 0; } }

.hero-glow { position: absolute; top: 22%; left: 50%; transform: translateX(-50%); width: min(680px,90vw); height: min(680px,90vw); background: radial-gradient(circle, rgba(138,161,127,0.28), transparent 65%); filter: blur(28px); z-index: -1; animation: glowPulse 7s ease-in-out infinite; }
@keyframes glowPulse { 0%,100% { opacity: 0.7; transform: translateX(-50%) scale(1);} 50% { opacity: 1; transform: translateX(-50%) scale(1.08);} }

/* ============================================================
   SPLASH LANDING
   ============================================================ */
.splash {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 6.5rem 1.25rem 2rem; position: relative;
}
.splash-glow { position: absolute; top: 26%; left: 50%; transform: translateX(-50%); width: min(720px,92vw); height: min(720px,92vw); background: radial-gradient(circle, rgba(138,161,127,0.26), transparent 65%); filter: blur(30px); z-index: -1; animation: glowPulse 7s ease-in-out infinite; }
.splash-brand { position: absolute; top: 2.2rem; left: 50%; transform: translateX(-50%); }
.splash-inner { max-width: 860px; width: 100%; position: relative; z-index: 2; margin-top: 1rem; }
.splash-title { font-size: clamp(2.1rem, 5.6vw, 4.1rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin: 0 auto 1.1rem; max-width: 16ch; text-wrap: balance; }
.splash-sub { font-size: clamp(1rem, 2.2vw, 1.25rem); color: var(--ink-soft); max-width: 560px; margin: 0 auto; text-wrap: balance; min-height: 1.7em; }
.splash-sub.typing::after { content: "|"; margin-left: 2px; color: var(--dollar); animation: caret 1s steps(1) infinite; }
.splash-q { font-family: var(--font-script); font-size: clamp(1.4rem, 4vw, 1.85rem); color: var(--ink); margin: 0.4rem 0 1.3rem; }

/* two simple choice tiles, contrasting colors, live pulse ring */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; max-width: 680px; margin: 0 auto; }
.door {
  text-decoration: none; border-radius: 22px; padding: 1.9rem; min-height: 140px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  position: relative; box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, background 0.3s, color 0.3s, border-color 0.3s;
}
/* the live "this is a button" pulse ring */
.door::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  animation: liveRing 2.8s var(--ease) infinite;
}
.door:nth-child(2)::after { animation-delay: 1.4s; }
@keyframes liveRing {
  0%       { box-shadow: 0 0 0 0 rgba(107,128,104,0.45); }
  70%, 100% { box-shadow: 0 0 0 13px rgba(107,128,104,0); }
}
.door:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.door--solid { background: var(--dollar-deep); color: var(--cream); }
.door--solid:hover { background: var(--dollar-darker); }
.door--outline { background: var(--surface); color: var(--dollar-deep); border: 1.5px solid var(--dollar); }
.door--outline:hover { border-color: var(--dollar-deep); }
.door-word { font-size: clamp(1.9rem, 5.2vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.door-go { position: absolute; right: 1.1rem; bottom: 0.95rem; font-size: 1.3rem; line-height: 1; opacity: 0.55; transition: transform 0.25s var(--ease), opacity 0.25s; }
.door:hover .door-go { transform: translateX(4px); opacity: 1; }

.splash-extra { margin-top: 1.6rem; font-size: 0.98rem; color: var(--ink-soft); }
.splash-extra a { color: var(--dollar-deep); font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(107,128,104,0.35); transition: border-color 0.25s; }
.splash-extra a:hover { border-color: var(--dollar); }

.splash-footer { position: relative; z-index: 2; margin-top: 2.4rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; justify-content: center; color: var(--ink-soft); font-size: 0.85rem; }
.splash-footer nav { display: flex; gap: 1.2rem; }
.splash-footer a { color: var(--ink-soft); text-decoration: none; transition: color 0.25s; }
.splash-footer a:hover { color: var(--dollar); }

/* word rotator */
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s; white-space: nowrap; }
.rotator > span.show { opacity: 1; transform: translateY(0); }

/* ============================================================
   PAGE HERO (founder / investor)
   ============================================================ */
.page-hero { min-height: 76vh; min-height: 76svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 7rem 1.25rem 1.5rem; position: relative; }

/* moving shine to pull clicks to a CTA */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg); animation: btnShine 3.4s ease-in-out infinite;
}
@keyframes btnShine { 0% { left: -130%; } 26%, 100% { left: 140%; } }
.page-hero-inner { max-width: 880px; position: relative; z-index: 2; }
.page-hero-title { font-size: clamp(2.1rem, 5.6vw, 4rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 1.1rem; text-wrap: balance; }
.page-hero-sub { font-size: clamp(1.02rem, 2.3vw, 1.26rem); color: var(--ink-soft); max-width: 620px; margin: 0 auto 2rem; text-wrap: balance; }
.hero-cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

.block { max-width: var(--maxw); margin: 0 auto; padding: 4.5rem 1.25rem; }

/* gentle page fade-in so moving between pages feels connected */
/* page is always visible; per-section reveals handle the entrance motion */

/* ---- scroll progress: top bar ---- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: rgba(31,40,29,0.08); }
.scroll-progress-fill { height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--sage), var(--dollar)); }

/* ---- scroll progress: side dots with growing ring ---- */
.scroll-nav { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; gap: 13px; }
.scroll-nav button {
  width: 11px; height: 11px; padding: 0; border: none; border-radius: 50%;
  background: rgba(31,40,29,0.22); cursor: pointer; position: relative;
  transition: background 0.3s, transform 0.3s;
}
.scroll-nav button::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid var(--dollar); opacity: 0; transform: scale(0.4);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.scroll-nav button.active { background: var(--dollar); }
.scroll-nav button.active::after { opacity: 1; transform: scale(1); }
.scroll-nav button:hover { transform: scale(1.25); }
.sn-label {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%) translateX(6px);
  white-space: nowrap; background: var(--ink); color: var(--cream); font-size: 0.72rem; font-weight: 600;
  padding: 0.3rem 0.6rem; border-radius: 8px; opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.25s; box-shadow: var(--shadow);
}
.scroll-nav button:hover .sn-label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 760px) { .scroll-nav { display: none; } }

/* ============================================================
   SECTION SHELLS
   ============================================================ */
section { position: relative; z-index: 2; }
.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.kicker { display: block; font-family: var(--font-script); font-size: 1.4rem; color: var(--dollar); margin-bottom: 0.2rem; }
.section-head h2, .track-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
.lead { color: var(--ink-soft); font-size: 1.08rem; margin-top: 1rem; }

/* ============================================================
   VALUE GRID
   ============================================================ */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 2rem; box-shadow: var(--shadow); transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; }
.value-card:hover { transform: translateY(-6px); border-color: var(--dollar); box-shadow: var(--shadow-lg); }
.value-num { font-family: var(--font-script); font-size: 2.4rem; color: var(--gold); display: block; line-height: 1; margin-bottom: 0.7rem; }
.value-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.value-card p { color: var(--ink-soft); }

/* ============================================================
   COMPARE
   ============================================================ */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.compare-col { border-radius: 24px; padding: 2.2rem; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.compare-old { background: var(--surface-2); }
.compare-new { background: linear-gradient(160deg, rgba(107,128,104,0.12), rgba(138,161,127,0.06)); border-color: rgba(107,128,104,0.4); box-shadow: var(--shadow-lg); }
.compare-tag { font-weight: 700; font-size: 1.1rem; margin-bottom: 1.2rem; color: var(--ink); }
.compare-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.compare-col li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-soft); }
.compare-new li { color: var(--ink); }
.x, .c { font-weight: 800; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; }
.x { background: rgba(180,70,60,0.12); color: #b6483c; }
.c { background: rgba(107,128,104,0.18); color: var(--dollar-deep); }
.compare-vs { font-family: var(--font-script); font-size: 2rem; color: var(--gold); }

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { position: relative; text-align: center; padding: 1rem; }
.step-dot { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.2rem; font-weight: 800; font-size: 1.4rem; color: var(--cream); background: var(--dollar); box-shadow: 0 10px 24px rgba(107,128,104,0.35); position: relative; z-index: 2; }
.step-line { position: absolute; top: 30px; left: 60%; width: 80%; height: 2px; background: repeating-linear-gradient(90deg, var(--dollar) 0 6px, transparent 6px 14px); z-index: 1; opacity: 0.5; }
.step h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.step p { color: var(--ink-soft); }

/* ============================================================
   INNER CIRCLE
   ============================================================ */
.circle { max-width: var(--maxw); margin: 0 auto; padding: 6rem 1.25rem; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.circle-ring { position: relative; aspect-ratio: 1; max-width: 380px; margin: 0 auto; width: 100%; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }
.r1 { inset: 0; animation: spin 26s linear infinite; border-style: dashed; border-color: rgba(107,128,104,0.35); }
.r2 { inset: 16%; border-color: rgba(176,133,43,0.3); animation: spin 18s linear infinite reverse; }
.r3 { inset: 32%; border-color: rgba(107,128,104,0.45); }
@keyframes spin { to { transform: rotate(360deg);} }
.ring-core { position: absolute; inset: 32%; border-radius: 50%; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 1.25rem; line-height: 1.1; color: var(--cream); background: linear-gradient(150deg, var(--dollar), var(--dollar-deep)); box-shadow: 0 16px 40px rgba(74,90,71,0.35); }
.orbit { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--dollar); top: 50%; left: 50%; box-shadow: 0 0 12px rgba(107,128,104,0.6); }
.o1 { animation: orbit 9s linear infinite; }
.o2 { animation: orbit 9s linear infinite; animation-delay: -2.25s; background: var(--gold); box-shadow: 0 0 12px rgba(176,133,43,0.6); }
.o3 { animation: orbit 9s linear infinite; animation-delay: -4.5s; }
.o4 { animation: orbit 9s linear infinite; animation-delay: -6.75s; background: var(--gold); box-shadow: 0 0 12px rgba(176,133,43,0.6); }
@keyframes orbit { from { transform: translate(-50%,-50%) rotate(0deg) translateX(150px) rotate(0deg);} to { transform: translate(-50%,-50%) rotate(360deg) translateX(150px) rotate(-360deg);} }
.circle-stats { display: flex; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-big { font-size: 1.5rem; font-weight: 800; color: var(--dollar); }
.stat-small { color: var(--ink-soft); font-size: 0.9rem; }

/* ============================================================
   VALUE STRIP
   ============================================================ */
.value-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.vs-item { background: var(--surface); padding: 1.8rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.vs-big { font-size: 1.5rem; font-weight: 800; color: var(--dollar); }
.vs-small { color: var(--ink-soft); font-size: 0.95rem; }

/* ============================================================
   MARQUEE
   ============================================================ */
.proof { padding: 5rem 0; overflow: hidden; }
.marquee { position: relative; width: 100%; overflow: hidden; padding: 1.5rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }
.logo-group { display: flex; align-items: center; gap: 1.1rem; padding: 0 0.55rem; }
.logo-chip {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  display: grid; place-items: center; height: 66px; width: 66px; flex: 0 0 auto;
  box-shadow: var(--shadow); overflow: hidden; transition: transform 0.3s var(--ease);
}
.logo-chip:hover { transform: translateY(-5px) scale(1.04); }
.logo-chip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-chip svg { height: 40px; width: auto; }
.proof-note { text-align: center; color: var(--ink-soft); font-size: 0.85rem; margin-top: 1.5rem; padding: 0 1.5rem; }

/* ============================================================
   FORMS
   ============================================================ */
.signup-form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 2.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.9rem; }
.solo-form { max-width: 640px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.signup-form h3 { font-size: 1.6rem; font-weight: 800; }
.form-sub { color: var(--ink-soft); margin-bottom: 0.6rem; }
.signup-form label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.88rem; font-weight: 500; color: var(--ink-soft); }
.signup-form input, .signup-form select, .signup-form textarea {
  font-family: var(--font-sans); font-size: 0.98rem; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.8rem 1rem; transition: border-color 0.25s, box-shadow 0.25s; resize: vertical;
}
.signup-form input:focus, .signup-form select:focus, .signup-form textarea:focus { outline: none; border-color: var(--dollar); box-shadow: 0 0 0 3px rgba(107,128,104,0.15); }
.form-ok { color: var(--dollar-deep); font-weight: 600; text-align: center; padding-top: 0.5rem; }

/* ============================================================
   BOOK A CALL
   ============================================================ */
.book-card { text-align: center; border-radius: 28px; padding: 3.5rem 2rem; max-width: 860px; margin: 0 auto; background: linear-gradient(160deg, rgba(107,128,104,0.14), rgba(138,161,127,0.07)); border: 1px solid rgba(107,128,104,0.35); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.book-card .lead { margin-bottom: 1.8rem; }
.book-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 1rem; opacity: 0.75; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 1.5rem; box-shadow: var(--shadow); transition: border-color 0.3s; }
.faq-item[open] { border-color: var(--dollar); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.3rem 0; font-weight: 600; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { font-size: 1.5rem; color: var(--dollar); transition: transform 0.3s; flex-shrink: 0; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { color: var(--ink-soft); padding: 0 0 1.3rem; }

/* ============================================================
   FOOTER
   ============================================================ */
/* centered closing CTA, light (deepchecks style) sits right above the dark footer */
.end-cta { max-width: 720px; margin: 0 auto; text-align: center; padding: 2rem 0 1rem; }
.end-cta h2 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 1rem; text-wrap: balance; }
.end-cta p { color: var(--ink-soft); font-size: 1.1rem; max-width: 560px; margin: 0 auto 1.8rem; text-wrap: balance; }

/* dark footer with a giant brand wordmark as the centerpiece */
.site-footer { background: #161C16; color: var(--cream); position: relative; z-index: 2; overflow: hidden; }
.footer-links { max-width: var(--maxw); margin: 0 auto; padding: 3rem 1.5rem 0.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.7rem; }
.footer-links a { color: rgba(246,243,234,0.7); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.25s; }
.footer-links a:hover { color: var(--sage); }
.footer-mega {
  text-align: center; font-weight: 800; letter-spacing: -0.045em; line-height: 1.05;
  font-size: clamp(3.4rem, 17vw, 14rem); padding: 1.6rem 1rem 0.9rem; color: var(--cream);
  user-select: none; white-space: nowrap;
}
.footer-mega .thin { color: var(--sage); font-weight: 600; margin-left: 0.12em; }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding: 1.2rem 1.5rem; border-top: 1px solid rgba(246,243,234,0.12); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: rgba(246,243,234,0.6); font-size: 0.85rem; }
@media (max-width: 560px) { .footer-mega { white-space: normal; } }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 8rem 1.5rem 5rem; }
.legal-wrap h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 0.5rem; }
.legal-meta { color: var(--ink-soft); margin-bottom: 2.5rem; }
.legal-wrap h2 { font-size: 1.4rem; margin: 2.2rem 0 0.7rem; color: var(--ink); }
.legal-wrap p, .legal-wrap li { color: var(--ink-soft); margin-bottom: 0.8rem; }
.legal-wrap ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal-back { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--dollar); text-decoration: none; font-weight: 600; margin-bottom: 2rem; }

/* ============================================================
   BRAND WORDMARK SWAP  (Zar <-> زر)
   ============================================================ */
.zar-swap { position: relative; display: inline-block; line-height: 1; }
.zar-en { display: inline-block; line-height: 1; color: var(--dollar-deep); animation: zarEn 6.5s var(--ease) infinite; }
.zar-ur {
  position: absolute; left: 0; right: 0; top: 50%;
  text-align: center; white-space: nowrap;
  font-family: 'Noto Nastaliq Urdu', serif; font-weight: 700;
  font-size: 1.18em; line-height: 1; opacity: 0;
  transform: translateY(-50%); animation: zarUr 6.5s var(--ease) infinite;
}
/* ز stays dollar green, ر is the light shade (with a thin green edge so it reads on paper) */
.zar-ur .zu1 { color: var(--dollar); }
.zar-ur .zu2 { color: #FFFFFF; -webkit-text-stroke: 0.7px var(--dollar-deep); paint-order: stroke fill; }
@keyframes zarEn {
  0%, 38% { opacity: 1; transform: translateY(0); }
  44% { opacity: 0; transform: translateY(-45%); }
  48%, 90% { opacity: 0; }
  96% { opacity: 0; transform: translateY(45%); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes zarUr {
  0%, 40% { opacity: 0; transform: translateY(-12%); }
  48%, 88% { opacity: 1; transform: translateY(-50%); }
  94%, 100% { opacity: 0; transform: translateY(-88%); }
}

/* ============================================================
   TYPEWRITER (splash "Talk to ___")
   ============================================================ */
.typer-line { margin-top: 1.7rem; font-size: 1rem; color: var(--ink-soft); }
.typer-line a { color: var(--dollar-deep); font-weight: 700; text-decoration: none; }
.typer-line a:hover .typer { color: var(--dollar); }
.typer { border-bottom: 2px solid rgba(107,128,104,0.35); padding-bottom: 1px; transition: color 0.25s; }
.typer::after { content: "|"; margin-left: 1px; color: var(--dollar); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ============================================================
   CURSOR SNOWBALL
   ============================================================ */
.cursor-ball {
  position: fixed; top: 0; left: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; background: radial-gradient(circle at 34% 30%, #ffffff, var(--sage));
  box-shadow: 0 0 16px rgba(138,161,127,0.7); pointer-events: none; z-index: 9998;
  opacity: 0; transition: opacity 0.3s, width 0.2s, height 0.2s; will-change: transform;
}
.cursor-ball.trail {
  width: 34px; height: 34px; margin: -17px 0 0 -17px; opacity: 0.18; z-index: 9997;
  background: radial-gradient(circle, var(--sage), transparent 70%); box-shadow: none; filter: blur(2px);
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center; z-index: 9999;
  box-shadow: 0 12px 30px rgba(37,211,102,0.45); text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.wa-fab::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366;
  z-index: -1; animation: waPulse 4s var(--ease) infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.35; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
.wa-fab:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 16px 36px rgba(37,211,102,0.55); }
.wa-fab svg { width: 32px; height: 32px; fill: #fff; }
.wa-fab .wa-tip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--ink); color: var(--cream); font-size: 0.82rem; font-weight: 600;
  padding: 0.5rem 0.85rem; border-radius: 10px; white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.25s; box-shadow: var(--shadow);
}
.wa-fab:hover .wa-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ============================================================
   PRICING BAND (founder page)
   ============================================================ */
.price-band {
  max-width: 760px; margin: 0 auto; text-align: center; border-radius: 26px; padding: 2.6rem 2rem;
  background: linear-gradient(160deg, rgba(107,128,104,0.14), rgba(138,161,127,0.06));
  border: 1px solid rgba(107,128,104,0.35); box-shadow: var(--shadow-lg);
}
.price-big { font-size: clamp(1.5rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.price-free { color: var(--dollar); }
.price-sub { color: var(--ink-soft); margin-top: 0.6rem; font-size: 1.05rem; }
.price-list { display: flex; gap: 0.7rem 1.4rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }
.price-list span { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--ink); }
.price-list .c { width: 20px; height: 20px; }

/* ============================================================
   SPLIT SIGNUP (form on one side, slider + logos on the other)
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1.4rem; max-width: 1080px; margin: 0 auto; align-items: stretch; }
.split-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 1.6rem; box-shadow: var(--shadow); min-height: 520px;
}
.split-form .signup-form { background: none; border: none; box-shadow: none; padding: 0.6rem; }
.split-form iframe { width: 100%; border: 0; display: block; border-radius: 14px; min-height: 520px; }

.split-aside {
  position: relative; overflow: hidden; border-radius: 24px;
  background: linear-gradient(160deg, var(--dollar), var(--dollar-darker));
  color: var(--cream); padding: 2.2rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  box-shadow: var(--shadow-lg);
}
.split-aside::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: radial-gradient(420px circle at 80% 0%, rgba(255,255,255,0.12), transparent 60%);
}
.aside-slider { position: relative; min-height: 168px; }
.aside-slide {
  position: absolute; inset: 0; opacity: 0; transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); pointer-events: none;
}
.aside-slide.is-active { opacity: 1; transform: translateY(0); position: relative; pointer-events: auto; }
.aside-slide .badge {
  display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--sage);
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.16);
  padding: 0.35rem 0.7rem; border-radius: 100px; margin-bottom: 1rem;
}
.aside-slide h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.aside-slide p { color: rgba(246,243,234,0.82); font-size: 1.02rem; }
.aside-dots { display: flex; gap: 0.5rem; margin-top: 1.2rem; }
.aside-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(246,243,234,0.3); transition: width 0.3s var(--ease), background 0.3s; }
.aside-dots button.active { width: 22px; border-radius: 5px; background: var(--cream); }

.aside-foot { position: relative; }
.aside-foot-label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(246,243,234,0.65); margin-bottom: 0.9rem; }

/* logo rail (filled by JS) */
.logo-rail { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-rail .marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.logo-rail:hover .marquee-track { animation-play-state: paused; }
.logo-rail.mini .logo-chip { height: 54px; width: 54px; border-radius: 13px; box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
.logo-rail.mini .logo-group { gap: 0.8rem; padding: 0 0.4rem; }

/* ============================================================
   EMBEDS (Tally form + Cal.com calendar)
   ============================================================ */
.cal-embed {
  max-width: 1000px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; padding: 0.8rem; box-shadow: var(--shadow); overflow: hidden;
}
/* fixed height so the embed cannot balloon the page (was the infinite-scroll glitch) */
.cal-embed #my-cal-inline-15min { width: 100%; height: 680px; max-height: 80vh; overflow: auto; border-radius: 16px; }

/* ============================================================
   ASSESSMENT PAGE (form + live social proof, calendar at the end)
   ============================================================ */
.assess-head { max-width: 760px; margin: 0 auto 2.4rem; text-align: center; }
/* form gets the lions share of the width so the in-form calendar has room */
.assess-split { display: grid; grid-template-columns: 1.75fr 0.78fr; gap: 1.4rem; max-width: 1320px; margin: 0 auto; align-items: start; }
.assess-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 1.6rem; box-shadow: var(--shadow);
}
.assess-form iframe { width: 100%; border: 0; display: block; border-radius: 14px; min-height: 640px; }
.assess-aside {
  position: sticky; top: 96px; overflow: hidden; border-radius: 24px;
  background: linear-gradient(160deg, var(--dollar), var(--dollar-darker));
  color: var(--cream); padding: 2.2rem; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 1.8rem;
}
.assess-aside::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: radial-gradient(420px circle at 80% 0%, rgba(255,255,255,0.12), transparent 60%);
}

/* logo cloud: logos fade in and out in place */
.logo-cloud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; position: relative; }
.logo-cloud .cloud-slot {
  aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12); display: grid; place-items: center;
}
.logo-cloud .cloud-slot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transition: opacity 0.7s var(--ease);
}
.logo-cloud .cloud-slot img.show { opacity: 1; }
.cloud-label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(246,243,234,0.65); margin-bottom: 0.9rem; }

/* ============================================================
   FUND SCROLLER STRIP (under the hero)
   ============================================================ */
.proof-strip { padding-top: 1rem; padding-bottom: 2.5rem; }
.strip-label { text-align: center; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; color: var(--ink-soft); margin-bottom: 1.4rem; }

/* ============================================================
   CLOSING SECTION — "where to next" (founder & investor)
   ============================================================ */
.next-steps {
  position: relative; overflow: hidden; border-radius: 30px; padding: 3.2rem 2.4rem;
  max-width: 1080px; margin: 0 auto;
  background: linear-gradient(160deg, var(--dollar), var(--dollar-darker));
  color: var(--cream); box-shadow: var(--shadow-lg);
}
.next-steps::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.7;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 30%, transparent 82%);
  mask-image: radial-gradient(circle at 50% 0%, #000 30%, transparent 82%);
}
.next-head { position: relative; text-align: center; max-width: 640px; margin: 0 auto 2.2rem; }
.next-head .kicker { color: var(--sage); }
.next-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
.next-head p { color: rgba(246,243,234,0.82); margin-top: 0.8rem; }
.next-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.next-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 20px;
  padding: 1.7rem; text-decoration: none; color: var(--cream);
  display: flex; flex-direction: column; gap: 0.35rem; position: relative; overflow: hidden;
  transition: transform 0.32s var(--ease), background 0.32s, border-color 0.32s;
}
.next-card:hover { transform: translateY(-7px); background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.34); }
.next-num { font-family: var(--font-script); font-size: 1.9rem; line-height: 1; color: var(--sage); }
.next-card h3 { font-size: 1.2rem; font-weight: 700; }
.next-card p { color: rgba(246,243,234,0.8); font-size: 0.94rem; flex: 1; }
.next-go { margin-top: 0.8rem; font-weight: 700; font-size: 0.9rem; color: var(--cream); display: inline-flex; align-items: center; gap: 0.4rem; }
.next-go::after { content: "\2192"; transition: transform 0.25s var(--ease); }
.next-card:hover .next-go::after { transform: translateX(5px); }
.next-card.is-primary { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.next-card.is-primary p { color: var(--ink-soft); }
.next-card.is-primary .next-num { color: var(--dollar); }
.next-card.is-primary .next-go { color: var(--dollar-deep); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); backdrop-filter: blur(18px); padding: 1.5rem; gap: 1.2rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .menu-toggle { display: flex; }
  .value-grid, .steps, .forms-grid { grid-template-columns: 1fr; }
  .circle { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare-vs { justify-self: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .step-line { display: none; }
  .header-actions .btn-ghost { display: none; }
  .value-strip { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-aside { order: -1; }
  .assess-split { grid-template-columns: 1fr; }
  .assess-aside { position: static; order: -1; }
  .next-grid { grid-template-columns: 1fr; }
  .next-steps { padding: 2.4rem 1.4rem; }
}
@media (max-width: 560px) {
  .doors { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .value-strip { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .arrow-label-a, .arrow-label-b { font-size: 1.1rem; }
  .splash { padding-top: 5rem; }
  .splash-brand { top: 1.1rem; }
  .splash-inner { margin-top: 1.2rem; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-ball { display: none !important; }
  .wa-fab { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .cursor-ball { display: none !important; }
}
