/*
Theme Name: Kloves Inc
Theme URI: https://klovesinc.com
Author: Kloves Inc.
Author URI: https://klovesinc.com
Description: Custom WordPress theme for Kloves Inc. - ServiceNow Elite Partner specializing in Legal Service Delivery, HRSD, and Workplace Transformation.
Version: 1.1.46
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kloves
Tags: one-page, custom-logo, custom-menu
*/

:root {
    --primary: #1d3557;
    --secondary: #e63946;
    --accent: #457b9d;
    --light: #f1f4f8;
    --dark: #0a0f14;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #4a5568;
    --gradient-hero: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    max-width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Focus States for Accessibility */
*:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
    border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 4px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
    color: var(--primary);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary);
    transition: var(--transition);
}

nav a:hover {
    color: var(--secondary);
}

nav a:hover::after {
    width: 100%;
}

.cta-btn-nav {
    padding: 10px 24px;
    background: var(--secondary);
    color: white !important;
    border-radius: 50px;
    font-weight: 600;
}

.cta-btn-nav:hover {
    background: #d62839;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.cta-btn-nav:hover::after {
    width: 0;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 20s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(29, 53, 87, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 25s infinite ease-in-out reverse;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(20px, 30px); }
    100% { transform: translate(0, 0); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero p {
    font-size: 20px;
    margin-bottom: 32px;
    color: var(--text-gray);
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.btn {
    padding: 16px 36px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, #d62839 100%);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(230, 57, 70, 0.5);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.hero .home-hero-red-cta {
    min-height: 54px;
    padding: 14px 22px;
    border: 0;
    border-radius: 10px;
    background: var(--secondary);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    gap: 12px;
    box-shadow: 0 18px 38px -28px rgba(230, 57, 70, 0.72);
    filter: none;
    transition:
        transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
        background 220ms ease,
        box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero .home-hero-red-cta:hover {
    color: #ffffff;
    background: #c92e3a;
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 22px 44px -30px rgba(230, 57, 70, 0.84);
    filter: none;
}

.hero .home-hero-red-cta:active {
    transform: translate3d(0, 1px, 0) scale(0.99);
}

/* Stats Bar */
.stats-bar {
    background: white;
    padding: 60px 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.stats-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    padding: 50px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 1100px;
    margin: 0 auto;
}

.stats-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    align-items: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: #e2e8f0;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    line-height: 1;
}

.stat-number .accent {
    color: var(--secondary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Logo Section - Marquee Animation */
.logos {
    padding: 80px 0;
    background: white;
    overflow: hidden;
}

.logos h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-marquee-wrapper::before,
.logo-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.logo-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.logo-track {
    display: flex;
    gap: 60px;
    align-items: center;
    animation: marquee-scroll 25s linear infinite;
    width: max-content;
}

.logo-marquee-wrapper:hover .logo-track {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-item {
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    width: 180px;
    padding: 20px;
    border-radius: 12px;
}

.logo-item:hover {
    transform: scale(1.05);
}

.logo-item span {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    transition: var(--transition);
    white-space: nowrap;
}

/* Section General */
.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 16px;
    display: block;
    position: relative;
    padding-bottom: 12px;
}

.section-tag::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary) 0%, transparent 100%);
    border-radius: 2px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Practices Section */
.practices {
    padding: 140px 0;
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
    position: relative;
}

.practices::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(29, 53, 87, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.practice-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.practice-card--link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.practice-card--link:focus-visible {
    outline: 3px solid rgba(230, 57, 70, 0.35);
    outline-offset: 4px;
}

.practice-card__heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.practice-card .practice-card__heading-row h3 {
    margin-bottom: 0;
    flex: 1 1 auto;
}

.practice-card__arrow {
    position: relative;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(29, 53, 87, 0.12);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(29, 53, 87, 0.08);
    opacity: 0.92;
    transform: translate3d(0, 0, 0);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    z-index: 1;
}

.practice-card__arrow::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 18px;
    width: 13px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
    transition: background 0.25s ease;
}

.practice-card__arrow::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 13px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
    transform: rotate(45deg);
    border-radius: 1px;
    transition: border-color 0.25s ease;
}

.practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    border-radius: 24px;
}

.practice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(230, 57, 70, 0.15);
    border-color: transparent;
    background: linear-gradient(to bottom, white, #fffafa);
}

.practice-card--link:hover .practice-card__arrow,
.practice-card--link:focus-visible .practice-card__arrow {
    background: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 12px 24px rgba(230, 57, 70, 0.22);
    transform: translate3d(4px, -4px, 0);
}

.practice-card--link:hover .practice-card__arrow::before,
.practice-card--link:focus-visible .practice-card__arrow::before {
    background: #ffffff;
}

.practice-card--link:hover .practice-card__arrow::after,
.practice-card--link:focus-visible .practice-card__arrow::after {
    border-color: #ffffff;
}

.practice-card:hover::before {
    opacity: 1;
}

.icon-badge {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--light) 0%, #ffffff 100%);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.practice-card:hover .icon-badge {
    background: linear-gradient(135deg, var(--secondary) 0%, #d62839 100%);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
}

.practice-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--primary);
}

.practice-card .problem-text {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.outcome-box {
    background: #fff5f5;
    padding: 16px;
    border-radius: 8px;
    border-left: 3px solid var(--secondary);
}

.outcome-box p {
    color: #9b2c2c;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

/* Fast Track Programs */
.fast-track {
    padding: 140px 0;
    background: white;
    position: relative;
}

.fast-track-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.fast-track-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.fast-track-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
}

.fast-track-card:hover {
    border-color: var(--secondary);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(230, 57, 70, 0.2);
}

.fast-track-card:hover::after {
    opacity: 1;
}

.fast-track-icon {
    margin-bottom: 24px;
}

.fast-track-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary);
}

.duration-badge {
    background: #fff5f5;
    color: var(--secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.fast-track-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.arrow-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
}

.arrow-flow svg {
    color: var(--secondary);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Why Kloves Section */
.why-kloves {
    padding: 140px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #0f1f2e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.why-kloves::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.why-kloves h2,
.why-kloves p.section-desc {
    color: white;
}

.why-kloves p.section-desc {
    opacity: 0.8;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.why-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.why-icon {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 20px;
    display: block;
    transition: var(--transition-slow);
}

.why-item:hover .why-icon {
    transform: rotate(360deg) scale(1.1);
}

.why-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: white;
    font-weight: 600;
}

.why-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
}

/* CTA Section */
.cta-footer {
    background: #fff;
    padding: 100px 0;
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, #1d3557 0%, #0f1f2e 100%);
    border-radius: 24px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e63946' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-size: 18px;
}

.form-inline {
    display: flex;
    gap: 10px;
    background: white;
    padding: 6px;
    border-radius: 50px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-inline input {
    flex-grow: 1;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    outline: none;
    border-radius: 50px;
    font-family: inherit;
}

.form-inline button {
    background: linear-gradient(135deg, var(--secondary) 0%, #d62839 100%);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.form-inline button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.form-inline button:hover::before {
    width: 300px;
    height: 300px;
}

.form-inline button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #0a0f14 0%, #050810 100%);
    color: #8899a6;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--secondary) 50%, transparent 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #8899a6;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
}

.footer-col ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-col ul li a:hover::after {
    width: 100%;
}

.footer-logo {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

/* Approach Section */
.approach {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.approach-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary) 0%, rgba(230, 57, 70, 0.2) 100%);
    z-index: 0;
}

.step-card {
    position: relative;
    z-index: 1;
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.step-number {
    width: 80px;
    height: 80px;
    background: white;
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 24px;
    border: 4px solid #fff5f5;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.step-card:hover .step-number {
    background: var(--secondary);
    color: white;
    transform: scale(1.1) rotate(360deg);
    border-color: var(--secondary);
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--primary);
}

.step-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 20px;
    color: #444;
    line-height: 1.9;
    margin-bottom: 24px;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    position: relative;
}

.stat::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: #e63946;
}

.about-stat-number {
    font-size: 56px;
    font-weight: 700;
    color: #1d3557;
    margin-bottom: 10px;
    transition: var(--transition);
}

.stat:hover .about-stat-number {
    transform: scale(1.1);
}

.about-stat-number .accent {
    color: #e63946;
}

/* Case Studies */
.case-studies {
    padding: 100px 0;
    background: #fff;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 48px;
    }

    .practice-grid,
    .fast-track-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-box {
        padding: 60px 20px;
    }
}

@media (max-width: 900px) {
    .approach-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .approach-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 3302;
        flex-shrink: 0;
        touch-action: manipulation;
    }

    .mobile-menu-btn.is-active {
        position: fixed;
        top: 22px;
        right: 22px;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .practice-grid,
    .fast-track-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-inline {
        flex-direction: column;
        padding: 20px;
        border-radius: 16px;
    }

    .form-inline input,
    .form-inline button {
        width: 100%;
        border-radius: 8px;
        text-align: center;
    }

    .stats-container {
        margin: 0 20px;
        margin-top: -30px;
    }

    .stat-item::after {
        display: none;
    }

    .stat-item {
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 20px;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* Shared Marketing Templates */
#navbar {
    position: relative;
}

#navbar .nav-menu,
#navbar .nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#navbar .nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

#navbar .nav-menu > .menu-item {
    position: relative;
}

#navbar .nav-menu > .menu-item > a {
    display: inline-flex;
    align-items: center;
}

#navbar .menu-item-has-children > a {
    padding-right: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%231d3557' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

#navbar .menu-item-has-children:hover > a,
#navbar .menu-item-has-children:focus-within > a,
#navbar .menu-item-has-children.submenu-open > a,
#navbar .current-menu-item > a,
#navbar .current-menu-parent > a,
#navbar .current-menu-ancestor > a,
#navbar .current-page-ancestor > a,
#navbar .current_page_parent > a {
    color: var(--secondary);
}

#navbar .menu-item-has-children:hover > a,
#navbar .menu-item-has-children:focus-within > a,
#navbar .menu-item-has-children.submenu-open > a {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23e63946' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#navbar .sub-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    min-width: 320px;
    display: grid;
    gap: 10px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 25px 50px -16px rgba(15, 31, 46, 0.25);
    border: 1px solid rgba(29, 53, 87, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1002;
}

#navbar .menu-item-has-children:hover > .sub-menu,
#navbar .menu-item-has-children:focus-within > .sub-menu,
#navbar .menu-item-has-children.submenu-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#navbar .sub-menu .menu-item a {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    background: #f8fafc;
}

#navbar .sub-menu .menu-item a::after {
    display: none;
}

#navbar .sub-menu .menu-item a:hover,
#navbar .sub-menu .menu-item a:focus-visible,
#navbar .sub-menu .current-menu-item > a {
    color: var(--primary);
    background: #eef3f8;
}

body.menu-open {
    overflow: hidden;
}

.mobile-menu-btn.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.section-tag--left {
    text-align: left;
    padding-bottom: 10px;
}

.section-tag--left::after {
    left: 0;
    transform: none;
}

.section-tag--link {
    text-decoration: none;
}

.page-hero {
    background: var(--gradient-hero);
    padding: 90px 0 72px;
    position: relative;
    overflow: hidden;
}

.page-hero::before,
.page-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.page-hero::before {
    top: -220px;
    right: -120px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
}

.page-hero::after {
    left: -120px;
    bottom: -280px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(29, 53, 87, 0.08) 0%, transparent 70%);
}

.page-hero-art {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: var(--hero-art-image);
    background-repeat: no-repeat;
    background-position: var(--hero-art-position, 84% 52%);
    background-size: var(--hero-art-size, cover);
    filter: saturate(1.02) contrast(1.01);
}

.page-hero-art::before,
.page-hero-art::after {
    content: '';
    position: absolute;
    inset: 0;
}

.page-hero-art::before {
    background: var(--hero-art-overlay);
}

.page-hero-art::after {
    background: radial-gradient(circle at var(--hero-glow-position, 76% 54%), rgba(255, 255, 255, var(--hero-glow-opacity, 0.2)) 0%, transparent 34%);
}

.page-hero--solution {
    padding-bottom: 64px;
}

.page-hero--with-art {
    --hero-content-max: 760px;
    --hero-art-position: 86% 52%;
    --hero-art-size: cover;
    --hero-art-overlay: linear-gradient(90deg, rgba(248, 249, 251, 0.995) 0%, rgba(248, 249, 251, 0.974) 34%, rgba(248, 249, 251, 0.84) 53%, rgba(248, 249, 251, 0.48) 67%, rgba(248, 249, 251, 0.18) 80%, rgba(248, 249, 251, 0.04) 100%);
    --hero-art-position-mobile: 76% 50%;
    --hero-art-size-mobile: cover;
    --hero-art-overlay-mobile: linear-gradient(180deg, rgba(248, 249, 251, 0.88) 0%, rgba(248, 249, 251, 0.94) 56%, rgba(248, 249, 251, 0.975) 100%);
    --hero-glow-position: 76% 54%;
    --hero-glow-opacity: 0.2;
    background:
        linear-gradient(180deg, rgba(248, 249, 251, 0.96) 0%, rgba(241, 245, 249, 0.98) 100%),
        var(--gradient-hero);
}

.page-hero--with-art .page-hero-content {
    max-width: min(100%, var(--hero-content-max));
    padding-right: clamp(12px, 3vw, 36px);
}

.page-hero--with-art .page-hero-intro {
    max-width: 700px;
}

.page-hero--solution-legal {
    --hero-art-position: 88% 55%;
    --hero-art-overlay: linear-gradient(90deg, rgba(248, 249, 251, 0.996) 0%, rgba(248, 249, 251, 0.978) 36%, rgba(248, 249, 251, 0.86) 54%, rgba(248, 249, 251, 0.46) 67%, rgba(248, 249, 251, 0.16) 80%, rgba(248, 249, 251, 0.03) 100%);
    --hero-art-position-mobile: 72% 46%;
    --hero-glow-position: 74% 58%;
}

.page-hero--solution-hr {
    --hero-art-position: 86% 50%;
    --hero-art-overlay: linear-gradient(90deg, rgba(248, 249, 251, 0.995) 0%, rgba(248, 249, 251, 0.97) 32%, rgba(248, 249, 251, 0.76) 50%, rgba(248, 249, 251, 0.34) 64%, rgba(248, 249, 251, 0.11) 78%, rgba(248, 249, 251, 0.03) 100%);
    --hero-art-position-mobile: 74% 44%;
    --hero-glow-position: 73% 42%;
    --hero-glow-opacity: 0.16;
}

.page-hero--solution-crm {
    --hero-content-max: 736px;
    --hero-art-position: 90% 54%;
    --hero-art-overlay: linear-gradient(90deg, rgba(248, 249, 251, 0.998) 0%, rgba(248, 249, 251, 0.988) 39%, rgba(248, 249, 251, 0.9) 57%, rgba(248, 249, 251, 0.5) 70%, rgba(248, 249, 251, 0.18) 83%, rgba(248, 249, 251, 0.05) 100%);
    --hero-art-position-mobile: 80% 48%;
    --hero-art-overlay-mobile: linear-gradient(180deg, rgba(248, 249, 251, 0.9) 0%, rgba(248, 249, 251, 0.95) 58%, rgba(248, 249, 251, 0.98) 100%);
    --hero-glow-position: 78% 54%;
    --hero-glow-opacity: 0.18;
}

.page-hero--post {
    padding-bottom: 54px;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.page-hero h1 {
    font-size: 56px;
    line-height: 1.08;
    letter-spacing: -1.3px;
    margin-bottom: 18px;
}

.page-hero-intro {
    max-width: 760px;
    font-size: 19px;
    color: var(--text-gray);
    margin: 0;
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.proof-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.proof-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(29, 53, 87, 0.08);
    box-shadow: var(--shadow-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.page-shell {
    padding: 0 0 110px;
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
}

.page-layout {
    margin-top: -28px;
    position: relative;
    z-index: 2;
}

.content-page {
    background: white;
    border-radius: 30px;
    padding: 56px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(29, 53, 87, 0.06);
}

.content-page .entry-content {
    color: var(--text-gray);
    font-size: 17px;
}

.content-page .entry-content > *:first-child {
    margin-top: 0;
}

.content-page .entry-content > * + * {
    margin-top: 1.2em;
}

.content-page .entry-content p {
    line-height: 1.8;
}

.content-page .entry-content h2 {
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 12px;
}

.content-page .entry-content h3 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 8px;
}

.content-section {
    padding: 14px 0 22px;
}

.content-section + .content-section {
    border-top: 1px solid #edf2f7;
    margin-top: 10px;
}

.content-section .section-header {
    margin: 0 0 28px;
}

.section-header.align-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.content-grid {
    display: grid;
    gap: 24px;
}

.content-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-grid.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(29, 53, 87, 0.08);
    box-shadow: var(--shadow-sm);
    border-radius: 24px;
    padding: 28px;
}

.content-card h3,
.content-card h4 {
    margin-bottom: 10px;
}

.content-card p:last-child,
.faq-item p:last-child,
.archive-empty p:last-child,
.hub-card p:last-child,
.contact-card p:last-child {
    margin-bottom: 0;
}

[data-reveal] {
    opacity: 1;
    transform: none;
}

.js-enabled [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition:
        opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

[data-reveal].is-visible,
.js-enabled [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.content-page .entry-content > .solution-enhanced-section:first-child {
    margin-top: 0;
}

.solution-enhanced-section {
    padding: 16px 0 24px;
}

.solution-enhanced-section__shell {
    padding: 34px;
    border-radius: 30px;
    border: 1px solid rgba(29, 53, 87, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: var(--shadow-sm);
}

.solution-enhanced-section__header {
    max-width: 940px;
    margin-bottom: 26px !important;
}

.solution-enhanced-section__header p {
    max-width: 860px;
    margin: 12px 0 0;
}

.solution-enhanced-section__lead,
.solution-enhanced-section__note {
    max-width: 860px;
    margin: 0 0 22px;
    font-size: 17px;
    line-height: 1.78;
}

.solution-enhanced-section__note {
    margin-top: 24px;
    color: var(--primary);
    font-weight: 500;
}

.solution-enhanced-section--platform .solution-enhanced-section__shell,
.solution-enhanced-section--workflow-coverage .solution-enhanced-section__shell {
    background:
        radial-gradient(circle at top left, rgba(69, 123, 157, 0.14) 0%, rgba(69, 123, 157, 0) 26%),
        radial-gradient(circle at bottom right, rgba(230, 57, 70, 0.06) 0%, rgba(230, 57, 70, 0) 24%),
        linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.solution-enhanced-section--services .solution-enhanced-section__shell,
.solution-enhanced-section--outcomes .solution-enhanced-section__shell {
    background:
        radial-gradient(circle at top right, rgba(230, 57, 70, 0.06) 0%, rgba(230, 57, 70, 0) 22%),
        radial-gradient(circle at bottom left, rgba(69, 123, 157, 0.1) 0%, rgba(69, 123, 157, 0) 26%),
        linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.solution-enhanced-section--services .solution-enhanced-section__shell {
    padding: 30px;
    border-color: rgba(29, 53, 87, 0.1);
    background:
        linear-gradient(90deg, rgba(29, 53, 87, 0.04) 0%, rgba(29, 53, 87, 0) 24%),
        radial-gradient(circle at top right, rgba(230, 57, 70, 0.07) 0%, rgba(230, 57, 70, 0) 22%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.solution-enhanced-section--services .solution-enhanced-section__header {
    max-width: 980px;
    margin-bottom: 22px !important;
}

.solution-enhanced-section--contract .solution-enhanced-section__shell,
.solution-enhanced-section--roadmap .solution-enhanced-section__shell,
.solution-enhanced-section--faq .solution-enhanced-section__shell {
    background:
        radial-gradient(circle at top left, rgba(69, 123, 157, 0.12) 0%, rgba(69, 123, 157, 0) 24%),
        radial-gradient(circle at top right, rgba(230, 57, 70, 0.06) 0%, rgba(230, 57, 70, 0) 22%),
        linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.solution-enhanced-media {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(29, 53, 87, 0.08);
    background: #f8fafc;
    box-shadow: 0 22px 48px -28px rgba(15, 31, 46, 0.32);
}

.solution-enhanced-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-enhanced-section--platform .solution-enhanced-media img,
.solution-enhanced-section--contract .solution-enhanced-media img,
.solution-enhanced-section--workflow-coverage .solution-enhanced-media img,
.solution-enhanced-section--roadmap .solution-enhanced-media img,
.solution-enhanced-section--outcomes .solution-enhanced-media img {
    object-fit: contain;
    object-position: center center;
}

.solution-enhanced-media--wide {
    aspect-ratio: 16 / 9;
}

.solution-feature-split {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: 28px;
    align-items: start;
}

.solution-feature-split--balanced {
    gap: 24px;
}

.solution-feature-split--no-media {
    grid-template-columns: 1fr;
}

.solution-feature-split--media-left .solution-feature-split__media {
    order: -1;
}

.solution-feature-split__copy {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.solution-feature-split__media {
    min-width: 0;
}

.solution-feature-split__copy p {
    margin: 0;
}

.solution-feature-split__media .solution-enhanced-media {
    aspect-ratio: 16 / 10;
}

.solution-enhanced-section--platform .solution-feature-split {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
}

.solution-enhanced-section--platform .solution-feature-split__media .solution-enhanced-media {
    aspect-ratio: 2 / 1;
}

.solution-enhanced-section--contract .solution-feature-split {
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
}

.solution-enhanced-section--contract .solution-feature-split__media .solution-enhanced-media {
    aspect-ratio: 2 / 1;
}

.solution-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 8px;
}

.solution-detail-grid--below {
    margin-top: 26px;
}

.solution-detail-card {
    position: relative;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(29, 53, 87, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 16px 34px -30px rgba(15, 31, 46, 0.36);
}

.solution-detail-card__icon,
.solution-workflow-card__icon,
.solution-outcome-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #edf4ff 0%, #fff0f2 100%);
    color: var(--primary);
}

.solution-detail-card__icon svg,
.solution-workflow-card__icon svg,
.solution-outcome-card__icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.solution-detail-card h3,
.solution-workflow-card h3,
.solution-outcome-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.solution-detail-card p,
.solution-workflow-card p,
.solution-outcome-card p {
    margin: 0;
}

.solution-bullet-list {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.solution-bullet-list li {
    position: relative;
    padding-left: 18px;
    line-height: 1.7;
}

.solution-bullet-list li::before {
    content: '';
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--secondary);
    transform: translateY(-50%);
}

.solution-chip-list,
.solution-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.solution-chip-list--below {
    margin-top: 24px;
}

.solution-chip,
.solution-pill {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid rgba(29, 53, 87, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 24px -24px rgba(15, 31, 46, 0.42);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.solution-chip::before,
.solution-pill::before {
    content: '';
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 999px;
    background: var(--secondary);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12);
}

.solution-image-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.solution-enhanced-section--services .solution-image-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: stretch;
}

.solution-image-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(29, 53, 87, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--shadow-sm);
}

.solution-enhanced-section--services .solution-image-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%);
    box-shadow: 0 18px 38px -30px rgba(15, 31, 46, 0.36);
}

.solution-image-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.solution-image-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-enhanced-section--services .solution-image-card--featured {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
    align-items: stretch;
    background:
        linear-gradient(140deg, rgba(230, 57, 70, 0.05) 0%, rgba(230, 57, 70, 0) 34%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.solution-enhanced-section--services .solution-image-card--featured .solution-image-card__media {
    aspect-ratio: auto;
    min-height: 100%;
}

.solution-enhanced-section--services .solution-image-card--featured .solution-image-card__media img {
    min-height: 100%;
}

.solution-image-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.solution-enhanced-section--services .solution-image-card--featured .solution-image-card__body {
    justify-content: center;
    padding: 30px 32px;
}

.solution-enhanced-section--services .solution-image-card:not(.solution-image-card--featured) .solution-image-card__body {
    padding: 22px;
}

.solution-enhanced-section--services .solution-image-card h3 {
    margin-bottom: 12px;
    font-size: 23px;
    line-height: 1.18;
}

.solution-enhanced-section--services .solution-image-card .solution-image-card__media {
    position: relative;
    aspect-ratio: auto;
    min-height: 260px;
    border-right: 1px solid rgba(29, 53, 87, 0.08);
    border-bottom: 0;
}

.solution-enhanced-section--services .solution-image-card .solution-image-card__media::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    background: linear-gradient(180deg, rgba(15, 31, 46, 0) 0%, rgba(15, 31, 46, 0.22) 100%);
    pointer-events: none;
}

.solution-enhanced-section--services .solution-image-card__body {
    display: block;
    padding: 26px 28px;
}

.solution-enhanced-section--services .solution-bullet-list {
    margin-top: 18px;
    padding-top: 0;
}

.solution-enhanced-section--services .solution-bullet-list li {
    line-height: 1.55;
}

.solution-image-card__lead {
    margin: 0 0 16px;
}

.solution-enhanced-section--services .solution-image-card__lead {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.62;
}

.solution-workflow-matrix__visual {
    margin-top: 8px;
}

.solution-enhanced-section--workflow-coverage .solution-enhanced-media--wide {
    aspect-ratio: 2 / 1;
}

.solution-workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.solution-enhanced-section--workflow-coverage .solution-workflow-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.solution-enhanced-section--workflow-coverage .solution-workflow-card {
    grid-column: span 2;
    padding: 22px 22px 20px;
}

.solution-enhanced-section--workflow-coverage .solution-workflow-card:nth-child(4),
.solution-enhanced-section--workflow-coverage .solution-workflow-card:nth-child(5) {
    grid-column: span 3;
}

.solution-workflow-card,
.solution-outcome-card {
    padding: 24px;
    border-radius: 22px;
    border: 1px solid rgba(29, 53, 87, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    box-shadow: 0 16px 34px -30px rgba(15, 31, 46, 0.36);
}

.solution-roadmap-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
    gap: 26px;
    align-items: start;
}

.solution-roadmap-layout--stacked {
    grid-template-columns: 1fr;
    gap: 28px;
}

.solution-roadmap-layout--stacked .solution-roadmap-layout__media {
    max-width: 980px;
}

.solution-roadmap-layout__media .solution-enhanced-media {
    aspect-ratio: 16 / 10;
}

.solution-roadmap-layout--stacked .solution-roadmap-layout__media .solution-enhanced-media {
    aspect-ratio: 2 / 1;
}

.solution-roadmap-steps {
    position: relative;
    display: grid;
    gap: 16px;
    padding: 6px 0 6px 8px;
    --roadmap-line-top: 77px;
    --roadmap-line-height: calc(100% - 158px);
}

.solution-roadmap-layout--stacked .solution-roadmap-steps {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
}

.solution-roadmap-steps::before {
    content: '';
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 34px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(69, 123, 157, 0.34) 0%, rgba(230, 57, 70, 0.14) 100%);
}

.solution-roadmap-step {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.solution-roadmap-step__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 54px;
    padding: 0 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1d3557 0%, #2e537f 100%);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.4px;
    position: relative;
    z-index: 1;
    margin-top: 18px;
}

.solution-roadmap-step__content {
    position: relative;
    padding: 24px 24px 22px;
    border-radius: 22px;
    border: 1px solid rgba(29, 53, 87, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 16px 34px -30px rgba(15, 31, 46, 0.36);
}

.solution-roadmap-step__content::before {
    content: '';
    position: absolute;
    top: 36px;
    left: -18px;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(69, 123, 157, 0.28) 0%, rgba(230, 57, 70, 0.16) 100%);
}

.solution-roadmap-step:nth-child(2) .solution-roadmap-step__content,
.solution-roadmap-step:nth-child(4) .solution-roadmap-step__content {
    transform: translateX(26px);
}

.solution-roadmap-step:nth-child(3) .solution-roadmap-step__content {
    transform: translateX(12px);
}

.solution-roadmap-step h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.solution-roadmap-step p {
    margin: 0;
}

.solution-outcomes-dashboard {
    margin-top: 6px;
}

.solution-enhanced-section--outcomes .solution-enhanced-media--wide {
    aspect-ratio: 5 / 2;
}

.solution-enhanced-section--outcomes .solution-enhanced-media--wide img {
    object-position: center 50%;
}

.solution-outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.solution-enhanced-section--outcomes .solution-outcomes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.solution-faq-list {
    margin-top: 10px;
    display: grid;
    gap: 14px;
}

.solution-faq-item {
    padding: 24px 26px;
    border-radius: 22px;
    border: 1px solid rgba(29, 53, 87, 0.08);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 28px -26px rgba(15, 31, 46, 0.24);
}

.solution-faq-item h3 {
    margin-bottom: 10px;
}

.solution-faq-item p {
    margin: 0;
}

.solution-enhanced-section--faq .solution-enhanced-section__shell {
    max-width: 980px;
    margin: 0 auto;
    padding: 6px 0 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.solution-enhanced-section--faq .solution-enhanced-section__header {
    max-width: 760px;
    margin-bottom: 18px !important;
}

.solution-enhanced-section--faq .solution-enhanced-section__header p {
    max-width: 700px;
}

.legal-why-kloves {
    padding: 12px 0 18px;
}

.legal-why-kloves__shell {
    position: relative;
    padding: 30px;
    border-radius: 30px;
    border: 1px solid rgba(29, 53, 87, 0.1);
    background:
        radial-gradient(circle at top left, rgba(69, 123, 157, 0.18) 0%, rgba(69, 123, 157, 0) 28%),
        radial-gradient(circle at top right, rgba(230, 57, 70, 0.06) 0%, rgba(230, 57, 70, 0) 26%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.legal-why-kloves__masthead {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}

.legal-why-kloves__intro-card,
.legal-why-kloves__callout-card {
    position: relative;
    padding: 30px 30px 28px;
    border-radius: 26px;
    border: 1px solid rgba(29, 53, 87, 0.08);
    box-shadow: 0 18px 34px -28px rgba(15, 31, 46, 0.22);
}

.legal-why-kloves__intro-card {
    background:
        linear-gradient(135deg, rgba(69, 123, 157, 0.07) 0%, rgba(255, 255, 255, 0.97) 32%, rgba(230, 57, 70, 0.04) 100%);
}

.legal-why-kloves__intro-card h2 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(40px, 4.9vw, 60px);
    line-height: 1.02;
    letter-spacing: -1.4px;
    scroll-margin-top: 128px;
}

.legal-why-kloves__intro-card p {
    max-width: 620px;
    margin: 22px 0 0;
    font-size: 18px;
    line-height: 1.8;
}

.legal-why-kloves__callout-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 286px;
    color: white;
    border-color: rgba(29, 53, 87, 0.14);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 34%),
        linear-gradient(135deg, #1d3557 0%, #27466d 58%, #36557d 100%);
    background-size: 34px 34px, 34px 34px, auto, auto;
    box-shadow: 0 22px 42px -28px rgba(15, 31, 46, 0.48);
    overflow: hidden;
}

.legal-why-kloves__callout-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 120px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--secondary) 0%, rgba(255, 255, 255, 0.12) 100%);
}

.legal-why-kloves__callout-card::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.16) 0%, rgba(230, 57, 70, 0) 72%);
    pointer-events: none;
}

.legal-why-kloves__callout-card h3 {
    margin: 8px 0 12px;
    max-width: 18ch;
    color: white;
    font-size: 31px;
    line-height: 1.16;
    letter-spacing: -0.72px;
}

.legal-why-kloves__callout-card p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.78;
}

.legal-why-kloves__callout-card--proof {
    min-height: 0;
    margin-top: 18px;
    padding: 26px 28px;
}

.legal-why-kloves__callout-card--proof h3 {
    max-width: 26ch;
}

.legal-why-kloves__callout-card--proof p {
    max-width: 680px;
}

.legal-why-kloves__showcase {
    display: grid;
    grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
    gap: 20px;
    align-items: start;
    margin-top: 20px;
}

.legal-why-kloves__visual-panel {
    position: relative;
    min-width: 0;
    height: 100%;
}

.legal-why-kloves__visual-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 18px;
    border-radius: 28px;
    border: 1px solid rgba(29, 53, 87, 0.08);
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0) 28%),
        linear-gradient(180deg, rgba(228, 238, 247, 0.68) 0%, rgba(255, 255, 255, 0.96) 54%, rgba(255, 239, 241, 0.92) 100%);
    box-shadow: 0 26px 54px -26px rgba(15, 31, 46, 0.28);
    overflow: hidden;
}

.legal-why-kloves__image {
    position: relative;
    flex: 1 1 auto;
    min-height: 430px;
    border-radius: 22px;
    overflow: hidden;
}

.legal-why-kloves__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(15, 31, 46, 0.08) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.18) 100%);
    pointer-events: none;
}

.legal-why-kloves__image img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    display: block;
}

.legal-why-kloves__chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 220px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(29, 53, 87, 0.08);
    box-shadow: 0 18px 34px -24px rgba(15, 31, 46, 0.42);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.legal-why-kloves__chip::before {
    content: '';
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--secondary);
    box-shadow: 0 0 0 6px rgba(230, 57, 70, 0.12);
}

.legal-why-kloves__chip--top {
    top: 24px;
    right: 24px;
}

.legal-why-kloves__chip--bottom {
    left: 24px;
    bottom: 28px;
}

.legal-why-kloves__chip--float.is-visible {
    animation: legalChipFloat 7s ease-in-out infinite;
    animation-delay: calc(var(--float-delay, 0ms) + 700ms);
}

.legal-why-kloves__proof-panel {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 22px 22px 20px;
    border-radius: 28px;
    border: 1px solid rgba(29, 53, 87, 0.08);
    background:
        radial-gradient(circle at top right, rgba(69, 123, 157, 0.1) 0%, rgba(69, 123, 157, 0) 42%),
        linear-gradient(180deg, rgba(249, 252, 255, 0.94) 0%, rgba(241, 247, 252, 0.98) 100%);
    box-shadow: 0 22px 42px -28px rgba(15, 31, 46, 0.22);
}

.legal-why-kloves__proof-heading {
    margin: 0 0 16px;
    color: var(--secondary);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.legal-why-kloves__proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.legal-why-kloves__proof-card {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    min-height: 100%;
    padding: 18px 16px;
    border-radius: 22px;
    border: 1px solid rgba(29, 53, 87, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(251, 253, 255, 0.98) 100%);
    box-shadow: 0 18px 36px -28px rgba(15, 31, 46, 0.38);
}

.legal-why-kloves__proof-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(230, 57, 70, 0.34) 0%, rgba(230, 57, 70, 0) 62%);
}

.legal-why-kloves__proof-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 18px;
    color: var(--primary);
    background: linear-gradient(180deg, #eef5ff 0%, #fff0f2 100%);
}

.legal-why-kloves__proof-card-icon svg {
    width: 25px;
    height: 25px;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.legal-why-kloves__proof-card p {
    margin: 0;
    color: var(--primary);
    font-size: 17px;
    line-height: 1.5;
    font-weight: 600;
}

@keyframes legalChipFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -6px, 0);
    }
}

.legal-opportunity-shell {
    margin-bottom: 36px;
    padding: 34px 34px 30px;
    border-radius: 30px;
    border: 1px solid rgba(29, 53, 87, 0.1);
    background:
        radial-gradient(circle at top left, rgba(69, 123, 157, 0.12) 0%, rgba(69, 123, 157, 0) 26%),
        radial-gradient(circle at bottom right, rgba(230, 57, 70, 0.05) 0%, rgba(230, 57, 70, 0) 24%),
        linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: var(--shadow-sm);
}

.legal-opportunity-top {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 34px;
    align-items: center;
}

.legal-opportunity-heading {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 24px;
}

.legal-opportunity-heading__badge,
.legal-opportunity-symptom__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 999px;
    color: var(--primary);
    background: linear-gradient(180deg, #edf4ff 0%, #fff2f4 100%);
}

.legal-opportunity-heading__badge {
    width: 84px;
    height: 84px;
}

.legal-opportunity-heading__badge svg,
.legal-opportunity-symptom__icon svg,
.legal-opportunity-help__badge svg,
.legal-opportunity-help__item-icon svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.legal-opportunity-heading h2 {
    margin: 0;
    font-size: clamp(48px, 5.7vw, 72px);
    line-height: 0.98;
    letter-spacing: -2px;
}

.legal-opportunity-copy__lead {
    max-width: 620px;
}

.legal-opportunity-copy__accent,
.legal-opportunity-help__accent {
    display: inline-flex;
    width: 62px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--secondary) 0%, rgba(230, 57, 70, 0.12) 100%);
    margin-bottom: 18px;
}

.legal-opportunity-copy__lead h3,
.legal-opportunity-help__copy h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: -0.5px;
}

.legal-opportunity-copy p {
    max-width: 620px;
    margin: 28px 0 0;
    font-size: 17px;
    line-height: 1.8;
}

.legal-opportunity-media {
    position: relative;
    min-height: 100%;
}

