/* Intercapital — institutional fintech */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #F4F1EC;
  --bg-card: #FBFAF7;
  --ink: #0E1B2C;
  --ink-2: #1B2A3F;
  --muted: #6B7787;
  --line: rgba(14, 27, 44, 0.10);
  --line-strong: rgba(14, 27, 44, 0.22);
  --accent: oklch(0.58 0.10 195);     /* teal */
  --accent-deep: oklch(0.42 0.10 200);
  --positive: oklch(0.62 0.11 155);   /* sober green */
  --warn: oklch(0.72 0.13 70);
  --dark-bg: #0E1B2C;
  --dark-bg-2: #142436;

  --font-display: 'Inter Tight', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 4px;
  --radius-lg: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-display);
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* ---------- Top Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 236, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
}
.brand-mark {
  width: 22px; height: 22px;
  background: var(--ink);
  position: relative;
  border-radius: 2px;
}
.brand-mark::after {
  content: ''; position: absolute; inset: 4px 4px 4px 11px;
  background: var(--accent);
  border-radius: 1px;
}
.nav-links {
  display: flex; gap: 4px; align-items: center;
}
.nav-link {
  padding: 8px 14px; font-size: 14px; color: var(--ink);
  border-radius: 999px;
  transition: background 0.15s;
}
.nav-link:hover { background: rgba(14,27,44,0.05); }
.nav-link.active {
  background: var(--ink); color: var(--bg);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-size: 14px; font-weight: 500; border: none;
}
.nav-cta:hover { background: var(--ink-2); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow .dot { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.display {
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.display-2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.h-section {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.h-card {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 64ch;
  text-wrap: pretty;
  font-weight: 400;
}
.body { color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-tight { padding: 64px 0; border-top: 1px solid var(--line); }
.section-dark { background: var(--dark-bg); color: #E6ECF3; border-top: none; }
.section-dark .eyebrow { color: rgba(230, 236, 243, 0.5); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #F4F1EC; }
.section-dark .body { color: rgba(230, 236, 243, 0.75); }

.section-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: start;
}
.section-head-stacked { display: block; }
.section-head-stacked .h-section { margin-top: 12px; max-width: 20ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg);
  transition: transform 0.1s, background 0.15s;
}
.btn:hover { background: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn-arrow::after {
  content: '→'; font-family: var(--font-mono); font-weight: 400;
}
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: rgba(14,27,44,0.04); }
.btn-light {
  background: var(--bg); color: var(--ink); border-color: var(--bg);
}
.btn-light:hover { background: #FFFFFF; }
.btn-sm { padding: 9px 14px; font-size: 13px; }

/* ---------- Cards / surfaces ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.card-flat {
  border-top: 1px solid var(--line-strong);
  padding: 28px 0 0;
}

/* ---------- Tables ---------- */
.itable {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.itable th, .itable td {
  text-align: left;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.itable th {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-bottom: 12px;
}
.itable td.num, .itable th.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--font-mono); }
.itable tr:last-child td { border-bottom: none; }
.itable .row-label { color: var(--muted); width: 40%; }

/* ---------- Pill / chip ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(14,27,44,0.05);
  border-radius: 999px;
  color: var(--ink-2);
}
.chip.accent { background: rgba(0,150,160,0.10); color: var(--accent-deep); }
.chip.dark { background: rgba(255,255,255,0.10); color: #E6ECF3; }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  font-family: var(--font-display);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  border-radius: 6px;
  color: var(--ink);
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink);
}
.radiogroup { display: flex; gap: 8px; flex-wrap: wrap; }
.radiogroup label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border: 1px solid var(--line-strong);
  border-radius: 999px; cursor: pointer;
  font-family: var(--font-display);
  font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--ink);
}
.radiogroup input { accent-color: var(--ink); }
.radiogroup label:has(input:checked) {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark-bg);
  color: rgba(230, 236, 243, 0.7);
  padding: 80px 0 32px;
}
.footer h4 {
  color: #F4F1EC;
  font-size: 13px; font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 500; margin-bottom: 16px;
}
.footer a { display: block; padding: 5px 0; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(230, 236, 243, 0.45);
}

/* ---------- Helpers ---------- */
.divider { height: 1px; background: var(--line); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.placeholder {
  background: repeating-linear-gradient(
    135deg,
    rgba(14,27,44,0.04) 0 8px,
    rgba(14,27,44,0.07) 8px 16px
  );
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 24px;
}
.placeholder.dark {
  background: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,0.04) 0 8px,
    rgba(255,255,255,0.07) 8px 16px
  );
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(230, 236, 243, 0.6);
}

/* numbered list with mono numerals */
.numlist { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.numlist > li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.numlist > li:last-child { border-bottom: 1px solid var(--line); }
.numlist > li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-deep);
  letter-spacing: 0.04em;
  padding-top: 4px;
}
.numlist h4 { font-size: 18px; font-weight: 500; margin-bottom: 6px; letter-spacing: -0.01em; }
.numlist p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* step flow (compact ordered list inside a card) */
.step-flow {
  list-style: none; margin: 0; padding: 0;
}
.step-flow > li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.step-flow > li:last-child { border-bottom: none; }
.step-flow .step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-deep);
  letter-spacing: 0.05em;
  font-weight: 500;
}
.step-flow .step-body { display: flex; flex-direction: column; gap: 2px; }
.step-flow .step-title {
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em; color: var(--ink);
}
.step-flow .step-meta {
  font-size: 12.5px; color: var(--muted);
}
.step-flow .step-time {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; color: var(--ink-2);
  background: rgba(14,27,44,0.04);
  padding: 5px 10px; border-radius: 4px;
  white-space: nowrap;
}

/* document groups */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.doc-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(14,27,44,0.02);
  overflow: hidden;
}
.doc-group-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(14,27,44,0.025);
}
.doc-group-count {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.08em;
}
.doc-list {
  list-style: none; margin: 0; padding: 0;
}
.doc-list li {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 12px; align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink);
}
.doc-list li:last-child { border-bottom: none; }
.doc-icon {
  font-size: 12px;
  color: var(--accent-deep);
}
.doc-tag {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.06em;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(0,130,150,0.10);
  color: var(--accent-deep);
}
.doc-tag-opt {
  background: rgba(14,27,44,0.06);
  color: var(--muted);
}
@media (max-width: 900px) {
  .doc-grid { grid-template-columns: 1fr; }
}

