/* =========================================================
   FOCUSLEAD · REFERENCE FINAL
   Matched to the approved reference composition
========================================================= */

:root {
    --bg: #020304;
    --bg-soft: #050709;
    --panel: #0a0e12;
    --panel-2: #10161c;
    --text: #f4f6f8;
    --text-soft: #c2c8cd;
    --muted: #89939b;
    --muted-2: #606970;
    --line: rgba(255,255,255,.095);
    --line-strong: rgba(255,255,255,.18);
    --accent: #4bddc7;
    --accent-soft: rgba(75,221,199,.16);
    --shell: min(1240px, calc(100% - 64px));
    --header-h: 72px;
    --radius: 14px;
    --ease: cubic-bezier(.2,.8,.2,1);
}


/* =========================================================
   RESET / BASE
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background: radial-gradient(circle at 75% 7%, rgba(99,123,151,.07), transparent 22%), radial-gradient(circle at 15% 32%, rgba(75,221,199,.025), transparent 18%), var(--bg);
    color: var(--text);
    font-family: "Segoe UI", "Noto Sans", Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

    body.modal-open {
        overflow: hidden;
    }

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
}

::selection {
    background: #fff;
    color: #050607;
}

.site-main {
    overflow: clip;
}

.ref-shell {
    width: var(--shell);
    margin: 0 auto;
}

.ref-anchor {
    position: absolute;
    top: -90px;
}

.ref-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #8e989f;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 3.2px;
    text-transform: uppercase;
}

.ref-kicker-line {
    width: 19px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), rgba(255,255,255,.2));
}


/* =========================================================
   HEADER
========================================================= */

.main-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1200;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(2,3,4,.62);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: height .28s var(--ease), background .28s ease, border-color .28s ease, box-shadow .28s ease;
}

    .main-header.header-scrolled {
        height: 66px;
        background: rgba(2,3,4,.9);
        border-color: rgba(255,255,255,.055);
        box-shadow: 0 10px 32px rgba(0,0,0,.24);
    }

.header-container {
    width: var(--shell);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-mark-shell {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.18);
    background: #050709;
    box-shadow: 0 0 0 1px rgba(75,221,199,.05), 0 8px 22px rgba(0,0,0,.38);
}

.brand-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-wordmark {
    display: flex;
    flex-direction: column;
}

    .brand-wordmark strong {
        color: #f7f9fa;
        font-size: 13px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: 1.5px;
    }

        .brand-wordmark strong em {
            color: var(--accent);
            font-style: normal;
        }

    .brand-wordmark small {
        margin-top: 5px;
        color: #596269;
        font-size: 5px;
        font-weight: 700;
        letter-spacing: 1.25px;
    }

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
}

    .main-nav a,
    .header-nav-contact {
        position: relative;
        padding: 8px 0;
        border: 0;
        background: transparent;
        color: #c1c6ca;
        font-size: 10px;
        font-weight: 500;
        white-space: nowrap;
        cursor: pointer;
        transition: color .22s ease;
    }

        .main-nav a:hover,
        .header-nav-contact:hover {
            color: #fff;
        }

        .main-nav a::after,
        .header-nav-contact::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 3px;
            height: 1px;
            background: linear-gradient(90deg, #ffffff, var(--accent));
            transform: scaleX(0);
            transform-origin: right;
            transition: transform .25s var(--ease);
        }

        .main-nav a:hover::after,
        .header-nav-contact:hover::after {
            transform: scaleX(1);
            transform-origin: left;
        }

.header-actions {
    display: flex;
    align-items: center;
    gap: 13px;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.language-button {
    padding: 4px 2px;
    border: 0;
    background: transparent;
    color: #6f777d;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .45px;
    cursor: pointer;
}

    .language-button.active {
        color: #f3f5f6;
    }

.language-divider {
    color: #353b40;
    font-size: 8px;
}

.header-contact-button {
    min-height: 39px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    background: rgba(255,255,255,.018);
    color: #edf0f2;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .22s var(--ease), background .22s ease, border-color .22s ease;
}

    .header-contact-button svg {
        width: 14px;
        height: 14px;
    }

    .header-contact-button:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,.05);
        border-color: rgba(255,255,255,.58);
    }

.mobile-menu-button {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

    .mobile-menu-button span {
        width: 15px;
        height: 1px;
        background: #e5e8ea;
    }

.mobile-nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: rgba(3,4,5,.98);
    border-bottom: 1px solid var(--line);
    transition: max-height .35s var(--ease), opacity .25s ease;
}

.mobile-menu-open .mobile-nav-panel {
    max-height: 420px;
    opacity: 1;
}

.mobile-nav {
    width: calc(100% - 28px);
    margin: 0 auto;
    padding: 18px 0 22px;
    display: flex;
    flex-direction: column;
}

    .mobile-nav a,
    .mobile-nav button {
        min-height: 50px;
        display: flex;
        align-items: center;
        border: 0;
        border-bottom: 1px solid var(--line);
        background: transparent;
        color: #dce0e2;
        font-size: 13px;
        text-align: left;
    }


/* =========================================================
   HERO
========================================================= */

.ref-hero {
    position: relative;
    min-height: 600px;
    padding-top: var(--header-h);
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: radial-gradient(circle at 73% 42%, rgba(138,162,190,.12), transparent 26%), radial-gradient(circle at 90% 42%, rgba(75,221,199,.06), transparent 22%), linear-gradient(180deg, #020304 0%, #030506 100%);
}

    .ref-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        opacity: .45;
        background: linear-gradient(111deg, transparent 0 25%, rgba(255,255,255,.016) 25.1%, transparent 25.2%), linear-gradient(68deg, transparent 0 79%, rgba(255,255,255,.014) 79.1%, transparent 79.2%);
    }

.ref-hero-grid {
    position: relative;
    z-index: 2;
    min-height: 528px;
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    align-items: center;
    gap: 38px;
    padding: 34px 0 22px;
}

.ref-hero-copy {
    position: relative;
    z-index: 4;
    padding-top: 7px;
    animation: heroCopyIn 1.05s var(--ease) both;
}

.ref-hero-title {
    max-width: 590px;
    margin-top: 14px;
    color: #f7f9fa;
    font-size: clamp(56px, 5.1vw, 75px);
    line-height: .97;
    font-weight: 500;
    letter-spacing: -3.7px;
}

    .ref-hero-title > span {
        display: block;
    }

.ref-hero-title-muted {
    margin-top: 3px;
    color: #adb4ba;
}

.ref-hero-description {
    max-width: 420px;
    margin-top: 20px;
    color: #aab1b6;
    font-size: 12px;
    line-height: 1.62;
}

.ref-hero-actions {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 17px;
}

.ref-btn {
    min-height: 43px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .24s var(--ease), background .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.ref-btn-light {
    border: 1px solid #f3f5f6;
    background: linear-gradient(180deg, #fff, #e8ecef);
    color: #07090a;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.9);
}

    .ref-btn-light:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 34px rgba(0,0,0,.42), 0 0 18px rgba(255,255,255,.06);
    }

.ref-btn-ghost {
    border: 1px solid rgba(255,255,255,.24);
    background: rgba(255,255,255,.012);
    color: #edf0f2;
    font-size: 10px;
    font-weight: 600;
}

    .ref-btn-ghost:hover {
        transform: translateY(-2px);
        background: rgba(255,255,255,.045);
        border-color: rgba(255,255,255,.52);
    }

.ref-hero-index {
    margin-top: 41px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #7f888e;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.ref-hero-index-line {
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), rgba(255,255,255,.28));
}

.ref-hero-visual {
    position: relative;
    align-self: stretch;
    min-height: 500px;
    animation: heroVisualIn 1.25s .08s var(--ease) both;
}

