/* =====================================================
   DealCap USA · /funding — light institutional aesthetic
   Reuses hub tokens from ../styles.css
   ===================================================== */

:root {
  /* funding accent — deep bronze / warm ember (Direction A)
     Light-theme accent: aged bronze on light surfaces.
     Dark-theme accent (kept for future dark-mode work): warm ember. */
  --bronze: #19339d;
  --bronze-tint: #F6EFE6;
  --bronze-hover: #12277c;
  --ember: #627ce6;
  /* legacy aliases so existing selectors keep working during transition */
  --graphite: var(--bronze);
  --graphite-tint: var(--bronze-tint);
  --graphite-hover: var(--bronze-hover);
}

/* ============ Hero — dark, cobalt accent (matches hub type system) ============ */
:root {
  --fund-ink: #0B0D12;         /* near-black canvas */
  --fund-ink-2: #14171F;       /* card / secondary surface on dark */
  --fund-fog: #EDEEF2;         /* primary text on dark */
  --fund-mute: #8A8F9C;        /* secondary text on dark */
  --fund-hair: rgba(255,255,255,.08);
  --fund-hair-2: rgba(255,255,255,.14);
  --fund-cobalt: #4A6BFF;      /* cobalt accent (brighter for dark bg) */
  --fund-cobalt-hover: #6483FF;
  --fund-cobalt-glow: rgba(74,107,255,.22);
}
.fund-hero {
  position: relative;
  padding: 108px 0 96px;
  background:
    radial-gradient(1200px 600px at 82% 8%, rgba(74,107,255,.14), transparent 65%),
    linear-gradient(180deg, #0B0D12 0%, #0F1218 55%, #0B0D12 100%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--fund-fog);
  overflow: hidden;
  isolation: isolate;
}
.fund-hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.fund-hero-bg .bg-grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 25%, rgba(255,255,255,.025) 0, transparent 40%),
    radial-gradient(circle at 80% 75%, rgba(74,107,255,.05) 0, transparent 45%);
  mix-blend-mode: screen;
}
.fund-hero-bg .bg-glow {
  position: absolute;
  top: -25%; right: -10%;
  width: 780px; height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,107,255,.22) 0%, rgba(74,107,255,0) 62%);
  filter: blur(70px);
}
/* Subtle grid backdrop */
.fund-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(1200px 700px at 30% 40%, #000 40%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}
.fund-hero > .wrap {
  position: relative;
  z-index: 1;
}
.fund-hero-inner {
  max-width: 980px;
}

/* Tag — cobalt dot + label */
.fund-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--fund-hair-2);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(8px);
}
.fund-hero-tag .tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fund-cobalt);
  box-shadow: 0 0 0 4px rgba(74,107,255,.18), 0 0 12px rgba(74,107,255,.6);
}
.fund-hero-tag .tag-label {
  font-family: var(--ff-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fund-fog);
}

/* Legacy eyebrow — still used elsewhere on page (light-section eyebrows) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bronze);
  box-shadow: 0 0 0 4px rgba(25, 51, 157, .12);
}

/* Match hub hero title: General Sans display, weight 700, same clamp scale */
.fund-hero-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(48px, 6.8vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--fund-fog);
  margin: 0 0 28px;
  max-width: 22ch;
}
.fund-hero-title .line { display: block; }
.fund-hero-title .accent {
  color: var(--fund-cobalt);
  font-style: normal;
  font-weight: 700;
}

.fund-hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: #B5B9C4;
  max-width: 620px;
  margin: 0 0 40px;
}

.fund-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Cobalt primary button variant — replaces bronze */
.btn-cobalt {
  background: var(--fund-cobalt) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 22px -8px var(--fund-cobalt-glow), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.btn-cobalt:hover {
  background: var(--fund-cobalt-hover) !important;
  transform: translateY(-1px);
}
/* Ghost button variant tuned for dark hero */
.btn-ghost--dark {
  background: transparent !important;
  color: var(--fund-fog) !important;
  border: 1px solid var(--fund-hair-2) !important;
}
.btn-ghost--dark:hover {
  background: rgba(255,255,255,.05) !important;
  border-color: rgba(255,255,255,.24) !important;
}
/* Retain bronze utility class (dead in hero, kept if referenced elsewhere) */
.btn-bronze {
  background: var(--bronze) !important;
  color: #FBF6EE !important;
  box-shadow: 0 6px 16px -6px rgba(25, 51, 157, .55);
}
.btn-bronze:hover {
  background: var(--bronze-hover) !important;
  transform: translateY(-1px);
}

/* Ledger — 4 horizontal cells replacing the stat card */
.fund-hero-ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--fund-hair-2);
}
.ledger-cell {
  padding: 4px 24px 4px 0;
  border-right: 1px solid var(--fund-hair);
  min-width: 0;
}
.ledger-cell:last-child { border-right: 0; padding-right: 0; }
.ledger-cell + .ledger-cell { padding-left: 24px; }
.ledger-cell--wide { grid-column: span 1; }
.ledger-num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--fund-fog);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 10px;
}
.ledger-unit {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--fund-cobalt);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-left: 6px;
}
.ledger-lbl {
  font-size: 13px;
  color: var(--fund-mute);
  line-height: 1.4;
  letter-spacing: -0.005em;
}