/* page tag for routing */
.page { display: none; }
.page.active { display: block; }

/* hero block */
.hero {
  padding: 80px 0 96px;
  position: relative;
}
.hero .eyebrow { margin-bottom: 24px; }
.hero-cta-row { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* ---------- Hero (split, product-led) ---------- */
.hero-split {
  padding: 0 0 96px;
  background: linear-gradient(180deg, #F4F1EC 0%, #EFE8DF 100%);
  overflow: hidden;
  position: relative;
}
.hero-split-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(560px, 1.15fr);
  gap: 0;
  align-items: stretch;
  min-height: 720px;
  position: relative;
}
.hero-copy {
  max-width: 560px;
  padding: 120px 32px 120px 0;
  margin-left: auto;
  padding-left: 64px;
  align-self: center;
}
.hero-display {
  font-size: clamp(48px, 5.6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.038em;
  font-weight: 500;
}
.hero-lede {
  margin-top: 22px;
  font-size: 17px;
  max-width: 44ch;
  color: var(--ink-2);
  line-height: 1.5;
}
.email-capture {
  display: flex;
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 5px;
  max-width: 440px;
  box-shadow: 0 1px 0 rgba(14,27,44,0.04);
}
.email-capture input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 15px;
  font-family: var(--font-display);
  background: transparent;
  color: var(--ink);
}
.email-capture input::placeholder { color: var(--muted); }
.btn-capture {
  background: var(--accent-deep);
  color: #fff;
  border: none;
  padding: 11px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-display);
  letter-spacing: -0.005em;
}
.btn-capture:hover { background: oklch(0.36 0.10 200); }
.hero-secondary-row {
  display: flex;
  gap: 28px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.hero-secondary {
  font-size: 14px;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.hero-secondary:hover { color: var(--ink); }
.play-mark {
  display: inline-flex;
  width: 18px; height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 9px;
  align-items: center;
  justify-content: center;
  padding-left: 1px;
}

/* Hero stage (right column, full-bleed) */
.hero-stage {
  position: relative;
  align-self: stretch;
  background: transparent;
  border-left: none;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stage-glow {
  position: absolute;
  width: 80%; height: 60%;
  top: 20%; left: 10%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0,130,150,0.10), rgba(0,130,150,0) 70%);
  filter: blur(40px);
  z-index: 0;
}
.float-dash {
  position: relative;
  z-index: 2;
  width: 78%;
  max-width: 580px;
  height: 540px;
  background: #FBFAF7;
  border: 1px solid rgba(14,27,44,0.08);
  border-radius: 14px;
  box-shadow:
    0 80px 80px -30px rgba(14,27,44,0.30),
    0 30px 50px -16px rgba(14,27,44,0.18),
    0 0 0 1px rgba(14,27,44,0.04),
    inset 0 1px 0 rgba(255,255,255,0.9);
  font-family: var(--font-display);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.fd-pane {
  display: none;
  flex: 1;
  overflow: hidden;
}
.fd-pane-active {
  display: flex;
  flex-direction: column;
  animation: fd-fadein 0.5s ease;
}
.fd-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(14,27,44,0.07);
  background: rgba(14,27,44,0.025);
}
.fd-tabs { display: flex; gap: 6px; position: relative; }
.fd-tab {
  font-size: 12px; padding: 6px 12px; border-radius: 6px;
  color: var(--muted); font-weight: 500;
  position: relative; z-index: 2;
  transition: color 0.4s ease;
  cursor: default;
}
.fd-tab.is-active { color: var(--ink); }
.fd-tab-indicator {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(14,27,44,0.08);
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1), width 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.fd-live-dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: oklch(0.50 0.11 155);
  margin-right: 2px;
  animation: fd-pulse 1.6s infinite;
}
@keyframes fd-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,178,135,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(74,178,135,0); }
}
.fd-pane { display: none; }
.fd-pane-active { display: flex; flex-direction: column; flex: 1; animation: fd-fadein 0.5s ease; }
@keyframes fd-fadein {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Row enter animation (new operations sliding in from top) */
@keyframes fd-row-in {
  from { opacity: 0; transform: translateY(-12px); max-height: 0; }
  to { opacity: 1; transform: translateY(0); max-height: 60px; }
}
.fd-row.fd-row-new {
  animation: fd-row-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: rgba(0,130,150,0.06);
}

/* Operaciones tab */
.fd-ops-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(14,27,44,0.06);
}
.fd-ops-title {
  font-size: 18px; font-weight: 500; letter-spacing: -0.015em; margin-top: 6px;
}
.fd-ops-sub {
  font-size: 12px; color: var(--muted); margin-top: 4px;
}
.fd-ops-head-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.fd-ops-id {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.08em; color: var(--muted);
}
.fd-progress {
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(14,27,44,0.06);
}
.fd-progress-track {
  height: 6px; background: rgba(14,27,44,0.08);
  border-radius: 999px; overflow: hidden;
  position: relative;
}
.fd-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, oklch(0.42 0.10 200), oklch(0.55 0.12 195));
  border-radius: 999px;
  transition: width 1.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.fd-progress-labels {
  display: flex; justify-content: space-between;
  margin-top: 10px;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.08em; color: var(--muted);
  text-transform: uppercase;
}
.fd-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(14,27,44,0.06);
}
.fd-stats > div { padding: 14px 18px; border-right: 1px solid rgba(14,27,44,0.05); }
.fd-stats > div:last-child { border-right: none; }
.fd-timeline {
  padding: 18px 24px 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
}
.fd-tl-item {
  display: grid; grid-template-columns: 18px 1fr;
  gap: 12px; padding: 8px 0;
  align-items: center;
}
.fd-tl-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(14,27,44,0.18);
  border: 2px solid #FBFAF7;
  box-shadow: 0 0 0 1px rgba(14,27,44,0.18);
}
.fd-tl-done .fd-tl-dot {
  background: oklch(0.50 0.11 155);
  box-shadow: 0 0 0 1px oklch(0.50 0.11 155);
}
.fd-tl-active .fd-tl-dot {
  background: oklch(0.42 0.10 200);
  box-shadow: 0 0 0 1px oklch(0.42 0.10 200), 0 0 0 5px rgba(0,130,150,0.18);
  animation: fd-pulse-blue 1.6s infinite;
}
@keyframes fd-pulse-blue {
  0%, 100% { box-shadow: 0 0 0 1px oklch(0.42 0.10 200), 0 0 0 4px rgba(0,130,150,0.18); }
  50% { box-shadow: 0 0 0 1px oklch(0.42 0.10 200), 0 0 0 9px rgba(0,130,150,0); }
}
.fd-tl-item > div {
  display: flex; flex-direction: column;
  font-size: 12.5px;
}
.fd-tl-item strong { font-weight: 500; color: var(--ink); }
.fd-tl-item span { color: var(--muted); font-size: 11px; margin-top: 2px; }
.fd-tl-item:not(.fd-tl-done):not(.fd-tl-active) strong { color: var(--muted); }