.ref-hero-ambient {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.ref-hero-ambient-a {
    width: 310px;
    height: 250px;
    top: 21%;
    right: 13%;
    background: rgba(160,185,215,.14);
}

.ref-hero-ambient-b {
    width: 190px;
    height: 170px;
    bottom: 13%;
    right: 5%;
    background: rgba(75,221,199,.08);
}

.ref-ribbon {
    position: absolute;
    inset: -9% -13% -10% -18%;
    width: 128%;
    height: 122%;
    overflow: visible;
    filter: drop-shadow(0 24px 40px rgba(0,0,0,.38)) drop-shadow(0 0 18px rgba(173,201,228,.05));
    will-change: transform;
}

.ref-ribbon-layer {
    transform-origin: center;
}

.ref-ribbon-layer-a {
    animation: ribbonFloatA 9s ease-in-out infinite alternate;
}

.ref-ribbon-layer-b {
    animation: ribbonFloatB 11s ease-in-out infinite alternate;
}

.ref-ribbon-layer-c {
    animation: ribbonFloatC 8s ease-in-out infinite alternate;
}

.ref-hero-tech {
    position: absolute;
    top: 30px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
    color: #8b959c;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 2.3px;
}

    .ref-hero-tech span {
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .ref-hero-tech span::before {
            content: "";
            width: 15px;
            height: 1px;
            background: #566068;
        }

.ref-scroll-mark {
    position: absolute;
    right: 10px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #7d868c;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1.45px;
}

.ref-scroll-circle {
    position: relative;
    width: 25px;
    height: 25px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
}

    .ref-scroll-circle::after {
        content: "";
        position: absolute;
        left: 50%;
        top: calc(100% + 4px);
        width: 1px;
        height: 18px;
        background: linear-gradient(var(--accent), transparent);
    }

@keyframes heroCopyIn {
    from {
        opacity: 0;
        transform: translate3d(0,18px,0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes heroVisualIn {
    from {
        opacity: 0;
        transform: translate3d(28px,10px,0) scale(.985);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes ribbonFloatA {
    from {
        transform: translate3d(0,-5px,0) rotate(-.7deg);
    }

    to {
        transform: translate3d(4px,7px,0) rotate(.9deg);
    }
}

@keyframes ribbonFloatB {
    from {
        transform: translate3d(0,5px,0) rotate(.6deg);
    }

    to {
        transform: translate3d(-4px,-5px,0) rotate(-.8deg);
    }
}

@keyframes ribbonFloatC {
    from {
        transform: translate3d(-3px,0,0);
    }

    to {
        transform: translate3d(6px,-4px,0);
    }
}


/* =========================================================
   SMOOTH REVEAL
========================================================= */

.reveal-block,
.reveal-card {
    opacity: 0;
    transform: translate3d(0,26px,0);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal-card {
    transition-delay: var(--reveal-delay, 0ms);
}

    .reveal-block.is-visible,
    .reveal-card.is-visible {
        opacity: 1;
        transform: none;
    }


/* =========================================================
   SERVICES
========================================================= */

.ref-services {
    position: relative;
    padding: 43px 0 34px;
    overflow: hidden;
    background: radial-gradient(circle at 18% 12%, rgba(75,221,199,.035), transparent 17%), radial-gradient(circle at 92% 12%, rgba(146,168,194,.07), transparent 19%), linear-gradient(180deg, #040607 0%, #030405 100%);
}

    .ref-services::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
    }

.ref-section-head {
    display: grid;
    grid-template-columns: 1fr 300px auto;
    gap: 34px;
    align-items: end;
    margin-bottom: 20px;
}

    .ref-section-head h2 {
        margin-top: 8px;
        color: #f2f4f5;
        font-size: 32px;
        line-height: 1;
        font-weight: 500;
        letter-spacing: -1.25px;
    }

    .ref-section-head > p {
        color: #bdc3c7;
        font-size: 10px;
        line-height: 1.5;
    }

.ref-section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,.3);
    color: #edf0f2;
    font-size: 9px;
    font-weight: 600;
}

    .ref-section-link:hover {
        border-color: var(--accent);
    }

.ref-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.ref-service-card {
    position: relative;
    min-height: 272px;
    padding: 16px 15px 13px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.13);
    background: radial-gradient(circle at 86% 7%, rgba(222,234,246,.17), transparent 27%), radial-gradient(circle at 100% 100%, rgba(75,221,199,.06), transparent 25%), linear-gradient(155deg, rgba(255,255,255,.07), rgba(13,18,23,.97) 28%, rgba(5,8,10,.98) 74%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 14px 30px rgba(0,0,0,.23);
    transition: transform .34s var(--ease), border-color .28s ease, box-shadow .34s var(--ease), background .34s ease;
}

    .ref-service-card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        padding: 1px;
        background: linear-gradient( 135deg, rgba(255,255,255,.44), rgba(124,144,166,.08) 32%, transparent 54%, rgba(180,201,223,.17) 79%, rgba(255,255,255,.34) );
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: .48;
        pointer-events: none;
    }

    .ref-service-card::after {
        content: "";
        position: absolute;
        right: -46px;
        bottom: -42px;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        background: rgba(153,183,214,.11);
        filter: blur(38px);
        opacity: .38;
        pointer-events: none;
    }

    .ref-service-card:hover {
        transform: translateY(-7px);
        border-color: rgba(226,236,246,.27);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 22px 52px rgba(0,0,0,.36), 0 0 30px rgba(111,151,191,.04);
        background: radial-gradient(circle at 86% 7%, rgba(232,240,248,.21), transparent 28%), radial-gradient(circle at 100% 100%, rgba(75,221,199,.075), transparent 26%), linear-gradient(155deg, rgba(255,255,255,.085), rgba(14,20,25,.98) 28%, rgba(5,8,10,.98) 74%);
    }

.ref-service-index {
    position: relative;
    z-index: 2;
    color: #889198;
    font-size: 8px;
    letter-spacing: 1.1px;
}

.ref-service-art {
    position: absolute;
    top: 10px;
    right: 4px;
    width: 126px;
    height: 112px;
    filter: drop-shadow(0 12px 18px rgba(0,0,0,.42)) drop-shadow(0 0 16px rgba(151,179,208,.07));
    transition: transform .48s var(--ease);
}

.ref-service-card:hover .ref-service-art {
    transform: translate3d(0,-5px,0) rotate(2deg) scale(1.02);
}

.ref-service-card h3 {
    position: relative;
    z-index: 2;
    max-width: 170px;
    margin-top: auto;
    color: #f2f4f5;
    font-size: 14px;
    line-height: 1.22;
    font-weight: 650;
    letter-spacing: -.22px;
}

.ref-service-card p {
    position: relative;
    z-index: 2;
    min-height: 41px;
    margin-top: 8px;
    color: #959da3;
    font-size: 9px;
    line-height: 1.45;
}

.ref-round-arrow {
    position: relative;
    z-index: 2;
    width: 29px;
    height: 29px;
    margin-top: 10px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 50%;
    background: transparent;
    color: #f5f7f8;
    font-size: 14px;
    cursor: pointer;
    transition: transform .24s var(--ease), background .24s ease, color .24s ease;
}

    .ref-round-arrow:hover {
        transform: rotate(-35deg);
        background: #f1f3f4;
        color: #07090a;
    }


/* =========================================================
   PRODUCT
========================================================= */

.ref-product {
    padding: 24px 0 35px;
    background: radial-gradient(circle at 76% 52%, rgba(132,160,190,.07), transparent 22%), #030405;
}

.ref-product-panel {
    position: relative;
    min-height: 345px;
    display: grid;
    grid-template-columns: .74fr 1.26fr;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 17px;
    background: radial-gradient(circle at 80% 16%, rgba(149,177,208,.09), transparent 28%), linear-gradient(145deg, rgba(255,255,255,.05), rgba(8,11,14,.98) 31%, #050607 84%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 20px 54px rgba(0,0,0,.28);
}

.ref-product-copy {
    position: relative;
    z-index: 4;
    padding: 37px 18px 32px 23px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .ref-product-copy h2 {
        margin-top: 11px;
        color: #f3f5f6;
        font-size: 39px;
        line-height: 1;
        font-weight: 500;
        letter-spacing: -1.7px;
    }

.ref-product-subtitle {
    margin-top: 7px !important;
    color: #c8ced2 !important;
    font-size: 13px !important;
}

.ref-product-copy > p {
    max-width: 320px;
    margin-top: 11px;
    color: #8e979d;
    font-size: 10px;
    line-height: 1.56;
}

.ref-product-button {
    align-self: flex-start;
    margin-top: 18px;
}

.ref-product-visual {
    position: relative;
    min-height: 345px;
}

.ref-product-light {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.ref-product-light-a {
    width: 470px;
    height: 5px;
    left: -55px;
    top: 90px;
    background: linear-gradient(90deg, transparent, #eef5fb 34%, var(--accent) 70%, transparent);
    transform: rotate(-31deg);
    filter: blur(1px);
    box-shadow: 0 0 16px rgba(75,221,199,.24);
}

.ref-product-light-b {
    width: 360px;
    height: 4px;
    right: -55px;
    top: 43px;
    background: linear-gradient(90deg, transparent, #cedcea 30%, var(--accent) 66%, transparent);
    transform: rotate(28deg);
    opacity: .72;
    filter: blur(1px);
}

.ref-pr-window {
    position: absolute;
    left: 2%;
    right: -4%;
    top: 10%;
    bottom: -15%;
    display: grid;
    grid-template-columns: 142px 1fr;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 13px;
    background: #090b0d;
    box-shadow: 0 28px 70px rgba(0,0,0,.5);
    transform: rotate(2.4deg);
    transform-origin: center;
    transition: box-shadow .32s var(--ease);
    will-change: transform;
}

.ref-product-panel:hover .ref-pr-window {
    box-shadow: 0 30px 78px rgba(0,0,0,.55), 0 0 28px rgba(121,160,198,.04);
}

.ref-pr-sidebar {
    padding: 17px 11px;
    border-right: 1px solid rgba(255,255,255,.055);
    background: #07090b;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ref-pr-brand {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.ref-pr-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ff767e, #cc2c3d 62%, #811720);
    box-shadow: 0 0 9px rgba(222,45,58,.18);
}

.ref-pr-brand strong {
    font-size: 8.5px;
    font-weight: 650;
}

.ref-pr-nav {
    min-height: 25px;
    padding: 0 7px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    color: #666f75;
    font-size: 7px;
}

    .ref-pr-nav.active {
        color: #e4e7e9;
        background: rgba(75,221,199,.1);
    }

.ref-pr-main {
    padding: 22px;
    background: radial-gradient(circle at 90% 0, rgba(75,221,199,.03), transparent 28%), #0a0c0f;
}

.ref-pr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

    .ref-pr-header strong {
        font-size: 15px;
        font-weight: 560;
    }

.ref-pr-periods {
    display: flex;
    gap: 5px;
}

    .ref-pr-periods span {
        padding: 5px 7px;
        border-radius: 5px;
        color: #626b71;
        font-size: 6.5px;
    }

        .ref-pr-periods span.active {
            background: rgba(255,255,255,.055);
            color: #d1d6d9;
        }

.ref-pr-metrics {
    margin-top: 17px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

    .ref-pr-metrics > div {
        min-height: 72px;
        padding: 11px;
        border: 1px solid rgba(255,255,255,.065);
        border-radius: 8px;
        background: linear-gradient(145deg, rgba(255,255,255,.026), rgba(255,255,255,.008));
    }

    .ref-pr-metrics strong {
        display: block;
        color: #f0f2f3;
        font-size: 21px;
        font-weight: 560;
    }

    .ref-pr-metrics span {
        display: block;
        margin-top: 4px;
        color: #6d767c;
        font-size: 6.5px;
    }

.ref-pr-chart {
    height: 127px;
    margin-top: 9px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 9px;
    background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px), #080a0c;
    background-size: 100% 31px, 58px 100%, auto;
}

    .ref-pr-chart svg {
        width: 100%;
        height: 100%;
    }


/* =========================================================
   PROCESS
========================================================= */

.ref-process {
    position: relative;
    padding: 27px 0 34px;
    background: radial-gradient(circle at 80% 50%, rgba(133,158,184,.035), transparent 20%), #030405;
}

.ref-process-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 52px;
    align-items: end;
}

.ref-process-copy h2 {
    max-width: 340px;
    margin-top: 9px;
    color: #f0f2f3;
    font-size: 28px;
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -1.1px;
}

.ref-process-copy > p {
    max-width: 345px;
    margin-top: 10px;
    color: #8d969c;
    font-size: 9px;
    line-height: 1.58;
}

.ref-inline-link {
    margin-top: 12px;
    padding: 0 0 3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.27);
    background: transparent;
    color: #e8ebed;
    font-size: 8px;
    font-weight: 600;
    cursor: pointer;
}

.ref-process-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.ref-process-track {
    position: absolute;
    z-index: 0;
    left: 7%;
    right: 7%;
    top: 17px;
    height: 1px;
    overflow: hidden;
    background: linear-gradient( 90deg, rgba(255,255,255,.07), rgba(255,255,255,.24), rgba(255,255,255,.07) );
}

.ref-process-track-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: linear-gradient( 90deg, rgba(75,221,199,.45), #dfe8ef 45%, #ffffff 64%, var(--accent) );
    box-shadow: 0 0 7px rgba(255,255,255,.28), 0 0 13px rgba(75,221,199,.22);
    transition: width .68s var(--ease);
}

.ref-process-step {
    position: relative;
    z-index: 2;
}

.ref-process-number {
    position: relative;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    overflow: visible;
    border: 1px solid rgba(255,255,255,.43);
    border-radius: 50%;
    background: #030405;
    color: #e7eaec;
    font-size: 7px;
    font-weight: 650;
    box-shadow: 0 0 0 rgba(75,221,199,0);
    transition: color .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s var(--ease);
}

    .ref-process-number::after {
        content: "";
        position: absolute;
        inset: -5px;
        border: 1px solid rgba(75,221,199,.0);
        border-radius: 50%;
        transform: scale(.72);
        opacity: 0;
        pointer-events: none;
    }

.ref-process-number-text,
.ref-process-check {
    grid-area: 1 / 1;
    transition: opacity .3s ease, transform .35s var(--ease);
}

.ref-process-check {
    color: #07100e;
    font-size: 13px;
    font-weight: 900;
    opacity: 0;
    transform: scale(.45) rotate(-18deg);
}

.ref-process-step strong {
    display: block;
    margin-top: 14px;
    color: #e6e9eb;
    font-size: 9.5px;
    font-weight: 580;
    transition: color .32s ease, transform .32s var(--ease);
}

.ref-process-step p {
    margin-top: 5px;
    color: #747d83;
    font-size: 7.5px;
    line-height: 1.45;
    transition: color .32s ease;
}

/* Current step */
.ref-process-step.is-current .ref-process-number {
    color: #ffffff;
    border-color: rgba(75,221,199,.9);
    background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.08), rgba(75,221,199,.08)), #06100f;
    box-shadow: 0 0 0 4px rgba(75,221,199,.045), 0 0 18px rgba(75,221,199,.2);
    transform: scale(1.06);
}

    .ref-process-step.is-current .ref-process-number::after {
        border-color: rgba(75,221,199,.42);
        animation: processPulse 1s ease-out infinite;
    }

.ref-process-step.is-current strong {
    color: #ffffff;
    transform: translateY(-1px);
}

.ref-process-step.is-current p {
    color: #9ea7ad;
}

/* Completed step */
.ref-process-step.is-done .ref-process-number {
    border-color: rgba(75,221,199,.92);
    background: linear-gradient(145deg, #eff7f5 0%, #aee7de 52%, var(--accent) 100%);
    color: #07100e;
    box-shadow: 0 0 0 3px rgba(75,221,199,.035), 0 0 15px rgba(75,221,199,.14);
    transform: scale(1);
}

.ref-process-step.is-done .ref-process-number-text {
    opacity: 0;
    transform: scale(.55) rotate(14deg);
}

.ref-process-step.is-done .ref-process-check {
    opacity: 1;
    transform: scale(1) rotate(0);
}

.ref-process-step.is-done strong {
    color: #f2f5f6;
}

.ref-process-step.is-done p {
    color: #879097;
}

@keyframes processPulse {
    0% {
        opacity: .75;
        transform: scale(.72);
    }

    70% {
        opacity: 0;
        transform: scale(1.34);
    }

    100% {
        opacity: 0;
        transform: scale(1.34);
    }
}


/* =========================================================
   CTA
========================================================= */

.ref-cta {
    padding: 0 0 38px;
    background: #030405;
}

.ref-cta-panel {
    position: relative;
    min-height: 112px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: radial-gradient(circle at 84% 30%, rgba(149,177,208,.08), transparent 30%), linear-gradient(145deg, rgba(255,255,255,.045), rgba(7,10,12,.98));
}

.ref-cta-copy {
    position: relative;
    z-index: 3;
}

    .ref-cta-copy h2 {
        color: #f2f4f5;
        font-size: 22px;
        line-height: 1.1;
        font-weight: 500;
        letter-spacing: -.85px;
    }

    .ref-cta-copy p {
        max-width: 470px;
        margin-top: 6px;
        color: #818a90;
        font-size: 8px;
        line-height: 1.48;
    }

.ref-cta-ribbon {
    position: absolute;
    right: 105px;
    top: -31px;
    width: 455px;
    opacity: .78;
}

.ref-cta-button {
    position: relative;
    z-index: 3;
    min-width: 128px;
}


/* =========================================================
   FOOTER
========================================================= */

.main-footer {
    border-top: 1px solid rgba(255,255,255,.055);
    background: #020304;
}

.footer-container {
    width: var(--shell);
    margin: 0 auto;
    padding: 31px 0 24px;
    display: grid;
    grid-template-columns: 1.18fr .74fr .88fr .96fr 1.02fr;
    gap: 32px 27px;
    align-items: start;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.footer-brand-mark {
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.14);
}

    .footer-brand-mark img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.footer-brand-wordmark {
    display: flex;
    flex-direction: column;
}

    .footer-brand-wordmark strong {
        color: #eff1f2;
        font-size: 11px;
        font-weight: 750;
        letter-spacing: 1.1px;
    }

        .footer-brand-wordmark strong em {
            color: var(--accent);
            font-style: normal;
        }

    .footer-brand-wordmark small {
        margin-top: 4px;
        color: #535c62;
        font-size: 4.7px;
        font-weight: 650;
        letter-spacing: .95px;
    }

.footer-brand > p {
    max-width: 210px;
    margin-top: 12px;
    color: #667078;
    font-size: 7.5px;
    line-height: 1.52;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

    .footer-column h4 {
        margin-bottom: 4px;
        color: #dfe3e5;
        font-size: 8.5px;
        font-weight: 650;
    }

    .footer-column a,
    .footer-column button,
    .footer-location {
        width: fit-content;
        padding: 0;
        border: 0;
        background: transparent;
        color: #717a80;
        font-size: 7px;
        line-height: 1.5;
        text-align: left;
    }

    .footer-column a,
    .footer-column button {
        cursor: pointer;
    }

        .footer-column a:hover,
        .footer-column button:hover {
            color: #dce0e2;
        }

.footer-contact-link {
    color: #aeb5ba !important;
}

.footer-bottom {
    width: var(--shell);
    margin: 0 auto;
    padding: 12px 0 16px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,.05);
    color: #535b61;
    font-size: 6.5px;
}


/* =========================================================
   PRODUCT MODAL
========================================================= */

.product-modal,
.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 6000;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}

    .product-modal.active,
    .legal-modal.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

.product-modal-overlay,
.legal-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.84);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.product-modal-window,
.legal-modal-window {
    position: relative;
    z-index: 2;
    width: min(820px, 100%);
    max-height: calc(100vh - 44px);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: radial-gradient(circle at 100% 0%, rgba(105,130,157,.06), transparent 28%), #080a0c;
    box-shadow: 0 38px 110px rgba(0,0,0,.72);
    transform: translateY(16px) scale(.986);
    transition: transform .26s var(--ease);
}

.product-modal-window {
    width: min(760px, 100%);
    padding: 28px;
    overflow-y: auto;
}

.product-modal.active .product-modal-window,
.legal-modal.active .legal-modal-window {
    transform: translateY(0) scale(1);
}

.product-modal-close,
.legal-modal-close {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    background: rgba(255,255,255,.012);
    color: #818a90;
    font-size: 20px;
    cursor: pointer;
}

.product-modal-close {
    position: absolute;
    top: 17px;
    right: 17px;
}

.product-modal-header {
    padding-right: 50px;
    display: flex;
    align-items: center;
    gap: 13px;
}

.product-modal-logo {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    background: rgba(255,255,255,.02);
    color: #eceff1;
    font-size: 14px;
    font-weight: 750;
}

.product-modal-category {
    color: #6b747a;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.product-modal-header h2 {
    margin-top: 5px;
    font-size: 27px;
    font-weight: 560;
    letter-spacing: -1px;
}

.product-modal-badges {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .product-modal-badges span {
        padding: 5px 8px;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 999px;
        color: #7c858b;
        font-size: 7px;
    }

.product-modal-body {
    margin-top: 24px;
}

    .product-modal-body h3 {
        color: #e8ebed;
        font-size: 15px;
        font-weight: 580;
    }

    .product-modal-body > p {
        margin-top: 10px;
        color: #7a8389;
        font-size: 10px;
        line-height: 1.72;
    }

.product-modal-divider {
    height: 1px;
    margin: 24px 0;
    background: rgba(255,255,255,.055);
}

.product-modal-features {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.product-modal-feature {
    padding: 13px;
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 9px;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 10px;
    background: rgba(255,255,255,.01);
}

    .product-modal-feature > span {
        color: #626b71;
        font-size: 7px;
    }

    .product-modal-feature strong {
        color: #dfe3e5;
        font-size: 10px;
        font-weight: 600;
    }

    .product-modal-feature p {
        margin-top: 5px;
        color: #687178;
        font-size: 8px;
        line-height: 1.5;
    }

.product-modal-subscription {
    margin-top: 20px;
    padding: 15px;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 11px;
}

.subscription-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    color: #d0d5d8;
}

.product-modal-subscription > div:last-child > span {
    color: #646d73;
    font-size: 6.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.product-modal-subscription strong {
    display: block;
    margin-top: 4px;
    font-size: 12px;
}

.product-modal-subscription p {
    margin-top: 6px;
    color: #707980;
    font-size: 8px;
    line-height: 1.55;
}

.product-modal-footer {
    margin-top: 23px;
    padding-top: 17px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,.055);
}

.modal-primary-button,
.modal-secondary-button {
    min-height: 39px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 650;
    cursor: pointer;
}

.modal-primary-button {
    border: 1px solid #fff;
    background: #eff1f2;
    color: #080a0b;
}

.modal-secondary-button {
    border: 1px solid rgba(255,255,255,.16);
    background: transparent;
    color: #9ca4aa;
}


/* =========================================================
   LEGAL / CLIENT MODALS
========================================================= */

.legal-modal-window {
    display: flex;
    flex-direction: column;
}

.legal-modal-window-small {
    width: min(680px, 100%);
}

.legal-modal-top {
    min-height: 92px;
    padding: 21px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-bottom: 1px solid rgba(255,255,255,.055);
}

.legal-modal-label {
    color: #676f75;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 2px;
}

.legal-modal-top h2 {
    margin-top: 5px;
    color: #e9ecee;
    font-size: 23px;
    line-height: 1.16;
    font-weight: 560;
    letter-spacing: -.8px;
}

.legal-modal-top p {
    max-width: 600px;
    margin-top: 5px;
    color: #687178;
    font-size: 9px;
    line-height: 1.45;
}

.legal-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 27px 29px 30px;
    scrollbar-width: thin;
    scrollbar-color: #566069 transparent;
}

.legal-document-meta {
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 11px;
}

    .legal-document-meta span {
        display: block;
        color: #677077;
        font-size: 6.5px;
        font-weight: 700;
        letter-spacing: 1.5px;
    }

    .legal-document-meta strong {
        display: block;
        margin-top: 6px;
        color: #e7eaec;
        font-size: 14px;
        font-weight: 600;
    }

    .legal-document-meta small {
        display: block;
        margin-top: 6px;
        color: #5f686e;
        font-size: 8px;
    }

.legal-section {
    padding: 21px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

    .legal-section h3 {
        color: #dfe3e5;
        font-size: 13px;
        line-height: 1.35;
        font-weight: 600;
    }

    .legal-section p {
        margin-top: 9px;
        color: #7a8389;
        font-size: 9px;
        line-height: 1.72;
    }

    .legal-section ul {
        margin-top: 10px;
        padding-left: 17px;
        color: #7a8389;
    }

    .legal-section li {
        margin-bottom: 5px;
        font-size: 9px;
        line-height: 1.55;
    }

        .legal-section li::marker {
            color: #8f9aa3;
        }

.legal-final-note,
.support-info-note {
    margin-top: 21px;
    padding: 15px 16px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.01);
}

.legal-final-note {
    display: flex;
    gap: 10px;
}

.status-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    margin-top: 4px;
    border-radius: 50%;
    background: var(--accent);
}

.legal-final-note strong,
.support-info-note strong {
    color: #dce0e2;
    font-size: 10px;
    font-weight: 600;
}

.legal-final-note p,
.support-info-note p {
    margin-top: 5px;
    color: #6c757b;
    font-size: 8px;
    line-height: 1.55;
}

.legal-modal-footer {
    padding: 13px 21px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid rgba(255,255,255,.05);
}

.legal-close-button {
    min-width: 106px;
    min-height: 37px;
    padding: 0 16px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #eceff1;
    color: #080a0b;
    font-size: 9px;
    font-weight: 650;
    cursor: pointer;
}

.company-details {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 11px;
}

.company-detail-row {
    display: grid;
    grid-template-columns: 165px 1fr;
    gap: 20px;
    padding: 13px 15px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

    .company-detail-row:last-child {
        border-bottom: 0;
    }

    .company-detail-row > span {
        color: #626b71;
        font-size: 8px;
    }

    .company-detail-row strong,
    .company-detail-row a {
        color: #cbd0d3;
        font-size: 9px;
        font-weight: 500;
        line-height: 1.55;
    }

.client-steps,
.client-info-cards,
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.client-step,
.client-info-card {
    padding: 13px 15px;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 11px;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 10px;
}

.client-step-number {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    color: #929ba1;
    font-size: 7px;
}

.client-step strong,
.client-info-card strong {
    color: #d8dcdf;
    font-size: 10px;
    font-weight: 600;
}

.client-step p,
.client-info-card p {
    margin-top: 4px;
    color: #687178;
    font-size: 8px;
    line-height: 1.55;
}

.client-info-card > span {
    color: #646d73;
    font-size: 7px;
}

.faq-item {
    padding: 17px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

    .faq-item h3 {
        color: #dce0e2;
        font-size: 11px;
        font-weight: 600;
    }

    .faq-item p {
        margin-top: 7px;
        color: #737c82;
        font-size: 9px;
        line-height: 1.65;
    }


/* =========================================================
   ASSISTANT
========================================================= */

.assistant-widget {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 7000;
}

.assistant-launcher {
    position: relative;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    background: #080a0c;
    box-shadow: 0 15px 36px rgba(0,0,0,.42);
    cursor: pointer;
}

.assistant-launcher-icon {
    width: 36px;
    height: 36px;
    overflow: hidden;
    border-radius: 50%;
}

    .assistant-launcher-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.assistant-launcher-status {
    position: absolute;
    right: 0;
    bottom: 1px;
    width: 9px;
    height: 9px;
    border: 2px solid #050708;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 7px rgba(75,221,199,.55);
}

.assistant-panel {
    position: absolute;
    right: 0;
    bottom: 63px;
    width: 370px;
    height: 520px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: #080a0c;
    box-shadow: 0 32px 90px rgba(0,0,0,.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(.985);
    transition: opacity .2s ease, visibility .2s ease, transform .24s var(--ease);
}

    .assistant-panel.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

.assistant-header {
    min-height: 68px;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.assistant-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.assistant-avatar {
    width: 36px;
    height: 36px;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
}

    .assistant-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.assistant-header-left strong {
    display: block;
    font-size: 10px;
    font-weight: 600;
}

.assistant-header-left span {
    position: relative;
    display: inline-flex;
    margin-top: 3px;
    padding-left: 9px;
    color: #666f75;
    font-size: 7px;
}

    .assistant-header-left span::before {
        content: "";
        position: absolute;
        left: 0;
        top: 4px;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--accent);
    }

.assistant-close {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    background: transparent;
    color: #7a8389;
    font-size: 16px;
    cursor: pointer;
}

.assistant-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px 13px 18px;
}

.assistant-message {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    margin-bottom: 10px;
}

.assistant-message-user {
    justify-content: flex-end;
}

.assistant-message-avatar {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    color: #929ba1;
    font-size: 6px;
}

.assistant-message-content {
    max-width: 82%;
    padding: 9px 10px;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 10px;
    background: rgba(255,255,255,.012);
    color: #98a0a6;
    font-size: 9px;
    line-height: 1.55;
}

.assistant-message-user .assistant-message-content {
    background: rgba(255,255,255,.055);
    color: #e0e4e6;
}

.assistant-quick-actions {
    margin: 3px 0 14px 31px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

    .assistant-quick-actions button {
        min-height: 26px;
        padding: 0 8px;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 999px;
        background: transparent;
        color: #737c82;
        font-size: 7px;
        cursor: pointer;
    }

.assistant-typing {
    min-width: 48px;
    height: 31px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 9px;
}

    .assistant-typing span {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #8f989f;
        opacity: .35;
        animation: assistantTyping 1.15s infinite ease-in-out;
    }

        .assistant-typing span:nth-child(2) {
            animation-delay: .14s;
        }

        .assistant-typing span:nth-child(3) {
            animation-delay: .28s;
        }

@keyframes assistantTyping {
    0%,60%,100% {
        transform: translateY(0);
        opacity: .3;
    }

    30% {
        transform: translateY(-3px);
        opacity: 1;
    }
}

.assistant-input-area {
    padding: 10px;
    display: flex;
    align-items: flex-end;
    gap: 7px;
    border-top: 1px solid rgba(255,255,255,.05);
}

    .assistant-input-area textarea {
        flex: 1;
        min-height: 38px;
        max-height: 100px;
        padding: 10px 11px;
        resize: none;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 9px;
        outline: 0;
        background: rgba(255,255,255,.012);
        color: #d8dcdf;
        font-size: 9px;
    }

        .assistant-input-area textarea::placeholder {
            color: #4f585e;
        }

.assistant-send {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #eef0f1;
    color: #080a0b;
    font-size: 14px;
    cursor: pointer;
}


/* =========================================================
   KAZAKH TUNING
========================================================= */

html[lang="kk"] .ref-hero-title {
    font-size: clamp(49px, 4.6vw, 68px);
    letter-spacing: -2.8px;
}

html[lang="kk"] .ref-service-card h3 {
    font-size: 13px;
}

html[lang="kk"] .main-nav {
    gap: 21px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1120px) {
    :root {
        --shell: min(1000px, calc(100% - 44px));
    }

    .main-nav {
        gap: 19px;
    }

        .main-nav a,
        .header-nav-contact {
            font-size: 9px;
        }

    .ref-hero-title {
        font-size: 62px;
    }

    .ref-service-art {
        width: 116px;
    }
}


@media (max-width: 980px) {
    :root {
        --shell: calc(100% - 34px);
    }

    .main-nav,
    .header-contact-button {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .header-container {
        grid-template-columns: auto 1fr;
    }

    .header-actions {
        justify-self: end;
    }

    .ref-hero {
        min-height: 735px;
    }

    .ref-hero-grid {
        min-height: 663px;
        grid-template-columns: 1fr;
        align-items: start;
        padding-top: 68px;
    }

    .ref-hero-copy {
        max-width: 640px;
    }

    .ref-hero-visual {
        position: absolute;
        right: -12%;
        bottom: -16%;
        width: 78%;
        height: 500px;
        min-height: 0;
        opacity: .72;
        pointer-events: none;
    }

    .ref-section-head {
        grid-template-columns: 1fr auto;
    }

        .ref-section-head > p {
            grid-column: 1;
        }

    .ref-section-link {
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: end;
    }

    .ref-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ref-service-card {
        min-height: 288px;
    }

    .ref-product-panel {
        grid-template-columns: 1fr;
    }

    .ref-product-copy {
        padding: 33px 28px 12px;
    }

    .ref-product-visual {
        min-height: 325px;
    }

    .ref-process-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-container {
        grid-template-columns: 1.2fr repeat(2, 1fr);
    }

    .footer-brand {
        grid-row: span 2;
    }
}


@media (max-width: 700px) {
    :root {
        --shell: calc(100% - 26px);
        --header-h: 66px;
    }

    .brand-mark-shell {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .brand-wordmark strong {
        font-size: 12px;
    }

    .brand-wordmark small {
        font-size: 5px;
    }

    .ref-hero {
        min-height: 700px;
    }

    .ref-hero-grid {
        min-height: 634px;
        padding-top: 60px;
    }

    .ref-kicker {
        font-size: 7px;
        letter-spacing: 2.5px;
    }

    .ref-hero-title {
        max-width: 510px;
        font-size: 49px;
        letter-spacing: -2.7px;
    }

    html[lang="kk"] .ref-hero-title {
        font-size: 42px;
        letter-spacing: -2.1px;
    }

    .ref-hero-description {
        max-width: 460px;
        font-size: 11px;
    }

    .ref-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .ref-hero-index {
        margin-top: 34px;
    }

    .ref-hero-visual {
        width: 108%;
        right: -49%;
        bottom: -14%;
        opacity: .58;
    }

    .ref-hero-tech {
        display: none;
    }

    .ref-scroll-mark {
        right: 31%;
    }

    .ref-services {
        padding-top: 38px;
    }

    .ref-section-head {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ref-section-link {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }

    .ref-service-grid {
        grid-template-columns: 1fr;
    }

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

    .ref-service-art {
        width: 128px;
    }

    .ref-product-copy h2 {
        font-size: 35px;
    }

    .ref-pr-window {
        left: 4%;
        right: -18%;
        grid-template-columns: 110px 1fr;
    }

    .ref-pr-main {
        padding: 16px;
    }

    .ref-pr-metrics {
        grid-template-columns: 1fr 1fr;
    }

        .ref-pr-metrics > div:last-child {
            display: none;
        }

    .ref-process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 27px 18px;
    }

    .ref-process-track {
        display: none;
    }

    .ref-cta-panel {
        padding: 22px 20px;
        align-items: flex-start;
        flex-direction: column;
        gap: 21px;
    }

    .ref-cta-ribbon {
        right: -110px;
        opacity: .38;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 27px 22px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .product-modal,
    .legal-modal {
        padding: 10px;
    }

    .product-modal-window,
    .legal-modal-window {
        max-height: calc(100vh - 20px);
        border-radius: 15px;
    }

    .product-modal-window {
        padding: 20px 16px;
    }

    .product-modal-features {
        grid-template-columns: 1fr;
    }

    .product-modal-footer {
        flex-direction: column-reverse;
    }

    .modal-primary-button,
    .modal-secondary-button {
        width: 100%;
    }

    .legal-modal-top {
        padding: 18px 16px;
    }

        .legal-modal-top h2 {
            font-size: 20px;
        }

        .legal-modal-top p {
            display: none;
        }

    .legal-modal-content {
        padding: 21px 16px 25px;
    }

    .company-detail-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .assistant-widget {
        right: 12px;
        bottom: 12px;
    }

    .assistant-panel {
        position: fixed;
        left: 9px;
        right: 9px;
        bottom: 74px;
        width: auto;
        height: min(540px, calc(100vh - 92px));
    }
}


@media (max-width: 440px) {
    .brand-wordmark {
        display: none;
    }

    .ref-hero-title {
        font-size: 41px;
    }

    html[lang="kk"] .ref-hero-title {
        font-size: 35px;
    }

    .ref-hero-visual {
        width: 128%;
        right: -66%;
        opacity: .52;
    }

    .ref-pr-window {
        right: -34%;
        grid-template-columns: 94px 1fr;
    }

    .ref-pr-sidebar {
        padding: 12px 8px;
    }

    .ref-pr-main {
        padding: 14px;
    }

    .ref-pr-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ref-pr-chart {
        height: 108px;
    }

    .ref-process-steps {
        grid-template-columns: 1fr;
    }

    .ref-process-step {
        display: grid;
        grid-template-columns: 37px 1fr;
        column-gap: 11px;
    }

        .ref-process-step strong,
        .ref-process-step p {
            grid-column: 2;
        }

        .ref-process-step strong {
            margin-top: 0;
        }

        .ref-process-step p {
            margin-top: 4px;
        }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }
}


@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal-block,
    .reveal-card {
        opacity: 1 !important;
        transform: none !important;
    }

    .ref-process-step .ref-process-number::after {
        animation: none !important;
    }

    .ref-process-track-fill {
        transition: none !important;
    }
}


/* =========================================================
   MOVLO / FRAMER-LIKE MOTION LAYER
   Keeps the FocusLead visual identity, adds:
   - floating morphing header
   - hide/reveal header by scroll direction
   - active section navigation
   - softer Framer-style reveal
   - cursor-responsive card depth
   - subtle parallax composition
========================================================= */


/* ---------- Floating header morph ---------- */

.main-header {
    background: transparent;
    border-bottom-color: transparent;
    transform: translate3d(0, 0, 0);
    transition: transform .62s cubic-bezier(.16, 1, .3, 1), height .58s cubic-bezier(.16, 1, .3, 1), background .45s ease, border-color .45s ease;
    will-change: transform;
}

    .main-header .header-container {
        min-height: 56px;
        padding: 0;
        border: 1px solid transparent;
        border-radius: 18px;
        background: transparent;
        box-shadow: none;
        transition: width .7s cubic-bezier(.16, 1, .3, 1), min-height .7s cubic-bezier(.16, 1, .3, 1), padding .7s cubic-bezier(.16, 1, .3, 1), border-color .5s ease, border-radius .7s cubic-bezier(.16, 1, .3, 1), background .5s ease, box-shadow .5s ease;
    }

    .main-header.header-scrolled {
        height: 72px;
        background: transparent;
        border-color: transparent;
        box-shadow: none;
    }

        .main-header.header-scrolled .header-container {
            width: min(1160px, calc(100% - 40px));
            min-height: 56px;
            padding: 0 12px 0 9px;
            border-color: rgba(255,255,255,.105);
            border-radius: 17px;
            background: linear-gradient( 180deg, rgba(18, 23, 28, .82), rgba(8, 11, 14, .76) );
            box-shadow: 0 15px 48px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.055);
            backdrop-filter: blur(24px) saturate(132%);
            -webkit-backdrop-filter: blur(24px) saturate(132%);
        }

    .main-header.header-compact .brand-mark-shell {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
    }

    .main-header.header-compact .brand-wordmark strong {
        font-size: 12px;
    }

    .main-header.header-compact .brand-wordmark small {
        opacity: .62;
        transform: translateY(-1px);
    }

    .main-header.header-compact .brand-mark-shell,
    .main-header.header-compact .brand-wordmark strong,
    .main-header.header-compact .brand-wordmark small {
        transition: width .5s var(--ease), height .5s var(--ease), flex-basis .5s var(--ease), font-size .5s var(--ease), opacity .5s ease, transform .5s var(--ease);
    }

    .main-header.header-hidden {
        transform: translate3d(0, -116%, 0);
    }

    .main-header.mobile-menu-open {
        transform: translate3d(0, 0, 0) !important;
    }

.main-nav a.is-active {
    color: #ffffff;
}

    .main-nav a.is-active::after {
        transform: scaleX(1);
        transform-origin: left;
    }

.header-contact-button {
    transform: translate3d( var(--mag-x, 0px), var(--mag-y, 0px), 0 );
    transition: transform .3s cubic-bezier(.16, 1, .3, 1), border-color .24s ease, background .24s ease;
}


/* ---------- Softer, longer reveal ---------- */

.reveal-block,
.reveal-card {
    opacity: 0;
    filter: blur(7px);
    transform: translate3d(0, 34px, 0) scale(.985);
    transition: opacity 1.05s cubic-bezier(.16, 1, .3, 1), transform 1.05s cubic-bezier(.16, 1, .3, 1), filter 1.05s cubic-bezier(.16, 1, .3, 1);
}

.reveal-card {
    transition-delay: var(--reveal-delay, 0ms);
}

    .reveal-block.is-visible,
    .reveal-card.is-visible {
        opacity: 1;
        filter: blur(0);
        transform: translate3d(0, 0, 0) scale(1);
    }


/* ---------- Hero depth ---------- */

.ref-ribbon {
    --scroll-y: 0px;
    --scroll-r: 0deg;
    --mouse-x: 0px;
    --mouse-y: 0px;
    transform: translate3d( var(--mouse-x), calc( var(--scroll-y) + var(--mouse-y) ), 0 ) rotate(var(--scroll-r));
    transition: transform .42s cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
}

.ref-hero-ambient-a,
.ref-hero-ambient-b {
    animation: ambientBreath 7s ease-in-out infinite alternate;
}

.ref-hero-ambient-b {
    animation-delay: -2.4s;
}

@keyframes ambientBreath {
    from {
        opacity: .72;
        transform: translate3d(-3px, 2px, 0) scale(.96);
    }

    to {
        opacity: 1;
        transform: translate3d(6px, -4px, 0) scale(1.05);
    }
}


/* ---------- Cursor-responsive service cards ---------- */

.ref-service-card {
    --card-rx: 0deg;
    --card-ry: 0deg;
    --card-lift: 0px;
    --spot-x: 78%;
    --spot-y: 16%;
    transform: perspective(900px) rotateX(var(--card-rx)) rotateY(var(--card-ry)) translate3d( 0, var(--card-lift), 0 );
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform .42s cubic-bezier(.16, 1, .3, 1), border-color .3s ease, box-shadow .42s cubic-bezier(.16, 1, .3, 1), background .35s ease;
}

    .ref-service-card:hover {
        --card-lift: -7px;
        transform: perspective(900px) rotateX(var(--card-rx)) rotateY(var(--card-ry)) translate3d( 0, var(--card-lift), 0 );
    }

    .ref-service-card::after {
        inset: 0;
        width: auto;
        height: auto;
        right: auto;
        bottom: auto;
        border-radius: inherit;
        opacity: .76;
        filter: none;
        background: radial-gradient( circle at var(--spot-x) var(--spot-y), rgba(255,255,255,.15), rgba(173,202,232,.055) 18%, transparent 36% ), radial-gradient( circle at 100% 100%, rgba(75,221,199,.07), transparent 30% );
        transition: opacity .3s ease;
    }

    .ref-service-card:hover::after {
        opacity: 1;
    }

    .ref-service-card > * {
        transform: translateZ(16px);
    }

    .ref-service-card .ref-service-art {
        transform: translateZ(28px);
    }

    .ref-service-card:hover .ref-service-art {
        transform: translate3d(0, -5px, 28px) rotate(2deg) scale(1.02);
    }


/* ---------- Product window scroll depth ---------- */

.ref-pr-window {
    --product-scroll-y: 0px;
    transform: translate3d( 0, var(--product-scroll-y), 0 ) rotate(2.4deg);
    transition: transform .32s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease;
    will-change: transform;
}


/* ---------- Ambient motion between sections ---------- */

.ref-services,
.ref-product,
.ref-process {
    background-size: 140% 140%, 130% 130%, auto;
    animation: sectionAmbient 16s ease-in-out infinite alternate;
}

@keyframes sectionAmbient {
    from {
        background-position: 0% 40%, 100% 60%, 0 0;
    }

    to {
        background-position: 8% 48%, 92% 54%, 0 0;
    }
}

.ref-cta-ribbon {
    animation: ctaRibbonFloat 7.5s ease-in-out infinite alternate;
}

@keyframes ctaRibbonFloat {
    from {
        transform: translate3d(-5px, 3px, 0) rotate(-.6deg);
    }

    to {
        transform: translate3d(8px, -5px, 0) rotate(.8deg);
    }
}


/* ---------- Mobile header ---------- */

@media (max-width: 980px) {

    .main-header.header-hidden {
        transform: translate3d(0, -116%, 0);
    }

    .main-header.header-scrolled .header-container {
        width: calc(100% - 22px);
        padding: 0 10px;
        border-radius: 15px;
    }

    .main-header.mobile-menu-open .header-container {
        border-radius: 15px 15px 0 0;
    }

    .mobile-nav-panel {
        left: 11px;
        right: 11px;
        border: 1px solid rgba(255,255,255,.09);
        border-top: 0;
        border-radius: 0 0 15px 15px;
        background: rgba(7,10,13,.95);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
    }
}


/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {

    .main-header,
    .main-header .header-container,
    .ref-ribbon,
    .ref-service-card,
    .ref-pr-window,
    .ref-cta-ribbon,
    .ref-hero-ambient-a,
    .ref-hero-ambient-b,
    .ref-services,
    .ref-product,
    .ref-process {
        animation: none !important;
        transition-duration: .01ms !important;
    }

    .reveal-block,
    .reveal-card {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }
}


/* =========================================================
   TECHNOLOGIES · GITHUB-STYLE DEMO, FOCUSLEAD DESIGN
========================================================= */

.ref-tech-showcase {
    position: relative;
    padding: 68px 0 62px;
    overflow: hidden;
    background: radial-gradient( circle at 50% 28%, rgba(109, 130, 152, .13), transparent 31% ), radial-gradient( circle at 8% 48%, rgba(75, 221, 199, .06), transparent 26% ), radial-gradient( circle at 92% 48%, rgba(220, 232, 242, .06), transparent 26% ), linear-gradient( 180deg, #030405 0%, #061014 48%, #030405 100% );
}

    .ref-tech-showcase::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 1px;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.11), transparent );
    }

.ref-tech-heading {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

    .ref-tech-heading .ref-kicker {
        justify-content: center;
    }

    .ref-tech-heading h2 {
        margin-top: 12px;
        color: #f3f5f7;
        font-size: clamp(34px, 3.3vw, 52px);
        line-height: 1.02;
        font-weight: 500;
        letter-spacing: -2px;
    }

    .ref-tech-heading p {
        max-width: 610px;
        margin: 13px auto 0;
        color: #8f989f;
        font-size: 11px;
        line-height: 1.62;
    }


/* ---------- Outer stage ---------- */

.ref-tech-stage {
    position: relative;
    padding: 18px 18px 0;
    min-height: 640px;
    border: 1px solid rgba(121, 232, 215, .28);
    border-bottom: 0;
    border-radius: 25px 25px 0 0;
    background: radial-gradient( circle at 50% 0%, rgba(220, 232, 242, .20), transparent 38% ), radial-gradient( circle at 13% 34%, rgba(75, 221, 199, .12), transparent 31% ), radial-gradient( circle at 88% 36%, rgba(109, 130, 152, .15), transparent 32% ), linear-gradient( 180deg, rgba(50, 72, 82, .62) 0%, rgba(20, 42, 48, .50) 42%, rgba(7, 23, 27, .76) 100% );
    box-shadow: 0 -12px 80px rgba(121, 232, 215, .10), 0 0 90px rgba(75, 221, 199, .08), 0 0 120px rgba(109, 130, 152, .08), inset 0 1px 0 rgba(255, 255, 255, .16);
    overflow: hidden;
    transition: opacity .34s ease, transform .5s cubic-bezier(.16, 1, .3, 1), filter .34s ease;
}

    .ref-tech-stage::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient( 112deg, rgba(255,255,255,.055), transparent 24%, transparent 67%, rgba(121,232,215,.035) );
    }

    .ref-tech-stage.is-switching {
        filter: blur(1.5px);
        transform: scale(.992);
    }

    .ref-tech-stage.is-restarting {
        opacity: .55;
        transform: scale(.985);
    }

.ref-tech-glow {
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(55px);
}

.ref-tech-glow-top {
    width: 46%;
    height: 140px;
    left: 27%;
    top: -82px;
    background: rgba(121, 232, 215, .24);
    box-shadow: 0 0 90px rgba(220, 232, 242, .12);
}

.ref-tech-glow-bottom {
    width: 42%;
    height: 140px;
    left: 29%;
    bottom: -88px;
    background: rgba(75, 221, 199, .16);
    box-shadow: 0 0 85px rgba(75, 221, 199, .10);
}


/* ---------- Main app window ---------- */

.ref-tech-window {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(220, 232, 242, .13);
    border-bottom: 0;
    border-radius: 13px 13px 0 0;
    background: linear-gradient( 180deg, rgba(16, 24, 29, .98), rgba(9, 15, 19, .99) );
    box-shadow: 0 22px 70px rgba(0,0,0,.40), 0 0 45px rgba(75,221,199,.035), inset 0 1px 0 rgba(255,255,255,.04);
}

.ref-tech-window-top {
    height: 42px;
    padding: 0 13px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid rgba(220, 232, 242, .065);
    background: linear-gradient( 180deg, rgba(18, 27, 33, .98), rgba(12, 20, 25, .98) );
}

.ref-tech-dots {
    display: flex;
    gap: 7px;
}

    .ref-tech-dots span {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #252d38;
    }

.ref-tech-window-title {
    color: #56616c;
    font-size: 8px;
    letter-spacing: .45px;
}

.ref-tech-window-status {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #647078;
    font-size: 7px;
}

.ref-tech-status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(75,221,199,.65);
}


/* ---------- Workspace ---------- */

.ref-tech-workspace {
    min-height: 548px;
    display: grid;
    grid-template-columns: 280px 1fr;
}


/* Sidebar */

.ref-tech-sidebar {
    position: relative;
    padding: 22px 16px 16px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(220, 232, 242, .055);
    background: radial-gradient( circle at 10% 0%, rgba(75, 221, 199, .05), transparent 28% ), linear-gradient( 180deg, rgba(13, 22, 27, .98), rgba(10, 17, 21, .98) );
}

.ref-tech-sidebar-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 7px 18px;
    border-bottom: 1px solid rgba(255,255,255,.045);
}

.ref-tech-sidebar-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(75,221,199,.22);
    border-radius: 9px;
    background: rgba(75,221,199,.045);
    color: var(--accent);
    font-size: 9px;
    font-weight: 800;
}

.ref-tech-sidebar-head strong {
    display: block;
    color: #e5e9ec;
    font-size: 10px;
    font-weight: 600;
}

.ref-tech-sidebar-head div > span {
    display: block;
    margin-top: 3px;
    color: #59636b;
    font-size: 6.5px;
    letter-spacing: .7px;
}

.ref-tech-stack-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ref-tech-stack-item {
    width: 100%;
    min-height: 49px;
    padding: 7px 9px;
    display: grid;
    grid-template-columns: 31px 1fr;
    align-items: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease, transform .25s var(--ease);
}

    .ref-tech-stack-item:hover {
        background: rgba(255,255,255,.028);
        transform: translateX(2px);
    }

    .ref-tech-stack-item.active {
        border-color: rgba(75,221,199,.18);
        background: linear-gradient( 90deg, rgba(75,221,199,.12), rgba(121,232,215,.035) );
        box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 0 24px rgba(75,221,199,.03);
    }

.ref-tech-stack-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 7px;
    background: #171e26;
    color: #99a5ae;
    font-size: 7px;
    font-weight: 700;
}

.ref-tech-stack-item.active .ref-tech-stack-icon {
    border-color: rgba(75,221,199,.22);
    color: #dffbf6;
    background: rgba(75,221,199,.07);
}

.ref-tech-stack-item strong {
    display: block;
    color: #aab3ba;
    font-size: 8.5px;
    font-weight: 560;
}

.ref-tech-stack-item small {
    display: block;
    margin-top: 2px;
    color: #505b64;
    font-size: 6.5px;
}

.ref-tech-stack-item.active strong {
    color: #eef2f4;
}

.ref-tech-sidebar-foot {
    margin-top: auto;
    padding: 14px 7px 2px;
    display: flex;
    align-items: center;
    gap: 7px;
    border-top: 1px solid rgba(255,255,255,.04);
    color: #5c676f;
    font-size: 7px;
}

.ref-tech-sidebar-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(75,221,199,.6);
}


