/* LeadVolley: shared site styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700;800&display=swap');
:root {
  --bg: #0b0b10; --panel: #161a22; --panel2: #1c212b; --border: #2a3040;
  --blue: #3e8eff; --blue-light: #7cb6ff; --blue-dark: #1d5fd1; --white: #f5f7fa;
  --sky: var(--blue-light); --sky-light: var(--blue-light);
  --muted: #8b93a7; --muted-dark: #5a6274;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--white);
  font-family: -apple-system, "Segoe UI", Calibri, Arial, sans-serif; line-height: 1.6;
}

/* ---------- Top nav ---------- */
.topnav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,11,16,0.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
}
.topnav .logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.topnav .logo img {
  height: 28px; width: auto; display: block;
  filter: drop-shadow(0 0 1px rgba(255,255,255,0.6)) drop-shadow(0 0 2px rgba(255,255,255,0.4));
}
.topnav .logo .logo-wordmark {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 23px;
  letter-spacing: 0.2px; margin-left: 10px; line-height: 1;
  color: var(--white);
}
.topnav .logo .logo-wordmark-volley { color: var(--blue-light); }
.topnav .links { display: flex; align-items: center; gap: 3px; }
.topnav .links a {
  color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 600;
  padding: 9px 14px; border-radius: 20px; transition: color .15s, background .15s;
}
.topnav .links a:hover { color: var(--white); background: var(--panel2); }
.topnav .links a.active { color: var(--blue-light); background: none; text-decoration: underline; text-decoration-color: var(--blue-light); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.topnav .links a.nav-cta {
  color: var(--white); background: var(--blue-dark); font-weight: 700;
  border: none; margin: 0;
  box-shadow: 0 0 16px rgba(62,142,255,0.35);
}
.topnav .links a.nav-cta:hover { background: var(--blue); color: var(--white); box-shadow: 0 0 22px rgba(62,142,255,0.55); }
.topnav .burger { display: none; color: var(--white); background: none; border: none; font-size: 22px; cursor: pointer; }
@media (max-width: 880px) {
  .topnav .links { display: none; position: absolute; top: 62px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; padding: 10px; gap: 4px; }
  .topnav .links.open { display: flex; }
  .topnav .burger { display: block; }
  .topnav { padding-left: 16px; }
  .topnav .logo .logo-wordmark { font-size: 20px; margin-left: 8px; }
  .topnav .logo img { height: 22px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 45px 24px 35px;
  background: radial-gradient(1200px 700px at 88% -5%, rgba(62,142,255,0.20), transparent 60%),
              radial-gradient(900px 600px at 0% 100%, rgba(122,90,255,0.12), transparent 60%);
}
.hero-inner { max-width: 980px; margin: 0 auto; }
.brand { color: var(--blue-light); font-weight: 700; letter-spacing: 3px; font-size: 13px; margin-bottom: 16px; }
h1 { font-size: 35.7px; margin: 0 0 14px; max-width: 820px; line-height: 1.15; }
h1 .hero-accent { color: var(--blue-light); white-space: nowrap; display: inline-block; }
@media (max-width: 880px) { h1 { font-size: 25.2px; } h1 br.hero-break-desktop { display: none; } }
@media (max-width: 480px) { h1 { font-size: 29px; } h1 .hero-accent { white-space: normal; } }
.hero p.sub { color: var(--muted); font-size: 17px; max-width: 620px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; align-items: center; }
.hero-message-me { display: flex; align-items: center; gap: 12px; margin-left: 9px; }
.hero-message-me span { color: var(--muted); font-size: 14px; }
.hero-message-me a { color: var(--white); display: flex; align-items: center; justify-content: center; transition: color .15s; }
.hero-message-me a:hover { color: var(--blue-light); }
.hero-message-me svg { width: 20px; height: 20px; display: block; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--blue-dark); color: var(--white); font-weight: 700; padding: 14px 28px; border-radius: 30px; text-decoration: none; box-shadow: 0 0 22px rgba(62,142,255,0.5); transition: box-shadow .15s, background .15s; }
.btn:hover { background: var(--blue); box-shadow: 0 0 30px rgba(62,142,255,0.7); }
.btn.outline { background: transparent; color: var(--white); border: 1px solid var(--border); box-shadow: none; }
.btn.outline:hover { border-color: var(--blue); color: var(--blue-light); box-shadow: 0 0 18px rgba(62,142,255,0.25); }

/* ---------- Layout / sections ---------- */
main { max-width: 980px; margin: 0 auto; padding: 5px 24px 10px; }
main.wide { max-width: 1180px; }
section { padding: 28px 0; border-top: 1px solid var(--border); }
section:first-child { border-top: none; }
.eyebrow { color: var(--blue-light); font-weight: 700; font-size: 12px; letter-spacing: 2px; margin-bottom: 10px; }
h2 { font-size: 28px; margin: 0 0 18px; }
h3 { font-size: 17px; color: var(--blue-light); margin: 32px 0 12px; }
h4 { font-size: 14.5px; margin: 0 0 8px; }
p { color: var(--white); font-size: 15.5px; }
p.lead { color: var(--muted); font-size: 16px; max-width: 700px; }
ul.tidy { padding-left: 20px; }
ul.tidy li { color: var(--white); margin-bottom: 10px; font-size: 15px; }
ul.tidy li b { color: var(--blue-light); }

/* ---------- Cards / grids ---------- */
.cardgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0; }
.cardgrid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .cardgrid, .cardgrid.two { grid-template-columns: 1fr; } .grid2 { grid-template-columns: 1fr !important; } }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.card h4 { color: var(--white); }
.card p { font-size: 13.5px; color: var(--muted); margin: 0; }
.feat-card { display: flex; flex-direction: column; gap: 10px; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.feat-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(62,142,255,0.14); border: 1px solid rgba(62,142,255,0.35); display: flex; align-items: center; justify-content: center; color: var(--blue-light); flex-shrink: 0; }
.feat-icon svg { width: 20px; height: 20px; display: block; }
.feat-icon-img { width: 23px; height: auto; display: block; }
.feat-card h4 { margin: 0; font-size: 15px; color: var(--white); }
.feat-card p { margin: 0; }
.feat-card .fc-tag { color: var(--blue-light); font-size: 10.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-top: -6px; margin-bottom: 2px; line-height: 1.4; }
.feat-card ul { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-direction: column; gap: 8px; }
.feat-card ul li { font-size: 13.5px; color: var(--muted); line-height: 1.5; padding-left: 20px; position: relative; }
.feat-card ul li::before { content: "\2713"; color: var(--blue-light); font-weight: 700; position: absolute; left: 0; top: 0; }