.legal-opportunity-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.42) 18%, rgba(255, 255, 255, 0) 42%);
    pointer-events: none;
}

.legal-opportunity-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
    box-shadow: 0 20px 38px -20px rgba(15, 31, 46, 0.22);
}

.legal-opportunity-divider {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 28px 0 18px;
}

.legal-opportunity-divider span {
    flex-shrink: 0;
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.legal-opportunity-divider div {
    width: 100%;
    height: 1px;
    background: #d7dde6;
}

.legal-opportunity-symptoms,
.legal-opportunity-help__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.legal-opportunity-symptom,
.legal-opportunity-help__item {
    padding: 16px 22px 8px 12px;
}

.legal-opportunity-symptom + .legal-opportunity-symptom,
.legal-opportunity-help__item + .legal-opportunity-help__item {
    border-left: 1px solid #e2e8f0;
}

.legal-opportunity-symptom__icon {
    width: 102px;
    height: 102px;
    margin-bottom: 18px;
}

.legal-opportunity-symptom p,
.legal-opportunity-help__item p {
    margin: 0;
    color: var(--primary);
    font-size: 18px;
    line-height: 1.42;
    font-weight: 600;
}

.legal-opportunity-help {
    margin-top: 28px;
    padding: 28px 26px 16px;
    border-radius: 24px;
    border: 1px solid rgba(69, 123, 157, 0.18);
    background:
        linear-gradient(135deg, rgba(69, 123, 157, 0.08) 0%, rgba(255, 255, 255, 0.96) 42%, rgba(230, 57, 70, 0.05) 100%);
}

.legal-opportunity-help__header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-bottom: 20px;
}

.legal-opportunity-help__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 108px;
    height: 108px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary) 0%, #27456c 62%, var(--secondary) 100%);
    color: white;
    flex-shrink: 0;
}

.legal-opportunity-help__copy h3 {
    color: var(--primary);
}

.legal-opportunity-help__copy p {
    max-width: 820px;
    margin: 0;
    font-size: 17px;
    line-height: 1.75;
}

.legal-opportunity-help__item {
    padding: 18px 22px 8px;
    text-align: center;
}

.legal-opportunity-help__item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    color: var(--secondary);
}

.legal-opportunity-help__item p {
    color: #163951;
    font-weight: 500;
}

.check-list,
.icon-list,
.info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.check-list li,
.icon-list li {
    position: relative;
    padding-left: 28px;
}

.check-list li::before,
.icon-list li::before {
    content: 'â€¢';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary);
    font-size: 24px;
    line-height: 1;
}

.faq-list {
    display: grid;
    gap: 18px;
}

.faq-item {
    padding: 28px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.faq-item h3 {
    font-size: 20px;
}

.accent-callout {
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.04) 0%, rgba(230, 57, 70, 0.08) 100%);
    border: 1px solid rgba(230, 57, 70, 0.12);
}

