/* ═══════════════════════════════════════════════════════════════════════
   /solutions/finance — web signals as alternative data. Own spine: alt-data
   desk (sparkline tape) → web signal leads the reported print (area + lead
   gap) → the desk's sources → purple coverage band. Accent PURPLE.
   ═══════════════════════════════════════════════════════════════════════ */
@import url("../../_ds/fonts.css");
@import url("../../_ds/theme.css");
@import url("../../_shared/chrome.css");
@import url("../../_shared/components.css");
@import url("../../_shared/audience-switcher.css");

main { position: relative; z-index: 1; overflow-x: clip; }
.blur-t { opacity: 0; filter: blur(12px); transition: opacity 760ms cubic-bezier(0.22,1,0.36,1), filter 760ms cubic-bezier(0.22,1,0.36,1); transform: translateZ(0); backface-visibility: hidden; will-change: filter, opacity; }
.blur-t.is-in { opacity: 1; filter: blur(0); }
@media (prefers-reduced-motion: reduce) { .blur-t { opacity: 1; filter: none; transition: none; } }

/* ── Act 1 — Hero ─────────────────────────────────────────────────────── */
.fi-hero { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(28px, 4vw, 72px); align-items: center; max-width: 1500px; margin-inline: auto; padding: clamp(120px, 15vh, 176px) clamp(20px, 5vw, 72px) clamp(64px, 9vh, 110px); }
.fi-hero-h1 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-hero-xl); line-height: 0.98; letter-spacing: -0.03em; color: var(--text-primary); margin: 0; max-width: 14ch; }
.fi-hero-h1 em { font-style: normal; color: var(--text-primary); }
.fi-hero-sub { font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.5; color: var(--text-secondary); margin: 22px 0 0; max-width: 44ch; }
.fi-hero-cta { margin-top: clamp(26px, 4vh, 40px); }
.fi-hero-x { margin-top: 18px; }

