/* Solution landing pages (/solutions/{slug}). Self-contained, prefix .sol- */

.sol-page {
    --sol-blue: #086ad8;
    --sol-blue-2: #2b8efe;
    --sol-navy: #050f33;
    --sol-ink: #0f1b3d;
    --sol-muted: #5b6472;
    --sol-line: #e3e8f2;
    --sol-tint: #f4f7fd;
    --sol-header: 87px;
    color: var(--sol-ink);
    font-size: 17px;
    line-height: 1.7;
    overflow-x: clip;
}
.sol-page h1, .sol-page h2, .sol-page h3 { font-family: "Barlow", sans-serif; color: var(--sol-ink); line-height: 1.2; }
.sol-page img { max-width: 100%; height: auto; }

/* ---------- reveal on scroll (only when JS is present) ---------- */
.sol-js .sol-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease var(--d, 0ms), transform .6s ease var(--d, 0ms); }
.sol-js .sol-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .sol-js .sol-reveal { opacity: 1; transform: none; transition: none; }
    .sol-page * { scroll-behavior: auto !important; }
}

.sol-draft { position: fixed; left: 50%; bottom: 18px; z-index: 1000; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 10px 18px; border-radius: 999px; background: #1f2937; color: #fff; font: 600 14px/1.3 "Barlow", sans-serif; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }

/* ---------- shared pieces ---------- */
.sol-section { position: relative; padding: 96px 0; background: #fff; }
.sol-section--tint { background: var(--sol-tint); }
.sol-narrow { max-width: 800px; margin: 0 auto; }
.sol-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.sol-title { margin: 0 0 14px; font-size: 40px; font-weight: 700; }
.sol-lead { margin: 0; font-size: 19px; color: var(--sol-muted); }
.sol-section [id], .sol-hero[id], .sol-cta[id] { scroll-margin-top: calc(var(--sol-header) + 56px); }

.sol-eyebrow {
    display: inline-block; margin-bottom: 16px;
    font: 700 13px/1 "Barlow", sans-serif; letter-spacing: .2em; text-transform: uppercase;
    color: var(--sol-blue-2);
}
.sol-prose p { margin: 0 0 16px; }
.sol-prose p:last-child { margin-bottom: 0; }
.sol-prose ul { margin: 0 0 16px; padding: 0; list-style: none; }
.sol-prose ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.sol-prose ul li::before { content: ""; position: absolute; left: 4px; top: .68em; width: 8px; height: 8px; border-radius: 50%; background: var(--sol-blue); }
.sol-prose strong { color: var(--sol-ink); }

.sol-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 30px; border-radius: 8px;
    font: 600 16px/1.2 "Barlow", sans-serif; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.sol-btn:hover { transform: translateY(-2px); text-decoration: none; }
.sol-btn--primary { color: #fff; background: linear-gradient(135deg, var(--sol-blue-2), var(--sol-blue)); box-shadow: 0 10px 24px rgba(8, 106, 216, .28); }
.sol-btn--primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(8, 106, 216, .36); }
.sol-btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); }
.sol-btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.sol-btn--light { color: var(--sol-blue); background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.sol-btn--light:hover { color: var(--sol-blue); }
.sol-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- hero ---------- */
.sol-hero {
    position: relative; overflow: hidden;
    padding: calc(var(--sol-header) + 84px) 0 96px;
    color: #fff; background: var(--sol-navy) url("../images/bg/cta-bg5.jpg") center / cover no-repeat;
}
.sol-hero::before { /* soft glow */
    content: ""; position: absolute; inset: auto -10% -40% auto; width: 720px; height: 720px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(43, 142, 254, .35), transparent); pointer-events: none;
}
.sol-hero .container { position: relative; z-index: 1; }
.sol-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.sol-hero__text, .sol-hero__media { min-width: 0; }
.sol-hero--plain .sol-hero__grid { grid-template-columns: 1fr; }
.sol-hero--plain .sol-hero__text { max-width: 820px; }
.sol-page .sol-hero__title { margin: 0 0 18px; font-size: 56px; font-weight: 700; color: #fff; }
.sol-hero__sub { margin: 0; max-width: 56ch; font-size: 20px; color: rgba(255, 255, 255, .86); }
.sol-hero__media img { display: block; width: 100%; border-radius: 18px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .18); }
.sol-crumbs { display: flex; gap: 8px; margin-bottom: 22px; font-size: 14px; color: rgba(255, 255, 255, .65); }
.sol-crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.sol-crumbs a:hover { color: #fff; text-decoration: underline; }
.sol-product-logo {
    display: flex; align-items: center; gap: 22px; width: max-content; margin: 0 0 26px;
    color: #fff;
}
.sol-product-logo img { display: block; width: 96px; max-width: 100%; height: auto; }
.sol-product-logo--wordmark img { width: 190px; }
/* square-ish cloud logos (Salesforce) are narrower than a wordmark */
.sol-product-logo.sol-product-logo--cloud img { width: 118px; }
.sol-product-logo__name { display: flex; flex-direction: column; gap: 2px; padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .4); font-family: "Barlow", sans-serif; line-height: 1; }
.sol-product-logo__name strong { color: #fff; font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.sol-product-logo__name small { color: rgba(255, 255, 255, .72); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- in-page menu ---------- */
.sol-nav { position: sticky; top: var(--sol-header); z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sol-line); }
.sol-nav ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.sol-nav ul::-webkit-scrollbar { display: none; }
.sol-nav a {
    position: relative; display: block; padding: 17px 16px; white-space: nowrap;
    font: 600 15px/1 "Barlow", sans-serif; color: var(--sol-muted); text-decoration: none; transition: color .2s ease;
}
.sol-nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--sol-blue); transform: scaleX(0); transition: transform .25s ease; }
.sol-nav a:hover { color: var(--sol-ink); }
.sol-nav a.is-current { color: var(--sol-blue); }
.sol-nav a.is-current::after { transform: scaleX(1); }