/* Per-lane caps list inside a ledger cell */
.ledger-cell--caps { padding-right: 24px; }
.ledger-caps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.cap-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--ff-body);
  font-size: 13px;
  line-height: 1.2;
}
.cap-lane {
  color: var(--fund-mute);
  letter-spacing: -0.005em;
}
.cap-val {
  color: var(--fund-fog);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* Flow indicator inside the wide ledger cell */
.ledger-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  height: 26px;
}
.flow-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(74,107,255,.12);
  color: var(--fund-cobalt);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.flow-node--pill {
  padding: 0 12px;
  border-radius: 999px;
  background: var(--fund-cobalt);
  color: #FFFFFF;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.flow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(74,107,255,.55), rgba(74,107,255,.14));
  min-width: 12px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .15s ease, background .15s ease;
}
.btn-primary:hover { background: #1F2328; transform: translateY(-1px); }
.btn-primary--lg { padding: 16px 28px; font-size: 16px; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: background .15s ease, border-color .15s ease;
}
.btn-ghost:hover { background: #fff; border-color: var(--ink); }
.arrow { transition: transform .15s ease; }
.btn-primary:hover .arrow, .btn-ghost:hover .arrow { transform: translateX(2px); }

.fund-hero-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.stat-row:last-of-type { border-bottom: 0; }
.stat-num {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-num .stat-unit {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.14em;
  margin-left: 4px;
  font-weight: 600;
}
.stat-lbl {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: right;
}
.stat-note {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ============ Section head ============ */
.fund-lanes { padding: 96px 0; background: var(--bg); }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}
.section-lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 480px;
  margin: 0;
}

/* ============ Lane carousel ============ */
.lane-carousel {
  position: relative;
}

/* Lane pills — overhead strip mirroring the 6 cards. Highlights the centered card. */
.lane-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.lane-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  white-space: nowrap;
}
.lane-pill:hover {
  color: var(--ink);
  border-color: var(--line-2);
}
.lane-pill .lane-pill-num {
  font-family: var(--ff-display);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0,0,0,.04);
  transition: color .18s ease, background .18s ease;
}
.lane-pill.is-active {
  color: #fff;
  background: #1E4CFF;
  border-color: #1E4CFF;
  box-shadow: 0 6px 18px -8px rgba(30,76,255,.55);
}
.lane-pill.is-active .lane-pill-num {
  color: #fff;
  background: rgba(255,255,255,.18);
}