.stat-pill-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.stat-pill {
    background: white;
    border: 1px solid rgba(29, 53, 87, 0.08);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.stat-pill__value {
    font-family: 'Outfit', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-pill__label {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-panel {
    background: linear-gradient(135deg, #1d3557 0%, #0f1f2e 100%);
    color: white;
    padding: 40px;
    border-radius: 28px;
    box-shadow: 0 24px 50px -18px rgba(15, 31, 46, 0.4);
}

.cta-panel h2,
.cta-panel h3 {
    color: white;
}

.cta-panel p {
    color: rgba(255, 255, 255, 0.82);
}

.cta-panel .btn {
    margin-top: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 28px;
}

.contact-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(29, 53, 87, 0.08);
}

.contact-card--highlight {
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.contact-card a {
    color: var(--primary);
}

.hub-grid-section,
.post-listing {
    margin-top: 28px;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.hub-card {
    display: block;
    text-decoration: none;
    background: white;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid rgba(29, 53, 87, 0.08);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.hub-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.hub-card__count {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff5f5;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hub-card h3 {
    margin-bottom: 10px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.post-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(29, 53, 87, 0.08);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.post-card__media {
    display: block;
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.94) 0%, rgba(69, 123, 157, 0.92) 100%);
    min-height: 220px;
}

.post-card__media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.post-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    color: rgba(255, 255, 255, 0.88);
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.post-card__content {
    padding: 28px;
}

.post-card__content h3 {
    font-size: 24px;
    margin: 14px 0 12px;
}

.post-card__content h3 a,
.post-card__link,
.nav-links a,
.nav-links span {
    text-decoration: none;
}

.post-card__content h3 a {
    color: var(--primary);
}

.post-card__meta,
.post-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
    color: #6b7280;
    font-size: 14px;
}

.post-card__meta {
    margin-top: 20px;
}

.post-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef3f8;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.post-card__link {
    color: var(--secondary);
    font-weight: 600;
}

.archive-empty {
    background: white;
    border: 1px solid rgba(29, 53, 87, 0.08);
    border-radius: 24px;
    padding: 42px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 34px;
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(29, 53, 87, 0.12);
    background: white;
    color: var(--primary);
    font-weight: 600;
}

.nav-links .current {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.blog-shell .content-page {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.post-featured-image {
    margin-bottom: 32px;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 22px;
    display: block;
}

.article-cta {
    margin-top: 38px;
    padding-top: 28px;
    border-top: 1px solid #edf2f7;
}

.article-cta .btn {
    margin-top: 18px;
}

.footer-bottom a {
    color: #8899a6;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--secondary);
}

.wpforms-container-full .wpforms-form .wpforms-field-label {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.wpforms-container-full .wpforms-form input[type='text'],
.wpforms-container-full .wpforms-form input[type='email'],
.wpforms-container-full .wpforms-form textarea {
    border: 1px solid #d6dee8;
    border-radius: 16px;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 16px;
}

.wpforms-container-full .wpforms-form textarea {
    min-height: 160px;
}

.wpforms-container-full .wpforms-form button[type='submit'] {
    background: linear-gradient(135deg, var(--secondary) 0%, #d62839 100%);
    border: none;
    border-radius: 999px;
    color: white;
    font-weight: 600;
    padding: 14px 26px;
    transition: var(--transition);
}

.wpforms-container-full .wpforms-form button[type='submit']:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(230, 57, 70, 0.55);
}

@media (max-width: 1180px) {
    .content-grid.three-col,
    .post-grid,
    .hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legal-opportunity-symptoms,
    .legal-opportunity-help__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legal-opportunity-symptom:nth-child(3),
    .legal-opportunity-help__item:nth-child(3) {
        border-left: 0;
    }

    .legal-opportunity-symptom:nth-child(n + 3),
    .legal-opportunity-help__item:nth-child(n + 3) {
        border-top: 1px solid #e2e8f0;
    }
}

@media (max-width: 1180px) {
    .solution-feature-split,
    .solution-roadmap-layout {
        grid-template-columns: 1fr;
    }

    .solution-enhanced-section--platform .solution-feature-split,
    .solution-enhanced-section--contract .solution-feature-split {
        grid-template-columns: 1fr;
    }

    .solution-image-card-grid,
    .solution-workflow-grid,
    .solution-outcomes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .solution-enhanced-section--services .solution-image-card-grid {
        grid-template-columns: 1fr;
    }

    .solution-enhanced-section--services .solution-image-card--featured {
        grid-template-columns: 1fr;
    }

    .solution-enhanced-section--services .solution-image-card--featured .solution-image-card__media {
        aspect-ratio: 16 / 9;
    }

    .solution-enhanced-section--workflow-coverage .solution-workflow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .solution-enhanced-section--workflow-coverage .solution-workflow-card,
    .solution-enhanced-section--workflow-coverage .solution-workflow-card:nth-child(4),
    .solution-enhanced-section--workflow-coverage .solution-workflow-card:nth-child(5) {
        grid-column: span 1;
    }

    .solution-roadmap-step:nth-child(2) .solution-roadmap-step__content,
    .solution-roadmap-step:nth-child(3) .solution-roadmap-step__content,
    .solution-roadmap-step:nth-child(4) .solution-roadmap-step__content {
        transform: none;
    }

    .legal-why-kloves__masthead,
    .legal-why-kloves__showcase {
        grid-template-columns: 1fr;
    }

    .legal-why-kloves__visual-panel {
        max-width: 620px;
    }

    .legal-why-kloves__image,
    .legal-why-kloves__image img {
        min-height: 520px;
    }

    .legal-why-kloves__proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .page-hero h1 {
        font-size: 48px;
    }

    .content-page {
        padding: 44px;
    }

    .solution-enhanced-section__shell {
        padding: 30px 28px;
    }

    .solution-detail-grid {
        grid-template-columns: 1fr;
    }

    .solution-image-card__body,
    .solution-workflow-card,
    .solution-outcome-card,
    .solution-roadmap-step__content {
        padding: 22px;
    }

    .solution-roadmap-step h3,
    .solution-detail-card h3,
    .solution-workflow-card h3,
    .solution-outcome-card h3 {
        font-size: 21px;
    }

    .solution-enhanced-section--services .solution-image-card-grid {
        grid-template-columns: 1fr;
    }

    .solution-enhanced-section--services .solution-image-card {
        grid-template-columns: 1fr;
    }

    .solution-enhanced-section--services .solution-image-card .solution-image-card__media {
        aspect-ratio: 16 / 9;
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(29, 53, 87, 0.08);
    }

    .legal-why-kloves__shell {
        padding: 30px 28px 28px;
    }

    .legal-why-kloves__masthead,
    .legal-why-kloves__showcase {
        gap: 24px;
    }

    .legal-why-kloves__intro-card,
    .legal-why-kloves__callout-card {
        padding: 26px;
    }

    .legal-why-kloves__visual-panel {
        max-width: 560px;
    }

    .legal-why-kloves__image,
    .legal-why-kloves__image img {
        min-height: 430px;
    }

    .legal-why-kloves__intro-card h2 {
        max-width: none;
    }

    .legal-why-kloves__callout-card h3 {
        font-size: 28px;
    }

    .legal-opportunity-shell {
        padding: 30px 28px 24px;
    }

    .legal-opportunity-top {
        grid-template-columns: 1fr;
    }

    .legal-opportunity-media {
        order: -1;
    }

    .legal-opportunity-media img {
        min-height: 320px;
    }

    .content-grid.two-col,
    .contact-grid,
    .stat-pill-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header,
    header.scrolled {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    #navbar {
        position: fixed;
        inset: 0;
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
        visibility: hidden;
        pointer-events: none;
        z-index: 3200;
        contain: layout paint;
    }

    #navbar::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(15, 31, 46, 0.34);
        backdrop-filter: blur(4px);
        opacity: 0;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    #navbar.active {
        visibility: visible;
        pointer-events: auto;
    }

    #navbar.active::before {
        opacity: 1;
    }

    #navbar .nav-menu {
        position: absolute;
        top: 0;
        right: 0;
        box-sizing: border-box;
        width: min(84vw, 380px);
        max-width: calc(100vw - 18px);
        height: 100vh;
        height: 100dvh;
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        justify-content: flex-start;
        padding: 110px 26px 32px;
        background: white;
        box-shadow: -18px 0 44px rgba(15, 31, 46, 0.18);
        overflow-x: hidden;
        overflow-y: auto;
        transform: translate3d(100%, 0, 0);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 3201;
    }

    #navbar.active .nav-menu {
        transform: translateX(0);
    }

    #navbar .nav-menu > .menu-item {
        border-bottom: 1px solid #edf2f7;
    }

    #navbar .nav-menu > .menu-item:last-child {
        border-bottom: none;
    }

    #navbar .nav-menu > .menu-item > a {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 18px 0;
    }

    #navbar .sub-menu {
        position: static;
        min-width: 0;
        padding: 0 0 16px 14px;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    #navbar .menu-item-has-children.submenu-open > .sub-menu {
        display: grid;
    }

    #navbar .sub-menu .menu-item a {
        background: white;
        padding: 10px 0;
        border-radius: 0;
    }

    .page-hero {
        padding: 72px 0 54px;
    }

    .page-hero-art {
        background-position: var(--hero-art-position, 86% 52%);
        background-size: cover;
    }

    .page-hero h1 {
        font-size: 38px;
    }

    .page-hero-intro {
        font-size: 17px;
    }

    .content-page {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .solution-enhanced-section__shell {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .solution-enhanced-section--faq .solution-enhanced-section__shell {
        padding-top: 4px;
    }

    .solution-image-card-grid,
    .solution-workflow-grid,
    .solution-outcomes-grid {
        grid-template-columns: 1fr;
    }

    .solution-enhanced-section--workflow-coverage .solution-workflow-card,
    .solution-enhanced-section--workflow-coverage .solution-workflow-card:nth-child(4),
    .solution-enhanced-section--workflow-coverage .solution-workflow-card:nth-child(5) {
        grid-column: auto;
    }

    .solution-enhanced-section--services .solution-image-card--featured .solution-image-card__body {
        padding: 24px 22px;
    }

    .solution-pill-row,
    .solution-chip-list {
        gap: 10px;
    }

    .solution-pill,
    .solution-chip {
        width: 100%;
        justify-content: flex-start;
    }

    .solution-feature-split__media .solution-enhanced-media,
    .solution-roadmap-layout__media .solution-enhanced-media,
    .solution-enhanced-media--wide {
        aspect-ratio: auto;
    }

    .solution-enhanced-media img {
        min-height: 220px;
    }

    .solution-enhanced-section--platform .solution-enhanced-media img,
    .solution-enhanced-section--contract .solution-enhanced-media img,
    .solution-enhanced-section--workflow-coverage .solution-enhanced-media img,
    .solution-enhanced-section--roadmap .solution-enhanced-media img,
    .solution-enhanced-section--outcomes .solution-enhanced-media img {
        height: auto;
        min-height: 0;
    }

    .solution-detail-card__icon,
    .solution-workflow-card__icon,
    .solution-outcome-card__icon,
    .solution-roadmap-step__index {
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-radius: 16px;
    }

    .solution-detail-card__icon svg,
    .solution-workflow-card__icon svg,
    .solution-outcome-card__icon svg {
        width: 24px;
        height: 24px;
    }

    .solution-roadmap-steps {
        padding-left: 0;
    }

    .solution-roadmap-steps::before {
        left: 24px;
    }

    .solution-roadmap-step__index {
        margin-top: 16px;
    }

    .solution-roadmap-step__content {
        padding: 20px 18px;
    }

    .solution-roadmap-step__content::before {
        top: 32px;
        left: -14px;
        width: 14px;
    }

    .legal-why-kloves__shell {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .legal-why-kloves__masthead,
    .legal-why-kloves__showcase {
        gap: 18px;
    }

    .legal-why-kloves__intro-card,
    .legal-why-kloves__callout-card {
        padding: 22px 20px;
        border-radius: 22px;
    }

    .legal-why-kloves__visual-frame {
        padding: 14px;
        border-radius: 22px;
    }

    .legal-why-kloves__image,
    .legal-why-kloves__image img {
        min-height: 360px;
    }

    .legal-why-kloves__chip {
        max-width: 188px;
        padding: 12px 14px;
        font-size: 12px;
    }

    .legal-why-kloves__chip--top {
        top: 16px;
        right: 16px;
    }

    .legal-why-kloves__chip--bottom {
        left: 16px;
        bottom: 18px;
    }

    .legal-why-kloves__intro-card h2 {
        font-size: clamp(34px, 9vw, 48px);
        line-height: 1.05;
    }

    .legal-why-kloves__intro-card p,
    .legal-why-kloves__callout-card p {
        font-size: 16px;
    }

    .legal-why-kloves__callout-card::before {
        left: 20px;
    }

    .legal-why-kloves__callout-card h3 {
        font-size: 24px;
    }

    .legal-why-kloves__proof-heading {
        margin-top: 6px;
    }

    .legal-why-kloves__proof-grid {
        grid-template-columns: 1fr;
    }

    .legal-why-kloves__proof-card {
        padding: 22px 18px;
    }

    .legal-opportunity-shell {
        margin-bottom: 30px;
        padding: 24px 18px 18px;
        border-radius: 24px;
    }

    .legal-opportunity-heading {
        gap: 16px;
        margin-bottom: 20px;
    }

    .legal-opportunity-heading__badge {
        width: 64px;
        height: 64px;
    }

    .legal-opportunity-heading__badge svg,
    .legal-opportunity-symptom__icon svg,
    .legal-opportunity-help__badge svg,
    .legal-opportunity-help__item-icon svg {
        width: 30px;
        height: 30px;
    }

    .legal-opportunity-copy__lead h3,
    .legal-opportunity-help__copy h3 {
        font-size: 24px;
    }

    .legal-opportunity-symptom,
    .legal-opportunity-help__item {
        padding: 18px 14px 14px;
    }

    .legal-opportunity-symptom__icon {
        width: 84px;
        height: 84px;
        margin-bottom: 14px;
    }

    .legal-opportunity-symptom p,
    .legal-opportunity-help__item p {
        font-size: 17px;
    }

    .legal-opportunity-help {
        padding: 22px 18px 10px;
    }

    .legal-opportunity-help__header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .legal-opportunity-help__badge {
        width: 84px;
        height: 84px;
    }

    .content-page .entry-content h2 {
        font-size: 30px;
    }

    .post-grid,
    .hub-grid,
    .content-grid.three-col {
        grid-template-columns: 1fr;
    }

    .legal-opportunity-symptoms,
    .legal-opportunity-help__grid {
        grid-template-columns: 1fr;
    }

    .legal-opportunity-symptom,
    .legal-opportunity-help__item {
        padding-left: 0;
        padding-right: 0;
    }

    .legal-opportunity-symptom + .legal-opportunity-symptom,
    .legal-opportunity-help__item + .legal-opportunity-help__item,
    .legal-opportunity-symptom:nth-child(3),
    .legal-opportunity-help__item:nth-child(3) {
        border-left: 0;
    }

    .legal-opportunity-symptom:nth-child(n + 2),
    .legal-opportunity-help__item:nth-child(n + 2) {
        border-top: 1px solid #e2e8f0;
    }

    .proof-list {
        gap: 10px;
    }

    .proof-list span {
        width: 100%;
        justify-content: center;
    }

    .post-card__media,
    .post-card__placeholder,
    .post-card__media img {
        min-height: 200px;
        height: 200px;
    }
}

@media (max-width: 540px) {
    .container {
        padding: 0 16px;
    }

    .page-hero-content,
    .page-hero--with-art .page-hero-content,
    .page-hero--with-art .page-hero-intro {
        max-width: 100%;
    }

    .page-hero-art {
        background-position: var(--hero-art-position-mobile, 76% 50%);
        background-size: var(--hero-art-size-mobile, cover);
    }

    .page-hero-art::before {
        background: var(--hero-art-overlay-mobile);
    }

    .page-hero h1 {
        max-width: 100%;
        font-size: clamp(24px, 6.8vw, 27px);
        line-height: 1.1;
        letter-spacing: -0.55px;
        overflow-wrap: anywhere;
    }

    .page-hero-intro {
        max-width: 100%;
        font-size: 15px;
        overflow-wrap: anywhere;
    }

    .page-hero-actions,
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .page-hero-actions .btn,
    .cta-buttons .btn {
        justify-content: center;
        width: 100%;
    }

    .solution-enhanced-section__header h2 {
        font-size: clamp(28px, 8vw, 36px);
    }

    .solution-enhanced-section__lead,
    .solution-enhanced-section__note,
    .solution-enhanced-section__header p,
    .solution-feature-split__copy p,
    .solution-roadmap-step p,
    .solution-workflow-card p,
    .solution-outcome-card p {
        font-size: 16px;
    }

    .solution-detail-card,
    .solution-image-card__body,
    .solution-workflow-card,
    .solution-outcome-card,
    .solution-roadmap-step {
        padding: 20px 18px;
    }

    .solution-enhanced-media img {
        min-height: 200px;
    }

    .legal-why-kloves__image,
    .legal-why-kloves__image img {
        min-height: 300px;
    }

    .legal-why-kloves__chip {
        max-width: 168px;
        padding: 10px 12px;
        gap: 8px;
        font-size: 11px;
    }

    .legal-why-kloves__chip::before {
        width: 8px;
        height: 8px;
        box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12);
    }

    .legal-why-kloves__chip--top {
        top: 12px;
        right: 12px;
    }

    .legal-why-kloves__chip--bottom {
        left: 12px;
        bottom: 12px;
    }

    .legal-why-kloves__intro-card h2 {
        font-size: clamp(31px, 9.8vw, 42px);
    }

    .legal-opportunity-heading {
        align-items: flex-start;
    }

    .legal-opportunity-heading h2 {
        font-size: clamp(38px, 11vw, 56px);
        line-height: 1.02;
    }

    .legal-opportunity-copy__lead h3,
    .legal-opportunity-help__copy h3 {
        font-size: 21px;
    }

    .legal-opportunity-copy p,
    .legal-opportunity-help__copy p {
        font-size: 16px;
    }

    .legal-opportunity-media img {
        min-height: 250px;
    }

}

@media (prefers-reduced-motion: reduce) {
    [data-reveal],
    .js-enabled [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .legal-why-kloves__chip--float.is-visible {
        animation: none;
    }

    .legal-why-kloves__callout-card::before {
        transition: none;
    }
}

/* HR Service Delivery solution page redesign */
body.page-id-27 {
    --hrsd-paper: #f6f8fb;
    --hrsd-paper-warm: #fbfcfe;
    --hrsd-ink: #10243b;
    --hrsd-muted: #5d6d7e;
    --hrsd-line: rgba(29, 53, 87, 0.1);
    --hrsd-soft-blue: rgba(69, 123, 157, 0.13);
    --hrsd-soft-red: rgba(230, 57, 70, 0.08);
    --hrsd-shadow: 0 28px 70px -44px rgba(15, 31, 46, 0.42);
    --hrsd-shadow-soft: 0 18px 42px -34px rgba(15, 31, 46, 0.36);
    background: var(--hrsd-paper);
}

body.page-id-27 .page-hero--solution-hr {
    min-height: min(760px, calc(100dvh - 72px));
    padding: clamp(88px, 8vw, 136px) 0 clamp(94px, 9vw, 148px);
    background:
        linear-gradient(90deg, rgba(246, 248, 251, 0.99) 0%, rgba(246, 248, 251, 0.97) 42%, rgba(246, 248, 251, 0.76) 62%, rgba(246, 248, 251, 0.28) 100%),
        radial-gradient(circle at 72% 16%, rgba(69, 123, 157, 0.2) 0%, rgba(69, 123, 157, 0) 28%),
        linear-gradient(180deg, #fbfcfe 0%, #eef4f9 100%);
}

body.page-id-27 .page-hero--solution-hr::before {
    inset: auto auto 36px max(24px, calc((100vw - 1280px) / 2 + 24px));
    width: min(38vw, 520px);
    height: 1px;
    border-radius: 0;
    background: linear-gradient(90deg, var(--secondary) 0%, rgba(230, 57, 70, 0) 100%);
}

body.page-id-27 .page-hero--solution-hr::after {
    top: 112px;
    right: max(18px, calc((100vw - 1280px) / 2 + 18px));
    bottom: 64px;
    left: auto;
    width: min(42vw, 560px);
    height: auto;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.08) 44%, rgba(29, 53, 87, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--hrsd-shadow);
}

body.page-id-27 .page-hero--solution-hr .page-hero-art {
    z-index: 1;
    background-size: cover;
    background-position: 92% 52%;
    filter: saturate(1.05) contrast(1.03);
}

body.page-id-27 .page-hero--solution-hr .page-hero-art::before {
    background:
        linear-gradient(90deg, rgba(246, 248, 251, 1) 0%, rgba(246, 248, 251, 0.96) 36%, rgba(246, 248, 251, 0.5) 58%, rgba(246, 248, 251, 0.08) 100%),
        linear-gradient(180deg, rgba(246, 248, 251, 0.02) 0%, rgba(246, 248, 251, 0.64) 100%);
}

body.page-id-27 .page-hero--solution-hr .page-hero-art::after {
    background:
        linear-gradient(90deg, rgba(29, 53, 87, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(29, 53, 87, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, transparent 0%, black 58%, black 100%);
    opacity: 0.55;
}

body.page-id-27 .page-hero--solution-hr .container {
    position: relative;
    z-index: 2;
}

body.page-id-27 .page-hero--solution-hr .page-hero-content {
    max-width: 760px;
    padding-top: clamp(24px, 4vw, 52px);
}

body.page-id-27 .page-hero--solution-hr h1 {
    max-width: 13.5ch;
    color: var(--hrsd-ink);
    font-size: clamp(48px, 6.2vw, 78px);
    line-height: 0.98;
    letter-spacing: -1.85px;
    text-wrap: balance;
}

body.page-id-27 .page-hero--solution-hr .page-hero-intro {
    max-width: 660px;
    color: #41546a;
    font-size: clamp(18px, 1.5vw, 21px);
    line-height: 1.72;
}

body.page-id-27 .page-hero--solution-hr .page-hero-actions {
    margin-top: 36px;
}

body.page-id-27 .page-hero--solution-hr .btn {
    box-shadow: 0 16px 34px -20px rgba(15, 31, 46, 0.44);
}

body.page-id-27 .page-hero--solution-hr .btn-primary {
    background: linear-gradient(135deg, #d93f4d 0%, #b92433 100%);
}

body.page-id-27 .page-hero--solution-hr .proof-list {
    max-width: 660px;
}

body.page-id-27 .page-hero--solution-hr .proof-list span {
    background: rgba(255, 255, 255, 0.76);
    border-color: rgba(29, 53, 87, 0.1);
    box-shadow: 0 14px 28px -24px rgba(15, 31, 46, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.page-id-27 .page-shell {
    padding: 0 0 clamp(92px, 9vw, 140px);
    background:
        radial-gradient(circle at 15% 10%, rgba(69, 123, 157, 0.11) 0%, rgba(69, 123, 157, 0) 26%),
        linear-gradient(180deg, #eff4f9 0%, #fbfcfe 38%, #ffffff 100%);
}

body.page-id-27 .page-layout {
    margin-top: -62px;
}

body.page-id-27 .content-page {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.page-id-27 .content-page .entry-content {
    display: grid;
    gap: clamp(28px, 4vw, 58px);
    color: var(--hrsd-muted);
    font-size: 17px;
}

body.page-id-27 .content-page .entry-content > * + * {
    margin-top: 0;
}

body.page-id-27 .content-page .entry-content h2 {
    max-width: 16ch;
    color: var(--hrsd-ink);
    font-size: clamp(34px, 4.25vw, 58px);
    line-height: 1.03;
    letter-spacing: -1.35px;
    text-wrap: balance;
}

body.page-id-27 .content-page .entry-content h3 {
    color: var(--hrsd-ink);
    letter-spacing: -0.28px;
}

body.page-id-27 .content-section {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: clamp(34px, 4.5vw, 58px);
    border: 1px solid rgba(29, 53, 87, 0.09);
    border-radius: clamp(28px, 3vw, 38px);
    background:
        radial-gradient(circle at top right, rgba(69, 123, 157, 0.08) 0%, rgba(69, 123, 157, 0) 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 254, 0.98) 100%);
    box-shadow: var(--hrsd-shadow);
}

body.page-id-27 .content-section + .content-section {
    margin-top: 0;
    border-top: 1px solid rgba(29, 53, 87, 0.09);
}

body.page-id-27 .content-section .section-header {
    max-width: 900px;
    margin-bottom: clamp(26px, 3vw, 38px);
}

body.page-id-27 .section-tag {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 12px 7px;
    border: 1px solid rgba(230, 57, 70, 0.17);
    border-radius: 10px;
    background: rgba(230, 57, 70, 0.055);
    color: #b42f3c;
    font-size: 11px;
    letter-spacing: 1.8px;
}

body.page-id-27 .section-tag::after {
    display: none;
}

body.page-id-27 .section-header p {
    max-width: 72ch;
    color: #516377;
    font-size: clamp(17px, 1.5vw, 19px);
    line-height: 1.76;
}

body.page-id-27 .content-grid {
    gap: clamp(18px, 2vw, 28px);
}

body.page-id-27 .content-card,
body.page-id-27 .accent-callout,
body.page-id-27 .faq-item {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(29, 53, 87, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 252, 255, 0.92) 100%);
    box-shadow: var(--hrsd-shadow-soft);
}

body.page-id-27 .content-card {
    padding: clamp(24px, 2.6vw, 34px);
}

body.page-id-27 .content-card::before,
body.page-id-27 .faq-item::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--secondary) 0%, rgba(69, 123, 157, 0.28) 100%);
    opacity: 0.62;
}

body.page-id-27 .content-card > *,
body.page-id-27 .accent-callout > *,
body.page-id-27 .faq-item > * {
    position: relative;
    z-index: 1;
}

body.page-id-27 .content-card h3,
body.page-id-27 .accent-callout h3,
body.page-id-27 .faq-item h3 {
    margin-bottom: 12px;
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.16;
}

body.page-id-27 .content-card p,
body.page-id-27 .accent-callout p,
body.page-id-27 .faq-item p {
    color: #5b6b7b;
}

body.page-id-27 .check-list,
body.page-id-27 .icon-list,
body.page-id-27 .info-list {
    gap: 13px;
}

body.page-id-27 .check-list li,
body.page-id-27 .icon-list li {
    padding-left: 34px;
}

body.page-id-27 .check-list li::before,
body.page-id-27 .icon-list li::before {
    content: '';
    top: 0.46em;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--secondary);
    box-shadow: 0 0 0 6px rgba(230, 57, 70, 0.1);
}

body.page-id-27 .entry-content > section:nth-of-type(2) .content-grid.two-col {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

body.page-id-27 .entry-content > section:nth-of-type(3) {
    background:
        radial-gradient(circle at top left, rgba(230, 57, 70, 0.08) 0%, rgba(230, 57, 70, 0) 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-id-27 .entry-content > section:nth-of-type(4) {
    color: rgba(255, 255, 255, 0.82);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        radial-gradient(circle at top right, rgba(230, 57, 70, 0.16) 0%, rgba(230, 57, 70, 0) 34%),
        linear-gradient(135deg, #10243b 0%, #1d3557 58%, #29496e 100%);
    background-size: 40px 40px, 40px 40px, auto, auto;
}

body.page-id-27 .entry-content > section:nth-of-type(4) h2,
body.page-id-27 .entry-content > section:nth-of-type(4) h3 {
    color: white;
}

body.page-id-27 .entry-content > section:nth-of-type(4) .section-header p,
body.page-id-27 .entry-content > section:nth-of-type(4) .content-card p,
body.page-id-27 .entry-content > section:nth-of-type(4) .check-list li {
    color: rgba(255, 255, 255, 0.78);
}

body.page-id-27 .entry-content > section:nth-of-type(4) .content-card {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: none;
}

body.page-id-27 .entry-content > section:nth-of-type(5) .content-grid.three-col {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

body.page-id-27 .entry-content > section:nth-of-type(5) .content-card {
    grid-column: span 6;
}

body.page-id-27 .entry-content > section:nth-of-type(5) .content-card:first-child {
    grid-row: span 2;
    grid-column: span 6;
    background:
        radial-gradient(circle at top right, rgba(230, 57, 70, 0.12) 0%, rgba(230, 57, 70, 0) 36%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

body.page-id-27 .entry-content > section:nth-of-type(5) .content-card:last-child {
    grid-column: 7 / -1;
}

body.page-id-27 .entry-content > section:nth-of-type(6) {
    background:
        radial-gradient(circle at 12% 18%, rgba(69, 123, 157, 0.14) 0%, rgba(69, 123, 157, 0) 34%),
        linear-gradient(180deg, #f9fbfd 0%, #ffffff 100%);
}

body.page-id-27 .entry-content > section:nth-of-type(6) .content-grid.three-col {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

body.page-id-27 .entry-content > section:nth-of-type(6) .content-card {
    grid-column: span 2;
    min-height: 210px;
}

body.page-id-27 .entry-content > section:nth-of-type(6) .content-card:nth-child(1),
body.page-id-27 .entry-content > section:nth-of-type(6) .content-card:nth-child(6) {
    grid-column: span 3;
}

body.page-id-27 .entry-content > section:nth-of-type(6) .content-card:nth-child(3) {
    background:
        radial-gradient(circle at top right, rgba(230, 57, 70, 0.12) 0%, rgba(230, 57, 70, 0) 42%),
        linear-gradient(180deg, #ffffff 0%, #fff9fa 100%);
}

body.page-id-27 .entry-content > section:nth-of-type(7) {
    background:
        radial-gradient(circle at top right, rgba(69, 123, 157, 0.16) 0%, rgba(69, 123, 157, 0) 34%),
        linear-gradient(135deg, #f8fbff 0%, #ffffff 54%, #fff8f9 100%);
}

body.page-id-27 .accent-callout {
    padding: clamp(26px, 3vw, 38px);
    background:
        linear-gradient(135deg, rgba(29, 53, 87, 0.06) 0%, rgba(230, 57, 70, 0.08) 100%);
}

body.page-id-27 .entry-content > section:nth-of-type(7) .accent-callout {
    max-width: 760px;
}

body.page-id-27 .entry-content > section:nth-of-type(8) .content-grid.two-col {
    align-items: stretch;
}

body.page-id-27 .entry-content > section:nth-of-type(8) .content-card:first-child .check-list {
    gap: 0;
}

body.page-id-27 .entry-content > section:nth-of-type(8) .content-card:first-child .check-list li {
    padding-top: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(29, 53, 87, 0.09);
}

body.page-id-27 .entry-content > section:nth-of-type(8) .content-card:first-child .check-list li:last-child {
    border-bottom: 0;
}

body.page-id-27 .entry-content > section:nth-of-type(9) .content-card {
    padding: clamp(30px, 4vw, 48px);
    background:
        linear-gradient(90deg, rgba(29, 53, 87, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    background-size: 38px 38px, auto;
}

body.page-id-27 .entry-content > section:nth-of-type(9) .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
    margin-bottom: 26px;
}

body.page-id-27 .entry-content > section:nth-of-type(10) {
    background:
        radial-gradient(circle at top left, rgba(69, 123, 157, 0.1) 0%, rgba(69, 123, 157, 0) 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-id-27 .entry-content > section:nth-of-type(10) .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

body.page-id-27 .entry-content > section:nth-of-type(10) .faq-item {
    padding: clamp(24px, 2.4vw, 32px);
}

body.page-id-27 .entry-content > section:nth-of-type(11) {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.page-id-27 .cta-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 6vw, 76px);
    border-radius: clamp(28px, 3.2vw, 42px);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 88% 18%, rgba(230, 57, 70, 0.28) 0%, rgba(230, 57, 70, 0) 30%),
        linear-gradient(135deg, #10243b 0%, #1d3557 58%, #0f1f2e 100%);
    background-size: 42px 42px, 42px 42px, auto, auto;
    box-shadow: 0 34px 78px -42px rgba(15, 31, 46, 0.62);
}

body.page-id-27 .cta-panel::after {
    content: '';
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 340px;
    height: 340px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.22) 0%, rgba(230, 57, 70, 0) 70%);
    pointer-events: none;
}

body.page-id-27 .cta-panel h2 {
    max-width: 13ch;
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.03;
    letter-spacing: -1.2px;
}

body.page-id-27 .cta-panel p {
    max-width: 720px;
    font-size: clamp(17px, 1.45vw, 19px);
    line-height: 1.72;
}

body.page-id-27 .cta-panel .btn {
    position: relative;
    z-index: 1;
}

@media (max-width: 1180px) {
    body.page-id-27 .entry-content > section:nth-of-type(2),
    body.page-id-27 .entry-content > section:nth-of-type(7) {
        padding-right: clamp(34px, 4.5vw, 58px);
    }

    body.page-id-27 .entry-content > section:nth-of-type(6) .content-grid.three-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-id-27 .entry-content > section:nth-of-type(6) .content-card,
    body.page-id-27 .entry-content > section:nth-of-type(6) .content-card:nth-child(1),
    body.page-id-27 .entry-content > section:nth-of-type(6) .content-card:nth-child(6) {
        grid-column: auto;
    }
}

@media (max-width: 900px) {
    body.page-id-27 .page-hero--solution-hr {
        min-height: auto;
        padding: 78px 0 86px;
    }

    body.page-id-27 .page-hero--solution-hr::after {
        display: none;
    }

    body.page-id-27 .page-hero--solution-hr .page-hero-art {
        background-size: 112vw auto;
        background-position: 68% 8%;
        opacity: 0.23;
    }

    body.page-id-27 .page-hero--solution-hr .page-hero-art::before {
        background: linear-gradient(180deg, rgba(246, 248, 251, 0.74) 0%, rgba(246, 248, 251, 0.98) 56%, rgba(246, 248, 251, 1) 100%);
    }

    body.page-id-27 .page-hero--solution-hr h1 {
        max-width: 11.5ch;
        font-size: clamp(38px, 10vw, 56px);
        letter-spacing: -0.75px;
        word-spacing: 0.04em;
    }

    body.page-id-27 .page-layout {
        margin-top: -42px;
    }

    body.page-id-27 .content-page .entry-content {
        gap: 26px;
    }

    body.page-id-27 .content-section {
        padding: 28px 22px;
        border-radius: 28px;
    }

    body.page-id-27 .content-page .entry-content h2 {
        max-width: none;
        font-size: clamp(30px, 9vw, 42px);
    }

    body.page-id-27 .content-grid.two-col,
    body.page-id-27 .content-grid.three-col,
    body.page-id-27 .entry-content > section:nth-of-type(5) .content-grid.three-col,
    body.page-id-27 .entry-content > section:nth-of-type(6) .content-grid.three-col,
    body.page-id-27 .entry-content > section:nth-of-type(10) .faq-list {
        grid-template-columns: 1fr;
    }

    body.page-id-27 .entry-content > section:nth-of-type(5) .content-card,
    body.page-id-27 .entry-content > section:nth-of-type(5) .content-card:first-child,
    body.page-id-27 .entry-content > section:nth-of-type(5) .content-card:last-child {
        grid-column: auto;
        grid-row: auto;
    }

    body.page-id-27 .entry-content > section:nth-of-type(9) .check-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    body.page-id-27 .page-hero--solution-hr {
        padding: 62px 0 74px;
    }

    body.page-id-27 .page-hero--solution-hr h1 {
        max-width: 100%;
        font-size: clamp(31px, 8.8vw, 42px);
        line-height: 1.04;
        letter-spacing: -0.45px;
        word-spacing: 0.06em;
        overflow-wrap: normal;
    }

    body.page-id-27 .page-hero--solution-hr .page-hero-intro {
        font-size: 16px;
    }

    body.page-id-27 .proof-list span {
        justify-content: flex-start;
    }

    body.page-id-27 .content-section {
        padding: 24px 18px;
        border-radius: 24px;
    }

    body.page-id-27 .content-card,
    body.page-id-27 .accent-callout,
    body.page-id-27 .faq-item {
        padding: 22px 18px;
        border-radius: 20px;
    }

    body.page-id-27 .section-tag {
        max-width: 100%;
        white-space: normal;
        line-height: 1.35;
    }

    body.page-id-27 .cta-panel {
        padding: 32px 22px;
        border-radius: 24px;
    }
}

body.page-id-27 .hrsd-section-visual {
    position: relative;
    display: block;
    z-index: 1;
    margin: 0 0 clamp(24px, 3vw, 36px);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(29, 53, 87, 0.09);
    border-radius: clamp(22px, 2.4vw, 30px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.38) 100%),
        #edf4fa;
    box-shadow: 0 26px 58px -42px rgba(15, 31, 46, 0.5);
}

body.page-id-27 .hrsd-section-visual::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.55);
    pointer-events: none;
    z-index: 2;
}

body.page-id-27 .hrsd-section-visual img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.04) contrast(1.02);
}

body.page-id-27 .entry-content > section:nth-of-type(1),
body.page-id-27 .entry-content > section:nth-of-type(3),
body.page-id-27 .entry-content > section:nth-of-type(6) {
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.72fr);
    gap: clamp(26px, 3.4vw, 44px);
    align-items: center;
}

body.page-id-27 .entry-content > section:nth-of-type(1) > .section-header,
body.page-id-27 .entry-content > section:nth-of-type(3) > .section-header,
body.page-id-27 .entry-content > section:nth-of-type(6) > .section-header {
    margin-bottom: 0;
}

body.page-id-27 .entry-content > section:nth-of-type(1) > .content-grid,
body.page-id-27 .entry-content > section:nth-of-type(3) > .content-grid,
body.page-id-27 .entry-content > section:nth-of-type(6) > .accent-callout {
    grid-column: 1 / -1;
}

body.page-id-27 .entry-content > section:nth-of-type(1) > .hrsd-section-visual,
body.page-id-27 .entry-content > section:nth-of-type(3) > .hrsd-section-visual,
body.page-id-27 .entry-content > section:nth-of-type(6) > .hrsd-section-visual {
    width: min(100%, 460px);
    height: auto;
    min-height: 0;
    margin-bottom: 0;
    justify-self: end;
    align-self: center;
}

body.page-id-27 .entry-content > section:nth-of-type(1) .content-grid.two-col {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

body.page-id-27 .entry-content > section:nth-of-type(2) {
    padding-right: clamp(34px, 4.5vw, 58px);
    background:
        radial-gradient(circle at top left, rgba(230, 57, 70, 0.08) 0%, rgba(230, 57, 70, 0) 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-id-27 .entry-content > section:nth-of-type(2) .hrsd-section-visual,
body.page-id-27 .entry-content > section:nth-of-type(4) .hrsd-section-visual,
body.page-id-27 .entry-content > section:nth-of-type(5) .hrsd-section-visual,
body.page-id-27 .entry-content > section:nth-of-type(7) .hrsd-section-visual,
body.page-id-27 .entry-content > section:nth-of-type(8) .hrsd-section-visual,
body.page-id-27 .entry-content > section:nth-of-type(9) .hrsd-section-visual {
    aspect-ratio: 16 / 9;
}

body.page-id-27 .entry-content > section:nth-of-type(3) {
    color: rgba(255, 255, 255, 0.82);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        radial-gradient(circle at top right, rgba(230, 57, 70, 0.18) 0%, rgba(230, 57, 70, 0) 34%),
        linear-gradient(135deg, #10243b 0%, #1d3557 58%, #29496e 100%);
    background-size: 40px 40px, 40px 40px, auto, auto;
}

body.page-id-27 .entry-content > section:nth-of-type(3) h2,
body.page-id-27 .entry-content > section:nth-of-type(3) h3 {
    color: white;
}

body.page-id-27 .entry-content > section:nth-of-type(3) .section-header p,
body.page-id-27 .entry-content > section:nth-of-type(3) .content-card p,
body.page-id-27 .entry-content > section:nth-of-type(3) .check-list li {
    color: rgba(255, 255, 255, 0.78);
}

body.page-id-27 .entry-content > section:nth-of-type(3) .content-card {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: none;
}

body.page-id-27 .entry-content > section:nth-of-type(3) .hrsd-section-visual {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
}

body.page-id-27 .entry-content > section:nth-of-type(3) .hrsd-section-visual img {
    opacity: 0.94;
}

body.page-id-27 .entry-content > section:nth-of-type(4),
body.page-id-27 .entry-content > section:nth-of-type(5) {
    color: var(--hrsd-muted);
    background:
        radial-gradient(circle at top right, rgba(69, 123, 157, 0.11) 0%, rgba(69, 123, 157, 0) 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-id-27 .entry-content > section:nth-of-type(4) h2,
body.page-id-27 .entry-content > section:nth-of-type(4) h3,
body.page-id-27 .entry-content > section:nth-of-type(5) h2,
body.page-id-27 .entry-content > section:nth-of-type(5) h3 {
    color: var(--hrsd-ink);
}

body.page-id-27 .entry-content > section:nth-of-type(4) .section-header p,
body.page-id-27 .entry-content > section:nth-of-type(4) .content-card p,
body.page-id-27 .entry-content > section:nth-of-type(4) .check-list li,
body.page-id-27 .entry-content > section:nth-of-type(5) .section-header p,
body.page-id-27 .entry-content > section:nth-of-type(5) .content-card p,
body.page-id-27 .entry-content > section:nth-of-type(5) .check-list li {
    color: #5b6b7b;
}

body.page-id-27 .entry-content > section:nth-of-type(4) .content-card,
body.page-id-27 .entry-content > section:nth-of-type(5) .content-card {
    border-color: rgba(29, 53, 87, 0.08);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 252, 255, 0.92) 100%);
    box-shadow: var(--hrsd-shadow-soft);
}

body.page-id-27 .entry-content > section:nth-of-type(4) .content-grid.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-id-27 .entry-content > section:nth-of-type(4) .content-card {
    grid-column: auto;
}

body.page-id-27 .entry-content > section:nth-of-type(5) .content-grid.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: clamp(18px, 2vw, 24px);
}

body.page-id-27 .entry-content > section:nth-of-type(5) .content-card {
    display: flex;
    flex-direction: column;
    grid-column: auto;
    grid-row: auto;
    min-height: clamp(190px, 16vw, 220px);
    height: 100%;
    padding: clamp(24px, 2.6vw, 34px);
}

body.page-id-27 .entry-content > section:nth-of-type(5) .content-card:nth-child(1),
body.page-id-27 .entry-content > section:nth-of-type(5) .content-card:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 252, 255, 0.92) 100%);
}

body.page-id-27 .entry-content > section:nth-of-type(5) .content-card:nth-child(3) {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 252, 255, 0.92) 100%);
}

body.page-id-27 .entry-content > section:nth-of-type(6) {
    background:
        radial-gradient(circle at top right, rgba(69, 123, 157, 0.16) 0%, rgba(69, 123, 157, 0) 34%),
        linear-gradient(135deg, #f8fbff 0%, #ffffff 54%, #fff8f9 100%);
}

body.page-id-27 .entry-content > section:nth-of-type(6) .accent-callout {
    max-width: none;
}

body.page-id-27 .entry-content > section:nth-of-type(7) {
    padding-right: clamp(34px, 4.5vw, 58px);
    background:
        radial-gradient(circle at top left, rgba(69, 123, 157, 0.12) 0%, rgba(69, 123, 157, 0) 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-id-27 .entry-content > section:nth-of-type(7) .content-grid.two-col {
    align-items: stretch;
}

body.page-id-27 .entry-content > section:nth-of-type(7) .content-card:first-child .check-list {
    gap: 0;
}

body.page-id-27 .entry-content > section:nth-of-type(7) .content-card:first-child .check-list li {
    padding-top: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(29, 53, 87, 0.09);
}

body.page-id-27 .entry-content > section:nth-of-type(7) .content-card:first-child .check-list li:last-child {
    border-bottom: 0;
}

body.page-id-27 .entry-content > section:nth-of-type(8) .content-card {
    padding: clamp(30px, 4vw, 48px);
    background:
        linear-gradient(90deg, rgba(29, 53, 87, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    background-size: 38px 38px, auto;
}

body.page-id-27 .entry-content > section:nth-of-type(8) .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
    margin-bottom: 26px;
}

body.page-id-27 .entry-content > section:nth-of-type(9) {
    background:
        radial-gradient(circle at top left, rgba(69, 123, 157, 0.1) 0%, rgba(69, 123, 157, 0) 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.page-id-27 .entry-content > section:nth-of-type(9) .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

body.page-id-27 .entry-content > section:nth-of-type(9) .faq-item {
    padding: clamp(24px, 2.4vw, 32px);
}

body.page-id-27 .entry-content > section:nth-of-type(10) {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.page-id-27 .cta-panel {
    isolation: isolate;
}

body.page-id-27 .cta-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(16, 36, 59, 0.98) 0%, rgba(16, 36, 59, 0.88) 42%, rgba(16, 36, 59, 0.42) 100%),
        url('images/solutions/generated/hrsd-cta.webp') right center / cover no-repeat;
    opacity: 0.96;
}

body.page-id-27 .cta-panel > * {
    position: relative;
    z-index: 1;
}

body.page-id-27 .content-page .entry-content .cta-panel h2,
body.page-id-27 .content-page .entry-content .cta-panel h3 {
    color: #ffffff;
}

body.page-id-27 .content-page .entry-content .cta-panel p {
    color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 1180px) {
    body.page-id-27 .entry-content > section:nth-of-type(5) .content-grid.three-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-id-27 .entry-content > section:nth-of-type(5) .content-card,
    body.page-id-27 .entry-content > section:nth-of-type(5) .content-card:nth-child(1),
    body.page-id-27 .entry-content > section:nth-of-type(5) .content-card:nth-child(6) {
        grid-column: auto;
    }
}

@media (max-width: 900px) {
    body.page-id-27 .entry-content > section:nth-of-type(1),
    body.page-id-27 .entry-content > section:nth-of-type(3),
    body.page-id-27 .entry-content > section:nth-of-type(6) {
        grid-template-columns: 1fr;
    }

    body.page-id-27 .entry-content > section:nth-of-type(1) > .section-header,
    body.page-id-27 .entry-content > section:nth-of-type(3) > .section-header,
    body.page-id-27 .entry-content > section:nth-of-type(6) > .section-header,
    body.page-id-27 .entry-content > section:nth-of-type(1) > .hrsd-section-visual,
    body.page-id-27 .entry-content > section:nth-of-type(3) > .hrsd-section-visual,
    body.page-id-27 .entry-content > section:nth-of-type(6) > .hrsd-section-visual,
    body.page-id-27 .entry-content > section:nth-of-type(1) > .content-grid,
    body.page-id-27 .entry-content > section:nth-of-type(3) > .content-grid,
    body.page-id-27 .entry-content > section:nth-of-type(6) > .accent-callout {
        grid-column: auto;
    }

    body.page-id-27 .entry-content > section:nth-of-type(1) > .hrsd-section-visual,
    body.page-id-27 .entry-content > section:nth-of-type(3) > .hrsd-section-visual,
    body.page-id-27 .entry-content > section:nth-of-type(6) > .hrsd-section-visual {
        width: 100%;
        justify-self: stretch;
        min-height: 0;
        height: auto;
    }

    body.page-id-27 .entry-content > section:nth-of-type(1) > .content-grid.two-col,
    body.page-id-27 .entry-content > section:nth-of-type(3) > .content-grid.two-col {
        grid-template-columns: 1fr;
    }

    body.page-id-27 .hrsd-section-visual,
    body.page-id-27 .entry-content > section:nth-of-type(2) .hrsd-section-visual,
    body.page-id-27 .entry-content > section:nth-of-type(4) .hrsd-section-visual,
    body.page-id-27 .entry-content > section:nth-of-type(5) .hrsd-section-visual,
    body.page-id-27 .entry-content > section:nth-of-type(7) .hrsd-section-visual,
    body.page-id-27 .entry-content > section:nth-of-type(8) .hrsd-section-visual,
    body.page-id-27 .entry-content > section:nth-of-type(9) .hrsd-section-visual {
        aspect-ratio: 16 / 9;
    }

    body.page-id-27 .content-grid.two-col,
    body.page-id-27 .content-grid.three-col,
    body.page-id-27 .entry-content > section:nth-of-type(4) .content-grid.three-col,
    body.page-id-27 .entry-content > section:nth-of-type(5) .content-grid.three-col,
    body.page-id-27 .entry-content > section:nth-of-type(9) .faq-list {
        grid-template-columns: 1fr;
    }

    body.page-id-27 .entry-content > section:nth-of-type(4) .content-card,
    body.page-id-27 .entry-content > section:nth-of-type(5) .content-card {
        grid-column: auto;
    }

    body.page-id-27 .entry-content > section:nth-of-type(8) .check-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    body.page-id-27 .hrsd-section-visual img {
        min-height: 0;
    }

    body.page-id-27 .entry-content > section:nth-of-type(5) .content-card {
        min-height: 0;
    }

    body.page-id-27 .hrsd-section-visual::before {
        inset: 8px;
    }
}

/* ServiceNow CRM solution page enhancements */
.page-hero--solution-crm {
    --hero-content-max: 920px;
    min-height: 720px;
    padding: 7.25rem 0 8rem;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(246, 248, 251, 0.99) 0%, rgba(246, 248, 251, 0.96) 43%, rgba(246, 248, 251, 0.72) 65%, rgba(246, 248, 251, 0.34) 100%),
        linear-gradient(180deg, #fbfcfe 0%, #eef4f8 100%);
}

.page-hero--solution-crm::before {
    inset: auto auto 3rem max(24px, calc((100% - 1280px) / 2 + 24px));
    width: min(520px, calc(100% - 48px));
    height: 1px;
    border-radius: 0;
    background: linear-gradient(90deg, var(--secondary) 0%, rgba(230, 57, 70, 0) 100%);
}

.page-hero--solution-crm::after {
    top: 7rem;
    right: max(18px, calc((100% - 1280px) / 2 + 18px));
    bottom: 5rem;
    left: auto;
    width: min(480px, 36%);
    height: auto;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    background:
        linear-gradient(90deg, rgba(29, 53, 87, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(29, 53, 87, 0.035) 1px, transparent 1px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.08) 48%, rgba(29, 53, 87, 0.08) 100%);
    background-size: 40px 40px, 40px 40px, auto;
    box-shadow: 0 30px 80px -50px rgba(15, 31, 46, 0.48);
}

.page-hero--solution-crm .page-hero-art {
    z-index: 1;
    background-position: calc(100% - 4rem) 52%;
    background-size: 760px auto;
    filter: saturate(1.08) contrast(1.02);
}

.page-hero--solution-crm .page-hero-art::before {
    background:
        linear-gradient(90deg, rgba(246, 248, 251, 1) 0%, rgba(246, 248, 251, 0.98) 38%, rgba(246, 248, 251, 0.55) 61%, rgba(246, 248, 251, 0.12) 100%),
        linear-gradient(180deg, rgba(246, 248, 251, 0) 0%, rgba(246, 248, 251, 0.68) 100%);
}

.page-hero--solution-crm .page-hero-art::after {
    background:
        linear-gradient(90deg, rgba(29, 53, 87, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(29, 53, 87, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, transparent 0%, black 56%, black 100%);
    opacity: 0.48;
}

.page-hero--solution-crm .container {
    position: relative;
    z-index: 2;
}

.page-hero--solution-crm .page-hero-content {
    max-width: var(--hero-content-max);
    padding-top: 2rem;
    padding-right: min(4rem, 6%);
}

.page-hero--solution-crm h1 {
    max-width: 900px;
    color: #10243b;
    font-size: 4rem;
    line-height: 1.04;
    letter-spacing: 0;
    text-wrap: balance;
}

.page-hero--solution-crm .page-hero-intro {
    max-width: 690px;
    color: #45586f;
    font-size: 1.18rem;
    line-height: 1.72;
}

.page-hero--solution-crm .proof-list {
    max-width: 720px;
}

.page-hero--solution-crm .proof-list span {
    border-radius: 14px;
    border-color: rgba(29, 53, 87, 0.1);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 32px -24px rgba(15, 31, 46, 0.42);
}

.content-page.page-layout--solution-crm {
    margin-top: -64px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.page-layout--solution-crm .entry-content {
    display: grid;
    gap: 3.5rem;
    color: #536579;
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
}

.page-layout--solution-crm .entry-content > * + * {
    margin-top: 0;
}

.page-layout--solution-crm .content-section,
.page-layout--solution-crm .solution-enhanced-section {
    margin: 0;
    padding: 0;
}

.page-layout--solution-crm .content-section + .content-section {
    margin-top: 0;
    border-top: 0;
}

.page-layout--solution-crm .solution-enhanced-section__shell,
.page-layout--solution-crm .cta-panel {
    border: 1px solid rgba(29, 53, 87, 0.09);
    border-radius: 34px;
    box-shadow: 0 30px 70px -48px rgba(15, 31, 46, 0.44);
}

.page-layout--solution-crm .solution-enhanced-section__shell {
    padding: 2.55rem;
    background:
        linear-gradient(90deg, rgba(29, 53, 87, 0.035) 0%, rgba(29, 53, 87, 0) 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 254, 0.98) 100%);
}

.page-layout--solution-crm .section-tag {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 1rem;
    padding: 8px 12px 7px;
    border: 1px solid rgba(230, 57, 70, 0.16);
    border-radius: 10px;
    background: rgba(230, 57, 70, 0.055);
    color: #b42f3c;
    font-size: 11px;
    letter-spacing: 1.6px;
}

.page-layout--solution-crm .section-tag::after {
    display: none;
}

.page-layout--solution-crm .entry-content h2 {
    max-width: 940px;
    color: #10243b;
    font-size: 3.2rem;
    line-height: 1.06;
    letter-spacing: 0;
    text-wrap: balance;
}

.page-layout--solution-crm .entry-content h3 {
    color: #10243b;
    letter-spacing: 0;
}

.page-layout--solution-crm .section-header p,
.page-layout--solution-crm .solution-enhanced-section__lead,
.page-layout--solution-crm .solution-enhanced-section__note,
.page-layout--solution-crm .solution-feature-split__copy p,
.page-layout--solution-crm .solution-detail-card p,
.page-layout--solution-crm .solution-workflow-card p,
.page-layout--solution-crm .solution-outcome-card p,
.page-layout--solution-crm .solution-image-card__lead,
.page-layout--solution-crm .solution-faq-item p {
    color: #536579;
}

.page-layout--solution-crm .solution-enhanced-media,
.page-layout--solution-crm .solution-detail-card,
.page-layout--solution-crm .solution-workflow-card,
.page-layout--solution-crm .solution-outcome-card,
.page-layout--solution-crm .solution-image-card,
.page-layout--solution-crm .solution-faq-item {
    border-color: rgba(29, 53, 87, 0.08);
    box-shadow: 0 18px 40px -34px rgba(15, 31, 46, 0.42);
    transition:
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-layout--solution-crm .solution-detail-card:hover,
.page-layout--solution-crm .solution-workflow-card:hover,
.page-layout--solution-crm .solution-outcome-card:hover,
.page-layout--solution-crm .solution-image-card:hover,
.page-layout--solution-crm .solution-faq-item:hover {
    transform: translate3d(0, -6px, 0);
    box-shadow: 0 24px 54px -34px rgba(15, 31, 46, 0.48);
}

.page-layout--solution-crm .solution-enhanced-media img,
.page-layout--solution-crm .solution-image-card__media img {
    transition: transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-layout--solution-crm .solution-feature-split__media:hover .solution-enhanced-media img,
.page-layout--solution-crm .solution-image-card:hover .solution-image-card__media img {
    transform: scale(1.035);
}

.page-layout--solution-crm .solution-enhanced-section--crm-question .solution-enhanced-section__shell {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(135deg, #10243b 0%, #1c3c5d 58%, #294f73 100%);
    background-size: 38px 38px, 38px 38px, auto;
}

.page-layout--solution-crm .solution-enhanced-section--crm-question h2,
.page-layout--solution-crm .solution-enhanced-section--crm-question h3,
.page-layout--solution-crm .solution-enhanced-section--crm-question .section-header p,
.page-layout--solution-crm .solution-enhanced-section--crm-question .solution-feature-split__copy p {
    color: #ffffff;
}

.page-layout--solution-crm .solution-enhanced-section--crm-question .section-tag,
.page-layout--solution-crm .solution-enhanced-section--crm-question .solution-chip {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-layout--solution-crm .solution-enhanced-section--crm-question .solution-chip::before {
    background: #f07c86;
    box-shadow: 0 0 0 4px rgba(240, 124, 134, 0.16);
}

.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card-grid {
    gap: 1.15rem;
}

.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card {
    overflow: hidden;
}

.page-layout--solution-crm .solution-enhanced-section--crm-capabilities .solution-workflow-grid,
.page-layout--solution-crm .solution-enhanced-section--crm-comparison .solution-workflow-grid,
.page-layout--solution-crm .solution-enhanced-section--crm-stakeholders .solution-workflow-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-flow: dense;
}

.page-layout--solution-crm .solution-enhanced-section--crm-capabilities .solution-workflow-card,
.page-layout--solution-crm .solution-enhanced-section--crm-comparison .solution-workflow-card,
.page-layout--solution-crm .solution-enhanced-section--crm-stakeholders .solution-workflow-card {
    grid-column: span 2;
}

.page-layout--solution-crm .solution-enhanced-section--crm-outcomes .solution-outcomes-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-layout--solution-crm .solution-enhanced-section--crm-outcomes .solution-enhanced-media--wide,
.page-layout--solution-crm .solution-enhanced-section--crm-faq .solution-faq-visual .solution-enhanced-media,
.page-layout--solution-crm .solution-enhanced-section--crm-roadmap .solution-roadmap-layout--stacked .solution-roadmap-layout__media .solution-enhanced-media {
    aspect-ratio: 16 / 7;
}

.page-layout--solution-crm .solution-enhanced-section--crm-faq .solution-faq-visual {
    margin-bottom: 1.15rem;
}

.page-layout--solution-crm .solution-enhanced-section--crm-faq .solution-faq-list {
    margin-top: 0;
}

.page-layout--solution-crm .solution-roadmap-step__index {
    background: linear-gradient(135deg, #10243b 0%, #2b5378 100%);
}

.page-layout--solution-crm .cta-panel {
    position: relative;
    overflow: hidden;
    padding: 3rem;
    background:
        linear-gradient(90deg, rgba(16, 36, 59, 0.97) 0%, rgba(16, 36, 59, 0.9) 46%, rgba(16, 36, 59, 0.48) 100%),
        url('images/solutions/generated/crm/crm-cta.webp') right center / cover no-repeat;
}

.page-layout--solution-crm .cta-panel h2,
.page-layout--solution-crm .cta-panel h3,
.page-layout--solution-crm .cta-panel p {
    max-width: 700px;
    color: #ffffff;
}

.page-layout--solution-crm .cta-panel .btn-primary {
    background: linear-gradient(135deg, #e63946 0%, #bd2534 100%);
    color: #ffffff;
    box-shadow: 0 18px 34px -22px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1180px) {
    .page-hero--solution-crm {
        min-height: 660px;
        padding: 6.25rem 0 7rem;
    }

    .page-hero--solution-crm h1 {
        font-size: 3.35rem;
    }

    .page-hero--solution-crm .page-hero-art {
        background-position: calc(100% + 8rem) 50%;
        background-size: 700px auto;
    }

    .page-layout--solution-crm .solution-enhanced-section--crm-capabilities .solution-workflow-grid,
    .page-layout--solution-crm .solution-enhanced-section--crm-comparison .solution-workflow-grid,
    .page-layout--solution-crm .solution-enhanced-section--crm-stakeholders .solution-workflow-grid,
    .page-layout--solution-crm .solution-enhanced-section--crm-outcomes .solution-outcomes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-layout--solution-crm .solution-enhanced-section--crm-capabilities .solution-workflow-card,
    .page-layout--solution-crm .solution-enhanced-section--crm-comparison .solution-workflow-card,
    .page-layout--solution-crm .solution-enhanced-section--crm-stakeholders .solution-workflow-card {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .page-hero--solution-crm {
        min-height: 0;
        padding: 5.5rem 0 5.75rem;
    }

    .page-hero--solution-crm::after {
        display: none;
    }

    .page-hero--solution-crm .page-hero-art {
        background-position: var(--hero-art-position-mobile, 80% 48%);
        background-size: cover;
    }

    .page-hero--solution-crm .page-hero-content {
        padding-top: 0;
        padding-right: 0;
    }

    .page-hero--solution-crm h1 {
        font-size: 2.45rem;
    }

    .page-hero--solution-crm .page-hero-intro {
        font-size: 1rem;
    }

    .content-page.page-layout--solution-crm {
        margin-top: -2.5rem;
    }

    .page-layout--solution-crm .entry-content {
        gap: 2rem;
    }

    .page-layout--solution-crm .solution-enhanced-section__shell,
    .page-layout--solution-crm .cta-panel {
        border-radius: 24px;
        padding: 1.35rem;
    }

    .page-layout--solution-crm .entry-content h2 {
        font-size: 2.15rem;
    }

    .page-layout--solution-crm .solution-enhanced-section--crm-capabilities .solution-workflow-grid,
    .page-layout--solution-crm .solution-enhanced-section--crm-comparison .solution-workflow-grid,
    .page-layout--solution-crm .solution-enhanced-section--crm-stakeholders .solution-workflow-grid,
    .page-layout--solution-crm .solution-enhanced-section--crm-outcomes .solution-outcomes-grid {
        grid-template-columns: 1fr;
    }

    .page-layout--solution-crm .solution-enhanced-section--crm-outcomes .solution-enhanced-media--wide,
    .page-layout--solution-crm .solution-enhanced-section--crm-faq .solution-faq-visual .solution-enhanced-media,
    .page-layout--solution-crm .solution-enhanced-section--crm-roadmap .solution-roadmap-layout--stacked .solution-roadmap-layout__media .solution-enhanced-media {
        aspect-ratio: 16 / 10;
    }
}

/* Uniform solution hero banner heights */
.page-hero--solution.page-hero--with-art {
    height: 780px;
    min-height: 780px;
    padding-top: 0;
    padding-bottom: 0;
}

.page-hero--solution.page-hero--with-art > .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 100%;
}

.page-hero--solution.page-hero--with-art .page-hero-content,
body.page-id-27 .page-hero--solution-hr .page-hero-content,
.page-hero--solution-crm .page-hero-content {
    max-width: min(100%, 760px);
    padding-top: 0;
    padding-right: clamp(12px, 3vw, 36px);
}

.page-hero--solution.page-hero--with-art h1,
body.page-id-27 .page-hero--solution-hr h1,
.page-hero--solution-crm h1 {
    max-width: min(100%, 760px);
    font-size: clamp(52px, 4.8vw, 68px);
    line-height: 1.03;
    letter-spacing: -1.15px;
    margin-bottom: 18px;
    text-wrap: balance;
}

.page-hero--solution.page-hero--with-art .page-hero-intro {
    max-width: 660px;
    font-size: clamp(18px, 1.25vw, 20px);
    line-height: 1.62;
}

.page-hero--solution.page-hero--with-art .page-hero-actions {
    margin-top: 28px;
}

.page-hero--solution.page-hero--with-art .proof-list {
    margin-top: 24px;
}

@media (max-width: 1180px) {
    .page-hero--solution.page-hero--with-art {
        height: 720px;
        min-height: 720px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .page-hero--solution.page-hero--with-art h1,
    body.page-id-27 .page-hero--solution-hr h1,
    .page-hero--solution-crm h1 {
        font-size: clamp(44px, 5.8vw, 58px);
    }
}

@media (max-width: 760px) {
    .page-hero--solution.page-hero--with-art,
    body.page-id-27 .page-hero--solution-hr,
    .page-hero--solution-crm {
        height: 780px;
        min-height: 780px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .page-hero--solution.page-hero--with-art > .container {
        align-items: center;
    }

    .page-hero--solution-crm .page-hero-art::before {
        background: var(--hero-art-overlay-mobile);
    }

    .page-hero--solution.page-hero--with-art .page-hero-content,
    body.page-id-27 .page-hero--solution-hr .page-hero-content,
    .page-hero--solution-crm .page-hero-content {
        padding-top: 0;
        padding-right: 0;
    }

    .page-hero--solution.page-hero--with-art h1,
    body.page-id-27 .page-hero--solution-hr h1,
    .page-hero--solution-crm h1 {
        max-width: 100%;
        font-size: clamp(31px, 8.8vw, 39px);
        line-height: 1.05;
        letter-spacing: -0.45px;
        overflow-wrap: normal;
        text-wrap: balance;
    }

    .page-hero--solution.page-hero--with-art .page-hero-intro,
    body.page-id-27 .page-hero--solution-hr .page-hero-intro,
    .page-hero--solution-crm .page-hero-intro {
        max-width: 100%;
        font-size: 15.5px;
        line-height: 1.56;
        overflow-wrap: normal;
    }

    .page-hero--solution.page-hero--with-art .page-hero-actions {
        margin-top: 24px;
    }

    .page-hero--solution.page-hero--with-art .proof-list {
        margin-top: 20px;
    }
}

/* Solution page typography and CRM media polish */
.page-layout--solution,
.page-layout--solution .entry-content,
body.page-id-27 .content-page .entry-content,
.page-layout--solution-crm .entry-content,
.page-layout--solution p,
.page-layout--solution li,
.page-layout--solution .solution-enhanced-section__lead,
.page-layout--solution .solution-feature-split__copy p,
.page-layout--solution .solution-detail-card p,
.page-layout--solution .solution-workflow-card p,
.page-layout--solution .solution-outcome-card p,
.page-layout--solution .solution-faq-item p {
    font-family: 'Inter', sans-serif;
}

.page-hero--solution.page-hero--with-art h1,
body.page-id-27 .page-hero--solution-hr h1,
.page-hero--solution-crm h1,
.page-layout--solution .entry-content h2,
body.page-id-27 .content-page .entry-content h2,
.page-layout--solution-crm .entry-content h2,
.page-layout--solution .entry-content h3,
body.page-id-27 .content-page .entry-content h3,
.page-layout--solution-crm .entry-content h3,
.page-layout--solution .section-tag,
body.page-id-27 .section-tag,
.page-layout--solution-crm .section-tag {
    font-family: 'Outfit', sans-serif;
}

.page-hero--solution.page-hero--with-art h1,
body.page-id-27 .page-hero--solution-hr h1,
.page-hero--solution-crm h1 {
    font-size: clamp(48px, 4.55vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.page-layout--solution .entry-content h2,
body.page-id-27 .content-page .entry-content h2,
.page-layout--solution-crm .entry-content h2 {
    max-width: min(100%, 940px);
    color: var(--primary);
    font-size: clamp(34px, 3.2vw, 42px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.5px;
    text-wrap: balance;
}

.page-layout--solution .entry-content h3,
body.page-id-27 .content-page .entry-content h3,
.page-layout--solution-crm .entry-content h3 {
    color: var(--primary);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.2px;
    text-wrap: balance;
}

.page-layout--solution .section-header p,
body.page-id-27 .section-header p,
.page-layout--solution-crm .section-header p,
.page-layout--solution-crm .solution-enhanced-section__lead,
.page-layout--solution-crm .solution-enhanced-section__note {
    max-width: 65ch;
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
}

.page-layout--solution-crm .solution-enhanced-media,
.page-layout--solution-crm .solution-image-card__media {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 255, 0.98) 100%);
}

.page-layout--solution-crm .solution-feature-split__media .solution-enhanced-media,
.page-layout--solution-crm .solution-workflow-matrix__visual .solution-enhanced-media,
.page-layout--solution-crm .solution-roadmap-layout__media .solution-enhanced-media,
.page-layout--solution-crm .solution-outcomes-dashboard .solution-enhanced-media,
.page-layout--solution-crm .solution-faq-visual .solution-enhanced-media {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.page-layout--solution-crm .solution-enhanced-section--crm-outcomes .solution-enhanced-media--wide,
.page-layout--solution-crm .solution-enhanced-section--crm-faq .solution-faq-visual .solution-enhanced-media,
.page-layout--solution-crm .solution-enhanced-section--crm-roadmap .solution-roadmap-layout--stacked .solution-roadmap-layout__media .solution-enhanced-media {
    aspect-ratio: 16 / 8;
}

.page-layout--solution-crm .solution-enhanced-media img,
.page-layout--solution-crm .solution-image-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.page-layout--solution-crm .solution-enhanced-section--crm-market .solution-enhanced-media img,
.page-layout--solution-crm .solution-enhanced-section--crm-platform .solution-enhanced-media img,
.page-layout--solution-crm .solution-enhanced-section--crm-question .solution-enhanced-media img,
.page-layout--solution-crm .solution-enhanced-section--crm-why .solution-enhanced-media img,
.page-layout--solution-crm .solution-enhanced-section--crm-comparison .solution-enhanced-media img,
.page-layout--solution-crm .solution-enhanced-section--crm-capabilities .solution-enhanced-media img,
.page-layout--solution-crm .solution-enhanced-section--crm-outcomes .solution-enhanced-media img,
.page-layout--solution-crm .solution-enhanced-section--crm-roadmap .solution-enhanced-media img,
.page-layout--solution-crm .solution-enhanced-section--crm-stakeholders .solution-enhanced-media img,
.page-layout--solution-crm .solution-enhanced-section--crm-faq .solution-enhanced-media img {
    object-fit: cover;
}

.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card__media {
    min-height: 240px;
}

.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card--featured .solution-image-card__media {
    min-height: 100%;
}

.page-layout--solution-crm .solution-enhanced-section--crm-question .solution-enhanced-section__shell {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(135deg, #18304d 0%, #274a6f 58%, #f4f8fc 170%);
    background-size: 38px 38px, 38px 38px, auto;
}

body.page-id-27 .entry-content > section:nth-of-type(3) h2,
body.page-id-27 .entry-content > section:nth-of-type(3) h3,
.page-layout--solution-crm .solution-enhanced-section--crm-question h2,
.page-layout--solution-crm .solution-enhanced-section--crm-question h3,
.page-layout--solution .cta-panel h2,
.page-layout--solution .cta-panel h3,
.page-layout--solution-crm .cta-panel h2,
.page-layout--solution-crm .cta-panel h3 {
    color: #ffffff;
}

@media (max-width: 760px) {
    .page-hero--solution.page-hero--with-art h1,
    body.page-id-27 .page-hero--solution-hr h1,
    .page-hero--solution-crm h1 {
        font-size: clamp(31px, 8.8vw, 39px);
        line-height: 1.08;
        letter-spacing: -0.55px;
    }

    .page-layout--solution .entry-content h2,
    body.page-id-27 .content-page .entry-content h2,
    .page-layout--solution-crm .entry-content h2 {
        font-size: clamp(29px, 8vw, 34px);
        line-height: 1.14;
    }

    .page-layout--solution-crm .solution-feature-split__media .solution-enhanced-media,
    .page-layout--solution-crm .solution-workflow-matrix__visual .solution-enhanced-media,
    .page-layout--solution-crm .solution-roadmap-layout__media .solution-enhanced-media,
    .page-layout--solution-crm .solution-outcomes-dashboard .solution-enhanced-media,
    .page-layout--solution-crm .solution-faq-visual .solution-enhanced-media {
        aspect-ratio: 16 / 10;
    }

    .page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card__media,
    .page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card--featured .solution-image-card__media {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
}

/* Solution FAQ polish without section imagery */
.page-layout--solution .solution-enhanced-section--faq .solution-enhanced-section__shell,
.page-layout--solution-crm .solution-enhanced-section--faq .solution-enhanced-section__shell,
body.page-id-27 .entry-content > section:nth-of-type(9) {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 1120px;
    margin-inline: auto;
    padding: clamp(30px, 4vw, 52px);
    border: 1px solid rgba(29, 53, 87, 0.08);
    border-radius: clamp(26px, 3vw, 36px);
    background:
        radial-gradient(circle at 8% 0%, rgba(230, 57, 70, 0.08) 0%, rgba(230, 57, 70, 0) 27%),
        radial-gradient(circle at 92% 10%, rgba(69, 123, 157, 0.13) 0%, rgba(69, 123, 157, 0) 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 34px 76px -54px rgba(15, 31, 46, 0.4);
}

.page-layout--solution .solution-enhanced-section--faq .solution-enhanced-section__shell::before,
.page-layout--solution-crm .solution-enhanced-section--faq .solution-enhanced-section__shell::before,
body.page-id-27 .entry-content > section:nth-of-type(9)::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 48%, rgba(69, 123, 157, 0) 100%);
    opacity: 0.78;
}

.page-layout--solution .solution-enhanced-section--faq .solution-enhanced-section__header,
.page-layout--solution-crm .solution-enhanced-section--faq .solution-enhanced-section__header,
body.page-id-27 .entry-content > section:nth-of-type(9) > .section-header {
    max-width: 820px;
    margin-bottom: clamp(22px, 3vw, 34px) !important;
}

.page-layout--solution .solution-enhanced-section--faq .solution-enhanced-section__header p,
.page-layout--solution-crm .solution-enhanced-section--faq .solution-enhanced-section__header p,
body.page-id-27 .entry-content > section:nth-of-type(9) > .section-header p {
    max-width: 70ch;
}

.page-layout--solution .solution-enhanced-section--faq .solution-faq-visual,
.page-layout--solution-crm .solution-enhanced-section--faq .solution-faq-visual,
body.page-id-27 .entry-content > section:nth-of-type(9) > .hrsd-section-visual {
    display: none !important;
}

.page-layout--solution .solution-enhanced-section--faq .solution-faq-list,
.page-layout--solution-crm .solution-enhanced-section--faq .solution-faq-list,
body.page-id-27 .entry-content > section:nth-of-type(9) .faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(16px, 2vw, 22px);
    margin-top: 0;
}

.page-layout--solution .solution-enhanced-section--faq .solution-faq-item,
.page-layout--solution-crm .solution-enhanced-section--faq .solution-faq-item,
body.page-id-27 .entry-content > section:nth-of-type(9) .faq-item {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(24px, 2.5vw, 32px);
    border: 1px solid rgba(29, 53, 87, 0.09);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 44px -34px rgba(15, 31, 46, 0.42);
}

.page-layout--solution .solution-enhanced-section--faq .solution-faq-item::before,
.page-layout--solution-crm .solution-enhanced-section--faq .solution-faq-item::before,
body.page-id-27 .entry-content > section:nth-of-type(9) .faq-item::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--secondary) 0%, rgba(230, 57, 70, 0.08) 100%);
}

.page-layout--solution .solution-enhanced-section--faq .solution-faq-item h3,
.page-layout--solution-crm .solution-enhanced-section--faq .solution-faq-item h3,
body.page-id-27 .entry-content > section:nth-of-type(9) .faq-item h3 {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: clamp(19px, 1.6vw, 23px);
    line-height: 1.24;
}

.page-layout--solution .solution-enhanced-section--faq .solution-faq-item p,
.page-layout--solution-crm .solution-enhanced-section--faq .solution-faq-item p,
body.page-id-27 .entry-content > section:nth-of-type(9) .faq-item p {
    margin: 0;
    color: rgba(29, 53, 87, 0.78);
    line-height: 1.66;
}

@media (max-width: 900px) {
    .page-layout--solution .solution-enhanced-section--faq .solution-enhanced-section__shell,
    .page-layout--solution-crm .solution-enhanced-section--faq .solution-enhanced-section__shell,
    body.page-id-27 .entry-content > section:nth-of-type(9) {
        padding: clamp(26px, 6vw, 38px);
        border-radius: 26px;
    }

    .page-layout--solution-legal .solution-enhanced-section--faq {
        width: calc(100% + 48px);
        margin-inline: -24px;
    }

    .page-layout--solution .solution-enhanced-section--faq .solution-faq-list,
    .page-layout--solution-crm .solution-enhanced-section--faq .solution-faq-list,
    body.page-id-27 .entry-content > section:nth-of-type(9) .faq-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .page-layout--solution .solution-enhanced-section--faq .solution-enhanced-section__shell,
    .page-layout--solution-crm .solution-enhanced-section--faq .solution-enhanced-section__shell,
    body.page-id-27 .entry-content > section:nth-of-type(9) {
        padding: 24px 22px 26px;
        border-radius: 22px;
    }

    .page-layout--solution .solution-enhanced-section--faq .solution-faq-item,
    .page-layout--solution-crm .solution-enhanced-section--faq .solution-faq-item,
    body.page-id-27 .entry-content > section:nth-of-type(9) .faq-item {
        padding: 22px 20px;
        border-radius: 18px;
    }
}

/* CRM hero dark creative alignment */
.page-hero--solution-crm {
    --hero-art-position: 89% 52%;
    --hero-art-position-mobile: 66% 26%;
    --hero-art-overlay: linear-gradient(90deg, rgba(246, 248, 251, 1) 0%, rgba(246, 248, 251, 0.985) 34%, rgba(246, 248, 251, 0.82) 52%, rgba(246, 248, 251, 0.38) 70%, rgba(246, 248, 251, 0.08) 100%);
    --hero-art-overlay-mobile: linear-gradient(180deg, rgba(246, 248, 251, 0.76) 0%, rgba(246, 248, 251, 0.94) 44%, rgba(246, 248, 251, 1) 72%, rgba(246, 248, 251, 1) 100%);
    background:
        radial-gradient(circle at 76% 18%, rgba(69, 123, 157, 0.18) 0%, rgba(69, 123, 157, 0) 30%),
        linear-gradient(180deg, #f8fafc 0%, #eef4f8 100%);
}

.page-hero--solution-crm::after {
    display: none;
}

.page-hero--solution-crm .page-hero-art {
    background-position: var(--hero-art-position);
    background-size: cover;
    filter: saturate(1.08) contrast(1.04) brightness(1.01);
}

.page-hero--solution-crm .page-hero-art::before {
    background: var(--hero-art-overlay);
}

.page-hero--solution-crm .page-hero-art::after {
    background:
        linear-gradient(90deg, rgba(29, 53, 87, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(29, 53, 87, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, transparent 0%, black 58%, black 100%);
    opacity: 0.42;
}

@media (max-width: 760px) {
    .page-hero--solution-crm .page-hero-art {
        background-position: var(--hero-art-position-mobile);
        background-size: auto 64%;
        opacity: 0.72;
    }

    .page-hero--solution-crm .page-hero-art::before {
        background: var(--hero-art-overlay-mobile);
    }

    .page-hero--solution-crm .page-hero-art::after {
        opacity: 0.18;
        mask-image: linear-gradient(180deg, black 0%, transparent 78%);
    }
}

/* Solution page arrangement normalization */
.page-layout--solution .solution-slot {
    scroll-margin-top: 110px;
}

.page-layout--solution .solution-enhanced-section {
    padding-block: clamp(18px, 3vw, 34px);
}

.page-layout--solution .solution-enhanced-section__shell,
.page-layout--solution-legal .legal-opportunity-shell {
    box-sizing: border-box;
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
}

.page-layout--solution .solution-enhanced-section__header,
body.page-id-27 .solution-slot > .section-header {
    max-width: 920px;
}

.page-layout--solution .solution-image-card,
.page-layout--solution .solution-workflow-card,
.page-layout--solution .solution-outcome-card,
body.page-id-27 .solution-slot .content-card,
body.page-id-27 .solution-slot .faq-item {
    height: 100%;
}

.page-layout--solution .solution-image-card__media,
.page-layout--solution .solution-enhanced-media,
body.page-id-27 .hrsd-section-visual {
    overflow: hidden;
    background: #f7fafc;
}

.page-layout--solution .solution-image-card__media img,
.page-layout--solution .solution-enhanced-media img,
body.page-id-27 .hrsd-section-visual img {
    width: 100%;
    height: 100%;
}

.page-layout--solution .solution-slot--fast-track-delivery + .solution-slot--outcomes {
    margin-top: clamp(12px, 2vw, 24px);
}

.page-layout--solution-crm .solution-slot--crm-fit,
.page-layout--solution-crm .solution-slot--platform-comparison,
.page-layout--solution-crm .solution-slot--stakeholder-fit {
    padding-block: clamp(14px, 2.2vw, 26px);
}

.page-layout--solution-crm .solution-slot--platform-comparison .solution-enhanced-section__shell,
.page-layout--solution-crm .solution-slot--stakeholder-fit .solution-enhanced-section__shell {
    padding-block: clamp(30px, 4vw, 44px);
}

.page-layout--solution-crm .solution-slot--platform-comparison .solution-enhanced-section__header,
.page-layout--solution-crm .solution-slot--stakeholder-fit .solution-enhanced-section__header {
    max-width: 860px;
}

.page-layout--solution-crm .solution-slot--platform-comparison .solution-workflow-grid,
.page-layout--solution-crm .solution-slot--stakeholder-fit .solution-workflow-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-flow: dense;
    align-items: stretch;
    gap: clamp(16px, 2vw, 20px);
}

.page-layout--solution-crm .solution-slot--platform-comparison .solution-workflow-card,
.page-layout--solution-crm .solution-slot--stakeholder-fit .solution-workflow-card {
    grid-column: span 2;
}

.page-layout--solution-crm .solution-slot--crm-fit .solution-feature-split,
.page-layout--solution-crm .solution-slot--platform-overview .solution-feature-split {
    align-items: center;
}

.page-layout--solution-crm .solution-slot--crm-fit .solution-enhanced-media,
.page-layout--solution-crm .solution-slot--platform-comparison .solution-enhanced-media,
.page-layout--solution-crm .solution-slot--stakeholder-fit .solution-enhanced-media {
    aspect-ratio: 16 / 8.5;
}

body.page-id-27 .solution-slot--operating-model,
body.page-id-27 .solution-slot--why-kloves,
body.page-id-27 .solution-slot--unified-delivery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    align-items: center;
    column-gap: clamp(30px, 4vw, 58px);
}

body.page-id-27 .solution-slot--operating-model > .section-header,
body.page-id-27 .solution-slot--why-kloves > .section-header,
body.page-id-27 .solution-slot--unified-delivery > .section-header,
body.page-id-27 .solution-slot--operating-model > .content-grid,
body.page-id-27 .solution-slot--why-kloves > .content-grid,
body.page-id-27 .solution-slot--unified-delivery > .content-grid,
body.page-id-27 .solution-slot--operating-model > .accent-callout,
body.page-id-27 .solution-slot--why-kloves > .accent-callout,
body.page-id-27 .solution-slot--unified-delivery > .accent-callout {
    grid-column: 1;
}

body.page-id-27 .solution-slot--operating-model > .hrsd-section-visual,
body.page-id-27 .solution-slot--why-kloves > .hrsd-section-visual,
body.page-id-27 .solution-slot--unified-delivery > .hrsd-section-visual {
    grid-column: 2;
    grid-row: 1 / span 3;
    justify-self: end;
    align-self: center;
    width: 100%;
    max-width: 520px;
    margin: 0;
    aspect-ratio: 16 / 9;
}

body.page-id-27 .solution-slot--faq {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 1120px;
    margin-inline: auto;
}

body.page-id-27 .solution-slot--faq > .hrsd-section-visual {
    display: none !important;
}

@media (max-width: 980px) {
    .page-layout--solution-crm .solution-slot--platform-comparison .solution-workflow-grid,
    .page-layout--solution-crm .solution-slot--stakeholder-fit .solution-workflow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-layout--solution-crm .solution-slot--platform-comparison .solution-workflow-card,
    .page-layout--solution-crm .solution-slot--stakeholder-fit .solution-workflow-card {
        grid-column: auto;
    }

    body.page-id-27 .solution-slot--operating-model,
    body.page-id-27 .solution-slot--why-kloves,
    body.page-id-27 .solution-slot--unified-delivery {
        grid-template-columns: 1fr;
    }

    body.page-id-27 .solution-slot--operating-model > .hrsd-section-visual,
    body.page-id-27 .solution-slot--why-kloves > .hrsd-section-visual,
    body.page-id-27 .solution-slot--unified-delivery > .hrsd-section-visual {
        grid-column: 1;
        grid-row: auto;
        justify-self: stretch;
        max-width: none;
        margin: 0 0 clamp(22px, 5vw, 34px);
    }

    body.page-id-27 .solution-slot--operating-model > .content-grid,
    body.page-id-27 .solution-slot--why-kloves > .content-grid,
    body.page-id-27 .solution-slot--unified-delivery > .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-layout--solution .solution-enhanced-section {
        padding-block: 18px;
    }

    .page-layout--solution-crm .solution-slot--crm-fit .solution-enhanced-media,
    .page-layout--solution-crm .solution-slot--platform-comparison .solution-enhanced-media,
    .page-layout--solution-crm .solution-slot--stakeholder-fit .solution-enhanced-media {
        aspect-ratio: 16 / 10;
    }

    .page-layout--solution-crm .solution-slot--platform-comparison .solution-workflow-grid,
    .page-layout--solution-crm .solution-slot--stakeholder-fit .solution-workflow-grid {
        grid-template-columns: 1fr;
    }

    body.page-id-27 .solution-slot .content-grid,
    body.page-id-27 .solution-slot .content-grid.two-col,
    body.page-id-27 .solution-slot .content-grid.three-col,
    .page-layout--solution-legal .solution-slot--workflow-coverage .solution-workflow-grid,
    .page-layout--solution-legal .solution-slot--outcomes .solution-outcomes-grid {
        grid-template-columns: 1fr !important;
    }

    .page-layout--solution-legal .solution-slot--workflow-coverage .solution-workflow-card,
    .page-layout--solution-legal .solution-slot--outcomes .solution-outcome-card {
        grid-column: auto;
    }
}

/* Match the Legal solution single-container structure on HRSD and CRM */
body.page-id-27 .content-page,
.content-page.page-layout--solution-crm {
    overflow: visible;
    padding: clamp(28px, 4vw, 56px);
    border: 1px solid rgba(29, 53, 87, 0.06);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: var(--shadow-lg);
}

body.page-id-27 .content-page .entry-content,
.page-layout--solution-crm .entry-content {
    gap: clamp(24px, 3.5vw, 44px);
}

body.page-id-27 .content-section,
.page-layout--solution-crm .solution-enhanced-section__shell,
.page-layout--solution-crm .cta-panel {
    max-width: 1120px;
    margin-inline: auto;
}

body.page-id-27 .content-section {
    width: 100%;
}

body.page-id-27 .content-section + .content-section,
.page-layout--solution-crm .content-section + .content-section {
    border-top: 0;
}

body.page-id-27 .solution-slot--faq,
body.page-id-27 .cta-panel {
    max-width: 1120px;
}

@media (max-width: 760px) {
    body.page-id-27 .content-page,
    .content-page.page-layout--solution-crm {
        padding: 24px 18px;
        border-radius: 24px;
    }
}

/* Solution hero height parity */
.page-hero--solution.page-hero--with-art,
body.page-id-27 .page-hero--solution-hr,
.page-hero--solution-legal,
.page-hero--solution-crm {
    height: 780px;
    min-height: 780px;
    padding-top: 0;
    padding-bottom: 0;
}

.page-hero--solution.page-hero--with-art > .container,
body.page-id-27 .page-hero--solution-hr > .container,
.page-hero--solution-legal > .container,
.page-hero--solution-crm > .container {
    display: flex;
    align-items: center;
    min-height: 100%;
}

@media (max-width: 1180px) {
    .page-hero--solution.page-hero--with-art,
    body.page-id-27 .page-hero--solution-hr,
    .page-hero--solution-legal,
    .page-hero--solution-crm {
        height: 720px;
        min-height: 720px;
        padding-top: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 760px) {
    .page-hero--solution.page-hero--with-art,
    body.page-id-27 .page-hero--solution-hr,
    .page-hero--solution-legal,
    .page-hero--solution-crm {
        height: 780px;
        min-height: 780px;
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* Solution density and hero balance pass */
.page-hero--solution-legal .page-hero-content {
    max-width: min(100%, 720px);
    padding-right: clamp(12px, 3vw, 34px);
}

.page-hero--solution-legal h1,
body.page-id-27 .page-hero--solution-hr h1,
.page-hero--solution-crm h1 {
    text-wrap: balance;
}

.page-hero--solution-legal h1 {
    max-width: min(100%, 800px);
    font-size: clamp(46px, 4.1vw, 60px);
    line-height: 1.06;
    letter-spacing: -1.2px;
}

body.page-id-27 .page-hero--solution-hr h1 {
    max-width: min(100%, 760px);
}

.page-hero--solution-crm h1 {
    max-width: 12ch;
}

.page-hero--solution-legal .page-hero-intro,
body.page-id-27 .page-hero--solution-hr .page-hero-intro,
.page-hero--solution-crm .page-hero-intro {
    max-width: 660px;
    text-wrap: pretty;
}

.page-layout--solution .entry-content,
body.page-id-27 .content-page .entry-content,
.page-layout--solution-crm .entry-content {
    gap: clamp(18px, 2.8vw, 34px);
}

.page-layout--solution .solution-enhanced-section {
    padding-block: clamp(12px, 2vw, 24px);
}

.page-layout--solution .solution-enhanced-section__shell,
.page-layout--solution-legal .legal-opportunity-shell {
    padding: clamp(28px, 3.1vw, 40px);
}

body.page-id-27 .content-section {
    padding: clamp(28px, 3.8vw, 46px);
}

.page-layout--solution .solution-enhanced-section__header,
body.page-id-27 .content-section .section-header {
    margin-bottom: clamp(22px, 2.8vw, 34px);
}

.page-layout--solution .solution-feature-split,
.page-layout--solution .solution-roadmap-layout,
.page-layout--solution-legal .legal-why-kloves__masthead,
.page-layout--solution-legal .legal-why-kloves__showcase {
    gap: clamp(18px, 2.5vw, 26px);
}

.page-layout--solution .solution-workflow-grid,
.page-layout--solution .solution-outcomes-grid,
body.page-id-27 .content-grid {
    gap: clamp(16px, 2vw, 22px);
}

.page-layout--solution-crm .solution-slot--platform-comparison,
.page-layout--solution-crm .solution-slot--stakeholder-fit {
    padding-block: clamp(8px, 1.4vw, 16px);
}

.page-layout--solution-crm .solution-slot--platform-comparison .solution-enhanced-section__shell,
.page-layout--solution-crm .solution-slot--stakeholder-fit .solution-enhanced-section__shell {
    padding-block: clamp(24px, 3vw, 34px);
}

.page-layout--solution-crm .solution-slot--platform-comparison .solution-enhanced-media,
.page-layout--solution-crm .solution-slot--stakeholder-fit .solution-enhanced-media {
    aspect-ratio: 16 / 7.5;
}

.page-layout--solution-crm .solution-slot--platform-comparison .solution-workflow-grid,
.page-layout--solution-crm .solution-slot--stakeholder-fit .solution-workflow-grid {
    margin-top: 18px;
    gap: clamp(14px, 1.8vw, 18px);
}

.page-layout--solution .solution-roadmap-layout--stacked {
    gap: clamp(18px, 2.4vw, 24px);
}

.page-layout--solution .solution-roadmap-steps {
    gap: clamp(12px, 1.8vw, 18px);
}

@media (max-width: 1180px) {
    .page-hero--solution-legal h1 {
        font-size: clamp(42px, 5.4vw, 54px);
    }

    .page-hero--solution-crm h1,
    body.page-id-27 .page-hero--solution-hr h1 {
        max-width: 13ch;
    }
}

@media (max-width: 760px) {
    .page-hero--solution-legal .page-hero-content,
    body.page-id-27 .page-hero--solution-hr .page-hero-content,
    .page-hero--solution-crm .page-hero-content {
        max-width: 100%;
        padding-right: 0;
    }

    .page-hero--solution-legal h1,
    body.page-id-27 .page-hero--solution-hr h1,
    .page-hero--solution-crm h1 {
        max-width: 100%;
        font-size: clamp(30px, 8.3vw, 37px);
        line-height: 1.08;
        letter-spacing: -0.45px;
    }

    .page-hero--solution-legal .page-hero-intro,
    body.page-id-27 .page-hero--solution-hr .page-hero-intro,
    .page-hero--solution-crm .page-hero-intro {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.65;
    }

    body.page-id-27 .content-page,
    .content-page.page-layout--solution-crm {
        padding: 20px 15px;
        border-radius: 22px;
    }

    .page-layout--solution .entry-content,
    body.page-id-27 .content-page .entry-content,
    .page-layout--solution-crm .entry-content {
        gap: 18px;
    }

    .page-layout--solution .solution-enhanced-section {
        padding-block: 12px;
    }

    .page-layout--solution .solution-enhanced-section__shell,
    .page-layout--solution-legal .legal-opportunity-shell,
    .page-layout--solution-legal .legal-why-kloves__shell,
    body.page-id-27 .content-section,
    .page-layout--solution-crm .cta-panel {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .page-layout--solution .solution-enhanced-section__header,
    body.page-id-27 .content-section .section-header {
        margin-bottom: 20px;
    }

    .page-layout--solution .entry-content h2,
    body.page-id-27 .content-page .entry-content h2,
    .page-layout--solution-crm .entry-content h2 {
        font-size: clamp(26px, 7vw, 31px);
        line-height: 1.12;
    }

    .page-layout--solution .solution-feature-split,
    .page-layout--solution .solution-roadmap-layout,
    .page-layout--solution-legal .legal-why-kloves__masthead,
    .page-layout--solution-legal .legal-why-kloves__showcase {
        gap: 16px;
    }

    .page-layout--solution .solution-enhanced-media,
    .page-layout--solution .solution-enhanced-media--wide,
    .page-layout--solution .solution-image-card__media,
    .page-layout--solution .solution-roadmap-layout__media .solution-enhanced-media,
    .page-layout--solution .solution-outcomes-dashboard .solution-enhanced-media,
    body.page-id-27 .hrsd-section-visual {
        aspect-ratio: 16 / 8.8;
        min-height: 0;
    }

    .page-layout--solution .solution-enhanced-media img,
    .page-layout--solution .solution-image-card__media img,
    body.page-id-27 .hrsd-section-visual img {
        min-height: 0;
        object-fit: cover;
    }

    .page-layout--solution .solution-image-card__body,
    .page-layout--solution .solution-workflow-card,
    .page-layout--solution .solution-outcome-card,
    .page-layout--solution .solution-faq-item,
    body.page-id-27 .content-card,
    body.page-id-27 .accent-callout,
    body.page-id-27 .faq-item {
        padding: 20px 18px;
        border-radius: 20px;
    }

    .page-layout--solution .solution-roadmap-step__content {
        padding: 20px 18px;
        transform: none;
    }

    .page-layout--solution .solution-roadmap-step__content::before {
        display: none;
    }

    .page-layout--solution-legal .legal-opportunity-heading {
        gap: 14px;
        margin-bottom: 16px;
    }

    .page-layout--solution-legal .legal-opportunity-heading__badge {
        width: 62px;
        height: 62px;
    }

    .page-layout--solution-legal .legal-opportunity-heading__badge svg {
        width: 30px;
        height: 30px;
    }

    .page-layout--solution-legal .legal-opportunity-heading h2,
    .page-layout--solution-legal .legal-why-kloves__intro-card h2 {
        font-size: clamp(30px, 8vw, 40px);
        line-height: 1.06;
        letter-spacing: -0.7px;
    }

    .page-layout--solution-legal .legal-opportunity-copy p,
    .page-layout--solution-legal .legal-why-kloves__intro-card p,
    .page-layout--solution-legal .legal-why-kloves__callout-card p {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.66;
    }

    .page-layout--solution-legal .legal-opportunity-media,
    .page-layout--solution-legal .legal-opportunity-media img,
    .page-layout--solution-legal .legal-why-kloves__image,
    .page-layout--solution-legal .legal-why-kloves__image img {
        min-height: 260px;
    }

    .page-layout--solution-legal .legal-why-kloves__intro-card,
    .page-layout--solution-legal .legal-why-kloves__callout-card,
    .page-layout--solution-legal .legal-why-kloves__proof-panel {
        padding: 20px 18px;
    }

    .page-layout--solution-legal .legal-why-kloves__proof-card {
        padding: 18px 16px;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
    }

    .page-layout--solution-legal .legal-why-kloves__proof-card-icon {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 520px) {
    body.page-id-27 .content-page,
    .content-page.page-layout--solution-crm {
        padding: 18px 12px;
    }

    .page-layout--solution .solution-enhanced-section__shell,
    .page-layout--solution-legal .legal-opportunity-shell,
    .page-layout--solution-legal .legal-why-kloves__shell,
    body.page-id-27 .content-section,
    .page-layout--solution-crm .cta-panel {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .page-layout--solution .solution-enhanced-media,
    .page-layout--solution .solution-enhanced-media--wide,
    .page-layout--solution .solution-image-card__media,
    .page-layout--solution .solution-roadmap-layout__media .solution-enhanced-media,
    .page-layout--solution .solution-outcomes-dashboard .solution-enhanced-media,
    body.page-id-27 .hrsd-section-visual {
        aspect-ratio: 16 / 9.4;
    }

    .page-layout--solution-legal .legal-opportunity-media,
    .page-layout--solution-legal .legal-opportunity-media img,
    .page-layout--solution-legal .legal-why-kloves__image,
    .page-layout--solution-legal .legal-why-kloves__image img {
        min-height: 220px;
    }

    .page-layout--solution-legal .legal-why-kloves__chip {
        max-width: 150px;
        padding: 9px 10px;
    }

    .page-layout--solution-legal .legal-why-kloves__proof-grid,
    .page-layout--solution-legal .legal-opportunity-symptoms,
    .page-layout--solution-legal .legal-opportunity-help__grid {
        gap: 10px;
    }
}

/* Final solution hero content parity */
.page-hero--solution.page-hero--with-art .page-hero-content,
body.page-id-27 .page-hero--solution-hr .page-hero-content,
.page-hero--solution.page-hero--solution-crm .page-hero-content {
    max-width: min(100%, 780px);
}

.page-hero--solution.page-hero--solution-legal .page-hero-content {
    max-width: min(100%, 840px);
}

.page-hero--solution.page-hero--with-art h1,
body.page-id-27 .page-hero--solution-hr h1,
.page-hero--solution.page-hero--solution-crm h1 {
    font-size: clamp(48px, 4.2vw, 60px);
    line-height: 1.08;
    letter-spacing: -1.25px;
    text-wrap: balance;
}

body.page-id-27 .page-hero--solution-hr h1 {
    max-width: min(100%, 760px);
}

.page-hero--solution.page-hero--solution-legal h1 {
    max-width: min(100%, 840px);
}

.page-hero--solution.page-hero--solution-crm h1 {
    max-width: 11.8ch;
}

@media (max-width: 1180px) {
    .page-hero--solution.page-hero--with-art h1,
    body.page-id-27 .page-hero--solution-hr h1,
    .page-hero--solution.page-hero--solution-crm h1 {
        font-size: clamp(42px, 5.4vw, 54px);
    }
}

@media (max-width: 760px) {
    .page-hero--solution.page-hero--with-art .page-hero-content,
    body.page-id-27 .page-hero--solution-hr .page-hero-content,
    .page-hero--solution.page-hero--solution-crm .page-hero-content {
        max-width: 100%;
        padding-right: 0;
    }

    .page-hero--solution.page-hero--with-art h1,
    body.page-id-27 .page-hero--solution-hr h1,
    .page-hero--solution.page-hero--solution-crm h1 {
        max-width: 100%;
        font-size: clamp(30px, 8.3vw, 37px);
        line-height: 1.08;
        letter-spacing: -0.45px;
    }
}

/* HRSD side-image section grid polish */
body.page-id-27 .solution-slot--operating-model,
body.page-id-27 .solution-slot--why-kloves,
body.page-id-27 .solution-slot--unified-delivery {
    grid-template-areas:
        "header visual"
        "body visual";
    grid-template-rows: auto auto;
    row-gap: clamp(22px, 2.6vw, 32px);
}

body.page-id-27 .solution-slot--operating-model > .section-header,
body.page-id-27 .solution-slot--why-kloves > .section-header,
body.page-id-27 .solution-slot--unified-delivery > .section-header {
    grid-area: header;
    margin-bottom: 0;
}

body.page-id-27 .solution-slot--operating-model > .content-grid,
body.page-id-27 .solution-slot--why-kloves > .content-grid,
body.page-id-27 .solution-slot--unified-delivery > .content-grid,
body.page-id-27 .solution-slot--operating-model > .accent-callout,
body.page-id-27 .solution-slot--why-kloves > .accent-callout,
body.page-id-27 .solution-slot--unified-delivery > .accent-callout {
    grid-area: body;
}

body.page-id-27 .solution-slot--operating-model > .hrsd-section-visual,
body.page-id-27 .solution-slot--why-kloves > .hrsd-section-visual,
body.page-id-27 .solution-slot--unified-delivery > .hrsd-section-visual {
    grid-area: visual;
}

@media (max-width: 980px) {
    body.page-id-27 .solution-slot--operating-model,
    body.page-id-27 .solution-slot--why-kloves,
    body.page-id-27 .solution-slot--unified-delivery {
        grid-template-areas:
            "header"
            "visual"
            "body";
        grid-template-rows: auto;
        row-gap: 20px;
    }

    body.page-id-27 .solution-slot--operating-model > .hrsd-section-visual,
    body.page-id-27 .solution-slot--why-kloves > .hrsd-section-visual,
    body.page-id-27 .solution-slot--unified-delivery > .hrsd-section-visual {
        margin: 0;
    }
}

body.page-id-27 .content-page .entry-content > .solution-slot--operating-model,
body.page-id-27 .content-page .entry-content > .solution-slot--why-kloves,
body.page-id-27 .content-page .entry-content > .solution-slot--unified-delivery {
    grid-template-areas: none;
    grid-template-rows: auto auto;
}

body.page-id-27 .content-page .entry-content > .solution-slot--operating-model > .section-header,
body.page-id-27 .content-page .entry-content > .solution-slot--why-kloves > .section-header,
body.page-id-27 .content-page .entry-content > .solution-slot--unified-delivery > .section-header {
    grid-column: 1 / 2;
    grid-row: 1;
}

body.page-id-27 .content-page .entry-content > .solution-slot--operating-model > .hrsd-section-visual,
body.page-id-27 .content-page .entry-content > .solution-slot--why-kloves > .hrsd-section-visual,
body.page-id-27 .content-page .entry-content > .solution-slot--unified-delivery > .hrsd-section-visual {
    grid-column: 2 / 3;
    grid-row: 1;
}

body.page-id-27 .content-page .entry-content > .solution-slot--operating-model > .content-grid,
body.page-id-27 .content-page .entry-content > .solution-slot--why-kloves > .content-grid,
body.page-id-27 .content-page .entry-content > .solution-slot--unified-delivery > .content-grid,
body.page-id-27 .content-page .entry-content > .solution-slot--operating-model > .accent-callout,
body.page-id-27 .content-page .entry-content > .solution-slot--why-kloves > .accent-callout,
body.page-id-27 .content-page .entry-content > .solution-slot--unified-delivery > .accent-callout {
    grid-column: 1 / -1;
    grid-row: 2;
}

@media (max-width: 980px) {
    body.page-id-27 .content-page .entry-content > .solution-slot--operating-model,
    body.page-id-27 .content-page .entry-content > .solution-slot--why-kloves,
    body.page-id-27 .content-page .entry-content > .solution-slot--unified-delivery {
        grid-template-rows: auto auto auto;
    }

    body.page-id-27 .content-page .entry-content > .solution-slot--operating-model > .section-header,
    body.page-id-27 .content-page .entry-content > .solution-slot--why-kloves > .section-header,
    body.page-id-27 .content-page .entry-content > .solution-slot--unified-delivery > .section-header {
        grid-column: 1;
        grid-row: 1;
    }

    body.page-id-27 .content-page .entry-content > .solution-slot--operating-model > .hrsd-section-visual,
    body.page-id-27 .content-page .entry-content > .solution-slot--why-kloves > .hrsd-section-visual,
    body.page-id-27 .content-page .entry-content > .solution-slot--unified-delivery > .hrsd-section-visual {
        grid-column: 1;
        grid-row: 2;
    }

    body.page-id-27 .content-page .entry-content > .solution-slot--operating-model > .content-grid,
    body.page-id-27 .content-page .entry-content > .solution-slot--why-kloves > .content-grid,
    body.page-id-27 .content-page .entry-content > .solution-slot--unified-delivery > .content-grid,
    body.page-id-27 .content-page .entry-content > .solution-slot--operating-model > .accent-callout,
body.page-id-27 .content-page .entry-content > .solution-slot--why-kloves > .accent-callout,
body.page-id-27 .content-page .entry-content > .solution-slot--unified-delivery > .accent-callout {
        grid-column: 1;
        grid-row: 3;
    }
}

/* Solution page optimization pass */
.page-hero--solution.page-hero--with-art,
body.page-id-27 .page-hero--solution-hr,
.page-hero--solution-legal,
.page-hero--solution-crm {
    height: auto;
    min-height: clamp(640px, 72vh, 720px);
    padding-top: clamp(104px, 10vw, 128px);
    padding-bottom: clamp(70px, 7vw, 92px);
}

.page-hero--solution.page-hero--with-art > .container,
body.page-id-27 .page-hero--solution-hr > .container,
.page-hero--solution-legal > .container,
.page-hero--solution-crm > .container {
    min-height: 0;
    align-items: center;
}

.page-hero--solution.page-hero--solution-legal .page-hero-content {
    max-width: min(100%, 760px);
}

.page-hero--solution.page-hero--solution-legal h1,
body.page-id-27 .page-hero--solution-hr h1,
.page-hero--solution.page-hero--solution-crm h1 {
    font-size: clamp(46px, 4.1vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.9px;
}

.page-hero--solution.page-hero--solution-crm h1 {
    max-width: min(100%, 13ch);
}

.page-hero--solution.page-hero--solution-legal .page-hero-intro,
body.page-id-27 .page-hero--solution-hr .page-hero-intro,
.page-hero--solution.page-hero--solution-crm .page-hero-intro {
    max-width: 620px;
    line-height: 1.62;
}

.page-layout--solution .entry-content,
.page-layout--solution .solution-enhanced-section__shell,
.page-layout--solution .solution-feature-split,
.page-layout--solution .solution-roadmap-layout,
.page-layout--solution .solution-roadmap-steps,
.page-layout--solution .solution-roadmap-step,
.page-layout--solution .solution-roadmap-step__content,
body.page-id-27 .content-page .entry-content,
body.page-id-27 .content-section {
    min-width: 0;
}

.page-layout--solution .solution-roadmap-step:nth-child(2) .solution-roadmap-step__content,
.page-layout--solution .solution-roadmap-step:nth-child(3) .solution-roadmap-step__content,
.page-layout--solution .solution-roadmap-step:nth-child(4) .solution-roadmap-step__content {
    transform: none;
}

.page-layout--solution .solution-roadmap-step h3 {
    overflow-wrap: break-word;
    hyphens: auto;
}

.page-layout--solution .solution-image-card,
.page-layout--solution .solution-workflow-card,
.page-layout--solution .solution-outcome-card,
.page-layout--solution .solution-faq-item,
body.page-id-27 .solution-slot .content-card,
body.page-id-27 .solution-slot .faq-item {
    backface-visibility: hidden;
    transform: translateZ(0);
    transition:
        transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

@supports (content-visibility: auto) {
    .page-layout--solution .entry-content > .content-section:not(:first-child),
    body.page-id-27 .content-page .entry-content > .content-section:not(:first-child) {
        content-visibility: auto;
        contain-intrinsic-block-size: 760px;
        contain-intrinsic-inline-size: auto;
    }
}

@media (max-width: 1180px) {
    .page-hero--solution.page-hero--with-art,
    body.page-id-27 .page-hero--solution-hr,
    .page-hero--solution-legal,
    .page-hero--solution-crm {
        min-height: clamp(600px, 70vh, 680px);
        padding-top: 104px;
        padding-bottom: 72px;
    }

    .page-hero--solution.page-hero--with-art h1,
    body.page-id-27 .page-hero--solution-hr h1,
    .page-hero--solution.page-hero--solution-crm h1 {
        font-size: clamp(40px, 5.2vw, 52px);
    }
}

@media (max-width: 760px) {
    .page-hero--solution.page-hero--with-art,
    body.page-id-27 .page-hero--solution-hr,
    .page-hero--solution-legal,
    .page-hero--solution-crm {
        height: auto;
        min-height: 0;
        padding-top: 112px;
        padding-bottom: 54px;
    }

    .page-hero--solution-crm {
        padding-top: 204px;
        padding-bottom: 46px;
    }

    .page-hero--solution.page-hero--with-art > .container,
    body.page-id-27 .page-hero--solution-hr > .container,
    .page-hero--solution-legal > .container,
    .page-hero--solution-crm > .container {
        min-height: 0;
        align-items: flex-start;
    }

    .page-hero--solution.page-hero--with-art h1,
    body.page-id-27 .page-hero--solution-hr h1,
    .page-hero--solution.page-hero--solution-crm h1 {
        max-width: 100%;
        font-size: clamp(30px, 8.1vw, 36px);
        line-height: 1.08;
        letter-spacing: -0.3px;
    }

    .page-hero--solution.page-hero--solution-legal .page-hero-intro,
    body.page-id-27 .page-hero--solution-hr .page-hero-intro,
    .page-hero--solution.page-hero--solution-crm .page-hero-intro {
        font-size: 15.5px;
        line-height: 1.58;
    }

    .page-hero--solution-crm .page-hero-art {
        background-position: 68% 26px;
        background-size: auto 210px;
        opacity: 0.62;
    }

    .page-hero--solution-crm .page-hero-art::before {
        background: linear-gradient(180deg, rgba(246, 248, 251, 0.58) 0%, rgba(246, 248, 251, 0.92) 58%, rgba(246, 248, 251, 1) 100%);
    }

    .page-layout--solution .solution-roadmap-step {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 10px;
        padding: 0;
    }

    .page-layout--solution .solution-roadmap-step__index {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }
}

@media (max-width: 520px) {
    .page-hero--solution.page-hero--with-art,
    body.page-id-27 .page-hero--solution-hr,
    .page-hero--solution-legal {
        padding-top: 104px;
        padding-bottom: 44px;
    }

    .page-hero--solution-crm {
        padding-top: 190px;
        padding-bottom: 40px;
    }

    .page-layout--solution .solution-roadmap-step__content {
        padding: 18px 15px;
    }
}

@media (hover: none) {
    .page-layout--solution .solution-image-card:hover,
    .page-layout--solution .solution-workflow-card:hover,
    .page-layout--solution .solution-outcome-card:hover,
    .page-layout--solution .solution-faq-item:hover,
    body.page-id-27 .solution-slot .content-card:hover,
    body.page-id-27 .solution-slot .faq-item:hover {
        transform: translateZ(0);
    }
}

/* Section-wise appearance and motion upgrades */
.page-hero--solution.page-hero--with-art .page-hero-art {
    animation: solutionHeroArtDrift 18s cubic-bezier(0.22, 1, 0.36, 1) both;
    transform-origin: 75% 50%;
}

.page-hero--solution .section-tag,
.page-hero--solution h1,
.page-hero--solution .page-hero-intro,
.page-hero--solution .page-hero-actions,
.page-hero--solution .proof-list span {
    animation: solutionHeroEntrance 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-hero--solution .section-tag {
    animation-delay: 80ms;
}

.page-hero--solution h1 {
    animation-delay: 160ms;
}

.page-hero--solution .page-hero-intro {
    animation-delay: 240ms;
}

.page-hero--solution .page-hero-actions {
    animation-delay: 320ms;
}

.page-hero--solution .proof-list span:nth-child(1) {
    animation-delay: 420ms;
}

.page-hero--solution .proof-list span:nth-child(2) {
    animation-delay: 480ms;
}

.page-hero--solution .proof-list span:nth-child(3) {
    animation-delay: 540ms;
}

@keyframes solutionHeroEntrance {
    from {
        opacity: 0;
        transform: translate3d(0, 22px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes solutionHeroArtDrift {
    from {
        transform: scale(1.035) translate3d(12px, 0, 0);
    }
    to {
        transform: scale(1) translate3d(0, 0, 0);
    }
}

.page-layout--solution .solution-enhanced-section,
body.page-id-27 .solution-slot {
    --solution-section-accent: rgba(230, 57, 70, 0.18);
    --solution-section-accent-strong: rgba(230, 57, 70, 0.78);
    --solution-section-ink: #10243b;
}

.page-layout--solution .solution-enhanced-section__shell,
.page-layout--solution-legal .legal-opportunity-shell,
.page-layout--solution-legal .legal-why-kloves__shell,
body.page-id-27 .content-section {
    isolation: isolate;
}

.page-layout--solution .solution-enhanced-section__shell::before,
.page-layout--solution-legal .legal-opportunity-shell::before,
.page-layout--solution-legal .legal-why-kloves__shell::before,
body.page-id-27 .content-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
        radial-gradient(circle at 12% 0%, var(--solution-section-accent) 0%, rgba(230, 57, 70, 0) 30%),
        linear-gradient(90deg, rgba(29, 53, 87, 0.028) 1px, transparent 1px),
        linear-gradient(180deg, rgba(29, 53, 87, 0.024) 1px, transparent 1px);
    background-size: auto, 44px 44px, 44px 44px;
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition:
        opacity 680ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.page-layout--solution .solution-enhanced-section.is-in-view .solution-enhanced-section__shell::before,
.page-layout--solution-legal .legal-opportunity-shell.is-in-view::before,
.page-layout--solution-legal .legal-why-kloves.is-in-view .legal-why-kloves__shell::before,
body.page-id-27 .content-section.is-in-view::before {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.page-layout--solution .solution-enhanced-section__header .section-tag,
body.page-id-27 .section-header .section-tag {
    position: relative;
    overflow: hidden;
}

.page-layout--solution .solution-enhanced-section__header .section-tag::before,
body.page-id-27 .section-header .section-tag::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 -65%;
    width: 50%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.72) 50%, transparent 100%);
    transform: skewX(-16deg);
    transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-layout--solution .solution-enhanced-section.is-in-view .section-tag::before,
body.page-id-27 .content-section.is-in-view .section-tag::before {
    transform: translate3d(330%, 0, 0) skewX(-16deg);
}

.js-enabled .page-layout--solution [data-reveal],
.js-enabled body.page-id-27 [data-reveal] {
    transition:
        opacity 760ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
        transform 760ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
        filter 760ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
    filter: blur(4px);
}

.js-enabled .page-layout--solution [data-reveal].is-visible,
.js-enabled body.page-id-27 [data-reveal].is-visible {
    filter: blur(0);
}

.js-enabled .solution-enhanced-media[data-reveal],
.js-enabled .solution-feature-split__media[data-reveal],
.js-enabled .solution-workflow-matrix__visual[data-reveal],
.js-enabled .solution-roadmap-layout__media[data-reveal],
.js-enabled .solution-outcomes-dashboard[data-reveal],
.js-enabled body.page-id-27 .hrsd-section-visual[data-reveal] {
    transform: translate3d(0, 28px, 0) scale(0.985);
}

.js-enabled .solution-enhanced-media[data-reveal].is-visible,
.js-enabled .solution-feature-split__media[data-reveal].is-visible,
.js-enabled .solution-workflow-matrix__visual[data-reveal].is-visible,
.js-enabled .solution-roadmap-layout__media[data-reveal].is-visible,
.js-enabled .solution-outcomes-dashboard[data-reveal].is-visible,
.js-enabled body.page-id-27 .hrsd-section-visual[data-reveal].is-visible {
    transform: translate3d(0, 0, 0) scale(1);
}

.page-layout--solution .solution-enhanced-media,
.page-layout--solution .solution-image-card__media,
body.page-id-27 .hrsd-section-visual {
    position: relative;
}

.page-layout--solution .solution-enhanced-media::before,
.page-layout--solution .solution-image-card__media::before,
body.page-id-27 .hrsd-section-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 48%, transparent 58%);
    opacity: 0;
    transform: translate3d(-48%, 0, 0);
    transition:
        opacity 420ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.page-layout--solution .solution-enhanced-section.is-in-view .solution-enhanced-media::before,
.page-layout--solution .solution-image-card:hover .solution-image-card__media::before,
body.page-id-27 .content-section.is-in-view .hrsd-section-visual::after {
    opacity: 1;
    transform: translate3d(68%, 0, 0);
}

.page-layout--solution .solution-image-card-grid {
    counter-reset: solution-service-card;
}

.page-layout--solution .solution-image-card {
    position: relative;
    counter-increment: solution-service-card;
}

.page-layout--solution .solution-image-card::before {
    content: '0' counter(solution-service-card);
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 14px 28px -24px rgba(15, 31, 46, 0.48);
}

.page-layout--solution .solution-enhanced-section--services .solution-image-card-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 22px);
}

.page-layout--solution .solution-enhanced-section--services .solution-image-card {
    grid-column: 1 / -1;
}

.page-layout--solution .solution-enhanced-section--services .solution-image-card:first-child,
.page-layout--solution .solution-enhanced-section--services .solution-image-card--featured {
    grid-column: 1 / -1;
}

.page-layout--solution .solution-enhanced-section--services .solution-image-card:nth-child(4):last-child {
    grid-column: 4 / span 6;
}

.page-layout--solution .solution-image-card,
.page-layout--solution .solution-workflow-card,
.page-layout--solution .solution-outcome-card,
.page-layout--solution .solution-detail-card,
.page-layout--solution .solution-faq-item,
body.page-id-27 .content-card,
body.page-id-27 .faq-item,
body.page-id-27 .accent-callout {
    position: relative;
}

.page-layout--solution .solution-image-card::after,
.page-layout--solution .solution-workflow-card::after,
.page-layout--solution .solution-outcome-card::after,
.page-layout--solution .solution-detail-card::after,
body.page-id-27 .content-card::after,
body.page-id-27 .faq-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(230, 57, 70, 0);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
    opacity: 0;
    transition:
        opacity 260ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 260ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.page-layout--solution .solution-image-card:hover::after,
.page-layout--solution .solution-workflow-card:hover::after,
.page-layout--solution .solution-outcome-card:hover::after,
.page-layout--solution .solution-detail-card:hover::after,
body.page-id-27 .content-card:hover::after,
body.page-id-27 .faq-item:hover::after {
    border-color: rgba(230, 57, 70, 0.22);
    opacity: 1;
}

.page-layout--solution .solution-workflow-card__icon,
.page-layout--solution .solution-outcome-card__icon,
.page-layout--solution .solution-detail-card__icon,
.page-layout--solution-legal .legal-why-kloves__proof-card-icon,
body.page-id-27 .content-card::before {
    transition:
        transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-layout--solution .solution-workflow-card:hover .solution-workflow-card__icon,
.page-layout--solution .solution-outcome-card:hover .solution-outcome-card__icon,
.page-layout--solution .solution-detail-card:hover .solution-detail-card__icon,
.page-layout--solution-legal .legal-why-kloves__proof-card:hover .legal-why-kloves__proof-card-icon {
    transform: translate3d(0, -2px, 0) scale(1.04);
}

.solution-roadmap-steps {
    --roadmap-progress: 0;
    --roadmap-line-top: 77px;
    --roadmap-line-height: calc(100% - 158px);
}

.solution-roadmap-steps::before {
    opacity: 0.32;
    top: var(--roadmap-line-top);
    bottom: auto;
    height: var(--roadmap-line-height);
}

.solution-roadmap-steps::after {
    content: '';
    position: absolute;
    top: var(--roadmap-line-top);
    bottom: auto;
    left: 34px;
    width: 2px;
    height: var(--roadmap-line-height);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--secondary) 0%, var(--accent) 100%);
    transform: scaleY(var(--roadmap-progress));
    transform-origin: top center;
    transition: transform 180ms linear;
    pointer-events: none;
}

.solution-roadmap-step {
    z-index: 1;
}

.solution-roadmap-step__index,
.solution-roadmap-step__content {
    transition:
        transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1),
        background 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-roadmap-step.is-active .solution-roadmap-step__index {
    transform: translate3d(0, -2px, 0) scale(1.04);
    box-shadow: 0 18px 30px -18px rgba(230, 57, 70, 0.54);
    background: linear-gradient(135deg, var(--secondary) 0%, #bd2534 100%);
}

.solution-roadmap-step.is-active .solution-roadmap-step__content {
    border-color: rgba(230, 57, 70, 0.24);
    box-shadow: 0 24px 48px -34px rgba(15, 31, 46, 0.5);
}

.solution-faq-item {
    padding: 0;
}

.page-layout--solution .solution-enhanced-section--faq .solution-faq-list,
.page-layout--solution-crm .solution-enhanced-section--faq .solution-faq-list,
body.page-id-27 .entry-content > section:nth-of-type(9) .faq-list {
    align-items: start;
}

.page-layout--solution .solution-enhanced-section--faq .solution-faq-item.solution-faq-enhanced,
.page-layout--solution-crm .solution-enhanced-section--faq .solution-faq-item.solution-faq-enhanced,
body.page-id-27 .entry-content > section:nth-of-type(9) .faq-item.solution-faq-enhanced {
    min-height: 0;
    padding: 0;
    align-self: start;
}

.solution-faq-enhanced > h3 {
    margin: 0;
}

.page-layout--solution .solution-enhanced-section--faq .solution-faq-item.solution-faq-enhanced > h3,
.page-layout--solution-crm .solution-enhanced-section--faq .solution-faq-item.solution-faq-enhanced > h3,
body.page-id-27 .entry-content > section:nth-of-type(9) .faq-item.solution-faq-enhanced > h3 {
    margin: 0;
}

.solution-faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 23px 26px;
    border: 0;
    background: transparent;
    color: var(--primary);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.solution-faq-trigger h3,
.solution-faq-trigger span:first-child {
    margin: 0;
    color: inherit;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(19px, 1.8vw, 23px);
    font-weight: 700;
    line-height: 1.18;
}

.solution-faq-trigger__icon {
    position: relative;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(29, 53, 87, 0.12);
    background: rgba(255, 255, 255, 0.8);
}

.solution-faq-trigger__icon::before,
.solution-faq-trigger__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    border-radius: 999px;
    background: var(--secondary);
    transform: translate(-50%, -50%);
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-faq-trigger__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.solution-faq-enhanced.is-open .solution-faq-trigger__icon::after,
.solution-faq-item.is-open .solution-faq-trigger__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.solution-faq-panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition:
        max-height 340ms cubic-bezier(0.16, 1, 0.3, 1),
        opacity 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-faq-enhanced.is-open .solution-faq-panel,
.solution-faq-item.is-open .solution-faq-panel {
    max-height: 320px;
    opacity: 1;
}

.solution-faq-panel-inner {
    padding: 0 26px 24px;
}

.solution-faq-panel-inner p {
    margin: 0;
}

body.page-id-27 .faq-item.solution-faq-enhanced {
    padding: 0;
}

body.page-id-27 .faq-item.solution-faq-enhanced::before {
    z-index: 0;
}

body.page-id-27 .faq-item.solution-faq-enhanced .solution-faq-trigger,
body.page-id-27 .faq-item.solution-faq-enhanced .solution-faq-panel {
    position: relative;
    z-index: 1;
}

.page-layout--solution .cta-panel,
body.page-id-27 .cta-panel {
    isolation: isolate;
}

.page-layout--solution .cta-panel::before,
body.page-id-27 .cta-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.14) 42%, transparent 54%);
    transform: translate3d(-70%, 0, 0);
    opacity: 0;
    transition:
        opacity 420ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.page-layout--solution .content-section.is-in-view .cta-panel::before,
body.page-id-27 .content-section.is-in-view .cta-panel::before {
    opacity: 1;
    transform: translate3d(75%, 0, 0);
}

.page-layout--solution .solution-enhanced-section__shell::before,
.page-layout--solution-legal .legal-opportunity-shell::before,
.page-layout--solution-legal .legal-why-kloves__shell::before,
body.page-id-27 .content-section::before,
.page-layout--solution .solution-enhanced-section__header .section-tag::before,
body.page-id-27 .section-header .section-tag::before,
.page-layout--solution .solution-enhanced-media::before,
.page-layout--solution .solution-image-card__media::before,
body.page-id-27 .hrsd-section-visual::after,
.page-layout--solution .cta-panel::before {
    content: none;
    display: none;
    transition: none;
    animation: none;
}

body.page-id-27 .page-layout--solution-hr .cta-panel::before {
    content: '';
    display: block;
    opacity: 0.96;
    transform: none;
    transition: none;
    animation: none;
    background:
        linear-gradient(90deg, rgba(16, 36, 59, 0.98) 0%, rgba(16, 36, 59, 0.88) 42%, rgba(16, 36, 59, 0.42) 100%),
        url('images/solutions/generated/hrsd-cta.webp') right center / cover no-repeat;
}

.page-layout--solution-crm .solution-enhanced-section--crm-market .solution-enhanced-section__shell {
    background:
        linear-gradient(90deg, rgba(69, 123, 157, 0.055) 0%, rgba(69, 123, 157, 0) 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
}

.page-layout--solution-crm .solution-enhanced-section--crm-market .section-tag {
    border-color: rgba(69, 123, 157, 0.22);
    background: rgba(69, 123, 157, 0.1);
    color: #1d3557;
}

.page-layout--solution-crm .solution-enhanced-section--crm-market .solution-detail-card__icon {
    background: rgba(69, 123, 157, 0.1);
    color: #1d3557;
    box-shadow: none;
}

.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 24px);
    align-items: stretch;
}

.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card,
.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card:first-child,
.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card--featured,
.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card:nth-child(4):last-child {
    display: flex;
    grid-column: auto;
    flex-direction: column;
    min-height: 100%;
    border-radius: 22px;
}

.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card .solution-image-card__media,
.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card--featured .solution-image-card__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid rgba(29, 53, 87, 0.08);
}

.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card__body,
.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card--featured .solution-image-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(22px, 2.2vw, 28px);
}

.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card h3 {
    font-size: clamp(21px, 1.75vw, 24px);
}

.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-bullet-list {
    margin-top: auto;
    padding-top: 16px;
}

.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-bullet-list li {
    font-size: 15px;
    line-height: 1.48;
}

@media (max-width: 900px) {
    .page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card-grid {
        grid-template-columns: 1fr;
    }
}

/* Shared solution text placement system */
.page-layout--solution {
    --solution-copy-surface: rgba(255, 255, 255, 0.74);
    --solution-copy-surface-strong: rgba(248, 251, 254, 0.88);
    --solution-copy-border: rgba(69, 123, 157, 0.18);
    --solution-copy-rail: rgba(69, 123, 157, 0.36);
    --solution-copy-shadow: 0 18px 38px -34px rgba(15, 31, 46, 0.32);
    --solution-copy-ink: #536579;
}

.page-layout--solution .solution-enhanced-section__header,
body.page-id-27 .page-layout--solution-hr .content-section > .section-header {
    display: grid;
    gap: clamp(10px, 1.4vw, 14px);
    align-items: start;
    width: 100%;
    max-width: 100%;
}

.page-layout--solution .solution-enhanced-section__header > p,
body.page-id-27 .page-layout--solution-hr .content-section > .section-header > p {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: clamp(14px, 1.7vw, 18px) clamp(16px, 2vw, 22px);
    border: 1px solid var(--solution-copy-border);
    border-left: 4px solid var(--solution-copy-rail);
    border-radius: 18px;
    background: linear-gradient(180deg, var(--solution-copy-surface) 0%, var(--solution-copy-surface-strong) 100%);
    box-shadow: var(--solution-copy-shadow);
    color: var(--solution-copy-ink);
    line-height: 1.68;
    text-wrap: pretty;
}

.page-layout--solution .solution-feature-split__copy {
    display: grid;
    gap: clamp(12px, 1.6vw, 16px);
    align-content: start;
}

.page-layout--solution .solution-feature-split__copy > p {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: clamp(15px, 1.7vw, 19px) clamp(17px, 2vw, 22px);
    border: 1px solid var(--solution-copy-border);
    border-left: 4px solid var(--solution-copy-rail);
    border-radius: 18px;
    background: linear-gradient(180deg, var(--solution-copy-surface) 0%, var(--solution-copy-surface-strong) 100%);
    box-shadow: var(--solution-copy-shadow);
    color: var(--solution-copy-ink);
    line-height: 1.68;
    text-wrap: pretty;
}

.page-layout--solution .solution-feature-split__copy > p + p {
    margin-top: 0;
}

.page-layout--solution .solution-enhanced-section__lead,
.page-layout--solution .solution-enhanced-section__note {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 0 clamp(20px, 2.3vw, 28px);
    padding: clamp(16px, 1.8vw, 20px) clamp(18px, 2.2vw, 24px);
    border: 1px solid var(--solution-copy-border);
    border-left: 4px solid var(--solution-copy-rail);
    border-radius: 18px;
    background: linear-gradient(180deg, var(--solution-copy-surface) 0%, var(--solution-copy-surface-strong) 100%);
    box-shadow: var(--solution-copy-shadow);
    color: var(--solution-copy-ink);
    line-height: 1.68;
    text-wrap: pretty;
}

.page-layout--solution .solution-enhanced-section__note {
    margin-top: clamp(20px, 2.5vw, 30px);
    margin-bottom: 0;
}

.page-layout--solution-crm .solution-enhanced-section--crm-question,
body.page-id-27 .page-layout--solution-hr .solution-slot--why-kloves {
    --solution-copy-surface: rgba(255, 255, 255, 0.075);
    --solution-copy-surface-strong: rgba(255, 255, 255, 0.105);
    --solution-copy-border: rgba(255, 255, 255, 0.16);
    --solution-copy-rail: rgba(255, 255, 255, 0.38);
    --solution-copy-shadow: none;
    --solution-copy-ink: rgba(255, 255, 255, 0.82);
}

.page-layout--solution-crm .solution-enhanced-section--crm-question .solution-enhanced-section__header > p,
.page-layout--solution-crm .solution-enhanced-section--crm-question .solution-feature-split__copy > p,
body.page-id-27 .page-layout--solution-hr .solution-slot--why-kloves > .section-header > p {
    color: var(--solution-copy-ink);
}

@media (max-width: 760px) {
    .page-layout--solution .solution-enhanced-section__header > p,
    .page-layout--solution .solution-feature-split__copy > p,
    .page-layout--solution .solution-enhanced-section__lead,
    .page-layout--solution .solution-enhanced-section__note,
    body.page-id-27 .page-layout--solution-hr .content-section > .section-header > p {
        padding: 14px 16px;
        border-radius: 16px;
    }
}

/* CRM layered page style */
.content-page.page-layout--solution-crm {
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.page-layout--solution-crm .entry-content {
    gap: 0;
}

.page-layout--solution-crm .solution-enhanced-section {
    position: relative;
    margin: 0;
    padding: clamp(48px, 6.5vw, 84px) 0;
    border-top: 1px solid rgba(69, 123, 157, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(247, 250, 253, 0.82) 100%);
}

.page-layout--solution-crm .solution-enhanced-section:first-child {
    border-top: 0;
}

.page-layout--solution-crm .solution-enhanced-section:nth-of-type(even) {
    background:
        linear-gradient(90deg, rgba(69, 123, 157, 0.055) 0%, rgba(69, 123, 157, 0) 28%),
        linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.page-layout--solution-crm .solution-enhanced-section__shell,
.page-layout--solution-crm .solution-enhanced-section--faq .solution-enhanced-section__shell {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding: 0 clamp(22px, 3.2vw, 42px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.page-layout--solution-crm .solution-enhanced-section--crm-market .solution-enhanced-section__shell,
.page-layout--solution-crm .solution-enhanced-section--crm-question .solution-enhanced-section__shell {
    background: transparent;
}

.page-layout--solution-crm .solution-enhanced-section.solution-enhanced-section--crm-question {
    --solution-copy-surface: transparent;
    --solution-copy-surface-strong: transparent;
    --solution-copy-border: rgba(255, 255, 255, 0.2);
    --solution-copy-rail: rgba(255, 255, 255, 0.48);
    --solution-copy-shadow: none;
    margin-inline: calc(clamp(22px, 3.2vw, 42px) * -1);
    padding-inline: clamp(22px, 3.2vw, 42px);
    border-top: 0;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(135deg, #142840 0%, #274a6f 62%, #345f85 100%);
    background-size: 42px 42px, 42px 42px, auto;
}

.page-layout--solution-crm .solution-enhanced-section--crm-question + .solution-enhanced-section {
    border-top: 0;
}

.page-layout--solution-crm .solution-enhanced-section__header > p,
.page-layout--solution-crm .solution-feature-split__copy > p,
.page-layout--solution-crm .solution-enhanced-section__lead,
.page-layout--solution-crm .solution-enhanced-section__note {
    padding: 0 0 0 clamp(16px, 1.8vw, 22px);
    border: 0;
    border-left: 3px solid var(--solution-copy-rail);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.page-layout--solution-crm .solution-enhanced-section--crm-question .solution-enhanced-section__header > p,
.page-layout--solution-crm .solution-enhanced-section--crm-question .solution-feature-split__copy > p {
    background: transparent;
}

.page-layout--solution-crm .solution-enhanced-section--faq {
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.page-layout--solution-crm .cta-panel {
    max-width: 1120px;
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 760px) {
    .page-layout--solution-crm .solution-enhanced-section {
        padding-block: 42px;
    }

    .page-layout--solution-crm .solution-enhanced-section__shell,
    .page-layout--solution-crm .solution-enhanced-section--faq .solution-enhanced-section__shell {
        padding-inline: 18px;
    }

    .page-layout--solution-crm .solution-enhanced-section--crm-question {
        margin-inline: -18px;
        padding-inline: 18px;
    }

    .page-layout--solution-crm .solution-enhanced-section__header > p,
    .page-layout--solution-crm .solution-feature-split__copy > p,
    .page-layout--solution-crm .solution-enhanced-section__lead,
    .page-layout--solution-crm .solution-enhanced-section__note {
        padding: 0 0 0 16px;
        border-radius: 0;
    }
}

/* Shared layered solution page style */
.content-page.page-layout--solution,
body.page-id-27 .content-page.page-layout--solution {
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.page-layout--solution .entry-content {
    gap: 0;
}

.page-layout--solution .entry-content > .content-section,
.page-layout--solution-legal .entry-content > .legal-opportunity-shell {
    position: relative;
    box-sizing: border-box;
    overflow: visible;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(48px, 6.5vw, 84px) 0;
    border: 0;
    border-top: 1px solid rgba(69, 123, 157, 0.16);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(247, 250, 253, 0.82) 100%);
    box-shadow: none;
}

.page-layout--solution .entry-content > .content-section:first-child,
.page-layout--solution-legal .entry-content > .legal-opportunity-shell:first-child {
    border-top: 0;
}

.page-layout--solution .entry-content > .content-section:nth-child(even),
.page-layout--solution-legal .entry-content > .legal-opportunity-shell:nth-child(even) {
    background:
        linear-gradient(90deg, rgba(69, 123, 157, 0.055) 0%, rgba(69, 123, 157, 0) 28%),
        linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.page-layout--solution .solution-enhanced-section__shell,
.page-layout--solution .solution-enhanced-section--faq .solution-enhanced-section__shell,
.page-layout--solution-legal .legal-why-kloves__shell {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding: 0 clamp(22px, 3.2vw, 42px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.page-layout--solution-legal .legal-opportunity-shell {
    padding-inline: clamp(22px, 3.2vw, 42px);
}

.page-layout--solution .solution-enhanced-section__header > p,
.page-layout--solution .solution-feature-split__copy > p,
.page-layout--solution .solution-enhanced-section__lead,
.page-layout--solution .solution-enhanced-section__note,
body.page-id-27 .page-layout--solution-hr .content-section > .section-header > p,
.page-layout--solution-legal .legal-opportunity-copy p,
.page-layout--solution-legal .legal-opportunity-help__copy p {
    padding: 0 0 0 clamp(16px, 1.8vw, 22px);
    border: 0;
    border-left: 3px solid var(--solution-copy-rail);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.page-layout--solution.page-layout--solution-crm .entry-content > .solution-enhanced-section.solution-enhanced-section--crm-question,
body.page-id-27 .page-layout--solution-hr .content-section.solution-slot--why-kloves {
    --solution-copy-surface: transparent;
    --solution-copy-surface-strong: transparent;
    --solution-copy-border: rgba(255, 255, 255, 0.2);
    --solution-copy-rail: rgba(255, 255, 255, 0.48);
    --solution-copy-shadow: none;
    --solution-copy-ink: rgba(255, 255, 255, 0.84);
    margin-inline: calc(clamp(22px, 3.2vw, 42px) * -1);
    padding-inline: clamp(22px, 3.2vw, 42px);
    border-top: 0;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(135deg, #142840 0%, #274a6f 62%, #345f85 100%);
    background-size: 42px 42px, 42px 42px, auto;
}

body.page-id-27 .page-layout--solution-hr .content-section.solution-slot--why-kloves h2,
body.page-id-27 .page-layout--solution-hr .content-section.solution-slot--why-kloves h3,
body.page-id-27 .page-layout--solution-hr .content-section.solution-slot--why-kloves .section-header p {
    color: #ffffff;
}

body.page-id-27 .page-layout--solution-hr .content-section.solution-slot--why-kloves p {
    color: rgba(255, 255, 255, 0.82);
}

.page-layout--solution.page-layout--solution-crm .entry-content > .solution-enhanced-section--crm-question + .solution-enhanced-section,
body.page-id-27 .page-layout--solution-hr .content-section.solution-slot--why-kloves + .content-section {
    border-top: 0;
}

@media (max-width: 760px) {
    .page-layout--solution .entry-content > .content-section,
    .page-layout--solution-legal .entry-content > .legal-opportunity-shell {
        padding-block: 42px;
    }

    .page-layout--solution .solution-enhanced-section__shell,
    .page-layout--solution .solution-enhanced-section--faq .solution-enhanced-section__shell,
    .page-layout--solution-legal .legal-why-kloves__shell {
        padding-inline: 18px;
    }

    .page-layout--solution.page-layout--solution-crm .entry-content > .solution-enhanced-section.solution-enhanced-section--crm-question,
    body.page-id-27 .page-layout--solution-hr .content-section.solution-slot--why-kloves {
        margin-inline: -18px;
        padding-inline: 18px;
    }

    .page-layout--solution .solution-enhanced-section__header > p,
    .page-layout--solution .solution-feature-split__copy > p,
    .page-layout--solution .solution-enhanced-section__lead,
    .page-layout--solution .solution-enhanced-section__note,
    body.page-id-27 .page-layout--solution-hr .content-section > .section-header > p,
    .page-layout--solution-legal .legal-opportunity-copy p,
    .page-layout--solution-legal .legal-opportunity-help__copy p {
        padding: 0 0 0 16px;
        border-radius: 0;
    }
}

/* Legal Service Delivery reference hero */
.page-hero--solution.page-hero--solution-legal {
    --legal-hero-ink: #f7fbff;
    --legal-hero-muted: rgba(233, 244, 255, 0.84);
    --legal-hero-line: rgba(124, 224, 255, 0.28);
    --legal-hero-green: #89ee83;
    min-height: 1040px;
    height: 1040px;
    padding: 0;
    color: var(--legal-hero-ink);
    background:
        radial-gradient(circle at 76% 52%, rgba(82, 176, 220, 0.3) 0%, rgba(82, 176, 220, 0.08) 31%, transparent 56%),
        radial-gradient(circle at 6% 9%, rgba(45, 169, 225, 0.18) 0%, transparent 34%),
        linear-gradient(135deg, #061b2c 0%, #082942 46%, #04121f 100%);
    isolation: isolate;
}

.page-hero--solution.page-hero--solution-legal::before {
    top: 5%;
    right: 7%;
    width: 190px;
    height: 150px;
    border-radius: 0;
    background-image: radial-gradient(circle, rgba(130, 226, 255, 0.26) 1.4px, transparent 1.6px);
    background-size: 17px 17px;
    opacity: 0.48;
}

.page-hero--solution.page-hero--solution-legal::after {
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background:
        linear-gradient(120deg, transparent 0%, transparent 55%, rgba(141, 237, 132, 0.1) 55.2%, transparent 55.8%),
        radial-gradient(circle at 73% 45%, transparent 0 20%, rgba(137, 238, 131, 0.14) 20.4% 23.2%, transparent 23.7% 34%, rgba(255, 255, 255, 0.08) 34.2% 34.7%, transparent 35%);
    opacity: 0.92;
}

.page-hero--solution.page-hero--solution-legal .page-hero-art {
    z-index: 0;
    right: 0;
    left: auto;
    width: min(62vw, 940px);
    opacity: 0.48;
    background-position: 78% 52%;
    background-size: cover;
    mix-blend-mode: screen;
    filter: saturate(1.18) contrast(1.16) brightness(0.78);
}

.page-hero--solution.page-hero--solution-legal .page-hero-art::before {
    background:
        linear-gradient(90deg, #061b2c 0%, rgba(6, 27, 44, 0.92) 17%, rgba(6, 27, 44, 0.34) 56%, rgba(6, 27, 44, 0.62) 100%),
        linear-gradient(180deg, rgba(6, 27, 44, 0.18) 0%, rgba(6, 27, 44, 0.72) 100%);
}

.page-hero--solution.page-hero--solution-legal .page-hero-art::after {
    background: radial-gradient(circle at 62% 56%, rgba(137, 238, 131, 0.22) 0%, transparent 35%);
}

.legal-hero-banner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.78fr);
    gap: clamp(28px, 4vw, 70px);
    align-items: center;
    min-height: 100%;
    padding-top: clamp(62px, 6vw, 84px);
    padding-bottom: 78px;
}

.page-hero--solution.page-hero--solution-legal > .legal-hero-banner {
    display: grid;
    align-items: center;
}

.legal-hero-banner__copy {
    position: relative;
    z-index: 6;
    display: grid;
    align-content: center;
    max-width: 760px;
}

.legal-hero-banner h1 {
    width: min(960px, calc(100vw - 48px));
    max-width: 960px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(48px, 4.75vw, 68px);
    line-height: 1.02;
    letter-spacing: -1.35px;
    text-wrap: balance;
    text-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.page-hero--solution.page-hero--solution-legal .legal-hero-banner h1 {
    width: min(960px, calc(100vw - 48px));
    max-width: 960px;
    font-size: clamp(48px, 4.75vw, 68px);
    line-height: 1.02;
    letter-spacing: -1.35px;
}

.legal-hero-banner h1 span {
    color: var(--legal-hero-green);
}

.legal-hero-banner__rule {
    width: 86px;
    height: 3px;
    margin: clamp(20px, 2.3vw, 28px) 0 clamp(22px, 2.6vw, 32px);
    border-radius: 99px;
    background: linear-gradient(90deg, var(--legal-hero-green), rgba(137, 238, 131, 0.18));
    box-shadow: 0 0 24px rgba(137, 238, 131, 0.38);
}

.legal-hero-banner__intro {
    display: grid;
    gap: 14px;
    max-width: 690px;
    color: var(--legal-hero-muted);
    font-size: clamp(17px, 1.3vw, 20px);
    line-height: 1.42;
}

.legal-hero-banner__intro p {
    margin: 0;
}

.legal-hero-outcomes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    max-width: 760px;
    margin-top: clamp(24px, 2.8vw, 34px);
}

.legal-hero-outcome {
    display: grid;
    justify-items: center;
    gap: 12px;
    min-width: 0;
    padding: 0 clamp(12px, 1.5vw, 20px);
    color: #ffffff;
    font-size: clamp(14px, 1vw, 17px);
    font-weight: 700;
    line-height: 1.24;
    text-align: center;
}

.legal-hero-outcome + .legal-hero-outcome {
    border-left: 1px solid rgba(127, 206, 255, 0.46);
}

.legal-hero-outcome__icon {
    position: relative;
    width: 56px;
    height: 56px;
    border: 3px solid var(--legal-hero-green);
    border-radius: 50%;
    box-shadow: 0 0 24px rgba(137, 238, 131, 0.18);
}

.legal-hero-outcome__icon::before,
.legal-hero-outcome__icon::after {
    content: '';
    position: absolute;
    border-color: var(--legal-hero-green);
}

.legal-hero-outcome__icon--speed::before {
    inset: 12px;
    border-right: 3px solid var(--legal-hero-green);
    transform: rotate(36deg);
    transform-origin: 50% 100%;
}

.legal-hero-outcome__icon--speed::after {
    top: 30px;
    left: -22px;
    width: 24px;
    height: 3px;
    background: var(--legal-hero-green);
    box-shadow: -12px -10px 0 var(--legal-hero-green), -7px 10px 0 var(--legal-hero-green);
}

.legal-hero-outcome__icon--quality::before {
    inset: 12px;
    border: 2px solid var(--legal-hero-green);
    border-radius: 50%;
}

.legal-hero-outcome__icon--quality::after {
    inset: 20px;
    clip-path: polygon(50% 0, 62% 34%, 98% 34%, 69% 55%, 80% 92%, 50% 70%, 20% 92%, 31% 55%, 2% 34%, 38% 34%);
    background: var(--legal-hero-green);
}

.legal-hero-outcome__icon--gears::before {
    inset: 13px;
    border: 4px solid var(--legal-hero-green);
    border-radius: 50%;
    box-shadow: 21px -14px 0 -8px transparent, 21px -14px 0 -3px var(--legal-hero-green);
}

.legal-hero-outcome__icon--gears::after {
    right: 6px;
    bottom: 9px;
    width: 26px;
    height: 26px;
    border: 3px solid var(--legal-hero-green);
    border-radius: 50%;
}

.legal-hero-outcome__icon--insights::before {
    left: 18px;
    right: 14px;
    bottom: 14px;
    height: 30px;
    background:
        linear-gradient(var(--legal-hero-green), var(--legal-hero-green)) 0 70% / 5px 30% no-repeat,
        linear-gradient(var(--legal-hero-green), var(--legal-hero-green)) 11px 48% / 5px 52% no-repeat,
        linear-gradient(var(--legal-hero-green), var(--legal-hero-green)) 22px 20% / 5px 80% no-repeat;
}

.legal-hero-outcome__icon--insights::after {
    right: 4px;
    bottom: 5px;
    width: 18px;
    height: 3px;
    background: var(--legal-hero-green);
    transform: rotate(43deg);
}

.legal-hero-proof-card {
    display: grid;
    grid-template-columns: minmax(140px, 0.6fr) minmax(140px, 0.6fr) minmax(230px, 1fr);
    align-items: center;
    gap: clamp(18px, 2.4vw, 30px);
    max-width: 820px;
    margin-top: clamp(24px, 2.8vw, 34px);
    padding: clamp(16px, 1.7vw, 22px);
    border: 1px solid rgba(110, 202, 255, 0.34);
    border-radius: 14px;
    background: rgba(4, 24, 39, 0.54);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 60px -42px rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.legal-hero-proof-stat {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-width: 0;
}

.legal-hero-proof-stat + .legal-hero-proof-stat,
.legal-hero-proof-card p {
    border-left: 1px solid rgba(127, 206, 255, 0.42);
    padding-left: clamp(18px, 2vw, 28px);
}

.legal-hero-proof-stat__icon {
    position: relative;
    grid-row: span 2;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(122, 215, 255, 0.38);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 44%, rgba(137, 238, 131, 0.44) 0 19%, transparent 20%),
        rgba(26, 91, 124, 0.46);
}

.legal-hero-proof-stat__icon::before {
    content: '';
    position: absolute;
    inset: 20px 18px 16px;
    border: 4px solid var(--legal-hero-green);
    border-top: 0;
    border-radius: 0 0 14px 14px;
}

.legal-hero-proof-stat__icon--team::before {
    inset: 20px 12px 16px;
    border-radius: 15px 15px 8px 8px;
}

.legal-hero-proof-stat strong {
    color: var(--legal-hero-green);
    font-size: clamp(32px, 2.9vw, 44px);
    line-height: 0.92;
}

.legal-hero-proof-stat span:last-child,
.legal-hero-proof-card p {
    margin: 0;
    color: #ffffff;
    font-size: clamp(15px, 1.1vw, 19px);
    line-height: 1.32;
    font-weight: 600;
}

.legal-hero-actions {
    margin-top: clamp(22px, 2.8vw, 30px);
}

.legal-hero-actions .btn {
    min-height: 64px;
    padding: 0 34px;
    border: 0;
    border-radius: 10px;
    background: var(--secondary);
    color: #ffffff;
    font-size: clamp(18px, 1.35vw, 24px);
    font-weight: 800;
    box-shadow: 0 18px 38px -28px rgba(230, 57, 70, 0.72);
}

.legal-hero-actions .btn:hover {
    color: #ffffff;
    background: #c92e3a;
    box-shadow: 0 22px 44px -30px rgba(230, 57, 70, 0.84);
}

.legal-hero-actions .btn::after {
    content: '→';
    margin-left: 18px;
    font-size: 1.35em;
    line-height: 0;
}

.legal-hero-banner__visual {
    position: relative;
    z-index: 2;
    min-height: 610px;
    pointer-events: none;
}

.legal-hero-banner__visual::before {
    content: '';
    position: absolute;
    z-index: 1;
    right: -7%;
    bottom: 5%;
    width: min(66vw, 940px);
    height: min(40vw, 560px);
    min-height: 430px;
    border-radius: 44% 40% 46% 42%;
	background:
		linear-gradient(90deg, rgba(5, 23, 38, 0.02) 0%, rgba(5, 23, 38, 0) 48%, rgba(5, 23, 38, 0.14) 100%);
    filter: saturate(1.18) contrast(1.08) brightness(1.05);
    mask-image: radial-gradient(ellipse at 58% 52%, black 0 70%, rgba(0, 0, 0, 0.72) 76%, transparent 84%);
    -webkit-mask-image: radial-gradient(ellipse at 58% 52%, black 0 70%, rgba(0, 0, 0, 0.72) 76%, transparent 84%);
}

.legal-hero-orbit {
    position: absolute;
    z-index: 2;
    right: -16%;
    bottom: 6%;
    width: min(58vw, 760px);
    aspect-ratio: 1 / 0.86;
    border-radius: 50%;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 49%, transparent 51%),
        rgba(71, 149, 194, 0.16);
    box-shadow:
        0 0 0 38px rgba(114, 194, 238, 0.18),
        0 0 0 80px rgba(114, 194, 238, 0.06);
}

.legal-hero-orbit::before {
    content: '';
    position: absolute;
    inset: 12%;
    z-index: 2;
    border: clamp(18px, 2vw, 28px) solid rgba(137, 238, 131, 0.72);
    border-radius: 50%;
    mix-blend-mode: screen;
}

.legal-hero-orbit::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        linear-gradient(90deg, rgba(5, 23, 38, 0.02) 0%, rgba(5, 23, 38, 0.12) 100%),
        radial-gradient(circle at 58% 50%, transparent 0%, rgba(4, 18, 31, 0.2) 78%);
}

.legal-hero-orbit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 100% 50%;
    filter: saturate(1.18) contrast(1.08) brightness(1.02);
    opacity: 0.84;
    transform: scale(1.04);
}

.legal-hero-servicenow-card,
.legal-hero-assurance-card {
    position: absolute;
    z-index: 5;
    border: 1px solid rgba(116, 206, 255, 0.48);
    background: rgba(4, 24, 39, 0.78);
    box-shadow: 0 28px 58px -38px rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.legal-hero-servicenow-card {
    top: 6%;
    right: -19%;
    width: min(236px, 38vw);
    padding: 22px 22px 20px;
    border-radius: 22px;
}

.legal-hero-servicenow-card__logo {
    display: block;
    width: 160px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.94;
}

.legal-hero-servicenow-card h2 {
    margin: 0 0 14px;
    color: var(--legal-hero-green);
    font-size: 16px;
    line-height: 1.2;
}

.legal-hero-servicenow-card ul {
    display: grid;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.legal-hero-servicenow-card li {
    position: relative;
    padding: 11px 0 11px 27px;
    border-top: 1px solid rgba(127, 206, 255, 0.18);
    color: #ffffff;
    font-size: 13.5px;
    line-height: 1.2;
}

.legal-hero-servicenow-card li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 14px;
    width: 16px;
    height: 16px;
    border: 2px solid var(--legal-hero-green);
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(137, 238, 131, 0.22);
}

.legal-hero-assurance-card {
    right: -5%;
    bottom: 2%;
    width: min(300px, 42vw);
    padding: 22px 26px 22px 82px;
    border-radius: 16px;
}

.legal-hero-assurance-card span {
    position: absolute;
    left: 24px;
    top: 22px;
    width: 38px;
    height: 46px;
    border: 3px solid var(--legal-hero-green);
    border-radius: 18px 18px 20px 20px;
}

.legal-hero-assurance-card span::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 13px;
    width: 16px;
    height: 8px;
    border-left: 3px solid var(--legal-hero-green);
    border-bottom: 3px solid var(--legal-hero-green);
    transform: rotate(-45deg);
}

.legal-hero-assurance-card p {
    margin: 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.35;
}

.legal-hero-assurance-card p + p {
    margin-top: 12px;
}

@media (max-width: 1180px) {
    .page-hero--solution.page-hero--solution-legal {
        min-height: 1040px;
        height: 1040px;
    }

    .legal-hero-banner {
        grid-template-columns: minmax(0, 1fr) minmax(310px, 0.62fr);
        gap: 24px;
    }

    .legal-hero-banner h1 {
        font-size: clamp(42px, 5vw, 58px);
    }

    .page-hero--solution.page-hero--solution-legal .legal-hero-banner h1 {
        font-size: clamp(42px, 5vw, 58px);
        line-height: 1.03;
    }

    .legal-hero-proof-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legal-hero-proof-card p {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid rgba(127, 206, 255, 0.34);
        padding: 18px 0 0;
    }

    .legal-hero-banner__visual {
        min-height: 560px;
    }
}

@media (max-width: 900px) {
    .page-hero--solution.page-hero--solution-legal {
        min-height: auto;
        height: auto;
    }

    .legal-hero-banner {
        grid-template-columns: 1fr;
        padding-top: 108px;
        padding-bottom: 92px;
    }

    .legal-hero-banner__copy {
        max-width: 100%;
    }

    .legal-hero-banner h1 {
        max-width: 12.8ch;
        font-size: clamp(39px, 10vw, 58px);
    }

    .page-hero--solution.page-hero--solution-legal .legal-hero-banner h1 {
        width: 100%;
        max-width: 12.8ch;
        font-size: clamp(39px, 10vw, 58px);
        line-height: 1.04;
    }

    .legal-hero-banner__intro {
        max-width: 100%;
        font-size: 17px;
        line-height: 1.56;
    }

    .legal-hero-outcomes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 24px;
    }

    .legal-hero-outcome:nth-child(3) {
        border-left: 0;
    }

    .legal-hero-banner__visual {
        min-height: 520px;
        margin-top: 8px;
    }

    .legal-hero-orbit {
        right: 0;
        left: 0;
        bottom: 0;
        width: min(100%, 620px);
        margin-inline: auto;
    }

    .legal-hero-servicenow-card {
        top: 0;
        right: 0;
        width: min(290px, 78vw);
    }

    .legal-hero-assurance-card {
        right: 0;
        bottom: 2%;
        width: min(300px, 82vw);
    }
}

@media (max-width: 560px) {
    .legal-hero-banner {
        padding-top: 96px;
        padding-bottom: 78px;
    }

    .legal-hero-banner h1 {
        max-width: 100%;
        font-size: clamp(35px, 10.8vw, 44px);
        line-height: 1.03;
        letter-spacing: -0.75px;
    }

    .page-hero--solution.page-hero--solution-legal .legal-hero-banner h1 {
        max-width: 100%;
        font-size: clamp(35px, 10.8vw, 44px);
        line-height: 1.03;
        letter-spacing: -0.75px;
    }

    .legal-hero-outcomes {
        grid-template-columns: 1fr 1fr;
        gap: 18px 0;
    }

    .legal-hero-outcome {
        padding-inline: 12px;
        font-size: 13px;
    }

    .legal-hero-outcome__icon {
        width: 52px;
        height: 52px;
        border-width: 2px;
    }

    .legal-hero-proof-card {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .legal-hero-proof-stat {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .legal-hero-proof-stat + .legal-hero-proof-stat,
    .legal-hero-proof-card p {
        border-left: 0;
        border-top: 1px solid rgba(127, 206, 255, 0.34);
        padding: 16px 0 0;
    }

    .legal-hero-proof-stat__icon {
        width: 50px;
        height: 50px;
    }

    .legal-hero-actions .btn {
        width: 100%;
        min-height: 58px;
        justify-content: center;
        font-size: 18px;
    }

    .legal-hero-banner__visual {
        min-height: 550px;
    }

    .legal-hero-servicenow-card {
        width: min(270px, 92vw);
        padding: 22px 22px 18px;
    }

    .legal-hero-servicenow-card__logo {
        width: 162px;
    }

    .legal-hero-assurance-card {
        padding: 18px 18px 18px 68px;
    }
}

/* Solution proof ticker */
.page-hero--solution .proof-list,
body.page-id-27 .page-hero--solution-hr .proof-list,
.page-hero--solution.page-hero--solution-crm .proof-list {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 4;
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    gap: 0;
    margin: 0;
    padding: 9px 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    background: #090d12;
    box-shadow: 0 -18px 36px -30px rgba(9, 13, 18, 0.92);
}

.page-hero--solution .proof-list::before,
.page-hero--solution .proof-list::after {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: 56px;
    pointer-events: none;
}

.page-hero--solution .proof-list::before {
    left: 0;
    background: linear-gradient(90deg, #090d12 0%, rgba(9, 13, 18, 0) 100%);
}

.page-hero--solution .proof-list::after {
    right: 0;
    background: linear-gradient(270deg, #090d12 0%, rgba(9, 13, 18, 0) 100%);
}

.page-hero--solution .proof-list__track {
    display: flex;
    width: max-content;
    animation: solutionProofTicker 58s linear infinite;
    will-change: transform;
}

.page-hero--solution .proof-list__group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    min-width: max-content;
}

.page-hero--solution .proof-list span,
body.page-id-27 .page-hero--solution-hr .proof-list span,
.page-hero--solution.page-hero--solution-crm .proof-list span {
    display: inline-flex;
    width: auto;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    white-space: nowrap;
    padding: 8px 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    animation: none;
}

.page-hero--solution .proof-list span::before {
    content: '';
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #e63946;
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.15);
}

@keyframes solutionProofTicker {
    to {
        transform: translate3d(-25%, 0, 0);
    }
}

@media (max-width: 760px) {
    .page-hero--solution .proof-list,
    body.page-id-27 .page-hero--solution-hr .proof-list,
    .page-hero--solution.page-hero--solution-crm .proof-list {
        width: 100%;
        padding-block: 8px;
        border-radius: 0;
    }

    .page-hero--solution .proof-list::before,
    .page-hero--solution .proof-list::after {
        width: 34px;
    }

    .page-hero--solution .proof-list span,
    body.page-id-27 .page-hero--solution-hr .proof-list span,
    .page-hero--solution.page-hero--solution-crm .proof-list span {
        padding-inline: 14px;
        font-size: 12px;
    }
}

.page-layout--solution .cta-panel > *,
body.page-id-27 .cta-panel > * {
    position: relative;
    z-index: 1;
}

.page-layout--solution .btn:active,
body.page-id-27 .btn:active {
    transform: translate3d(0, 1px, 0) scale(0.985);
}

@media (max-width: 1180px) {
    .page-layout--solution .solution-enhanced-section--services .solution-image-card:nth-child(4):last-child {
        grid-column: span 6;
    }

    .page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card:nth-child(4):last-child {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .page-hero--solution.page-hero--with-art .page-hero-art {
        animation: none;
    }

    .page-layout--solution .solution-enhanced-section--services .solution-image-card-grid {
        grid-template-columns: 1fr;
    }

    .page-layout--solution .solution-enhanced-section--services .solution-image-card,
    .page-layout--solution .solution-enhanced-section--services .solution-image-card:first-child,
    .page-layout--solution .solution-enhanced-section--services .solution-image-card--featured,
    .page-layout--solution .solution-enhanced-section--services .solution-image-card:nth-child(4):last-child {
        grid-column: auto;
    }

    .solution-faq-trigger {
        padding: 20px 18px;
    }

    .solution-faq-panel-inner {
        padding: 0 18px 20px;
    }

    .solution-roadmap-steps::after {
        left: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-hero--solution.page-hero--with-art .page-hero-art,
    .page-hero--solution .section-tag,
    .page-hero--solution h1,
    .page-hero--solution .page-hero-intro,
    .page-hero--solution .page-hero-actions,
    .page-hero--solution .proof-list span,
    .page-hero--solution .proof-list__track {
        animation: none;
    }

    .solution-roadmap-steps::after,
    .solution-faq-panel,
    .page-layout--solution .solution-enhanced-section__shell::before,
    .page-layout--solution-legal .legal-opportunity-shell::before,
    .page-layout--solution-legal .legal-why-kloves__shell::before,
    body.page-id-27 .content-section::before {
        transition: none;
    }
}

/* Solution navigation and safer text-first layers */
html {
    scroll-behavior: smooth;
}

.solution-jump-nav {
    position: sticky;
    top: 68px;
    z-index: 80;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(29, 53, 87, 0.08);
    background: rgba(248, 250, 252, 0.92);
    box-shadow: 0 18px 38px -34px rgba(15, 31, 46, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.solution-jump-nav__track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 0;
    scrollbar-width: none;
}

.solution-jump-nav__track::-webkit-scrollbar {
    display: none;
}

.solution-jump-nav__link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 14px;
    border: 1px solid rgba(29, 53, 87, 0.09);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 22px -22px rgba(15, 31, 46, 0.42);
    transition:
        transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 220ms cubic-bezier(0.16, 1, 0.3, 1),
        color 220ms cubic-bezier(0.16, 1, 0.3, 1),
        background 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-jump-nav__link:hover,
.solution-jump-nav__link:focus-visible {
    transform: translate3d(0, -1px, 0);
    border-color: rgba(230, 57, 70, 0.24);
    background: #ffffff;
    color: var(--secondary);
}

.solution-jump-nav__link:focus-visible {
    outline: 3px solid rgba(230, 57, 70, 0.18);
    outline-offset: 2px;
}

.solution-slot[id],
.page-layout--solution h2[id] {
    scroll-margin-top: 132px;
}

.js-enabled .page-layout--solution [data-reveal],
.js-enabled body.page-id-27 [data-reveal] {
    transform: translate3d(0, 16px, 0);
    transition:
        opacity 520ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
        transform 520ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
        filter 520ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
    filter: blur(1.5px);
}

.page-layout--solution .solution-enhanced-section--no-media .solution-enhanced-section__shell {
    background:
        radial-gradient(circle at 8% 4%, rgba(69, 123, 157, 0.13) 0%, rgba(69, 123, 157, 0) 28%),
        radial-gradient(circle at 92% 0%, rgba(230, 57, 70, 0.06) 0%, rgba(230, 57, 70, 0) 24%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.page-layout--solution .solution-enhanced-section--no-media .solution-pill-row {
    margin-bottom: clamp(16px, 2vw, 22px);
}

.page-layout--solution .solution-enhanced-section--no-media .solution-workflow-grid,
.page-layout--solution .solution-enhanced-section--no-media .solution-outcomes-grid {
    margin-top: clamp(18px, 2.4vw, 28px);
}

.page-layout--solution .solution-enhanced-section--no-media .solution-roadmap-layout--stacked .solution-roadmap-steps {
    max-width: none;
    margin-inline: 0;
}

.page-layout--solution .solution-enhanced-section--no-media .solution-enhanced-section__lead {
    max-width: 86ch;
}

@supports (content-visibility: auto) {
    .page-layout--solution .entry-content > .content-section,
    .page-layout--solution .entry-content > .content-section:not(:first-child),
    body.page-id-27 .content-page .entry-content > .content-section,
    body.page-id-27 .content-page .entry-content > .content-section:not(:first-child) {
        content-visibility: visible !important;
        contain-intrinsic-block-size: auto !important;
        contain-intrinsic-inline-size: auto !important;
    }
}

@media (max-width: 760px) {
    .solution-jump-nav {
        top: 57px;
    }

    .solution-jump-nav__track {
        padding: 10px 0;
    }

    .solution-jump-nav__link {
        min-height: 34px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .solution-slot[id],
    .page-layout--solution h2[id] {
        scroll-margin-top: 112px;
    }
}

/* Generated solution hero banners */
.page-hero--solution.page-hero--solution-banner {
    --solution-banner-green: #7ff082;
    --solution-banner-red: #e63946;
    --solution-banner-ink: #ffffff;
    --solution-banner-muted: rgba(255, 255, 255, 0.78);
    position: relative;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    color: var(--solution-banner-ink);
    background: #03111f;
}

body.page-id-27 .page-hero--solution-hr.page-hero--solution-banner {
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: #03111f;
}

.page-hero--solution.page-hero--solution-banner::before,
.page-hero--solution.page-hero--solution-banner::after {
    content: none;
}

.solution-hero-banner {
    position: relative;
    min-height: 900px;
    display: flex;
    align-items: center;
    padding: 92px 0 84px;
}

.solution-hero-banner__media,
.solution-hero-banner__media img,
.solution-hero-banner__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.solution-hero-banner__media {
    z-index: 0;
    display: block;
    overflow: hidden;
}

.solution-hero-banner__media img {
    object-fit: cover;
    object-position: center center;
}

.solution-hero-banner__shade {
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(2, 11, 22, 0.98) 0%, rgba(2, 11, 22, 0.94) 34%, rgba(2, 11, 22, 0.72) 52%, rgba(2, 11, 22, 0.24) 73%, rgba(2, 11, 22, 0.34) 100%),
        linear-gradient(180deg, rgba(2, 11, 22, 0.22) 0%, rgba(2, 11, 22, 0.05) 46%, rgba(2, 11, 22, 0.74) 100%);
}

.solution-hero-banner__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);
    gap: 42px;
    align-items: end;
    width: 100%;
}

.solution-hero-banner__copy {
    max-width: 760px;
}

.solution-hero-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--solution-banner-green);
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.solution-hero-banner__eyebrow::before {
    content: '';
    width: 34px;
    height: 2px;
    background: currentColor;
}

.page-hero--solution.page-hero--solution-banner .solution-hero-banner h1 {
    max-width: 780px;
    margin: 0;
    color: #ffffff;
    font-size: 58px;
    line-height: 1.02;
    letter-spacing: 0;
    text-wrap: balance;
}

.page-hero--solution-crm.page-hero--solution-banner .solution-hero-banner h1 {
    font-size: 50px;
}

.solution-hero-banner__intro {
    display: grid;
    gap: 11px;
    max-width: 730px;
    margin-top: 24px;
}

.solution-hero-banner__intro p {
    margin: 0;
    color: var(--solution-banner-muted);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

.page-hero--solution-crm.page-hero--solution-banner .solution-hero-banner__intro {
    gap: 9px;
    max-width: 760px;
}

.page-hero--solution-crm.page-hero--solution-banner .solution-hero-banner__intro p {
    font-size: 15px;
    line-height: 1.46;
}

.solution-hero-banner__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.solution-hero-banner__chips li {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(127, 240, 130, 0.34);
    border-radius: 999px;
    background: rgba(5, 24, 37, 0.72);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    line-height: 1.1;
    font-weight: 800;
    box-shadow: none;
}

.solution-hero-banner__chips li::before {
    content: '';
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 999px;
    background: var(--solution-banner-red);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.18);
}

.solution-hero-banner__actions {
    margin-top: 28px;
}

.page-hero--solution.page-hero--solution-banner .solution-hero-banner__actions .btn {
    min-height: 56px;
    padding: 0 26px;
    border: 0;
    border-radius: 10px;
    background: var(--secondary);
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 18px 38px -28px rgba(230, 57, 70, 0.72);
}

.page-hero--solution.page-hero--solution-banner .solution-hero-banner__actions .btn:hover {
    color: #ffffff;
    background: #c92e3a;
    box-shadow: 0 22px 44px -30px rgba(230, 57, 70, 0.84);
}

.page-hero--solution.page-hero--solution-banner .solution-hero-banner__actions .btn::after {
    content: '\2192';
    margin-left: 14px;
    font-size: 1.2em;
    line-height: 0;
}

.solution-hero-banner__metrics {
    justify-self: end;
    display: grid;
    width: min(100%, 360px);
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(127, 206, 255, 0.24);
    border-radius: 16px;
    background: rgba(2, 13, 24, 0.84);
    box-shadow: 0 30px 70px -48px rgba(0, 0, 0, 0.9);
}

.solution-hero-banner__metric {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 76px;
    padding: 14px 16px;
    border-radius: 12px;
}

.solution-hero-banner__metric + .solution-hero-banner__metric {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.solution-hero-banner__metric strong {
    color: var(--solution-banner-green);
    font-size: 34px;
    line-height: 0.95;
    letter-spacing: 0;
}

.solution-hero-banner__metric span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.24;
    font-weight: 800;
}

.page-hero--solution.page-hero--solution-banner > .proof-list {
    z-index: 5;
}

@media (max-width: 1180px) {
    .solution-hero-banner {
        min-height: 860px;
        padding-top: 78px;
    }

    .solution-hero-banner__inner {
        grid-template-columns: minmax(0, 680px) minmax(220px, 1fr);
        gap: 26px;
    }

    .page-hero--solution.page-hero--solution-banner .solution-hero-banner h1,
    .page-hero--solution-crm.page-hero--solution-banner .solution-hero-banner h1 {
        font-size: 46px;
    }

    .solution-hero-banner__intro p,
    .page-hero--solution-crm.page-hero--solution-banner .solution-hero-banner__intro p {
        font-size: 15px;
        line-height: 1.46;
    }

    .solution-hero-banner__metrics {
        width: min(100%, 310px);
    }
}

@media (max-width: 900px) {
    .solution-hero-banner {
        min-height: 0;
        align-items: flex-start;
        padding: 72px 0 78px;
    }

    .solution-hero-banner__shade {
        background:
            linear-gradient(180deg, rgba(2, 11, 22, 0.98) 0%, rgba(2, 11, 22, 0.95) 46%, rgba(2, 11, 22, 0.76) 68%, rgba(2, 11, 22, 0.54) 100%),
            linear-gradient(90deg, rgba(2, 11, 22, 0.86) 0%, rgba(2, 11, 22, 0.45) 100%);
    }

    .solution-hero-banner__media img {
        object-position: center bottom;
    }

    .solution-hero-banner__inner {
        display: block;
    }

    .solution-hero-banner__copy {
        max-width: 100%;
    }

    .page-hero--solution.page-hero--solution-banner .solution-hero-banner h1,
    .page-hero--solution-crm.page-hero--solution-banner .solution-hero-banner h1 {
        max-width: 100%;
        font-size: 37px;
        line-height: 1.05;
    }

    .solution-hero-banner__intro {
        gap: 10px;
        margin-top: 20px;
    }

    .solution-hero-banner__intro p,
    .page-hero--solution-crm.page-hero--solution-banner .solution-hero-banner__intro p {
        font-size: 15px;
        line-height: 1.48;
    }

    .solution-hero-banner__chips {
        gap: 8px;
        margin-top: 22px;
    }

    .solution-hero-banner__chips li {
        min-height: 32px;
        font-size: 12px;
    }

    .solution-hero-banner__metrics {
        width: 100%;
        margin-top: 26px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        background: rgba(2, 13, 24, 0.72);
    }

    .page-hero--solution-crm.page-hero--solution-banner .solution-hero-banner__metrics {
        grid-template-columns: 1fr;
    }

    .solution-hero-banner__metric {
        grid-template-columns: 1fr;
        gap: 6px;
        min-height: 0;
        padding: 14px;
    }

    .solution-hero-banner__metric + .solution-hero-banner__metric {
        border-top: 0;
    }
}

@media (max-width: 700px) {
    .solution-hero-banner {
        min-height: 1250px;
    }
}

@media (max-width: 560px) {
    .solution-hero-banner {
        padding-top: 56px;
        padding-bottom: 76px;
    }

    .solution-hero-banner__eyebrow {
        margin-bottom: 14px;
        font-size: 11px;
    }

    .solution-hero-banner__eyebrow::before {
        width: 24px;
    }

    .page-hero--solution.page-hero--solution-banner .solution-hero-banner h1,
    .page-hero--solution-crm.page-hero--solution-banner .solution-hero-banner h1 {
        font-size: 32px;
        line-height: 1.05;
    }

    .solution-hero-banner__intro p,
    .page-hero--solution-crm.page-hero--solution-banner .solution-hero-banner__intro p {
        font-size: 14px;
        line-height: 1.46;
    }

    .solution-hero-banner__chips {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .solution-hero-banner__chips li {
        justify-content: flex-start;
        border-radius: 8px;
    }

    .solution-hero-banner__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .solution-hero-banner__metric strong {
        font-size: 28px;
    }

    .solution-hero-banner__metric span {
        font-size: 12px;
    }
}

/* Encoding-safe list bullets */
.check-list li::before,
.icon-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.56em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--secondary);
    box-shadow: 0 0 0 5px rgba(230, 57, 70, 0.1);
}

/* HRSD layer width alignment */
body.page-id-27 .page-layout--solution-hr .entry-content > .content-section {
    box-sizing: border-box;
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: clamp(22px, 3.2vw, 42px);
}

body.page-id-27 .page-layout--solution-hr .entry-content > .content-section.solution-slot--why-kloves {
    margin-inline: auto;
}

body.page-id-27 .page-layout--solution-hr .content-section > .section-header,
body.page-id-27 .page-layout--solution-hr .content-section > .section-header > p {
    max-width: 100%;
}

body.page-id-27 .page-layout--solution-hr .content-section .content-grid,
body.page-id-27 .page-layout--solution-hr .content-section .solution-roadmap-layout,
body.page-id-27 .page-layout--solution-hr .content-section .solution-faq-layout,
body.page-id-27 .page-layout--solution-hr .content-section .cta-panel {
    width: 100%;
}

@media (max-width: 760px) {
    body.page-id-27 .page-layout--solution-hr .entry-content > .content-section {
        padding-inline: 18px;
    }
}

/* HRSD fast-track and CTA polish */
body.page-id-27 .page-layout--solution-hr .solution-slot--fast-track-delivery .content-card:first-child .check-list {
    gap: 0;
    margin-top: 4px;
}

body.page-id-27 .page-layout--solution-hr .solution-slot--fast-track-delivery .content-card:first-child .check-list li {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    padding: 14px 0;
    line-height: 1.58;
}

body.page-id-27 .page-layout--solution-hr .solution-slot--fast-track-delivery .content-card:first-child .check-list li::before {
    position: static;
    align-self: start;
    width: 10px;
    height: 10px;
    margin-top: 0.52em;
    transform: translateY(-50%);
}

body.page-id-27 .page-layout--solution-hr .solution-slot--transform-employee-service-delivery-with-a-specialist-partner {
    background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
}

body.page-id-27 .page-layout--solution-hr .solution-slot--transform-employee-service-delivery-with-a-specialist-partner .cta-panel {
    border-radius: clamp(26px, 3vw, 38px);
    background:
        linear-gradient(90deg, rgba(16, 36, 59, 0.98) 0%, rgba(16, 36, 59, 0.9) 38%, rgba(16, 36, 59, 0.5) 64%, rgba(16, 36, 59, 0.08) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        url('images/solutions/generated/hrsd-cta.webp') center 52% / cover no-repeat,
        #10243b;
    background-size: auto, 42px 42px, 42px 42px, cover, auto;
    box-shadow: 0 30px 70px -46px rgba(15, 31, 46, 0.58);
}

body.page-id-27 .page-layout--solution-hr .solution-slot--transform-employee-service-delivery-with-a-specialist-partner .cta-panel::before {
    content: none;
    display: none;
}

body.page-id-27 .page-layout--solution-hr .solution-slot--transform-employee-service-delivery-with-a-specialist-partner .cta-panel::after {
    z-index: 0;
    right: -120px;
    bottom: -130px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.2) 0%, rgba(230, 57, 70, 0) 68%);
}

body.page-id-27 .page-layout--solution-hr .solution-slot--transform-employee-service-delivery-with-a-specialist-partner .cta-panel h2 {
    max-width: 18ch;
}

body.page-id-27 .page-layout--solution-hr .solution-slot--transform-employee-service-delivery-with-a-specialist-partner .cta-panel p {
    max-width: 620px;
}

/* Legal Why Kloves layered alignment */
.page-layout--solution-legal .legal-why-kloves__intro-layer {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: end;
    padding: 0 0 clamp(28px, 3.6vw, 44px);
    border-bottom: 1px solid rgba(29, 53, 87, 0.1);
}

.page-layout--solution-legal .legal-why-kloves__intro-heading {
    min-width: 0;
}

.page-layout--solution-legal .legal-why-kloves__intro-layer h2 {
    max-width: 13ch;
    margin: 0;
    font-size: clamp(40px, 4.6vw, 58px);
    line-height: 1.03;
    letter-spacing: -1.1px;
}

.page-layout--solution-legal .legal-why-kloves__intro-layer p {
    max-width: 68ch;
    margin: 0;
    padding-left: clamp(18px, 2vw, 28px);
    border-left: 3px solid rgba(230, 57, 70, 0.5);
    color: rgba(29, 53, 87, 0.78);
    font-size: clamp(17px, 1.3vw, 19px);
    line-height: 1.72;
}

.page-layout--solution-legal .legal-why-kloves__showcase {
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
    align-items: stretch;
    margin-top: clamp(28px, 3.6vw, 44px);
}

.page-layout--solution-legal .legal-why-kloves__proof-panel {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.page-layout--solution-legal .legal-why-kloves__proof-heading {
    margin: 0 0 4px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(29, 53, 87, 0.1);
}

.legal-why-kloves__proof-layers {
    display: grid;
}

.legal-why-kloves__proof-layer {
    display: grid;
    grid-template-columns: 46px 48px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(29, 53, 87, 0.1);
}

.legal-why-kloves__proof-layer-index {
    padding-top: 12px;
    color: rgba(29, 53, 87, 0.42);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.legal-why-kloves__proof-layer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    color: var(--primary);
    background:
        linear-gradient(180deg, rgba(238, 245, 255, 0.9) 0%, rgba(255, 240, 242, 0.9) 100%);
}

.legal-why-kloves__proof-layer-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.legal-why-kloves__proof-layer-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.legal-why-kloves__proof-layer-copy strong {
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    line-height: 1.18;
}

.legal-why-kloves__proof-layer-copy span {
    color: rgba(29, 53, 87, 0.72);
    font-size: 16px;
    line-height: 1.58;
}

.legal-why-kloves__transformation-layer {
    margin-top: clamp(22px, 3vw, 34px);
    padding: clamp(22px, 3vw, 30px) clamp(16px, 2.4vw, 28px) 0;
    border-top: 1px solid rgba(29, 53, 87, 0.12);
    text-align: center;
}

.legal-why-kloves__transformation-layer h3 {
    max-width: 28ch;
    margin: 0 auto 10px;
    color: var(--primary);
    font-size: clamp(25px, 2.3vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.4px;
}

.legal-why-kloves__transformation-layer p {
    max-width: 54ch;
    margin: 0 auto;
    color: rgba(29, 53, 87, 0.76);
    font-size: 17px;
    line-height: 1.7;
}

@media (max-width: 980px) {
    .page-layout--solution-legal .legal-why-kloves__intro-layer,
    .page-layout--solution-legal .legal-why-kloves__showcase {
        grid-template-columns: 1fr;
    }

    .page-layout--solution-legal .legal-why-kloves__intro-layer p {
        max-width: none;
    }
}

@media (max-width: 560px) {
    .legal-why-kloves__proof-layer {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 12px;
    }

    .legal-why-kloves__proof-layer-icon {
        grid-column: 1;
        grid-row: 2;
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .legal-why-kloves__proof-layer-icon svg {
        width: 19px;
        height: 19px;
    }

    .legal-why-kloves__proof-layer-copy {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .legal-why-kloves__proof-layer-copy strong {
        font-size: 18px;
    }
}

/* Solution Q&A sections use a vertical reading flow */
.page-layout--solution .solution-slot--faq .solution-faq-list,
.page-layout--solution .solution-enhanced-section--faq .solution-faq-list,
.page-layout--solution-crm .solution-enhanced-section--faq .solution-faq-list,
body.page-id-27 .page-layout--solution-hr .solution-slot--faq .faq-list,
body.page-id-27 .entry-content > section:nth-of-type(9) .faq-list {
    grid-template-columns: 1fr !important;
    max-width: 900px;
    margin-inline: 0 auto;
}

.page-layout--solution .solution-slot--faq .solution-faq-item,
.page-layout--solution .solution-enhanced-section--faq .solution-faq-item,
.page-layout--solution-crm .solution-enhanced-section--faq .solution-faq-item,
body.page-id-27 .page-layout--solution-hr .solution-slot--faq .faq-item,
body.page-id-27 .entry-content > section:nth-of-type(9) .faq-item {
    width: 100%;
}

/* Keep Legal workflow coverage cards contained inside their section */
.js-enabled .page-layout--solution [data-reveal].is-visible,
.js-enabled body.page-id-27 [data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

.page-layout--solution-legal .solution-slot--workflow-coverage {
    padding-bottom: clamp(44px, 5vw, 72px);
}

.page-layout--solution-legal .solution-slot--workflow-coverage .solution-enhanced-section__shell {
    padding-bottom: clamp(24px, 3vw, 42px);
}

.page-layout--solution-legal .solution-slot--workflow-coverage .solution-workflow-grid {
    margin-bottom: 0;
}

/* Flatten inner visual shells for Legal sections that already have an outer band */
.page-layout--solution-legal .solution-slot--workflow-coverage .solution-enhanced-section__shell,
.page-layout--solution-legal .solution-slot--fast-track-delivery .solution-enhanced-section__shell,
.page-layout--solution-legal .solution-slot--outcomes .solution-enhanced-section__shell {
    background: transparent !important;
    box-shadow: none;
    border: 0;
    border-radius: 0;
}

.page-layout--solution-legal .solution-slot--workflow-coverage .solution-enhanced-section__shell::before,
.page-layout--solution-legal .solution-slot--fast-track-delivery .solution-enhanced-section__shell::before,
.page-layout--solution-legal .solution-slot--outcomes .solution-enhanced-section__shell::before {
    content: none !important;
    display: none !important;
}

/* Legal Why Kloves evidence-board redesign */
.page-layout--solution-legal .legal-why-kloves {
    padding-block: clamp(58px, 7vw, 92px) clamp(66px, 7.4vw, 104px);
    background:
        linear-gradient(90deg, rgba(29, 53, 87, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, #ffffff 0%, #f7fafc 54%, #ffffff 100%);
    background-size: 56px 56px, auto;
}

.page-layout--solution-legal .legal-why-kloves__shell {
    max-width: 1160px;
}

.page-layout--solution-legal .legal-why-kloves__intro-layer {
    grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: start;
    padding-bottom: clamp(34px, 4.2vw, 54px);
    border-bottom-color: rgba(29, 53, 87, 0.14);
}

.page-layout--solution-legal .legal-why-kloves__intro-heading .section-tag {
    margin-bottom: 18px;
}

.page-layout--solution-legal .legal-why-kloves__intro-layer h2 {
    max-width: 12.4ch;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.02;
    letter-spacing: 0;
    text-wrap: balance;
}

.page-layout--solution-legal .legal-why-kloves__intro-layer p {
    position: relative;
    max-width: 58ch;
    padding: clamp(18px, 2.4vw, 28px) 0 0;
    border-left: 0;
    font-size: clamp(18px, 1.35vw, 20px);
    line-height: 1.76;
    text-wrap: pretty;
}

.page-layout--solution-legal .legal-why-kloves__intro-layer p::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: min(160px, 34%);
    height: 3px;
    background: linear-gradient(90deg, var(--secondary) 0%, rgba(230, 57, 70, 0) 100%);
}

.page-layout--solution-legal .legal-why-kloves__showcase {
    grid-template-columns: minmax(320px, 0.96fr) minmax(0, 1.04fr);
    gap: clamp(34px, 4.8vw, 68px);
    align-items: start;
    margin-top: clamp(34px, 4.6vw, 58px);
}

.page-layout--solution-legal .legal-why-kloves__visual-panel {
    height: auto;
}

.page-layout--solution-legal .legal-why-kloves__visual-frame {
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.page-layout--solution-legal .legal-why-kloves__image {
    min-height: 0;
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(29, 53, 87, 0.12);
    border-radius: 28px;
    box-shadow: 0 34px 70px -46px rgba(15, 31, 46, 0.5);
}

.page-layout--solution-legal .legal-why-kloves__image img {
    object-position: center;
}

.page-layout--solution-legal .legal-why-kloves__chip {
    max-width: 190px;
    padding: 12px 14px;
    border-radius: 14px;
    border-color: rgba(29, 53, 87, 0.12);
    box-shadow: 0 18px 34px -26px rgba(15, 31, 46, 0.54);
    font-size: 12px;
}

.page-layout--solution-legal .legal-why-kloves__chip--top {
    top: 20px;
    right: 20px;
}

.page-layout--solution-legal .legal-why-kloves__chip--bottom {
    left: 20px;
    bottom: 20px;
}

.page-layout--solution-legal .legal-why-kloves__transformation-layer {
    margin-top: clamp(22px, 2.8vw, 34px);
    padding: clamp(24px, 3vw, 32px) clamp(8px, 1.6vw, 18px) 0;
    border-top-color: rgba(29, 53, 87, 0.16);
}

.page-layout--solution-legal .legal-why-kloves__transformation-layer h3 {
    max-width: 25ch;
    font-size: clamp(28px, 2.6vw, 38px);
    letter-spacing: 0;
    text-wrap: balance;
}

.page-layout--solution-legal .legal-why-kloves__transformation-layer p {
    max-width: 58ch;
    font-size: 17px;
    line-height: 1.74;
}

.page-layout--solution-legal .legal-why-kloves__proof-panel {
    padding-top: 2px;
}

.page-layout--solution-legal .legal-why-kloves__proof-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0 0 18px;
    color: var(--primary);
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.12;
    letter-spacing: 0;
    text-transform: none;
}

.page-layout--solution-legal .legal-why-kloves__proof-heading::before {
    content: '';
    width: 34px;
    height: 3px;
    flex: 0 0 34px;
    background: var(--secondary);
}

.page-layout--solution-legal .legal-why-kloves__proof-layers {
    border-top: 0;
}

.page-layout--solution-legal .legal-why-kloves__proof-layer {
    position: relative;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: clamp(16px, 2vw, 26px);
    min-height: 106px;
    padding: clamp(20px, 2.5vw, 28px) 0;
    border-bottom-color: rgba(29, 53, 87, 0.14);
}

.page-layout--solution-legal .legal-why-kloves__proof-layer-index {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    padding-top: 0;
    color: var(--secondary);
    font-size: 12px;
    letter-spacing: 1px;
}

.page-layout--solution-legal .legal-why-kloves__proof-layer-icon {
    grid-column: 1;
    grid-row: 2;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(29, 53, 87, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.74);
}

.page-layout--solution-legal .legal-why-kloves__proof-layer-icon svg {
    width: 22px;
    height: 22px;
}

.page-layout--solution-legal .legal-why-kloves__proof-layer-copy {
    grid-column: 2;
    grid-row: 1 / span 2;
    gap: 8px;
    align-self: center;
}

.page-layout--solution-legal .legal-why-kloves__proof-layer-copy strong {
    font-size: clamp(21px, 1.8vw, 25px);
    line-height: 1.15;
    letter-spacing: 0;
}

.page-layout--solution-legal .legal-why-kloves__proof-layer-copy span {
    max-width: 48ch;
    font-size: 16.5px;
    line-height: 1.62;
}

@media (max-width: 980px) {
    .page-layout--solution-legal .legal-why-kloves {
        padding-block: 50px 72px;
    }

    .page-layout--solution-legal .legal-why-kloves__intro-layer,
    .page-layout--solution-legal .legal-why-kloves__showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-layout--solution-legal .legal-why-kloves__intro-layer h2 {
        max-width: 14ch;
    }

    .page-layout--solution-legal .legal-why-kloves__intro-layer p {
        max-width: 64ch;
    }

    .page-layout--solution-legal .legal-why-kloves__image {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 560px) {
    .page-layout--solution-legal .legal-why-kloves__intro-layer h2 {
        font-size: clamp(38px, 10vw, 48px);
    }

    .page-layout--solution-legal .legal-why-kloves__proof-heading {
        font-size: 24px;
    }

    .page-layout--solution-legal .legal-why-kloves__proof-layer {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 14px;
        min-height: 0;
        padding: 20px 0;
    }

    .page-layout--solution-legal .legal-why-kloves__proof-layer-index {
        grid-column: 1;
        grid-row: 1;
    }

    .page-layout--solution-legal .legal-why-kloves__proof-layer-icon {
        grid-column: 1;
        grid-row: 2;
        width: 38px;
        height: 38px;
    }

    .page-layout--solution-legal .legal-why-kloves__proof-layer-copy {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .page-layout--solution-legal .legal-why-kloves__chip {
        max-width: 160px;
        font-size: 11px;
    }
}

/* Legal final CTA: lighter, full-width copy treatment */
.page-layout--solution-legal .solution-slot--modernize-legal-operations-with-a-specialist-partner {
    --tw-bg-opacity: 1;
    background: rgb(220 233 255 / var(--tw-bg-opacity, 1)) !important;
    padding-block: clamp(48px, 6vw, 84px);
}

.page-layout--solution-legal .solution-slot--modernize-legal-operations-with-a-specialist-partner .cta-panel {
    position: relative;
    width: 100%;
    padding: 0 clamp(22px, 3.2vw, 42px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--primary);
}

.page-layout--solution-legal .solution-slot--modernize-legal-operations-with-a-specialist-partner .cta-panel::before,
.page-layout--solution-legal .solution-slot--modernize-legal-operations-with-a-specialist-partner .cta-panel::after {
    content: none;
    display: none;
}

.page-layout--solution-legal .solution-slot--modernize-legal-operations-with-a-specialist-partner .cta-panel h2 {
    max-width: none;
    color: var(--primary);
    font-size: clamp(38px, 4.7vw, 64px);
    line-height: 1.04;
    letter-spacing: 0;
    text-wrap: balance;
}

.page-layout--solution-legal .solution-slot--modernize-legal-operations-with-a-specialist-partner .cta-panel p {
    max-width: none;
    margin-top: clamp(16px, 2vw, 24px);
    color: rgba(29, 53, 87, 0.76);
    font-size: clamp(18px, 1.45vw, 21px);
    line-height: 1.72;
    text-wrap: pretty;
}

.page-layout--solution-legal .solution-slot--modernize-legal-operations-with-a-specialist-partner .cta-panel .btn {
    margin-top: clamp(24px, 3vw, 34px);
}

@media (max-width: 640px) {
    .page-layout--solution-legal .solution-slot--modernize-legal-operations-with-a-specialist-partner {
        padding-block: 42px;
    }

    .page-layout--solution-legal .solution-slot--modernize-legal-operations-with-a-specialist-partner .cta-panel {
        padding-inline: 18px;
    }

    .page-layout--solution-legal .solution-slot--modernize-legal-operations-with-a-specialist-partner .cta-panel h2 {
        font-size: clamp(32px, 9vw, 42px);
    }
}

/* Legal Why Kloves: match standard heading scale and align proof rows */
.page-layout--solution-legal .legal-why-kloves__intro-layer {
    grid-template-columns: 1fr;
    gap: clamp(14px, 2vw, 22px);
    align-items: start;
}

.page-layout--solution-legal .legal-why-kloves__intro-layer h2 {
    max-width: min(100%, 940px);
    font-size: clamp(34px, 3.2vw, 42px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.5px;
}

.page-layout--solution-legal .legal-why-kloves__intro-layer p {
    max-width: min(100%, 940px);
    padding-top: 0;
    font-size: clamp(17px, 1.3vw, 19px);
    line-height: 1.72;
}

.page-layout--solution-legal .legal-why-kloves__intro-layer p::before {
    content: none;
    display: none;
}

.page-layout--solution-legal .legal-why-kloves__proof-layer {
    grid-template-columns: 42px 48px minmax(0, 1fr);
    gap: clamp(14px, 1.8vw, 22px);
    align-items: center;
    min-height: 0;
    padding: clamp(18px, 2.2vw, 24px) 0;
}

.page-layout--solution-legal .legal-why-kloves__proof-layer-index,
.page-layout--solution-legal .legal-why-kloves__proof-layer-icon,
.page-layout--solution-legal .legal-why-kloves__proof-layer-copy {
    grid-row: 1;
}

.page-layout--solution-legal .legal-why-kloves__proof-layer-index {
    grid-column: 1;
    align-self: center;
}

.page-layout--solution-legal .legal-why-kloves__proof-layer-icon {
    grid-column: 2;
    align-self: center;
}

.page-layout--solution-legal .legal-why-kloves__proof-layer-copy {
    grid-column: 3;
    align-self: center;
}

@media (max-width: 560px) {
    .page-layout--solution-legal .legal-why-kloves__intro-layer h2 {
        font-size: clamp(29px, 8vw, 34px);
        line-height: 1.14;
    }

    .page-layout--solution-legal .legal-why-kloves__proof-layer {
        grid-template-columns: 36px 42px minmax(0, 1fr);
        gap: 10px;
        align-items: center;
    }

    .page-layout--solution-legal .legal-why-kloves__proof-layer-icon {
        width: 36px;
        height: 36px;
    }

    .page-layout--solution-legal .legal-why-kloves__proof-layer-copy {
        grid-column: 3;
        grid-row: 1;
    }
}

/* CRM solution page: convert card groups into layered content rows */
.page-layout--solution-crm .solution-detail-grid,
.page-layout--solution-crm .solution-image-card-grid,
.page-layout--solution-crm .solution-workflow-grid,
.page-layout--solution-crm .solution-outcomes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 clamp(32px, 4vw, 56px) !important;
    align-items: stretch;
    border-top: 1px solid rgba(29, 53, 87, 0.14);
}

.page-layout--solution-crm .solution-enhanced-section--faq .solution-faq-list {
    gap: 0 !important;
    border-top: 1px solid rgba(29, 53, 87, 0.14);
}

.page-layout--solution-crm .solution-detail-card,
.page-layout--solution-crm .solution-workflow-card,
.page-layout--solution-crm .solution-outcome-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-column: auto !important;
    gap: 0 clamp(14px, 1.6vw, 20px);
    align-items: start;
    min-height: 0;
    height: auto;
    padding: clamp(22px, 2.4vw, 30px) 0;
    border: 0;
    border-bottom: 1px solid rgba(29, 53, 87, 0.14);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    transform: none;
}

.page-layout--solution-crm .solution-image-card,
.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card,
.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card:first-child,
.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card--featured,
.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card:nth-child(4):last-child {
    display: grid;
    grid-template-columns: minmax(118px, 154px) minmax(0, 1fr);
    grid-column: auto !important;
    gap: clamp(16px, 2vw, 24px);
    align-items: start;
    min-height: 0;
    height: auto;
    padding: clamp(22px, 2.4vw, 30px) 0;
    border: 0;
    border-bottom: 1px solid rgba(29, 53, 87, 0.14);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    transform: none;
}

.page-layout--solution-crm .solution-faq-item,
.page-layout--solution-crm .solution-enhanced-section--faq .solution-faq-item,
.page-layout--solution-crm .solution-enhanced-section--faq .solution-faq-item.solution-faq-enhanced {
    min-height: 0;
    height: auto;
    border: 0;
    border-bottom: 1px solid rgba(29, 53, 87, 0.14);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    transform: none;
}

.page-layout--solution-crm .solution-detail-card:hover,
.page-layout--solution-crm .solution-workflow-card:hover,
.page-layout--solution-crm .solution-outcome-card:hover,
.page-layout--solution-crm .solution-image-card:hover,
.page-layout--solution-crm .solution-faq-item:hover {
    box-shadow: none;
    transform: none;
}

.page-layout--solution-crm .solution-detail-card::before,
.page-layout--solution-crm .solution-detail-card::after,
.page-layout--solution-crm .solution-workflow-card::before,
.page-layout--solution-crm .solution-workflow-card::after,
.page-layout--solution-crm .solution-outcome-card::before,
.page-layout--solution-crm .solution-outcome-card::after,
.page-layout--solution-crm .solution-image-card::before,
.page-layout--solution-crm .solution-image-card::after,
.page-layout--solution-crm .solution-faq-item::before,
.page-layout--solution-crm .solution-faq-item::after {
    content: none;
    display: none;
}

.page-layout--solution-crm .solution-detail-card__icon,
.page-layout--solution-crm .solution-workflow-card__icon,
.page-layout--solution-crm .solution-outcome-card__icon {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 44px;
    height: 44px;
    margin: 0;
    border: 1px solid rgba(29, 53, 87, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: none;
    color: #1d3557;
}

.page-layout--solution-crm .solution-detail-card:hover .solution-detail-card__icon,
.page-layout--solution-crm .solution-workflow-card:hover .solution-workflow-card__icon,
.page-layout--solution-crm .solution-outcome-card:hover .solution-outcome-card__icon {
    transform: none;
    box-shadow: none;
}

.page-layout--solution-crm .solution-detail-card h3,
.page-layout--solution-crm .solution-workflow-card h3,
.page-layout--solution-crm .solution-outcome-card h3 {
    grid-column: 2;
    margin: 0 0 9px;
    font-size: clamp(20px, 1.55vw, 24px);
    line-height: 1.18;
    letter-spacing: 0;
    text-wrap: balance;
}

.page-layout--solution-crm .solution-detail-card p,
.page-layout--solution-crm .solution-workflow-card p,
.page-layout--solution-crm .solution-outcome-card p,
.page-layout--solution-crm .solution-detail-card .solution-bullet-list,
.page-layout--solution-crm .solution-workflow-card .solution-bullet-list,
.page-layout--solution-crm .solution-outcome-card .solution-bullet-list {
    grid-column: 2;
}

.page-layout--solution-crm .solution-image-card__media,
.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card .solution-image-card__media,
.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card--featured .solution-image-card__media {
    grid-column: 1;
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(29, 53, 87, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.page-layout--solution-crm .solution-image-card__body,
.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card__body,
.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card:not(.solution-image-card--featured) .solution-image-card__body,
.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card--featured .solution-image-card__body {
    display: flex;
    grid-column: 2;
    flex-direction: column;
    min-width: 0;
    padding: 0;
}

.page-layout--solution-crm .solution-image-card h3,
.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card h3 {
    margin: 0 0 10px;
    font-size: clamp(20px, 1.55vw, 24px);
    line-height: 1.18;
    letter-spacing: 0;
    text-wrap: balance;
}

.page-layout--solution-crm .solution-image-card__lead {
    max-width: 62ch;
}

.page-layout--solution-crm .solution-image-card .solution-bullet-list,
.page-layout--solution-crm .solution-enhanced-section--crm-services .solution-bullet-list {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(29, 53, 87, 0.1);
}

.page-layout--solution-crm .solution-enhanced-section--faq .solution-faq-trigger {
    padding: clamp(20px, 2.2vw, 26px) 0;
}

.page-layout--solution-crm .solution-enhanced-section--faq .solution-faq-panel-inner {
    padding: 0 0 clamp(20px, 2.2vw, 26px);
}

@media (max-width: 900px) {
    .page-layout--solution-crm .solution-detail-grid,
    .page-layout--solution-crm .solution-image-card-grid,
    .page-layout--solution-crm .solution-workflow-grid,
    .page-layout--solution-crm .solution-outcomes-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
}

@media (max-width: 640px) {
    .page-layout--solution-crm .solution-detail-card,
    .page-layout--solution-crm .solution-workflow-card,
    .page-layout--solution-crm .solution-outcome-card {
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 12px;
        padding: 20px 0;
    }

    .page-layout--solution-crm .solution-image-card,
    .page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card,
    .page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card:first-child,
    .page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card--featured,
    .page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card:nth-child(4):last-child {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px 0;
    }

    .page-layout--solution-crm .solution-image-card__media,
    .page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card .solution-image-card__media,
    .page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card--featured .solution-image-card__media,
    .page-layout--solution-crm .solution-image-card__body,
    .page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card__body,
    .page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card:not(.solution-image-card--featured) .solution-image-card__body,
    .page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card--featured .solution-image-card__body {
        grid-column: 1;
    }

    .page-layout--solution-crm .solution-image-card__media,
    .page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card .solution-image-card__media,
    .page-layout--solution-crm .solution-enhanced-section--crm-services .solution-image-card--featured .solution-image-card__media {
        max-width: 220px;
    }
}

/* Solution media balance: keep section visuals uniform against copy blocks */
.page-layout--solution .solution-feature-split {
    align-items: center;
}

.page-layout--solution .solution-feature-split__media .solution-enhanced-media {
    aspect-ratio: 16 / 9;
}

.page-layout--solution-legal .solution-slot--platform-overview .solution-feature-split__media .solution-enhanced-media img,
.page-layout--solution-crm .solution-slot--why-kloves .solution-feature-split__media .solution-enhanced-media img {
    object-fit: cover;
}

@media (min-width: 1181px) {
    body.page-id-27 .page-layout--solution-hr.content-page .entry-content > section.solution-slot--operating-model,
    body.page-id-27 .page-layout--solution-hr.content-page .entry-content > section.solution-slot--why-kloves,
    body.page-id-27 .page-layout--solution-hr.content-page .entry-content > section.solution-slot--unified-delivery {
        grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.86fr);
    }

    body.page-id-27 .page-layout--solution-hr.content-page .entry-content > section.solution-slot--operating-model > .hrsd-section-visual,
    body.page-id-27 .page-layout--solution-hr.content-page .entry-content > section.solution-slot--why-kloves > .hrsd-section-visual,
    body.page-id-27 .page-layout--solution-hr.content-page .entry-content > section.solution-slot--unified-delivery > .hrsd-section-visual {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 760px) {
    .page-layout--solution .solution-feature-split__media .solution-enhanced-media,
    body.page-id-27 .page-layout--solution-hr .hrsd-section-visual {
        aspect-ratio: 16 / 9;
    }

    .page-layout--solution.page-layout--solution-crm .entry-content > .solution-enhanced-section.solution-enhanced-section--crm-question .solution-enhanced-section__shell {
        width: calc(100% + 36px);
        max-width: none;
    }
}

/* CRM Stitch reference layout */
.crm-stitch-page {
    --crm-page-bg: #f8faff;
    --crm-surface: #ffffff;
    --crm-surface-low: #eff4ff;
    --crm-surface-mid: #dce9ff;
    --crm-surface-high: #d3e4fe;
    --crm-ink: var(--primary);
    --crm-muted: #4a5b70;
    --crm-line: rgba(29, 53, 87, 0.12);
    --crm-accent: var(--secondary);
    --crm-accent-soft: rgba(230, 57, 70, 0.1);
    --crm-blue: var(--accent);
    overflow: hidden;
    color: var(--crm-ink);
    background: var(--crm-page-bg);
}

.crm-stitch-page h1,
.crm-stitch-page h2,
.crm-stitch-page h3,
.crm-stitch-page h4 {
    color: var(--crm-ink);
    letter-spacing: 0;
    text-wrap: balance;
}

.crm-stitch-page p,
.crm-stitch-page li {
    color: var(--crm-muted);
    text-wrap: pretty;
}

.crm-stitch-wrap {
    width: min(100%, 1440px);
    margin-inline: auto;
    padding-inline: clamp(24px, 4vw, 48px);
}

.crm-stitch-wrap--narrow {
    width: min(100%, 980px);
}

.crm-stitch-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    position: relative;
    margin-bottom: 22px;
    padding-bottom: 12px;
    color: var(--secondary);
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

.crm-stitch-kicker::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 40px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--secondary) 0%, transparent 100%);
    transform: translateX(-50%);
}

.crm-stitch-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(82px, 8vw, 124px) 0;
    border-bottom: 1px solid var(--crm-line);
    background:
        radial-gradient(circle at 74% 18%, rgba(69, 123, 157, 0.22) 0%, rgba(69, 123, 157, 0) 30%),
        linear-gradient(90deg, #ffffff 0%, #f8faff 48%, #eef5ff 100%);
}

.crm-stitch-hero::after {
    content: '';
    position: absolute;
    inset: 0 0 0 auto;
    width: 50%;
    background: linear-gradient(270deg, rgba(220, 233, 255, 0.82), rgba(220, 233, 255, 0));
    pointer-events: none;
}

.crm-stitch-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
    gap: clamp(44px, 5vw, 72px);
    align-items: center;
}

.crm-stitch-hero__copy {
    max-width: 760px;
}

.crm-stitch-hero h1 {
    max-width: 660px;
    margin-bottom: 24px;
    font-size: clamp(40px, 4.1vw, 58px);
    line-height: 1.08;
    font-weight: 800;
}

.crm-stitch-hero p {
    max-width: 67ch;
    margin: 0 0 18px;
    color: rgba(11, 28, 48, 0.76);
    font-size: clamp(17px, 1.25vw, 19px);
    line-height: 1.68;
}

.crm-stitch-hero__support {
    font-size: 16px !important;
    line-height: 1.62 !important;
}

.crm-stitch-hero__proof {
    display: grid;
    gap: 12px;
    margin: 22px 0 4px;
    padding: 18px 20px;
    border-left: 4px solid var(--crm-accent);
    border-radius: 0 14px 14px 0;
    background: rgba(255, 255, 255, 0.62);
}

.crm-stitch-hero__proof p {
    margin: 0;
}

.crm-stitch-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    margin-top: 12px;
    padding: 14px 22px;
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    background: var(--secondary);
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 18px 38px -28px rgba(230, 57, 70, 0.72);
    transition:
        transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
        background 220ms ease,
        box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.crm-stitch-button:hover {
    color: #ffffff;
    background: #c92e3a;
    box-shadow: 0 22px 44px -30px rgba(230, 57, 70, 0.84);
    transform: translate3d(0, -2px, 0);
}

.crm-stitch-button:active {
    transform: translate3d(0, 1px, 0) scale(0.99);
}

.crm-stitch-button--light {
    color: #ffffff;
    background: var(--secondary);
}

.crm-stitch-button--light:hover {
    color: #ffffff;
    background: #c92e3a;
}

.crm-stitch-arrow {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 12px;
}

.crm-stitch-arrow::before,
.crm-stitch-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    display: block;
    background: currentColor;
}

.crm-stitch-arrow::before {
    left: 0;
    height: 2px;
    transform: translateY(-50%);
}

.crm-stitch-arrow::after {
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    background: transparent;
    transform: translateY(-50%) rotate(45deg);
}

.crm-stitch-hero__media,
.crm-stitch-image-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--crm-line);
    border-radius: 16px;
    background: var(--crm-surface);
    box-shadow: 0 28px 70px -52px rgba(29, 53, 87, 0.55);
}

.crm-stitch-hero__media {
    height: clamp(430px, 43vw, 600px);
}

.crm-stitch-image-frame {
    min-height: 420px;
}

.crm-stitch-image-frame.crm-stitch-image-frame--crm-approach {
    min-height: 0;
    aspect-ratio: 1 / 1;
}

.crm-stitch-hero__media img,
.crm-stitch-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crm-stitch-image-frame img {
    position: absolute;
    inset: 0;
}

.crm-stitch-section {
    padding: clamp(72px, 8vw, 112px) 0;
}

.crm-stitch-section--surface {
    background: var(--crm-surface);
}

.crm-stitch-section--split {
    border-top: 1px solid var(--crm-line);
    border-bottom: 1px solid var(--crm-line);
    background: var(--crm-page-bg);
}

.crm-stitch-section--blueprint,
.crm-stitch-section--services,
.crm-stitch-section--faq {
    border-top: 1px solid var(--crm-line);
    border-bottom: 1px solid var(--crm-line);
    background: var(--crm-surface-low);
}

.crm-stitch-section-head {
    max-width: 760px;
    margin-bottom: clamp(34px, 4vw, 56px);
}

.crm-stitch-section-head--center {
    max-width: 840px;
    margin-inline: auto;
    text-align: center;
}

.crm-stitch-section-head h2 {
    margin: 0 0 20px;
    font-size: clamp(34px, 3.4vw, 52px);
    line-height: 1.1;
    font-weight: 800;
}

.crm-stitch-section-head p {
    margin: 0 auto;
    font-size: clamp(17px, 1.25vw, 19px);
    line-height: 1.65;
}

.crm-stitch-text-highlight {
    color: var(--crm-ink);
    font-weight: 900;
}

.crm-stitch-card,
.crm-stitch-criteria-card,
.crm-stitch-service-row,
.crm-stitch-bento-card,
.crm-stitch-faq-item {
    border: 1px solid var(--crm-line);
    background: var(--crm-surface);
    box-shadow: 0 18px 44px -38px rgba(29, 53, 87, 0.42);
}

.crm-stitch-card {
    padding: clamp(24px, 2.4vw, 32px);
    border-radius: 16px;
}

.crm-stitch-challenge-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 116px;
}

.crm-stitch-icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 999px;
    color: var(--crm-accent);
    background: var(--crm-accent-soft);
}

.crm-stitch-challenge-card .crm-stitch-icon {
    width: 42px;
    height: 42px;
    margin: 0;
    flex: 0 0 42px;
}

.crm-stitch-challenge-card .crm-stitch-icon svg {
    width: 24px;
    height: 24px;
}

.crm-stitch-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.crm-stitch-challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 28px);
}

.crm-stitch-outcome-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 28px);
}

.crm-stitch-challenge-card h3,
.crm-stitch-outcome-card h3,
.crm-stitch-audience-card h3 {
    margin: 0 0 12px;
    font-size: 21px;
    font-weight: 800;
}

.crm-stitch-challenge-card p,
.crm-stitch-outcome-card p,
.crm-stitch-audience-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.58;
}

.crm-stitch-challenge-card p {
    font-size: 15.5px;
    line-height: 1.42;
    font-weight: 700;
    color: var(--crm-ink);
}

.crm-stitch-callout {
    width: min(100%, 900px);
    margin: clamp(34px, 4vw, 54px) auto 0;
    padding: clamp(26px, 3vw, 40px);
    border: 1px solid var(--crm-line);
    border-radius: 18px;
    background: var(--crm-surface-mid);
    text-align: center;
}

.crm-stitch-callout p {
    margin: 0;
    color: var(--crm-ink);
    font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 700;
    line-height: 1.55;
}

.crm-stitch-narrative {
    width: min(100%, 920px);
    margin: calc(clamp(22px, 3vw, 40px) * -0.35) auto clamp(34px, 4vw, 52px);
    display: grid;
    gap: 14px;
    text-align: left;
}

.crm-stitch-narrative p {
    margin: 0;
    color: var(--crm-muted);
    font-size: clamp(16px, 1.15vw, 18px);
    line-height: 1.68;
}

.crm-stitch-callout--chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    background: var(--crm-surface-high);
}

.crm-stitch-callout--chips span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--crm-ink);
    background: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 700;
}

.crm-stitch-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.85fr);
    gap: clamp(44px, 5vw, 72px);
    align-items: center;
}

.crm-stitch-two-col--media-left {
    grid-template-columns: minmax(420px, 0.88fr) minmax(0, 1fr);
}

.crm-stitch-body-copy {
    max-width: 68ch;
    margin: 0 0 18px;
    font-size: 16.5px;
    line-height: 1.7;
}

.crm-stitch-mini-title {
    margin: 32px 0 16px;
    font-size: 22px;
}

.crm-stitch-check-list,
.crm-stitch-step-list,
.crm-stitch-service-row .solution-bullet-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.crm-stitch-check-list {
    display: grid;
    gap: 14px;
}

.crm-stitch-check-list li {
    position: relative;
    padding-left: 30px;
    font-size: 15.5px;
    line-height: 1.55;
}

.crm-stitch-check-list li::before {
    content: '';
    position: absolute;
    top: 0.52em;
    left: 0;
    width: 15px;
    height: 9px;
    border-left: 2px solid var(--crm-accent);
    border-bottom: 2px solid var(--crm-accent);
    transform: rotate(-45deg);
}

.crm-stitch-delivery-focus-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin-top: 18px;
}

@media (max-width: 700px) {
    .crm-stitch-delivery-focus-list {
        grid-template-columns: 1fr;
    }
}

.crm-stitch-side-panel {
    height: 100%;
    min-height: 360px;
    padding: clamp(30px, 4vw, 46px);
    border: 1px solid var(--crm-line);
    border-radius: 18px;
    background: var(--crm-surface-mid);
}

.crm-stitch-side-panel h2 {
    margin: 0 0 16px;
    font-size: clamp(26px, 2.2vw, 34px);
}

.crm-stitch-side-panel p {
    margin: 0;
    font-size: 16.5px;
    line-height: 1.68;
}

.crm-stitch-proof-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.crm-stitch-proof-card {
    grid-column: span 3;
    display: flex;
    min-height: 245px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.crm-stitch-proof-card:nth-child(3),
.crm-stitch-proof-card:nth-child(4) {
    grid-column: span 3;
}

.crm-stitch-proof-card__value {
    margin-bottom: 10px;
    color: var(--crm-blue);
    font-family: 'Outfit', sans-serif;
    font-size: clamp(42px, 4vw, 58px);
    font-weight: 800;
    line-height: 1;
}

.crm-stitch-proof-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.crm-stitch-proof-card p {
    margin: 0;
    max-width: 52ch;
    font-size: 15px;
    line-height: 1.58;
}

.crm-stitch-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 24px;
}

.crm-stitch-pill-row span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--crm-ink);
    background: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 800;
}

.crm-stitch-criteria-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 26px);
}

.crm-stitch-criteria-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    min-height: 172px;
    overflow: hidden;
    padding: clamp(24px, 2.3vw, 30px);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 252, 0.86));
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.crm-stitch-criteria-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--crm-accent), rgba(76, 154, 180, 0.26));
}

.crm-stitch-criteria-card:hover {
    border-color: rgba(76, 154, 180, 0.32);
    box-shadow: 0 24px 54px -42px rgba(29, 53, 87, 0.48);
    transform: translate3d(0, -2px, 0);
}

.crm-stitch-criteria-card .crm-stitch-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 0;
}

.crm-stitch-criteria-card .crm-stitch-icon svg {
    width: 25px;
    height: 25px;
}

.crm-stitch-criteria-card h3 {
    margin: 0 0 8px;
    font-size: clamp(18px, 1.45vw, 21px);
    line-height: 1.22;
}

.crm-stitch-criteria-card p {
    margin: 0;
    color: var(--crm-muted);
    font-size: 15.5px;
    line-height: 1.58;
}

.crm-stitch-evaluate-note {
    width: min(100%, 900px);
    margin: clamp(28px, 4vw, 46px) auto 0;
}

.crm-stitch-evaluate-note p {
    margin: 0;
    color: var(--crm-muted);
    font-size: clamp(16px, 1.15vw, 18px);
    line-height: 1.68;
    text-align: center;
}

.crm-stitch-service-stack {
    display: grid;
    gap: 24px;
}

.crm-stitch-service-row {
    display: grid;
    grid-template-columns: minmax(240px, 0.44fr) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 40px);
    align-items: start;
    padding: clamp(26px, 3vw, 38px);
    border-radius: 16px;
}

.crm-stitch-service-row__title h3 {
    margin: 0;
    font-size: clamp(24px, 2vw, 32px);
}

.crm-stitch-service-row__body p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.68;
}

.crm-stitch-service-row .solution-bullet-list {
    display: grid;
    gap: 8px;
}

.crm-stitch-service-row .solution-bullet-list li {
    padding-left: 22px;
    font-size: 14.5px;
}

.crm-stitch-service-row .solution-bullet-list li::before {
    top: 0.7em;
    background: var(--crm-accent);
}

.crm-stitch-bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.crm-stitch-bento-card {
    min-height: 230px;
    padding: clamp(24px, 2.5vw, 34px);
    border-radius: 22px;
    background: var(--crm-surface-low);
    transition: background 220ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.crm-stitch-bento-card:hover {
    background: var(--crm-surface-mid);
    transform: translate3d(0, -2px, 0);
}

.crm-stitch-bento-card--wide {
    grid-column: span 2;
}

.crm-stitch-bento--equal .crm-stitch-bento-card {
    min-height: 220px;
}

.crm-stitch-bento-card h3 {
    margin: 0 0 12px;
    font-size: clamp(22px, 2vw, 32px);
}

.crm-stitch-bento-card p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.62;
}

.crm-stitch-centered-copy {
    width: min(100%, 760px);
    margin: -28px auto 40px;
    text-align: center;
    font-size: 17px;
    line-height: 1.68;
}

.crm-stitch-outcome-card {
    padding: 28px;
    border-radius: 0 0 16px 16px;
    border-top: 5px solid var(--crm-blue);
}

.crm-stitch-step-list {
    display: grid;
    gap: 26px;
    margin-top: 30px;
}

.crm-stitch-step-list li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.crm-stitch-step-list li > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--crm-blue);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.crm-stitch-step-list h3 {
    margin: 0 0 6px;
    font-size: 20px;
}

.crm-stitch-step-list p {
    margin: 0;
    font-size: 15px;
    line-height: 1.58;
}

.crm-stitch-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.crm-stitch-audience-card {
    text-align: center;
}

.crm-stitch-audience-card .crm-stitch-icon {
    margin-inline: auto;
}

.crm-stitch-audience-card strong {
    display: block;
    margin: 18px 0 5px;
    color: var(--crm-ink);
    font-size: 15px;
}

.crm-stitch-faq-stack {
    display: grid;
    gap: 18px;
}

.crm-stitch-faq-item {
    padding: 24px;
    border-radius: 16px;
}

.crm-stitch-faq-item h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 12px;
    font-size: 20px;
}

.crm-stitch-faq-item h3 > span {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.crm-stitch-faq-item h3 > span::before,
.crm-stitch-faq-item h3 > span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: var(--crm-blue);
    transform: translate(-50%, -50%);
}

.crm-stitch-faq-item h3 > span::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.crm-stitch-faq-item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.68;
}

.crm-stitch-faq-item.solution-faq-enhanced {
    padding: 0;
    overflow: hidden;
}

.crm-stitch-faq-item.solution-faq-enhanced h3 {
    margin: 0;
}

.crm-stitch-faq-item.solution-faq-enhanced .solution-faq-trigger {
    padding: 24px;
    color: var(--crm-ink);
}

.crm-stitch-faq-item.solution-faq-enhanced .solution-faq-trigger span:first-child {
    font-size: 20px;
    line-height: 1.28;
}

.crm-stitch-faq-item.solution-faq-enhanced .solution-faq-panel-inner {
    padding: 0 24px 24px;
}

.crm-stitch-faq-item.solution-faq-enhanced .solution-faq-panel-inner p {
    color: var(--crm-muted);
}

.crm-stitch-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(76px, 8vw, 112px) 0;
    color: #ffffff;
    text-align: center;
    background:
        radial-gradient(circle at 18% 16%, rgba(69, 123, 157, 0.42) 0%, rgba(69, 123, 157, 0) 30%),
        linear-gradient(135deg, #10243b 0%, var(--crm-ink) 58%, #29496e 100%);
}

.crm-stitch-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.crm-stitch-cta .crm-stitch-wrap {
    position: relative;
    z-index: 1;
}

.crm-stitch-cta h2 {
    width: min(100%, 760px);
    margin: 0 auto 22px;
    color: #ffffff;
    font-size: clamp(38px, 4vw, 62px);
    line-height: 1.06;
    font-weight: 800;
}

.crm-stitch-cta p {
    width: min(100%, 780px);
    margin: 0 auto 34px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.66;
}

.legal-stitch-page .crm-stitch-hero h1 {
    max-width: 760px;
}

.legal-stitch-page .crm-stitch-hero__media {
    height: auto;
    aspect-ratio: 16 / 10;
}

.legal-stitch-page .crm-stitch-hero__media img {
    object-position: center;
}

.legal-stitch-proof-grid .crm-stitch-proof-card {
    min-height: 220px;
}

.legal-stitch-proof-grid .crm-stitch-proof-card .crm-stitch-icon {
    margin-inline: auto;
}

.legal-stitch-callout h3 {
    margin: 0 0 12px;
    color: var(--crm-ink);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 800;
}

.legal-stitch-stat-pills {
    margin-bottom: clamp(30px, 4vw, 48px);
}

.legal-stitch-stat-pills .legal-stitch-stat-pill--highlight {
    color: #ffffff;
    background: var(--crm-accent);
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(230, 57, 70, 0.22);
}

.legal-stitch-workflow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 0;
}

.legal-stitch-workflow-card {
    min-height: 250px;
    padding: clamp(24px, 2.4vw, 32px);
}

.legal-stitch-workflow-card .crm-stitch-icon {
    margin-bottom: 22px;
}

.legal-stitch-workflow-card h3 {
    min-height: 2.4em;
    margin-bottom: 16px;
    font-size: clamp(21px, 1.55vw, 26px);
}

.legal-stitch-workflow-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.legal-stitch-workflow-list li {
    position: relative;
    padding-left: 20px;
    color: var(--crm-muted);
    font-size: 15.5px;
    line-height: 1.5;
}

.legal-stitch-workflow-list li::before {
    content: '';
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--crm-accent);
}

.legal-stitch-operations-top {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: end;
    margin-bottom: clamp(26px, 3.4vw, 44px);
}

.legal-stitch-operations-heading {
    max-width: 780px;
    margin-bottom: 0;
}

.legal-stitch-operations-lead {
    padding: clamp(22px, 2.6vw, 32px) 0 clamp(22px, 2.6vw, 32px) clamp(24px, 3vw, 36px);
    border-left: 3px solid var(--crm-accent);
}

.legal-stitch-operations-lead p {
    margin: 0;
    color: var(--crm-ink);
    font-size: clamp(17px, 1.22vw, 19px);
    line-height: 1.68;
}

.legal-stitch-operations-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(18px, 2.2vw, 26px);
}

.legal-stitch-operations-card {
    position: relative;
    min-height: 190px;
    padding: clamp(24px, 3vw, 36px);
    overflow: hidden;
    border: 1px solid var(--crm-line);
    border-radius: 18px;
    background: var(--crm-surface);
    box-shadow: 0 22px 58px rgba(13, 24, 42, 0.07);
}

.legal-stitch-operations-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--crm-accent);
}

.legal-stitch-operations-card p {
    position: relative;
    margin: 0;
    color: var(--crm-muted);
    font-size: clamp(16px, 1.12vw, 18px);
    line-height: 1.68;
}

.legal-stitch-operations-card--accent {
    background: linear-gradient(135deg, #ffffff 0%, #f2f7ff 100%);
}

.legal-stitch-operations-card--accent p {
    color: var(--crm-ink);
}

.legal-stitch-platform-head {
    max-width: none;
    margin-bottom: clamp(30px, 3.8vw, 48px);
}

.legal-stitch-platform-head p {
    width: min(100%, 1080px);
    margin-inline: 0;
}

.legal-stitch-platform-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.86fr);
    align-items: center;
    gap: clamp(36px, 4.6vw, 64px);
}

.legal-stitch-platform-grid > div:first-child {
    max-width: 650px;
}

.legal-stitch-platform-grid .crm-stitch-mini-title {
    margin-top: 0;
    margin-bottom: 18px;
}

.legal-stitch-platform-grid .crm-stitch-check-list {
    gap: 13px;
    margin-bottom: clamp(22px, 2.4vw, 30px);
}

.legal-stitch-platform-grid .crm-stitch-check-list li {
    font-size: 16px;
    line-height: 1.55;
}

.legal-stitch-platform-grid .crm-stitch-body-copy:last-child {
    margin-bottom: 0;
}

.legal-stitch-side-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.legal-stitch-platform-visual {
    justify-self: end;
    width: min(100%, 560px);
    min-height: 340px;
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--crm-line);
    border-radius: 18px;
    background: var(--crm-surface-mid);
    box-shadow: 0 24px 70px rgba(13, 24, 42, 0.1);
}

.legal-stitch-platform-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.legal-stitch-contract-visual {
    height: 100%;
    min-height: 360px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--crm-line);
    border-radius: 18px;
    background: var(--crm-surface-mid);
    box-shadow: 0 24px 70px rgba(13, 24, 42, 0.1);
}

