/* ═══════════════════════════════════════════════════════════
   SYNE Carbon · solutions.css
   Page-specific styles for solutions.html
   Loads AFTER css/styles.css — no token redefinition.
   Section rhythm:
     Page header    → bg-slate
     01 Developers  → bg-white
     02 Buyers      → bg-grey
     03 Traders     → bg-pale
     04 Regulators  → bg-white
     05 Insurers    → bg-grey
     06 Investors   → bg-pale
     CTA            → bg-blue  (shared .cta-sec)
     Footer         → bg-navy  (shared .footer)
   ═══════════════════════════════════════════════════════════ */

/* ── PAGE HEADER · bg-slate ──────────────────────────────── */
.pg-header-sol {
  padding-top: 64px;
  background: var(--bg-slate);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.pg-header-sol::before {
  content: '';
  position: absolute; top: 64px; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, rgba(57,172,231,.15) 55%, transparent 100%);
}
.pg-header-sol::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 52px 52px; opacity: .25;
}
.pg-sol-inner {
  position: relative; z-index: 1;
  padding: 56px 0 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

/* breadcrumb — shared with products page */
.breadcrumb {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--ink-3);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--ink-3); transition: color .15s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb-sep { color: var(--ink-4); }

.pg-h1 {
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 700; line-height: 1.07; letter-spacing: -.026em;
  color: var(--ink); margin-bottom: 18px;
}
.pg-h1 strong { color: var(--blue); }
.pg-lead {
  font-size: 16px; line-height: 1.74;
  color: var(--ink-2); max-width: 520px;
}

/* Right: audience chip grid */
.sol-audience { display: flex; flex-wrap: wrap; gap: 10px; }
.sol-chip {
  display: flex; align-items: center; gap: 9px;
  background: var(--bg-white); border: 1px solid var(--line);
  border-radius: 20px; padding: 10px 18px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  transition: all .18s; text-decoration: none;
}
.sol-chip:hover {
  border-color: var(--blue-mid); color: var(--blue-dark);
  transform: translateY(-1px); box-shadow: var(--sh-sm);
}
.sol-chip-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-blue   { background: var(--blue); }
.dot-green  { background: var(--green); }
.dot-amber  { background: var(--amber); }
.dot-indigo { background: var(--indigo); }
.dot-teal   { background: var(--teal); }
.dot-red    { background: #EF4444; }

/* ── STICKY SOLUTIONS NAV ─────────────────────────────────── */
.sol-nav {
  position: sticky; top: 64px; z-index: 200;
  background: var(--bg-white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(13,31,45,.04);
}
.sol-nav-inner {
  display: flex; align-items: stretch;
  overflow-x: auto; scrollbar-width: none;
}
.sol-nav-inner::-webkit-scrollbar { display: none; }
.snav-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 0 22px; height: 52px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-3);
  border-bottom: 2.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: color .15s, border-color .15s, background .15s;
  flex-shrink: 0;
}
.snav-tab:hover { color: var(--ink); background: var(--bg-grey); }
.snav-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.snav-num {
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  padding: 2px 6px; border-radius: 3px;
  background: var(--bg-grey); color: var(--ink-4);
  transition: background .15s, color .15s;
}
.snav-tab.active .snav-num { background: var(--blue-lt); color: var(--blue-dark); }

/* ── SHARED SOLUTION SECTION WRAPPER ─────────────────────── */
.sol-sec { padding: 88px 0; }
.sol-sec-white { background: var(--bg-white); }
.sol-sec-grey  { background: var(--bg-grey);  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sol-sec-pale  { background: var(--bg-pale);  border-top: 1px solid var(--blue-mid); border-bottom: 1px solid var(--blue-mid); }

/* ── SOLUTION SECTION LAYOUT (2-col) ─────────────────────── */
.sol-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
}
/* flipped: panel LEFT, content RIGHT */
.sol-layout-flip {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
}
.sol-layout-flip .sol-panel-wrap { order: -1; }