/* ---------- feature grid ---------- */
.sol-features { display: grid; gap: 24px; }
.sol-cols-2 { grid-template-columns: repeat(2, 1fr); }
.sol-cols-3 { grid-template-columns: repeat(3, 1fr); }
.sol-cols-4 { grid-template-columns: repeat(4, 1fr); }
.sol-feature {
    padding: 30px 28px; background: #fff; border: 1px solid var(--sol-line); border-radius: 16px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.sol-feature:hover { transform: translateY(-5px); border-color: rgba(8, 106, 216, .35); box-shadow: 0 18px 40px rgba(15, 27, 61, .1); }
.sol-feature__icon {
    display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 18px; padding: 13px;
    border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--sol-blue-2), var(--sol-blue));
}
.sol-feature__icon svg { width: 100%; height: 100%; }
.sol-feature h3 { margin: 0 0 8px; font-size: 21px; }
.sol-feature p { margin: 0; font-size: 16px; color: var(--sol-muted); }

/* ---------- image + text ---------- */
.sol-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sol-split--flip .sol-split__media { order: -1; }
.sol-split--solo { grid-template-columns: 1fr; max-width: 800px; margin: 0 auto; }
.sol-split__text .sol-title { margin-bottom: 18px; }
.sol-split__media img { display: block; width: 100%; border-radius: 18px; box-shadow: 0 24px 56px rgba(15, 27, 61, .16); }
.sol-checks { margin: 22px 0 28px; padding: 0; list-style: none; }
.sol-checks li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 11px; }
.sol-checks li span { flex: none; display: flex; width: 24px; height: 24px; margin-top: 2px; padding: 5px; border-radius: 50%; color: #fff; background: var(--sol-blue); }
.sol-checks li span svg { width: 100%; height: 100%; stroke-width: 3; }

/* ---------- tabs ---------- */
.sol-tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.sol-tabs__tab {
    padding: 12px 24px; border: 1px solid var(--sol-line); border-radius: 999px; background: #fff;
    font: 600 16px/1 "Barlow", sans-serif; color: var(--sol-muted); cursor: pointer; transition: all .2s ease;
}
.sol-tabs__tab:hover { color: var(--sol-blue); border-color: rgba(8, 106, 216, .4); }
.sol-tabs__tab.is-active { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--sol-blue-2), var(--sol-blue)); box-shadow: 0 8px 20px rgba(8, 106, 216, .28); }
.sol-tabs__tab:focus-visible, .sol-steps__btn:focus-visible, .sol-faq__item summary:focus-visible { outline: 3px solid rgba(43, 142, 254, .5); outline-offset: 2px; }
.sol-tabs__panel { display: none; grid-template-columns: 1fr; gap: 40px; align-items: center; padding: 40px; background: #fff; border: 1px solid var(--sol-line); border-radius: 20px; }
.sol-tabs__panel.is-active { display: grid; animation: solFade .4s ease; }
.sol-tabs__panel.has-image { grid-template-columns: 1.1fr .9fr; }
.sol-tabs__body h3 { margin: 0 0 14px; font-size: 28px; }
.sol-tabs__media img { display: block; width: 100%; border-radius: 14px; }
/* no JS: show every panel stacked */
html:not(.sol-js) .sol-tabs__panel { display: grid; margin-bottom: 20px; }
html:not(.sol-js) .sol-tabs__list { display: none; }
@keyframes solFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- steps ---------- */
.sol-steps { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.sol-steps__list { position: relative; margin: 0; padding: 0; list-style: none; }
.sol-steps__list::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--sol-line); }
.sol-steps__btn {
    position: relative; display: flex; align-items: center; gap: 16px; width: 100%; padding: 8px 12px 8px 0; margin-bottom: 8px;
    border: 0; background: none; text-align: left; cursor: pointer; font: 600 18px/1.3 "Barlow", sans-serif; color: var(--sol-muted); transition: color .2s ease;
}
.sol-steps__no {
    flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
    border: 2px solid var(--sol-line); background: #fff; font-weight: 700; color: var(--sol-muted); transition: all .25s ease;
}
.sol-steps__btn:hover { color: var(--sol-ink); }
.sol-steps__btn:hover .sol-steps__no { border-color: var(--sol-blue); color: var(--sol-blue); }
.sol-steps__btn.is-active { color: var(--sol-ink); }
.sol-steps__btn.is-active .sol-steps__no { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--sol-blue-2), var(--sol-blue)); box-shadow: 0 8px 18px rgba(8, 106, 216, .3); }
.sol-steps__details { min-height: 220px; padding: 38px 40px; background: var(--sol-tint); border: 1px solid var(--sol-line); border-radius: 20px; }
.sol-steps__detail { display: none; }
.sol-steps__detail.is-active { display: block; animation: solFade .4s ease; }
.sol-steps__kicker { display: block; margin-bottom: 10px; font: 700 13px/1 "Barlow", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--sol-blue); }
.sol-steps__detail h3 { margin: 0 0 12px; font-size: 30px; }
.sol-steps__detail p { margin: 0; font-size: 18px; color: var(--sol-muted); }
html:not(.sol-js) .sol-steps__detail { display: block; margin-bottom: 24px; }
html:not(.sol-js) .sol-steps__list { display: none; }
html:not(.sol-js) .sol-steps { grid-template-columns: 1fr; }