/* Editor */

.ref-tech-editor {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: radial-gradient( circle at 90% 0%, rgba(109,130,152,.055), transparent 30% ), linear-gradient( 180deg, #151c22, #12191f );
}

.ref-tech-editor-tabs {
    min-height: 43px;
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    border-bottom: 1px solid rgba(220,232,242,.055);
    background: linear-gradient( 180deg, #10171c, #0d1419 );
    scrollbar-width: none;
}

    .ref-tech-editor-tabs::-webkit-scrollbar {
        display: none;
    }

.ref-tech-editor-tab {
    position: relative;
    min-width: 122px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.04);
    background: transparent;
    color: #69747d;
    font-size: 7.5px;
    cursor: pointer;
    transition: color .22s ease, background .22s ease;
}

    .ref-tech-editor-tab:hover {
        color: #b3bbc1;
        background: rgba(255,255,255,.018);
    }

    .ref-tech-editor-tab.active {
        color: #e7edef;
        background: linear-gradient( 180deg, rgba(18, 28, 34, .98), rgba(14, 23, 28, .98) );
    }

        .ref-tech-editor-tab.active::after {
            content: "";
            position: absolute;
            left: 12px;
            right: 12px;
            bottom: 0;
            height: 1px;
            background: linear-gradient( 90deg, transparent, #dce8f2 22%, #4bddc7 62%, transparent );
            box-shadow: 0 0 9px rgba(75,221,199,.28);
        }

.ref-tech-file-dot {
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: #687582;
}

    .ref-tech-file-dot.csharp {
        background: #7567a4;
    }

    .ref-tech-file-dot.json {
        background: #aa9a56;
    }

    .ref-tech-file-dot.js {
        background: #c4ad49;
    }

.ref-tech-code-area {
    position: relative;
    flex: 1;
    min-height: 430px;
    overflow: hidden;
    background: linear-gradient( 90deg, rgba(220,232,242,.016) 1px, transparent 1px ), linear-gradient( 180deg, rgba(255,255,255,.012), transparent 22% ), #141b21;
    background-size: 46px 100%, auto, auto;
}

.ref-tech-code-panel {
    position: absolute;
    inset: 0;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(8px,0,0);
    transition: opacity .28s ease, transform .32s var(--ease), visibility .28s ease;
    scrollbar-width: thin;
    scrollbar-color: #3d4852 transparent;
}

    .ref-tech-code-panel.active {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

.ref-tech-code {
    min-width: 760px;
    padding: 17px 24px 32px 60px;
    counter-reset: code-line;
    list-style: none;
    font-family: "Cascadia Code", "JetBrains Mono", "Consolas", monospace;
}

    .ref-tech-code li {
        position: relative;
        min-height: 22px;
        color: #b7c0c8;
        font-size: 11px;
        line-height: 22px;
        white-space: pre;
        opacity: .08;
        transform: translateX(7px);
        transition: opacity .36s ease, transform .42s cubic-bezier(.16,1,.3,1), background .36s ease;
    }

        .ref-tech-code li::before {
            counter-increment: code-line;
            content: counter(code-line);
            position: absolute;
            right: calc(100% + 18px);
            width: 29px;
            color: #4a555e;
            text-align: right;
            user-select: none;
        }

        .ref-tech-code li.is-written {
            opacity: 1;
            transform: none;
        }

            .ref-tech-code li.is-written:nth-last-child(-n + 2) {
                background: linear-gradient( 90deg, rgba(75,221,199,.03), transparent 65% );
            }

    .ref-tech-code code {
        font: inherit;
    }

.tok-key {
    color: #d17b98;
}

.tok-type {
    color: #78b8d7;
}

.tok-string {
    color: #a8c986;
}

.tok-comment {
    color: #6b777f;
}

.ref-code-caret {
    display: inline-block;
    width: 1px;
    height: 14px;
    margin-left: 4px;
    vertical-align: -2px;
    background: #e6ecef;
    animation: refCodeCaret 1s steps(1,end) infinite;
}

@keyframes refCodeCaret {
    0%, 45% {
        opacity: 1;
    }

    46%, 100% {
        opacity: 0;
    }
}

.ref-tech-editor-footer {
    min-height: 30px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(255,255,255,.05);
    background: #11171e;
    color: #59646d;
    font-size: 6.5px;
}

    .ref-tech-editor-footer > div {
        display: flex;
        align-items: center;
        gap: 10px;
    }

.ref-tech-terminal-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 7px rgba(75,221,199,.5);
}


/* Pause / play */

.ref-tech-pause {
    position: absolute;
    z-index: 4;
    right: 34px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
    background: rgba(45,52,62,.86);
    color: #e8ecee;
    box-shadow: 0 8px 22px rgba(0,0,0,.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    transition: transform .24s var(--ease), background .24s ease;
}

    .ref-tech-pause:hover {
        transform: scale(1.06);
        background: rgba(58,66,77,.94);
    }

.ref-tech-pause-icon {
    font-size: 12px;
    line-height: 1;
}

.ref-tech-pause.is-paused .ref-tech-pause-icon {
    transform: translateX(1px);
}


/* Bottom tab */

.ref-tech-tabs-wrap {
    padding-top: 27px;
    text-align: center;
}

.ref-tech-tabs {
    width: min(880px, 100%);
    min-height: 58px;
    margin: 0 auto;
    padding: 7px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    border: 1px solid rgba(220,232,242,.16);
    border-radius: 999px;
    background: linear-gradient( 180deg, rgba(8, 15, 19, .95), rgba(3, 8, 11, .97) );
    box-shadow: 0 12px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.025), 0 0 32px rgba(75,221,199,.025);
}

.ref-tech-tab {
    min-width: 176px;
    height: 42px;
    padding: 0 26px;
    border: 1px solid rgba(255,255,255,.48);
    border-radius: 999px;
    background: linear-gradient( 180deg, rgba(255,255,255,.1), rgba(255,255,255,.045) );
    color: #f2f4f6;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    transition: transform .28s var(--ease), background .28s ease, box-shadow .28s ease;
}

    .ref-tech-tab:hover {
        transform: translateY(-1px);
        background: linear-gradient( 180deg, rgba(255,255,255,.14), rgba(255,255,255,.065) );
        box-shadow: 0 8px 24px rgba(0,0,0,.22);
    }

.ref-tech-caption {
    max-width: 760px;
    margin: 21px auto 0;
    color: #8d969d;
    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   TECHNOLOGIES RESPONSIVE
========================================================= */

@media (max-width: 980px) {

    .ref-tech-showcase {
        padding-top: 58px;
    }

    .ref-tech-stage {
        padding: 14px 14px 0;
        border-radius: 20px 20px 0 0;
    }

    .ref-tech-workspace {
        grid-template-columns: 220px 1fr;
        min-height: 500px;
    }

    .ref-tech-sidebar {
        padding: 17px 11px 13px;
    }

    .ref-tech-stack-item {
        grid-template-columns: 28px 1fr;
    }

    .ref-tech-stack-icon {
        width: 27px;
        height: 27px;
    }

    .ref-tech-code {
        min-width: 700px;
        font-size: 10px;
    }
}


@media (max-width: 760px) {

    .ref-tech-heading {
        text-align: left;
    }

        .ref-tech-heading .ref-kicker {
            justify-content: flex-start;
        }

    .ref-tech-stage {
        padding: 10px 10px 0;
        border-radius: 17px 17px 0 0;
    }

    .ref-tech-window-top {
        grid-template-columns: auto 1fr;
    }

    .ref-tech-window-status {
        display: none;
    }

    .ref-tech-workspace {
        grid-template-columns: 1fr;
        min-height: 520px;
    }

    .ref-tech-sidebar {
        display: none;
    }

    .ref-tech-editor-tabs {
        min-height: 40px;
    }

    .ref-tech-editor-tab {
        min-width: 110px;
    }

    .ref-tech-code-area {
        min-height: 440px;
    }

    .ref-tech-code {
        padding-left: 52px;
    }

    .ref-tech-pause {
        right: 22px;
        bottom: 16px;
        width: 40px;
        height: 40px;
    }

    .ref-tech-tabs {
        min-height: 54px;
    }

    .ref-tech-tab {
        min-width: 160px;
        height: 39px;
        font-size: 12px;
    }

    .ref-tech-caption {
        font-size: 10.5px;
    }
}


@media (max-width: 480px) {

    .ref-tech-showcase {
        padding: 48px 0 48px;
    }

    .ref-tech-heading h2 {
        font-size: 32px;
        letter-spacing: -1.4px;
    }

    .ref-tech-stage {
        margin-left: -5px;
        margin-right: -5px;
        padding: 7px 7px 0;
        border-radius: 15px 15px 0 0;
    }

    .ref-tech-window {
        border-radius: 10px 10px 0 0;
    }

    .ref-tech-window-title {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ref-tech-editor-tab {
        min-width: 104px;
        padding: 0 10px;
        font-size: 7px;
    }

    .ref-tech-code {
        min-width: 650px;
        padding-top: 15px;
        font-size: 9px;
        line-height: 20px;
    }

        .ref-tech-code li {
            min-height: 20px;
            line-height: 20px;
        }

    .ref-tech-editor-footer {
        font-size: 6px;
    }

    .ref-tech-caption {
        margin-top: 17px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .ref-tech-stage,
    .ref-tech-code-panel,
    .ref-tech-code li,
    .ref-tech-stack-item,
    .ref-tech-pause,
    .ref-tech-tab {
        transition-duration: .01ms !important;
    }

    .ref-tech-code li {
        opacity: 1 !important;
        transform: none !important;
    }

    .ref-code-caret {
        animation: none !important;
    }
}


/* =========================================================
   CAPABILITY SHOWCASE V3
========================================================= */

.ref-tech-stage {
    min-height: 640px;
}

.ref-tech-mode-panel {
    position: absolute;
    inset: 18px 18px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0,16px,0) scale(.988);
    filter: blur(5px);
    transition: opacity .42s cubic-bezier(.16,1,.3,1),transform .48s cubic-bezier(.16,1,.3,1),filter .42s ease,visibility .42s ease;
}

    .ref-tech-mode-panel.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        filter: none;
    }

.ref-tech-stage.is-mode-switching .ref-tech-mode-panel.active {
    opacity: .24;
    transform: translate3d(0,-8px,0) scale(.992);
    filter: blur(5px);
}

.ref-tech-mode-panel.is-file-switching {
    opacity: .72;
}

.ref-tech-mode-panel .ref-tech-window {
    height: 100%;
}

.ref-cap-window {
    position: relative;
    min-height: 604px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-bottom: 0;
    border-radius: 13px 13px 0 0;
    background: radial-gradient(circle at 78% 8%,rgba(123,151,183,.075),transparent 28%),linear-gradient(155deg,#111820,#0c1117 58%,#090d12);
    box-shadow: 0 22px 70px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.04);
}

    .ref-cap-window:after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        opacity: .24;
        background: linear-gradient(90deg,transparent 0 49.9%,rgba(255,255,255,.02) 50%,transparent 50.1%),linear-gradient(transparent 0 49.9%,rgba(255,255,255,.018) 50%,transparent 50.1%);
        background-size: 86px 86px;
        mask-image: linear-gradient(to bottom,rgba(0,0,0,.7),transparent 80%);
    }

.ref-cap-head {
    position: relative;
    z-index: 4;
    min-height: 75px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-bottom: 1px solid rgba(255,255,255,.055);
    background: linear-gradient(180deg,rgba(21,28,36,.96),rgba(15,21,28,.84));
}

.ref-cap-kicker {
    display: block;
    color: #66727c;
    font-size: 6.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.ref-cap-head strong {
    display: block;
    margin-top: 5px;
    color: #e8ecef;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 560;
}

.ref-cap-status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #68747c;
    font-size: 7px;
}

    .ref-cap-status i {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--accent);
        box-shadow: 0 0 9px rgba(75,221,199,.65);
    }

.ref-cap-foot {
    position: absolute;
    z-index: 4;
    left: 24px;
    right: 24px;
    bottom: 18px;
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.055);
    color: #6f7a83;
    font-size: 7.5px;
    line-height: 1.5;
}