.fd-ops-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-top: 1px solid rgba(14,27,44,0.06);
  background: rgba(14,27,44,0.02);
}
.fd-ops-foot-row {
  display: flex; flex-direction: column; gap: 4px;
}
.fd-ops-foot-val {
  font-size: 12.5px; font-weight: 500; color: var(--ink);
}
.fd-rep-foot {
  margin-top: auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(14,27,44,0.06);
  background: rgba(14,27,44,0.02);
}
.fd-rep-foot > div {
  padding: 14px 18px;
  border-right: 1px solid rgba(14,27,44,0.05);
}
.fd-rep-foot > div:last-child { border-right: none; }

/* Reportes tab */
.fd-donut { display: flex; justify-content: flex-end; }
.fd-bars { padding: 18px 24px 24px; }
.fd-bar-row {
  display: grid; grid-template-columns: 110px 1fr 60px;
  gap: 12px; align-items: center;
  padding: 8px 0;
  font-size: 12px;
}
.fd-bar-label { color: var(--ink-2); }
.fd-bar-track {
  height: 8px; background: rgba(14,27,44,0.06);
  border-radius: 4px; overflow: hidden;
}
.fd-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, oklch(0.42 0.10 200), oklch(0.58 0.10 195));
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}
.fd-bar-val {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 11px; text-align: right; color: var(--ink-2);
}
.fd-spark {
  width: 100%; height: 64px; display: block;
}
#fdSparkLine, #fdSparkFill {
  transition: d 1.0s cubic-bezier(0.65,0,0.35,1);
}
#fdSparkDot {
  transition: cy 1.0s cubic-bezier(0.65,0,0.35,1);
  filter: drop-shadow(0 0 4px rgba(0,130,150,0.5));
}
.fd-flash {
  animation: fd-flash 0.6s ease;
}
@keyframes fd-flash {
  0%, 100% { color: var(--ink); }
  40% { color: oklch(0.42 0.10 200); }
}
.fd-pill {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  color: oklch(0.50 0.11 155); background: oklch(0.94 0.04 155);
  padding: 4px 10px; border-radius: 999px;
}
.fd-summary {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 24px; padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(14,27,44,0.06);
  align-items: center;
}
.fd-k {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.10em; color: var(--muted); margin-bottom: 6px;
}
.fd-v {
  font-size: 28px; font-weight: 500;
  letter-spacing: -0.025em; font-variant-numeric: tabular-nums; line-height: 1;
}
.fd-cur {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--muted); margin-left: 8px; font-weight: 400;
}
.fd-delta {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; margin-top: 8px;
  color: oklch(0.50 0.11 155);
}
.fd-delta span { color: var(--muted); }
.fd-spark { width: 100%; height: 64px; display: block; }
.fd-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(14,27,44,0.06);
}
.fd-kpis > div { padding: 14px 18px; border-right: 1px solid rgba(14,27,44,0.05); }
.fd-kpis > div:last-child { border-right: none; }
.fd-v2 { font-size: 18px; font-weight: 500; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.fd-table { padding: 4px 8px 8px; }
.fd-row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.7fr 0.9fr;
  gap: 14px; padding: 12px;
  font-size: 13px; align-items: center;
  border-bottom: 1px solid rgba(14,27,44,0.05);
}
.fd-row:last-child { border-bottom: none; }
.fd-head {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.10em; color: var(--muted);
  border-bottom: 1px solid rgba(14,27,44,0.10);
}
.fd-head .num { text-align: right; }
.fd-row .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; }
.fd-mono { font-family: var(--font-mono); font-size: 12px; font-weight: 500; }
.fd-st {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 999px;
}
.fd-st-act { background: rgba(0, 130, 150, 0.10); color: var(--accent-deep); }
.fd-st-paid { background: oklch(0.94 0.04 155); color: oklch(0.45 0.10 155); }
.fd-st-disb { background: rgba(14,27,44,0.06); color: var(--ink-2); }