.legal-stitch-contract-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.legal-stitch-chip-grid {
    display: flex;
    gap: 10px;
    margin: 0;
}

.legal-stitch-chip-grid span {
    border-radius: 10px;
}

.legal-stitch-metric-panel {
    display: grid;
    align-content: center;
    gap: 24px;
}

.legal-stitch-metric-panel strong {
    display: block;
    color: var(--crm-blue);
    font-family: 'Outfit', sans-serif;
    font-size: clamp(44px, 4.4vw, 68px);
    font-weight: 800;
    line-height: 1;
}

.legal-stitch-metric-panel > div:not(.legal-stitch-chip-grid) span {
    display: block;
    max-width: 24ch;
    margin-top: 8px;
    color: var(--crm-ink);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.legal-stitch-metric-panel .legal-stitch-chip-grid {
    margin-top: 6px;
}

.hr-stitch-page .crm-stitch-hero h1 {
    max-width: 760px;
}

.hr-stitch-page .crm-stitch-hero__media {
    height: auto;
    aspect-ratio: 16 / 10;
}

.hr-stitch-page .crm-stitch-hero__media img {
    object-position: center;
}

.hr-stitch-side-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hr-stitch-platform-matter-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hr-stitch-platform-matter-panel .crm-stitch-icon {
    margin-bottom: 18px;
}

.hr-stitch-platform-matter-panel p {
    max-width: 44ch;
}

.hr-stitch-platform-matter-visual {
    width: 100%;
    margin: 28px 0 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    aspect-ratio: 16 / 10;
    background: transparent;
    box-shadow: none;
}

.hr-stitch-platform-matter-visual img {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
}

.hr-stitch-value-grid .crm-stitch-proof-card {
    min-height: 210px;
}

.hr-stitch-value-grid .crm-stitch-proof-card .crm-stitch-icon {
    margin-inline: auto;
}

.hr-stitch-value-grid .crm-stitch-proof-card p,
.hr-stitch-outcome-grid .crm-stitch-outcome-card p {
    color: var(--crm-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
}

.hr-stitch-capability-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hr-stitch-capability-card {
    min-height: 250px;
}

.hr-stitch-capability-card h3 {
    font-size: clamp(21px, 1.55vw, 26px);
}

.hr-stitch-metric-panel {
    display: grid;
    align-content: center;
    gap: 24px;
}

.hr-stitch-metric-panel strong {
    display: block;
    color: var(--crm-blue);
    font-family: 'Outfit', sans-serif;
    font-size: clamp(44px, 4.4vw, 68px);
    font-weight: 800;
    line-height: 1;
}

.hr-stitch-metric-panel > div:not(.hr-stitch-chip-grid) span {
    display: block;
    max-width: 24ch;
    margin-top: 8px;
    color: var(--crm-ink);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.hr-stitch-chip-grid {
    display: flex;
    gap: 10px;
    margin: 6px 0 0;
}

.hr-stitch-chip-grid span {
    border-radius: 10px;
}

.hr-stitch-unified-visual {
    align-self: stretch;
    min-height: 360px;
    height: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--crm-line);
    border-radius: 18px;
    background: var(--crm-surface-mid);
    box-shadow: 0 24px 70px rgba(13, 24, 42, 0.1);
}

.hr-stitch-unified-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hr-stitch-delivery-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-height: 360px;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.hr-stitch-delivery-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.hr-stitch-delivery-step-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 16px;
    margin-top: 26px;
}

.hr-stitch-delivery-step-list li {
    grid-template-columns: 1fr;
    gap: 12px;
    align-content: start;
    min-height: 118px;
    padding-top: 16px;
    border-top: 1px solid var(--crm-line);
}

.hr-stitch-delivery-step-list li > span {
    width: 34px;
    height: 34px;
    font-size: 12px;
}

.hr-stitch-delivery-step-list h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.42;
}