/* Architecture */
.ref-arch-window {
    background: radial-gradient(circle at 50% 45%,rgba(75,221,199,.05),transparent 29%),radial-gradient(circle at 85% 15%,rgba(117,145,178,.09),transparent 28%),#0d1218;
}

.ref-arch-grid {
    position: relative;
    z-index: 3;
    min-height: 445px;
    padding: 48px 28px 80px;
    display: grid;
    grid-template-columns: 1fr 80px 1.05fr 80px 1fr;
    gap: 10px;
    align-items: center;
}

.ref-arch-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ref-arch-label {
    margin-bottom: 2px;
    color: #55616b;
    font-size: 6px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.ref-arch-node {
    min-height: 78px;
    padding: 13px;
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(255,255,255,.085);
    border-radius: 10px;
    background: linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.012));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.028),0 10px 28px rgba(0,0,0,.16);
}

    .ref-arch-node > b {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 9px;
        background: #131b23;
        color: #8fa0ae;
        font-size: 7px;
    }

    .ref-arch-node strong {
        display: block;
        color: #d7dde1;
        font-size: 9px;
        font-weight: 580;
    }

    .ref-arch-node small {
        display: block;
        margin-top: 4px;
        color: #59646d;
        font-size: 6.5px;
    }

.ref-arch-core {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ref-arch-core-card {
    min-height: 245px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(75,221,199,.15);
    border-radius: 16px;
    background: radial-gradient(circle at 50% 18%,rgba(75,221,199,.11),transparent 38%),linear-gradient(155deg,rgba(255,255,255,.045),rgba(7,13,16,.92));
}

.ref-arch-core-logo {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(75,221,199,.26);
    border-radius: 17px;
    background: rgba(75,221,199,.055);
    color: var(--accent);
    font-size: 15px;
    font-weight: 850;
    box-shadow: 0 0 34px rgba(75,221,199,.08);
}

.ref-arch-core-card > strong {
    margin-top: 15px;
    color: #eef2f4;
    font-size: 14px;
    font-weight: 600;
}

.ref-arch-core-card > small {
    max-width: 190px;
    margin-top: 7px;
    color: #71808a;
    font-size: 7px;
    line-height: 1.5;
    text-align: center;
}

.ref-arch-core-card > div {
    margin-top: 17px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

    .ref-arch-core-card > div span {
        padding: 5px 7px;
        border: 1px solid rgba(255,255,255,.07);
        border-radius: 999px;
        color: #65727c;
        font-size: 5.8px;
    }

.ref-arch-flow {
    position: relative;
    height: 100%;
}

    .ref-arch-flow:before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        height: 1px;
        background: linear-gradient(90deg,rgba(255,255,255,.06),rgba(221,233,244,.38),rgba(75,221,199,.4),rgba(255,255,255,.06));
    }

    .ref-arch-flow i {
        position: absolute;
        top: calc(50% - 2px);
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 0 8px rgba(255,255,255,.65),0 0 12px rgba(75,221,199,.25);
        animation: archFlow 2.6s linear infinite;
    }

        .ref-arch-flow i:nth-child(2) {
            animation-delay: -.85s
        }

        .ref-arch-flow i:nth-child(3) {
            animation-delay: -1.7s
        }

@keyframes archFlow {
    from {
        left: 0;
        opacity: 0
    }

    15% {
        opacity: 1
    }

    85% {
        opacity: 1
    }

    to {
        left: calc(100% - 5px);
        opacity: 0
    }
}

/* Integrations */
.ref-int-window {
    background: radial-gradient(circle at 50% 46%,rgba(75,221,199,.08),transparent 24%),radial-gradient(circle at 12% 18%,rgba(118,142,181,.1),transparent 22%),radial-gradient(circle at 89% 18%,rgba(128,116,187,.08),transparent 23%),#0c1117;
}

.ref-int-map {
    position: relative;
    z-index: 3;
    height: 455px;
}

    .ref-int-map > svg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .ref-int-map path {
        fill: none;
        stroke: url(#intLine);
        stroke-width: 1.2;
        stroke-opacity: .34;
        vector-effect: non-scaling-stroke;
    }

.ref-int-packet {
    fill: #fff;
    filter: drop-shadow(0 0 5px rgba(255,255,255,.8)) drop-shadow(0 0 8px rgba(75,221,199,.45));
}

.ref-int-node, .ref-int-hub {
    position: absolute;
    z-index: 4;
    transform: translate(-50%,-50%);
}

.ref-int-node {
    width: 155px;
    min-height: 88px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 11px;
    background: linear-gradient(145deg,rgba(255,255,255,.045),rgba(12,18,24,.92));
    box-shadow: 0 12px 32px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.025);
}

    .ref-int-node > b {
        width: 31px;
        height: 31px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(255,255,255,.09);
        border-radius: 8px;
        background: #151c24;
        color: #8697a6;
        font-size: 6.5px;
    }

    .ref-int-node strong {
        display: block;
        margin-top: 9px;
        color: #d7dde1;
        font-size: 8px;
        font-weight: 580;
    }

    .ref-int-node small {
        display: block;
        margin-top: 3px;
        color: #56626b;
        font-size: 6px;
    }

    .ref-int-node.n1 {
        left: 20%;
        top: 20%
    }

    .ref-int-node.n2 {
        left: 17%;
        top: 50%
    }

    .ref-int-node.n3 {
        left: 20%;
        top: 79%
    }

    .ref-int-node.n4 {
        left: 80%;
        top: 20%
    }

    .ref-int-node.n5 {
        left: 83%;
        top: 50%
    }

    .ref-int-node.n6 {
        left: 80%;
        top: 79%
    }

.ref-int-hub {
    left: 50%;
    top: 50%;
    width: 178px;
    height: 178px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(75,221,199,.22);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%,rgba(255,255,255,.07),rgba(75,221,199,.065) 25%,rgba(8,14,17,.98) 70%);
    box-shadow: 0 0 0 16px rgba(75,221,199,.018),0 0 0 34px rgba(75,221,199,.012),0 20px 60px rgba(0,0,0,.35),0 0 38px rgba(75,221,199,.08);
}

    .ref-int-hub:before, .ref-int-hub:after {
        content: "";
        position: absolute;
        border: 1px solid rgba(255,255,255,.055);
        border-radius: 50%;
        animation: intOrbit 12s linear infinite;
    }

    .ref-int-hub:before {
        inset: -17px
    }

    .ref-int-hub:after {
        inset: -34px;
        animation-direction: reverse;
        animation-duration: 17s
    }

@keyframes intOrbit {
    to {
        transform: rotate(360deg)
    }
}

.ref-int-hub > span {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(75,221,199,.28);
    border-radius: 15px;
    background: rgba(75,221,199,.055);
    color: var(--accent);
    font-size: 13px;
    font-weight: 850;
}

.ref-int-hub strong {
    margin-top: 11px;
    color: #f0f3f5;
    font-size: 13px
}

.ref-int-hub small {
    margin-top: 4px;
    color: #65727c;
    font-size: 6.5px
}

.ref-int-hub i {
    position: absolute;
    right: 18px;
    bottom: 29px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(75,221,199,.65)
}

/* Analytics */
.ref-an-layout {
    position: relative;
    z-index: 3;
    min-height: 460px;
    padding-bottom: 72px;
    display: grid;
    grid-template-columns: 150px 1fr;
}

.ref-an-side {
    padding: 21px 13px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-right: 1px solid rgba(255,255,255,.05);
    background: rgba(8,12,16,.72);
}

    .ref-an-side > span {
        width: 37px;
        height: 37px;
        margin: 1px 7px 14px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(75,221,199,.2);
        border-radius: 9px;
        color: var(--accent);
        font-size: 9px;
    }

    .ref-an-side b {
        min-height: 31px;
        padding: 0 9px;
        display: flex;
        align-items: center;
        border-radius: 7px;
        color: #59656e;
        font-size: 7px;
        font-weight: 500;
    }

        .ref-an-side b.active {
            background: rgba(75,221,199,.075);
            color: #dce6e8
        }

.ref-an-main {
    min-width: 0;
    padding: 21px 22px
}

.ref-an-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px
}

    .ref-an-toolbar strong {
        display: block;
        color: #e3e8eb;
        font-size: 13px;
        font-weight: 580
    }

    .ref-an-toolbar small {
        display: block;
        margin-top: 4px;
        color: #56616a;
        font-size: 6.5px
    }

    .ref-an-toolbar > span {
        padding: 7px 10px;
        border: 1px solid rgba(255,255,255,.075);
        border-radius: 7px;
        color: #68747d;
        font-size: 6.5px
    }

.ref-an-kpis {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px
}

    .ref-an-kpis article {
        min-height: 84px;
        padding: 12px;
        border: 1px solid rgba(255,255,255,.065);
        border-radius: 9px;
        background: linear-gradient(145deg,rgba(255,255,255,.03),rgba(255,255,255,.008))
    }

    .ref-an-kpis span {
        display: block;
        color: #647079;
        font-size: 6.5px
    }

    .ref-an-kpis strong {
        display: block;
        margin-top: 8px;
        color: #eef2f4;
        font-size: 20px;
        font-weight: 560
    }

    .ref-an-kpis small {
        display: block;
        margin-top: 5px;
        color: var(--accent);
        font-size: 6px
    }

.ref-an-grid {
    margin-top: 9px;
    display: grid;
    grid-template-columns: 1.55fr .75fr;
    gap: 8px
}

.ref-an-chart-card, .ref-an-events {
    min-height: 238px;
    padding: 13px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 9px;
    background: rgba(255,255,255,.01)
}

    .ref-an-chart-card > div, .ref-an-events > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px
    }

        .ref-an-chart-card > div strong, .ref-an-events > div strong {
            color: #cfd6da;
            font-size: 8px;
            font-weight: 570
        }

        .ref-an-chart-card > div span, .ref-an-events > div span {
            color: #657079;
            font-size: 5.5px
        }

    .ref-an-chart-card svg {
        width: 100%;
        height: 186px;
        margin-top: 9px
    }

.ref-an-line {
    stroke-dasharray: 1100;
    stroke-dashoffset: 1100
}

.ref-an-area {
    opacity: 0
}

.ref-tech-mode-panel.is-analytics-running .ref-an-line {
    animation: drawAn 1.35s .14s cubic-bezier(.16,1,.3,1) forwards
}

.ref-tech-mode-panel.is-analytics-running .ref-an-area {
    animation: fadeAn .9s .55s ease forwards
}

@keyframes drawAn {
    to {
        stroke-dashoffset: 0
    }
}

@keyframes fadeAn {
    to {
        opacity: 1
    }
}

.ref-an-events {
    display: flex;
    flex-direction: column
}

    .ref-an-events p {
        min-height: 42px;
        display: grid;
        grid-template-columns: 8px 1fr auto;
        align-items: center;
        gap: 7px;
        border-bottom: 1px solid rgba(255,255,255,.04);
        margin: 0
    }

        .ref-an-events p i {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--accent);
            box-shadow: 0 0 7px rgba(75,221,199,.45)
        }

            .ref-an-events p i.info {
                background: #7894ae;
                box-shadow: none
            }

        .ref-an-events p span {
            color: #77838c;
            font-size: 6.5px
        }

        .ref-an-events p small {
            color: #4e5962;
            font-size: 5.7px
        }

/* Security */
.ref-sec-layout {
    position: relative;
    z-index: 3;
    min-height: 450px;
    padding: 28px 32px 95px;
    display: grid;
    grid-template-columns: .78fr 1.32fr;
    gap: 44px;
    align-items: center
}

.ref-sec-visual {
    position: relative;
    min-height: 310px;
    display: grid;
    place-items: center
}

.ref-sec-shield {
    position: relative;
    z-index: 3;
    width: 190px;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0,92% 15%,87% 68%,50% 100%,13% 68%,8% 15%);
    background: radial-gradient(circle at 40% 30%,rgba(255,255,255,.08),rgba(75,221,199,.065) 25%,rgba(8,14,18,.98) 67%);
    box-shadow: 0 0 55px rgba(75,221,199,.09)
}

    .ref-sec-shield > span {
        width: 62px;
        height: 62px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(75,221,199,.26);
        border-radius: 17px;
        color: var(--accent);
        font-size: 14px;
        font-weight: 850
    }

    .ref-sec-shield strong {
        margin-top: 16px;
        color: #eef2f4;
        font-size: 9px;
        letter-spacing: 1.1px
    }

    .ref-sec-shield small {
        margin-top: 5px;
        color: #62707a;
        font-size: 6.3px
    }

