/*
 * Strat IoT — Professional UI layer
 * Loaded after the legacy styles to provide one restrained, consistent
 * design system without changing page structure or application behavior.
 */

:root {
    --pro-ink: #0b1730;
    --pro-ink-soft: #253552;
    --pro-muted: #5d6b82;
    --pro-blue: #1646d8;
    --pro-blue-dark: #10349e;
    --pro-cyan: #2b9fc9;
    --pro-bg: #f6f8fc;
    --pro-surface: #ffffff;
    --pro-surface-soft: #eef3fa;
    --pro-border: #dfe6f0;
    --pro-border-strong: #cdd7e5;
    --pro-shadow-sm: 0 8px 24px rgba(11, 23, 48, 0.07);
    --pro-shadow-md: 0 18px 48px rgba(11, 23, 48, 0.1);
    --pro-shadow-lg: 0 30px 70px rgba(11, 23, 48, 0.14);
    --pro-radius-sm: 10px;
    --pro-radius: 16px;
    --pro-radius-lg: 24px;
    --bg: var(--pro-bg);
    --surface: var(--pro-surface);
    --surface-strong: var(--pro-surface);
    --text: var(--pro-ink);
    --muted: var(--pro-muted);
    --navy: var(--pro-ink);
    --blue: var(--pro-blue);
    --cyan: var(--pro-cyan);
    --line: rgba(11, 23, 48, 0.1);
    --shadow: var(--pro-shadow-md);
    --radius: var(--pro-radius);
}

* {
    scrollbar-color: #b9c6d8 #edf1f7;
}

html {
    background: var(--pro-bg);
}

