/* LivePnL — shared styles for split pages + integration pages
   Self-contained. Swap for your production stylesheet when porting. */

:root {
  --navy: #0d1b2a;
  --navy-700: #16293d;
  --navy-500: #24405c;
  --ink: #0d1b2a;
  --ink-60: #55657a;
  --ink-40: #8695a8;
  --line: #e3e8ee;
  --paper: #ffffff;
  --paper-alt: #f6f8fa;
  --live: #19c37d;
  --live-dark: #0fa968;
  --live-soft: #e8f5ef;
  --live-on: #04281a;
  --down: #ff6b6b;
  --footer-bg: #0a1521;
  --footer-ink: #8ba0b5;
  --footer-ink-hi: #c9d6e3;

  --wrap: 1120px;
  --radius: 10px;

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

a { color: var(--navy-500); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--navy-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 92px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}
.brand .pnl { color: var(--live); }
.brand svg { display: block; height: 60px; width: auto; }
.site-footer .brand svg { height: 68px; }
.brand .pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--live);
  position: relative;
  flex: none;
}
.brand .pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--live);
  opacity: 0.7;
  animation: brand-pulse 2s ease-out infinite;
}
@keyframes brand-pulse {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}
.nav { display: flex; gap: 10px; align-items: center; }
.nav a {
  color: #c9d6e3;
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 8px;
  color: #c9d6e3; width: 40px; height: 36px; align-items: center; justify-content: center;
  cursor: pointer; flex: none; margin-left: 8px; padding: 0;
}
.nav-toggle:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
@media (max-width: 1100px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; margin-left: 4px; }
  .site-header.nav-open .nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); padding: 8px 24px 16px; gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 100px); overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .site-header.nav-open .nav a { padding: 12px 4px; font-size: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .site-header.nav-open .nav a:last-child { border-bottom: none; }
}
@media (max-width: 820px) {
  .site-header .wrap { gap: 10px; height: 72px; }
  .brand svg { height: 42px; }
  .lang-switch { margin-left: 4px; gap: 4px; }
  .lang-switch button { width: 22px; height: 15px; }
}
@media (max-width: 380px) {
  .site-header .wrap { padding: 0 12px; gap: 6px; }
  .brand svg { height: 32px; }
  .lang-switch { margin-left: 2px; gap: 3px; }
  .lang-switch button { width: 19px; height: 13px; }
  .nav-toggle { width: 34px; height: 30px; margin-left: 0; }
}

/* ---------- language switcher ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; flex: none; }
.lang-switch button {
  padding: 0; width: 26px; height: 18px; border-radius: 3px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.25); background: none; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; opacity: 0.55;
  transition: opacity 0.15s ease, box-shadow 0.15s ease;
}
.lang-switch button svg { width: 100%; height: 100%; display: block; object-fit: cover; }
.lang-switch button:hover { opacity: 0.9; }
.lang-switch button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--live); border-color: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn-primary { background: var(--live); color: var(--live-on); }
.btn-primary:hover { background: var(--live-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; }

/* ---------- hero ---------- */
.hero {
  padding: 76px 0 60px;
  background: radial-gradient(1100px 560px at 78% -10%, var(--navy-500) 0%, var(--navy) 55%);
  color: #fff;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--live);
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 17ch;
  color: #fff;
}
.hero .lede {
  font-size: 1.13rem;
  color: #b9c6d6;
  max-width: 62ch;
  margin: 0 0 30px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-teaser {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(25,195,125,0.16), rgba(25,195,125,0.05));
  border: 2px solid var(--live); border-radius: 14px;
  padding: 20px 24px; margin: 0 0 22px; max-width: 720px;
  text-decoration: none; color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hero-teaser:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(25,195,125,0.25); }