.hr-stitch-outcome-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(16px, 1.8vw, 24px);
    align-items: stretch;
}

.hr-stitch-outcome-grid .crm-stitch-outcome-card {
    position: relative;
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 184px;
    padding: clamp(24px, 2.25vw, 32px);
    overflow: hidden;
    border: 1px solid var(--crm-line);
    border-top: 4px solid var(--crm-accent);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.96) 100%);
    box-shadow: 0 24px 60px -46px rgba(29, 53, 87, 0.58);
}

.hr-stitch-outcome-grid .crm-stitch-outcome-card:nth-child(n+4) {
    grid-column: span 3;
    min-height: 162px;
}

.hr-stitch-outcome-grid .crm-stitch-outcome-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--crm-accent) 0%, rgba(69, 123, 157, 0.26) 100%);
}

.hr-stitch-outcome-grid .crm-stitch-outcome-card p {
    position: relative;
    max-width: 32ch;
}

.hr-stitch-outcome-grid .crm-stitch-outcome-card:nth-child(n+4) p {
    max-width: 50ch;
}

/* Solution page alignment polish across CRM, Legal, and HRSD */
.crm-stitch-section-head:not(.crm-stitch-section-head--center),
.crm-stitch-two-col .crm-stitch-section-head {
    margin-bottom: clamp(24px, 3vw, 38px);
}