body {
    background: var(--pro-bg);
    color: var(--pro-ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::selection {
    color: #ffffff;
    background: var(--pro-blue);
}

.site-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 92% 4%, rgba(43, 159, 201, 0.08), transparent 25rem),
        linear-gradient(180deg, #fbfcfe 0%, var(--pro-bg) 100%);
}

.data-grid,
.particle {
    display: none;
}

.container,
.isr-container {
    width: calc(100% - 64px);
    max-width: none;
    margin-inline: auto;
}

.site-intro {
    position: fixed;
    inset: 0;
    z-index: 5000;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
}

.site-intro__frame-wrap,
.site-intro__frame {
    width: 100%;
    height: 100%;
}

.section,
.isr-section {
    padding-block: 96px;
}

.alt-section {
    background: #eef3f9;
    border-block: 1px solid var(--pro-border);
}

h1,
h2,
h3,
h4 {
    color: var(--pro-ink);
    letter-spacing: -0.025em;
}

h1 {
    line-height: 1.02;
}

h2 {
    font-size: clamp(2rem, 3.3vw, 3.45rem);
    line-height: 1.08;
}

h3 {
    line-height: 1.25;
}

p {
    color: var(--pro-muted);
    line-height: 1.72;
}

.section-heading,
.isr-heading,
.services-premium-heading {
    width: 90%;
    max-width: none;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading h2,
.isr-heading h2,
.services-premium-heading h2 {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

.section-heading p,
.isr-heading p,
.services-premium-heading p {
    max-width: 680px;
    margin-inline: auto;
}

.eyebrow,
.isr-eyebrow,
.hero-banner-kicker,
.mega-menu-kicker,
.services-hero-panel-label {
    padding: 7px 11px;
    border: 1px solid rgba(22, 70, 216, 0.16);
    border-radius: 7px;
    background: rgba(22, 70, 216, 0.07);
    color: var(--pro-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

/* Header and navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(11, 23, 48, 0.09);
    box-shadow: 0 5px 24px rgba(11, 23, 48, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 78px;
    gap: 28px;
}

.brand-logo {
    width: 156px;
    max-height: 50px;
    object-fit: contain;
}

.desktop-nav {
    gap: 8px;
    color: var(--pro-ink-soft);
    font-weight: 650;
}

.desktop-nav > a,
.mega-nav > a,
.menu-group > a {
    padding: 28px 12px;
    font-size: 14px;
}

.desktop-nav > a::after,
.mega-nav > a::after,
.menu-group > a::after {
    left: 12px;
    right: 12px;
    bottom: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--pro-blue);
}

.desktop-nav a:hover,
.desktop-nav .active,
.mega-nav .active,
.menu-group .active {
    color: var(--pro-blue);
}

.header-cta .btn {
    min-height: 44px;
    padding-inline: 18px;
    font-size: 13px;
}

.menu-dropdown {
    padding: 10px;
    border: 1px solid var(--pro-border);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--pro-shadow-md);
}

.menu-dropdown a {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
}

.menu-dropdown a:hover {
    background: var(--pro-surface-soft);
    color: var(--pro-blue);
}

.mega-menu {
    width: min(1040px, calc(100vw - 48px));
    padding: 16px;
    border: 1px solid var(--pro-border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--pro-shadow-lg);
}

.mega-menu-intro {
    padding: 28px;
    border-radius: 13px;
    background: var(--pro-ink);
}

.mega-menu-intro h3,
.mega-menu-intro p,
.mega-menu-link {
    color: #ffffff;
}

.mega-menu-intro p {
    color: rgba(255, 255, 255, 0.72);
}

.mega-menu-grid {
    gap: 6px;
    padding: 4px;
}

.mega-menu-card {
    padding: 14px;
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
}

.mega-menu-card:hover {
    transform: none;
    border-color: var(--pro-border);
    background: var(--pro-surface-soft);
    box-shadow: none;
}

.mega-menu-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(22, 70, 216, 0.09);
    color: var(--pro-blue);
}

/* Buttons and controls */
.btn {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: none;
}

.btn-primary {
    background: var(--pro-blue);
    box-shadow: 0 10px 24px rgba(22, 70, 216, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--pro-blue-dark);
    box-shadow: 0 14px 30px rgba(22, 70, 216, 0.24);
}

.btn-outline {
    border-color: var(--pro-border-strong);
    background: #ffffff;
    color: var(--pro-ink);
}

.btn-outline:hover {
    transform: translateY(-2px);
    border-color: rgba(22, 70, 216, 0.35);
    color: var(--pro-blue);
    background: #ffffff;
}

input,
select,
textarea {
    min-height: 48px;
    border: 1px solid var(--pro-border-strong);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: none;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(22, 70, 216, 0.1);
    border-color: var(--pro-blue);
}

/* Homepage hero */
.hero-banner {
    padding: 70px 0 88px;
    background:
        linear-gradient(90deg, rgba(22, 70, 216, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(22, 70, 216, 0.035) 1px, transparent 1px),
        linear-gradient(135deg, #fbfcff 0%, #f0f4fb 100%);
    background-size: 64px 64px, 64px 64px, auto;
    border-bottom: 1px solid var(--pro-border);
}

.hero-banner-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}

.hero-banner-left,
.hero-banner-right {
    max-width: none;
    min-width: 0;
    padding-left: 0;
}

.hero-banner-left::before {
    display: none;
}

.hero-banner-kicker {
    margin-bottom: 24px;
}

.hero-banner-heading {
    width: 100%;
    max-width: none;
    margin-bottom: 26px;
    color: var(--pro-ink);
    font-size: clamp(3rem, 3.4vw, 3.9rem);
    font-style: normal;
    font-weight: 750;
    line-height: 1.02;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.hero-banner-support {
    grid-template-columns: minmax(0, 1.08fr) minmax(240px, 0.92fr);
    gap: 14px;
    margin-bottom: 28px;
}

.hero-banner-phases {
    color: var(--pro-blue);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-banner-copy {
    max-width: 46ch;
    color: var(--pro-ink-soft);
    font-size: 15px;
}

.hero-banner-proof {
    padding: 8px;
    border-color: var(--pro-border);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--pro-shadow-sm);
}

.hero-banner-proof div {
    padding: 11px;
    border-radius: 9px;
    background: var(--pro-surface-soft);
}

.hero-banner-proof strong {
    color: var(--pro-blue);
    font-size: 1.35rem;
}

.hero-banner-audience {
    margin-bottom: 26px;
}

.audience-card {
    min-height: 72px;
    padding: 12px 14px;
    border-color: var(--pro-border);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--pro-shadow-sm);
}

.audience-card:hover {
    transform: translateY(-3px);
    border-color: rgba(22, 70, 216, 0.24);
    box-shadow: var(--pro-shadow-md);
}

.audience-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: rgba(22, 70, 216, 0.09);
    color: var(--pro-blue);
}

.hero-media-card,
.hero-media-frame {
    border-radius: 20px;
}

.hero-media-card {
    height: 590px;
    border: 8px solid #ffffff;
    background: #ffffff;
    box-shadow: var(--pro-shadow-lg);
}

.hero-media-frame {
    min-height: 574px;
    box-shadow: none;
}

/* Inner-page heroes */
.page-hero,
.detail-hero {
    min-height: 410px;
    padding: 118px 0 84px;
    display: flex;
    align-items: flex-end;
    background-position: center;
}

.page-hero::before,
.detail-hero::before {
    background: linear-gradient(90deg, rgba(6, 17, 39, 0.94) 0%, rgba(6, 17, 39, 0.8) 52%, rgba(6, 17, 39, 0.28) 100%);
}

.page-hero:not(.services-hero) .container,
.detail-hero:not(.service-detail-hero) .container {
    margin: 0 auto;
    padding: 0;
}

.page-hero h1,
.detail-hero h1 {
    max-width: 1100px;
    margin: 16px 0 18px;
    font-size: clamp(2.85rem, 5vw, 5.35rem);
    line-height: 1.02;
}

.page-hero p,
.detail-hero p {
    max-width: 860px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
}

/* Shared surfaces and cards */
.glass-card,
.glass-panel,
.feature-card,
.blog-card,
.team-card,
.industry-pill,
.smart-card,
.services-overview-card,
.service-detail-related-card,
.service-premium-card,
.font-settings-form,
.font-preview-panel {
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius);
    background: #ffffff;
    box-shadow: var(--pro-shadow-sm);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.glass-card,
.glass-panel,
.team-card,
.smart-card,
.industry-pill {
    padding: 28px;
}

.hover-card:hover,
.smart-card:hover,
.feature-card:hover,
.blog-card:hover,
.team-card:hover,
.industry-home-card:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 70, 216, 0.2);
    box-shadow: var(--pro-shadow-md);
}

.card-grid {
    gap: 22px;
}

.container.home-centered-90 {
    width: 90% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.container.home-centered-90 > .section-heading {
    width: 100%;
}

.feature-card,
.blog-card {
    overflow: hidden;
}

.feature-card img,
.blog-card img {
    aspect-ratio: 16 / 10;
}

.feature-card-body,
.blog-card-body,
.blog-card > div {
    padding: 24px;
}

.card-icon,
.services-overview-icon,
.service-showcase-icon,
.service-detail-icon,
.industry-home-icon {
    border-radius: 11px;
    background: rgba(22, 70, 216, 0.08);
    color: var(--pro-blue);
}

.blog-card-tag,
.resource-tag,
.service-showcase-badge,
.industry-home-tag {
    border-radius: 6px;
    background: rgba(22, 70, 216, 0.08);
    color: var(--pro-blue);
}

/* About and leadership */
.about-intro-section {
    padding-block: 96px;
}

.about-copy-panel,
.about-highlight-panel {
    border-radius: var(--pro-radius-lg);
}

.about-copy-panel {
    padding: 44px;
    background: var(--pro-ink);
}

.about-copy-panel h2,
.about-copy-panel p {
    color: #ffffff;
}

.about-copy-panel p {
    color: rgba(255, 255, 255, 0.72);
}

.team-card {
    padding: 34px 28px;
}

.team-avatar--photo {
    width: 124px;
    height: 124px;
    border: 5px solid #ffffff;
    box-shadow: 0 0 0 1px var(--pro-border), var(--pro-shadow-sm);
}

.team-card > span {
    margin: -6px 0 14px;
    color: var(--pro-blue);
    font-size: 13px;
    font-weight: 750;
}

.team-card p { margin-bottom: 0; }

.team-card-bio {
    width: 100%;
    color: var(--pro-muted);
    line-height: 1.75;
    text-align: left;
}

.team-card-bio > :first-child { margin-top: 0; }
.team-card-bio > :last-child { margin-bottom: 0; }
.team-card-bio p + p { margin-top: 12px; }
.team-card-bio ul,
.team-card-bio ol { margin: 10px 0; padding-left: 1.5rem; }
.team-card-bio li + li { margin-top: 5px; }

.rich-copy .ql-font-arial { font-family: Arial, Helvetica, sans-serif; }
.rich-copy .ql-font-georgia { font-family: Georgia, 'Times New Roman', serif; }
.rich-copy .ql-font-times-new-roman { font-family: 'Times New Roman', Times, serif; }
.rich-copy .ql-font-verdana { font-family: Verdana, Geneva, sans-serif; }
.rich-copy .ql-font-serif { font-family: Georgia, 'Times New Roman', serif; }
.rich-copy .ql-font-monospace { font-family: Consolas, Monaco, monospace; }
.rich-copy .ql-size-small { font-size: .8em; }
.rich-copy .ql-size-large { font-size: 1.3em; }
.rich-copy .ql-size-huge { font-size: 1.7em; }
.rich-copy .ql-align-center { text-align: center; }
.rich-copy .ql-align-right { text-align: right; }
.rich-copy .ql-align-justify { text-align: justify; }
.rich-copy .ql-indent-1 { padding-left: 3em; }
.rich-copy .ql-indent-2 { padding-left: 6em; }
.rich-copy .ql-indent-3 { padding-left: 9em; }
.rich-copy .ql-indent-4 { padding-left: 12em; }
.rich-copy .ql-indent-5 { padding-left: 15em; }
.rich-copy .ql-indent-6 { padding-left: 18em; }
.rich-copy .ql-indent-7 { padding-left: 21em; }
.rich-copy .ql-indent-8 { padding-left: 24em; }

/* Industries, insights and forms */
.industries-home-section,
.industries-page-section,
.insights-section,
.testimonial-section {
    background: transparent;
}

.industry-home-card,
.industries-page-card {
    min-height: 230px;
    padding: 28px;
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius);
    background: #ffffff;
    box-shadow: var(--pro-shadow-sm);
}

.blog-controls-shell {
    padding: 18px;
}

.insights-swiper .swiper-wrapper {
    align-items: stretch;
    transition-timing-function: linear !important;
}

.insights-swiper .swiper-slide {
    height: auto;
}

.insights-swiper .blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.insights-swiper .blog-card-media-link {
    flex: 0 0 auto;
}

.insights-swiper .blog-card-media-link img {
    display: block;
    width: 100%;
}

.insights-swiper .blog-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.insights-swiper .blog-card-body h3 {
    display: -webkit-box;
    min-height: 3.75em;
    max-height: 3.75em;
    margin: 0 0 12px;
    overflow: hidden;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.insights-swiper .blog-card-body > p {
    display: -webkit-box;
    min-height: 6.4em;
    max-height: 6.4em;
    margin: 0;
    overflow: hidden;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.insights-swiper .blog-card-tag {
    display: flex;
    align-items: center;
    align-self: stretch;
    width: 100%;
    min-height: 38px;
    margin-top: 18px;
    padding: 9px 12px;
    box-sizing: border-box;
    line-height: 1.35;
}

.case-grid {
    align-items: stretch;
}

.case-grid .feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.case-grid .feature-card > img {
    display: block;
    width: 100%;
    flex: 0 0 auto;
}

.case-grid .feature-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.case-grid .feature-card-body h3 {
    display: -webkit-box;
    min-height: 3.75em;
    max-height: 3.75em;
    overflow: hidden;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.case-grid .feature-card-body > p {
    display: -webkit-box;
    min-height: 7.2em;
    max-height: 7.2em;
    overflow: hidden;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.case-grid .feature-card-body .text-link {
    margin-top: auto;
}

.contact-grid {
    gap: 24px;
}

.dual-feature {
    gap: 24px;
    align-items: stretch;
}

.home-navigator-card {
    width: min(100%, 980px);
    margin-inline: auto;
}

.contact-form {
    gap: 18px;
}

.contact-form .btn {
    justify-self: start;
}

.contact-form-section {
    padding-top: 28px;
}

.contact-form-card {
    width: min(100%, 980px);
    margin-inline: auto;
    padding: clamp(24px, 4vw, 42px);
}

.contact-form-heading {
    margin-bottom: 24px;
}

.contact-form-heading h2 {
    margin: 0;
    color: var(--pro-ink);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.contact-form-card > .alert {
    margin: 0 0 24px;
}

.contact-form-card > .alert.success {
    border: 1px solid #a7dfba;
    background: #e8f8ee;
    color: #176b38;
    box-shadow: 0 10px 24px rgba(22, 112, 58, 0.08);
}

.contact-form-card .contact-form {
    gap: 18px;
}

.contact-form-card textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-country-select {
    grid-column: 1 / -1;
    cursor: pointer;
}

.contact-form-card .btn {
    justify-self: start;
}

.contact-captcha {
    display: grid;
    grid-template-columns: minmax(180px, 0.55fr) minmax(220px, 1fr);
    align-items: stretch;
    gap: 12px;
    max-width: 620px;
}

.contact-captcha label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 54px;
    padding: 10px 16px;
    border: 1px solid #cfdaea;
    border-radius: 12px;
    background: #f4f7fc;
    color: var(--pro-ink);
}

.contact-captcha label span {
    color: var(--pro-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.contact-captcha label strong {
    color: var(--pro-primary);
    font-size: 1.05rem;
    white-space: nowrap;
}

.contact-form [data-contact-submit]:disabled {
    cursor: wait;
    opacity: 0.68;
    pointer-events: none;
}

@media (max-width: 640px) {
    .contact-captcha {
        grid-template-columns: 1fr;
        max-width: none;
    }
}

.contact-offices-section {
    padding-top: 24px;
    background: linear-gradient(180deg, var(--pro-bg), #eef3fa);
}

.contact-offices-heading {
    width: min(720px, 100%);
    margin: 0 auto 42px;
    text-align: center;
}

.contact-offices-heading p {
    margin-inline: auto;
}

.contact-office-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.contact-office-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-lg);
    background: #ffffff;
    box-shadow: var(--pro-shadow-sm);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-office-card:hover {
    transform: translateY(-5px);
    border-color: rgba(22, 70, 216, 0.24);
    box-shadow: var(--pro-shadow-md);
}

.contact-office-representative {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 24px;
}

.contact-office-representative img {
    width: 76px;
    height: 76px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--pro-border), var(--pro-shadow-sm);
}

.contact-office-representative span {
    display: block;
    margin-bottom: 6px;
    color: var(--pro-blue);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-office-representative h3 {
    margin: 0 0 4px;
    font-size: 1.18rem;
    line-height: 1.2;
}

.contact-office-representative p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
}

.contact-office-map {
    height: 250px;
    border-block: 1px solid var(--pro-border);
    background: var(--pro-surface-soft);
}

.contact-office-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-office-location {
    display: grid;
    gap: 12px;
    padding: 20px 24px 24px;
}

.contact-office-location > div,
.contact-office-location > a {
    display: flex;
    align-items: center;
    gap: 9px;
}

.contact-office-location > div {
    color: var(--pro-ink);
    font-weight: 750;
}

.contact-office-location > div i,
.contact-office-location > a {
    color: var(--pro-blue);
}

.contact-office-location > a {
    width: fit-content;
    font-size: 0.84rem;
    font-weight: 750;
}

.contact-office-location > a:hover {
    color: var(--pro-blue-dark);
}

.rich-copy,
.detail-layout article {
    max-width: 960px;
    margin-inline: auto;
    padding: clamp(28px, 4vw, 52px);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-lg);
    background: #ffffff;
    box-shadow: var(--pro-shadow-sm);
}

.rich-copy h2,
.rich-copy h3 {
    margin-top: 30px;
}

/* Quill 2 uses an <ol> wrapper for both numbered and bulleted lists and stores
   the intended marker type on each list item. Preserve that intent outside
   the editor on blog and other rich-content pages. */
.rich-copy ol,
.rich-copy ul {
    margin: 16px 0 20px;
    padding-inline-start: 2rem;
}

.rich-copy li {
    padding-inline-start: .3rem;
    line-height: 1.7;
}

.rich-copy li + li { margin-top: 8px; }
.rich-copy li[data-list='ordered'] { list-style-type: decimal; }
.rich-copy li[data-list='bullet'] { list-style-type: disc; }
.rich-copy .ql-ui { display: none; }

.rich-copy > :first-child,
.rich-copy .detail-block:first-child h3 {
    margin-top: 0;
}

.detail-block {
    padding-bottom: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--pro-border);
}

.detail-block:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.case-study-blocks {
    display: grid;
    gap: 24px;
    max-width: 1120px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.case-study-blocks .case-detail-section {
    --case-accent: #1646d8;
    --case-accent-rgb: 22, 70, 216;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid rgba(var(--case-accent-rgb), 0.16);
    border-radius: 22px;
    background:
        radial-gradient(circle at 96% 0%, rgba(var(--case-accent-rgb), 0.09), transparent 18rem),
        linear-gradient(145deg, #ffffff 0%, rgba(var(--case-accent-rgb), 0.035) 100%);
    box-shadow: 0 16px 42px rgba(11, 23, 48, 0.075);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.case-detail-section::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--case-accent), rgba(var(--case-accent-rgb), 0.28));
}

.case-detail-section:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--case-accent-rgb), 0.28);
    box-shadow: 0 22px 54px rgba(11, 23, 48, 0.11);
}

.case-study-blocks .case-detail-section--solution {
    --case-accent: #087f9c;
    --case-accent-rgb: 8, 127, 156;
}

.case-study-blocks .case-detail-section--technologies {
    --case-accent: #5b4bc4;
    --case-accent-rgb: 91, 75, 196;
}

.case-study-blocks .case-detail-section--results {
    --case-accent: #087f5b;
    --case-accent-rgb: 8, 127, 91;
}

.case-study-blocks .case-detail-section--roi {
    --case-accent: #9a6700;
    --case-accent-rgb: 154, 103, 0;
}

.case-detail-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.case-detail-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    color: var(--pro-navy);
}

.case-detail-heading-icon {
    display: inline-flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--case-accent-rgb), 0.16);
    border-radius: 13px;
    color: var(--case-accent);
    background: rgba(var(--case-accent-rgb), 0.085);
    box-shadow: 0 8px 20px rgba(var(--case-accent-rgb), 0.1);
}