.ref-sec-orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 50%;
    animation: secOrbit 13s linear infinite
}

    .ref-sec-orbit.a {
        width: 280px;
        height: 150px;
        transform: rotate(24deg)
    }

    .ref-sec-orbit.b {
        width: 250px;
        height: 250px;
        transform: rotate(-16deg);
        animation-direction: reverse;
        animation-duration: 17s
    }

@keyframes secOrbit {
    to {
        rotate: 360deg
    }
}

.ref-sec-scan {
    position: absolute;
    z-index: 4;
    width: 185px;
    height: 2px;
    background: linear-gradient(90deg,transparent,var(--accent),#fff,var(--accent),transparent);
    filter: drop-shadow(0 0 7px rgba(75,221,199,.65));
    animation: secScan 3.1s ease-in-out infinite
}

@keyframes secScan {
    0%,100% {
        transform: translateY(-88px);
        opacity: 0
    }

    20% {
        opacity: .8
    }

    50% {
        opacity: 1
    }

    80% {
        opacity: .8
    }

    95% {
        transform: translateY(88px);
        opacity: 0
    }
}

.ref-sec-list {
    display: flex;
    flex-direction: column;
    gap: 8px
}

    .ref-sec-list article {
        min-height: 76px;
        padding: 12px 13px;
        display: grid;
        grid-template-columns: 30px 1fr auto;
        align-items: center;
        gap: 11px;
        border: 1px solid rgba(255,255,255,.065);
        border-radius: 9px;
        background: linear-gradient(145deg,rgba(255,255,255,.027),rgba(255,255,255,.006));
        transition: transform .28s var(--ease),border-color .28s ease
    }

        .ref-sec-list article:hover {
            transform: translateX(4px);
            border-color: rgba(75,221,199,.14)
        }

        .ref-sec-list article > b {
            width: 30px;
            height: 30px;
            display: grid;
            place-items: center;
            border: 1px solid rgba(75,221,199,.22);
            border-radius: 50%;
            background: rgba(75,221,199,.065);
            color: var(--accent);
            font-size: 11px
        }

    .ref-sec-list strong {
        display: block;
        color: #d8dee2;
        font-size: 8.5px;
        font-weight: 580
    }

    .ref-sec-list p {
        margin-top: 4px;
        color: #637079;
        font-size: 6.3px;
        line-height: 1.45
    }

    .ref-sec-list article > small {
        padding: 5px 7px;
        border: 1px solid rgba(255,255,255,.055);
        border-radius: 999px;
        color: #57636c;
        font-size: 5.6px
    }

.ref-sec-chips {
    position: absolute;
    z-index: 4;
    left: 28px;
    right: 28px;
    bottom: 20px;
    padding-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid rgba(255,255,255,.055)
}

    .ref-sec-chips span {
        padding: 5px 7px;
        border: 1px solid rgba(255,255,255,.06);
        border-radius: 999px;
        color: #5c6871;
        font-size: 5.5px;
        letter-spacing: .7px
    }

/* Tabs */
.ref-tech-tabs {
    width: min(900px,100%);
    min-height: 58px;
    padding: 7px;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 4px
}

.ref-tech-tab {
    min-width: 0;
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid transparent;
    background: transparent;
    color: #969fa6;
    font-size: 11px;
    font-weight: 620
}

    .ref-tech-tab:hover {
        background: rgba(255,255,255,.035);
        border-color: rgba(255,255,255,.07)
    }

    .ref-tech-tab.active {
        border-color: rgba(255,255,255,.5);
        background: linear-gradient(180deg,rgba(255,255,255,.105),rgba(255,255,255,.045));
        color: #f2f4f6;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.05),0 8px 22px rgba(0,0,0,.18)
    }

.ref-tech-captions {
    position: relative;
    min-height: 58px;
    margin-top: 18px
}

.ref-tech-caption {
    position: absolute;
    inset: 0;
    max-width: 850px;
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0,8px,0);
    transition: opacity .35s ease,transform .4s var(--ease),visibility .35s ease
}

    .ref-tech-caption.active {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: none
    }

.ref-tech-mode-panel.is-mode-running .ref-arch-node, .ref-tech-mode-panel.is-mode-running .ref-arch-core-card, .ref-tech-mode-panel.is-mode-running .ref-int-node, .ref-tech-mode-panel.is-mode-running .ref-sec-list article {
    animation: capIn .65s cubic-bezier(.16,1,.3,1) both
}

@keyframes capIn {
    from {
        opacity: 0;
        transform: translate3d(0,14px,0) scale(.98)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:1100px) {
    .ref-arch-grid {
        grid-template-columns: 1fr 55px 1.05fr 55px 1fr;
        padding-left: 20px;
        padding-right: 20px
    }

    .ref-int-node {
        width: 140px
    }

    .ref-an-kpis {
        grid-template-columns: repeat(2,1fr)
    }

    .ref-an-grid {
        grid-template-columns: 1fr
    }

    .ref-tech-stage {
        min-height: 720px
    }

    .ref-tech-mode-panel {
        min-height: 680px
    }

    .ref-cap-window {
        min-height: 680px
    }

    .ref-sec-layout {
        padding-bottom: 105px
    }
}

@media(max-width:860px) {
    .ref-tech-tabs {
        display: flex;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none
    }

        .ref-tech-tabs::-webkit-scrollbar {
            display: none
        }

    .ref-tech-tab {
        min-width: 135px;
        flex: 0 0 135px
    }

    .ref-arch-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 25px 18px 80px
    }

    .ref-arch-flow {
        display: none
    }

    .ref-arch-core {
        order: -1
    }

    .ref-arch-core-card {
        min-height: 180px
    }

    .ref-arch-col {
        display: grid;
        grid-template-columns: repeat(3,1fr)
    }

    .ref-arch-label {
        grid-column: 1/-1
    }

    .ref-arch-node {
        grid-template-columns: 1fr;
        text-align: center
    }

        .ref-arch-node > b {
            margin: 0 auto
        }

    .ref-tech-stage {
        min-height: 880px
    }

    .ref-tech-mode-panel, .ref-cap-window {
        min-height: 840px
    }

    .ref-int-map {
        height: 610px
    }

        .ref-int-map > svg {
            display: none
        }

    .ref-an-layout {
        grid-template-columns: 1fr
    }

    .ref-an-side {
        display: none
    }

    .ref-sec-layout {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px 20px 100px
    }

    .ref-sec-visual {
        min-height: 260px
    }
}

@media(max-width:620px) {
    .ref-tech-stage {
        padding: 8px 8px 0;
        min-height: 970px
    }

    .ref-tech-mode-panel {
        inset: 8px 8px 0;
        min-height: 930px
    }

    .ref-cap-window {
        min-height: 930px
    }

    .ref-cap-head {
        padding: 0 15px
    }

    .ref-cap-status {
        display: none
    }

    .ref-cap-head strong {
        font-size: 12px
    }

    .ref-arch-col {
        grid-template-columns: 1fr
    }

    .ref-arch-node {
        grid-template-columns: 42px 1fr;
        text-align: left
    }

        .ref-arch-node > b {
            margin: 0
        }

    .ref-int-map {
        height: 760px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
        padding: 22px 14px 100px;
        align-content: start
    }

    .ref-int-node, .ref-int-hub {
        position: relative;
        left: auto !important;
        top: auto !important;
        transform: none
    }

    .ref-int-hub {
        grid-column: 1/-1;
        width: 150px;
        height: 150px;
        margin: 0 auto 10px
    }

    .ref-int-node {
        width: auto;
        min-height: 96px
    }

    .ref-an-kpis {
        grid-template-columns: 1fr 1fr
    }

    .ref-an-toolbar {
        align-items: flex-start;
        flex-direction: column
    }

    .ref-sec-layout {
        padding-left: 14px;
        padding-right: 14px
    }

    .ref-sec-list article {
        grid-template-columns: 30px 1fr
    }

        .ref-sec-list article > small {
            display: none
        }

    .ref-sec-chips {
        left: 15px;
        right: 15px
    }

    .ref-cap-foot {
        left: 15px;
        right: 15px
    }
}

@media(prefers-reduced-motion:reduce) {
    .ref-arch-flow i, .ref-int-hub:before, .ref-int-hub:after, .ref-sec-orbit, .ref-sec-scan {
        animation: none !important
    }

    .ref-an-line {
        stroke-dashoffset: 0 !important
    }

    .ref-an-area {
        opacity: 1 !important
    }
}


/* =========================================================
   PAYMENT METHODS
   GitHub-like large split layout, redesigned for FocusLead
========================================================= */

.ref-payments {
    position: relative;
    padding: 78px 0 72px;
    overflow: hidden;
    background: radial-gradient( circle at 50% 10%, rgba(109,130,152,.07), transparent 27% ), radial-gradient( circle at 84% 68%, rgba(75,221,199,.025), transparent 26% ), #030405;
}

    .ref-payments::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 1px;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.09), transparent );
    }

.ref-payments-heading {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

    .ref-payments-heading .ref-kicker {
        justify-content: center;
    }

    .ref-payments-heading h2 {
        margin-top: 15px;
        color: #f1f4f5;
        font-size: clamp(36px, 4.1vw, 58px);
        line-height: 1.02;
        font-weight: 500;
        letter-spacing: -2.5px;
    }

        .ref-payments-heading h2 > span {
            display: block;
        }

.ref-payments-title-muted {
    margin-top: 4px;
    color: #89938f;
}

.ref-payments-heading > p {
    max-width: 620px;
    margin: 18px auto 0;
    color: #879198;
    font-size: 11px;
    line-height: 1.65;
}


/* ---------- Tabs ---------- */

.ref-payments-switcher {
    width: min(560px, 100%);
    min-height: 58px;
    margin: 34px auto 0;
    padding: 6px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    border: 1px solid rgba(220,232,242,.2);
    border-radius: 999px;
    background: linear-gradient( 180deg, rgba(9,15,19,.96), rgba(4,8,11,.98) );
    box-shadow: 0 14px 40px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.025);
}

.ref-payment-tab {
    min-width: 0;
    height: 44px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: #99a1a7;
    font-size: 10px;
    font-weight: 620;
    cursor: pointer;
    transition: color .26s ease, border-color .26s ease, background .26s ease, box-shadow .26s ease, transform .26s var(--ease);
}

    .ref-payment-tab:hover {
        color: #e5e9eb;
        background: rgba(255,255,255,.025);
    }

    .ref-payment-tab.active {
        color: #f5f7f8;
        border-color: rgba(220,232,242,.52);
        background: linear-gradient( 180deg, rgba(220,232,242,.11), rgba(75,221,199,.035) );
        box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 22px rgba(0,0,0,.2), 0 0 22px rgba(75,221,199,.025);
    }


/* ---------- Wide content ---------- */

.ref-payments-wide {
    position: relative;
    width: min(1480px, calc(100% - 42px));
    min-height: 465px;
    margin: 48px auto 0;
    border-top: 1px solid rgba(220,232,242,.12);
    border-bottom: 1px solid rgba(220,232,242,.12);
    background: linear-gradient( 180deg, rgba(255,255,255,.006), rgba(255,255,255,.001) );
}

.ref-payment-panel {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, 13px, 0);
    filter: blur(4px);
    transition: opacity .38s ease, transform .46s cubic-bezier(.16,1,.3,1), filter .38s ease, visibility .38s ease;
}

    .ref-payment-panel.active {
        position: relative;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        filter: none;
    }

.ref-payments.is-payment-switching
.ref-payment-panel.active {
    opacity: .25;
    transform: translate3d(0,-8px,0);
    filter: blur(5px);
}


/* ---------- Columns ---------- */

.ref-payment-cell {
    position: relative;
    min-height: 465px;
    padding: 40px 44px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid rgba(220,232,242,.12);
    overflow: hidden;
}

    .ref-payment-cell:first-child {
        border-left: 1px solid rgba(220,232,242,.12);
    }

    .ref-payment-cell::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0;
        background: radial-gradient( circle at 50% 30%, rgba(75,221,199,.06), transparent 35% );
        transition: opacity .35s ease;
    }

    .ref-payment-cell:hover::before {
        opacity: 1;
    }

.ref-payment-brand {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 142px;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

    .ref-payment-brand::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 220px;
        height: 110px;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        background: radial-gradient( circle, rgba(220,232,242,.045) 0%, rgba(75,221,199,.018) 42%, transparent 72% );
        filter: blur(16px);
        pointer-events: none;
        z-index: -1;
    }

.ref-payment-logo {
    position: relative;
    z-index: 2;
    display: block;
    object-fit: contain;
    object-position: center;
    flex: 0 0 auto;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,.34));
    transition: transform .35s cubic-bezier(.16,1,.3,1), filter .35s ease;
}

.ref-payment-logo-kaspi {
    width: 94px;
    height: 94px;
    max-width: 94px;
    max-height: 94px;
}

.ref-payment-logo-freedom {
    width: 210px;
    height: auto;
    max-width: min(210px, 82%);
    max-height: 74px;
}

.ref-payment-cell:hover .ref-payment-logo {
    transform: translateY(-4px) scale(1.025);
    filter: drop-shadow(0 16px 30px rgba(0,0,0,.38));
}

.ref-payment-cell:first-child .ref-payment-brand::before {
    background: radial-gradient( circle, rgba(244,72,66,.075) 0%, rgba(244,72,66,.018) 45%, transparent 72% );
}

.ref-payment-cell:nth-child(2) .ref-payment-brand::before {
    background: radial-gradient( circle, rgba(0,184,76,.075) 0%, rgba(75,221,199,.018) 45%, transparent 72% );
}

.ref-payment-logo-fallback {
    color: #f0f3f4;
    font-size: 25px;
    line-height: 1;
    font-weight: 650;
    letter-spacing: -.7px;
}

.ref-payment-logo-kaspi-fallback {
    color: #f14845;
}

.ref-payment-logo-freedom-fallback {
    color: #e8eef0;
}

.ref-payment-brand-invoice svg {
    width: 84px;
    height: 84px;
    filter: drop-shadow( 0 0 18px rgba(75,221,199,.07) );
}

.ref-payment-cell-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 340px;
    margin-top: auto;
    text-align: center;
}

.ref-payment-type {
    display: block;
    color: #7f898f;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.ref-payment-cell h3 {
    margin-top: 14px;
    color: #eff2f4;
    font-size: 23px;
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -.75px;
}

.ref-payment-cell p {
    max-width: 320px;
    margin: 11px auto 0;
    color: #8b959c;
    font-size: 10px;
    line-height: 1.58;
}


/* ---------- Business panel ---------- */

.ref-payment-symbol {
    position: relative;
    z-index: 2;
    width: 92px;
    height: 92px;
    margin-top: 13px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(220,232,242,.18);
    border-radius: 50%;
    background: radial-gradient( circle at 35% 25%, rgba(255,255,255,.06), rgba(75,221,199,.035) 38%, rgba(7,13,16,.98) 76% );
    box-shadow: 0 0 0 14px rgba(75,221,199,.012), 0 18px 42px rgba(0,0,0,.26);
}

    .ref-payment-symbol span {
        color: #e4eaed;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: .5px;
    }

.ref-payment-symbol-docs span {
    font-size: 10px;
    letter-spacing: 1.2px;
}


/* ---------- Flow panel ---------- */

.ref-payment-step-number {
    position: relative;
    z-index: 2;
    width: 82px;
    height: 82px;
    margin-top: 18px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(220,232,242,.24);
    border-radius: 50%;
    background: #070c0f;
    color: #f0f3f4;
    font-size: 14px;
    font-weight: 650;
    box-shadow: 0 0 0 13px rgba(255,255,255,.008);
}

    .ref-payment-step-number::after {
        content: "";
        position: absolute;
        inset: -1px;
        border-radius: inherit;
        border-top: 1px solid rgba(75,221,199,.75);
        animation: paymentStepOrbit 5.5s linear infinite;
    }