/* ---------- Proposal section: video + system breakdown ---------- */
.prop-grid { display: flex; flex-direction: column; gap: 32px; margin-top: 6px; }
.prop-right { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .prop-right { grid-template-columns: 1fr; } }

/* ---------- Search field (matches the advanced calculator's input style) ---------- */
.search-field { position: relative; max-width: 480px; margin: 0 auto 10px; }
.search-field svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: #5a6274; pointer-events: none; }
.search-field input[type=text] {
  width: 100%; background: #f5f7fa; color: #0b0b10; border: 1px solid #ccd3e0;
  border-radius: 24px; padding: 12px 16px 12px 42px; font-size: 14px; font-weight: 600;
}
.search-field input[type=text]::placeholder { color: #6b7280; font-weight: 500; }
.faq-empty { text-align: center; color: var(--muted-dark); font-size: 13.5px; font-style: italic; padding: 10px 0 4px; display: none; }

/* ---------- Tables ---------- */
table { width: 100%; border-collapse: collapse; margin: 18px 0 28px; font-size: 13.5px; }
th { background: #101725; color: var(--blue-light); text-align: left; padding: 10px 14px; border: 1px solid var(--border); font-size: 12px; letter-spacing: 0.5px; }
td { padding: 12px 14px; border: 1px solid var(--border); color: var(--white); vertical-align: top; background: var(--panel); }
td.muted { color: var(--muted); }

/* ---------- Example / annotated boxes ---------- */
.example { background: #0d1420; border: 1px solid var(--blue); border-radius: 12px; padding: 20px 22px; margin: 16px 0; box-shadow: 0 0 24px rgba(62,142,255,0.15); }
.example .tag { color: var(--blue-light); font-size: 11px; font-weight: 700; letter-spacing: 2px; margin-bottom: 8px; }
.example .subj { font-style: italic; font-weight: 700; margin-bottom: 10px; }
.example .body { color: var(--muted); font-size: 14.5px; }
.note { font-size: 13px; color: var(--muted-dark); font-style: italic; margin-top: 10px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.pill { background: var(--panel2); border: 1px solid var(--border); border-radius: 20px; padding: 8px 16px; font-size: 13px; color: var(--white); }

/* ---------- CTA block ---------- */
.cta { text-align: center; padding: 50px 30px; background: var(--panel); border: 1px solid var(--blue); border-radius: 16px; box-shadow: 0 0 32px rgba(62,142,255,0.22); margin-top: 40px; }
.cta h3 { color: var(--white); font-size: 22px; margin: 0 0 10px; }
.cta p { color: var(--muted); margin: 0 0 20px; }

/* ---------- Video placeholder ---------- */
/* ---------- Flow diagram ---------- */
.flow-diagram { display: flex; align-items: flex-start; justify-content: center; gap: 0px; margin: 32px 0 8px; padding: 28px 10px; background: #000; border: 1px solid var(--border); border-radius: 14px; }
.flow-step { flex: 1; max-width: 190px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.flow-icon { position: relative; width: 46px; height: 46px; border-radius: 50%; background: rgba(62,142,255,0.14); border: 1px solid rgba(62,142,255,0.35); display: flex; align-items: center; justify-content: center; color: var(--blue-light); flex-shrink: 0; }
.flow-icon svg { width: 22px; height: 22px; display: block; }
.flow-icon-img { width: 26px; height: auto; display: block; }
.flow-label { font-weight: 700; font-size: 14px; color: var(--white); }
.flow-sub { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.flow-arrow { position: relative; flex-shrink: 0; color: var(--muted-dark); width: 32px; height: 32px; margin-top: 7px; }
.flow-arrow svg { width: 100%; height: 100%; display: block; position: relative; z-index: 2; }
.flow-arrow .dot { position: absolute; top: 50%; left: 0; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 8px 2px rgba(124,182,255,0.8); opacity: 0; }
@media (max-width: 760px) {
  .flow-diagram { flex-direction: column; align-items: center; gap: 14px; }
  .flow-step { max-width: 320px; }
  .flow-arrow { margin-top: 0; }
  .flow-arrow svg { transform: rotate(90deg); }
}

/* Stagger reveal + glow-on-arrival, triggered once when scrolled into view.
   .flow-pending (hidden state) is added via inline script so no-JS users
   just see the diagram fully visible with no animation. */
.flow-diagram.flow-pending .flow-step,
.flow-diagram.flow-pending .flow-arrow { opacity: 0; transform: translateY(14px); }
.flow-diagram.flow-animate .flow-step,
.flow-diagram.flow-animate .flow-arrow { animation: flowRiseIn 0.6s ease both; }

/* Each icon gets a one-time arrival glow (flowGlowOnce) during the stagger
   reveal, then joins the "traveling pulse" loop once that settles: a
   glowing dot continuously travels along each arrow, and each icon briefly
   lights up as the signal reaches it - loops forever. */
.flow-diagram.flow-animate .flow-icon {
  animation-name: flowGlowOnce, flowIconGlowLoop;
  animation-duration: 1.1s, 7.2s;
  animation-timing-function: ease, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: both, none;
}

.flow-diagram.flow-animate .flow-step:nth-child(1) { animation-delay: 0.1s; }
.flow-diagram.flow-animate .flow-step:nth-child(1) .flow-icon { animation-delay: 0.1s, 2.5s; }
.flow-diagram.flow-animate .flow-arrow:nth-of-type(2) { animation-delay: 0.5s; }
.flow-diagram.flow-animate .flow-step:nth-child(3) { animation-delay: 0.7s; }
.flow-diagram.flow-animate .flow-step:nth-child(3) .flow-icon { animation-delay: 0.7s, 4.3s; }
.flow-diagram.flow-animate .flow-arrow:nth-of-type(4) { animation-delay: 1.1s; }
.flow-diagram.flow-animate .flow-step:nth-child(5) { animation-delay: 1.3s; }
.flow-diagram.flow-animate .flow-step:nth-child(5) .flow-icon { animation-delay: 1.3s, 6.1s; }
.flow-diagram.flow-animate .flow-arrow:nth-of-type(6) { animation-delay: 1.7s; }
.flow-diagram.flow-animate .flow-step:nth-child(7) { animation-delay: 1.9s; }
.flow-diagram.flow-animate .flow-step:nth-child(7) .flow-icon { animation-delay: 1.9s, 7.9s; }

.flow-diagram.flow-animate .flow-arrow:nth-of-type(2) .dot { animation: flowDotTravel 7.2s ease-in-out infinite; animation-delay: 2.95s; }
.flow-diagram.flow-animate .flow-arrow:nth-of-type(4) .dot { animation: flowDotTravel 7.2s ease-in-out infinite; animation-delay: 4.75s; }
.flow-diagram.flow-animate .flow-arrow:nth-of-type(6) .dot { animation: flowDotTravel 7.2s ease-in-out infinite; animation-delay: 6.55s; }

@keyframes flowRiseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes flowGlowOnce {
  0% { box-shadow: 0 0 0 0 rgba(62,142,255,0); border-color: rgba(62,142,255,0.35); }
  45% { box-shadow: 0 0 0 10px rgba(62,142,255,0.14), 0 0 22px 6px rgba(62,142,255,0.45); border-color: rgba(124,182,255,0.95); }
  100% { box-shadow: 0 0 0 0 rgba(62,142,255,0); border-color: rgba(62,142,255,0.35); }
}
@keyframes flowIconGlowLoop {
  0%, 92%, 100% { box-shadow: 0 0 0 0 rgba(62,142,255,0); border-color: rgba(62,142,255,0.35); }
  8% { box-shadow: 0 0 0 8px rgba(62,142,255,0.12), 0 0 18px 4px rgba(62,142,255,0.35); border-color: rgba(124,182,255,0.9); }
  20% { box-shadow: 0 0 0 0 rgba(62,142,255,0); border-color: rgba(62,142,255,0.35); }
}
@keyframes flowDotTravel {
  0% { left: 0%; opacity: 0; }
  5% { opacity: 1; }
  22% { left: 100%; opacity: 1; }
  27% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-diagram .flow-step,
  .flow-diagram .flow-arrow { opacity: 1; transform: none; animation: none; }
  .flow-diagram .flow-icon { animation: none; }
  .flow-diagram .flow-arrow .dot { display: none; }
}

.video-block { margin: 24px 0; }
.video-placeholder {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, #131722, #1b2333);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px;
}
.video-placeholder::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 400px at 50% 40%, rgba(62,142,255,0.18), transparent 65%);
}
.video-placeholder .play {
  position: relative; width: 68px; height: 68px; border-radius: 50%; background: var(--blue);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 30px rgba(62,142,255,0.55);
}
.video-placeholder .play::after {
  content: ""; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #0b0b10;
  margin-left: 4px;
}
.video-placeholder .label { position: relative; color: var(--muted); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; }
.video-placeholder .caption { position: relative; color: var(--muted-dark); font-size: 12.5px; max-width: 420px; text-align: center; }
.video-caption { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* ---------- PDF embed ---------- */
.pdf-block { margin: 24px 0; }
.pdf-frame-wrap {
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 32px rgba(62,142,255,0.10);
  background: var(--panel);
}
.pdf-frame-wrap iframe { width: 100%; height: 720px; border: none; display: block; background: #fff; }
.pdf-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: var(--panel2); border-bottom: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.pdf-toolbar a { color: var(--blue-light); text-decoration: none; font-weight: 700; }
.pdf-toolbar a:hover { text-decoration: underline; }
@media (max-width: 760px) { .pdf-frame-wrap iframe { height: 480px; } }

/* ---------- Footer ---------- */
footer { text-align: center; color: var(--muted-dark); font-size: 12px; padding: 50px 24px 0; border-top: 1px solid var(--border); }
footer .faddr { color: var(--muted); font-size: 12.5px; line-height: 1.6; margin-bottom: 16px; }
.footer-inner { max-width: 980px; margin: 0 auto; display: flex; justify-content: center; align-items: flex-start; gap: 70px; flex-wrap: wrap; padding-bottom: 36px; text-align: left; }
.footer-brand { max-width: 340px; margin-top: -15px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-icon { height: 26px; width: auto; display: block; filter: drop-shadow(0 0 1px rgba(255,255,255,0.6)) drop-shadow(0 0 2px rgba(255,255,255,0.4)); }
.footer-logo-text { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 19px; letter-spacing: 0.2px; color: var(--white); }
.footer-logo-volley { color: var(--blue-light); }
.footer-tagline { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; max-width: 340px; }
.footer-social { display: flex; gap: 14px; margin-top: 10px; }
.footer-social a { display: flex; align-items: center; justify-content: center; color: var(--muted); transition: color .15s; }
.footer-social a:hover { color: var(--blue-light); }
.footer-social svg { width: 17px; height: 17px; display: block; }
.footer-addr-label { color: var(--blue-light); font-weight: 700; font-size: 11px; letter-spacing: 1.5px; margin-bottom: 12px; }
.footer-addr-lines { color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.footer-bottom { max-width: 980px; margin: 0 auto; padding: 18px 0; color: var(--muted-dark); font-size: 12px; }
@media (max-width: 640px) { .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 26px; } .footer-logo { justify-content: center; } .footer-tagline { margin: 0 auto; } .footer-social { justify-content: center; } }

/* ---------- Tool cards ---------- */
.toolgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0; }
@media (max-width: 860px) { .toolgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .toolgrid { grid-template-columns: 1fr; } }
.toolcard { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.toolcard:hover { border-color: var(--blue); box-shadow: 0 0 24px rgba(62,142,255,0.16); transform: translateY(-2px); }
.toolcard .ticon { width: 40px; height: 40px; border-radius: 50%; background: rgba(62,142,255,0.14); border: 1px solid rgba(62,142,255,0.35); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--blue-light); }
.toolcard .ticon svg { width: 20px; height: 20px; display: block; }
.toolcard h4 { color: var(--white); font-size: 15px; margin: 0; }
.toolcard p { color: var(--muted); font-size: 13px; margin: 0; }
.toolcard .tbadge { display: inline-block; align-self: flex-start; font-size: 10.5px; font-weight: 700; letter-spacing: .5px; padding: 3px 9px; border-radius: 20px; background: var(--panel2); border: 1px solid var(--border); color: var(--muted); text-transform: uppercase; }
.toolcard .tbadge.live { color: var(--blue-light); border-color: var(--blue); }
.toolcard.disabled { opacity: .55; cursor: default; }
.toolcard.disabled:hover { border-color: var(--border); box-shadow: none; transform: none; }

/* ---------- FAQ accordion ---------- */
.faq-group { margin: 18px 0 40px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; background: var(--panel); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--white); font-size: 14.5px; font-weight: 700; padding: 16px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q .plus { color: var(--blue-light); font-size: 18px; flex-shrink: 0; transition: transform .15s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .2s ease; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 20px 18px; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- Homepage ROI teaser calculator ---------- */
.roi-hero { display: grid; grid-template-columns: 0.95fr 1.15fr; gap: 56px; align-items: start; margin-top: 18px; }
@media (max-width: 900px) { .roi-hero { grid-template-columns: 1fr; gap: 34px; } }
.roi-checklist { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.roi-checklist li { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 15.5px; }
.rc-icon {
  width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--blue-light); color: var(--blue-light);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0;
}
.roi-card { background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 24px; position: relative; }
.roi-steps-rail { position: relative; }
.roi-rail-bg, .roi-rail-fill { position: absolute; width: 2px; z-index: 1; }
.roi-rail-bg { background: var(--border); }
.roi-rail-fill { background: var(--blue); }
.roi-step { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 24px; position: relative; z-index: 2; filter: brightness(0.55); transition: filter .25s ease; }
.roi-step:last-child { margin-bottom: 0; }
.roi-step.active { filter: brightness(1); }
.roi-icon {
  width: 26px; height: 26px; border-radius: 50%; background: var(--panel2); color: var(--muted); border: 1.5px solid var(--muted-dark);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 400; flex-shrink: 0;
  position: relative; z-index: 2; transition: all .2s; cursor: pointer;
}
.roi-icon:hover { border-color: var(--blue); filter: brightness(1.2); }
.roi-icon.lit { background: var(--blue); color: #0b0b10; border-color: var(--blue); }
.roi-icon svg { width: 12px; height: 12px; display: block; }
.roi-step-body { flex: 1; min-width: 0; }
.roi-step-label { font-weight: 700; font-size: 17px; color: var(--white); }
.roi-step-sub { font-size: 13.5px; color: var(--muted); margin: 2px 0 10px; }
.roi-step-body input[type=range] {
  --fill: 50%;
  -webkit-appearance: none; appearance: none;
  display: block;
  width: 100%; height: 7px; margin: 0 0 6px; background: transparent; cursor: pointer;
  outline: none;
}
.roi-step-body input[type=range]::-webkit-slider-runnable-track {
  height: 7px; border-radius: 4px;
  background: linear-gradient(to right, var(--blue) 0%, var(--blue) var(--fill), var(--panel2) var(--fill), var(--panel2) 100%);
}
.roi-step-body input[type=range]::-moz-range-track { height: 7px; border-radius: 4px; background: var(--panel2); }
.roi-step-body input[type=range]::-moz-range-progress { height: 7px; border-radius: 4px; background: var(--blue); }
.roi-step-body input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 19px; height: 19px; border-radius: 50%; margin-top: -6px;
  background: #0b0b10; border: 2px solid var(--blue);
  cursor: pointer;
  transition: box-shadow .15s;
}
.roi-step-body input[type=range]::-moz-range-thumb {
  width: 19px; height: 19px; border-radius: 50%;
  background: #0b0b10; border: 2px solid var(--blue);
  cursor: pointer;
  transition: box-shadow .15s;
}
.roi-step-body input[type=range]:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--blue);
}
.roi-step-body input[type=range]:focus::-moz-range-thumb {
  box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--blue);
}
.roi-range-labels { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.roi-range-current { color: var(--blue-light); font-weight: 700; font-size: 15.5px; }
.roi-bar-row { margin-bottom: 10px; }
.roi-bar-row:last-child { margin-bottom: 0; }
.roi-bar-head { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 5px; }
.roi-bar-head span:last-child { color: var(--white); font-weight: 700; }
.roi-bar-track { height: 7px; background: var(--panel2); border-radius: 4px; overflow: hidden; }
.roi-bar-fill { height: 100%; background: var(--blue); border-radius: 4px; transition: width .2s; }
.roi-result-box {
  margin-top: 22px; margin-left: 56px; background: rgba(62,142,255,0.08); border: 1px solid rgba(62,142,255,0.35);
  border-radius: 12px; padding: 14px 18px; filter: brightness(0.55); transition: filter .25s ease;
}
.roi-result-box.active { filter: brightness(1); }
.roi-result-label { font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.roi-result-value { font-size: 30px; font-weight: 800; color: var(--blue-light); }
.roi-cta { display: block; text-align: center; margin-top: 18px; margin-left: 56px; }
@media (max-width: 560px) { .roi-result-box, .roi-cta { margin-left: 46px; } }

/* ---------- Industry cards ---------- */
.indgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 22px 0 40px; }
@media (max-width: 760px) { .indgrid { grid-template-columns: 1fr; } }
.indcard { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 22px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.indcard:hover { border-color: var(--blue); box-shadow: 0 0 24px rgba(62,142,255,0.16); }
.indcard h4 { color: var(--blue-light); font-size: 16px; margin: 0 0 8px; }
.indcard p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* ---------- Docs / lexicon layout ---------- */
.docs-shell { display: grid; grid-template-columns: 240px 1fr; gap: 40px; max-width: 1180px; margin: 0 auto; padding: 40px 24px 100px; align-items: start; }
.docs-sidebar { position: sticky; top: 84px; align-self: start; }
.docs-sidebar .sgroup { margin-bottom: 22px; }
.docs-sidebar .sgroup-title { color: var(--muted-dark); font-size: 11px; letter-spacing: 1.5px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; }
.docs-sidebar a { display: block; color: var(--muted); text-decoration: none; font-size: 13.5px; padding: 6px 10px; border-radius: 8px; margin-bottom: 2px; }
.docs-sidebar a:hover { color: var(--white); background: var(--panel2); }
.docs-content section { padding: 40px 0; }
@media (max-width: 900px) { .docs-shell { grid-template-columns: 1fr; } .docs-sidebar { position: static; } }
.kicker { display: inline-block; background: var(--panel2); border: 1px solid var(--border); color: var(--blue-light); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; padding: 4px 10px; border-radius: 6px; margin-bottom: 10px; }