.case-detail-heading-icon i {
    font-size: 17px;
}

.case-detail-section-number {
    color: rgba(var(--case-accent-rgb), 0.28);
    font-family: var(--font-heading-family);
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.detail-rich-text {
    color: var(--pro-muted);
}

.case-detail-section .detail-rich-text {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(var(--case-accent-rgb), 0.12);
}

.detail-rich-text :where(p, div, ol, ul, li) {
    color: inherit;
}

.detail-rich-text ol,
.detail-rich-text ul {
    margin: 16px 0 20px;
    padding-inline-start: 2rem;
}

.detail-rich-text li {
    padding-inline-start: 0.35rem;
    line-height: 1.7;
}

.detail-rich-text li + li {
    margin-top: 8px;
}

.detail-rich-text li::marker {
    color: var(--case-accent, var(--pro-blue));
    font-weight: 750;
}

/* Quill 2 stores both list styles in an ordered-list wrapper. Respect the
   item's data-list value when that HTML is rendered outside the editor. */
.detail-rich-text li[data-list="ordered"] { list-style-type: decimal; }
.detail-rich-text li[data-list="bullet"] { list-style-type: disc; }
.detail-rich-text .ql-ui { display: none; }

@media (max-width: 640px) {
    .case-study-blocks { gap: 16px; }
    .case-study-blocks .case-detail-section { padding: 22px 20px 24px; border-radius: 18px; }
    .case-detail-section-header { gap: 12px; }
    .case-detail-heading { gap: 11px; font-size: 1.18rem; }
    .case-detail-heading-icon { flex-basis: 38px; width: 38px; height: 38px; border-radius: 11px; }
    .case-detail-section-number { font-size: 1.1rem; }
    .case-detail-section .detail-rich-text { margin-top: 18px; padding-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .case-study-blocks .case-detail-section { transition: none; }
    .case-detail-section:hover { transform: none; }
}

.blog-article-top {
    padding-bottom: 22px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--pro-border);
}

/* Services landing and detail */
.services-hero--premium,
.service-detail-hero--premium {
    min-height: 620px;
    padding: 128px 0 90px;
}

.services-aurora,
.service-detail-aurora {
    opacity: 0.4;
}

.services-aurora-grid {
    opacity: 0.14;
}

.services-hero-premium-layout,
.service-detail-hero-premium-layout {
    gap: 64px;
}

.services-hero-copy--premium h1,
.service-detail-hero-copy--premium h1 {
    max-width: 1040px;
    font-size: clamp(3rem, 5vw, 5.4rem);
    line-height: 1;
}

.services-hero-insight-card,
.services-hero-mini-card {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.services-premium-section {
    background: var(--pro-bg);
}

.services-premium-grid {
    gap: 22px;
}

.service-premium-card {
    min-height: 360px;
    padding: 28px;
    overflow: hidden;
}

.service-premium-card::before,
.service-premium-card-glow {
    opacity: 0;
}

.service-premium-card:hover::before,
.service-premium-card:focus-visible::before,
.service-premium-card.is-active::before,
.service-premium-card:hover .service-premium-card-glow,
.service-premium-card:focus-visible .service-premium-card-glow,
.service-premium-card.is-active .service-premium-card-glow {
    opacity: 0;
}

.service-premium-card:hover,
.service-premium-card:focus-visible,
.service-premium-card.is-active {
    transform: translateY(-4px);
    border-color: rgba(22, 70, 216, 0.24);
    box-shadow: var(--pro-shadow-md);
}

.service-premium-icon,
.services-hero-mini-icon {
    border-radius: 11px;
    background: rgba(22, 70, 216, 0.09);
    color: var(--pro-blue);
}

.service-premium-card-body h3 {
    font-size: 1.45rem;
}

.service-detail-experience {
    background: var(--pro-bg);
}

.service-detail-main--premium,
.service-detail-sidebar-card--premium,
.service-detail-sidebar-note--premium {
    border-radius: var(--pro-radius-lg);
}

.service-editorial-hero,
.service-editorial-band,
.service-editorial-foundations,
.service-priority-story-item,
.service-signal-ribbon-item {
    border-color: var(--pro-border);
}

.service-roadmap-section {
    background: #eef3f9;
    border-block: 1px solid var(--pro-border);
}

.service-roadmap-surface {
    opacity: 0.35;
}

.service-roadmap-step-badge {
    border: 1px solid var(--pro-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--pro-shadow-sm);
}

.service-roadmap-step-copy h3 {
    color: var(--pro-ink);
    font-size: clamp(0.88rem, 1.05vw, 1rem);
}

/* Industry solution components loaded from the secondary stylesheet */
.isr-section {
    background: var(--pro-bg);
}

.isr-section + .isr-section {
    padding-top: 96px;
    border-top: 1px solid var(--pro-border);
}

.isr-bg-grid,
.isr-bg-mesh,
.isr-orb {
    opacity: 0.08;
}

.isr-section h2 {
    color: var(--pro-ink);
}

.isr-card,
.isr-roadmap-card {
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius);
    background: #ffffff;
    box-shadow: var(--pro-shadow-sm);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.isr-card-border,
.isr-card-spotlight,
.isr-card::after {
    display: none;
}

.isr-card:hover,
.isr-card:focus-within,
.isr-roadmap-step:hover .isr-roadmap-card {
    transform: translateY(-4px);
    border-color: rgba(22, 70, 216, 0.22);
    box-shadow: var(--pro-shadow-md);
}

.isr-card-inner {
    padding: 30px;
}

.isr-icon-box,
.isr-roadmap-icon {
    border-radius: 11px;
    background: rgba(22, 70, 216, 0.08);
    color: var(--pro-blue);
    box-shadow: none;
}

.isr-roadmap-circle {
    background: var(--pro-blue);
    box-shadow: 0 0 0 5px rgba(22, 70, 216, 0.1);
}

.isr-roadmap .isr-heading h2 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.isr-roadmap-track {
    width: min(100%, 1180px);
    margin-inline: auto;
    align-items: stretch;
}

.isr-roadmap-container {
    container-type: inline-size;
}

.isr-roadmap-step {
    align-self: stretch;
    height: 100%;
}

.isr-roadmap-card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.isr-roadmap-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.6em;
    font-size: clamp(0.92rem, 1.3vw, 1.08rem);
    line-height: 1.3;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
}

.isr-roadmap-card p {
    width: 100%;
    font-size: clamp(0.8rem, 1vw, 0.92rem);
    line-height: 1.55;
}

@media (min-width: 901px) and (max-width: 1200px) {
    .isr-roadmap-track {
        --isr-circle-size: 68px;
        gap: 8px;
    }

    .isr-roadmap-line {
        top: calc(var(--isr-circle-size) / 2 - 2px);
    }

    .isr-roadmap-step {
        padding-inline: 5px;
    }

    .isr-roadmap-circle {
        font-size: 1.4rem;
        box-shadow: 0 0 0 4px rgba(22, 70, 216, 0.1);
    }

    .isr-roadmap-card {
        margin-top: 18px;
        padding: 19px 11px;
        border-radius: 15px;
    }

    .isr-roadmap-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 13px;
        font-size: 16px;
    }

    .isr-roadmap-card h3 {
        font-size: clamp(0.82rem, 1.45vw, 0.98rem);
    }

    .isr-roadmap-card p {
        font-size: clamp(0.74rem, 1.15vw, 0.86rem);
    }
}