.ref-payment-step-done {
    color: #07110f;
    border-color: rgba(75,221,199,.5);
    background: linear-gradient( 145deg, #eef7f5, #9fe3d8 52%, #4bddc7 );
    box-shadow: 0 0 26px rgba(75,221,199,.1);
}

@keyframes paymentStepOrbit {
    to {
        transform: rotate(360deg);
    }
}


/* ---------- Entrance ---------- */

.ref-payment-panel.is-payment-panel-running
.ref-payment-cell {
    animation: paymentCellIn .72s cubic-bezier(.16,1,.3,1) both;
}

    .ref-payment-panel.is-payment-panel-running
    .ref-payment-cell:nth-child(2) {
        animation-delay: .08s;
    }

    .ref-payment-panel.is-payment-panel-running
    .ref-payment-cell:nth-child(3) {
        animation-delay: .16s;
    }

@keyframes paymentCellIn {
    from {
        opacity: 0;
        transform: translate3d(0,18px,0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}


/* =========================================================
   PAYMENT RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .ref-payments {
        padding-top: 60px;
    }

    .ref-payments-wide {
        min-height: 0;
    }

    .ref-payment-panel {
        grid-template-columns: 1fr;
    }

    .ref-payment-cell {
        min-height: 330px;
        padding: 30px 28px;
        border-right: 1px solid rgba(220,232,242,.12);
        border-bottom: 1px solid rgba(220,232,242,.12);
    }

        .ref-payment-cell:last-child {
            border-bottom: 0;
        }

        .ref-payment-cell:first-child {
            border-left: 1px solid rgba(220,232,242,.12);
        }

    .ref-payment-brand {
        min-height: 100px;
    }

    .ref-payment-cell-content {
        margin-top: 35px;
    }
}


@media (max-width: 620px) {

    .ref-payments {
        padding: 52px 0;
    }

    .ref-payments-heading {
        text-align: left;
    }

        .ref-payments-heading .ref-kicker {
            justify-content: flex-start;
        }

        .ref-payments-heading h2 {
            font-size: 38px;
            letter-spacing: -1.8px;
        }

        .ref-payments-heading > p {
            margin-left: 0;
            margin-right: 0;
        }

    .ref-payments-switcher {
        margin-top: 27px;
        display: flex;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
    }

        .ref-payments-switcher::-webkit-scrollbar {
            display: none;
        }

    .ref-payment-tab {
        min-width: 155px;
        flex: 0 0 155px;
    }

    .ref-payments-wide {
        width: calc(100% - 20px);
        margin-top: 34px;
    }

    .ref-payment-cell {
        min-height: 300px;
        padding: 27px 20px;
    }

        .ref-payment-cell h3 {
            font-size: 21px;
        }
}


@media (prefers-reduced-motion: reduce) {

    .ref-payment-panel,
    .ref-payment-cell,
    .ref-payment-step-number::after {
        animation: none !important;
        transition-duration: .01ms !important;
    }
}


/* =========================================================
   FOCUSLEAD V4 · COMPACT BLOCKS + MOTION FIX
   Final overrides
========================================================= */


/* ---------------------------------------------------------
   SCROLL REVEAL
   Do not let generic reveal overwrite card 3D transforms.
--------------------------------------------------------- */

.reveal-block {
    opacity: 0;
    filter: blur(6px);
    transform: translate3d(0, 26px, 0) scale(.988);
    transition: opacity .82s cubic-bezier(.16,1,.3,1), transform .92s cubic-bezier(.16,1,.3,1), filter .82s ease;
}

    .reveal-block.is-visible {
        opacity: 1;
        filter: blur(0);
        transform: translate3d(0,0,0) scale(1);
    }


/* Generic reveal cards, except service cards. */

.reveal-card:not(.ref-service-card) {
    opacity: 0;
    filter: blur(5px);
    transform: translate3d(0, 22px, 0) scale(.99);
    transition: opacity .78s cubic-bezier(.16,1,.3,1), transform .88s cubic-bezier(.16,1,.3,1), filter .78s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

    .reveal-card:not(.ref-service-card).is-visible {
        opacity: 1;
        filter: blur(0);
        transform: translate3d(0,0,0) scale(1);
    }


/* ---------------------------------------------------------
   SERVICES · COMPACT SIZE
--------------------------------------------------------- */

.ref-services {
    padding: 40px 0 30px;
}

    .ref-services .ref-shell {
        max-width: 1120px;
    }

.ref-section-head {
    margin-bottom: 17px;
}

.ref-service-grid {
    gap: 10px;
}

.ref-service-card {
    --card-rx: 0deg;
    --card-ry: 0deg;
    --card-lift: 0px;
    --spot-x: 78%;
    --spot-y: 16%;
    --service-reveal-y: 22px;
    --service-reveal-scale: .985;
    min-height: 228px;
    padding: 14px 14px 12px;
    opacity: 0;
    filter: blur(5px);
    transform: perspective(900px) rotateX(var(--card-rx)) rotateY(var(--card-ry)) translate3d( 0, calc( var(--card-lift) + var(--service-reveal-y) ), 0 ) scale( var(--service-reveal-scale) );
    transition: opacity .78s cubic-bezier(.16,1,.3,1), filter .78s ease, transform .48s cubic-bezier(.16,1,.3,1), border-color .3s ease, box-shadow .42s cubic-bezier(.16,1,.3,1), background .35s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

    .ref-service-card.is-visible {
        --service-reveal-y: 0px;
        --service-reveal-scale: 1;
        opacity: 1;
        filter: blur(0);
    }

    .ref-service-card:hover {
        --card-lift: -6px;
    }

.ref-service-art {
    top: 8px;
    right: 4px;
    width: 108px;
    height: 96px;
}

.ref-service-card h3 {
    max-width: 158px;
    font-size: 12.5px;
    line-height: 1.2;
}

.ref-service-card p {
    min-height: 35px;
    margin-top: 6px;
    font-size: 8.2px;
    line-height: 1.42;
}

.ref-service-index {
    font-size: 7px;
}

.ref-round-arrow {
    width: 27px;
    height: 27px;
    margin-top: 8px;
    font-size: 12px;
}


/* ---------------------------------------------------------
   PAYMENT · COMPACT SIZE
--------------------------------------------------------- */

.ref-payments {
    padding: 64px 0 58px;
}

.ref-payments-heading {
    max-width: 650px;
}

    .ref-payments-heading h2 {
        margin-top: 12px;
        font-size: clamp(34px, 3.7vw, 50px);
        letter-spacing: -2px;
    }

    .ref-payments-heading > p {
        max-width: 580px;
        margin-top: 14px;
        font-size: 10px;
    }

.ref-payments-switcher {
    width: min(520px, 100%);
    min-height: 52px;
    margin-top: 28px;
    padding: 5px;
}

.ref-payment-tab {
    height: 40px;
    padding: 0 13px;
    font-size: 9px;
}

.ref-payments-wide {
    width: min(1260px, calc(100% - 48px));
    min-height: 372px;
    margin-top: 38px;
}

.ref-payment-panel {
    min-height: 372px;
}


/* Switching motion. */

.ref-payment-panel {
    transform: translate3d(0, 14px, 0) scale(.992);
    filter: blur(5px);
    transition: opacity .34s ease, transform .46s cubic-bezier(.16,1,.3,1), filter .34s ease, visibility .34s ease;
}

    .ref-payment-panel.active {
        transform: translate3d(0,0,0) scale(1);
        filter: blur(0);
    }

.ref-payments.is-payment-switching
.ref-payment-panel.active {
    opacity: 0;
    transform: translate3d(0,-10px,0) scale(.992);
    filter: blur(6px);
}


/* Individual payment blocks. */

.ref-payment-cell {
    min-height: 372px;
    padding: 30px 32px 27px;
}

.ref-payment-brand {
    min-height: 106px;
}

    .ref-payment-brand::before {
        width: 190px;
        height: 94px;
    }

.ref-payment-logo-kaspi {
    width: 78px;
    height: 78px;
    max-width: 78px;
    max-height: 78px;
}

.ref-payment-logo-freedom {
    width: 176px;
    max-width: min(176px, 82%);
    max-height: 58px;
}

.ref-payment-brand-invoice svg {
    width: 70px;
    height: 70px;
}

.ref-payment-cell-content {
    max-width: 300px;
}

.ref-payment-type {
    font-size: 6.5px;
    letter-spacing: 1.15px;
}

.ref-payment-cell h3 {
    margin-top: 11px;
    font-size: 19px;
    letter-spacing: -.55px;
}

.ref-payment-cell p {
    max-width: 285px;
    margin-top: 8px;
    font-size: 8.8px;
    line-height: 1.52;
}

.ref-payment-symbol {
    width: 76px;
    height: 76px;
    margin-top: 7px;
}

    .ref-payment-symbol span {
        font-size: 12px;
    }

.ref-payment-step-number {
    width: 70px;
    height: 70px;
    margin-top: 9px;
    font-size: 12px;
}


/* Payment entrance animation reset.
   This rule is intentionally at the end so it wins over
   older declarations. */

.ref-payment-panel.is-payment-panel-running
.ref-payment-cell {
    animation: paymentCellInV4 .62s cubic-bezier(.16,1,.3,1) both;
}

    .ref-payment-panel.is-payment-panel-running
    .ref-payment-cell:nth-child(2) {
        animation-delay: .075s;
    }

    .ref-payment-panel.is-payment-panel-running
    .ref-payment-cell:nth-child(3) {
        animation-delay: .15s;
    }

@keyframes paymentCellInV4 {

    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0) scale(.988);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translate3d(0,0,0) scale(1);
        filter: blur(0);
    }
}


/* ---------------------------------------------------------
   PROCESS ANIMATION
   Keep the numbered-step animation clean after the reveal.
--------------------------------------------------------- */

.ref-process-step.reveal-card.is-visible {
    opacity: 1;
    filter: none;
}

.ref-process-step.is-current {
    z-index: 4;
}

.ref-process-step.is-done
.ref-process-check {
    animation: processCheckPop .42s cubic-bezier(.16,1,.3,1) both;
}

@keyframes processCheckPop {

    0% {
        opacity: 0;
        transform: scale(.35) rotate(-20deg);
    }

    65% {
        opacity: 1;
        transform: scale(1.15) rotate(4deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 980px) {

    .ref-services .ref-shell {
        max-width: var(--shell);
    }

    .ref-service-card {
        min-height: 232px;
    }

    .ref-payments-wide {
        width: min(760px, calc(100% - 34px));
    }

    .ref-payment-cell {
        min-height: 285px;
    }
}


@media (max-width: 700px) {

    .ref-service-card {
        min-height: 245px;
    }

    .ref-service-art {
        width: 112px;
        height: 100px;
    }

    .ref-payments {
        padding: 48px 0;
    }

    .ref-payments-wide {
        width: calc(100% - 20px);
        margin-top: 30px;
    }

    .ref-payment-cell {
        min-height: 270px;
        padding: 24px 18px;
    }

    .ref-payment-brand {
        min-height: 90px;
    }

    .ref-payment-cell-content {
        margin-top: 26px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .ref-service-card,
    .ref-payment-panel,
    .ref-payment-cell,
    .ref-process-check {
        animation: none !important;
        transition-duration: .01ms !important;
    }

        .ref-service-card,
        .ref-service-card.is-visible,
        .ref-payment-panel,
        .ref-payment-panel.active {
            opacity: 1 !important;
            filter: none !important;
            transform: none !important;
        }
}


/* =========================================================
   FOCUSLEAD · WELCOME / BOOT SCREEN
========================================================= */

.fl-welcome {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: calc(var(--header-h) + 28px) 0 38px;
    background: radial-gradient( circle at 50% 40%, rgba(109,130,152,.10), transparent 29% ), radial-gradient( circle at 26% 46%, rgba(75,221,199,.055), transparent 24% ), radial-gradient( circle at 78% 42%, rgba(220,232,242,.045), transparent 27% ), linear-gradient( 180deg, #020304, #05090c 58%, #020304 );
    border-bottom: 1px solid rgba(255,255,255,.055);
}

    .fl-welcome::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient( 115deg, transparent 0 31%, rgba(255,255,255,.018) 31.1%, transparent 31.2% ), linear-gradient( 68deg, transparent 0 72%, rgba(75,221,199,.018) 72.1%, transparent 72.2% );
    }

.fl-welcome-grid {
    position: absolute;
    inset: 0;
    opacity: .16;
    pointer-events: none;
    background-image: linear-gradient( rgba(220,232,242,.035) 1px, transparent 1px ), linear-gradient( 90deg, rgba(220,232,242,.028) 1px, transparent 1px );
    background-size: 64px 64px;
    mask-image: radial-gradient( circle at center, #000 0%, rgba(0,0,0,.8) 37%, transparent 77% );
}

.fl-welcome-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
}

.fl-welcome-glow-a {
    width: 380px;
    height: 240px;
    left: 17%;
    top: 28%;
    background: rgba(75,221,199,.09);
    animation: flWelcomeGlowA 8s ease-in-out infinite alternate;
}

.fl-welcome-glow-b {
    width: 410px;
    height: 270px;
    right: 13%;
    top: 31%;
    background: rgba(130,157,187,.10);
    animation: flWelcomeGlowB 10s ease-in-out infinite alternate;
}

@keyframes flWelcomeGlowA {
    from {
        transform: translate3d(-12px,8px,0) scale(.94);
        opacity: .6;
    }

    to {
        transform: translate3d(16px,-12px,0) scale(1.08);
        opacity: 1;
    }
}

@keyframes flWelcomeGlowB {
    from {
        transform: translate3d(10px,-7px,0) scale(1.04);
        opacity: .55;
    }

    to {
        transform: translate3d(-14px,12px,0) scale(.95);
        opacity: .9;
    }
}


.fl-welcome-shell {
    position: relative;
    z-index: 3;
    width: min(930px, calc(100% - 42px));
    margin: 0 auto;
}


/* ---------------------------------------------------------
   TERMINAL
--------------------------------------------------------- */

.fl-welcome-terminal {
    --welcome-rx: 0deg;
    --welcome-ry: 0deg;
    --welcome-x: 0px;
    --welcome-y: 0px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(220,232,242,.16);
    border-radius: 18px;
    background: linear-gradient( 180deg, rgba(15,22,27,.97), rgba(7,12,15,.99) );
    box-shadow: 0 42px 100px rgba(0,0,0,.46), 0 0 70px rgba(75,221,199,.035), inset 0 1px 0 rgba(255,255,255,.045);
    transform: perspective(1200px) translate3d( var(--welcome-x), var(--welcome-y), 0 ) rotateX(var(--welcome-rx)) rotateY(var(--welcome-ry));
    transition: transform .55s cubic-bezier(.16,1,.3,1);
    will-change: transform;
}

    .fl-welcome-terminal::before {
        content: "";
        position: absolute;
        z-index: 5;
        inset: 0;
        pointer-events: none;
        background: linear-gradient( 112deg, rgba(255,255,255,.035), transparent 24%, transparent 72%, rgba(75,221,199,.025) );
    }

.fl-welcome-terminal-top {
    position: relative;
    z-index: 4;
    min-height: 46px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid rgba(220,232,242,.065);
    background: linear-gradient( 180deg, rgba(21,29,35,.98), rgba(13,20,25,.98) );
}

.fl-welcome-window-dots {
    display: flex;
    gap: 7px;
}

    .fl-welcome-window-dots span {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #29343d;
    }

.fl-welcome-file {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #727e87;
    font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
    font-size: 8px;
}

.fl-welcome-file-icon {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(75,221,199,.18);
    border-radius: 6px;
    background: rgba(75,221,199,.045);
    color: var(--accent);
    font-size: 6px;
    font-weight: 800;
}

.fl-welcome-runtime {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #657179;
    font-size: 6px;
    font-weight: 700;
    letter-spacing: 1.1px;
}

.fl-welcome-runtime-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 9px rgba(75,221,199,.68);
}


/* ---------------------------------------------------------
   CODE AREA
--------------------------------------------------------- */

.fl-welcome-editor {
    position: relative;
    min-height: 310px;
    padding: 28px 24px 26px 0;
    overflow: hidden;
    background: linear-gradient( 90deg, rgba(220,232,242,.018) 1px, transparent 1px ), radial-gradient( circle at 77% 20%, rgba(109,130,152,.055), transparent 28% ), #11181e;
    background-size: 52px 100%, auto, auto;
}

    .fl-welcome-editor::after {
        content: "";
        position: absolute;
        left: 58px;
        top: 0;
        bottom: 0;
        width: 1px;
        background: rgba(220,232,242,.04);
    }

.fl-welcome-line {
    position: relative;
    z-index: 2;
    min-height: 29px;
    display: grid;
    grid-template-columns: 58px minmax(0,1fr);
    align-items: center;
    opacity: 0;
    transform: translate3d(8px,5px,0);
    filter: blur(3px);
    transition: opacity .36s ease, transform .5s cubic-bezier(.16,1,.3,1), filter .36s ease;
}

    .fl-welcome-line.is-visible {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .fl-welcome-line::after {
        content: "";
        position: absolute;
        left: 58px;
        right: 0;
        bottom: 1px;
        height: 1px;
        opacity: 0;
        background: linear-gradient( 90deg, rgba(75,221,199,.07), transparent 64% );
        transition: opacity .35s ease;
    }

    .fl-welcome-line.is-visible:last-child::after {
        opacity: 1;
    }

.fl-welcome-line-number {
    padding-right: 14px;
    color: #49545d;
    font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
    font-size: 9px;
    text-align: right;
    user-select: none;
}

.fl-welcome-line code {
    min-width: 0;
    padding-left: 20px;
    color: #b9c3ca;
    font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
    font-size: 12px;
    line-height: 1.55;
    white-space: nowrap;
}

.fl-code-keyword {
    color: #d5839d;
}

.fl-code-type {
    color: #83bfd9;
}

.fl-code-method {
    color: #dbe7ef;
}

.fl-code-string {
    color: #a8c986;
}

.fl-code-caret-inline {
    display: inline-block;
    width: 1px;
    height: 14px;
    margin-left: 4px;
    vertical-align: -2px;
    background: #e6ecef;
    animation: flWelcomeCaret 1s steps(1,end) infinite;
}

@keyframes flWelcomeCaret {
    0%, 45% {
        opacity: 1;
    }

    46%, 100% {
        opacity: 0;
    }
}


/* ---------------------------------------------------------
   OUTPUT
--------------------------------------------------------- */

.fl-welcome-console {
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: translate3d(0,12px,0);
    filter: blur(4px);
    border-top: 1px solid rgba(220,232,242,.07);
    background: linear-gradient( 180deg, #0b1115, #080d10 );
    transition: opacity .65s ease, transform .78s cubic-bezier(.16,1,.3,1), filter .65s ease;
}

    .fl-welcome-console.is-visible {
        opacity: 1;
        transform: none;
        filter: none;
    }

.fl-welcome-console-top {
    min-height: 31px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.04);
    color: #4f5a62;
    font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
    font-size: 6px;
    font-weight: 700;
    letter-spacing: .8px;
}

.fl-welcome-console-output {
    min-height: 113px;
    padding: 20px 20px 21px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 13px;
}

.fl-welcome-prompt {
    align-self: start;
    padding-top: 2px;
    color: var(--accent);
    font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
    font-size: 15px;
}

.fl-welcome-console-output strong {
    display: block;
    color: #b9c2c8;
    font-size: clamp(17px, 1.8vw, 24px);
    line-height: 1.25;
    font-weight: 450;
    letter-spacing: -.65px;
}

.fl-welcome-console-output
.fl-welcome-console-brand {
    margin-top: 2px;
    color: #f4f6f7;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 520;
    letter-spacing: -1.4px;
}

.fl-welcome-console-status {
    align-self: end;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #657179;
    font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
    font-size: 6px;
    letter-spacing: .9px;
}

    .fl-welcome-console-status i {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--accent);
        box-shadow: 0 0 9px rgba(75,221,199,.7);
    }


/* ---------------------------------------------------------
   SCROLL CTA
--------------------------------------------------------- */

.fl-welcome-bottom {
    opacity: 0;
    transform: translate3d(0,12px,0);
    transition: opacity .7s ease, transform .8s cubic-bezier(.16,1,.3,1);
    margin-top: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

    .fl-welcome-bottom.is-visible {
        opacity: 1;
        transform: none;
    }

.fl-welcome-subtitle {
    color: #5f6b73;
    font-size: 8px;
    font-weight: 650;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.fl-welcome-scroll {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas:
        "code mouse"
        "label mouse";
    align-items: center;
    column-gap: 13px;
    row-gap: 4px;
    color: #8b959c;
}

.fl-welcome-scroll-code {
    grid-area: code;
    font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
    font-size: 7px;
}

.fl-welcome-scroll-label {
    grid-area: label;
    color: #c8ced2;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .4px;
}

.fl-welcome-scroll-mouse {
    grid-area: mouse;
    position: relative;
    width: 27px;
    height: 43px;
    border: 1px solid rgba(220,232,242,.32);
    border-radius: 999px;
}

    .fl-welcome-scroll-mouse i {
        position: absolute;
        left: 50%;
        top: 8px;
        width: 3px;
        height: 7px;
        border-radius: 999px;
        background: var(--accent);
        transform: translateX(-50%);
        box-shadow: 0 0 8px rgba(75,221,199,.5);
        animation: flWelcomeScroll 1.65s cubic-bezier(.16,1,.3,1) infinite;
    }

@keyframes flWelcomeScroll {
    0% {
        opacity: 0;
        transform: translate(-50%,0);
    }

    25% {
        opacity: 1;
    }

    72% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%,16px);
    }
}


/* ---------------------------------------------------------
   HERO TRANSITION
--------------------------------------------------------- */

.fl-welcome + .ref-hero {
    border-top: 0;
}


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 760px) {

    .fl-welcome {
        padding: calc(var(--header-h) + 22px) 0 28px;
    }

    .fl-welcome-shell {
        width: calc(100% - 24px);
    }

    .fl-welcome-terminal {
        border-radius: 15px;
    }

    .fl-welcome-runtime {
        display: none;
    }

    .fl-welcome-terminal-top {
        grid-template-columns: auto 1fr;
    }

    .fl-welcome-editor {
        min-height: 290px;
        overflow-x: auto;
    }

    .fl-welcome-line {
        min-width: 670px;
    }

        .fl-welcome-line code {
            font-size: 10px;
        }

    .fl-welcome-console-output {
        grid-template-columns: auto 1fr;
    }

    .fl-welcome-console-status {
        display: none;
    }

    .fl-welcome-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .fl-welcome-scroll {
        align-self: flex-end;
    }
}


@media (max-width: 480px) {

    .fl-welcome-editor {
        min-height: 265px;
    }

    .fl-welcome-line {
        min-width: 620px;
        grid-template-columns: 48px minmax(0,1fr);
    }

    .fl-welcome-editor::after {
        left: 48px;
    }

    .fl-welcome-line-number {
        padding-right: 10px;
    }

    .fl-welcome-line code {
        padding-left: 15px;
        font-size: 9px;
    }

    .fl-welcome-console-output {
        padding: 18px 15px;
    }

        .fl-welcome-console-output
        .fl-welcome-console-brand {
            font-size: 25px;
        }

    .fl-welcome-subtitle {
        font-size: 7px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .fl-welcome-glow,
    .fl-code-caret-inline,
    .fl-welcome-scroll-mouse i {
        animation: none !important;
    }

    .fl-welcome-terminal {
        transform: none !important;
        transition: none !important;
    }

    .fl-welcome-line,
    .fl-welcome-console,
    .fl-welcome-bottom {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        transition: none !important;
    }
}


/* =========================================================
   WELCOME SCREEN · TEMPORARY OVERLAY
========================================================= */

body.welcome-open {
    overflow: hidden;
}

.fl-welcome {
    position: fixed;
    inset: 0;
    z-index: 9000;
    width: 100%;
    min-height: 100svh;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0,0,0);
    transition: opacity .46s ease, visibility .46s ease, transform .52s cubic-bezier(.16,1,.3,1), filter .46s ease;
}

    .fl-welcome.is-closing {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate3d(0,-18px,0) scale(.992);
        filter: blur(7px);
    }

    .fl-welcome[hidden] {
        display: none !important;
    }


/* Close control */

.fl-welcome-shell {
    position: relative;
}

.fl-welcome-close {
    position: absolute;
    z-index: 20;
    top: -14px;
    right: -14px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(220,232,242,.18);
    border-radius: 50%;
    background: rgba(8,13,16,.88);
    color: #8d989f;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.03);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: color .24s ease, border-color .24s ease, background .24s ease, transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease;
}

    .fl-welcome-close:hover {
        color: #f4f7f8;
        border-color: rgba(75,221,199,.42);
        background: rgba(10,20,23,.96);
        transform: rotate(5deg) scale(1.05);
        box-shadow: 0 16px 38px rgba(0,0,0,.38), 0 0 20px rgba(75,221,199,.06);
    }

    .fl-welcome-close:active {
        transform: scale(.96);
    }


/* The lower action is now a button, not a link. */

button.fl-welcome-scroll {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

    button.fl-welcome-scroll:hover
    .fl-welcome-scroll-label {
        color: #ffffff;
    }

    button.fl-welcome-scroll:hover
    .fl-welcome-scroll-mouse {
        border-color: rgba(75,221,199,.48);
    }


/* Remove the old in-document transition rule because
   the welcome is now an overlay. */

.fl-welcome + .ref-hero {
    border-top: 1px solid rgba(255,255,255,.055);
}


@media (max-width: 760px) {

    .fl-welcome-close {
        top: -9px;
        right: -5px;
        width: 38px;
        height: 38px;
        font-size: 19px;
    }
}


@media (max-width: 480px) {

    .fl-welcome-close {
        top: -7px;
        right: -3px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .fl-welcome,
    .fl-welcome.is-closing {
        transition: none !important;
        transform: none !important;
        filter: none !important;
    }
}


/* =========================================================
   FOCUSLEAD · ANIMATED SITE GUIDE
========================================================= */

.site-guide {
    position: fixed;
    right: 82px;
    bottom: 17px;
    z-index: 6900;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .36s ease, visibility .36s ease, transform .45s cubic-bezier(.16,1,.3,1);
}

body.welcome-open .site-guide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0,12px,0);
}

.site-guide.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(12px,16px,0) scale(.94);
}


/* ---------------------------------------------------------
   MESSAGE BUBBLE
--------------------------------------------------------- */

.site-guide-bubble {
    position: absolute;
    right: 70px;
    bottom: 26px;
    width: min(330px, calc(100vw - 150px));
    padding: 14px;
    overflow: hidden;
    border: 1px solid rgba(220,232,242,.15);
    border-radius: 14px;
    background: radial-gradient( circle at 95% 0%, rgba(75,221,199,.07), transparent 28% ), linear-gradient( 155deg, rgba(17,25,30,.97), rgba(7,12,15,.985) );
    box-shadow: 0 25px 70px rgba(0,0,0,.44), 0 0 34px rgba(75,221,199,.035), inset 0 1px 0 rgba(255,255,255,.035);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(12px,8px,0) scale(.965);
    transform-origin: bottom right;
    transition: opacity .3s ease, visibility .3s ease, transform .42s cubic-bezier(.16,1,.3,1);
}

    .site-guide-bubble::after {
        content: "";
        position: absolute;
        right: -7px;
        bottom: 29px;
        width: 14px;
        height: 14px;
        border-top: 1px solid rgba(220,232,242,.12);
        border-right: 1px solid rgba(220,232,242,.12);
        background: #0a1014;
        transform: rotate(45deg);
    }

    .site-guide-bubble.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate3d(0,0,0) scale(1);
    }

.site-guide-bubble-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.site-guide-status {
    display: flex;
    align-items: center;
    gap: 7px;
}

.site-guide-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(75,221,199,.7);
}

.site-guide-section {
    color: #738088;
    font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
    font-size: 6px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.site-guide-bubble-close {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 50%;
    background: transparent;
    color: #69757c;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

    .site-guide-bubble-close:hover {
        color: #fff;
        border-color: rgba(75,221,199,.25);
        background: rgba(75,221,199,.035);
    }

.site-guide-message {
    position: relative;
    z-index: 2;
    min-height: 66px;
    margin-top: 12px;
    color: #c0c7cb;
    font-size: 9px;
    line-height: 1.6;
}

    .site-guide-message::before {
        content: ">";
        margin-right: 7px;
        color: var(--accent);
        font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
    }

.site-guide-actions {
    position: relative;
    z-index: 2;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-guide-action {
    min-height: 31px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 999px;
    font-size: 7px;
    font-weight: 650;
    cursor: pointer;
    transition: transform .22s cubic-bezier(.16,1,.3,1), background .22s ease, border-color .22s ease, color .22s ease;
}

    .site-guide-action:hover {
        transform: translateY(-1px);
    }

.site-guide-action-primary {
    border: 1px solid rgba(220,232,242,.44);
    background: linear-gradient( 180deg, rgba(220,232,242,.11), rgba(75,221,199,.045) );
    color: #edf2f4;
}

.site-guide-action-ghost {
    border: 1px solid rgba(255,255,255,.06);
    background: transparent;
    color: #68747c;
}


/* ---------------------------------------------------------
   CHARACTER
--------------------------------------------------------- */

.site-guide-character {
    position: relative;
    width: 64px;
    height: 82px;
    flex: 0 0 64px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    filter: drop-shadow( 0 13px 20px rgba(0,0,0,.42) );
    animation: siteGuideFloat 3.4s ease-in-out infinite;
}

@keyframes siteGuideFloat {
    0%, 100% {
        transform: translate3d(0,0,0);
    }

    50% {
        transform: translate3d(0,-6px,0);
    }
}


/* Antenna */

.site-guide-antenna {
    position: relative;
    width: 14px;
    height: 13px;
    display: block;
}

    .site-guide-antenna::before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 1px;
        height: 9px;
        background: linear-gradient( #9aaab7, #4bddc7 );
        transform: translateX(-50%);
    }

    .site-guide-antenna i {
        position: absolute;
        left: 50%;
        top: 0;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--accent);
        transform: translateX(-50%);
        box-shadow: 0 0 9px rgba(75,221,199,.7);
    }


/* Head */

.site-guide-head {
    position: relative;
    z-index: 3;
    width: 51px;
    height: 35px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(220,232,242,.28);
    border-radius: 16px 16px 13px 13px;
    background: linear-gradient( 145deg, #dce8f2 0%, #7b8c99 16%, #202c34 35%, #0c1419 67%, #5f7380 88%, #d8e4ed 100% );
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 18px rgba(75,221,199,.06);
}

.site-guide-face {
    position: relative;
    width: 39px;
    height: 24px;
    overflow: hidden;
    border: 1px solid rgba(75,221,199,.2);
    border-radius: 11px;
    background: radial-gradient( circle at 50% 120%, rgba(75,221,199,.13), transparent 56% ), #050a0d;
    box-shadow: inset 0 0 14px rgba(75,221,199,.045);
}

.site-guide-eye {
    position: absolute;
    top: 9px;
    width: 6px;
    height: 3px;
    border-radius: 999px;
    background: #7ff9e7;
    box-shadow: 0 0 7px rgba(75,221,199,.8);
    animation: siteGuideBlink 5.2s infinite;
}

.site-guide-eye-left {
    left: 8px;
}

.site-guide-eye-right {
    right: 8px;
}

@keyframes siteGuideBlink {
    0%, 46%, 50%, 100% {
        transform: scaleY(1);
    }

    48% {
        transform: scaleY(.12);
    }
}

.site-guide-head-shine {
    position: absolute;
    left: -30px;
    top: -9px;
    width: 22px;
    height: 58px;
    opacity: .4;
    background: linear-gradient( 90deg, transparent, rgba(255,255,255,.48), transparent );
    transform: rotate(23deg);
    animation: siteGuideChromeSweep 5.8s ease-in-out infinite;
}

@keyframes siteGuideChromeSweep {
    0%, 55% {
        left: -30px;
        opacity: 0;
    }

    64% {
        opacity: .45;
    }

    82% {
        left: 65px;
        opacity: .2;
    }

    100% {
        left: 65px;
        opacity: 0;
    }
}


/* Neck */

.site-guide-neck {
    position: relative;
    z-index: 2;
    width: 12px;
    height: 6px;
    margin-top: -1px;
    border-left: 1px solid rgba(220,232,242,.2);
    border-right: 1px solid rgba(220,232,242,.2);
    background: linear-gradient( 90deg, #172128, #778996, #172128 );
}


/* Body */

.site-guide-body {
    position: relative;
    z-index: 2;
    width: 45px;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(220,232,242,.22);
    border-radius: 9px 9px 14px 14px;
    background: linear-gradient( 145deg, #d7e2ea 0%, #667986 17%, #152128 43%, #091115 72%, #4c626e 100% );
    box-shadow: inset 0 1px 0 rgba(255,255,255,.24);
}

.site-guide-body-logo {
    color: #6ff0dc;
    font-family: "Segoe UI", sans-serif;
    font-size: 9px;
    font-weight: 850;
    text-shadow: 0 0 8px rgba(75,221,199,.45);
}

.site-guide-body-line {
    width: 17px;
    height: 1px;
    margin-top: 4px;
    background: linear-gradient( 90deg, transparent, var(--accent), transparent );
}


/* Shadow */

.site-guide-shadow {
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 42px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,.44);
    filter: blur(5px);
    transform: translateX(-50%);
    animation: siteGuideShadow 3.4s ease-in-out infinite;
}

@keyframes siteGuideShadow {
    0%, 100% {
        opacity: .5;
        transform: translateX(-50%) scaleX(1);
    }

    50% {
        opacity: .3;
        transform: translateX(-50%) scaleX(.82);
    }
}


/* ---------------------------------------------------------
   CODE PARTICLES
--------------------------------------------------------- */

.site-guide-code-particle {
    position: absolute;
    z-index: 1;
    color: rgba(75,221,199,.52);
    font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
    font-size: 5px;
    pointer-events: none;
    opacity: 0;
    animation: siteGuideCodeParticle 4.2s ease-in-out infinite;
}

.site-guide-code-particle-a {
    left: -5px;
    top: 18px;
    animation-delay: -.3s;
}

.site-guide-code-particle-b {
    right: -4px;
    top: 27px;
    animation-delay: -1.55s;
}

.site-guide-code-particle-c {
    right: 4px;
    bottom: 15px;
    animation-delay: -2.7s;
}

@keyframes siteGuideCodeParticle {
    0% {
        opacity: 0;
        transform: translate3d(0,8px,0) scale(.85);
    }

    24% {
        opacity: .55;
    }

    68% {
        opacity: .25;
    }

    100% {
        opacity: 0;
        transform: translate3d(0,-18px,0) scale(1.08);
    }
}


/* ---------------------------------------------------------
   CHARACTER STATES
--------------------------------------------------------- */

.site-guide-character.is-attention {
    animation: siteGuideAttention .72s cubic-bezier(.16,1,.3,1), siteGuideFloat 3.4s .72s ease-in-out infinite;
}

@keyframes siteGuideAttention {
    0% {
        transform: translate3d(0,0,0) scale(1);
    }

    40% {
        transform: translate3d(0,-9px,0) scale(1.06);
    }

    70% {
        transform: translate3d(0,2px,0) scale(.98);
    }

    100% {
        transform: translate3d(0,0,0) scale(1);
    }
}

.site-guide-character.is-talking
.site-guide-eye {
    animation: siteGuideTalkEyes .44s ease-in-out infinite alternate;
}

@keyframes siteGuideTalkEyes {
    from {
        width: 5px;
        background: #7ff9e7;
    }

    to {
        width: 8px;
        background: #ffffff;
    }
}

.site-guide-character.is-talking
.site-guide-body-line {
    animation: siteGuideTalkLine .48s ease-in-out infinite alternate;
}

@keyframes siteGuideTalkLine {
    from {
        width: 14px;
        opacity: .45;
    }

    to {
        width: 24px;
        opacity: 1;
    }
}


/* ---------------------------------------------------------
   RELATION TO EXISTING ASSISTANT
--------------------------------------------------------- */

.assistant-panel.active ~ * {
    pointer-events: auto;
}


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 900px) {

    .site-guide {
        right: 72px;
        bottom: 14px;
    }

    .site-guide-bubble {
        width: min(300px, calc(100vw - 125px));
    }
}


@media (max-width: 620px) {

    .site-guide {
        right: 66px;
        bottom: 10px;
    }

    .site-guide-character {
        width: 56px;
        height: 74px;
        flex-basis: 56px;
    }

    .site-guide-head {
        width: 46px;
        height: 32px;
    }

    .site-guide-face {
        width: 35px;
        height: 22px;
    }

    .site-guide-eye {
        top: 8px;
    }

    .site-guide-body {
        width: 41px;
        height: 29px;
    }

    .site-guide-bubble {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 88px;
        width: auto;
        transform-origin: bottom right;
    }

        .site-guide-bubble::after {
            display: none;
        }

    .site-guide-message {
        min-height: 55px;
        font-size: 8.5px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .site-guide-character,
    .site-guide-eye,
    .site-guide-head-shine,
    .site-guide-shadow,
    .site-guide-code-particle,
    .site-guide-character.is-attention,
    .site-guide-character.is-talking
    .site-guide-eye,
    .site-guide-character.is-talking
    .site-guide-body-line {
        animation: none !important;
    }

    .site-guide-bubble,
    .site-guide {
        transition-duration: .01ms !important;
    }
}


/* =========================================================
   CONTACT POPUP · BOTTOM OF PAGE
========================================================= */

body.contact-popup-open {
    overflow: hidden;
}

.contact-popup {
    position: fixed;
    inset: 0;
    z-index: 9200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .32s ease, visibility .32s ease;
}

    .contact-popup.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

.contact-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.76);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.contact-popup-window {
    position: relative;
    z-index: 2;
    width: min(720px, 100%);
    padding: 29px;
    overflow: hidden;
    border: 1px solid rgba(220,232,242,.17);
    border-radius: 20px;
    background: radial-gradient( circle at 88% 0%, rgba(75,221,199,.075), transparent 30% ), radial-gradient( circle at 10% 100%, rgba(109,130,152,.08), transparent 28% ), linear-gradient( 155deg, rgba(16,24,29,.985), rgba(6,11,14,.995) );
    box-shadow: 0 38px 120px rgba(0,0,0,.62), 0 0 55px rgba(75,221,199,.04), inset 0 1px 0 rgba(255,255,255,.045);
    transform: translate3d(0,24px,0) scale(.975);
    opacity: 0;
    transition: opacity .38s ease, transform .48s cubic-bezier(.16,1,.3,1);
}

.contact-popup.is-open
.contact-popup-window {
    opacity: 1;
    transform: translate3d(0,0,0) scale(1);
}

.contact-popup-window::before {
    content: "";
    position: absolute;
    left: -45px;
    top: -65px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(75,221,199,.055);
    filter: blur(70px);
    pointer-events: none;
}


/* Close */

.contact-popup-close {
    position: absolute;
    z-index: 4;
    right: 17px;
    top: 17px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    background: rgba(255,255,255,.02);
    color: #758189;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: color .22s ease, border-color .22s ease, background .22s ease, transform .22s ease;
}

    .contact-popup-close:hover {
        color: #fff;
        border-color: rgba(75,221,199,.28);
        background: rgba(75,221,199,.035);
        transform: rotate(4deg);
    }


/* Heading */

.contact-popup-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
}

    .contact-popup-kicker > span {
        width: 21px;
        height: 1px;
        background: linear-gradient( 90deg, var(--accent), rgba(75,221,199,.2) );
    }

    .contact-popup-kicker strong {
        color: #7b878e;
        font-size: 7px;
        font-weight: 700;
        letter-spacing: 1.7px;
    }

.contact-popup-window h2 {
    max-width: 560px;
    margin-top: 17px;
    color: #f3f5f6;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.04;
    font-weight: 500;
    letter-spacing: -1.7px;
}

.contact-popup-lead {
    max-width: 530px;
    margin-top: 12px;
    color: #8c969c;
    font-size: 10px;
    line-height: 1.6;
}


/* Contact cards */

.contact-popup-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.contact-popup-card {
    position: relative;
    min-height: 104px;
    padding: 14px 13px;
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    border: 1px solid rgba(220,232,242,.085);
    border-radius: 11px;
    background: linear-gradient( 145deg, rgba(255,255,255,.025), rgba(255,255,255,.006) );
    transition: transform .28s cubic-bezier(.16,1,.3,1), border-color .28s ease, background .28s ease, box-shadow .28s ease;
}

    .contact-popup-card::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0;
        background: radial-gradient( circle at 20% 20%, rgba(75,221,199,.08), transparent 38% );
        transition: opacity .28s ease;
    }

    .contact-popup-card:hover {
        transform: translateY(-4px);
        border-color: rgba(75,221,199,.22);
        background: linear-gradient( 145deg, rgba(75,221,199,.04), rgba(255,255,255,.009) );
        box-shadow: 0 14px 34px rgba(0,0,0,.22);
    }

        .contact-popup-card:hover::before {
            opacity: 1;
        }

.contact-popup-card-icon {
    position: relative;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 9px;
    background: #10181d;
    color: #8f9da6;
}

.contact-popup-card-whatsapp
.contact-popup-card-icon {
    color: #65e5c9;
    border-color: rgba(75,221,199,.16);
    background: rgba(75,221,199,.04);
}

.contact-popup-card-email
.contact-popup-card-icon {
    color: #dce8f2;
}

.contact-popup-card-icon svg {
    width: 18px;
    height: 18px;
}

.contact-popup-card-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
}

    .contact-popup-card-copy small {
        display: block;
        color: #616d75;
        font-size: 6.5px;
    }

    .contact-popup-card-copy strong {
        display: block;
        margin-top: 4px;
        color: #dce1e4;
        font-size: 9px;
        line-height: 1.35;
        font-weight: 580;
        word-break: break-word;
    }

.contact-popup-card-arrow {
    position: relative;
    z-index: 2;
    color: #66727a;
    font-size: 13px;
    transition: color .2s ease, transform .2s ease;
}

.contact-popup-card:hover
.contact-popup-card-arrow {
    color: var(--accent);
    transform: translate3d(2px,-2px,0);
}


/* Social placeholders */

.contact-popup-socials {
    margin-top: 18px;
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(255,255,255,.055);
    color: #59656c;
    font-size: 6.5px;
}

.contact-popup-social-placeholder {
    display: flex;
    gap: 6px;
}

    .contact-popup-social-placeholder span {
        padding: 5px 8px;
        border: 1px solid rgba(255,255,255,.05);
        border-radius: 999px;
        color: #4f5a61;
        font-size: 6px;
        opacity: .62;
    }


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 760px) {

    .contact-popup {
        padding: 14px;
    }

    .contact-popup-window {
        padding: 24px 18px 20px;
        border-radius: 17px;
    }

    .contact-popup-grid {
        grid-template-columns: 1fr;
    }

    .contact-popup-card {
        min-height: 74px;
    }

    .contact-popup-socials {
        align-items: flex-start;
        flex-direction: column;
    }
}


