/* ================================================
   LUMEIS — Finance Operations OS
   Light theme
   ================================================ */

:root {
  --bg: #F6F5F1;
  --bg-elev: #FBFAF6;
  --bg-card: #FFFFFF;
  --border: rgba(10, 20, 22, 0.10);
  --border-strong: rgba(10, 20, 22, 0.18);

  --text: #0C1416;
  --text-muted: #5E686D;
  --text-dim: #8A9499;

  --accent: #0F9E87;
  --accent-high: #17B89E;
  --accent-deep: #065F51;
  --accent-glow: rgba(15, 158, 135, 0.25);

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --container: 1240px;
  --section-pad: 140px;
  --gradient-intensity: 1;
  --space-unit: 8px;
}

[data-density="compact"] { --section-pad: 96px; --space-unit: 6px; }
[data-density="loose"]   { --section-pad: 180px; --space-unit: 10px; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* --------- TYPOGRAPHY --------- */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.mono { font-family: var(--font-mono); font-feature-settings: 'tnum' 1, 'ss01' 1; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* --------- CONTAINER --------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
section { position: relative; }

/* =================================================
   NAV
   ================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(246, 245, 241, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled {
  background: rgba(246, 245, 241, 0.88);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; gap: 40px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.brand-mark { width: 24px; height: 24px; color: var(--accent); }
.nav-links {
  display: flex; gap: 28px; margin-left: 8px;
  font-size: 14px; color: var(--text-muted);
}
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions {
  margin-left: auto;
  display: flex; align-items: center; gap: 14px;
}

/* language toggle */
.lang-toggle {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--font-mono); font-size: 11px;
  padding: 6px 10px; border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: border-color .2s;
}
.lang-toggle:hover { border-color: var(--border-strong); }
.lang-sep { opacity: .3; }
.lang-dot { padding: 2px 4px; border-radius: 4px; transition: color .2s, background .2s; }
body[data-lang="pt"] .lang-dot[data-lang-for="pt"],
body[data-lang="en"] .lang-dot[data-lang-for="en"] {
  color: var(--accent);
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 100px;
  font-size: 14px; font-weight: 500;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-ghost {
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-strong); }
.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--accent-high);
  box-shadow: 0 0 40px var(--accent-glow);
}
.btn-arrow { font-family: var(--font-mono); opacity: .7; }

/* =================================================
   HERO
   ================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-gradient {
  position: absolute;
  top: -10%; right: -15%;
  width: 85%; height: 120%;
  background:
    radial-gradient(ellipse 70% 80% at 100% 50%,
      oklch(92% 0.09 180 / calc(0.9 * var(--gradient-intensity))) 0%,
      oklch(82% 0.12 185 / calc(0.55 * var(--gradient-intensity))) 25%,
      oklch(72% 0.13 190 / calc(0.28 * var(--gradient-intensity))) 50%,
      transparent 75%);
  filter: blur(50px);
}
.hero-blinds {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 70%;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 14px,
    rgba(255,255,255,0.55) 14px,
    rgba(255,255,255,0.55) 28px
  );
  mix-blend-mode: screen;
  mask-image: linear-gradient(90deg, transparent 0%, black 40%, black 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 40%, black 100%);
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 20% 40%, rgba(255,255,255,0.45), transparent 70%),
              linear-gradient(180deg, transparent 75%, var(--bg) 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  opacity: 0.06; mix-blend-mode: multiply;
  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.9' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 48px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 14ch;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}
.hero-title .italic { font-style: italic; font-weight: 300; color: var(--accent); }

.hero-sub {
  margin-top: 36px;
  max-width: 52ch;
  font-size: 19px; line-height: 1.5;
  color: var(--text-muted);
  font-weight: 300;
}
.hero-sub strong { color: var(--text); font-weight: 500; }

.hero-actions {
  margin-top: 56px;
  display: flex; gap: 14px; align-items: center;
}
.hero-actions .btn { padding: 14px 22px; font-size: 15px; }

.hero-meta {
  position: absolute;
  bottom: 40px; left: 32px; right: 32px;
  max-width: var(--container); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-meta span { display: flex; align-items: center; gap: 10px; }
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* =================================================
   SECTION HEADERS
   ================================================= */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section-head {
  max-width: 860px;
  margin-bottom: 80px;
}
.section-head .eyebrow { margin-bottom: 24px; display: inline-block; }
.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}
.section-title .italic { font-style: italic; color: var(--accent); }
.section-desc {
  font-size: 19px; color: var(--text-muted);
  max-width: 62ch; line-height: 1.55;
}

/* reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.16,.84,.24,1), transform .9s cubic-bezier(.16,.84,.24,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }

/* =================================================
   PROBLEM
   ================================================= */
.problem {
  border-top: 1px solid var(--border);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.problem-cell {
  background: var(--bg-card);
  padding: 36px 28px 40px;
  min-height: 260px;
  display: flex; flex-direction: column;
  position: relative;
  transition: background .3s;
}
.problem-cell:hover { background: var(--bg-elev); }
.problem-cell .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.problem-cell h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.problem-cell p {
  font-size: 14px; line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}
.problem-cell.span-2 { grid-column: span 2; }

/* =================================================
   STATS
   ================================================= */
.stats {
  background: linear-gradient(180deg, var(--bg) 0%, oklch(94% 0.03 185) 50%, var(--bg) 100%);
  position: relative;
}
.stats-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 100px;
}
.stats-kicker {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stats-kicker em { font-style: italic; color: var(--accent); }
.stats-lede {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.55;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat {
  border-top: 1px solid var(--border-strong);
  padding-top: 32px;
  position: relative;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(60px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--text);
  background: linear-gradient(180deg, var(--accent-high) 0%, var(--accent) 50%, var(--accent-deep) 130%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  margin-top: 20px;
  font-size: 15px; line-height: 1.45;
  color: var(--text);
  max-width: 28ch;
}
.stat-source {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =================================================
   PRODUCT (dashboard mock)
   ================================================= */
.product {
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.product-bg {
  position: absolute; top: 0; right: 0;
  width: 60%; height: 80%;
  background: radial-gradient(ellipse 60% 60% at 70% 30%,
    oklch(85% 0.12 185 / 0.35) 0%, transparent 70%);
  pointer-events: none;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.product-pillars {
  display: flex; flex-direction: column; gap: 2px;
  margin-top: 48px;
  border-top: 1px solid var(--border);
}
.pillar {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: start;
  cursor: pointer;
  transition: opacity .3s;
}
.pillar .verb {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 32px; line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-dim);
  transition: color .3s;
}
.pillar.active .verb,
.pillar:hover .verb { color: var(--accent); }
.pillar p {
  font-size: 15px; color: var(--text-muted); margin: 0; line-height: 1.5;
}
.pillar.active p { color: var(--text); }

.product-note {
  margin-top: 40px;
  padding: 20px 24px;
  border-left: 2px solid var(--accent);
  background: oklch(95% 0.03 185 / 0.7);
  font-size: 14px; color: var(--text-muted);
  line-height: 1.55;
}
.product-note strong { color: var(--text); font-weight: 500; }

/* ---- Dashboard ---- */
.dashboard {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAF6 100%);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(10, 20, 22, 0.18),
    0 0 0 1px rgba(10,20,22,0.02),
    0 0 120px -20px var(--accent-glow);
  font-size: 12px;
}
.dash-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(10,20,22,0.10);
}
.dash-title {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted); letter-spacing: 0.05em;
}
.dash-title b { color: var(--text); font-weight: 500; }
.dash-tabs { margin-left: auto; display: flex; gap: 2px; font-family: var(--font-mono); font-size: 10.5px; }
.dash-tab { padding: 4px 10px; border-radius: 6px; color: var(--text-dim); }
.dash-tab.active { color: var(--accent); background: oklch(92% 0.08 185 / 0.7); }

.dash-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 440px;
}
.dash-side {
  border-right: 1px solid var(--border);
  padding: 16px 0;
  display: flex; flex-direction: column; gap: 2px;
}
.dash-side-head {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-dim); letter-spacing: 0.12em;
  padding: 6px 18px; text-transform: uppercase;
}
.dash-side-item {
  padding: 7px 18px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 10px;
  border-left: 2px solid transparent;
}
.dash-side-item.active {
  color: var(--text);
  border-left-color: var(--accent);
  background: oklch(94% 0.04 185 / 0.9);
}
.dash-side-item .glyph {
  width: 12px; height: 12px; border-radius: 3px;
  background: rgba(10,20,22,0.12);
}
.dash-side-item.active .glyph { background: var(--accent); }
.dash-side-pill {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 100px;
  background: oklch(92% 0.12 28 / 0.55);
  color: #C63A2C;
}