@container (max-width: 900px) {
    .isr-roadmap-track {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
        width: min(100%, 660px);
    }

    .isr-roadmap-line {
        top: 0;
        right: auto;
        bottom: 0;
        left: calc(var(--isr-circle-size) / 2);
        width: 4px;
        height: auto;
        transform: translateX(-50%);
    }

    .isr-roadmap-line-fill {
        transform: scaleY(0);
        transform-origin: top center;
    }

    .isr-roadmap-track.isr-visible .isr-roadmap-line-fill {
        transform: scaleY(1);
    }

    .isr-roadmap-step {
        flex-direction: row;
        align-items: flex-start;
        align-self: auto;
        height: auto;
        gap: 24px;
        padding: 0;
        text-align: left;
    }

    .isr-roadmap-circle {
        position: relative;
        z-index: 2;
        flex: 0 0 var(--isr-circle-size);
    }

    .isr-roadmap-card {
        align-items: flex-start;
        width: auto;
        min-width: 0;
        height: auto;
        margin-top: 0;
    }

    .isr-roadmap-card h3 {
        justify-content: flex-start;
        min-height: 0;
        text-align: left;
    }

    .isr-roadmap-card p {
        text-align: left;
    }
}

/* Section divider watermark */
.section-logo-divider {
    height: 0;
}