.crm-stitch-section-head:not(.crm-stitch-section-head--center) p,
.crm-stitch-two-col .crm-stitch-section-head p {
    max-width: 66ch;
    margin-inline: 0;
}

.crm-stitch-section-head--center p {
    max-width: 70ch;
}

.crm-stitch-body-copy,
.crm-stitch-centered-copy,
.crm-stitch-narrative p,
.crm-stitch-evaluate-note p,
.crm-stitch-callout p {
    text-wrap: pretty;
}

.crm-stitch-challenge-grid,
.crm-stitch-proof-grid,
.crm-stitch-criteria-grid,
.crm-stitch-bento,
.crm-stitch-outcome-grid,
.crm-stitch-audience-grid,
.legal-stitch-operations-grid,
.legal-stitch-workflow-grid {
    align-items: stretch;
}

.crm-stitch-card,
.crm-stitch-criteria-card,
.crm-stitch-service-row,
.crm-stitch-bento-card,
.crm-stitch-outcome-card,
.crm-stitch-audience-card,
.legal-stitch-operations-card,
.legal-stitch-workflow-card {
    box-sizing: border-box;
    height: 100%;
}

.crm-stitch-challenge-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 6px 14px;
    align-content: start;
    align-items: start;
}

.crm-stitch-challenge-card .crm-stitch-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.crm-stitch-challenge-card h3,
.crm-stitch-challenge-card p {
    grid-column: 2;
}