.dash-main { padding: 20px 22px; display: flex; flex-direction: column; gap: 18px; }

.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dash-kpi {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  background: oklch(98% 0.005 185 / 0.9);
}
.dash-kpi-label {
  font-family: var(--font-mono); font-size: 9.5px;
  color: var(--text-dim); text-transform: uppercase;
  letter-spacing: 0.12em;
}
.dash-kpi-val {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  margin-top: 8px;
  letter-spacing: -0.02em;
}
.dash-kpi-delta {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
}
.dash-kpi-delta.neg { color: #C63A2C; }

.dash-chart {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: oklch(98% 0.005 185 / 0.9);
}
.dash-chart-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.dash-chart-title { font-size: 12px; color: var(--text); font-weight: 500; }
.dash-chart-sub { font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); }
.dash-chart-legend { margin-left: auto; display: flex; gap: 12px; font-family: var(--font-mono); font-size: 10px; }
.dash-chart-legend span { display: flex; align-items: center; gap: 6px; color: var(--text-muted); }
.dash-chart-legend .sw { width: 8px; height: 8px; border-radius: 2px; }

.dash-reconc {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.dash-reconc-head, .dash-reconc-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.6fr 0.8fr 18px;
  gap: 14px;
  padding: 10px 14px;
  align-items: center;
  font-size: 11.5px;
}
.dash-reconc-head {
  background: oklch(96% 0.015 185 / 0.9);
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-dim);
}
.dash-reconc-row { border-top: 1px solid var(--border); }
.dash-reconc-row .src { color: var(--text); }
.dash-reconc-row .val { font-family: var(--font-mono); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.dash-reconc-row .diff { font-family: var(--font-mono); color: #B8700F; font-variant-numeric: tabular-nums; }
.dash-reconc-row .diff.zero { color: var(--accent); }
.dash-reconc-row .status {
  font-family: var(--font-mono); font-size: 10px;
  padding: 2px 8px; border-radius: 100px; text-align: center;
  justify-self: start;
}
.dash-reconc-row .status.match { background: oklch(92% 0.08 185 / 0.6); color: var(--accent-deep); }
.dash-reconc-row .status.flag  { background: oklch(92% 0.08 60 / 0.7); color: #8A560B; }
.dash-reconc-row .status.auto  { background: oklch(94% 0.01 185 / 0.8); color: var(--text-muted); }
.dash-reconc-row .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 6px var(--accent);
  opacity: .7;
}

/* =================================================
   INTEGRATIONS
   ================================================= */
.integ {
  border-top: 1px solid var(--border);
  padding: 100px 0;
}
.integ-cat {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.integ-cat-row { margin-top: 40px; }
.integ-cat-items {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.integ-pill {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-body);
  transition: all .2s;
}
.integ-pill:hover { border-color: var(--accent); color: var(--text); }
.integ-pill.mono { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; }
.integ-pill-logo {
  padding: 8px 16px;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}
.integ-pill-logo img {
  display: block;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.integ-pill-logo:hover { border-color: var(--accent); }

/* =================================================
   FOUNDERS
   ================================================= */
.founders {
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.founders::before {
  content: '';
  position: absolute; top: 10%; right: -10%;
  width: 60%; height: 70%;
  background: radial-gradient(ellipse 60% 60% at 70% 40%,
    oklch(85% 0.12 185 / 0.35) 0%, transparent 70%);
  pointer-events: none;
}

/* exits banner */
.exits-banner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 36px 40px;
  margin-bottom: 96px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #FFFFFF 0%, oklch(96% 0.02 185) 100%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 50px -20px rgba(10,20,22,0.10), 0 0 60px oklch(85% 0.12 185 / 0.2) inset;
}
.exits-banner .label {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim);
  max-width: 10ch;
  line-height: 1.4;
}
.exits-chain {
  display: flex; align-items: center; gap: 18px;
  justify-content: flex-start;
}
.exits-chain .arrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  opacity: .8;
  letter-spacing: 0.1em;
}
.exits-chain .brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  white-space: nowrap;
  line-height: 1;
}
.exits-chain .brand-logo svg { display: block; height: 22px; width: auto; }
.exits-chain .brand-logo.vtex        { background: #F71963; box-shadow: 0 0 30px oklch(55% 0.24 12 / 0.35); }
.exits-chain .brand-logo.americanas  { background: #E60014; box-shadow: 0 0 30px oklch(58% 0.24 28 / 0.35); }
.exits-chain .brand-logo .ticker {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.1em;
  opacity: 0.9;
  padding: 2px 6px;
  background: rgba(0,0,0,0.25);
  border-radius: 3px;
}
.exits-chain .from-logo {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  line-height: 1;
}
.exits-chain .from-logo svg { display: block; height: 20px; width: auto; }
.exits-divider {
  width: 1px; height: 40px;
  background: var(--border-strong);
  justify-self: center;
}

/* founder cards */
.founders-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  position: relative;
}
.founder {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
}
.founder-photo-wrap {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
  background: oklch(92% 0.02 185);
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 40px -15px rgba(10,20,22,0.18);
}
.founder-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
  transition: filter .6s ease, transform 1.2s ease;
}
.founder:hover .founder-photo {
  filter: grayscale(0) contrast(1.08);
  transform: scale(1.02);
}
.founder-photo-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, oklch(10% 0.02 185 / 0.85) 100%),
    linear-gradient(135deg, transparent 60%, oklch(55% 0.15 185 / 0.18) 100%);
  pointer-events: none;
}
.founder-photo-badge {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  padding: 6px 10px;
  border-radius: 100px;
  background: var(--accent);
  backdrop-filter: blur(8px);
  border: 1px solid oklch(55% 0.15 185 / 0.3);
}
.founder-photo-caption {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  color: #fff;
}
.founder-photo-caption .name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.founder-photo-caption .role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.founder-bio {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}
.founder-bio > p { margin: 0 0 20px; }