.section-logo-divider-line {
    background: linear-gradient(90deg, transparent, rgba(11, 23, 48, 0.07), transparent);
}

.section-logo-divider-mark img {
    width: 116px;
    opacity: 0.14;
    filter: grayscale(1) contrast(0.68);
    mix-blend-mode: multiply;
}

/* Footer */
.site-footer {
    padding: 72px 0 28px;
    background: var(--pro-ink);
    border-top: 0;
}

.footer-grid {
    gap: 48px;
}

.footer-logo {
    width: 168px;
    margin-bottom: 22px;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}

.site-footer h3,
.site-footer h4 {
    color: #ffffff;
}

.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, 0.66);
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer .footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
    padding: 11px 15px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-weight: 700;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.site-footer .footer-contact-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.11);
}

.footer-contact-link i {
    font-size: 0.78em;
}

.footer-socials a {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin: 0 8px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9px;
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 22px;
    border-top-color: rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;
}

.linkedin-float,
.back-to-top {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: var(--pro-shadow-md);
}

@media (max-width: 1180px) {
    .desktop-nav {
        gap: 2px;
    }

    .desktop-nav > a,
    .mega-nav > a,
    .menu-group > a {
        padding-inline: 8px;
        font-size: 13px;
    }

    .header-cta .btn {
        display: none;
    }

    .hero-banner-grid {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr);
        gap: 36px;
    }

    .hero-banner-support {
        grid-template-columns: 1fr;
    }

    .contact-office-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .container,
    .isr-container {
        width: min(calc(100% - 32px), 1320px);
    }

    .section,
    .isr-section {
        padding-block: 72px;
    }

    .isr-section + .isr-section {
        padding-top: 72px;
    }

    .header-inner {
        min-height: 70px;
    }

    .brand-logo {
        width: 142px;
    }

    .mobile-toggle {
        border-radius: 9px;
        background: #ffffff;
    }

    .mobile-panel {
        padding: 10px 16px 18px;
        border-top-color: var(--pro-border);
        background: #ffffff;
        box-shadow: var(--pro-shadow-md);
    }

    .mobile-panel a {
        padding: 10px 12px;
        border-radius: 8px;
    }

    .mobile-panel a:hover {
        background: var(--pro-surface-soft);
        color: var(--pro-blue);
    }

    .hero-banner {
        padding: 56px 0 72px;
    }

    .hero-banner-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .hero-banner-heading {
        width: 100%;
        max-width: none;
        font-size: clamp(2.65rem, 8vw, 4rem);
    }

    .hero-media-card,
    .hero-media-swiper,
    .hero-media-frame {
        height: 440px;
        min-height: 440px;
    }

    .page-hero,
    .detail-hero {
        min-height: 360px;
        padding: 100px 0 64px;
    }

    .services-hero--premium,
    .service-detail-hero--premium {
        min-height: auto;
        padding: 104px 0 72px;
    }

    .footer-grid {
        gap: 36px;
    }

    .contact-office-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .container,
    .isr-container {
        width: min(calc(100% - 24px), 1320px);
    }

    .section,
    .isr-section {
        padding-block: 60px;
    }

    .isr-section + .isr-section {
        padding-top: 60px;
    }

    .section-heading,
    .isr-heading,
    .services-premium-heading {
        margin-bottom: 34px;
        text-align: center;
    }

    .section-heading p,
    .isr-heading p,
    .services-premium-heading p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-banner {
        padding: 44px 0 60px;
    }

    .hero-banner-heading {
        font-size: clamp(2.45rem, 12vw, 3.35rem);
    }

    .hero-banner-proof,
    .audience-cards {
        grid-template-columns: 1fr;
    }

    .hero-media-card,
    .hero-media-swiper,
    .hero-media-frame {
        height: 320px;
        min-height: 320px;
    }

    .page-hero,
    .detail-hero {
        min-height: 330px;
        padding: 90px 0 54px;
    }

    .page-hero h1,
    .detail-hero h1 {
        font-size: clamp(2.3rem, 12vw, 3.5rem);
    }

    .glass-card,
    .glass-panel,
    .team-card,
    .smart-card,
    .industry-pill,
    .about-copy-panel,
    .about-highlight-panel {
        padding: 24px;
    }

    .site-footer {
        padding-top: 58px;
    }

    .section-logo-divider-mark img {
        width: 92px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/*
 * Keep touch phones in the compact layout even when a mobile browser reports
 * a wider layout viewport. This prevents the services grid and roadmap from
 * being rendered as a tiny, two-column tablet layout on narrow screens.
 */
@media (max-width: 860px), (max-width: 1180px) and (hover: none) and (pointer: coarse) {
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .services-premium-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .service-premium-card {
        width: 100%;
        min-width: 0;
        min-height: 0;
        padding: 24px;
    }

    .service-roadmap-track {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        width: min(100%, 560px);
        margin-inline: auto;
    }

    .service-roadmap-line {
        top: 8px;
        right: auto;
        bottom: 8px;
        left: 27px;
        width: 2px;
        height: auto;
    }

    .service-roadmap-line-fill {
        width: 100%;
        height: 0;
    }

    .service-roadmap-step {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 16px;
        align-items: center;
    }

    .service-roadmap-step-badge {
        width: 56px;
        height: 56px;
        margin: 0;
        border-radius: 14px;
    }

    .service-roadmap-step-copy {
        padding: 0;
        text-align: left;
    }

    .service-roadmap-step-copy h3 {
        margin: 0;
        font-size: 1rem;
    }
}

/* The roadmap is also used inside a narrower service-detail column. Container
   queries make it respond to the space it actually has, not only the viewport. */
.service-roadmap-container {
    container-type: inline-size;
}

.service-roadmap-step-copy h3 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
}