.hero-teaser .ht-badge {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--live); font-weight: 600;
}
.hero-teaser .ht-text { flex: 1 1 260px; font-size: 1.02rem; line-height: 1.5; font-weight: 500; }
.hero-teaser .ht-btn { flex: none; }
/* live-demo variant of the hero callout */
.hero-teaser.hero-demo {
  background: linear-gradient(120deg, rgba(3,127,118,0.22), rgba(3,127,118,0.06));
  border-color: var(--live-dark, #037f76);
}
.hero-teaser.hero-demo:hover { box-shadow: 0 10px 30px rgba(3,127,118,0.28); }
.hero-teaser.hero-demo .ht-badge { color: var(--live-dark, #06b6a4); }

/* ---------- site search ---------- */
.search-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 8px;
  color: #c9d6e3; width: 40px; height: 36px; cursor: pointer; flex: none;
  margin-left: auto; padding: 0;
}
.search-toggle:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
html.search-open { overflow: hidden; }
.search-modal { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: center; align-items: flex-start; }
.search-modal[hidden] { display: none; }
.search-backdrop { position: absolute; inset: 0; background: rgba(6, 22, 20, 0.55); backdrop-filter: blur(2px); }
.search-panel {
  position: relative; z-index: 1;
  width: min(640px, calc(100vw - 32px));
  margin-top: 12vh;
  background: #fff; border-radius: 14px;
  box-shadow: 0 30px 80px rgba(6, 22, 20, 0.4);
  overflow: hidden;
  animation: search-pop .16s ease;
}
@keyframes search-pop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.search-inputwrap { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line, #e2e8e6); color: #6b7a77; }
.search-input {
  flex: 1 1 auto; border: none; outline: none; background: none;
  font-size: 1.05rem; color: var(--ink, #0d1b2a); font-family: inherit;
}
.search-input::placeholder { color: #9aa8a4; }
.search-close { border: none; background: none; color: #9aa8a4; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.search-close:hover { color: var(--ink, #0d1b2a); }
.search-results { list-style: none; margin: 0; padding: 6px; max-height: 56vh; overflow-y: auto; }
.search-results li { margin: 0; }
.search-results a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 12px; border-radius: 9px; text-decoration: none; color: var(--ink, #0d1b2a);
}
.search-results a:hover, .search-results a.is-active { background: #eef7f4; }
.sr-title { font-weight: 600; font-size: 0.98rem; }
.sr-cat { flex: none; font-size: 0.7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--live-dark, #037f76); background: #e7f4f0; padding: 3px 9px; border-radius: 999px; }
.search-none { padding: 18px 14px; color: #6b7a77; text-align: center; }
@media (max-width: 520px) {
  .search-panel { margin-top: 8vh; }
  .search-input { font-size: 1rem; }
}

/* ---------- live demo band (browser frame) ---------- */
.demo-band { background: var(--paper); }
.browser {
  display: block;
  max-width: 1060px;
  margin: 30px auto 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line, #e2e8e6);
  box-shadow: 0 26px 64px rgba(6, 46, 42, 0.16);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.browser:hover { transform: translateY(-3px); box-shadow: 0 32px 72px rgba(6, 46, 42, 0.22); }
.browser-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px;
  background: #f1f5f4;
  border-bottom: 1px solid var(--line, #e2e8e6);
}
.browser-dots { display: flex; gap: 7px; flex: none; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: #d3dbd9; }
.browser-dots i:nth-child(1) { background: #f6685e; }
.browser-dots i:nth-child(2) { background: #f7bd3b; }
.browser-dots i:nth-child(3) { background: #3fc06a; }
.browser-url {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 0 auto;
  padding: 5px 16px;
  background: #fff;
  border: 1px solid var(--line, #e2e8e6);
  border-radius: 999px;
  color: #4b5a57;
  font-size: 0.86rem; font-weight: 500;
  max-width: 340px;
}
.browser-view { display: block; position: relative; line-height: 0; }
.browser-view img { display: block; width: 100%; height: auto; }
.browser-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4, 35, 31, 0);
  transition: background .18s ease;
}
.browser-play {
  display: inline-block;
  background: var(--live); color: #04231f;
  font-weight: 700; font-size: 0.98rem; line-height: 1.2;
  padding: 13px 22px; border-radius: 10px;
  box-shadow: 0 10px 30px rgba(4, 35, 31, 0.28);
  opacity: 0; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}
.browser:hover .browser-overlay { background: rgba(4, 35, 31, 0.28); }
.browser:hover .browser-play { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .browser, .browser-play { transition: none; }
}

/* ---------- features & benefits ticker ---------- */
.ticker-band {
  display: flex;
  align-items: stretch;
  background: #0b2a26;
  color: #eafaf5;
  overflow: hidden;
}
.ticker { flex: 1 1 auto; overflow: hidden; position: relative; }
/* fade edges */
.ticker::before, .ticker::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 46px; z-index: 2; pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(90deg, #0b2a26, rgba(11,42,38,0)); }
.ticker::after  { right: 0; background: linear-gradient(270deg, #0b2a26, rgba(11,42,38,0)); }
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 42s linear infinite;
}
.ticker-band:hover .ticker-track { animation-play-state: paused; }
.ticker-list {
  display: flex;
  align-items: center;
  margin: 0; padding: 0; list-style: none;
}
.ticker-list li {
  display: flex; align-items: center;
  white-space: nowrap;
  padding: 13px 0;
  font-size: 0.94rem; font-weight: 600; letter-spacing: .1px;
}
.ticker-list li::before {
  content: "◆";
  color: var(--live);
  font-size: 0.52rem;
  margin: 0 28px;
  position: relative; top: -1px;
}
.ticker-cta {
  flex: none;
  display: flex; align-items: center;
  background: var(--live); color: #04231f;
  font-weight: 700; font-size: 0.94rem;
  text-decoration: none;
  padding: 0 24px;
  white-space: nowrap;
  transition: filter .15s ease;
}
.ticker-cta:hover { filter: brightness(1.06); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) {
  .ticker-list li { font-size: 0.86rem; }
  .ticker-list li::before { margin: 0 18px; }
  .ticker-cta { padding: 0 15px; font-size: 0.86rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker { overflow-x: auto; }
}

/* ---------- revenue chart figure (forecasting) ---------- */
.rev-chart-fig { margin: 0; }
.rev-chart-fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(6, 46, 42, 0.12);
}

/* ---------- product screenshot frame ---------- */
.shot-frame {
  margin: 34px auto 0;
  max-width: 1080px;
  border: 1px solid var(--line, #e2e8e6);
  border-radius: 16px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 24px 60px rgba(6, 46, 42, 0.14);
  overflow: hidden;
}
.shot-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
  border: 1px solid rgba(6, 46, 42, 0.06);
}
.shot-caption {
  margin: 14px 6px 4px;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-40, #4b5a57);
}

/* ---------- ponder band (diverse leaders pondering the questions) ---------- */
.ponder-band { background: var(--paper); }
.ponder-row { display: flex; gap: 26px; justify-content: center; align-items: flex-end; flex-wrap: wrap; margin-top: 26px; }
.ponder-card { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 158px; text-decoration: none; }
.ponder-card:nth-child(even) { transform: translateY(14px); }
.ponder-bubble {
  position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 84px; padding: 11px 12px; font-size: 0.8rem; line-height: 1.45; color: var(--ink); font-weight: 500;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 8px 22px rgba(13,27,42,0.07); transition: border-color 0.15s ease, transform 0.15s ease;
}
.ponder-bubble::after { content: ""; position: absolute; bottom: -8px; left: 50%; margin-left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); }
.ponder-bubble::before { content: ""; position: absolute; bottom: -16px; left: 50%; margin-left: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); }
.ponder-card:hover .ponder-bubble { border-color: var(--live); transform: translateY(-3px); }
.ponder-avatar { width: 92px; height: 92px; flex: none; filter: drop-shadow(0 8px 16px rgba(13,27,42,0.14)); }
@media (max-width: 700px) { .ponder-card:nth-child(even) { transform: none; } .ponder-row { gap: 18px; } .ponder-card { width: 150px; } }



/* ---------- sections ---------- */
[id] { scroll-margin-top: 106px; }
.section { padding: 64px 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--paper-alt); }
.ubl-band { background: var(--live-soft); border-top: 2px solid var(--live); border-bottom: 2px solid var(--live); }
.reasons-band { background: #f5f9f8; }
.reasons-band .eyebrow { color: var(--live); }
.origin-band { background: var(--navy); color: #fff; }
.origin-band .eyebrow { color: var(--live); }
.origin-band h2 { color: #fff; max-width: none; }
.origin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 44px; margin-top: 10px; }
.origin-cols p { color: #b9c6d6; margin: 0 0 16px; font-size: 0.99rem; }
.origin-promise { border: 2px solid var(--live); background: rgba(25,195,125,0.10); border-radius: 12px; padding: 18px 22px; font-weight: 600; max-width: 780px; margin-top: 10px; }
@media (max-width: 860px) { .origin-cols { grid-template-columns: 1fr; } }
.since { color: var(--ink-40); font-size: 0.88rem; margin: -22px 0 30px; }
.hero .since { color: #8ba0b5; margin: -18px 0 26px; }
.quote-card { max-width: 640px; margin: 0 auto; text-align: center; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 36px 34px; }
.quote-card .quote { font-size: 1.15rem; line-height: 1.55; font-weight: 500; margin: 0 0 16px; }
.quote-card .who { color: #b9c6d6; font-size: 0.9rem; margin: 0; }
/* ---------- self-test ---------- */
.selftest { list-style: none; counter-reset: stq; margin: 0 0 36px; padding: 0; display: grid; gap: 12px; }
.st-q { counter-increment: stq; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 16px 20px; }
.st-q::before { content: counter(stq, decimal-leading-zero); font-family: var(--mono); font-size: 0.78rem; color: var(--ink-40); flex: none; }
.st-main { flex: 1; }
.st-text { display: block; font-size: 0.98rem; }
.st-q .st-more { display: inline-block; margin-top: 4px; font-size: 0.82rem; font-weight: 600; color: var(--live-dark); text-decoration: none; }
.st-q .st-more:hover { text-decoration: underline; }
.st-note { color: var(--ink-40); font-size: 0.88rem; margin: -24px 0 26px; }
.st-choice { display: inline-flex; gap: 8px; flex: none; }
.st-btn { padding: 8px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: 0.88rem; cursor: pointer; color: var(--ink-60); }
.st-btn:hover { border-color: var(--navy-500); color: var(--ink); }
.st-btn[aria-pressed="true"] { background: var(--live); border-color: var(--live); color: var(--live-on); }
.st-btn[data-ans="no"][aria-pressed="true"] { background: var(--navy-500); border-color: var(--navy-500); color: #fff; }
.selftest-result { border: 2px solid var(--line); border-radius: 16px; padding: 34px 32px; text-align: center; max-width: 560px; margin: 0 auto; }
.selftest-result.is-pass { border-color: var(--live); background: var(--live-soft); }
.st-scorewrap { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-bottom: 14px; }
.st-scorelabel { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-40); }
.st-scorenum { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.selftest-result.is-pass .st-scorenum { color: var(--live-dark); }
.st-rh { font-size: 1.25rem; margin: 0 0 10px; letter-spacing: -0.01em; }
.st-rp { color: var(--ink-60); margin: 0 0 20px; }
@media (max-width: 640px) { .st-q { flex-wrap: wrap; } .st-main { flex-basis: 100%; order: -1; } }
.price-card { max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px 32px; box-shadow: 0 10px 30px rgba(13,27,42,0.06); }
.price-card .price-name { text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.78rem; font-weight: 700; color: var(--live); margin: 0; }
.price-card .price-amount { margin: 8px 0 22px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.price-card .price-value { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.price-card .price-from, .price-card .price-per { color: var(--ink-60); font-size: 1rem; font-weight: 500; }
.price-card .price-incl-h { font-size: 0.95rem; margin: 0 0 12px; }
.price-card .price-setup { margin: 22px 0 6px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink); font-size: 0.98rem; }
.price-card .btn { display: block; text-align: center; margin-top: 16px; }
.price-card .price-note { margin: 12px 0 0; font-size: 0.8rem; color: var(--ink-40); text-align: center; }
.section h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  max-width: 24ch;
}
.section .sub { color: var(--ink-60); max-width: 66ch; margin: 0 0 34px; }

/* ---------- grid + cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper);
}
.card h3 { margin: 0 0 8px; font-size: 1.05rem; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-60); font-size: 0.95rem; }

.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover { border-color: var(--navy-500); }

/* ---------- live badge + stat rail ---------- */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--live-soft);
  color: var(--live);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 99px;
  font-weight: 600;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--live);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.stat-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--paper); padding: 22px; }
.stat .label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin: 0 0 6px;
}
.stat .value {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.stat .delta { font-size: 0.85rem; font-weight: 600; }
.delta-up { color: var(--live); }
.delta-down { color: var(--down); }
@media (max-width: 700px) { .stat-rail { grid-template-columns: 1fr; } }

/* ---------- checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li {
  padding-left: 26px;
  position: relative;
  color: var(--ink-60);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--live);
}
.checklist strong { color: var(--ink); display: block; font-weight: 600; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { padding-left: 52px; position: relative; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-40);
  border: 1px solid var(--line);
  border-radius: 6px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
}
.step h3 { margin: 5px 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--ink-60); font-size: 0.95rem; }

/* ---------- integration logo grid ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .logo-grid { grid-template-columns: 1fr; } }

.logo-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s ease;
}
.logo-card:hover { border-color: var(--navy-500); }
.logo-card .name { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.logo-card .kind {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.logo-card .desc { font-size: 0.9rem; color: var(--ink-60); margin: 0; }
.logo-card .go { font-size: 0.88rem; font-weight: 600; color: var(--navy-500); margin-top: auto; padding-top: 6px; }
.logo-card .logo-mark { display: block; height: 34px; margin-bottom: 4px; }
.logo-card .logo-mark svg { display: block; height: 100%; width: auto; max-width: 100%; }
.logo-card .logo-name { font-weight: 800; font-size: 1.1rem; color: #0a9bdb; letter-spacing: -0.01em; }

/* ---------- LivePnL logo lockups ---------- */
.section-brand { margin: 0 0 20px; }
.section-brand .lp-logo { display: inline-block; height: 40px; color: var(--navy); }
.section-brand .lp-logo svg { display: block; height: 100%; width: auto; }

.hero-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 14px;
  padding: 13px 20px;
  margin: 0 0 26px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.hero-lockup .lp-logo { display: inline-flex; height: 28px; color: var(--navy); }
.hero-lockup .lp-logo svg { display: block; height: 100%; width: auto; }
.hero-lockup .x { color: var(--ink-40); font-size: 1.15rem; line-height: 1; }
.hero-lockup .partner { display: inline-flex; height: 28px; }
.hero-lockup .partner svg { display: block; height: 100%; width: auto; }

/* ---------- charts ---------- */
.chart-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper);
  margin-top: 22px;
}
.chart-card h3 { margin: 0; font-size: 1.02rem; letter-spacing: -0.01em; }
.chart-wrap { position: relative; height: 240px; margin-top: 14px; }
.chart-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.78rem; color: var(--ink-60); margin: 14px 0 0; }
.chart-legend i { display: inline-block; width: 12px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }

/* ---------- data flow strip ---------- */
.flow {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--ink-60);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.flow .node { color: var(--ink); font-weight: 600; }
.flow .arrow { color: var(--ink-40); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-40); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-60); margin: 12px 0 0; max-width: 72ch; font-size: 0.95rem; }

/* ---------- CTA ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 60px 0; border: 0; }
.cta-band h2 { color: #fff; margin: 0 0 12px; }
.cta-band p { color: #b9c6d6; max-width: 58ch; margin: 0 0 26px; }

/* ---------- breadcrumb ---------- */
.crumb {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ink-40);
  padding: 18px 0 0;
}
.crumb a { color: var(--ink-40); text-decoration: none; }
.crumb a:hover { color: var(--navy); }

/* ---------- footer ---------- */
.site-footer {
  padding: 44px 0;
  color: var(--footer-ink);
  font-size: 0.86rem;
  background: var(--footer-bg);
}
.site-footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 30px;
}
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--footer-ink-hi);
  margin: 0 0 12px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--footer-ink-hi); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.legal { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; }

/* ---------- case study ---------- */
.case { padding: 64px 0; border-bottom: 1px solid var(--line); }
.case h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  max-width: 24ch;
}
.case .sub { color: var(--ink-60); max-width: 66ch; margin: 0; }
.case-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  margin-top: 34px;
}
.vb-logo { width: 128px; height: 32px; color: #fff; display: block; margin-bottom: 20px; }
.case-left {
  background: linear-gradient(150deg, #101f31, var(--navy-500));
  color: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-left .quote { font-size: 1.15rem; line-height: 1.55; font-weight: 500; margin: 0 0 20px; }
.case-left .who { color: #b9c6d6; font-size: 0.9rem; margin: 0; }
.case-right { padding: 40px; }
.case-right h3 { margin: 0 0 12px; font-size: 1.2rem; letter-spacing: -0.01em; }
.case-right p { color: var(--ink-60); margin: 0; font-size: 0.95rem; }
@media (max-width: 700px) { .case-card { grid-template-columns: 1fr; } .case-left, .case-right { padding: 26px 22px; } }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.case-stat { background: var(--paper-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 10px; text-align: center; }
.case-stat b { display: block; font-size: 1.25rem; color: var(--live-dark); }
.case-stat span { font-size: 0.76rem; color: var(--ink-60); }
@media (max-width: 860px) { .case-card { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-section {
  padding: 76px 0;
  background: radial-gradient(900px 500px at 50% 120%, var(--navy-500) 0%, var(--navy) 60%);
  color: #fff;
  text-align: center;
}
.contact-section .eyebrow { color: var(--live); }
.contact-section .lede { color: #b9c6d6; max-width: 62ch; margin: 0 auto 34px; }
.contact-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) + 6px);
  padding: 36px;
}
.contact-box label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: #c9d6e3; }
.contact-box input, .contact-box textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.15s ease;
}
.contact-box input::placeholder, .contact-box textarea::placeholder { color: #7e93a8; }
.contact-box input:focus, .contact-box textarea:focus { border-color: var(--live); }
.sys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 12px; margin: 4px 0 18px; }
.sys-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500 !important;
  color: #dce6ef !important;
  cursor: pointer;
  margin-bottom: 0 !important;
}
.sys-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--live); cursor: pointer; }
@media (max-width: 640px) { .sys-grid { grid-template-columns: 1fr 1fr; } }
.contact-box .btn-primary { width: 100%; text-align: center; padding: 13px; border: none; }
.contact-alt { text-align: center; margin-top: 22px; color: #9fb2c4; font-size: 0.94rem; }
.contact-alt a { color: var(--live); font-weight: 600; }

/* ---------- blog ---------- */
.blog-hero { padding: 64px 0 26px; }
.blog-hero .eyebrow { color: var(--live); }
.blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 8px 0 10px; }
@media (max-width: 760px) { .blog-list { grid-template-columns: 1fr; } }
.blog-card {
  display: flex; flex-direction: column; gap: 10px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; background: var(--paper); text-decoration: none; color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.blog-card:hover { border-color: var(--navy-500); box-shadow: 0 12px 30px rgba(13,27,42,.08); }
.blog-card .tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-40); }
.blog-card h2 { font-size: 1.24rem; line-height: 1.25; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
.blog-card p { margin: 0; color: var(--ink-60); font-size: .95rem; line-height: 1.55; }
.blog-card .go { margin-top: auto; padding-top: 6px; font-size: .9rem; font-weight: 600; color: var(--navy-500); }

.article { max-width: 720px; margin: 0 auto; padding: 0 24px; }
[data-lang-group] > [data-lang] { display: none; }
[data-lang-group] > [data-lang].is-active { display: block; }
.article-head { padding: 60px 0 8px; }
.article-head .eyebrow { color: var(--live); }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.12; letter-spacing: -0.03em; margin: 8px 0 14px; }
.article-head .standfirst { font-size: 1.15rem; color: var(--ink-60); line-height: 1.6; margin: 0; }
.article-body { padding: 20px 0 40px; font-size: 1.06rem; line-height: 1.72; color: #26333f; }
.article-body h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin: 42px 0 12px; line-height: 1.2; color: var(--ink); }
.article-body h3 { font-size: 1.15rem; letter-spacing: -0.01em; margin: 30px 0 8px; color: var(--ink); }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 1.3em; }
.article-body li { margin: 6px 0; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body a { color: var(--navy-500); text-decoration: underline; text-underline-offset: 2px; }
.article-body .table-wrap { overflow-x: auto; margin: 0 0 22px; }
.article-body table { border-collapse: collapse; width: 100%; font-size: .96rem; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.article-body thead th { background: var(--paper-alt); font-weight: 700; }
.article-body .formula { background: var(--paper-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 22px; font-family: var(--mono); font-size: .98rem; overflow-x: auto; }
.article-cta { margin: 34px 0 8px; padding: 22px 24px; border-radius: var(--radius); background: var(--live-soft); border: 1px solid #cdeadd; color: var(--ink); font-size: 1.02rem; line-height: 1.6; }
.article-cta a { color: var(--live-dark); font-weight: 700; }
.article-back { display: inline-block; margin: 6px 0 44px; font-weight: 600; color: var(--navy-500); text-decoration: none; }