@media (max-width: 420px) {

    .contact-popup-window h2 {
        font-size: 30px;
    }

    .contact-popup-lead {
        font-size: 9px;
    }

    .contact-popup-card-copy strong {
        font-size: 8.5px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .contact-popup,
    .contact-popup-window,
    .contact-popup-card {
        transition-duration: .01ms !important;
    }
}


/* =========================================================
   FOCUSLEAD · BUILD YOUR SOLUTION
========================================================= */

.solution-builder {
    position: relative;
    padding: 72px 0 64px;
    overflow: hidden;
    background: radial-gradient( circle at 68% 36%, rgba(75,221,199,.05), transparent 28% ), radial-gradient( circle at 18% 60%, rgba(109,130,152,.07), transparent 24% ), linear-gradient( 180deg, #030405, #061014 50%, #030405 );
    border-top: 1px solid rgba(255,255,255,.05);
}

    .solution-builder::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient( 110deg, transparent 0 35%, rgba(255,255,255,.012) 35.1%, transparent 35.2% );
    }


.solution-builder-head {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: end;
    margin-bottom: 27px;
}

    .solution-builder-head h2 {
        max-width: 680px;
        margin-top: 10px;
        color: #f2f4f5;
        font-size: clamp(34px, 4vw, 54px);
        line-height: 1.02;
        font-weight: 500;
        letter-spacing: -2.2px;
    }

    .solution-builder-head > p {
        color: #8b959c;
        font-size: 10px;
        line-height: 1.65;
    }


/* =========================================================
   CONSOLE
========================================================= */

.solution-builder-console {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(220,232,242,.15);
    border-radius: 18px;
    background: radial-gradient( circle at 60% 10%, rgba(75,221,199,.06), transparent 24% ), linear-gradient( 155deg, rgba(16,24,29,.98), rgba(6,11,14,.99) );
    box-shadow: 0 28px 80px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.04);
}

.solution-builder-toolbar {
    height: 44px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid rgba(220,232,242,.06);
    background: linear-gradient( 180deg, rgba(20,29,35,.98), rgba(12,20,25,.98) );
}

.solution-builder-dots {
    display: flex;
    gap: 7px;
}

    .solution-builder-dots span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #2b363e;
    }

.solution-builder-toolbar-title {
    color: #59656d;
    font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
    font-size: 7px;
}

.solution-builder-toolbar-status {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #68747c;
    font-size: 6px;
    letter-spacing: 1px;
}

    .solution-builder-toolbar-status i {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--accent);
        box-shadow: 0 0 8px rgba(75,221,199,.65);
    }


/* =========================================================
   LAYOUT
========================================================= */

.solution-builder-grid {
    min-height: 540px;
    display: grid;
    grid-template-columns: 260px minmax(0,1fr) 295px;
}


/* =========================================================
   LEFT SIDEBAR
========================================================= */

.solution-builder-sidebar {
    padding: 20px 14px 15px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(220,232,242,.055);
    background: linear-gradient( 180deg, rgba(11,19,24,.96), rgba(7,14,18,.98) );
}

