/* ============================================================
   SYNE ONE — FINANCE PAGES SHARED CSS
   Used by: green-finance.html, climate-capital.html
   Extends syne-shared.css — no token duplication
   ============================================================ */

/* ── HERO ───────────────────────────────────────────────────── */
.fp-hero {
  padding: calc(var(--nav-h) + 76px) 0 0;
  position: relative;
  overflow: hidden;
}
.fp-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(
      var(--fp-grid, rgba(16, 185, 129, 0.07)) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      var(--fp-grid, rgba(16, 185, 129, 0.07)) 1px,
      transparent 1px
    );
  background-size: 48px 48px;
}
.fp-hero-dot-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    circle,
    var(--fp-dot, rgba(16, 185, 129, 0.15)) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  opacity: 0.4;
}
.fp-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.fp-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 80px;
}
.fp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}
.fp-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: fp-pulse 2s ease-in-out infinite;
}
@keyframes fp-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.fp-hero-inner h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.07;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}
.fp-hero-inner h1 em {
  font-style: italic;
}
.fp-hero-sub {
  font-size: 1.06rem;
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 30px;
  max-width: 510px;
}
.fp-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.fp-hero-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
}
.fp-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── STAT STRIP ─────────────────────────────────────────────── */
.fp-stat-strip {
  background: var(--bg-snow);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.fp-stat-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.fp-stat-item {
  text-align: center;
  padding: 8px 44px;
}
.fp-stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.fp-stat-lbl {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}
.fp-stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── PRODUCT CARD ───────────────────────────────────────────── */
.fp-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.fp-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--fp-accent, var(--emerald));
}
.fp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.fp-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}
.fp-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 9px;
}
.fp-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 16px;
}
.fp-card-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 8px;
  margin-top: 4px;
}
.fp-card-stat-val {
  font-size: 1.1rem;
  font-weight: 800;
}
.fp-card-stat-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.fp-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

/* ── DUAL LAYOUT ────────────────────────────────────────────── */
.fp-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.fp-dual.flip {
  direction: rtl;
}
.fp-dual.flip > * {
  direction: ltr;
}
.fp-dual-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin: 14px 0;
}
.fp-dual-copy h2 em {
  font-style: italic;
}
.fp-dual-copy p {
  color: var(--text-muted);
  line-height: 1.82;
  font-size: 0.975rem;
  margin-bottom: 22px;
}
.fp-feat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.fp-fl-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.fp-fl-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.fp-fl-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.fp-fl-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── DEMO PANEL ─────────────────────────────────────────────── */
.fp-panel {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 64px rgba(15, 23, 42, 0.1);
}
.fp-panel-bar {
  height: 4px;
}
.fp-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-snow);
}
.fp-panel-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.fp-panel-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}
.fp-panel-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 1px;
}
.fp-panel-live {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.fp-panel-live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  animation: fp-pulse 2.4s ease-in-out infinite;
}
.fp-panel-body {
  padding: 16px 18px;
}

/* Panel KPIs */
.fp-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 14px;
}
.fp-kpi {
  background: var(--bg-frost);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 12px;
  text-align: center;
}
.fp-kpi-val {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 2px;
}
.fp-kpi-lbl {
  font-size: 0.62rem;
  color: var(--text-muted);
}

/* Panel label */
.fp-panel-lbl {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 9px;
}

/* Panel rows */
.fp-rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}
.fp-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  background: var(--bg-frost);
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 0.79rem;
  transition: background 0.15s;
}
.fp-row:hover {
  background: var(--bg-white);
}
.fp-row-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.fp-row-info {
  flex: 1;
  min-width: 0;
}
.fp-row-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.8rem;
}
.fp-row-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 1px;
}
.fp-row-val {
  font-size: 0.84rem;
  font-weight: 700;
  flex-shrink: 0;
}
.fp-row-badge {
  font-size: 0.63rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* Progress bar */
.fp-track {
  height: 5px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.fp-fill {
  height: 100%;
  border-radius: 999px;
  width: var(--w, 50%);
}

/* Callout chip inside panel */
.fp-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 13px;
  margin-top: 10px;
  background: var(--bg-snow);
}
.fp-chip-ico {
  font-size: 1rem;
  flex-shrink: 0;
}
.fp-chip-title {
  font-size: 0.76rem;
  font-weight: 700;
}
.fp-chip-sub {
  font-size: 0.67rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Floating chips */
.fp-float-chip {
  position: absolute;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.09);
  animation: fp-float 3.2s ease-in-out infinite;
  white-space: nowrap;
  z-index: 2;
}
@keyframes fp-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
.fpc1 {
  top: -16px;
  right: 24px;
  animation-delay: 0s;
}
.fpc2 {
  bottom: 16px;
  right: -20px;
  animation-delay: 1.1s;
}
.fpc3 {
  bottom: -16px;
  left: 24px;
  animation-delay: 0.58s;
}

/* ── HOW IT WORKS ───────────────────────────────────────────── */
.fp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 48px;
}
.fp-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(
    --fp-steps-line,
    linear-gradient(90deg, #d1fae5, #10b981, #d1fae5)
  );
  z-index: 0;
}
.fp-step {
  text-align: center;
  padding: 0 18px;
  position: relative;
  z-index: 1;
}
.fp-step-node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin: 0 auto 16px;
  border: 2px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--border);
  position: relative;
  z-index: 1;
  transition: transform 0.18s;
}
.fp-step:hover .fp-step-node {
  transform: scale(1.12);
}
.fp-step h5 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.fp-step p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── PROCESS TIMELINE ───────────────────────────────────────── */
.fp-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fp-tl-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 22px;
  position: relative;
}
.fp-tl-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 42px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.fp-tl-node {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  z-index: 1;
  border: 2px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--border);
}
.fp-tl-content h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.fp-tl-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.fp-tl-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 5px;
  margin-top: 5px;
  display: inline-block;
}

