:root {
    --bg: #08121f;
    --surface: #0f1f33;
    --surface-2: #142841;
    --text: #d7e4f6;
    --muted: #c3d5ea;
    --line: rgba(198, 217, 243, 0.16);
    --brand: #4ed0ff;
    --brand-2: #5af7cb;
    --highlight: #ffd88d;
    --radius: 18px;
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.35);
    --shadow-sm: 0 8px 30px rgba(0, 0, 0, 0.22);
    --transition-fast: .15s ease;
    --transition-base: .28s ease;
    --transition-slow: .45s ease;
}

* {
    box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    font-size: clamp(14px, 0.8vw + 12px, 16px);
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 10% -20%, #163459 0%, transparent 46%), radial-gradient(circle at 110% 30%, #12336b 0%, transparent 38%), var(--bg);
    line-height: clamp(1.45, 0.32vw + 1.35, 1.65);
    font-size: clamp(0.84rem, 0.32vw + 0.78rem, 1rem);
    overflow-x: hidden;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 100000;
    background: #ffffff;
    color: #08121f;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    left: 12px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Sora", sans-serif;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #f3f8ff;
}

h1 { font-size: clamp(1.6rem, 2.1vw + 1rem, 2.9rem); }
h2 { font-size: clamp(1.35rem, 1.7vw + .95rem, 2.35rem); }
h3 { font-size: clamp(1.16rem, 1.3vw + .88rem, 1.9rem); }
h4 { font-size: clamp(1rem, .95vw + .82rem, 1.45rem); }
h5 { font-size: clamp(.92rem, .74vw + .78rem, 1.2rem); }
h6 { font-size: clamp(.84rem, .58vw + .74rem, 1.05rem); }

p {
    color: var(--muted);
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: rgba(78, 208, 255, 0.28);
    color: #fff;
}

.site-shell {
    position: relative;
}

.site-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.3;
    z-index: -1;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease, visibility 0s linear .45s;
    z-index: 99999;
}

#spinner.show {
    opacity: 1;
    visibility: visible;
    transition: opacity .45s ease;
}

.navbar {
    padding: clamp(10px, 2.2vw, 16px) 0;
    border-bottom: 1px solid transparent;
    background: transparent;
    transition: .35s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1035;
    transform: none !important;
}

.navbar.is-scrolled {
    background: rgba(8, 18, 31, 0.88);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}

.navbar-brand h1 {
    margin: 0;
    font-size: clamp(1rem, 3.1vw, 1.35rem);
    color: #f3f8ff;
}

.logo-icon {
    color: var(--brand);
    margin-right: 8px;
}

.nav-link {
    color: var(--muted) !important;
    font-weight: 700;
    margin: 0 clamp(4px, 1.4vw, 10px);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    transition: width .3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-nav-partner {
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .01em;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: linear-gradient(120deg, rgba(78, 208, 255, 0.18), rgba(90, 247, 203, 0.17));
}

.btn-nav-partner:hover {
    color: #04111f !important;
    background: linear-gradient(120deg, var(--brand), var(--brand-2));
    border-color: transparent;
}

.navbar-toggler {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(199, 223, 250, 0.34);
    border-radius: 10px;
    color: #e8f4ff;
    background: rgba(15, 31, 51, 0.66);
    box-shadow: none !important;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    box-shadow: 0 0 0 0.18rem rgba(78, 208, 255, 0.22) !important;
    border-color: rgba(90, 247, 203, 0.7);
}

.navbar-toggler .fa-bars {
    font-size: 1rem;
    line-height: 1;
}

.hero {
    padding: clamp(118px, 20vw, 170px) 0 clamp(66px, 12vw, 120px);
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(8, 18, 31, 0.84), rgba(15, 31, 51, 0.7));
    z-index: -1;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(.62rem, 2.6vw, .76rem);
    text-transform: uppercase;
    letter-spacing: .13em;
    color: #d7f4ff;
    padding: clamp(6px, 2vw, 8px) clamp(10px, 3.5vw, 14px);
    border: 1px solid rgba(215, 244, 255, 0.34);
    border-radius: 999px;
    background: rgba(16, 43, 71, 0.5);
}