.founder-exits {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.founder-exits li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}
.founder-exits .role-line b {
  font-weight: 500;
  color: var(--text);
  font-size: 14px;
  display: block;
}
.founder-exits .role-line span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  display: block;
  margin-top: 2px;
}
.founder-exits .exit-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.founder-exits .exit-logo.vtex { background: #F71963; padding: 5px 8px; }
.founder-exits .exit-logo.americanas { background: #E60014; padding: 5px 8px; }
.founder-exits .exit-logo svg { display: block; height: 14px; width: auto; }
.founder-exits .exit-logo .t {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.08em;
}

/* =================================================
   PRESS
   ================================================= */
.press {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.press-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: center;
}
.press-logos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  align-items: center;
}
.press-logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--text-dim);
  opacity: .7;
  letter-spacing: -0.01em;
  transition: opacity .3s, color .3s;
}
.press-logo:hover { opacity: 1; color: var(--text); }
.press-logo.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

/* =================================================
   MANIFESTO
   ================================================= */
.manifesto {
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.manifesto-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.manifesto-bg .glow {
  position: absolute;
  bottom: -30%; left: 50%; transform: translateX(-50%);
  width: 140%; height: 140%;
  background: radial-gradient(ellipse 40% 50% at 50% 60%,
    oklch(90% 0.11 185 / calc(0.9 * var(--gradient-intensity))) 0%,
    oklch(82% 0.1 188 / calc(0.45 * var(--gradient-intensity))) 30%,
    transparent 65%);
  filter: blur(40px);
}
.manifesto-bg .blinds {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg,
    transparent 0, transparent 20px,
    rgba(255,255,255,0.55) 20px, rgba(255,255,255,0.55) 40px);
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 70%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 70%, black 30%, transparent 70%);
}
.manifesto-inner {
  position: relative;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.manifesto-eyebrow {
  display: inline-block;
  margin-bottom: 40px;
}
.manifesto h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 32px;
}
.manifesto h2 em { font-style: italic; color: var(--accent); }
.manifesto p.manifesto-desc {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 58ch;
  margin: 0 auto 48px;
}