.fi-live { border: 1px solid var(--border-subtle); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.fi-live-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border-subtle); }
.fi-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #7C4FE8; box-shadow: 0 0 0 0 color-mix(in srgb, #7C4FE8 60%, transparent); animation: fi-pulse 2s cubic-bezier(0.22,1,0.36,1) infinite; }
@keyframes fi-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, #7C4FE8 55%, transparent); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.fi-live-title { font-family: var(--font-code); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-tertiary); flex: 1; }
.fi-live-lead { font-family: var(--font-code); font-size: 13px; color: #7C4FE8; }
.fi-live-svg { width: 100%; height: clamp(280px, 34vh, 380px); display: block; }
.fi-live-grid line { stroke: var(--border-subtle); stroke-width: 1; }
.fi-live-area { fill: url(#fi-glow); }
.fi-live-signal { stroke: #7C4FE8; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px color-mix(in srgb, #7C4FE8 55%, transparent)); }
.fi-live-print { stroke: var(--text-quaternary); stroke-width: 2; stroke-dasharray: 4 5; stroke-linejoin: round; opacity: 0.7; }
.fi-live-head { fill: #7C4FE8; filter: drop-shadow(0 0 5px #7C4FE8); }
.fi-live-legend { display: flex; gap: 20px; padding: 12px 18px; border-top: 1px solid var(--border-subtle); }
.fi-live-lg { font-family: var(--font-code); font-size: 11px; display: inline-flex; align-items: center; gap: 7px; color: var(--text-tertiary); }
.fi-live-lg::before { content: ""; width: 14px; height: 2px; border-radius: 2px; }
.fi-live-lg--sig::before { background: #7C4FE8; }
.fi-live-lg--prt::before { background: var(--text-quaternary); }
@media (prefers-reduced-motion: reduce) { .fi-live-dot { animation: none; } }

/* ── Act 2 — The lead ─────────────────────────────────────────────────── */
.fi-lead { max-width: 1120px; margin-inline: auto; padding: clamp(56px, 9vh, 120px) clamp(20px, 5vw, 72px); }
.fi-lead-head { max-width: 640px; }
.fi-lead-h2, .fi-src-h2, .fi-use-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-h2); line-height: 1.0; letter-spacing: -0.026em; color: var(--text-primary); margin: 0; }
.fi-lead-h2 em, .fi-src-h2 em, .fi-use-h2 em, .fi-end-h2 em { font-style: normal; color: var(--text-primary); }
.fi-lead-sub, .fi-src-sub, .fi-use-sub { font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.5; color: var(--text-secondary); margin: 16px 0 0; max-width: 52ch; }
.fi-chart { position: relative; margin-top: clamp(30px, 4vh, 52px); border: 1px solid var(--border-subtle); border-radius: 18px; padding: 26px; }
.fi-chart-svg { width: 100%; height: clamp(200px, 30vh, 280px); display: block; overflow: visible; }
.fi-lead-gap { fill: color-mix(in srgb, #7C4FE8 8%, transparent); opacity: 0; transition: opacity 700ms ease 500ms; }
.fi-lead.is-in .fi-lead-gap { opacity: 1; }
.fi-area { fill: url(#fi-fill); opacity: 0; transition: opacity 800ms ease 300ms; }
.fi-lead.is-in .fi-area { opacity: 1; }
.fi-signal { stroke: #7C4FE8; stroke-width: 3; }
.fi-print { stroke: var(--text-quaternary); stroke-width: 2; stroke-dasharray: 4 5; }
.fi-chart-tag { position: absolute; font-family: var(--font-code); font-size: 11px; }
.fi-chart-tag--signal { color: #7C4FE8; right: 26px; top: 22px; }
.fi-chart-tag--print { color: var(--text-tertiary); right: 26px; top: 42px; }
.fi-chart-lead { position: absolute; left: 56%; top: 12px; font-family: var(--font-code); font-size: 11px; color: #7C4FE8; opacity: 0; transition: opacity 500ms ease 700ms; }
.fi-lead.is-in .fi-chart-lead { opacity: 1; }

/* ── Act 3 — Sources ──────────────────────────────────────────────────── */
.fi-src { max-width: 1200px; margin-inline: auto; padding: clamp(56px, 9vh, 120px) clamp(20px, 5vw, 72px); }
.fi-src-head { max-width: 620px; }
.fi-src-grid { list-style: none; margin: clamp(30px, 4vh, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 18px); }
.fi-srccard { border: 1px solid var(--border-subtle); border-radius: 16px; padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 8px; transition: border-color 200ms ease, transform 200ms ease; }
.fi-srccard:hover { border-color: var(--border); transform: translateY(-2px); }
.fi-srccard-t { font-family: var(--font-display); font-size: var(--mkt-lead); color: var(--text-primary); }
.fi-srccard-d { font-family: var(--font-base); font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); }

/* ── Act 4 — Coverage band ────────────────────────────────────────────── */
.fi-cover { position: relative; overflow: hidden; isolation: isolate; padding: clamp(90px, 14vh, 180px) clamp(20px, 5vw, 72px); }
.fi-cover-fill { position: absolute; inset: 0; z-index: -1; background: #7C4FE8; clip-path: circle(0% at 50% 100%); transition: clip-path 980ms cubic-bezier(0.22,1,0.36,1); }
.fi-cover.is-in .fi-cover-fill { clip-path: circle(150% at 50% 100%); }
.fi-cover-inner { position: relative; z-index: 1; max-width: 1200px; margin-inline: auto; }
.fi-cover-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-h2); line-height: 1.0; letter-spacing: -0.026em; color: #FFFFFF; margin: 0; }
.fi-cover-list { list-style: none; margin: clamp(30px, 4vh, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.fi-cover-k { font-family: var(--font-display); font-size: clamp(17px, 1.7vw, 23px); color: #FFFFFF; }
.fi-cover-v { font-family: var(--font-base); font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,0.82); max-width: 38ch; }

/* ── Act 5 — Use-cases ────────────────────────────────────────────────── */
.fi-use { max-width: 1200px; margin-inline: auto; padding: clamp(56px, 9vh, 120px) clamp(20px, 5vw, 72px); }
.fi-use-head { max-width: 620px; }
.fi-use-grid { margin-top: clamp(30px, 4vh, 52px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }

/* ── Act 6 — Closer ───────────────────────────────────────────────────── */
.fi-end { padding: clamp(96px, 16vh, 200px) clamp(20px, 5vw, 72px); text-align: center; }
.fi-end-frame { max-width: 800px; margin-inline: auto; }
.fi-end-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-hero); line-height: 0.98; letter-spacing: -0.03em; color: var(--text-primary); margin: 0; }
.fi-end-cta { margin-top: clamp(28px, 4vh, 44px); justify-content: center; }
.fi-end-x { margin-top: 20px; }

@media (max-width: 960px) {
  .fi-hero { grid-template-columns: 1fr; gap: 40px; }
  .fi-src-grid { grid-template-columns: 1fr; }
  .fi-cover-list, .fi-use-grid { grid-template-columns: 1fr; }
}
@media (min-width: 1600px) {
  
  .fi-hero, .fi-lead, .fi-src, .fi-use { max-width: 1640px; }
}
