/* SFinance Capital. Plain CSS, no build step. Flat colours only: no gradients, no neon. */

:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #15181c;
  --ink-2: #353a41;
  --muted: #676c73;
  --line: #e1ddd3;
  --accent: #1d4a3b;       /* deep green */
  --accent-2: #2e6a54;
  --accent-soft: #dfe8e2;
  --tint: #eeeae1;
  --dark: #111614;
  --dark-line: rgba(255, 255, 255, 0.12);
  --dark-muted: rgba(255, 255, 255, 0.66);
  --sans: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--sans); margin: 0; color: inherit; }
p { margin: 0; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--surface); padding: 10px 16px; z-index: 50; }
.skip:focus { left: 12px; top: 12px; }

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(246, 244, 239, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(246, 244, 239, 0.96); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--sans); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; }
.mark { width: 28px; height: 28px; flex: none; }
.mark rect { fill: var(--accent); }
.mark path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mark circle { fill: #fff; }

.nav { display: flex; align-items: center; gap: 30px; font-size: 0.93rem; }
.nav a { text-decoration: none; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.nav-cta):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--ink); }
.nav .nav-cta { background: var(--accent); color: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 500; transition: background .2s; }
.nav .nav-cta:hover { background: var(--accent-2); }
.nav .nav-cta.active { color: #fff; }

/* Shared */

.section { padding: 120px 0; }
.section.tint { background: var(--tint); }
.section.dark { background: var(--dark); color: #fff; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.dark .kicker { color: #9cc3b2; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(46, 106, 84, .45); animation: ping 2.4s infinite; }

h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.12; letter-spacing: -0.025em; font-weight: 600; max-width: 20em; }
.head { margin-bottom: 64px; }
.lead { font-size: 1.12rem; color: var(--muted); margin-top: 22px; max-width: 36em; }
.dark .lead { color: var(--dark-muted); }
.fine { font-size: 0.84rem; color: var(--muted); margin-top: 40px; }
.dark .fine { color: rgba(255, 255, 255, 0.5); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-size: 0.97rem; font-weight: 500; padding: 15px 24px; border-radius: 999px;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-2); }
.btn.ghost { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn.ghost:hover { border-color: var(--ink-2); }
.btn.ghost span { transition: transform .2s; }
.btn.ghost:hover span { transform: translateX(3px); }
.btn.light { background: #fff; color: var(--dark); }
.btn.light:hover { background: var(--accent-soft); }
.btn.outline { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.btn.outline:hover { border-color: #fff; }

/* Hero */

.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.3rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600;
  max-width: 12.5em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 1.16rem; color: var(--muted); margin: 28px 0 36px; max-width: 33em; }

.hero-art { margin: 0; }
.hero-art svg { width: 100%; height: auto; display: block; max-width: 520px; margin: 0 auto; overflow: visible; }
.ring { fill: none; stroke: #d3cec2; stroke-width: 1; stroke-dasharray: 2 6; }
.links line { stroke: var(--accent-2); stroke-width: 1.2; stroke-dasharray: 4 6; opacity: .55; animation: flow 3s linear infinite; }
.orbit { transform-box: view-box; transform-origin: 240px 240px; }
.o1 { animation: spin 60s linear infinite; }
.o2 { animation: spin 90s linear infinite reverse; }
.o3 { animation: spin 140s linear infinite; }
.n { stroke-width: 2; }
.n.acq { fill: var(--ink); stroke: var(--ink); }
.n.fund { fill: var(--bg); stroke: var(--accent); }
.n.lend { fill: #b7c9bf; stroke: #b7c9bf; }
.core { fill: var(--accent); }
.pulse { fill: none; stroke: var(--accent-2); stroke-width: 1.5; transform-box: view-box; transform-origin: 240px 240px; animation: halo 3.2s var(--ease) infinite; }
.core-t { fill: #fff; font-family: var(--sans); font-size: 13px; font-weight: 600; }
.hero-art figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 18px; font-size: 0.82rem; color: var(--muted); }
.hero-art figcaption span { display: inline-flex; align-items: center; gap: 7px; }
.k { width: 10px; height: 10px; border-radius: 50%; display: inline-block; border: 2px solid; }
.k.acq { background: var(--ink); border-color: var(--ink); }
.k.fund { background: var(--bg); border-color: var(--accent); }
.k.lend { background: #b7c9bf; border-color: #b7c9bf; }

/* Proof numbers */

.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 48px 36px 52px 0; }
.stat + .stat { padding-left: 36px; border-left: 1px solid var(--line); }
.stat-n { font-family: var(--sans); font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-n small { font-size: 0.5em; letter-spacing: -0.01em; color: var(--ink-2); font-weight: 500; }
.stat-t { margin-top: 16px; color: var(--muted); max-width: 22em; }

/* Services */

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px 32px;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.service:hover { transform: translateY(-4px); border-color: #cfd9d3; box-shadow: 0 18px 40px -24px rgba(21, 24, 28, .25); }
.ico { width: 40px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.service h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 0.97rem; }

/* Price */

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.levers { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid #d8d3c8; }
.levers li { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #d8d3c8; color: var(--muted); font-size: 0.98rem; }
.levers b { color: var(--ink); font-weight: 600; }

.bars { background: var(--surface); border-radius: 22px; padding: 44px 40px 36px; border: 1px solid var(--line); }
.bar-row + .bar-row { margin-top: 30px; }
.bar-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 0.95rem; color: var(--muted); }
.bar-label b { font-family: var(--sans); font-size: 1.4rem; color: var(--ink); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bar-track { height: 18px; background: var(--tint); border-radius: 999px; display: flex; overflow: hidden; }
.bar-fill, .bar-extra { height: 100%; transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.bar-fill { width: 88.9%; background: var(--ink-2); border-radius: 999px 0 0 999px; }
.bar-extra { width: 11.1%; background: var(--accent-2); border-radius: 0 999px 999px 0; transition-delay: 1.2s; }
.bar-row:first-child .bar-fill { border-radius: 999px; }
.bars.in .bar-fill, .bars.in .bar-extra { transform: scaleX(1); }
.bar-gain { margin-top: 30px; font-size: 1rem; color: var(--muted); opacity: 0; transform: translateY(6px); transition: opacity .6s 2.2s, transform .6s 2.2s var(--ease); }
.bars.in .bar-gain { opacity: 1; transform: none; }
.bar-gain span { font-family: var(--sans); font-size: 2.2rem; font-weight: 600; letter-spacing: -0.03em; color: var(--accent); margin-right: 8px; }
.bars .fine { margin-top: 14px; }

/* Process */

.track { position: relative; height: 64px; margin: 0 8px 40px; }
.track-line { position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--line); border-radius: 2px; }
.track-fill { height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 2.6s var(--ease); }
.track.in .track-fill { transform: scaleX(1); }
.tick { position: absolute; top: 0; transform: translateX(-50%); font-size: 0.8rem; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 12px; white-space: nowrap; }
.tick i { width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); transition: border-color .4s, background .4s; }
.track.in .tick i { border-color: var(--accent); }
.tick.hi { color: var(--accent); font-weight: 600; }
.track.in .tick.hi i { background: var(--accent); }
.d1 { left: 0; } .d10 { left: 11.1%; } .d20 { left: 22.2%; } .d50 { left: 55.5%; } .d75 { left: 83.3%; } .d90 { left: 100%; }
.track.in .d1 i { transition-delay: 0s; } .track.in .d10 i { transition-delay: .3s; } .track.in .d20 i { transition-delay: .6s; }
.track.in .d50 i { transition-delay: 1.5s; } .track.in .d75 i { transition-delay: 2.2s; } .track.in .d90 i { transition-delay: 2.6s; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px 24px; }
.steps li.hi { border-color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); }
.when { display: block; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.steps h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 0.93rem; }

/* Record marquee */

#record .head { margin-bottom: 48px; }
.marquee { display: flex; overflow: hidden; border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.marquee-row { list-style: none; margin: 0; padding: 0; display: flex; flex: none; animation: marquee 55s linear infinite; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.marquee li { flex: none; width: 330px; padding: 34px 32px; border-right: 1px solid var(--dark-line); color: var(--dark-muted); font-size: 0.95rem; line-height: 1.45; }
.marquee li b { display: block; font-family: var(--sans); color: #fff; font-size: 1.9rem; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 10px; }
.marquee li span { display: block; margin-top: 10px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9cc3b2; font-weight: 600; }

/* Commitments */

.commit-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.commit-grid .head { margin-bottom: 0; position: sticky; top: 120px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.checks li { display: flex; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.97rem; }
.checks svg { width: 26px; height: 26px; flex: none; padding: 4px; border-radius: 50%; background: var(--accent-soft); fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.checks b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

/* Founder */

.founder-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 72px; align-items: center; }
.founder-card { background: var(--accent); color: #fff; border-radius: 24px; padding: 44px 40px; }
.monogram { width: 76px; height: 76px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); display: grid; place-items: center; font-family: var(--sans); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 72px; }
.founder-card h3 { font-size: 2rem; font-weight: 600; letter-spacing: -0.025em; }
.founder-card .role { color: rgba(255, 255, 255, .78); margin-top: 4px; }
.founder-card .creds { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .22); font-size: 0.9rem; color: rgba(255, 255, 255, .85); }
.facts { list-style: none; margin: 30px 0 0; padding: 0; }
.facts li { position: relative; padding: 12px 0 12px 26px; border-top: 1px solid #d8d3c8; color: var(--ink-2); }
.facts li::before { content: ""; position: absolute; left: 2px; top: 1.3em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
.firms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.firms span { font-size: 0.86rem; font-weight: 600; color: var(--ink-2); border: 1px solid #d3cec2; border-radius: 999px; padding: 7px 14px; background: var(--bg); }

/* Offer and contact */

.offer { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: o; }
.offer li { border: 1px solid var(--dark-line); border-radius: 18px; padding: 28px 26px 30px; color: var(--dark-muted); font-size: 0.97rem; transition: border-color .3s, background .3s; }
.offer li:hover { border-color: rgba(156, 195, 178, .55); background: rgba(255, 255, 255, .03); }
.o-n { display: block; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9cc3b2; font-weight: 600; margin-bottom: 14px; }
.offer b { display: block; font-family: var(--sans); color: #fff; font-size: 1.55rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.contact { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.c-name { font-family: var(--sans); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; }
.c-sub { color: var(--dark-muted); margin-top: 2px; }

/* Footer */

.site-footer { background: var(--dark); color: rgba(255, 255, 255, .55); font-size: 0.84rem; border-top: 1px solid var(--dark-line); }
.foot { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 48px; padding-top: 32px; padding-bottom: 40px; align-items: start; }
.foot .disc { max-width: 60em; }
.site-footer a { color: rgba(255, 255, 255, .85); text-underline-offset: 3px; }

/* Plain pages (privacy, 404) */

.plain { padding: 96px 0 120px; }
.plain .wrap { max-width: 760px; }
.plain h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; margin-bottom: 28px; }
.plain h2 { font-size: 1.3rem; letter-spacing: -0.01em; margin: 40px 0 10px; }
.plain p { color: var(--ink-2); margin-bottom: 1em; }
.plain a { color: var(--accent); text-underline-offset: 3px; }

/* Motion */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .services .reveal:nth-child(2), .js .steps .reveal:nth-child(2), .js .offer .reveal:nth-child(2), .js .proof .reveal:nth-child(2) { transition-delay: .08s; }
.js .services .reveal:nth-child(3), .js .steps .reveal:nth-child(3), .js .offer .reveal:nth-child(3), .js .proof .reveal:nth-child(3) { transition-delay: .16s; }
.js .services .reveal:nth-child(4), .js .steps .reveal:nth-child(4) { transition-delay: .24s; }
.js .steps .reveal:nth-child(5) { transition-delay: .32s; }
.js .checks .reveal:nth-child(even) { transition-delay: .08s; }
html:not(.js) .bar-fill, html:not(.js) .bar-extra, html:not(.js) .track-fill { transform: none; }
html:not(.js) .bar-gain { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flow { to { stroke-dashoffset: -20; } }
@keyframes halo { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(46, 106, 84, .45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(46, 106, 84, 0); } }
@keyframes marquee { to { transform: translateX(-100%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .bar-fill, .bar-extra, .track-fill { transform: none; }
  .bar-gain { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; }
  .marquee-row[aria-hidden="true"] { display: none; }
}

/* Responsive */

@media (max-width: 1040px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .price-grid, .founder-grid, .commit-grid { gap: 48px; }
}

@media (max-width: 880px) {
  .nav a:not(.nav-cta) { display: none; }
  .section { padding: 88px 0; }
  .hero { padding: 40px 0 72px; }
  .hero-grid, .price-grid, .founder-grid, .commit-grid { grid-template-columns: 1fr; }
  .hero-art svg { max-width: 400px; }
  .commit-grid .head { position: static; }
  .proof-grid { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 32px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .offer { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .track { display: none; }
  .steps { grid-template-columns: 1fr; position: relative; padding-left: 26px; }
  .steps::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
  .steps li { position: relative; }
  .steps li::before { content: ""; position: absolute; left: -26px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
  .steps li.hi::before { background: var(--accent); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .bar { min-height: 62px; }
  .brand { font-size: 1rem; }
  .nav .nav-cta { padding: 8px 14px; font-size: 0.88rem; }
  .section { padding: 72px 0; }
  .head { margin-bottom: 40px; }
  .services, .checks { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  .bars { padding: 30px 22px 26px; }
  .levers li { grid-template-columns: 1fr; gap: 2px; }
  .marquee li { width: 270px; padding: 28px 24px; }
  .founder-card { padding: 34px 28px; }
  .monogram { margin-bottom: 44px; }
  .contact .btn { font-size: 0.92rem; }
}

@media print {
  .site-header { position: static; }
  .marquee-row { animation: none; flex-wrap: wrap; }
  .marquee-row[aria-hidden="true"] { display: none; }
}