@media (max-width: 1100px) {
  .float-dash { width: 90%; }
}
.hero-bg-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

/* ====== HERO CARD (floating, tilted) ====== */
.hero-card {
  position: absolute;
  top: 14%;
  left: 8%;
  width: 360px;
  height: 220px;
  border-radius: 16px;
  background:
    radial-gradient(120% 80% at 0% 0%, oklch(0.32 0.06 230) 0%, oklch(0.20 0.04 240) 60%, #0E1B2C 100%);
  color: #F4F1EC;
  padding: 22px 24px;
  box-shadow:
    0 50px 80px -30px rgba(14,27,44,0.55),
    0 20px 40px -16px rgba(14,27,44,0.30);
  font-family: var(--font-display);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(-8deg) rotateY(-12deg) rotateX(6deg);
  transform-origin: 50% 50%;
  z-index: 3;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 40%);
  pointer-events: none;
}
.hc-top { display: flex; justify-content: space-between; align-items: center; }
.hc-brand {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
}
.hc-chip {
  width: 36px; height: 26px;
  background: linear-gradient(135deg, #D4B97A, #8C6E2A);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -2px 4px rgba(0,0,0,0.3);
}
.hc-mid { }
.hc-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(244,241,236,0.55);
  margin-bottom: 6px;
}
.hc-num {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hc-bot {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}
.hc-k {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(244,241,236,0.5);
  margin-bottom: 4px;
}
.hc-v {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.hc-net {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(244,241,236,0.45);
}

/* ====== HERO PHONE (floating, tilted) ====== */
.hero-phone {
  position: absolute;
  top: 8%;
  right: 6%;
  width: 260px;
  height: 540px;
  border-radius: 38px;
  background: #0E1B2C;
  padding: 12px;
  box-shadow:
    0 60px 90px -30px rgba(14,27,44,0.55),
    0 24px 40px -16px rgba(14,27,44,0.30),
    inset 0 0 0 2px rgba(255,255,255,0.08);
  transform: rotate(6deg) rotateY(-8deg) rotateX(4deg);
  transform-origin: 50% 50%;
  z-index: 4;
}
.hp-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #000;
  border-radius: 12px;
  z-index: 2;
}
.hp-screen {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #FBFAF7 0%, #F0EAE0 100%);
  border-radius: 28px;
  padding: 36px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-display);
  color: var(--ink);
  overflow: hidden;
}
.hp-status {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 6px;
}
.hp-greet {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.hp-amount {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.hp-amount span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-left: 6px;
  font-weight: 400;
}
.hp-delta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: oklch(0.50 0.11 155);
}
.hp-card {
  margin-top: 6px;
  background: #fff;
  border: 1px solid rgba(14,27,44,0.08);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(14,27,44,0.04);
}
.hp-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  align-items: center;
}
.hp-row span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.hp-row strong {
  font-weight: 500;
}
.hp-cta {
  margin-top: auto;
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
}