.display-hero {
    font-size: clamp(2.1rem, 4vw, 4.4rem);
    margin: 18px 0;
}

.lead-copy {
    font-size: clamp(.95rem, 2.6vw, 1.07rem);
    max-width: 760px;
}

.cta-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(10px, 2.8vw, 14px);
    margin-top: clamp(18px, 4.5vw, 28px);
}

.btn-premium {
    padding: clamp(9px, 2.4vw, 13px) clamp(16px, 4vw, 28px);
    border-radius: 999px;
    font-size: clamp(.82rem, 2.4vw, 1rem);
    font-weight: 800;
    border: 1px solid transparent;
    text-decoration: none;
    transition: var(--transition-base);
    -webkit-user-select: none;
    user-select: none;
    display: inline-block;
    cursor: pointer;
}

.btn-premium.primary {
    color: #052032;
    background: linear-gradient(110deg, var(--brand), var(--brand-2));
}

.btn-premium.primary:active {
    transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
    .btn-premium.primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(78, 208, 255, 0.35);
    }
}

.btn-premium.ghost {
    color: #f3f8ff;
    border-color: rgba(220, 236, 255, 0.4);
    background: rgba(255, 255, 255, 0.02);
}

.btn-premium.ghost:active {
    transform: scale(0.97);
    background: rgba(255, 255, 255, 0.05);
}

@media (hover: hover) and (pointer: fine) {
    .btn-premium.ghost:hover {
        border-color: var(--brand);
        color: var(--brand);
    }
}

.section {
    padding: clamp(56px, 8vw, 94px) 0;
}

.section-tight {
    padding: clamp(48px, 7vw, 74px) 0;
}

.section-title {
    font-size: clamp(1.7rem, 2.7vw, 3rem);
    margin-bottom: 16px;
}

.section-sub {
    max-width: 770px;
}

.glass-card {
    background: linear-gradient(145deg, rgba(18, 36, 58, 0.94), rgba(12, 26, 43, 0.94));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

@media (hover: hover) and (pointer: fine) {
    .glass-card:hover {
        border-color: rgba(90, 247, 203, 0.24);
        background: linear-gradient(145deg, rgba(18, 36, 58, 0.98), rgba(12, 26, 43, 0.98));
    }
}

.glass-card:active {
    transform: scale(0.995);
}

.metric-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric {
    padding: clamp(16px, 4.2vw, 24px);
}

.metric h3 {
    margin-bottom: 5px;
    font-size: 1.9rem;
    color: var(--brand-2);
}

.pillars {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pillar {
    padding: clamp(16px, 4.4vw, 28px);
    transition: transform .35s ease, border-color .35s ease;
}

.pillar:hover {
    transform: translateY(-8px);
    border-color: rgba(90, 247, 203, 0.36);
}

.pillar .icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    background: rgba(78, 208, 255, 0.14);
    color: var(--brand);
    font-size: 1.24rem;
}

.process-track {
    border-left: 1px dashed rgba(158, 202, 255, 0.35);
    margin-left: 20px;
    padding-left: 24px;
}

.process-step {
    margin-bottom: 22px;
    position: relative;
}

.process-step::before {
    content: "";
    position: absolute;
    left: -31px;
    top: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--brand), var(--brand-2));
}

.authority-band {
    padding: clamp(18px, 5vw, 30px);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 216, 141, 0.25);
    background: linear-gradient(140deg, rgba(255, 216, 141, 0.12), rgba(255, 216, 141, 0.03));
}

.page-hero {
    padding: clamp(112px, 18vw, 145px) 0 clamp(58px, 10vw, 88px);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(8, 18, 31, 0.88), rgba(11, 22, 37, 0.8));
}

