/* Reference-matched presentation layer for the three solution detail routes. */
.solution-detail-page {
    --solution-bg: #0c0c0e;
    --solution-surface: rgba(255, 255, 255, 0.025);
    --solution-surface-strong: #12111a;
    --solution-surface-soft: rgba(255, 255, 255, 0.045);
    --solution-text: #ffffff;
    --solution-copy: #94a3b8;
    --solution-muted: #94a3b8;
    --solution-border: rgba(255, 255, 255, 0.1);
    --solution-purple: #8b5cf6;
    --solution-purple-bright: #a855f7;
    --solution-indigo: #6366f1;
    --solution-blue: #3b82f6;
    --solution-orange: #ec5b13;
    --solution-emerald: #10b981;
    --solution-shadow: rgba(0, 0, 0, 0.5);
    color: var(--solution-text);
    background: var(--solution-bg);
    font-family: "Public Sans", sans-serif;
    overflow: clip;
}

html[lang="ar"][dir="rtl"] .solution-detail-page {
    font-family:
        "Tajawal",
        Tahoma,
        Arial,
        "Public Sans",
        sans-serif;
}

:root[data-theme="light"] .solution-detail-page {
    --solution-bg: #f8f6f6;
    --solution-surface: rgba(255, 255, 255, 0.82);
    --solution-surface-strong: #ffffff;
    --solution-surface-soft: rgba(124, 58, 237, 0.055);
    --solution-text: #111827;
    --solution-copy: #475569;
    --solution-muted: #526277;
    --solution-border: rgba(41, 32, 58, 0.14);
    --solution-shadow: rgba(69, 49, 103, 0.16);
}

.solution-detail-page *,
.solution-detail-page *::before,
.solution-detail-page *::after {
    box-sizing: border-box;
}

.solution-ref-section {
    position: relative;
    isolation: isolate;
    width: 100%;
    padding-block: clamp(72px, 8vw, 118px);
    background: var(--solution-bg);
}

.solution-ref-hero {
    min-height: 100svh;
    padding-top: clamp(136px, 12vw, 178px);
    display: flex;
    align-items: center;
}

.solution-ref-container {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 32px), 1180px);
    margin-inline: auto;
}

.solution-ref-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "copy"
        "visual";
    align-items: center;
    gap: clamp(52px, 8vw, 100px);
}

.solution-ref-copy {
    min-width: 0;
}

.solution-ref-visual {
    position: relative;
    min-width: 0;
}

.solution-ref-hero-layout > .solution-ref-copy {
    grid-area: copy;
}

.solution-ref-hero-layout > .solution-ref-visual {
    grid-area: visual;
}

.solution-ref-glow,
.solution-ref-visual-glow {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(90px);
    opacity: 0.2;
    z-index: -1;
}

.solution-ref-glow {
    width: min(42vw, 620px);
    aspect-ratio: 1;
}

.solution-ref-glow-start {
    inset: 4% auto auto -18%;
    background: var(--solution-purple);
}

.solution-ref-glow-end {
    inset: auto -18% 0 auto;
    background: var(--solution-blue);
}

.solution-ref-copy-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.solution-ref-pill {
    width: fit-content;
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 999px;
    margin-bottom: 28px;
    padding: 7px 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}

:root[data-theme="light"] .solution-ref-pill {
    color: #6d28d9;
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.24);
}