@media (max-width: 1100px) {
  .hero-card { left: 4%; width: 300px; height: 190px; }
  .hero-phone { right: 4%; width: 220px; height: 460px; }
}
@media (max-width: 700px) {
  .hero-card { transform: rotate(-4deg); width: 260px; height: 170px; }
  .hero-phone { transform: rotate(4deg); width: 180px; height: 380px; top: auto; bottom: 4%; }
}

/* ============ Floating diversification card (Brex-style, behind tablet) ============ */
.diver-card {
  position: absolute;
  top: 14%;
  left: 4%;
  width: 240px;
  background: var(--ink);
  color: #F4F1EC;
  border-radius: 12px;
  box-shadow:
    0 40px 60px -20px rgba(14,27,44,0.45),
    0 16px 30px -10px rgba(14,27,44,0.25);
  padding: 18px 20px;
  z-index: 4;
  transform: rotate(-3deg);
  font-family: var(--font-display);
}
.dc-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(244,241,236,0.5);
}
.dc-title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.dc-body {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  margin-top: 14px;
  align-items: center;
}
.dc-donut { width: 70px; height: 70px; }
.dc-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.dc-legend li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 10.5px;
  color: rgba(244,241,236,0.85);
}
.dc-sw { width: 10px; height: 10px; border-radius: 2px; }
.dc-pct {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(244,241,236,0.55);
}