.solution-builder-sidebar-label,
.solution-builder-result-label {
    color: #59656d;
    font-size: 6px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.solution-builder-options {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.solution-builder-option {
    position: relative;
    min-height: 61px;
    padding: 9px 9px;
    display: grid;
    grid-template-columns: 26px 1fr 20px;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: border-color .25s ease, background .25s ease, transform .28s cubic-bezier(.16,1,.3,1), box-shadow .25s ease;
}

    .solution-builder-option:hover {
        transform: translateX(3px);
        background: rgba(255,255,255,.02);
    }

    .solution-builder-option.active {
        border-color: rgba(75,221,199,.14);
        background: linear-gradient( 90deg, rgba(75,221,199,.09), rgba(75,221,199,.018) );
        box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
    }

.solution-builder-option-index {
    color: #526069;
    font-size: 6px;
    font-weight: 700;
}

.solution-builder-option-copy strong {
    display: block;
    color: #cbd2d6;
    font-size: 8.5px;
    font-weight: 580;
}

.solution-builder-option-copy small {
    display: block;
    margin-top: 4px;
    color: #59656d;
    font-size: 6px;
    line-height: 1.3;
}

.solution-builder-option.active
.solution-builder-option-copy strong {
    color: #eef2f4;
}

.solution-builder-option-check {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(75,221,199,.16);
    border-radius: 50%;
    color: var(--accent);
    font-size: 7px;
    opacity: 0;
    transform: scale(.7);
    transition: opacity .25s ease, transform .3s cubic-bezier(.16,1,.3,1);
}

.solution-builder-option.active
.solution-builder-option-check {
    opacity: 1;
    transform: scale(1);
}

.solution-builder-sidebar-note {
    margin-top: auto;
    padding-top: 14px;
    display: grid;
    grid-template-columns: 6px 1fr;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,.04);
    color: #526069;
    font-size: 6px;
    line-height: 1.45;
}

.solution-builder-note-dot {
    width: 5px;
    height: 5px;
    margin-top: 3px;
    border-radius: 50%;
    background: #7b8992;
}


/* =========================================================
   CANVAS
========================================================= */

.solution-builder-canvas {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: radial-gradient( circle at 50% 48%, rgba(75,221,199,.055), transparent 29% ), #0c1318;
}

.solution-builder-grid-bg {
    position: absolute;
    inset: 0;
    opacity: .32;
    background-image: linear-gradient( rgba(220,232,242,.025) 1px, transparent 1px ), linear-gradient( 90deg, rgba(220,232,242,.02) 1px, transparent 1px );
    background-size: 34px 34px;
    mask-image: radial-gradient( circle at center, #000, transparent 78% );
}

.solution-builder-canvas-title {
    position: absolute;
    z-index: 4;
    left: 22px;
    top: 18px;
}

    .solution-builder-canvas-title span {
        display: block;
        color: #56636c;
        font-size: 5.8px;
        font-weight: 700;
        letter-spacing: 1.4px;
    }

    .solution-builder-canvas-title strong {
        display: block;
        margin-top: 5px;
        color: #e7ecef;
        font-size: 13px;
        font-weight: 560;
        letter-spacing: -.35px;
    }


/* Lines */

.solution-builder-lines {
    position: absolute;
    inset: 58px 0 38px 0;
    width: 100%;
    height: calc(100% - 96px);
    z-index: 1;
}

    .solution-builder-lines path {
        fill: none;
        stroke: url(#solutionLineGradient);
        stroke-width: 1.3;
        stroke-opacity: .28;
        vector-effect: non-scaling-stroke;
        stroke-dasharray: 5 7;
        animation: solutionLineDash 8s linear infinite;
    }

@keyframes solutionLineDash {
    to {
        stroke-dashoffset: -96;
    }
}

.solution-builder-packet {
    fill: #ffffff;
    filter: drop-shadow( 0 0 5px rgba(255,255,255,.85) ) drop-shadow( 0 0 9px rgba(75,221,199,.55) );
}

.solution-builder-packet-delay {
    opacity: .8;
}

.solution-builder-packet-soft {
    opacity: .55;
}


/* Nodes */

.solution-node {
    position: absolute;
    z-index: 3;
    width: 150px;
    min-height: 70px;
    padding: 11px;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(220,232,242,.09);
    border-radius: 10px;
    background: linear-gradient( 145deg, rgba(255,255,255,.04), rgba(9,15,19,.94) );
    box-shadow: 0 12px 30px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.025);
    opacity: .28;
    transform: translate3d(0,12px,0) scale(.95);
    transition: opacity .45s ease, transform .58s cubic-bezier(.16,1,.3,1), border-color .3s ease, box-shadow .3s ease;
}

.solution-builder-console.is-built
.solution-node {
    opacity: 1;
    transform: none;
}

.solution-builder-console.is-building
.solution-node {
    opacity: .12;
    transform: scale(.93);
    filter: blur(3px);
}

.solution-node-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    background: #131c22;
    color: #80909a;
    font-size: 6px;
    font-weight: 700;
}

.solution-node strong {
    display: block;
    color: #d9dfe2;
    font-size: 8px;
    font-weight: 580;
}

.solution-node small {
    display: block;
    margin-top: 4px;
    color: #59666f;
    font-size: 5.8px;
    line-height: 1.25;
}

.solution-node-a {
    left: 6%;
    top: 16%;
}

.solution-node-b {
    left: 6%;
    bottom: 16%;
}

.solution-node-c {
    right: 6%;
    top: 17%;
}

.solution-node-d {
    right: 6%;
    bottom: 16%;
}


/* Core node */

.solution-node-core {
    left: 50%;
    top: 50%;
    width: 160px;
    min-height: 150px;
    padding: 18px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translate(-50%,-50%) scale(.92);
    border-color: rgba(75,221,199,.17);
    border-radius: 17px;
    background: radial-gradient( circle at 50% 20%, rgba(75,221,199,.10), transparent 35% ), linear-gradient( 155deg, rgba(255,255,255,.045), rgba(6,13,16,.97) );
    box-shadow: 0 18px 48px rgba(0,0,0,.32), 0 0 35px rgba(75,221,199,.06);
}

.solution-builder-console.is-built
.solution-node-core {
    transform: translate(-50%,-50%) scale(1);
}

.solution-builder-console.is-building
.solution-node-core {
    transform: translate(-50%,-50%) scale(.88);
}

.solution-node-core-logo {
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(75,221,199,.22);
    border-radius: 13px;
    background: rgba(75,221,199,.05);
    color: var(--accent);
    font-size: 12px;
    font-weight: 850;
    box-shadow: 0 0 20px rgba(75,221,199,.06);
}

.solution-node-core > strong {
    margin-top: 10px;
    font-size: 10px;
}

.solution-node-core > small {
    margin-top: 4px;
    font-size: 6px;
}

.solution-node-core-status {
    margin-top: 11px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #5e6b74;
    font-size: 5px;
    letter-spacing: .9px;
}

    .solution-node-core-status i {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--accent);
        box-shadow: 0 0 7px rgba(75,221,199,.6);
    }


/* Terminal */

.solution-builder-terminal {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 13px;
    z-index: 4;
    height: 31px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(220,232,242,.06);
    border-radius: 7px;
    background: rgba(4,9,12,.84);
    color: #66737c;
    font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
    font-size: 6px;
}

.solution-builder-terminal-prompt {
    color: var(--accent);
}

.solution-builder-terminal-caret {
    width: 1px;
    height: 11px;
    background: #dce8f2;
    animation: solutionCaret 1s steps(1,end) infinite;
}

@keyframes solutionCaret {
    0%, 45% {
        opacity: 1;
    }

    46%, 100% {
        opacity: 0;
    }
}


/* =========================================================
   RESULT
========================================================= */

.solution-builder-result {
    padding: 22px 18px 17px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(220,232,242,.055);
    background: linear-gradient( 180deg, rgba(11,19,24,.96), rgba(7,14,18,.98) );
}

    .solution-builder-result h3 {
        margin-top: 14px;
        color: #eef2f4;
        font-size: 22px;
        line-height: 1.08;
        font-weight: 500;
        letter-spacing: -.8px;
    }

    .solution-builder-result > p {
        margin-top: 10px;
        color: #7e8990;
        font-size: 8px;
        line-height: 1.6;
    }

.solution-builder-tags {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

    .solution-builder-tags span {
        padding: 5px 7px;
        border: 1px solid rgba(220,232,242,.065);
        border-radius: 999px;
        background: rgba(255,255,255,.01);
        color: #66737c;
        font-size: 5.7px;
    }

.solution-builder-result-divider {
    height: 1px;
    margin: 18px 0;
    background: rgba(255,255,255,.05);
}

.solution-builder-result-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

    .solution-builder-result-meta span {
        display: block;
        color: #526069;
        font-size: 5.4px;
        letter-spacing: .9px;
    }

    .solution-builder-result-meta strong {
        display: block;
        margin-top: 5px;
        color: #b9c2c7;
        font-size: 7px;
        font-weight: 560;
    }

.solution-builder-contact {
    margin-top: auto;
    min-height: 41px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(220,232,242,.33);
    border-radius: 999px;
    background: linear-gradient( 180deg, rgba(220,232,242,.10), rgba(75,221,199,.035) );
    color: #edf2f4;
    font-size: 8px;
    font-weight: 650;
    cursor: pointer;
    transition: transform .26s cubic-bezier(.16,1,.3,1), border-color .26s ease, background .26s ease, box-shadow .26s ease;
}

    .solution-builder-contact:hover {
        transform: translateY(-2px);
        border-color: rgba(75,221,199,.3);
        background: linear-gradient( 180deg, rgba(220,232,242,.12), rgba(75,221,199,.055) );
        box-shadow: 0 12px 28px rgba(0,0,0,.22), 0 0 20px rgba(75,221,199,.025);
    }


/* =========================================================
   BUILD ANIMATION
========================================================= */

.solution-builder-console.is-built
.solution-node-a {
    transition-delay: .04s;
}

.solution-builder-console.is-built
.solution-node-b {
    transition-delay: .10s;
}

.solution-builder-console.is-built
.solution-node-core {
    transition-delay: .17s;
}

.solution-builder-console.is-built
.solution-node-c {
    transition-delay: .26s;
}

.solution-builder-console.is-built
.solution-node-d {
    transition-delay: .33s;
}

.solution-builder-console.is-built
.solution-builder-result {
    animation: solutionResultIn .65s .18s cubic-bezier(.16,1,.3,1) both;
}

@keyframes solutionResultIn {
    from {
        opacity: .25;
        transform: translate3d(10px,0,0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .solution-builder-head {
        grid-template-columns: 1fr 300px;
    }

    .solution-builder-grid {
        grid-template-columns: 220px minmax(0,1fr) 245px;
    }

    .solution-node {
        width: 132px;
    }

    .solution-node-core {
        width: 145px;
    }
}


@media (max-width: 850px) {

    .solution-builder-head {
        grid-template-columns: 1fr;
        gap: 13px;
    }

        .solution-builder-head > p {
            max-width: 560px;
        }

    .solution-builder-grid {
        grid-template-columns: 1fr;
    }

    .solution-builder-sidebar {
        border-right: 0;
        border-bottom: 1px solid rgba(220,232,242,.055);
    }

    .solution-builder-options {
        display: grid;
        grid-template-columns: repeat(2,1fr);
    }

    .solution-builder-sidebar-note {
        margin-top: 15px;
    }

    .solution-builder-canvas {
        min-height: 470px;
    }

    .solution-builder-result {
        min-height: 300px;
        border-left: 0;
        border-top: 1px solid rgba(220,232,242,.055);
    }

    .solution-builder-contact {
        margin-top: 28px;
    }
}


@media (max-width: 560px) {

    .solution-builder {
        padding: 52px 0 48px;
    }

    .solution-builder-head h2 {
        font-size: 36px;
        letter-spacing: -1.6px;
    }

    .solution-builder-toolbar-status {
        display: none;
    }

    .solution-builder-toolbar {
        grid-template-columns: auto 1fr;
    }

    .solution-builder-options {
        grid-template-columns: 1fr;
    }

    .solution-builder-canvas {
        min-height: 540px;
    }

    .solution-builder-lines {
        display: none;
    }

    .solution-node-a,
    .solution-node-b,
    .solution-node-c,
    .solution-node-d,
    .solution-node-core {
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        transform: none;
    }

    .solution-node {
        width: calc(50% - 22px);
        min-height: 68px;
    }

    .solution-node-a {
        left: 14px;
        top: 88px;
    }

    .solution-node-b {
        right: 14px;
        top: 88px;
    }

    .solution-node-core {
        left: 50%;
        top: 50%;
        width: 145px;
        transform: translate(-50%,-50%);
    }

    .solution-builder-console.is-built
    .solution-node-core {
        transform: translate(-50%,-50%);
    }

    .solution-node-c {
        left: 14px;
        bottom: 72px;
    }

    .solution-node-d {
        right: 14px;
        bottom: 72px;
    }

    .solution-builder-result-meta {
        grid-template-columns: 1fr;
    }
}


@media (prefers-reduced-motion: reduce) {

    .solution-builder-lines path,
    .solution-builder-packet,
    .solution-builder-terminal-caret {
        animation: none !important;
    }

    .solution-node,
    .solution-builder-result,
    .solution-builder-console {
        transition-duration: .01ms !important;
    }

    .solution-node {
        opacity: 1 !important;
        transform: none !important;
    }

    .solution-node-core {
        transform: translate(-50%,-50%) !important;
    }
}

/* =========================================================
   Страница «Наши работы»
   Текст здесь крупнее, а статус проекта виден сразу.
========================================================= */

.works-page {
    background: #020304;
}

.works-head {
    padding: 108px 0 38px;
    border-bottom: 1px solid rgba(220,232,242,.07);
}

.works-head-top {
    display: block;
}

.works-head-copy {
    max-width: 860px;
}

.works-head h1 {
    margin-top: 12px;
    color: #f2f4f5;
    font-size: clamp(40px, 4vw, 56px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -2.1px;
}

.works-head-copy > p {
    max-width: 720px;
    margin-top: 15px;
    color: #a1abb0;
    font-size: 13px;
    line-height: 1.62;
}

/* Короткий список проектов сразу показывает, что уже работает, а что ещё разрабатывается. */

.works-index {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border-top: 1px solid rgba(220,232,242,.09);
    border-bottom: 1px solid rgba(220,232,242,.09);
}

.works-index a {
    min-height: 68px;
    padding: 0 18px;
    display: grid;
    grid-template-columns: 26px 1fr;
    grid-template-areas:
        "num name"
        "num status";
    align-content: center;
    column-gap: 10px;
    border-right: 1px solid rgba(220,232,242,.08);
    color: #d0d6d9;
    transition: background .2s ease, color .2s ease;
}

.works-index a:last-child {
    border-right: 0;
}

.works-index a:hover {
    background: rgba(255,255,255,.018);
    color: #fff;
}

.works-index a > span {
    grid-area: num;
    align-self: center;
    color: #526069;
    font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
    font-size: 7px;
}

.works-index strong {
    grid-area: name;
    font-size: 11px;
    font-weight: 600;
}

.works-index small {
    grid-area: status;
    margin-top: 4px;
    color: #7d8990;
    font-size: 8px;
}

.works-index-live {
    color: #65d8c6 !important;
}


/* Каждый проект занимает один плотный блок без лишних пустых зон. */

.works-case {
    padding: 38px 0;
    border-bottom: 1px solid rgba(220,232,242,.065);
    opacity: 0;
    transform: translate3d(0,14px,0);
    transition:
        opacity .58s ease,
        transform .68s cubic-bezier(.16,1,.3,1);
}

.works-case.is-visible,
.works-contact.is-visible {
    opacity: 1;
    transform: none;
}

.works-case-alt {
    background: #040709;
}

.works-case-card {
    display: grid;
    grid-template-columns: minmax(0,1.55fr) minmax(390px,.72fr);
    min-height: 350px;
    overflow: hidden;
    border: 1px solid rgba(220,232,242,.13);
    border-radius: 13px;
    background: #070b0e;
}


/* Скриншот остаётся главным визуальным объектом, но блок больше не растягивается на пол-экрана. */

.works-shot {
    position: relative;
    min-width: 0;
    min-height: 350px;
    padding: 46px 24px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 0;
    border-right: 1px solid rgba(220,232,242,.10);
    background:
        radial-gradient(circle at 50% 100%, rgba(57,76,91,.18), transparent 54%),
        #0b1115;
    cursor: zoom-in;
}

.works-shot::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 74px;
    height: 1px;
    background: #4bddc7;
}

.works-shot-bar {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 14px;
    display: flex;
    justify-content: space-between;
    color: #68757d;
    font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
    font-size: 7px;
}

.works-shot-frame {
    width: 100%;
    display: flex;
    justify-content: center;
}

.works-shot img {
    display: block;
    width: min(100%, 820px);
    max-height: 285px;
    object-fit: contain;
    border: 1px solid rgba(220,232,242,.16);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 15px 38px rgba(0,0,0,.34);
    transition: transform .3s cubic-bezier(.16,1,.3,1);
}

.works-shot:hover img {
    transform: translateY(-2px);
}


/* Правая часть. Здесь всё сделано крупнее и понятнее, чем раньше. */

.works-case-copy {
    padding: 25px 27px 22px;
    display: flex;
    flex-direction: column;
    background: #040709;
}

.works-case-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.works-case-number {
    color: #5b6870;
    font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
    font-size: 8px;
}

.works-case-owner {
    color: #5c6971;
    font-size: 6.5px;
    font-weight: 700;
    letter-spacing: 1px;
}





/* Статус проекта оставляем обычной строкой — без отдельной карточки. */

.works-status-line {
    margin-top: 14px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 10px;
    line-height: 1.4;
}

.works-status-line > span {
    color: #6f7b82;
}

.works-status-line strong {
    color: #cbd2d6;
    font-weight: 600;
}

.works-status-line-live strong {
    color: #72ddcc;
}

.works-status-line-dev strong {
    color: #aeb7bc;
}

.works-case-type {
    margin-top: 18px;
    color: #68757d;
    font-size: 6.5px;
    font-weight: 700;
    letter-spacing: 1.1px;
}

.works-case-copy h2 {
    margin-top: 8px;
    color: #f1f3f4;
    font-size: 34px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -1.35px;
}

.works-case-copy > p {
    margin-top: 12px;
    color: #a0aaaf;
    font-size: 11.5px;
    line-height: 1.58;
}

.works-case-points {
    margin-top: 19px;
    border-top: 1px solid rgba(220,232,242,.08);
}

.works-case-points > div {
    padding: 11px 0;
    border-bottom: 1px solid rgba(220,232,242,.07);
}

.works-case-points strong {
    display: block;
    color: #d4dadd;
    font-size: 10px;
    font-weight: 600;
}

.works-case-points span {
    display: block;
    margin-top: 4px;
    color: #7e8990;
    font-size: 8.5px;
    line-height: 1.45;
}


/* Финальный блок тоже держим компактным. */

.works-contact {
    padding: 44px 0 56px;
    opacity: 0;
    transform: translate3d(0,12px,0);
    transition:
        opacity .55s ease,
        transform .65s cubic-bezier(.16,1,.3,1);
}

.works-contact-inner {
    min-height: 105px;
    padding: 24px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(220,232,242,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.012);
}

.works-contact h2 {
    margin-top: 8px;
    color: #eef1f2;
    font-size: 31px;
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -1.2px;
}


/* Полноэкранный просмотр скриншота. */

body.work-preview-open {
    overflow: hidden;
}

.work-preview {
    position: fixed;
    inset: 0;
    z-index: 9400;
    padding: 20px;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

.work-preview.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.work-preview-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0,0,0,.84);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: zoom-out;
}

.work-preview-window {
    position: relative;
    z-index: 2;
    width: min(1380px, 96vw);
    max-height: 92vh;
    overflow: hidden;
    border: 1px solid rgba(220,232,242,.18);
    border-radius: 12px;
    background: #080d10;
    box-shadow: 0 32px 100px rgba(0,0,0,.64);
}

.work-preview-head {
    height: 40px;
    padding: 0 10px 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(220,232,242,.07);
    color: #66737b;
    font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
    font-size: 7px;
}

.work-preview-head button {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(220,232,242,.09);
    border-radius: 50%;
    background: transparent;
    color: #87939a;
    font-size: 16px;
    cursor: pointer;
}

.work-preview-window img {
    width: 100%;
    max-height: calc(92vh - 40px);
    display: block;
    object-fit: contain;
    background: #fff;
}


@media (max-width: 1050px) {

    .works-head-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }
.works-case-card {
        grid-template-columns: 1fr;
    }

    .works-shot {
        min-height: 330px;
        border-right: 0;
        border-bottom: 1px solid rgba(220,232,242,.10);
    }
}


@media (max-width: 720px) {

    .works-head {
        padding: 96px 0 32px;
    }

    .works-head h1 {
        font-size: 38px;
        letter-spacing: -1.6px;
    }

    .works-head-copy > p {
        font-size: 10px;
    }

    .works-index {
        grid-template-columns: 1fr;
    }

    .works-index a {
        border-right: 0;
        border-bottom: 1px solid rgba(220,232,242,.08);
    }

    .works-case {
        padding: 30px 0;
    }

    .works-shot {
        min-height: 250px;
        padding: 40px 10px 16px;
    }

    .works-shot img {
        max-height: 220px;
    }

    .works-case-copy {
        padding: 22px 18px 18px;
    }

    .works-case-copy h2 {
        font-size: 29px;
    }

    .works-case-copy > p {
        font-size: 10px;
    }

    .works-case-points strong {
        font-size: 9.5px;
    }

    .works-case-points span {
        font-size: 8px;
    }

    .works-contact-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .works-contact h2 {
        font-size: 27px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .works-case,
    .works-contact,
    .works-shot img,
    .work-preview {
        transition: none !important;
    }

    .works-case,
    .works-contact {
        opacity: 1 !important;
        transform: none !important;
    }
}