/* ── COMPARISON TABLE ───────────────────────────────────────── */
.fp-table-wrap {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.fp-table-head {
  display: grid;
  background: var(--bg-snow);
  border-bottom: 2px solid var(--border);
}
.fp-th {
  padding: 15px 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.fp-th.hl {
  background: var(--fp-hl-bg, #f0fdf9);
  color: var(--fp-hl-text, #047857);
  text-align: center;
}
.fp-table-row {
  display: grid;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.fp-table-row:last-child {
  border-bottom: none;
}
.fp-table-row:hover {
  background: var(--bg-frost);
}
.fp-td {
  padding: 12px 20px;
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}
.fp-td.feature {
  font-weight: 600;
  color: var(--ink);
}
.fp-td.hl {
  background: var(--fp-hl-bg, #f0fdf9);
  justify-content: center;
}
.fp-yes {
  color: var(--emerald-dark);
  font-weight: 800;
  font-size: 1rem;
}
.fp-no {
  color: var(--border);
  font-weight: 700;
  font-size: 1rem;
}
.fp-part {
  color: var(--amber-dark);
  font-weight: 700;
  font-size: 0.82rem;
}

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.fp-test-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.fp-test-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
/* .fp-test-card.feat {
  border-color: var(--fp-accent, var(--emerald));
} */
.fp-stars {
  color: var(--amber);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.fp-quote {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.82;
  margin-bottom: 18px;
}
.fp-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fp-av {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.fp-author-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
}
.fp-author-role {
  font-size: 0.74rem;
  color: var(--text-muted);
}
.fp-author-chip {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 5px;
  margin-top: 3px;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.fp-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

/* ── PAGE CTA ───────────────────────────────────────────────── */
.fp-cta {
  padding: 88px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.fp-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.fp-cta-inner h2 {
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.fp-cta-inner h2 em {
  font-style: italic;
}
.fp-cta-inner p {
  color: var(--text-muted);
  line-height: 1.82;
  font-size: 0.975rem;
  margin-bottom: 32px;
}
.fp-cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.fp-cta-trust {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}
.fp-cta-trust span::before {
  content: "✓ ";
  color: var(--emerald);
}

/* ── PARTNER LOGO STRIP ─────────────────────────────────────── */
.fp-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.fp-partner-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-snow);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.15s;
}
.fp-partner-chip:hover {
  border-color: var(--fp-accent, var(--emerald));
  background: var(--bg-white);
}

/* ── PILLAR CARDS (icon + number) ───────────────────────────── */
.fp-pillar {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.fp-pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.fp-pillar-num {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
  opacity: 0.12;
}
.fp-pillar-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.fp-pillar h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.fp-pillar p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── RATE TABLE (financing rates) ───────────────────────────── */
.fp-rate-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-white);
}
.fp-rate-table th {
  padding: 12px 18px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-snow);
  border-bottom: 2px solid var(--border);
}
.fp-rate-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--text);
  vertical-align: middle;
}
.fp-rate-table tr:last-child td {
  border-bottom: none;
}
.fp-rate-table tr:hover td {
  background: var(--bg-frost);
}
.fp-rate-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}

/* ── SECONDARY NAV (sticky section tabs) ────────────────────── */
.fp-subnav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-h);
  z-index: 89;
}
.fp-subnav-inner {
  display: flex;
  align-items: center;
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.fp-subnav-inner::-webkit-scrollbar {
  display: none;
}
.fp-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 14px 16px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.fp-tab:hover {
  color: var(--ink);
}
.fp-tab.active {
  color: var(--fp-tab-color, var(--emerald-dark));
  border-bottom-color: var(--fp-tab-border, var(--emerald));
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .fp-hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .fp-dual {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .fp-dual.flip {
    direction: ltr;
  }
  .fp-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .fp-steps::before {
    display: none;
  }
  .fp-faq-grid {
    grid-template-columns: 1fr;
  }
  .fp-stat-sep {
    display: none;
  }
  .fp-stat-item {
    padding: 8px 20px;
  }
}
@media (max-width: 580px) {
  .fp-steps {
    grid-template-columns: 1fr;
  }
  .fp-hero-inner h1 {
    font-size: 2.2rem;
  }
  .fp-kpis {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── NAV HAMBURGER (from both files) ──────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}
@media (max-width: 600px) {
  .nav-hamburger {
    display: flex;
  }
}