.page-hero .container {
    position: relative;
}

.page-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-layout {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-panel {
    padding: clamp(16px, 4.6vw, 30px);
    min-height: clamp(220px, 48vw, 320px);
    position: relative;
    overflow: hidden;
}

.service-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 95% 10%, rgba(78, 208, 255, 0.16), transparent 40%);
    pointer-events: none;
}

.service-panel h4 {
    margin-bottom: 14px;
}

.service-panel ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.service-panel .read-more {
    margin-top: 18px;
    opacity: 0;
    transform: translateY(8px);
    transition: all .3s ease;
}

.service-panel.in-view .read-more {
    opacity: 1;
    transform: translateY(0);
}

.service-panel:hover .read-more,
.service-panel:focus-within .read-more {
    opacity: 1;
    transform: translateY(0);
}

.read-more a {
    color: #062133;
    background: linear-gradient(120deg, var(--brand), var(--brand-2));
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    padding: 8px 16px;
    display: inline-block;
}

.matrix-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.matrix-table th,
.matrix-table td {
    padding: 15px 18px;
    border-bottom: 1px solid rgba(163, 196, 234, 0.11);
    text-align: left;
}

.matrix-table th {
    background: rgba(78, 208, 255, 0.08);
    color: #e8f6ff;
    font-size: .88rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.matrix-table tr:last-child td {
    border-bottom: none;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.timeline-card {
    padding: clamp(16px, 4.2vw, 24px);
}

.timeline-card .week {
    font-size: .78rem;
    letter-spacing: .11em;
    color: var(--brand-2);
    text-transform: uppercase;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 22px;
}

.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.blog-mini-card {
    overflow: hidden;
}

.blog-mini-card img {
    width: 100%;
    height: clamp(120px, 30vw, 150px);
    object-fit: cover;
}

.blog-mini-body {
    padding: 16px;
}

.blog-mini-body h3 {
    font-size: 1rem;
    line-height: 1.35;
    min-height: 54px;
    margin-bottom: 14px;
}

.blog-mini-body .btn-premium {
    padding: 8px 16px;
    font-size: .82rem;
}

.blog-card {
    overflow: hidden;
    display: grid;
    gap: 18px;
}

.blog-card img {
    width: 100%;
    height: clamp(180px, 36vw, 260px);
    object-fit: cover;
}

.blog-card-body {
    padding: 0 clamp(18px, 4.6vw, 30px) clamp(20px, 4.6vw, 30px);
}

.feature-article,
.blog-stack article {
    padding: clamp(18px, 4.6vw, 30px);
}

.blog-stack {
    display: grid;
    gap: 22px;
}

.tag {
    display: inline-block;
    font-size: .72rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #cff2ff;
    border: 1px solid rgba(207, 242, 255, 0.27);
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.accordion-item {
    background: transparent;
    border: 1px solid var(--line);
}

.accordion-button {
    background: rgba(16, 34, 56, 0.92);
    color: #e6f1ff;
    font-weight: 700;
}

.accordion-button:not(.collapsed) {
    background: rgba(21, 43, 71, 0.96);
    color: #f3f8ff;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(78, 208, 255, 0.2);
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    background: rgba(9, 21, 36, 0.92);
    color: #c8d8ea;
}

.site-footer {
    margin-top: 86px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(10, 20, 34, 0.65), rgba(7, 15, 24, 1));
}

.footer-top {
    padding: clamp(50px, 8vw, 72px) clamp(12px, 4vw, 20px) clamp(28px, 5vw, 44px);
}

.site-footer .footer-top .row > .col-lg-4:nth-child(2) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    align-content: start;
}

.site-footer .footer-top .row > .col-lg-4:nth-child(2) h4 {
    grid-column: 1 / -1;
}

.site-footer .footer-top .row > [class*="col"] {
    padding-left: 0;
    padding-right: 0;
    min-width: 0;
}

.site-footer .footer-top .row {
    margin-left: 0;
    margin-right: 0;
}

.footer .container,
.footer .container-fluid,
.footer .container-xxl {
    padding-left: clamp(12px, 4vw, 20px);
    padding-right: clamp(12px, 4vw, 20px);
}

.footer .row {
    margin-left: 0;
    margin-right: 0;
}

.footer-link {
    display: block;
    text-decoration: none;
    color: var(--muted);
    margin-bottom: 10px;
    margin-left: 0;
    padding-left: 0;
    transition: .2s ease;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-mini {
    border-top: 1px solid var(--line);
    padding: 22px clamp(12px, 4vw, 20px);
    color: #88a5c5;
    font-size: .92rem;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.mobile-quick-action {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(7, 16, 27, 0.82);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(198, 217, 243, 0.22);
    display: none;
}

.mobile-quick-action .btn-premium {
    width: 100%;
    min-height: 44px;
    font-size: .82rem;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

img.is-loading {
    background: linear-gradient(100deg, rgba(157, 178, 205, 0.16) 20%, rgba(189, 206, 227, 0.34) 50%, rgba(157, 178, 205, 0.16) 80%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.2s linear infinite;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.footer-email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    font-size: .84rem;
}

.footer-socials {
    gap: 10px;
}

.footer-socials a {
    width: clamp(34px, 8vw, 38px);
    height: clamp(34px, 8vw, 38px);
}

.reveal {
    opacity: 1;
    transform: none;
}

body.js-ready .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s ease, transform .5s ease;
}

body.js-ready .reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.founder-spotlight {
    padding: clamp(18px, 4.8vw, 30px);
}

.founder-avatar {
    width: 100%;
    max-width: 320px;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.founder-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.founder-socials a {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #dceeff;
    border: 1px solid rgba(220, 238, 255, 0.35);
    background: rgba(255, 255, 255, 0.03);
    transition: .25s ease;
}

.founder-socials a:hover {
    background: linear-gradient(120deg, var(--brand), var(--brand-2));
    color: #052133;
    border-color: transparent;
    transform: translateY(-2px);
}

.footer-legal {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #9ec4e7;
    text-decoration: none;
    font-size: .9rem;
}

.footer-legal a:hover {
    color: #fff;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
    gap: 34px;
    align-items: start;
}

.article-main {
    padding-right: 8px;
}

.article-main h2,
.article-main h3,
.article-main h4 {
    margin-top: 1.6rem;
}

.article-main h2:first-child,
.article-main h3:first-child,
.article-main h4:first-child {
    margin-top: 0;
}

.article-sidebar {
    position: sticky;
    top: 110px;
}

.article-notes {
    padding: clamp(16px, 4.8vw, 28px);
    border-radius: var(--radius);
    border: 1px solid rgba(90, 247, 203, 0.24);
    background: linear-gradient(145deg, rgba(14, 31, 50, 0.88), rgba(10, 21, 34, 0.94));
    box-shadow: var(--shadow-sm);
}

.article-notes ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.article-notes li + li {
    margin-top: 12px;
}

.article-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 18px;
    color: #b8cae0;
    font-size: .94rem;
}

.article-plain {
    max-width: 100%;
}

.article-plain h2 {
    font-size: 1.65rem;
    margin-top: 1.6rem;
    margin-bottom: .7rem;
}

.article-plain h2:first-child {
    margin-top: 0;
}

.article-plain h3 {
    margin-top: 1.5rem;
    margin-bottom: .6rem;
}

.article-plain p {
    margin-bottom: 1rem;
    color: #bfd1e6;
}

@media (max-width: 1199px) {
    .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .timeline-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        background: rgba(7, 16, 27, 0.95);
        border-bottom: 1px solid var(--line);
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: clamp(12px, 3vw, 16px);
        padding-right: clamp(12px, 3vw, 16px);
    }

    .navbar-collapse {
        padding: 14px;
        border-radius: 11px;
        margin-top: 8px;
        background: #091828;
        border: 1px solid var(--line);
    }

    .navbar-brand h1 {
        font-size: clamp(.95rem, 2.8vw, 1.2rem);
    }

    .pillars,
    .metric-grid,
    .blog-grid,
    .blog-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .service-panel {
        min-height: 0;
        padding: 14px;
        max-height: 68vh;
        overflow: auto;
    }

    .service-panel h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .service-panel p,
    .service-panel li {
        font-size: .86rem;
        line-height: 1.45;
    }

    .service-panel ul {
        padding-left: 16px;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }

    .hero {
        padding-top: 126px;
    }

    .section {
        padding: 34px 0;
    }

    .section-tight {
        padding: 30px 0;
    }

.kicker {
        font-size: clamp(.56rem, 2.2vw, .72rem);
        padding: 5px clamp(8px, 2.5vw, 12px);
    }

    .display-hero {
        font-size: clamp(1.65rem, 5.8vw, 2.4rem);
        margin: 8px 0;
        letter-spacing: -.01em;
    }

    .lead-copy {
        font-size: .88rem;
        line-height: 1.52;
        max-width: 100%;
    }

    .glass-card,
    .service-item,
    .feature-article,
    .blog-stack article,
    .article-notes,
    .founder-spotlight,
    .timeline-card,
    .metric,
    .pillar {
        border-radius: 12px;
    }

    .service-item,
    .metric,
    .pillar,
    .timeline-card,
    .feature-article,
    .blog-stack article,
    .founder-spotlight,
    .article-notes,
    .authority-band,
    .service-detail-block {
        padding: 12px;
    }

    .service-item h5,
    .timeline-card h5,
    .pillar h4,
    .feature-article h3,
    .blog-stack h3 {
        font-size: .98rem;
        margin-bottom: 8px;
    }

    .service-item p,
    .timeline-card p,
    .pillar p,
    .feature-article p,
    .blog-stack p,
    .metric p,
    .article-notes li {
        font-size: .79rem;
        line-height: 1.4;
    }

    .site-footer {
        margin-top: 46px;
    }

    .site-footer .footer-top {
        padding-top: 34px;
        padding-bottom: 24px;
    }
}

@media (max-width: 767.98px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl,
    .container-fluid {
        padding-left: clamp(12px, 3.2vw, 16px);
        padding-right: clamp(12px, 3.2vw, 16px);
    }

    ::-webkit-scrollbar {
        width: 6px;
    }

    ::-webkit-scrollbar-track {
        background: rgba(8, 18, 31, 0.5);
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(78, 208, 255, 0.4);
        border-radius: 3px;
    }

    .section {
        padding: 26px 0;
    }

.section-tight {
        padding: 22px 0;
    }

    .page-hero,
    .page-header {
        padding: 106px 0 38px;
    }

    .hero {
        padding: 110px 0 38px;
    }

    .section-title {
        font-size: clamp(1.4rem, 4.2vw, 2.2rem);
        margin-bottom: 12px;
    }

    .section-sub {
        font-size: .86rem;
        line-height: 1.5;
    }

    .blog-cards-grid {
        gap: 12px;
    }

    .service-layout,
    .pillars,
    .metric-grid,
    .timeline-grid,
    .blog-grid,
    .blog-cards-grid,
    .article-layout {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .service-panel,
    .service-item,
    .metric,
    .pillar,
    .timeline-card,
    .feature-article,
    .blog-stack article,
    .article-notes,
    .founder-spotlight {
        padding: 9px;
        border-radius: 10px;
        max-height: 70vh;
        overflow: auto;
    }

    .authority-band,
    .glass-card {
        max-height: 70vh;
        overflow: auto;
    }

    .service-panel h4,
    .service-item h5,
    .timeline-card h5,
    .pillar h4 {
        font-size: .88rem;
        margin-bottom: 6px;
    }

    .service-panel p,
    .service-panel li,
    .service-item p,
    .metric p,
    .pillar p,
    .timeline-card p,
    .feature-article p,
    .blog-stack p,
    .article-notes li,
    .founder-spotlight p {
        font-size: .72rem;
        line-height: 1.35;
    }

.founder-avatar {
        max-width: 200px;
        margin: 0 auto;
    }

    .founder-socials {
        justify-content: center;
    }

    .site-footer .footer-top .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 8px;
    }

    .site-footer .footer-top .row,
    .footer .row {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .site-footer h4 {
        font-size: .95rem;
        margin-bottom: 12px;
    }

    .site-footer p,
    .site-footer .footer-link {
        margin-left: 0;
        padding-left: 0;
    }

.site-footer .footer-link,
    .site-footer p,
    .footer-mini,
    .footer-legal a {
        font-size: .81rem;
        line-height: 1.45;
        word-break: break-word;
    }

    .footer-email-btn {
        width: auto;
        min-height: 34px;
        justify-content: center;
        margin-bottom: 8px;
        margin-right: 8px;
        padding: 6px 10px;
        font-size: .72rem;
        border-radius: 999px;
    }

    .footer-email-btn + .footer-socials {
        display: inline-flex;
        vertical-align: middle;
        gap: 8px;
    }

    .footer-email-btn + .footer-socials a {
        width: 32px;
        height: 32px;
    }

    .site-footer .footer-top .row > .col-lg-4:nth-child(2) {
        grid-template-columns: 1fr;
    }

    .site-footer .footer-top .row > .col-lg-4:nth-child(2) h4 {
        grid-column: auto;
    }

    .blog-card-body {
        padding: 0 12px 14px;
    }

    .service-panel .read-more {
        opacity: 0;
        transform: translateY(6px);
    }

    .service-panel.in-view .read-more,
    .service-panel:focus-within .read-more {
        opacity: 1;
        transform: translateY(0);
    }

    .read-more a {
        padding: 7px 12px;
        font-size: .78rem;
    }

    .mobile-quick-action {
        display: block;
    }

    body {
        padding-bottom: 68px;
    }
}

/* Legacy page compatibility for existing detailed service files */
.page-header {
    padding: clamp(118px, 20vw, 150px) 0 clamp(62px, 11vw, 90px);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(8, 18, 31, 0.88), rgba(11, 22, 37, 0.8));
}

.page-header .container {
    position: relative;
}

.service-item {
    background: linear-gradient(145deg, rgba(18, 36, 58, 0.94), rgba(12, 26, 43, 0.94));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: clamp(16px, 4.6vw, 30px);
    height: 100%;
    transition: .35s ease;
}

.service-item:hover {
    transform: translateY(-6px);
    border-color: rgba(90, 247, 203, 0.4);
}

.service-item i,
.service-item h5 {
    color: #f3f8ff;
}

.service-item p {
    color: var(--muted);
}

.service-detail-block {
    background: linear-gradient(145deg, rgba(18, 36, 58, 0.94), rgba(12, 26, 43, 0.94));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.step-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    margin-right: 10px;
    color: #052133;
    font-weight: 800;
    background: linear-gradient(120deg, var(--brand), var(--brand-2));
}

.book-call-panel {
    background: linear-gradient(135deg, rgba(78, 208, 255, 0.2), rgba(90, 247, 203, 0.15));
    border-radius: var(--radius);
    border: 1px solid rgba(78, 208, 255, 0.35);
}

.book-call-panel .btn {
    border-radius: 999px;
    font-weight: 800;
}

.process-section {
    padding: 70px 0;
}

.flip-container {
    perspective: 1000px;
    min-height: clamp(220px, 48vw, 280px);
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .75s ease;
}

.flip-container:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4.6vw, 24px);
    backface-visibility: hidden;
    box-shadow: var(--shadow-sm);
}

.flip-front {
    background: linear-gradient(145deg, rgba(18, 36, 58, 0.94), rgba(12, 26, 43, 0.94));
}

.flip-front i {
    color: var(--brand);
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.flip-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(78, 208, 255, 0.2), rgba(90, 247, 203, 0.15));
}