@container (max-width: 1100px) and (min-width: 701px) {
    .service-roadmap-track {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        column-gap: 18px;
        row-gap: 34px;
    }

    .service-roadmap-line {
        display: none;
    }

    .service-roadmap-step {
        grid-column: span 2;
        padding-inline: 8px;
    }

    .service-roadmap-step--4 {
        grid-column: 2 / span 2;
    }

    .service-roadmap-step--1::after,
    .service-roadmap-step--2::after,
    .service-roadmap-step--4::after {
        content: '';
        position: absolute;
        z-index: -1;
        top: 37px;
        left: 50%;
        width: calc(100% + 18px);
        height: 2px;
        background: linear-gradient(90deg, rgba(39, 108, 255, 0.72), rgba(81, 212, 255, 0.72));
        pointer-events: none;
    }

    .service-roadmap-step-copy h3 {
        font-size: clamp(0.95rem, 2.2cqw, 1.05rem);
    }
}

@container (max-width: 700px) {
    .service-roadmap-track {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        width: min(100%, 560px);
        margin-inline: auto;
    }

    .service-roadmap-line {
        display: block;
        top: 8px;
        right: auto;
        bottom: 8px;
        left: 27px;
        width: 2px;
        height: auto;
    }

    .service-roadmap-line-fill {
        width: 100%;
        height: 0;
    }

    .service-roadmap-step,
    .service-roadmap-step--4 {
        grid-column: auto;
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 16px;
        align-items: center;
        padding: 0;
    }

    .service-roadmap-step::after {
        display: none;
    }

    .service-roadmap-step-badge {
        width: 56px;
        height: 56px;
        margin: 0;
        border-radius: 14px;
    }

    .service-roadmap-step-copy {
        padding: 0;
        text-align: left;
    }

    .service-roadmap-step-copy h3 {
        margin: 0;
        font-size: clamp(0.95rem, 4cqw, 1.05rem);
    }
}

@media (max-width: 860px), (max-width: 1180px) and (hover: none) and (pointer: coarse) {
    .service-roadmap-track {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-roadmap-line {
        display: block;
    }

    .service-roadmap-step,
    .service-roadmap-step--4 {
        grid-column: auto;
        padding: 0;
    }

    .service-roadmap-step::after {
        display: none;
    }
}

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