.crm-stitch-challenge-card h3 {
    margin-bottom: 2px;
    line-height: 1.2;
}

.crm-stitch-challenge-card p {
    max-width: 34ch;
}

.crm-stitch-criteria-card {
    align-content: start;
    align-items: start;
}

.crm-stitch-criteria-card > div,
.crm-stitch-service-row__body {
    min-width: 0;
}

.crm-stitch-criteria-card h3,
.crm-stitch-bento-card h3,
.legal-stitch-workflow-card h3 {
    text-wrap: balance;
}

.crm-stitch-bento-card,
.legal-stitch-workflow-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.crm-stitch-bento-card h3 {
    min-height: 2.35em;
    max-width: 20ch;
    line-height: 1.18;
}

.crm-stitch-bento-card p,
.legal-stitch-workflow-list li {
    max-width: 36ch;
}

.crm-stitch-service-row__title {
    display: grid;
    align-content: start;
    gap: 18px;
}

.crm-stitch-service-row__title .crm-stitch-icon {
    margin-bottom: 0;
}

.crm-stitch-service-row__body {
    max-width: 76ch;
}

.crm-stitch-service-row__body p:last-child {
    margin-bottom: 0;
}

.crm-stitch-outcome-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.crm-stitch-outcome-card p {
    max-width: 38ch;
}