.process-connector {
    position: absolute;
    top: 50%;
    left: 8%;
    width: 84%;
    border-top: 1px dashed rgba(159, 197, 233, 0.4);
}

.footer {
    margin-top: 86px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(10, 20, 34, 0.65), rgba(7, 15, 24, 1));
    color: var(--text);
    padding-top: clamp(50px, 8vw, 72px);
}

@media (max-width: 575.98px) {
    .navbar-collapse {
        padding: 12px;
    }

    .process-track {
        margin-left: 10px;
        padding-left: 14px;
    }

    .process-step::before {
        left: -21px;
        width: 10px;
        height: 10px;
    }

    .matrix-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .article-hero-meta {
        font-size: .84rem;
        gap: 8px 10px;
    }

    .site-footer .footer-top {
        padding-top: 24px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .footer .container,
    .footer .container-fluid,
    .footer .container-xxl {
        padding-left: 18px;
        padding-right: 18px;
    }

    .footer-mini {
        padding: 12px 18px;
    }
}

@media (max-width: 420px) {
    .display-hero {
        font-size: clamp(1.7rem, 9vw, 2.2rem);
    }

    .cta-wrap {
        width: 100%;
    }

    .cta-wrap > * {
        flex: 1 1 100%;
    }

    .btn-premium {
        width: 100%;
        text-align: center;
    }

    .service-layout {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .navbar {
        backdrop-filter: blur(10px);
    }

    .service-panel {
        padding: 9px;
    }

    .service-panel h4 {
        font-size: .82rem;
        margin-bottom: 6px;
    }

    .service-panel p,
    .service-panel li {
        font-size: .7rem;
        line-height: 1.3;
    }

    .read-more a {
        padding: 6px 10px;
        font-size: .7rem;
    }

    .service-panel,
    .metric,
    .pillar,
    .timeline-card,
    .service-item {
        border-radius: 9px;
    }
}

@media (max-width: 500px) {
    .cta-wrap {
        flex-direction: column;
    }

    .btn-premium {
        width: 100%;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 349.98px) {
    :root {
        --radius: 12px;
    }

    html {
        font-size: 15px;
    }

    body {
        font-size: .9rem;
        line-height: 1.5;
    }

    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl,
    .container-fluid {
        padding-left: 11px;
        padding-right: 11px;
    }

    .navbar {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .navbar-brand h1 {
        font-size: .88rem;
        margin: 0;
    }

    .logo-icon {
        margin-right: 5px;
        font-size: .88rem;
    }

    .navbar-toggler {
        width: 40px;
        height: 40px;
    }

    .nav-link {
        margin: 6px 0;
        padding: 6px 0;
        font-size: .9rem;
    }

    .btn-nav-partner {
        font-size: .75rem;
        padding: 6px 10px;
        letter-spacing: 0;
    }

    .hero {
        padding: 108px 0 32px;
    }

    .page-hero,
    .page-header {
        padding: 102px 0 32px;
    }

    .display-hero {
        font-size: clamp(1.48rem, 7vw, 1.9rem);
        margin: 6px 0 10px;
        line-height: 1.2;
        letter-spacing: -.015em;
    }

    .kicker {
        font-size: .52rem;
        padding: 4px clamp(7px, 2vw, 10px);
        gap: 5px;
    }

    .lead-copy {
        font-size: .82rem;
        margin-top: 8px;
        line-height: 1.45;
    }

    .section {
        padding: 28px 0;
    }

    .section-tight {
        padding: 24px 0;
    }

    .section-title {
        font-size: clamp(1.32rem, 4vw, 1.8rem);
        margin-bottom: 10px;
        line-height: 1.15;
    }

    .section-sub {
        font-size: .8rem;
        line-height: 1.48;
    }

    .cta-wrap {
        gap: 8px;
        margin-top: 14px;
    }

    .btn-premium {
        padding: 8px clamp(12px, 3vw, 16px);
        font-size: .73rem;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .service-layout {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .service-panel,
    .service-item,
    .metric,
    .pillar,
    .timeline-card,
    .feature-article,
    .blog-stack article,
    .article-notes,
    .founder-spotlight,
    .authority-band {
        padding: 10px 8px;
        border-radius: 10px;
    }

    .service-panel h4,
    .service-item h5,
    .timeline-card h5,
    .pillar h4,
    .feature-article h3,
    .blog-stack h3 {
        font-size: .8rem;
        margin-bottom: 5px;
        line-height: 1.2;
    }

    .service-panel p,
    .service-panel li,
    .service-item p,
    .metric p,
    .pillar p,
    .timeline-card p,
    .feature-article p,
    .blog-stack p,
    .article-notes li,
    .article-notes p,
    .founder-spotlight p {
        font-size: .7rem;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .service-panel ul {
        padding-left: 14px;
        margin-bottom: 6px;
    }

    .service-panel li {
        margin-bottom: 2px;
    }

    .read-more a {
        padding: 5px 8px;
        font-size: .66rem;
    }

    .metric-grid,
    .timeline-grid,
    .blog-cards-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .matrix-table {
        font-size: .7rem;
    }

    .matrix-table th,
    .matrix-table td {
        padding: 8px 10px;
    }

    .process-track {
        margin-left: 8px;
        padding-left: 12px;
    }

    .process-step::before {
        left: -19px;
        width: 9px;
        height: 9px;
    }

    .founder-avatar {
        max-width: 170px;
    }

    .founder-socials,
    .footer-socials {
        gap: 6px;
    }

    .founder-socials a,
    .footer-socials a {
        width: 30px;
        height: 30px;
        font-size: .7rem;
    }

    .site-footer {
        margin-top: 48px;
    }

    .footer-top {
        padding: 28px clamp(10px, 2.5vw, 14px) 18px;
    }

    .site-footer .footer-top .row {
        gap: 14px !important;
    }

    .site-footer h4 {
        font-size: .95rem;
        margin-bottom: 10px;
    }

    .site-footer p,
    .site-footer .footer-link {
        font-size: .76rem;
        margin-bottom: 6px;
        line-height: 1.4;
    }

    .footer-email-btn {
        width: 100%;
        padding: 8px 12px;
        font-size: .72rem;
        margin-bottom: 10px;
    }

    .footer-mini {
        padding: 14px clamp(10px, 2.5vw, 14px);
        font-size: .76rem;
        line-height: 1.4;
    }

    .footer-legal {
        flex-direction: column;
        gap: 8px;
    }

    .footer-legal a {
        font-size: .72rem;
    }

    .flip-container {
        min-height: clamp(140px, 45vw, 200px);
    }

    .flip-front i {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .blog-card img,
    .blog-mini-card img {
        height: clamp(100px, 24vw, 130px);
    }

    .blog-card-body,
    .blog-mini-body {
        padding: 10px 8px;
    }

    .blog-mini-body h3 {
        font-size: .8rem;
        min-height: auto;
        margin-bottom: 8px;
    }

    .tag {
        font-size: .65rem;
        padding: 4px 8px;
        margin-bottom: 8px;
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .article-main h2 {
        font-size: 1.3rem;
        margin-top: 10px;
        margin-bottom: 8px;
    }

    .article-main h3 {
        font-size: 1.08rem;
        margin-top: 8px;
        margin-bottom: 6px;
    }

    .article-main p {
        font-size: .8rem;
        line-height: 1.45;
    }

    .accordion-button {
        padding: 10px 12px;
        font-size: .85rem;
    }

    .accordion-body {
        padding: 12px;
        font-size: .78rem;
    }
}