/* ---------- FAQ ---------- */
.sol-faq__item { margin-bottom: 12px; background: #fff; border: 1px solid var(--sol-line); border-radius: 14px; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.sol-faq__item[open] { border-color: rgba(8, 106, 216, .4); box-shadow: 0 12px 28px rgba(15, 27, 61, .08); }
.sol-faq__item summary {
    position: relative; display: block; padding: 20px 60px 20px 24px; cursor: pointer; list-style: none;
    font: 600 19px/1.4 "Barlow", sans-serif; color: var(--sol-ink);
}
.sol-faq__item summary::-webkit-details-marker { display: none; }
.sol-faq__chev { position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; }
.sol-faq__chev::before, .sol-faq__chev::after { content: ""; position: absolute; left: 3px; top: 10px; width: 16px; height: 2px; border-radius: 2px; background: var(--sol-blue); transition: transform .25s ease; }
.sol-faq__chev::after { transform: rotate(90deg); }
.sol-faq__item[open] .sol-faq__chev::after { transform: rotate(0deg); }
.sol-faq__a { padding: 0 24px 22px; color: var(--sol-muted); }
.sol-faq__a p { margin: 0; }

/* ---------- CTA ---------- */
.sol-cta { padding: 90px 0; color: #fff; text-align: center; background: var(--sol-navy) url("../images/bg/cta-bg5.jpg") center / cover no-repeat; }
.sol-cta__inner { max-width: 720px; margin: 0 auto; }
.sol-page .sol-cta__title { margin: 0 0 14px; font-size: 40px; font-weight: 700; color: #fff; }
.sol-cta p { margin: 0 0 30px; font-size: 19px; color: rgba(255, 255, 255, .86); }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    .sol-cols-4 { grid-template-columns: repeat(2, 1fr); }
    .sol-steps { grid-template-columns: 290px 1fr; }
}
@media (max-width: 991px) {
    .sol-page { --sol-header: 72px; }
    .sol-section { padding: 72px 0; }
    .sol-title, .sol-page .sol-cta__title { font-size: 32px; }
    .sol-hero { padding: calc(var(--sol-header) + 56px) 0 64px; }
    .sol-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .sol-page .sol-hero__title { font-size: 42px; }
    .sol-cols-3 { grid-template-columns: repeat(2, 1fr); }
    .sol-split { grid-template-columns: 1fr; gap: 36px; }
    .sol-split--flip .sol-split__media { order: 0; }
    .sol-tabs__panel.has-image { grid-template-columns: 1fr; }
    .sol-steps { grid-template-columns: 1fr; gap: 24px; }
    .sol-steps__list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
    .sol-steps__list::before { display: none; }
    .sol-steps__btn { flex-direction: column; gap: 8px; width: auto; min-width: 96px; margin: 0; text-align: center; font-size: 15px; }
}
@media (max-width: 575px) {
    .sol-page { font-size: 16px; }
    .sol-section { padding: 56px 0; }
    .sol-title, .sol-page .sol-cta__title { font-size: 28px; }
    .sol-page .sol-hero__title { font-size: 34px; }
    .sol-hero__title, .sol-hero__sub { overflow-wrap: anywhere; }
    .sol-hero__sub { font-size: 18px; }
    .sol-product-logo { gap: 16px; margin-bottom: 22px; }
    .sol-product-logo img { width: 78px; }
    .sol-product-logo--wordmark img { width: 160px; }
    .sol-product-logo__name { padding-left: 16px; }
    .sol-product-logo__name strong { font-size: 22px; }
    .sol-product-logo__name small { font-size: 11px; }
    .sol-cols-2, .sol-cols-3, .sol-cols-4 { grid-template-columns: 1fr; }
    .sol-tabs__panel { padding: 24px; }
    .sol-steps__details { padding: 26px 24px; }
    .sol-steps__detail h3 { font-size: 24px; }
    .sol-btn { width: 100%; }
}