.crm-stitch-audience-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.crm-stitch-audience-card p {
    max-width: 31ch;
    margin-inline: auto;
}

.legal-stitch-operations-card {
    display: flex;
    align-items: flex-start;
}

.hr-stitch-delivery-step-list li {
    height: 100%;
}

@media (max-width: 1120px) {
    .crm-stitch-hero__grid,
    .crm-stitch-two-col,
    .crm-stitch-two-col--media-left {
        grid-template-columns: 1fr;
    }

    .crm-stitch-two-col--media-left .crm-stitch-image-frame {
        order: 2;
    }

    .crm-stitch-hero h1 {
        max-width: 16ch;
    }

    .crm-stitch-hero__media,
    .crm-stitch-image-frame,
    .hr-stitch-unified-visual,
    .hr-stitch-delivery-visual {
        min-height: 0;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .crm-stitch-challenge-grid,
    .crm-stitch-outcome-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hr-stitch-outcome-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hr-stitch-outcome-grid .crm-stitch-outcome-card,
    .hr-stitch-outcome-grid .crm-stitch-outcome-card:nth-child(n+4) {
        grid-column: span 1;
        min-height: 154px;
    }

    .hr-stitch-outcome-grid .crm-stitch-outcome-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .crm-stitch-bento,
    .crm-stitch-audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .crm-stitch-bento-card--wide {
        grid-column: span 2;
    }

    .hr-stitch-delivery-step-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .crm-stitch-wrap {
        padding-inline: 18px;
    }

    .crm-stitch-hero {
        padding: 58px 0 66px;
    }

    .crm-stitch-hero h1 {
        max-width: none;
        font-size: clamp(31px, 9vw, 40px);
        line-height: 1.08;
    }

    .crm-stitch-hero p,
    .crm-stitch-section-head p {
        font-size: 16px;
    }

    .crm-stitch-hero__proof {
        margin-top: 20px;
        padding: 16px;
    }

    .crm-stitch-section {
        padding: 58px 0;
    }

    .crm-stitch-section-head {
        margin-bottom: 30px;
        text-align: left;
    }

    .crm-stitch-section-head--center {
        text-align: left;
    }

    .crm-stitch-section-head--center p,
    .crm-stitch-centered-copy,
    .crm-stitch-callout p {
        max-width: none;
        margin-inline: 0;
    }

    .crm-stitch-section-head h2 {
        font-size: clamp(30px, 8vw, 38px);
    }

    .crm-stitch-challenge-grid,
    .crm-stitch-proof-grid,
    .crm-stitch-criteria-grid,
    .crm-stitch-bento,
    .crm-stitch-outcome-grid,
    .crm-stitch-audience-grid,
    .legal-stitch-operations-top,
    .legal-stitch-operations-grid {
        grid-template-columns: 1fr;
    }

    .legal-stitch-operations-heading {
        max-width: none;
    }

    .legal-stitch-operations-lead {
        padding: 20px 0 0;
        border-left: 0;
        border-top: 3px solid var(--crm-accent);
    }

    .crm-stitch-proof-card,
    .crm-stitch-proof-card:nth-child(3),
    .crm-stitch-proof-card:nth-child(4),
    .crm-stitch-bento-card--wide {
        grid-column: auto;
    }

    .crm-stitch-service-row {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .crm-stitch-challenge-card {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .crm-stitch-challenge-card p,
    .crm-stitch-bento-card p,
    .crm-stitch-outcome-card p,
    .crm-stitch-audience-card p,
    .legal-stitch-workflow-list li {
        max-width: none;
    }

    .crm-stitch-bento-card h3,
    .legal-stitch-workflow-card h3 {
        min-height: 0;
        max-width: none;
    }

    .crm-stitch-audience-card {
        align-items: flex-start;
        text-align: left;
    }

    .crm-stitch-audience-card .crm-stitch-icon,
    .legal-stitch-proof-grid .crm-stitch-proof-card .crm-stitch-icon,
    .hr-stitch-value-grid .crm-stitch-proof-card .crm-stitch-icon {
        margin-inline: 0;
    }

    .crm-stitch-criteria-card {
        grid-template-columns: 1fr;
    }

    .crm-stitch-side-panel {
        min-height: 0;
    }

    .hr-stitch-delivery-step-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 14px;
    }

    .legal-stitch-platform-visual {
        width: 100%;
        min-height: 0;
        justify-self: stretch;
    }

    .legal-stitch-contract-visual {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .crm-stitch-centered-copy {
        margin-top: -10px;
        text-align: left;
    }

    .crm-stitch-callout {
        text-align: left;
    }

    .hr-stitch-outcome-grid .crm-stitch-outcome-card,
    .hr-stitch-outcome-grid .crm-stitch-outcome-card:nth-child(n+4),
    .hr-stitch-outcome-grid .crm-stitch-outcome-card:last-child:nth-child(odd) {
        grid-column: auto;
        min-height: 0;
    }

    .hr-stitch-outcome-grid .crm-stitch-outcome-card p,
    .hr-stitch-outcome-grid .crm-stitch-outcome-card:nth-child(n+4) p {
        max-width: none;
    }
}

/* Solution page content motion: subtle, section-aware, transform-only */
.js-enabled .page-layout--solution [data-reveal],
.js-enabled body.page-id-27 [data-reveal] {
    --solution-reveal-x: 0;
    --solution-reveal-y: 18px;
    --solution-reveal-scale: 1;
    opacity: 0;
    filter: none;
    transform: translate3d(var(--solution-reveal-x), var(--solution-reveal-y), 0) scale(var(--solution-reveal-scale));
    transition:
        opacity 640ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
        transform 640ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.js-enabled .page-layout--solution [data-reveal].is-visible,
.js-enabled body.page-id-27 [data-reveal].is-visible {
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0) scale(1);
}

.js-enabled .page-layout--solution [data-reveal].reveal-complete,
.js-enabled body.page-id-27 [data-reveal].reveal-complete {
    transition:
        opacity 220ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1),
        background 280ms cubic-bezier(0.16, 1, 0.3, 1),
        color 280ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: auto;
}

.js-enabled .page-layout--solution .solution-enhanced-section__header[data-reveal],
.js-enabled body.page-id-27 .section-header[data-reveal] {
    --solution-reveal-y: 22px;
}

.js-enabled .page-layout--solution .solution-feature-split__copy[data-reveal],
.js-enabled body.page-id-27 .content-section > .content-grid[data-reveal] {
    --solution-reveal-x: -18px;
    --solution-reveal-y: 16px;
}

.js-enabled .page-layout--solution .solution-feature-split__media[data-reveal],
.js-enabled .page-layout--solution .solution-workflow-matrix__visual[data-reveal],
.js-enabled .page-layout--solution .solution-roadmap-layout__media[data-reveal],
.js-enabled .page-layout--solution .solution-outcomes-dashboard[data-reveal],
.js-enabled .page-layout--solution .solution-faq-visual[data-reveal],
.js-enabled body.page-id-27 .hrsd-section-visual[data-reveal] {
    --solution-reveal-x: 18px;
    --solution-reveal-y: 18px;
    --solution-reveal-scale: 0.985;
}

.js-enabled .page-layout--solution .solution-detail-card[data-reveal]:nth-child(odd),
.js-enabled .page-layout--solution .solution-image-card[data-reveal]:nth-child(odd),
.js-enabled .page-layout--solution .solution-workflow-card[data-reveal]:nth-child(odd),
.js-enabled .page-layout--solution .solution-outcome-card[data-reveal]:nth-child(odd),
.js-enabled body.page-id-27 .content-card[data-reveal]:nth-child(odd) {
    --solution-reveal-x: -12px;
    --solution-reveal-y: 20px;
    --solution-reveal-scale: 0.99;
}

.js-enabled .page-layout--solution .solution-detail-card[data-reveal]:nth-child(even),
.js-enabled .page-layout--solution .solution-image-card[data-reveal]:nth-child(even),
.js-enabled .page-layout--solution .solution-workflow-card[data-reveal]:nth-child(even),
.js-enabled .page-layout--solution .solution-outcome-card[data-reveal]:nth-child(even),
.js-enabled body.page-id-27 .content-card[data-reveal]:nth-child(even) {
    --solution-reveal-x: 12px;
    --solution-reveal-y: 20px;
    --solution-reveal-scale: 0.99;
}

.js-enabled .page-layout--solution .solution-chip[data-reveal],
.js-enabled .page-layout--solution .solution-pill[data-reveal] {
    --solution-reveal-y: 10px;
    --solution-reveal-scale: 0.96;
}

.js-enabled .page-layout--solution .solution-roadmap-step[data-reveal] {
    --solution-reveal-x: -16px;
    --solution-reveal-y: 18px;
}

.js-enabled .crm-stitch-page .solution-pointer-motion[data-reveal],
.js-enabled .page-layout--solution .solution-pointer-motion[data-reveal] {
    opacity: 0;
    filter: none;
    transform: translate3d(0, 12px, 0) scale(0.985);
    transition:
        opacity 520ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
        transform 520ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.js-enabled .crm-stitch-page .solution-pointer-motion[data-reveal].is-visible,
.js-enabled .page-layout--solution .solution-pointer-motion[data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.js-enabled .crm-stitch-page .solution-pointer-motion[data-reveal].reveal-complete,
.js-enabled .page-layout--solution .solution-pointer-motion[data-reveal].reveal-complete {
    transition:
        transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
        color 260ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: auto;
}

.crm-stitch-page .solution-pointer-motion::before,
.page-layout--solution .solution-pointer-motion::before,
.crm-stitch-page .solution-pointer-motion > span,
.page-layout--solution .solution-pointer-motion > span {
    transition:
        transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 260ms cubic-bezier(0.16, 1, 0.3, 1),
        background 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .crm-stitch-page .solution-pointer-motion[data-reveal].is-visible:hover,
.js-enabled .page-layout--solution .solution-pointer-motion[data-reveal].is-visible:hover {
    transform: translate3d(4px, -1px, 0) scale(1);
}

.crm-stitch-page .crm-stitch-check-list .solution-pointer-motion.reveal-complete:hover::before,
.page-layout--solution .crm-stitch-check-list .solution-pointer-motion.reveal-complete:hover::before {
    transform: rotate(-45deg) translate3d(2px, -1px, 0) scale(1.12);
}

.crm-stitch-page .solution-bullet-list .solution-pointer-motion.reveal-complete:hover::before,
.page-layout--solution .solution-bullet-list .solution-pointer-motion.reveal-complete:hover::before {
    transform: scale(1.25);
    box-shadow: 0 0 0 5px rgba(230, 57, 70, 0.1);
}

.crm-stitch-page .crm-stitch-step-list .solution-pointer-motion.reveal-complete:hover > span,
.page-layout--solution .crm-stitch-step-list .solution-pointer-motion.reveal-complete:hover > span {
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 9px 18px rgba(29, 53, 87, 0.14);
}

.js-enabled .page-layout--solution .solution-faq-item[data-reveal],
.js-enabled body.page-id-27 .faq-item[data-reveal] {
    --solution-reveal-y: 14px;
}

.page-layout--solution .solution-enhanced-section__header h2,
body.page-id-27 .section-header h2 {
    position: relative;
}

.page-layout--solution .solution-enhanced-section__header h2::after,
body.page-id-27 .section-header h2::after {
    content: '';
    display: block;
    width: clamp(52px, 6vw, 86px);
    height: 3px;
    margin-top: clamp(14px, 1.7vw, 20px);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--secondary) 0%, rgba(69, 123, 157, 0.34) 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 760ms cubic-bezier(0.16, 1, 0.3, 1) 120ms;
}

.page-layout--solution .solution-enhanced-section.is-in-view .solution-enhanced-section__header h2::after,
body.page-id-27 .content-section.is-in-view .section-header h2::after {
    transform: scaleX(1);
}

.page-layout--solution:not(.page-layout--solution-crm) .solution-detail-card,
.page-layout--solution:not(.page-layout--solution-crm) .solution-image-card,
.page-layout--solution:not(.page-layout--solution-crm) .solution-workflow-card,
.page-layout--solution:not(.page-layout--solution-crm) .solution-outcome-card,
body.page-id-27 .content-card {
    transition:
        transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-layout--solution:not(.page-layout--solution-crm) .solution-detail-card:hover,
.page-layout--solution:not(.page-layout--solution-crm) .solution-image-card:hover,
.page-layout--solution:not(.page-layout--solution-crm) .solution-workflow-card:hover,
.page-layout--solution:not(.page-layout--solution-crm) .solution-outcome-card:hover,
body.page-id-27 .content-card:hover {
    transform: translate3d(0, -5px, 0);
}

.js-enabled body.page-id-27 .content-card[data-reveal].is-visible:hover {
    transform: translate3d(0, -5px, 0);
}

.page-layout--solution-crm .solution-detail-card,
.page-layout--solution-crm .solution-image-card,
.page-layout--solution-crm .solution-workflow-card,
.page-layout--solution-crm .solution-outcome-card,
.page-layout--solution-crm .solution-faq-item {
    transition:
        border-color 260ms cubic-bezier(0.16, 1, 0.3, 1),
        color 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-layout--solution-crm .solution-detail-card:hover,
.page-layout--solution-crm .solution-image-card:hover,
.page-layout--solution-crm .solution-workflow-card:hover,
.page-layout--solution-crm .solution-outcome-card:hover,
.page-layout--solution-crm .solution-faq-item:hover {
    border-bottom-color: rgba(230, 57, 70, 0.34);
}

.js-enabled .crm-stitch-page .solution-card-motion[data-reveal],
.js-enabled .page-layout--solution .solution-card-motion[data-reveal] {
    --card-motion-x: 0;
    opacity: 0;
    filter: none;
    transform: translate3d(var(--card-motion-x), 18px, 0) scale(0.985);
    transition:
        opacity 580ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
        transform 580ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
        border-color 260ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1),
        background 260ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.js-enabled .crm-stitch-page .solution-card-motion[data-reveal]:nth-child(odd),
.js-enabled .page-layout--solution .solution-card-motion[data-reveal]:nth-child(odd) {
    --card-motion-x: -8px;
}

.js-enabled .crm-stitch-page .solution-card-motion[data-reveal]:nth-child(even),
.js-enabled .page-layout--solution .solution-card-motion[data-reveal]:nth-child(even) {
    --card-motion-x: 8px;
}

.js-enabled .crm-stitch-page .solution-card-motion[data-reveal].is-visible,
.js-enabled .page-layout--solution .solution-card-motion[data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.js-enabled .crm-stitch-page .solution-card-motion[data-reveal].reveal-complete,
.js-enabled .page-layout--solution .solution-card-motion[data-reveal].reveal-complete {
    transition:
        transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1),
        background 280ms cubic-bezier(0.16, 1, 0.3, 1),
        color 260ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: auto;
}

.crm-stitch-page .solution-card-motion .crm-stitch-icon,
.page-layout--solution .solution-card-motion .crm-stitch-icon,
.page-layout--solution .solution-card-motion .solution-detail-card__icon,
.page-layout--solution .solution-card-motion .solution-workflow-card__icon,
.page-layout--solution .solution-card-motion .solution-outcome-card__icon {
    transition:
        transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
        background 280ms cubic-bezier(0.16, 1, 0.3, 1),
        color 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .crm-stitch-page .solution-card-motion[data-reveal].is-visible.reveal-complete:hover,
.js-enabled .page-layout--solution .solution-card-motion[data-reveal].is-visible.reveal-complete:hover {
    transform: translate3d(0, -5px, 0) scale(1.004);
    border-color: rgba(230, 57, 70, 0.22);
    box-shadow: 0 24px 54px -34px rgba(13, 24, 42, 0.34);
}

.crm-stitch-page .solution-card-motion.reveal-complete:hover .crm-stitch-icon,
.page-layout--solution .solution-card-motion.reveal-complete:hover .crm-stitch-icon,
.page-layout--solution .solution-card-motion.reveal-complete:hover .solution-detail-card__icon,
.page-layout--solution .solution-card-motion.reveal-complete:hover .solution-workflow-card__icon,
.page-layout--solution .solution-card-motion.reveal-complete:hover .solution-outcome-card__icon {
    transform: translate3d(0, -2px, 0) scale(1.03);
}

.page-layout--solution .solution-detail-card__icon,
.page-layout--solution .solution-workflow-card__icon,
.page-layout--solution .solution-outcome-card__icon,
body.page-id-27 .content-card::before {
    transition:
        transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
        background 280ms cubic-bezier(0.16, 1, 0.3, 1),
        color 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-layout--solution .solution-detail-card:hover .solution-detail-card__icon,
.page-layout--solution .solution-workflow-card:hover .solution-workflow-card__icon,
.page-layout--solution .solution-outcome-card:hover .solution-outcome-card__icon {
    transform: translate3d(0, -2px, 0);
}

.page-layout--solution-crm .solution-detail-card:hover .solution-detail-card__icon,
.page-layout--solution-crm .solution-workflow-card:hover .solution-workflow-card__icon,
.page-layout--solution-crm .solution-outcome-card:hover .solution-outcome-card__icon {
    background: rgba(230, 57, 70, 0.08);
    color: var(--secondary);
    transform: translate3d(0, -2px, 0);
}

.page-layout--solution .solution-bullet-list li::before,
.page-layout--solution .solution-chip::before,
.page-layout--solution .solution-pill::before {
    transition:
        transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-layout--solution .solution-detail-card:hover .solution-bullet-list li::before,
.page-layout--solution .solution-image-card:hover .solution-bullet-list li::before,
.page-layout--solution .solution-workflow-card:hover .solution-bullet-list li::before,
.page-layout--solution .solution-outcome-card:hover .solution-bullet-list li::before {
    transform: translateY(-50%) scale(1.22);
    box-shadow: 0 0 0 5px rgba(230, 57, 70, 0.1);
}

.page-layout--solution .solution-chip:hover,
.page-layout--solution .solution-pill:hover {
    transform: translate3d(0, -2px, 0);
    border-color: rgba(230, 57, 70, 0.22);
}

.js-enabled .page-layout--solution .solution-chip[data-reveal].is-visible:hover,
.js-enabled .page-layout--solution .solution-pill[data-reveal].is-visible:hover {
    transform: translate3d(0, -2px, 0) scale(1);
}

.page-layout--solution .solution-chip.is-visible::before,
.page-layout--solution .solution-pill.is-visible::before {
    animation: solutionDotPulse 1800ms cubic-bezier(0.16, 1, 0.3, 1) 360ms 2;
}

.page-layout--solution .solution-faq-trigger,
body.page-id-27 .faq-item h3 {
    transition:
        color 220ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-layout--solution .solution-faq-item:hover .solution-faq-trigger {
    color: var(--secondary);
}

.page-layout--solution .solution-faq-enhanced.is-open .solution-faq-trigger {
    color: var(--secondary);
}

.page-layout--solution .cta-panel .btn,
.page-layout--solution .page-hero-actions .btn,
body.page-id-27 .cta-panel .btn {
    transition:
        transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1),
        background-color 220ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-layout--solution .cta-panel .btn:active,
.page-layout--solution .page-hero-actions .btn:active,
body.page-id-27 .cta-panel .btn:active {
    transform: translate3d(0, 1px, 0) scale(0.985);
}

@keyframes solutionDotPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12);
    }
    52% {
        transform: scale(1.16);
        box-shadow: 0 0 0 8px rgba(230, 57, 70, 0.04);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12);
    }
}

@media (max-width: 640px) {
    .js-enabled .page-layout--solution .solution-feature-split__copy[data-reveal],
    .js-enabled .page-layout--solution .solution-feature-split__media[data-reveal],
    .js-enabled .page-layout--solution .solution-workflow-matrix__visual[data-reveal],
    .js-enabled .page-layout--solution .solution-roadmap-layout__media[data-reveal],
    .js-enabled .page-layout--solution .solution-outcomes-dashboard[data-reveal],
    .js-enabled .page-layout--solution .solution-faq-visual[data-reveal],
    .js-enabled .page-layout--solution .solution-detail-card[data-reveal],
    .js-enabled .page-layout--solution .solution-image-card[data-reveal],
    .js-enabled .page-layout--solution .solution-workflow-card[data-reveal],
    .js-enabled .page-layout--solution .solution-outcome-card[data-reveal],
    .js-enabled body.page-id-27 [data-reveal] {
        --solution-reveal-x: 0;
        --solution-reveal-y: 14px;
        --solution-reveal-scale: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .js-enabled .page-layout--solution [data-reveal],
    .js-enabled body.page-id-27 [data-reveal],
    .page-layout--solution .solution-enhanced-section__header h2::after,
    body.page-id-27 .section-header h2::after,
    .page-layout--solution .solution-detail-card,
    .page-layout--solution .solution-image-card,
    .page-layout--solution .solution-workflow-card,
    .page-layout--solution .solution-outcome-card,
    .page-layout--solution .solution-faq-item,
    .page-layout--solution .solution-chip,
    .page-layout--solution .solution-pill,
    .crm-stitch-page .solution-card-motion,
    .page-layout--solution .solution-card-motion,
    .crm-stitch-page .solution-card-motion .crm-stitch-icon,
    .page-layout--solution .solution-card-motion .crm-stitch-icon,
    .page-layout--solution .solution-card-motion .solution-detail-card__icon,
    .page-layout--solution .solution-card-motion .solution-workflow-card__icon,
    .page-layout--solution .solution-card-motion .solution-outcome-card__icon,
    .crm-stitch-page .solution-pointer-motion,
    .page-layout--solution .solution-pointer-motion,
    .page-layout--solution .cta-panel .btn,
    .page-layout--solution .page-hero-actions .btn {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        filter: none !important;
    }

    .crm-stitch-page .solution-pointer-motion::before,
    .page-layout--solution .solution-pointer-motion::before,
    .crm-stitch-page .solution-pointer-motion > span,
    .page-layout--solution .solution-pointer-motion > span {
        animation: none !important;
        transition: none !important;
    }

    .page-layout--solution .solution-chip.is-visible::before,
    .page-layout--solution .solution-pill.is-visible::before {
        animation: none !important;
    }
}