/* ── SOLUTION IDENTITY BLOCK ──────────────────────────────── */
.sol-id {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 26px;
}
.sol-id-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: var(--r-md);
  background: var(--blue-lt); border: 1px solid var(--blue-mid);
  display: grid; place-items: center;
}
.sol-id-icon svg {
  width: 24px; height: 24px;
  stroke: var(--blue); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.sol-id-tag  {
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 3px;
}
.sol-id-name {
  font-size: 20px; font-weight: 700; color: var(--ink);
  letter-spacing: -.018em; line-height: 1.1;
}

.sol-h2 {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700; line-height: 1.1; letter-spacing: -.022em;
  color: var(--ink); margin-bottom: 14px;
}
.sol-h2 strong { color: var(--blue); }
.sol-body {
  font-size: 15px; line-height: 1.74;
  color: var(--ink-2); margin-bottom: 24px;
}
.sol-ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ── FEATURE LIST (same card style as products) ───────────── */
.sol-feats { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.sol-feat {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  transition: border-color .18s, box-shadow .18s;
}
.sol-sec-white .sol-feat { background: var(--bg-grey); }
.sol-sec-grey  .sol-feat { background: var(--bg-white); }
.sol-sec-pale  .sol-feat { background: var(--bg-white); }
.sol-feat:hover { border-color: var(--blue-mid); box-shadow: var(--sh-sm); }
.sol-feat-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: var(--r);
  background: var(--blue-lt); border: 1px solid var(--blue-mid);
  display: grid; place-items: center;
}
.sol-feat-icon svg {
  width: 15px; height: 15px;
  stroke: var(--blue); fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.sol-feat-title { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.sol-feat-desc  { font-size: 12.5px; color: var(--ink-3); line-height: 1.55; }

/* ── PRODUCTS USED TAG ROW ────────────────────────────────── */
.sol-products-used {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 4px;
}
.sol-products-lbl {
  font-size: 9.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-4);
  flex-shrink: 0; margin-right: 4px;
}
.sol-ptag {
  font-size: 11.5px; font-weight: 600;
  background: var(--blue-lt); color: var(--blue-dark);
  border: 1px solid var(--blue-mid); border-radius: 3px;
  padding: 3px 9px; transition: all .13s;
}
.sol-ptag:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── DATA PANEL (right-side visual) ──────────────────────── */
.sol-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.sol-sec-grey .sol-panel { box-shadow: var(--sh-md); }

.sp-chrome {
  background: var(--bg-navy);
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.sp-dots { display: flex; gap: 5px; }
.sp-dot  { width: 10px; height: 10px; border-radius: 50%; }
.sp-dot-r { background: #FF5F57; }
.sp-dot-y { background: #FFBD2E; }
.sp-dot-g { background: #28C840; }
.sp-title {
  font-size: 10px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
}
.sp-live {
  font-size: 9px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--green);
  display: flex; align-items: center; gap: 4px;
}
.sp-live::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); animation: sp-blink 1.8s ease infinite;
}
@keyframes sp-blink { 0%,100%{opacity:1} 50%{opacity:.2} }

.sp-body { padding: 20px 22px; }
.sp-lbl {
  font-size: 9.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-4); margin-bottom: 10px;
}
.sp-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.sp-row:last-of-type { border-bottom: none; }
.sp-row-name  { color: var(--ink-2); font-weight: 500; flex: 1; padding-right: 10px; }
.sp-row-val   { color: var(--ink);  font-weight: 700; font-family: 'Courier New', monospace; white-space: nowrap; }
.sp-tag {
  font-size: 10px; font-weight: 700; padding: 2px 8px;
  border-radius: 3px; white-space: nowrap; margin-left: 8px;
}
.sp-tag-aaa   { background: var(--indigo-lt); color: var(--indigo); }
.sp-tag-aa    { background: var(--blue-lt);   color: var(--blue-dark); }
.sp-tag-a     { background: var(--green-lt);  color: #15803D; }
.sp-tag-b     { background: var(--amber-lt);  color: #92400E; }
.sp-tag-up    { background: var(--green-lt);  color: #15803D; }
.sp-tag-dn    { background: #FEE2E2;          color: #B91C1C; }
.sp-tag-live  { background: var(--green-lt);  color: #15803D; }
.sp-tag-blue  { background: var(--blue-lt);   color: var(--blue-dark); }
.sp-tag-amber { background: var(--amber-lt);  color: #92400E; }
.sp-tag-grey  { background: var(--bg-slate);  color: var(--ink-3); }
.sp-tag-indigo{ background: var(--indigo-lt); color: var(--indigo); }

.sp-divider { height: 1px; background: var(--line); margin: 14px 0; }
.sp-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.sp-stat-val {
  font-size: 22px; font-weight: 700; color: var(--ink);
  letter-spacing: -.035em; line-height: 1; margin-bottom: 3px;
}
.sp-stat-val.blue { color: var(--blue); }
.sp-stat-lbl { font-size: 9.5px; color: var(--ink-4); text-transform: uppercase; letter-spacing: .05em; }

/* ── METRIC STRIP (same pattern as products) ──────────────── */
.sol-metric-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden; margin-top: 18px;
}
.sol-metric-item {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  background: var(--bg-white);
  transition: background .18s;
}
.sol-sec-grey .sol-metric-item { background: var(--bg-grey); }
.sol-metric-item:last-child { border-right: none; }
.sol-metric-item:hover { background: var(--blue-lt); }
.sm-val {
  font-size: 24px; font-weight: 700; color: var(--ink);
  letter-spacing: -.04em; line-height: 1; margin-bottom: 4px;
}
.sm-val em { color: var(--blue); font-style: normal; font-size: .72em; }
.sm-lbl { font-size: 11px; color: var(--ink-3); line-height: 1.4; }

/* ── FINANCE FLOW DARK SECTION ────────────────────────────── */
.finance-sec {
  background: var(--bg-navy);
  padding: 88px 0;
  border-top: 3px solid var(--blue);
}
.finance-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
}
.fin-title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700; line-height: 1.1; letter-spacing: -.022em;
  color: #fff; margin-bottom: 14px;
}
.fin-title strong { color: var(--blue); }
.fin-body {
  font-size: 15px; line-height: 1.72;
  color: rgba(255,255,255,.55); margin-bottom: 28px;
}
.fin-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.fin-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.fin-pill {
  font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.1); border-radius: 3px;
  padding: 6px 12px; transition: all .15s;
}
.fin-pill:hover { background: rgba(57,172,231,.15); border-color: rgba(57,172,231,.3); color: var(--blue); }

/* Vertical steps timeline */
.fin-steps { display: flex; flex-direction: column; }
.fin-step  { display: flex; gap: 20px; align-items: flex-start; padding-bottom: 28px; }
.fin-step:last-child { padding-bottom: 0; }
.fin-step-l { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.fin-step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700; z-index: 1;
}
.fin-step-line {
  width: 1px; flex: 1; min-height: 22px;
  background: linear-gradient(to bottom, var(--blue), rgba(57,172,231,.1));
  margin-top: 6px;
}
.fin-step:last-child .fin-step-line { display: none; }
.fin-step-content { padding-top: 6px; }
.fin-step-title { font-size: 14.5px; font-weight: 700; color: rgba(255,255,255,.88); margin-bottom: 5px; }
.fin-step-desc  { font-size: 12.5px; color: rgba(255,255,255,.44); line-height: 1.6; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pg-sol-inner       { grid-template-columns: 1fr; gap: 36px; }
  .sol-layout         { grid-template-columns: 1fr; gap: 40px; }
  .sol-layout-flip    { grid-template-columns: 1fr; gap: 40px; }
  .sol-layout-flip .sol-panel-wrap { order: 0; }
  .finance-inner      { grid-template-columns: 1fr; gap: 48px; }
  .sol-metric-strip   { grid-template-columns: repeat(2, 1fr); }
  .sol-metric-item:nth-child(2) { border-right: none; }
  .sol-metric-item    { border-bottom: 1px solid var(--line); }
  .sol-metric-item:nth-child(3),
  .sol-metric-item:nth-child(4) { border-bottom: none; }
}
@media (max-width: 768px) {
  .sol-sec            { padding: 64px 0; }
  .finance-sec        { padding: 64px 0; }
  .snav-tab           { padding: 0 16px; font-size: 12.5px; }
  .sol-metric-strip   { grid-template-columns: 1fr; }
  .sol-metric-item    { border-right: none; border-bottom: 1px solid var(--line); }
  .sol-metric-item:last-child { border-bottom: none; }
}