.solution-ref-copy-heading h1,
.solution-ref-copy-heading h2 {
    color: var(--solution-text);
    max-width: 16ch;
    margin: 0;
    font-size: clamp(2.35rem, 4.35vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.08;
    text-wrap: balance;
}

.solution-ref-sales-copy .solution-ref-copy-heading h1 {
    background: linear-gradient(
        110deg,
        var(--solution-text) 0 43%,
        var(--solution-orange) 69%,
        var(--solution-purple) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.solution-ref-growth-copy .solution-ref-copy-heading h1 {
    background: linear-gradient(
        110deg,
        var(--solution-text) 0 30%,
        var(--solution-blue) 58%,
        var(--solution-purple-bright) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.solution-ref-copy-heading > p {
    color: var(--solution-copy);
    max-width: 38rem;
    margin: 24px 0 0;
    font-size: clamp(1rem, 1.45vw, 1.2rem);
    line-height: 1.75;
}

.solution-ref-panel {
    color: var(--solution-text);
    background: var(--solution-surface);
    border: 1px solid var(--solution-border);
    box-shadow: 0 28px 72px -30px var(--solution-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.solution-ref-button {
    color: #fff;
    background: #7c3aed;
    border: 1px solid transparent;
    border-radius: 999px;
    box-shadow: 0 0 22px rgba(139, 92, 246, 0.42);
    width: fit-content;
    min-height: 54px;
    margin-top: 30px;
    padding: 14px 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.solution-ref-button:hover,
.solution-ref-button:focus-visible {
    color: #fff;
    background: #6d28d9;
    box-shadow: 0 0 32px rgba(139, 92, 246, 0.6);
    transform: translateY(-3px);
}

.solution-ref-button:focus-visible {
    outline: 3px solid #c4b5fd;
    outline: 3px solid color-mix(in srgb, var(--solution-purple) 48%, #fff);
    outline-offset: 4px;
}

.solution-ref-button .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.25s ease;
}

.solution-ref-button:hover .material-symbols-outlined {
    transform: translateX(4px);
}

html[dir="rtl"] .solution-ref-button .material-symbols-outlined {
    transform: scaleX(-1);
}

html[dir="rtl"] .solution-ref-button:hover .material-symbols-outlined {
    transform: translateX(-4px) scaleX(-1);
}

/* Sales reference */
.solution-ref-sales-visual {
    width: min(100%, 28rem);
    min-height: 0;
    justify-self: center;
    display: grid;
    align-items: center;
    justify-items: stretch;
}

.solution-ref-sales-glow-purple {
    width: 58%;
    aspect-ratio: 1;
    inset-block-start: 5%;
    inset-inline-start: 0;
    background: var(--solution-purple);
}

.solution-ref-sales-glow-orange {
    width: 62%;
    aspect-ratio: 1;
    inset-block-end: 2%;
    inset-inline-end: 0;
    background: var(--solution-orange);
    opacity: 0.12;
}

.solution-ref-sales-card-wrap {
    position: relative;
    width: 100%;
}

.solution-ref-sales-card {
    position: relative;
    width: 100%;
    border-radius: 16px;
    padding: clamp(22px, 3vw, 32px);
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: start;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.solution-ref-sales-card:hover {
    border-color: rgba(139, 92, 246, 0.42);
    box-shadow: 0 32px 80px -28px rgba(139, 92, 246, 0.35);
    transform: scale(1.015);
}

.solution-ref-sales-profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.solution-ref-sales-avatar {
    color: #fff;
    background: linear-gradient(145deg, var(--solution-purple), #c2410c);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(139, 92, 246, 0.25);
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    font-weight: 800;
}

.solution-ref-sales-identity {
    min-width: 0;
}

.solution-ref-sales-identity > strong,
.solution-ref-sales-identity p {
    margin: 0;
}

.solution-ref-sales-identity > strong {
    color: var(--solution-text);
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.solution-ref-sales-identity p {
    color: var(--solution-copy);
    margin-top: 0;
    font-size: 0.875rem;
    line-height: 1.43;
}

.solution-ref-sales-verified {
    color: var(--solution-purple);
    margin-inline-start: auto;
    flex: 0 0 auto;
    font-size: 24px;
}

.solution-ref-sales-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.solution-ref-sales-badge {
    border: 1px solid;
    border-radius: 999px;
    padding: 4px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1rem;
    text-transform: uppercase;
}

.solution-ref-sales-badge-verified {
    color: var(--solution-emerald);
    background: rgba(16, 185, 129, 0.09);
    border-color: rgba(16, 185, 129, 0.3);
}

.solution-ref-sales-badge-verified i {
    background: var(--solution-emerald);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    width: 8px;
    height: 8px;
    animation: solution-ref-pulse-dot 2s infinite;
}

.solution-ref-sales-badge-intent {
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.09);
    border-color: rgba(139, 92, 246, 0.3);
}

.solution-ref-sales-badge .material-symbols-outlined {
    font-size: 12px;
}

.solution-ref-sales-summary {
    background: var(--solution-surface-soft);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 12px;
    padding: 16px;
}

:root[data-theme="light"] .solution-ref-sales-summary {
    border-color: var(--solution-border);
}

.solution-ref-sales-summary-label {
    color: var(--solution-copy);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1rem;
    text-transform: uppercase;
}

.solution-ref-sales-summary-label .material-symbols-outlined {
    font-size: 14px;
}

.solution-ref-sales-summary p {
    color: var(--solution-text);
    margin: 0;
    font-size: 0.875rem;
    font-style: italic;
    line-height: 1.625;
}

.solution-ref-sales-assignment {
    display: grid;
    gap: 12px;
}

.solution-ref-sales-assignment-label {
    color: var(--solution-muted);
    padding-inline-start: 3px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1rem;
    text-transform: uppercase;
}

.solution-ref-sales-assignment-value {
    background: rgba(15, 23, 42, 0.46);
    border: 1px solid var(--solution-border);
    border-radius: 8px;
    min-height: 48px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

:root[data-theme="light"] .solution-ref-sales-assignment-value {
    background: #f5f3f8;
}

.solution-ref-sales-assignment-value strong {
    color: var(--solution-text);
    font-size: 0.875rem;
    font-weight: 500;
}

.solution-ref-sales-assignment-value > .material-symbols-outlined {
    color: var(--solution-muted);
    margin-inline-start: auto;
    font-size: 24px;
}

.solution-ref-sales-assignee {
    background: #475569;
    border-radius: 50%;
    width: 24px;
    height: 24px;
}

.solution-ref-sales-assign-action {
    color: #fff;
    background: var(--solution-orange);
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(236, 91, 19, 0.2);
    min-height: 48px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
}

.solution-ref-sales-assign-action .material-symbols-outlined {
    font-size: 14px;
}

.solution-ref-sales-match {
    position: absolute;
    inset-block-start: 27.333%;
    inset-inline-end: -24px;
    z-index: 2;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: start;
    transform: scale(0.9);
}

.solution-ref-sales-match-icon {
    color: var(--solution-emerald);
    background: rgba(16, 185, 129, 0.12);
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    font-size: 14px;
}

.solution-ref-sales-match span:last-child {
    min-inline-size: 0;
    display: grid;
    gap: 2px;
    text-align: start;
}

.solution-ref-sales-match small {
    color: var(--solution-copy);
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.solution-ref-sales-match strong {
    color: var(--solution-text);
    font-size: 0.875rem;
}

/*
 * The shared legacy icon rule uses `margin: auto`. Reset it inside this
 * reference card so flex rows keep the same compact alignment as the source.
 */
.solution-ref-sales-card .material-symbols-outlined,
.solution-ref-sales-match .material-symbols-outlined {
    margin: 0;
}

.solution-ref-sales-card .solution-ref-sales-verified,
.solution-ref-sales-card
    .solution-ref-sales-assignment-value
    > .material-symbols-outlined {
    margin-block: 0;
    margin-inline-start: auto;
    margin-inline-end: 0;
}

html[dir="rtl"] .solution-ref-sales-assign-action .material-symbols-outlined {
    transform: scaleX(-1);
}

html[dir="rtl"] .solution-ref-sales-identity > strong,
html[dir="rtl"] .solution-ref-sales-badge,
html[dir="rtl"] .solution-ref-sales-summary-label,
html[dir="rtl"] .solution-ref-sales-assignment-label,
html[dir="rtl"] .solution-ref-sales-match small {
    letter-spacing: 0;
}

html[dir="rtl"] .solution-ref-sales-badge,
html[dir="rtl"] .solution-ref-sales-summary-label,
html[dir="rtl"] .solution-ref-sales-assignment-label,
html[dir="rtl"] .solution-ref-sales-match small {
    text-transform: none;
}

.solution-ref-sales-feature-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.solution-ref-sales-feature {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.solution-ref-feature-icon {
    color: var(--solution-purple);
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: 10px;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.solution-ref-feature-icon .material-symbols-outlined {
    font-size: 22px;
}

.solution-ref-sales-feature:nth-child(odd) .solution-ref-feature-icon {
    color: var(--solution-orange);
    background: rgba(236, 91, 19, 0.08);
    border-color: rgba(236, 91, 19, 0.2);
}

.solution-ref-sales-feature:hover .solution-ref-feature-icon {
    transform: translateY(-3px);
}

.solution-ref-sales-feature h2,
.solution-ref-sales-feature p {
    margin: 0;
}

.solution-ref-sales-feature h2 {
    color: var(--solution-text);
    font-size: 0.98rem;
    font-weight: 800;
}

.solution-ref-sales-feature p {
    color: var(--solution-muted);
    margin-top: 6px;
    font-size: 0.8rem;
    line-height: 1.55;
}

/* Growth reference */
.solution-ref-growth-pill i {
    background: var(--solution-purple-bright);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.6);
    width: 7px;
    height: 7px;
    animation: solution-ref-pulse-dot 2s infinite;
}

.solution-ref-growth-visual {
    min-height: clamp(500px, 54vw, 650px);
    display: grid;
    place-items: center;
}

.solution-ref-growth-glow-blue {
    width: 64%;
    aspect-ratio: 1;
    inset: 0 auto auto -2%;
    background: var(--solution-blue);
    opacity: 0.16;
}

.solution-ref-growth-glow-green {
    width: 58%;
    aspect-ratio: 1;
    inset: auto -2% 0 auto;
    background: #a3e635;
    opacity: 0.1;
}

.solution-ref-growth-panel {
    width: min(100%, 520px);
    border-color: rgba(139, 92, 246, 0.28);
    border-radius: 18px;
    padding: clamp(17px, 2.3vw, 25px);
    overflow: hidden;
    background: rgba(15, 23, 42, 0.78);
}

:root[data-theme="light"] .solution-ref-growth-panel {
    background: rgba(255, 255, 255, 0.9);
}

.solution-ref-growth-window-header {
    color: #c4b5fd;
    border-bottom: 1px solid var(--solution-border);
    margin: calc(clamp(17px, 2.3vw, 25px) * -1)
        calc(clamp(17px, 2.3vw, 25px) * -1) 21px;
    padding: 14px 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.solution-ref-growth-window-controls {
    display: flex;
    gap: 6px;
}

.solution-ref-growth-window-controls i {
    border-radius: 50%;
    width: 7px;
    height: 7px;
}

.solution-ref-growth-window-controls i:nth-child(1) {
    background: #ef4444;
}
.solution-ref-growth-window-controls i:nth-child(2) {
    background: #f59e0b;
}
.solution-ref-growth-window-controls i:nth-child(3) {
    background: #22c55e;
}

.solution-ref-growth-sources {
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.solution-ref-growth-source {
    color: #fff;
    background: rgba(99, 102, 241, 0.16);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 11px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
}

.solution-ref-growth-source:nth-child(2) {
    background: rgba(59, 130, 246, 0.17);
    border-color: rgba(59, 130, 246, 0.3);
}

.solution-ref-growth-source:nth-child(3) {
    background: rgba(168, 85, 247, 0.18);
    border-color: rgba(168, 85, 247, 0.3);
}

.solution-ref-growth-source .material-symbols-outlined {
    font-size: 22px;
}

.solution-ref-growth-funnel {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 7px;
}

.solution-ref-growth-stage {
    color: #e2e8f0;
    background: linear-gradient(
        90deg,
        rgba(59, 130, 246, 0.42),
        rgba(139, 92, 246, 0.42)
    );
    border: 1px solid rgba(139, 92, 246, 0.24);
    clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%);
    min-height: 34px;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

:root[data-theme="light"] .solution-ref-growth-stage {
    color: #312e81;
}

.solution-ref-growth-stage-traffic {
    width: 100%;
    background: linear-gradient(
        90deg,
        rgba(59, 130, 246, 0.24),
        rgba(139, 92, 246, 0.24)
    );
}

.solution-ref-growth-stage-nurture {
    width: 85%;
    background: linear-gradient(
        90deg,
        rgba(59, 130, 246, 0.31),
        rgba(139, 92, 246, 0.31)
    );
}

.solution-ref-growth-stage-scoring {
    width: 62%;
    background: linear-gradient(
        90deg,
        rgba(59, 130, 246, 0.38),
        rgba(139, 92, 246, 0.38)
    );
}

.solution-ref-growth-stage-qualified {
    color: #fff;
    background: linear-gradient(90deg, #6d28d9, #7c3aed);
    border-color: rgba(216, 180, 254, 0.72);
    clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
    width: 36%;
    min-width: 118px;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.55);
    animation: solution-ref-qualified-glow 2s ease-in-out infinite alternate;
}

.solution-ref-growth-stage-qualified strong {
    font-size: 0.95rem;
}

.solution-ref-growth-metrics {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.solution-ref-growth-metric {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--solution-border);
    border-radius: 11px;
    min-width: 0;
    min-height: 118px;
    padding: 13px;
}

:root[data-theme="light"] .solution-ref-growth-metric {
    background: rgba(124, 58, 237, 0.045);
}

.solution-ref-growth-metric > p {
    color: var(--solution-copy);
    margin: 0;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.solution-ref-growth-bars {
    height: 48px;
    margin-block: 9px 6px;
    display: flex;
    align-items: flex-end;
    gap: 7px;
}

.solution-ref-growth-bars i {
    background: linear-gradient(
        to top,
        var(--solution-blue),
        var(--solution-purple)
    );
    border-radius: 3px 3px 1px 1px;
    width: 15%;
    height: var(--solution-bar-height);
    animation: solution-ref-bar-grow 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.solution-ref-growth-bars i:nth-child(2) {
    animation-delay: 100ms;
}
.solution-ref-growth-bars i:nth-child(3) {
    animation-delay: 200ms;
}
.solution-ref-growth-bars i:nth-child(4) {
    animation-delay: 300ms;
}

.solution-ref-growth-response strong,
.solution-ref-growth-chart strong {
    color: var(--solution-purple-bright);
    font-size: 0.76rem;
}

.solution-ref-growth-chart {
    position: relative;
    height: 50px;
    margin-block: 6px 2px;
}

.solution-ref-growth-chart svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.solution-ref-growth-chart path {
    fill: none;
    stroke: var(--solution-purple-bright);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.65));
    animation: solution-ref-path-draw 1.9s ease-out forwards;
}

.solution-ref-growth-chart strong {
    position: absolute;
    inset-block-start: 4px;
    inset-inline-end: 2px;
}

.solution-ref-growth-conversion > span {
    color: var(--solution-muted);
    font-size: 0.66rem;
}

.solution-ref-growth-feature-list {
    margin-top: 32px;
    display: grid;
    gap: 12px;
}

.solution-ref-growth-feature {
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 12px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.solution-ref-growth-feature:hover {
    background: rgba(139, 92, 246, 0.055);
    border-color: rgba(139, 92, 246, 0.24);
    transform: translateX(8px);
}

html[dir="rtl"] .solution-ref-growth-feature:hover {
    transform: translateX(-8px);
}

.solution-ref-growth-feature h2,
.solution-ref-growth-feature p {
    margin: 0;
}

.solution-ref-growth-feature h2 {
    color: var(--solution-text);
    font-size: 0.98rem;
    font-weight: 800;
}

.solution-ref-growth-feature p {
    color: var(--solution-muted);
    margin-top: 4px;
    font-size: 0.78rem;
    line-height: 1.45;
}

/* Agency reference */
.solution-ref-agency-verification {
    min-height: 100svh;
    padding-top: clamp(136px, 12vw, 178px);
    display: flex;
    align-items: center;
}

.solution-ref-agency-secret {
    padding-top: clamp(82px, 8vw, 118px);
}

.solution-ref-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: clamp(52px, 7vw, 96px);
}

.solution-ref-copy .solution-ref-heading {
    max-width: none;
    margin: 0;
    text-align: start;
}

.solution-ref-eyebrow {
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 999px;
    width: fit-content;
    margin-bottom: 24px;
    padding: 7px 13px;
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}

:root[data-theme="light"] .solution-ref-eyebrow {
    color: #6d28d9;
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.24);
}

.solution-ref-copy .solution-ref-heading h1,
.solution-ref-copy .solution-ref-heading h2 {
    color: var(--solution-text);
    max-width: 17ch;
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3.55rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.09;
    text-wrap: balance;
}

.solution-detail-agency .solution-ref-copy .solution-ref-heading h1,
.solution-detail-agency .solution-ref-copy .solution-ref-heading h2 {
    background: linear-gradient(
        108deg,
        var(--solution-text) 0 38%,
        var(--solution-purple-bright) 72%,
        var(--solution-indigo) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.solution-ref-copy .solution-ref-heading > p {
    color: var(--solution-copy);
    max-width: 39rem;
    margin: 22px 0 0;
    font-size: clamp(0.98rem, 1.35vw, 1.13rem);
    line-height: 1.72;
}

.solution-ref-feature-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.solution-ref-feature-card {
    position: relative;
    color: var(--solution-text);
    background: var(--solution-surface);
    border: 1px solid rgba(139, 92, 246, 0.13);
    border-radius: 13px;
    min-width: 0;
    /* min-height: 148px; */
    min-height: fit-content;
    padding: 17px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "icon title"
        "icon copy";
    align-content: start;
    column-gap: 12px;
    animation-delay: var(--solution-delay);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.solution-ref-feature-card:hover {
    background: rgba(139, 92, 246, 0.07);
    border-color: rgba(139, 92, 246, 0.38);
    box-shadow: 0 18px 42px -28px rgba(139, 92, 246, 0.4);
    transform: translateY(-5px);
}

.solution-ref-feature-card .solution-ref-feature-icon {
    grid-area: icon;
    width: 40px;
    height: 40px;
    flex-basis: 40px;
}

.solution-ref-feature-card h2,
.solution-ref-feature-card h3,
.solution-ref-feature-card p {
    margin: 0;
}

.solution-ref-feature-card h2,
.solution-ref-feature-card h3 {
    grid-area: title;
    color: var(--solution-text);
    align-self: center;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.25;
}

.solution-ref-feature-card p {
    grid-area: copy;
    color: var(--solution-muted);
    margin-top: 6px;
    font-size: 0.72rem;
    line-height: 1.5;
}

.solution-ref-trial {
    color: #fff;
    background: linear-gradient(90deg, #6d28d9, #7c3aed);
    border: 1px solid transparent;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.36);
    width: fit-content;
    min-height: 54px;
    margin-top: 22px;
    padding: 13px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.solution-ref-trial:hover,
.solution-ref-trial:focus-visible {
    color: #fff;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.58);
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.solution-ref-trial:focus-visible {
    outline: 3px solid rgba(196, 181, 253, 0.8);
    outline-offset: 4px;
}

.solution-ref-trial .material-symbols-outlined {
    font-size: 19px;
}

html[dir="rtl"] .solution-ref-trial .material-symbols-outlined {
    transform: scaleX(-1);
}

.solution-ref-verification-engine,
.solution-ref-client-pipeline {
    position: relative;
    isolation: isolate;
    color: #f8fafc;
    background:
        radial-gradient(
            circle at 80% 0,
            rgba(99, 102, 241, 0.18),
            transparent 38%
        ),
        linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(8, 10, 28, 0.98));
    border: 1px solid rgba(139, 92, 246, 0.28);
    border-radius: 22px;
    box-shadow: 0 30px 80px -28px rgba(0, 0, 0, 0.65);
    width: 100%;
    max-width: 600px;
    margin-inline: auto;
    overflow: hidden;
    transform-style: preserve-3d;
}

.solution-ref-verification-engine.tilt-surface,
.solution-ref-client-pipeline.tilt-surface {
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg))
        rotateY(var(--tilt-y, 0deg));
}

:root[data-theme="light"] .solution-ref-verification-engine,
:root[data-theme="light"] .solution-ref-client-pipeline {
    color: #172033;
    background:
        radial-gradient(
            circle at 80% 0,
            rgba(99, 102, 241, 0.1),
            transparent 38%
        ),
        linear-gradient(145deg, #ffffff, #f4f3fa);
    border-color: rgba(124, 58, 237, 0.24);
    box-shadow: 0 28px 70px -30px rgba(69, 49, 103, 0.28);
}

.solution-ref-verification-engine {
    aspect-ratio: 1 / 1;
    min-height: 520px;
    padding: clamp(19px, 2.5vw, 29px);
    display: flex;
    flex-direction: column;
}

.solution-ref-verification-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

:root[data-theme="light"] .solution-ref-verification-header {
    border-color: rgba(30, 41, 59, 0.1);
}

.solution-ref-verification-title,
.solution-ref-verification-status {
    display: flex;
    align-items: center;
    gap: 7px;
}

.solution-ref-verification-title {
    color: #c4b5fd;
    flex-wrap: wrap;
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.solution-ref-verification-title span:last-child {
    color: #818cf8;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.26);
    border-radius: 999px;
    padding: 4px 7px;
    font-size: 0.54rem;
}

.solution-ref-status-dot {
    background: var(--solution-emerald);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.62);
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    animation: solution-ref-pulse-dot 2s infinite;
}

.solution-ref-verification-status {
    color: #94a3b8;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.solution-ref-verification-status strong {
    color: var(--solution-emerald);
    font-size: 0.74rem;
}

.solution-ref-verification-profile {
    padding-block: clamp(17px, 2.4vw, 26px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.solution-ref-verification-avatar-ring {
    position: relative;
    border: 1px solid rgba(139, 92, 246, 0.45);
    border-radius: 50%;
    box-shadow:
        0 0 28px rgba(139, 92, 246, 0.26),
        inset 0 0 25px rgba(139, 92, 246, 0.12);
    width: clamp(94px, 10vw, 126px);
    aspect-ratio: 1;
    padding: 10px;
}

.solution-ref-verification-avatar-ring::before,
.solution-ref-verification-avatar-ring::after {
    content: "";
    position: absolute;
    border: 1px dashed rgba(139, 92, 246, 0.35);
    border-radius: 50%;
    inset: -8px;
    animation: solution-ref-orbit 12s linear infinite;
}

.solution-ref-verification-avatar-ring::after {
    border-style: solid;
    border-color: transparent var(--solution-purple) transparent transparent;
    inset: -3px;
    animation-duration: 6s;
    animation-direction: reverse;
}

.solution-ref-verification-avatar {
    position: relative;
    color: #c4b5fd;
    background: linear-gradient(
        145deg,
        rgba(139, 92, 246, 0.24),
        rgba(99, 102, 241, 0.12)
    );
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.solution-ref-verification-avatar .material-symbols-outlined {
    font-size: clamp(45px, 5vw, 66px);
    font-variation-settings:
        "FILL" 1,
        "wght" 250;
}

.solution-ref-verification-scan-dot {
    position: absolute;
    inset: 50% auto auto 50%;
    background: #fff;
    border-radius: 50%;
    box-shadow:
        0 0 10px #fff,
        0 0 18px var(--solution-purple);
    width: 5px;
    height: 5px;
    animation: solution-ref-scan 3s ease-in-out infinite;
}

.solution-ref-verification-eyebrow,
.solution-ref-verification-name,
.solution-ref-verification-role {
    margin: 0;
}

.solution-ref-verification-eyebrow {
    color: #a78bfa;
    margin-top: 14px;
    font-size: 0.56rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.solution-ref-verification-name {
    color: inherit;
    margin-top: 4px;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 850;
}

.solution-ref-verification-role {
    color: #94a3b8;
    margin-top: 3px;
    font-size: 0.72rem;
}

:root[data-theme="light"] .solution-ref-verification-role {
    color: #64748b;
}

.solution-ref-verification-qualified {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 999px;
    margin-top: 10px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.solution-ref-verification-qualified img {
    width: 15px;
    height: 15px;
}

.solution-ref-verification-metrics {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.solution-ref-verification-metric {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 11px;
    min-width: 0;
    min-height: 68px;
    padding: 10px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;
}

:root[data-theme="light"] .solution-ref-verification-metric {
    background: rgba(124, 58, 237, 0.045);
    border-color: rgba(30, 41, 59, 0.1);
}

.solution-ref-metric-icon {
    border-radius: 8px;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
}

.solution-ref-metric-icon img {
    width: 15px;
    height: 15px;
}

.solution-ref-metric-icon-green {
    background: rgba(16, 185, 129, 0.11);
}
.solution-ref-metric-icon-purple {
    background: rgba(139, 92, 246, 0.13);
}
.solution-ref-metric-icon-blue {
    background: rgba(59, 130, 246, 0.12);
}

.solution-ref-metric-copy {
    min-width: 0;
}

.solution-ref-metric-copy p,
.solution-ref-metric-copy strong {
    margin: 0;
    display: block;
}

.solution-ref-metric-copy p {
    color: #94a3b8;
    font-size: 0.54rem;
    font-weight: 700;
    line-height: 1.25;
}

.solution-ref-metric-copy strong {
    color: inherit;
    margin-top: 3px;
    font-size: 0.66rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.solution-ref-metric-value-green {
    color: #6ee7b7 !important;
}
.solution-ref-metric-value-purple {
    color: #c4b5fd !important;
}

.solution-ref-client-pipeline {
    aspect-ratio: 1 / 1;
    min-height: 535px;
    padding: clamp(17px, 2.2vw, 25px);
    display: flex;
    flex-direction: column;
}

.solution-ref-pipeline-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

:root[data-theme="light"] .solution-ref-pipeline-header {
    border-color: rgba(30, 41, 59, 0.1);
}

.solution-ref-pipeline-title {
    color: #c4b5fd;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.solution-ref-pipeline-title img {
    width: 18px;
    height: 18px;
}

.solution-ref-window-controls {
    display: flex;
    gap: 6px;
}

.solution-ref-window-controls span {
    background: #475569;
    border-radius: 50%;
    width: 7px;
    height: 7px;
}

.solution-ref-window-controls span:first-child {
    background: #64748b;
}

.solution-ref-pipeline-rows {
    margin-top: 8px;
    display: grid;
}

.solution-ref-pipeline-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
    min-height: 68px;
    padding-block: 8px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(90px, 0.7fr);
    align-items: center;
    gap: 12px;
}

:root[data-theme="light"] .solution-ref-pipeline-row {
    border-color: rgba(30, 41, 59, 0.09);
}

.solution-ref-pipeline-client {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.solution-ref-client-logo {
    color: #fff;
    border-radius: 9px;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
}

.solution-ref-client-logo .material-symbols-outlined {
    font-size: 18px;
}
.solution-ref-client-logo-blue {
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
}
.solution-ref-client-logo-purple {
    background: linear-gradient(145deg, #8b5cf6, #6d28d9);
}
.solution-ref-client-logo-cyan {
    background: linear-gradient(145deg, #0891b2, #0e7490);
}
.solution-ref-client-logo-orange {
    background: linear-gradient(145deg, #f97316, #c2410c);
}
.solution-ref-client-logo-green {
    background: linear-gradient(145deg, #10b981, #047857);
}

.solution-ref-client-name,
.solution-ref-client-state,
.solution-ref-pipeline-lead-data p {
    margin: 0;
}

.solution-ref-client-name {
    color: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
}

.solution-ref-client-state {
    color: #94a3b8;
    margin-top: 3px;
    font-size: 0.54rem;
    font-weight: 700;
}

.solution-ref-client-state-qualified {
    color: #6ee7b7;
}
.solution-ref-client-state-syncing {
    color: #c4b5fd;
}

.solution-ref-pipeline-lead-data {
    min-width: 0;
}

.solution-ref-pipeline-lead-data p {
    color: #94a3b8;
    margin-bottom: 6px;
    font-size: 0.54rem;
    text-align: end;
}

.solution-ref-pipeline-progress {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    width: 100%;
    height: 5px;
    display: block;
    overflow: hidden;
}

:root[data-theme="light"] .solution-ref-pipeline-progress {
    background: rgba(30, 41, 59, 0.1);
}

.solution-ref-pipeline-progress > span {
    background: linear-gradient(
        90deg,
        var(--solution-indigo),
        var(--solution-purple)
    );
    border-radius: inherit;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    width: var(--solution-progress);
    height: 100%;
    display: block;
    transform-origin: left center;
    animation: solution-ref-progress 1.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

html[dir="rtl"] .solution-ref-pipeline-progress > span {
    transform-origin: right center;
}

.solution-ref-pipeline-insight {
    position: absolute;
    inset: auto auto 14px 50%;
    color: #f8fafc;
    background: rgba(18, 15, 38, 0.94);
    border: 1px solid rgba(139, 92, 246, 0.38);
    border-radius: 13px;
    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.42),
        0 0 24px rgba(139, 92, 246, 0.14);
    width: min(76%, 340px);
    padding: 12px 14px;
    transform: translateX(-50%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

:root[data-theme="light"] .solution-ref-pipeline-insight {
    color: #172033;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 44px rgba(69, 49, 103, 0.2);
}

.solution-ref-insight-label {
    color: #c4b5fd;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.52rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.solution-ref-pipeline-insight h3,
.solution-ref-pipeline-insight p {
    margin: 0;
}

.solution-ref-pipeline-insight h3 {
    color: inherit;
    margin-top: 6px;
    font-size: 0.72rem;
    font-weight: 850;
}

.solution-ref-pipeline-insight p {
    color: #94a3b8;
    margin-top: 4px;
    font-size: 0.56rem;
    line-height: 1.45;
}

:root[data-theme="light"] .solution-ref-pipeline-insight p {
    color: #64748b;
}

.solution-ref-insight-divider {
    background: rgba(255, 255, 255, 0.08);
    width: 100%;
    height: 1px;
    margin-block: 8px;
    display: block;
}

:root[data-theme="light"] .solution-ref-insight-divider {
    background: rgba(30, 41, 59, 0.1);
}

.solution-ref-insight-footer {
    color: #a78bfa;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.52rem;
    font-weight: 800;
}

.solution-ref-insight-footer .material-symbols-outlined {
    font-size: 13px;
}

/* Shared efficiency/outcomes reference */
.solution-ref-outcomes {
    padding-block: clamp(78px, 8vw, 112px);
}

.solution-ref-outcomes-heading {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: 0 auto clamp(42px, 5vw, 64px);
    text-align: center;
}

.solution-ref-outcomes-heading .pill {
    margin-bottom: 20px;
}

.solution-ref-outcomes-heading h2 {
    color: var(--solution-text);
    margin: 0;
    font-size: clamp(2rem, 4.3vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.08;
    text-wrap: balance;
}

.solution-ref-outcomes-heading h2 span {
    color: transparent;
    background: linear-gradient(90deg, var(--solution-purple), #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.22));
}

.solution-ref-outcomes-heading > p {
    color: var(--solution-copy);
    max-width: 48rem;
    margin: 22px auto 0;
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.7;
}

.solution-ref-outcome-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.solution-ref-outcome-card {
    position: relative;
    color: var(--solution-text);
    background: var(--solution-surface);
    border: 1px solid rgba(139, 92, 246, 0.16);
    border-radius: 16px;
    box-shadow: 0 18px 52px -28px var(--solution-shadow);
    min-height: 300px;
    padding: clamp(22px, 2.4vw, 31px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    animation-delay: var(--solution-delay);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        translate 0.3s ease;
}

.solution-ref-outcome-card:hover {
    border-color: rgba(139, 92, 246, 0.48);
    box-shadow: 0 28px 60px -24px rgba(139, 92, 246, 0.3);
    translate: 0 -8px;
}

.solution-ref-card-wash {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        145deg,
        rgba(139, 92, 246, 0.09),
        transparent 52%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.solution-ref-outcome-card:hover .solution-ref-card-wash {
    opacity: 1;
}

.solution-ref-outcome-icon {
    position: relative;
    color: var(--solution-purple);
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 11px;
    box-shadow: inset 0 0 20px rgba(139, 92, 246, 0.16);
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: grid;
    place-items: center;
}

.solution-ref-outcome-icon .material-symbols-outlined {
    font-size: 30px;
    font-variation-settings:
        "FILL" 0,
        "wght" 300;
}

.solution-ref-outcome-copy {
    position: relative;
}

.solution-ref-outcome-copy h3,
.solution-ref-outcome-copy p {
    margin: 0;
}

.solution-ref-outcome-copy h3 {
    color: var(--solution-text);
    font-size: 1.14rem;
    font-weight: 800;
    line-height: 1.25;
}

.solution-ref-outcome-copy p {
    color: var(--solution-copy);
    margin-top: 10px;
    font-size: 0.82rem;
    line-height: 1.65;
}

.solution-ref-outcome-metric {
    position: relative;
    width: 100%;
    margin-top: auto;
    padding-top: 12px;
}

.solution-ref-outcome-metric > div {
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.solution-ref-outcome-metric small {
    color: var(--solution-purple);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.solution-ref-outcome-metric strong {
    color: var(--solution-text);
    font-size: 0.74rem;
}

.solution-ref-progress {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    width: 100%;
    height: 6px;
    display: block;
    overflow: hidden;
}

:root[data-theme="light"] .solution-ref-progress {
    background: rgba(30, 41, 59, 0.09);
}

.solution-ref-progress i {
    background: var(--solution-purple);
    border-radius: inherit;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.58);
    width: var(--solution-progress);
    height: 100%;
    display: block;
    transform-origin: left center;
    animation: solution-ref-progress 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

html[dir="rtl"] .solution-ref-progress i {
    transform-origin: right center;
}

/* Keep the reference pastels readable when the shared theme switches to light. */
:root[data-theme="light"] .solution-ref-sales-badge-verified,
:root[data-theme="light"] .solution-ref-verification-qualified,
:root[data-theme="light"] .solution-ref-client-state-qualified {
    color: #047857;
}

:root[data-theme="light"] .solution-ref-sales-badge-intent,
:root[data-theme="light"] .solution-ref-growth-window-header,
:root[data-theme="light"] .solution-ref-verification-title,
:root[data-theme="light"] .solution-ref-verification-eyebrow,
:root[data-theme="light"] .solution-ref-pipeline-title,
:root[data-theme="light"] .solution-ref-client-state-syncing,
:root[data-theme="light"] .solution-ref-insight-label,
:root[data-theme="light"] .solution-ref-insight-footer,
:root[data-theme="light"] .solution-ref-growth-response strong,
:root[data-theme="light"] .solution-ref-growth-chart strong,
:root[data-theme="light"] .solution-ref-outcome-metric small,
:root[data-theme="light"] .solution-ref-outcomes-heading .pill {
    color: #6d28d9;
}

:root[data-theme="light"] .solution-ref-verification-title span:last-child {
    color: #4338ca;
}

:root[data-theme="light"] .solution-ref-verification-status strong {
    color: #047857;
}

:root[data-theme="light"] .solution-ref-verification-status,
:root[data-theme="light"] .solution-ref-metric-copy p,
:root[data-theme="light"] .solution-ref-client-state,
:root[data-theme="light"] .solution-ref-pipeline-lead-data p,
:root[data-theme="light"] .solution-ref-pipeline-insight p {
    color: #475569;
}

:root[data-theme="light"] .solution-ref-metric-value-green {
    color: #047857 !important;
}

:root[data-theme="light"] .solution-ref-metric-value-purple {
    color: #6d28d9 !important;
}

.solution-detail-page .cta-section {
    background: var(--solution-bg);
    padding-top: 30px;
    padding-bottom: clamp(76px, 8vw, 112px);
}

.solution-detail-page .site-footer {
    background-color: var(--solution-bg);
}

@media (min-width: 640px) {
    .solution-ref-sales-feature-grid,
    .solution-ref-feature-grid,
    .solution-ref-outcome-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .solution-ref-hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "visual copy";
    }

    .solution-ref-split {
        grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    }

    .solution-ref-split-bottom {
        align-items: end;
    }

    .solution-ref-growth-visual {
        justify-items: start;
    }

    .solution-detail-sales .solution-ref-hero-layout {
        gap: 64px;
    }

    .solution-ref-growth-hero .solution-ref-container {
        width: min(calc(100% - 64px), 1320px);
    }

    .solution-ref-outcome-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (min-width: 1280px) {
    .solution-ref-container {
        width: min(75%, 1380px);
    }

    .solution-ref-growth-hero .solution-ref-container {
        width: min(85%, 1450px);
    }
}

@media (max-width: 767px) {
    .solution-ref-section {
        padding-block: 66px;
    }

    .solution-ref-hero {
        min-height: 0;
        padding-top: 126px;
    }

    .solution-ref-agency-verification {
        min-height: 0;
        padding-top: 126px;
    }

    .solution-ref-copy-heading h1,
    .solution-ref-copy-heading h2 {
        max-width: 18ch;
        font-size: clamp(2.15rem, 6.5vw, 3.2rem);
    }

    .solution-ref-copy-heading > p {
        font-size: 0.98rem;
    }

    .solution-ref-sales-match {
        display: none;
    }

    .solution-ref-sales-card {
        width: min(100%, 480px);
    }

    .solution-ref-growth-panel {
        width: min(100%, 520px);
    }

    .solution-ref-verification-engine,
    .solution-ref-client-pipeline {
        max-width: 560px;
        min-height: 500px;
    }

    .solution-ref-button {
        width: min(100%, 360px);
    }

    .solution-ref-outcome-card {
        min-height: 280px;
    }
}

@media (max-width: 430px) {
    .solution-ref-container {
        width: min(calc(100% - 28px), 1180px);
    }

    .solution-ref-hero-layout {
        gap: 42px;
    }

    .solution-ref-sales-visual,
    .solution-ref-growth-visual {
        min-height: 0;
    }

    .solution-ref-copy .solution-ref-heading h1,
    .solution-ref-copy .solution-ref-heading h2 {
        font-size: clamp(2rem, 10vw, 2.85rem);
    }

    .solution-ref-feature-card {
        min-height: 0;
        padding: 14px;
    }

    .solution-ref-verification-engine {
        aspect-ratio: auto;
        min-height: 445px;
        padding: 16px;
    }

    .solution-ref-verification-header {
        padding-bottom: 11px;
    }

    .solution-ref-verification-avatar-ring {
        width: 88px;
    }

    .solution-ref-verification-metric {
        min-height: 61px;
        padding: 8px;
    }

    .solution-ref-client-pipeline {
        aspect-ratio: auto;
        min-height: 475px;
        padding: 15px;
    }

    .solution-ref-pipeline-row {
        min-height: 60px;
        grid-template-columns: minmax(0, 1fr) minmax(80px, 0.62fr);
        gap: 8px;
    }

    .solution-ref-client-logo {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .solution-ref-pipeline-insight {
        bottom: 10px;
        width: min(84%, 330px);
        padding: 10px 12px;
    }

    .solution-ref-sales-card {
        gap: 17px;
        padding: 19px;
    }

    .solution-ref-sales-avatar {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .solution-ref-sales-badges {
        gap: 7px;
    }

    .solution-ref-sales-badge {
        font-size: 0.56rem;
    }

    .solution-ref-growth-panel {
        padding: 15px;
    }

    .solution-ref-growth-window-header {
        margin: -15px -15px 17px;
        padding: 12px 14px;
        font-size: 0.6rem;
    }

    .solution-ref-growth-stage {
        min-height: 31px;
        font-size: 0.59rem;
    }

    .solution-ref-growth-metrics {
        gap: 8px;
    }

    .solution-ref-growth-metric {
        min-height: 108px;
        padding: 10px;
    }

    .solution-ref-growth-feature {
        padding-inline: 4px;
    }

    .solution-ref-outcomes-heading h2 {
        font-size: clamp(1.9rem, 9vw, 2.5rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .solution-detail-page *,
    .solution-detail-page *::before,
    .solution-detail-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .solution-ref-progress i,
    .solution-ref-growth-chart path,
    .solution-ref-growth-bars i {
        transform: none;
        stroke-dashoffset: 0;
    }

    .solution-ref-outcome-card:hover,
    .solution-ref-sales-card:hover,
    .solution-ref-button:hover,
    .solution-ref-growth-feature:hover,
    .solution-ref-feature-card:hover,
    .solution-ref-trial:hover {
        translate: none;
        transform: none;
    }
}

@keyframes solution-ref-pulse-dot {
    0% {
        box-shadow: 0 0 0 0 currentColor;
    }
    70% {
        box-shadow: 0 0 0 7px transparent;
    }
    100% {
        box-shadow: 0 0 0 0 transparent;
    }
}

@keyframes solution-ref-qualified-glow {
    from {
        filter: drop-shadow(0 0 3px rgba(168, 85, 247, 0.35));
    }
    to {
        filter: drop-shadow(0 0 11px rgba(168, 85, 247, 0.75));
    }
}

@keyframes solution-ref-bar-grow {
    from {
        transform: scaleY(0);
        transform-origin: bottom;
    }
    to {
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

@keyframes solution-ref-path-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes solution-ref-progress {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes solution-ref-orbit {
    to {
        transform: rotate(360deg);
    }
}

@keyframes solution-ref-scan {
    0%,
    100% {
        transform: translate(-28px, -22px);
        opacity: 0.45;
    }
    50% {
        transform: translate(26px, 24px);
        opacity: 1;
    }
}