/* Hint bar: makes carousel scrollability obvious */
.lane-hint {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: -16px 0 20px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}
.lane-hint-count {
  font-family: var(--ff-display);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.lane-hint-count [data-current] { color: #1E4CFF; }
.lane-hint-sep { color: var(--muted); font-weight: 400; margin: 0 2px; }
.lane-hint-divider {
  width: 1px;
  height: 14px;
  background: var(--line-2);
}
.lane-hint-label {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.lane-hint-arrow {
  display: inline-flex;
  align-items: center;
  color: #1E4CFF;
  animation: laneHintBounce 1.6s ease-in-out infinite;
}
@keyframes laneHintBounce {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50%       { transform: translateX(4px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .lane-hint-arrow { animation: none; }
}

/* Track shell with edge-fade affordance */
.lane-track-shell {
  position: relative;
}
.lane-edge {
  position: absolute;
  top: 0;
  bottom: 24px;
  width: 60px;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
  transition: opacity .2s ease;
}
.lane-edge--left {
  left: -4px;
  background: linear-gradient(90deg, #F5F6F8 15%, rgba(245,246,248,0) 100%);
}
.lane-edge--right {
  right: -4px;
  background: linear-gradient(270deg, #F5F6F8 15%, rgba(245,246,248,0) 100%);
}
.lane-track-shell.is-start .lane-edge--left { opacity: 0; }
.lane-track-shell.is-end .lane-edge--right { opacity: 0; }

.lane-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-left: 0;
  padding: 4px 4px 24px;
  margin: -4px -4px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.lane-track::-webkit-scrollbar { display: none; }
.lane-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.lane-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.lane-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}
.lane-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.lane-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-2);
  transition: background .18s ease, width .18s ease;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.lane-dot.is-active {
  background: #1E4CFF;
  width: 22px;
  border-radius: 3px;
}
.lane-arrows {
  display: flex;
  gap: 10px;
}
.lane-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 4px 12px rgba(10,10,10,.14);
}
.lane-arrow:hover {
  background: #1E4CFF;
  border-color: #1E4CFF;
  color: #fff;
  box-shadow: 0 6px 16px rgba(30,76,255,.28);
}
.lane-arrow:active { transform: scale(0.96); }
.lane-arrow[disabled] {
  opacity: 0.32;
  cursor: not-allowed;
  background: #fff;
  border-color: var(--line-2);
  color: var(--muted);
  box-shadow: none;
}
.lane-arrow svg { width: 18px; height: 18px; }
.lane-code {
  font-family: var(--ff-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 18px;
}
.lane-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 8px;
}
.lane-sub {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.lane-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 20px;
  flex-grow: 1;
}
.lane-specs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin: 0 0 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lane-specs > div { display: flex; flex-direction: column; gap: 4px; }
.lane-specs dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.lane-specs dd {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.lane-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: background .15s ease, transform .15s ease;
  width: 100%;
}
.lane-cta:hover { background: #1F2328; transform: translateY(-1px); }
.lane-cta:hover .arrow { transform: translateX(2px); }

/* ============ Request lane (highlighted CTA card) ============ */
.fund-request {
  padding: 32px 0 96px;
  background: var(--bg);
}
.request-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.request-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 300px at 90% 30%, rgba(30,76,255,.06), transparent 60%);
  pointer-events: none;
}
.request-copy { position: relative; }
.request-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
}
.request-sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 12px;
}
.request-detail {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.request-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}
.request-note {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ============ How it works ============ */
.fund-how {
  padding: 96px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.how-step {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.how-num {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--graphite);
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}
.how-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.how-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* Footer styles inherit from hub styles.css (.footer / .footer-grid / .footer-col / .footer-bottom). No funding-page overrides. */

/* ============ Drawer ============ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.drawer.is-open {
  pointer-events: auto;
  opacity: 1;
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(640px, 100%);
  background: #fff;
  box-shadow: -24px 0 60px rgba(10,10,10,.15);
  display: flex;
  flex-direction: column;
  transform: translateX(24px);
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-head {
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.drawer-code {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 10px;
}
.drawer-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 6px;
}
.drawer-sub {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.drawer-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
  flex-shrink: 0;
}
.drawer-close:hover { background: var(--bg); color: var(--ink); }
.drawer-body {
  padding: 24px 32px 32px;
  overflow-y: auto;
  flex-grow: 1;
}

/* ============ Form (drawer intake) ============ */
.lf-form { display: flex; flex-direction: column; gap: 28px; }
.lf-section {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.lf-section:first-child {
  padding-top: 0;
  border-top: 0;
}
.lf-section__head { margin-bottom: 16px; }
.lf-section__title {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.lf-section__intro {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 16px;
}
.lf-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.lf-col-12 { grid-column: span 12; }
.lf-col-6  { grid-column: span 6; }
.lf-col-5  { grid-column: span 5; }
.lf-col-4  { grid-column: span 4; }
.lf-col-3  { grid-column: span 3; }
.lf-field { display: flex; flex-direction: column; gap: 6px; }
.lf-label {
  font-family: var(--ff-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.lf-req { color: var(--graphite); }
.lf-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
  outline: none;
}
.lf-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,76,255,.12);
}
.lf-textarea { resize: vertical; min-height: 80px; }
.lf-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%235B6470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.lf-money {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lf-money:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,76,255,.12);
}
.lf-money__pre {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: var(--bg);
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  border-right: 1px solid var(--line-2);
}
.lf-input--money { border: 0; border-radius: 0; flex: 1; }
.lf-input--money:focus { box-shadow: none; }
.lf-help {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 2px;
}
.lf-files {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lf-file {
  display: block;
  border: 1.5px dashed var(--line-2);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  background: var(--bg);
}
.lf-file:hover { border-color: var(--blue); background: rgba(30,76,255,.03); }
.lf-file__input { display: none; }
.lf-file__cta { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lf-file__icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 700;
}
.lf-file__text { font-size: 13px; color: var(--ink); }
.lf-file__hint { font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }
.lf-chips { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lf-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-2);
  max-width: 100%;
  transition: border-color .15s ease, background .15s ease;
}
.lf-chip:hover { border-color: rgba(30, 76, 255, 0.35); }
.lf-chip__name {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: var(--ink);
}
.lf-chip__meta {
  color: var(--muted);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}
.lf-chip__x {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--muted);
  line-height: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  flex: 0 0 auto;
  transition: color .15s ease, background .15s ease;
}
.lf-chip__x:hover,
.lf-chip__x:focus-visible {
  color: #b91c1c;
  background: rgba(185, 28, 28, 0.10);
  outline: none;
}
.lf-chip--clear { padding: 0; background: transparent; border: 0; }
.lf-chip__clear {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px dashed rgba(185, 28, 28, 0.35);
  color: #b91c1c;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .15s ease, border-color .15s ease;
}
.lf-chip__clear:hover,
.lf-chip__clear:focus-visible {
  background: rgba(185, 28, 28, 0.06);
  border-color: rgba(185, 28, 28, 0.55);
  outline: none;
}

/* Checkbox */
.lf-field--check .lf-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.lf-check__input { position: absolute; opacity: 0; pointer-events: none; }
.lf-check__box {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--line-2);
  border-radius: 4px;
  display: inline-block;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background .15s ease, border-color .15s ease;
  position: relative;
}
.lf-check__input:checked + .lf-check__box {
  background: var(--blue);
  border-color: var(--blue);
}
.lf-check__input:checked + .lf-check__box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.lf-check__label { font-size: 13px; line-height: 1.5; color: var(--ink-2); }

/* Submit button + status */
.lf-actions {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lf-submit {
  width: 100%;
  padding: 14px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: background .15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.lf-submit:hover { background: #1F2328; }
.lf-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.lf-status { font-size: 13px; text-align: center; padding: 12px; border-radius: 8px; }
.lf-status--ok { background: rgba(30,76,255,.06); color: var(--blue); }
.lf-status--err { background: #FFEEF2; color: #B12C4D; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .fund-hero { padding: 88px 0 72px; }
  .fund-hero-ledger { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .ledger-cell { padding: 4px 20px 4px 0; }
  .ledger-cell:nth-child(2) { border-right: 0; padding-right: 0; }
  .ledger-cell:nth-child(3) { border-top: 1px solid var(--fund-hair); padding-top: 24px; padding-left: 0; }
  .ledger-cell:nth-child(4) { border-top: 1px solid var(--fund-hair); padding-top: 24px; }
  .lane-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .explainer-grid { grid-template-columns: 1fr; gap: 20px; }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .request-card { grid-template-columns: 1fr; padding: 36px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .explainer-head { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .fund-hero { padding: 72px 0 56px; }
  .fund-hero-title { font-size: clamp(38px, 10vw, 54px); max-width: none; }
  .fund-hero-sub { font-size: 17px; margin-bottom: 32px; }
  .fund-hero-ctas { margin-bottom: 48px; }
  .fund-hero-ledger { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; }
  .ledger-cell { padding: 0 0 20px 0 !important; border-right: 0 !important; border-bottom: 1px solid var(--fund-hair); }
  .ledger-cell:last-child { border-bottom: 0; padding-bottom: 0 !important; }
  .ledger-cell:nth-child(3), .ledger-cell:nth-child(4) { border-top: 0; padding-top: 0 !important; }
  .ledger-num { font-size: 24px; }
  /* Pills scroll horizontally on mobile instead of wrapping */
  .lane-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px 4px;
  }
  .lane-pills::-webkit-scrollbar { display: none; }
  .lane-pill { flex-shrink: 0; }
  .fund-lanes { padding: 64px 0; }
  .fund-explainer { padding: 64px 0; }
  .fund-how { padding: 64px 0; }
  .lane-track { grid-auto-columns: calc(100% - 16px); }
  .how-steps { grid-template-columns: 1fr; }
  .request-card { padding: 28px 20px; }
  .lane-card { padding: 24px 22px 22px; }
  .explainer-card { padding: 28px 22px 24px; }
  .drawer-panel { width: 100%; }
  .drawer-head { padding: 22px 20px 18px; }
  .drawer-body { padding: 20px 20px 24px; }
  .lf-col-6, .lf-col-5, .lf-col-4, .lf-col-3 { grid-column: span 12; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .fund-hero-ctas { flex-direction: column; }
  .lane-arrow { width: 40px; height: 40px; }
}

/* ============ Explainer: "What is transactional funding?" ============ */
.fund-explainer {
  padding: 104px 0;
  background:
    radial-gradient(1200px 500px at 50% 0%, var(--bronze-tint) 0%, transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.explainer-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.explainer-eyebrow { color: var(--bronze); margin-bottom: 0; }
.explainer-title { margin: 0; }
.explainer-lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 640px;
  grid-column: 2;
}
.explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.explainer-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.explainer-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.explainer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  width: 40px;
  height: 3px;
  background: var(--bronze);
  border-radius: 0 0 3px 3px;
}
.explainer-num {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 32px;
  line-height: 1;
  color: var(--bronze);
  letter-spacing: -0.02em;
  margin: 4px 0 20px;
  font-variant-numeric: tabular-nums;
}
.explainer-tag {
  font-family: var(--ff-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-hover);
  margin-bottom: 12px;
}
.explainer-title-sm {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}
.explainer-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ============ Bronze accents elsewhere ============ */
.fund-hero .eyebrow .dot { background: var(--bronze); }
.how-num { color: var(--bronze); }
.lane-code { color: var(--bronze); }
.drawer-eyebrow { color: var(--bronze); }

/* ============ Explainer responsive (appended after base to win cascade) ============ */
@media (max-width: 1024px) {
  .explainer-grid { grid-template-columns: 1fr; gap: 20px; }
  .explainer-head { grid-template-columns: 1fr; gap: 16px; }
  .explainer-lede { grid-column: 1; max-width: none; }
}
@media (max-width: 640px) {
  .fund-explainer { padding: 64px 0; }
  .explainer-card { padding: 28px 22px 24px; }
  .explainer-head { margin-bottom: 40px; padding-bottom: 24px; }
}

/* ============================================================
   v36.135 · 2x2 lane grid + supporting strip rows
   Replaces the retired 6-card carousel. Reuses .lane-card
   visual system unchanged; only the container is new.
   ============================================================ */
.lane-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 0 32px;
}
.lane-grid .lane-card {
  padding: 36px 32px 28px;
  border-radius: var(--radius-lg);
  min-height: 100%;
}
.lane-grid .lane-title {
  font-size: 34px;
  letter-spacing: -0.03em;
}
.lane-grid .lane-code {
  color: #1E4CFF;
  letter-spacing: 0.24em;
}
.lane-grid .lane-card { position: relative; overflow: hidden; }
.lane-grid .lane-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1E4CFF 0%, #4A6BFF 100%);
  opacity: 0;
  transition: opacity .2s ease;
}
.lane-grid .lane-card:hover::before { opacity: 1; }

@media (max-width: 900px) {
  .lane-grid { grid-template-columns: 1fr; gap: 16px; }
  .lane-grid .lane-card { padding: 28px 24px 24px; }
  .lane-grid .lane-title { font-size: 28px; }
}

/* ============ Strip rows: HM/DSCR + Proof of Funds ============ */
.lane-strip-stack {
  display: grid;
  gap: 14px;
}
.lane-strip {
  display: grid;
  grid-template-columns: 68px 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 22px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.lane-strip--nospecs {
  grid-template-columns: 68px 1fr auto;
}
.lane-strip:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
  transform: translateY(-1px);
}
.lane-strip-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30,76,255,.10) 0%, rgba(74,107,255,.03) 100%);
  border: 1.5px solid rgba(30,76,255,.45);
  box-shadow: 0 0 0 1px rgba(30,76,255,.06), 0 1px 2px rgba(15,23,42,.04);
  color: #1E4CFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.lane-strip:hover .lane-strip-icon {
  border-color: rgba(30,76,255,.65);
  box-shadow: 0 0 0 1px rgba(30,76,255,.10), 0 2px 6px rgba(30,76,255,.10);
}

/* Small "Also known as" caption on 2x2 cards */
.lane-aka {
  font-family: var(--ff-body);
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted, #6B7280);
  font-style: italic;
  margin: -4px 0 14px;
  letter-spacing: 0.01em;
}

/* Audience "For" line — small, prominent above sub */
.lane-for {
  font-family: var(--ff-body);
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink, #0E1116);
  font-weight: 500;
  margin: 4px 0 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}
.lane-for-lbl {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1E4CFF;
  background: rgba(30,76,255,.08);
  border: 1px solid rgba(30,76,255,.28);
  border-radius: 4px;
  padding: 3px 7px;
  line-height: 1;
  flex-shrink: 0;
  position: relative;
  top: 1px;
}

/* Fee options / add-ons list under specs */
.lane-fees {
  list-style: none;
  padding: 0;
  margin: 12px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lane-fees li {
  font-family: var(--ff-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink, #0E1116);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(30,76,255,.03);
  border: 1px solid rgba(30,76,255,.10);
  border-radius: 8px;
}
.fee-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  background: #1E4CFF;
  border-radius: 5px;
  flex-shrink: 0;
  position: relative;
  top: 1px;
}
.fee-tag--tier {
  background: #0E1116;
}
.fee-tag--add {
  background: #6B7280;
  min-width: 22px;
  font-size: 14px;
  line-height: 1;
}

/* Small qualifier note appended to spec values */
.lane-specs .spec-note {
  display: block;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted, #6B7280);
  margin-top: 2px;
  line-height: 1.3;
}
.lane-strip-body {
  min-width: 0;
}
.lane-strip-code {
  font-family: var(--ff-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1E4CFF;
  margin-bottom: 8px;
}
.lane-strip-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.lane-strip-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #EEF7EF;
  color: #1F7A3A;
  border: 1px solid #CFE8D4;
  font-family: var(--ff-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lane-strip-sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 62ch;
}
.lane-strip-specs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(72px, auto);
  gap: 20px;
  margin: 0;
  padding: 0 8px 0 20px;
  border-left: 1px solid var(--line);
}
.lane-strip-specs > div { display: flex; flex-direction: column; gap: 3px; }
.lane-strip-specs dt {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.lane-strip-specs dd {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.lane-strip-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
  white-space: nowrap;
}
.lane-strip-cta:hover { background: #1F2328; transform: translateY(-1px); }
.lane-strip-cta:hover .arrow { transform: translateX(2px); }

@media (max-width: 900px) {
  .lane-strip {
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      "icon body"
      "specs specs"
      "cta cta";
    gap: 18px 16px;
    padding: 22px 22px;
  }
  .lane-strip-icon { grid-area: icon; width: 48px; height: 48px; border-radius: 12px; }
  .lane-strip-icon svg { width: 24px; height: 24px; }
  .lane-strip-body { grid-area: body; }
  .lane-strip-specs {
    grid-area: specs;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }
  .lane-strip-cta { grid-area: cta; width: 100%; }
  .lane-strip--nospecs {
    grid-template-areas:
      "icon body"
      "cta cta";
  }
}
/* ============================================================
   Funding accent override — antique bronze on locked navy
   Append to funding.css
   ============================================================ */

:root {
  --fund-accent: #3c59cc;
  --fund-accent-hover: #506bd7;
  --fund-accent-glow: rgba(60, 89, 204, .24);

  /* Backward-compatible aliases for existing funding selectors. */
  --fund-cobalt: var(--fund-accent);
  --fund-cobalt-hover: var(--fund-accent-hover);
  --fund-cobalt-glow: var(--fund-accent-glow);
}

.fund-hero {
  background:
    radial-gradient(1200px 600px at 82% 8%, rgba(60, 89, 204, .14), transparent 65%),
    linear-gradient(180deg, #0B0D12 0%, #0F1218 55%, #0B0D12 100%);
}

.fund-hero-bg .bg-grain {
  background-image:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, .025) 0, transparent 40%),
    radial-gradient(circle at 80% 75%, rgba(60, 89, 204, .05) 0, transparent 45%);
}

.fund-hero-bg .bg-glow {
  background: radial-gradient(circle, rgba(60, 89, 204, .22) 0%, rgba(60, 89, 204, 0) 62%);
}

.fund-hero-tag .tag-dot {
  background: var(--fund-accent);
  box-shadow:
    0 0 0 4px rgba(60, 89, 204, .18),
    0 0 12px rgba(60, 89, 204, .52);
}

.fund-hero-title .accent {
  color: var(--fund-accent);
}

.btn-cobalt {
  background: var(--fund-accent) !important;
  color: #0B0D12 !important;
  box-shadow:
    0 8px 22px -8px var(--fund-accent-glow),
    0 0 0 1px rgba(255, 255, 255, .04) inset;
}

.btn-cobalt:hover {
  background: var(--fund-accent-hover) !important;
}

.ledger-unit {
  color: var(--fund-accent);
}

.flow-node {
  background: rgba(60, 89, 204, .12);
  color: var(--fund-accent);
}

.flow-node--pill {
  background: var(--fund-accent);
  color: #0B0D12;
}

.flow-line {
  background: linear-gradient(90deg, rgba(60, 89, 204, .55), rgba(60, 89, 204, .14));
}

/* Nav CTA repaint on funding page only */
.page-funding .cta-pill {
  background: var(--fund-accent);
  color: #0B0D12;
}
.page-funding .cta-pill:hover {
  background: var(--fund-accent-hover);
}

/* ============================================================
   v36.168 — Premium lift for lane cards & strips
   Light 2×2 cards: keynote sheen + specular top edge + float shadow
   Dark strips (HM/DSCR, PoF): anodized dark with bronze accent
   ============================================================ */

/* --- Section stage lighting for the 2×2 grid --- */
.lane-grid {
  position: relative;
  isolation: isolate;
}
.lane-grid::before {
  content: "";
  position: absolute;
  inset: -40px -80px 0;
  background:
    radial-gradient(700px 320px at 25% 30%, rgba(30, 76, 255, 0.045), transparent 70%),
    radial-gradient(700px 320px at 75% 30%, rgba(30, 76, 255, 0.045), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.lane-grid > * { position: relative; z-index: 1; }

/* --- Light premium cards --- */
.lane-grid .lane-card {
  background:
    linear-gradient(180deg, #FFFFFF 0%, #FCFDFF 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    /* inner glass top edge */
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    /* soft ambient shadow beneath */
    0 22px 40px -18px rgba(15, 23, 42, 0.14),
    0 8px 20px -12px rgba(15, 23, 42, 0.08),
    /* faint cobalt spill */
    0 20px 60px -32px rgba(30, 76, 255, 0.20);
  transition:
    transform .45s cubic-bezier(.2,.7,.2,1),
    box-shadow .45s ease,
    border-color .45s ease;
}

/* Top specular sheen — subtle diagonal light on the face */
.lane-grid .lane-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* thin bright top edge highlight */
    linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 4%),
    /* diagonal glass sheen */
    linear-gradient(135deg, rgba(255,255,255,0.60) 0%, rgba(255,255,255,0.12) 22%, rgba(255,255,255,0) 46%);
  mix-blend-mode: overlay;
  opacity: 0.9;
  border-radius: inherit;
  z-index: 1;
}
/* Keep the existing cobalt top-accent bar (::before) above the sheen */
.lane-grid .lane-card::before { z-index: 2; height: 3px; }

/* Lift + intensify glow on hover */
.lane-grid .lane-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 76, 255, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 34px 60px -18px rgba(15, 23, 42, 0.18),
    0 14px 32px -12px rgba(15, 23, 42, 0.10),
    0 30px 80px -28px rgba(30, 76, 255, 0.30);
}

/* Ensure content sits above the sheen overlay */
.lane-grid .lane-card > * { position: relative; z-index: 3; }

@media (max-width: 900px) {
  .lane-grid::before { inset: 0; }
  .lane-grid .lane-card:hover { transform: translateY(-3px); }
}

/* --- Dark strips: Hard Money + Proof of Funds with bronze hint --- */
.lane-strip {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(520px 220px at 12% -20%, rgba(25, 51, 157, 0.18), transparent 65%),
    linear-gradient(180deg, #171C2B 0%, #0E1220 55%, #080B15 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #E7ECF5;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 22px 44px -22px rgba(0, 0, 0, 0.7),
    0 10px 24px -12px rgba(0, 0, 0, 0.45),
    0 20px 60px -32px rgba(25, 51, 157, 0.35);
  transition:
    transform .45s cubic-bezier(.2,.7,.2,1),
    box-shadow .45s ease,
    border-color .45s ease;
}

/* Top-edge specular highlight + faint diagonal sheen */
.lane-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 6%),
    linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 40%);
  mix-blend-mode: screen;
  border-radius: inherit;
  z-index: 1;
}
.lane-strip > * { position: relative; z-index: 2; }

.lane-strip:hover {
  transform: translateY(-3px);
  border-color: rgba(69, 99, 221, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 30px 60px -18px rgba(0, 0, 0, 0.8),
    0 14px 30px -12px rgba(0, 0, 0, 0.55),
    0 30px 70px -28px rgba(25, 51, 157, 0.5);
}

/* Icon tile — bronze-tinted glass */
.lane-strip .lane-strip-icon {
  background:
    radial-gradient(circle at 50% 15%, rgba(125, 149, 245, 0.35), rgba(25, 51, 157, 0.10) 55%, transparent 100%),
    linear-gradient(180deg, rgba(25, 51, 157, 0.20), rgba(80, 50, 20, 0.06));
  border: 1px solid rgba(69, 99, 221, 0.35);
  color: #8da1f3;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 6px 16px -6px rgba(25, 51, 157, 0.40);
}
.lane-strip:hover .lane-strip-icon {
  border-color: rgba(114, 138, 236, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 8px 20px -6px rgba(25, 51, 157, 0.55);
}

/* Text tones for dark surface */
.lane-strip .lane-strip-code    { color: #526dd6; letter-spacing: 0.24em; }
.lane-strip .lane-strip-title   { color: #F5F7FB; }
.lane-strip .lane-strip-sub     { color: #B7C0D3; }
.lane-strip .lane-strip-specs dt { color: #9AA4BC; }
.lane-strip .lane-strip-specs dd { color: #E7ECF5; }
.lane-strip .lane-strip-badge   {
  background: rgba(69, 99, 221, 0.16);
  color: #8da1f3;
  border: 1px solid rgba(69, 99, 221, 0.35);
}

/* CTA — dark surface variant */
.lane-strip .lane-strip-cta {
  background: rgba(255, 255, 255, 0.06);
  color: #F5F7FB;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.lane-strip .lane-strip-cta:hover {
  background: rgba(69, 99, 221, 0.14);
  border-color: rgba(69, 99, 221, 0.45);
  color: #FBEBD1;
  transform: translateY(-1px);
}

/* =====================================================================
   v36.220 — STACK card highlight (arrived via ?highlight=stack)
   Gold amber glow so the deep-linked card is immediately obvious.
   ===================================================================== */
.lane-card[data-lane="carry"].lane-card--highlighted {
  border-color: rgba(19, 66, 255, 0.72) !important;
  box-shadow:
    0 0 0 1px rgba(19, 66, 255, 0.55),
    0 12px 44px -8px rgba(19, 66, 255, 0.55),
    0 0 60px rgba(19, 66, 255, 0.28);
  animation: dc-stack-pulse 2.2s ease-in-out 3;
}
@keyframes dc-stack-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(19, 66, 255, 0.55),
      0 12px 44px -8px rgba(19, 66, 255, 0.45),
      0 0 40px rgba(19, 66, 255, 0.20);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(19, 66, 255, 0.85),
      0 16px 56px -6px rgba(19, 66, 255, 0.70),
      0 0 80px rgba(19, 66, 255, 0.40);
  }
}

/* =====================================================================
   v36.220 — MOBILE ACCORDION for lane cards + strips
   Collapse cards to header-only; tap header to expand.
   Only kicks in ≤ 640px. Desktop is untouched.
   ===================================================================== */
@media (max-width: 640px) {
  /* =====================================================================
     v36.222 — Mobile CAROUSEL for lane cards + strips
     Snap-scroll horizontal carousel, 85% card width with a small peek,
     full-bleed via negative side margin, dots under each carousel.
     Desktop is untouched.
     ===================================================================== */

  /* --- Lane grid: horizontal snap-scroll carousel ---------------------- */
  .lane-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 20px;
    padding: 4px 20px 4px;
    margin: 0 -20px;   /* full-bleed */
    scrollbar-width: none;
  }
  .lane-grid::-webkit-scrollbar { display: none; }

  .lane-grid .lane-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    /* Keep the card's existing padding + expanded content on mobile */
  }

  /* --- Strip stack: keep original stacked layout on mobile ------------- */
  /* (Hard Money / DSCR + Proof of Funds stay stacked, full-width) */

  /* --- Dots: paginator under the lane carousel ------------------------- */
  .lane-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
  }
  .lane-dots__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(10, 15, 30, 0.22);
    border: 0;
    padding: 0;
    transition: background .2s ease, transform .2s ease;
    cursor: pointer;
  }
  .lane-dots__dot.is-active {
    background: var(--blue, #1E4CFF);
    transform: scale(1.2);
  }
}
@media (min-width: 641px) {
  /* Hide mobile-only dot paginators on desktop */
  .lane-dots { display: none; }
}

/* ================== v36.225 · Mobile lane-card trim ==================
   User wants the informational copy kept. Only the tier/add-on fee list
   (Tier: Above $1M ... / +1% rush ...) is hidden on ≤640px — those are
   secondary pricing details that already surface again inside the Submit
   drawer and the calculator.

   v36.226 · Row-layout specs on mobile.
   The 3-column spec grid was breaking values like "15–25% of purchase price"
   across three lines. Switch to a single-column stack where each spec is a
   horizontal row (label left, value right). Also adds breathing room between
   the carousel dots and the Hard Money strip below.
   ==================================================================== */
@media (max-width: 640px) {
  .lane-grid .lane-card .lane-fees {
    display: none !important;
  }

  /* Row-layout specs: each of Amount / Timeline / Fee sits on its own row */
  .lane-grid .lane-card .lane-specs {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 0;
    margin: 0 0 4px;
  }
  .lane-grid .lane-card .lane-specs > div {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }
  .lane-grid .lane-card .lane-specs dt {
    flex: 0 0 auto;
  }
  .lane-grid .lane-card .lane-specs dd {
    text-align: right;
    font-size: 14px;
  }
  .lane-grid .lane-card .lane-specs .spec-note {
    display: inline;
    font-weight: 500;
    color: var(--muted);
    margin-left: 4px;
  }

  .lane-grid .lane-card .lane-cta {
    margin-top: 18px;
  }

  /* Breathing room between the dots and the Hard Money / DSCR strip */
  .lane-dots {
    margin: 18px 0 28px !important;
  }
}