@media (max-width: 1100px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy { padding: 64px 32px 0; margin-left: 0; max-width: 100%; }
  .hero-stage { min-height: 560px; margin-top: 48px; }
  .hero-tablet { right: -12%; width: 110%; max-width: none; }
  .diver-card { left: 4%; top: 6%; }
}
@media (max-width: 600px) {
  .hero-tablet { right: -20%; width: 130%; }
  .diver-card { width: 200px; left: 4%; top: 4%; transform: rotate(-2deg); }
  .email-capture { flex-direction: column; padding: 6px; }
  .btn-capture { width: 100%; }
}

/* Stat ticker */
.ticker {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ticker > div {
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}
.ticker > div:last-child { border-right: none; }
.ticker .k {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.ticker .v {
  font-family: var(--font-display); font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em;
}

/* OIG flow diagram */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0; align-items: stretch;
}
.flow-node {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.flow-node .role {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 10px;
}
.flow-node .title { font-size: 18px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 6px; }
.flow-node .desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
.flow-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 12px;
  font-family: var(--font-mono);
  color: var(--accent-deep);
  font-size: 12px;
  position: relative;
}
.flow-arrow::before {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: var(--line-strong);
}
.flow-arrow span {
  position: relative; z-index: 1; background: var(--bg);
  padding: 4px 10px;
  letter-spacing: 0.04em;
}

/* tag list */
.taglist { display: flex; flex-wrap: wrap; gap: 8px; }
.taglist .tag {
  font-family: var(--font-mono); font-size: 12px;
  padding: 6px 12px; border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-2);
}

/* responsive */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .ticker { grid-template-columns: 1fr 1fr; }
  .ticker > div:nth-child(2) { border-right: none; }
  .ticker > div:nth-child(1), .ticker > div:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); padding: 12px 0; }
  .nav-links { display: none; }
}




/* Hero "liquidez" underline — straight thin line that draws on load */
.hero-mark {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hero-underline {
  position: absolute;
  left: 0;
  bottom: -0.06em;
  width: 100%;
  height: 0.14em;
  pointer-events: none;
  overflow: visible;
}
.hero-underline line, .hero-underline path {
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.65, 0, 0.35, 1);
  transition-delay: 0.5s;
}
.hero-underline.is-drawn line, .hero-underline.is-drawn path {
  stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: reduce) {
  .hero-underline line, .hero-underline path { stroke-dashoffset: 0 !important; transition: none !important; }
}