/* pipeline form */
.pipeline {
  margin-top: 80px;
  max-width: 680px;
  margin-left: auto; margin-right: auto;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 32px;
  text-align: left;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px -25px rgba(10,20,22,0.18);
}
.pipeline-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 24px;
}
.pipeline-head .t {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.pipeline-head .s {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pipeline-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px;
}
.pipeline input, .pipeline select {
  width: 100%;
  padding: 13px 14px;
  background: oklch(98% 0.005 185);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color .2s;
}
.pipeline input:focus, .pipeline select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(50% 0.15 185 / 0.15);
}
.pipeline input::placeholder { color: var(--text-dim); }
.pipeline-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  margin-top: 10px;
  transition: all .2s;
}
.pipeline-submit:hover {
  background: var(--accent-high);
  box-shadow: 0 0 30px var(--accent-glow);
}
.pipeline-fine {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 0.05em;
}

/* =================================================
   FOOTER
   ================================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; gap: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-family: var(--font-display); font-size: 15px; }
.footer-brand .brand-mark { color: var(--accent); }
.footer-tag { flex: 1; font-family: var(--font-body); font-size: 13px; color: var(--text-muted); letter-spacing: 0; }
.footer-meta { display: flex; gap: 12px; }
.footer-meta a { color: var(--accent); }

/* =================================================
   RESPONSIVE
   ================================================= */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .problem-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-cell.span-2 { grid-column: span 2; }
  .stats-intro, .product-grid, .founders-grid, .press-inner { grid-template-columns: 1fr; gap: 48px; }
  .exits-banner { grid-template-columns: auto 1fr; }
  .exits-divider { display: none; }
  :root { --section-pad: 96px; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 14px 20px; gap: 16px; }
  .nav-actions .btn-ghost { display: none; }
  .container, .hero-content, .manifesto-inner, .footer-inner { padding-left: 20px; padding-right: 20px; }
  .hero { padding: 140px 0 60px; }
  .pipeline-row { grid-template-columns: 1fr; }
  .problem-grid, .stats-grid { grid-template-columns: 1fr; }
  .problem-cell.span-2 { grid-column: span 1; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-reconc-head, .dash-reconc-row { grid-template-columns: 1fr 1fr 0.6fr; }
  .dash-reconc-head > :nth-child(2), .dash-reconc-head > :nth-child(3),
  .dash-reconc-row > :nth-child(2), .dash-reconc-row > :nth-child(3) { display: none; }
  .exits-banner { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .founders-grid { grid-template-columns: 1fr; }
}
