/* FLOWBITR — pure CSS. Colours/fonts are tokens below. */
:root {
    --navy: #070e22;
    --navy2: #0c1733;
    --blue: #2f6bff;
    --cyan: #22d3ee;
    --mist: #f4f6fa;
    --mut: rgba(7, 14, 34, .66);
    --line: rgba(7, 14, 34, .1);
    --fd: "Sora", "Inter", system-ui, sans-serif;
    --fb: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --radius: 8px;
    --shadow: 0 18px 40px -28px rgba(7, 14, 34, .35)
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6.25rem;
    -webkit-text-size-adjust: 100%
}

body {
    font-family: var(--fb);
    color: var(--navy);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    overflow-x: clip;
}

body:has(#menu:target) {
    overflow: hidden
}

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

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

ul,
ol {
    list-style: none;
    padding: 0
}

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px
}

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    background: #fff;
    padding: .6rem 1rem;
    border-radius: 4px
}

.skip:focus {
    top: 1rem
}

.wrap {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.25rem
}

.sec {
    padding: 3rem 0
}

.dark {
    background: var(--navy);
    color: #fff
}

.mist {
    background: var(--mist)
}

.eyebrow {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .2em;
    color: var(--blue);
    margin-bottom: .75rem
}

.dark .eyebrow,
.hero .eyebrow {
    color: var(--cyan)
}

.title {
    font-family: var(--fd);
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    line-height: 1.12;
    letter-spacing: -.02em;
    font-weight: 600;
    max-width: 46rem
}

.lead {
    margin-top: 1rem;
    font-size: 1.0625rem;
    color: var(--mut);
    max-width: 40rem
}

.dark .lead {
    color: rgba(255, 255, 255, .66)
}

.grad {
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.gridbg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%)
}

.glow {
    position: absolute;
    border-radius: 50%;
    background: rgba(47, 107, 255, .22);
    filter: blur(120px);
    pointer-events: none
}

/* buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    height: 3rem;
    padding: 0 1.6rem;
    border-radius: var(--radius);
    font: 600 .9375rem var(--fb);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .2s, box-shadow .2s, border-color .2s;
    width: 100%
}

.btn i {
    font-style: normal;
    transition: transform .2s
}

.btn:hover i {
    transform: translateX(4px)
}

.btn-p {
    background: var(--blue);
    color: #fff
}

.btn-p:hover {
    background: #1f57e6;
    box-shadow: 0 10px 30px -10px rgba(47, 107, 255, .8)
}

.btn-o {
    border-color: rgba(255, 255, 255, .28);
    color: #fff
}

.btn-o:hover {
    background: rgba(255, 255, 255, .1)
}

.btn-d {
    background: var(--navy);
    color: #fff;
    height: 2.6rem;
    font-size: .875rem;
    width: auto
}

.btn-d:hover {
    background: var(--blue)
}

/* header + CSS-only mobile drawer (:target) */
.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    background: rgba(7, 14, 34, .9);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px)
}

.bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 5.25rem;
    padding: .35rem 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font: 700 1.25rem var(--fd);
    letter-spacing: -.01em;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    width: 250px;
    max-width: min(250px, calc(100vw - 5.5rem));
    height: auto;
    display: block;
    object-fit: contain;
}

.logo b {
    color: var(--cyan)
}

.logo svg {
    width: 2rem;
    height: 2rem
}

.desk,
.cta-d {
    display: none
}

.nav-cta {
    height: 2.5rem;
    padding-inline: 1.25rem;
    font-size: .875rem
}

.desk a {
    font-size: .875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .72);
    transition: color .2s;
    white-space: nowrap;
}

.desk a:hover {
    color: #fff
}

.menu-btn {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    color: #fff
}

.menu-btn svg {
    width: 1.6rem;
    height: 1.6rem
}

.drawer {
    position: fixed;
    top: 5.25rem;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100dvh - 5.25rem);
    height: calc(100vh - 5.25rem);
    z-index: 999;
    background: #070e22 !important;
    background-color: #070e22 !important;
    padding: 1.5rem 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7)
}

.drawer:target,
.nav.is-open .drawer,
body.menu-open .drawer {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important
}

.drawer nav {
    flex: 1;
    display: flex;
    flex-direction: column
}

.drawer nav a {
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font: 600 1.2rem var(--fd);
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color .2s, padding-left .2s
}

.drawer nav a:hover,
.drawer nav a:active {
    color: var(--cyan);
    padding-left: .5rem
}

.drawer .btn {
    height: 3.5rem;
    margin-top: 1.75rem;
    font-size: 1.05rem;
    font-weight: 600
}

.drawer:target~.bar .open,
.nav:has(#menu:target) .open,
.nav.is-open .open,
body.menu-open .open {
    display: none !important
}

.close {
    display: none
}

.nav:has(#menu:target) .close,
.nav.is-open .close,
body.menu-open .close {
    display: grid !important
}

/* Ensure nav has solid opaque background when menu is open */
.nav:has(#menu:target),
.nav.is-open,
body.menu-open .nav {
    background: #070e22 !important;
    animation: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12) !important
}

body.menu-open {
    overflow: hidden
}

@supports (animation-timeline:scroll()) {
    .nav {
        background: transparent;
        animation: navbg linear both;
        animation-timeline: scroll();
        animation-range: 0 120px
    }

    @keyframes navbg {
        to {
            background: rgba(7, 14, 34, .88);
            -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px);
            border-bottom-color: rgba(255, 255, 255, .1)
        }
    }
}

/* hero */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
    padding: 7rem 0 4rem
}

.hero .wrap {
    position: relative;
    display: grid;
    gap: 3.5rem;
    align-items: center
}

.hero .eyebrow {
    font-size: .6875rem
}

.hero h1 {
    margin-top: 1.25rem;
    font: 600 clamp(2.35rem, 7vw, 4rem)/1.08 var(--fd);
    letter-spacing: -.035em;
    max-width: 14ch
}

.hero h1 span {
    display: block
}

.hero h2 {
    margin-top: 1.35rem;
    max-width: 36rem;
    font: 500 clamp(1.05rem, 2.2vw, 1.375rem)/1.45 var(--fd);
    color: rgba(255, 255, 255, .88)
}

.hero p.d {
    margin-top: 1.25rem;
    max-width: 34rem;
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, .66)
}

.ctas {
    margin-top: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    max-width: 30rem
}

.rise {
    opacity: 0;
    animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards;
    animation-delay: var(--d, 0s)
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(22px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.viz {
    position: relative;
    width: 100%;
    max-width: 35rem;
    margin: 0 auto
}

.viz svg {
    width: 100%;
    overflow: visible
}

.viz .halo {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background: rgba(47, 107, 255, .25);
    filter: blur(80px)
}

.viz .ln {
    stroke: rgba(120, 160, 255, .35);
    stroke-width: 1;
    stroke-dasharray: 4 6;
    animation: dash 3s linear infinite
}

@keyframes dash {
    to {
        stroke-dashoffset: -20
    }
}

.viz .nd {
    transform-box: fill-box;
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--d, 0s)
}

@keyframes float {
    50% {
        transform: translateY(-7px)
    }
}

.viz .nd rect {
    fill: var(--navy2);
    stroke: rgba(120, 160, 255, .5)
}

.viz .nd.core rect {
    stroke: var(--cyan)
}

.viz text {
    fill: rgba(255, 255, 255, .85);
    font: 500 11px var(--fb);
    text-anchor: middle
}

.chip {
    display: none;
    position: absolute;
    background: rgba(12, 23, 51, .94);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    padding: .85rem 1rem;
    animation: float 7s ease-in-out infinite;
    box-shadow: var(--shadow)
}

.chip.a {
    right: -.5rem;
    top: .5rem;
    width: 10.5rem
}

.chip-label {
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55)
}

.chip-list {
    margin-top: .65rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    font-size: .8125rem;
    color: rgba(255, 255, 255, .85)
}

.chip-list li {
    padding-left: .85rem;
    position: relative
}

.chip-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: .35rem;
    height: .35rem;
    border-radius: 50%;
    background: var(--cyan)
}

/* trust + about */
.trust {
    border-block: 1px solid var(--line);
    padding: 2.25rem 0;
    background: #f4f6fa;
}

.trust-grid {
    display: grid;
    gap: 1.5rem 2rem;
}

.trust-grid li {
    display: flex;
    align-items: flex-start;
    gap: .875rem;
    text-align: left;
}

.trust-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(47, 107, 255, .08);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.trust-grid li:hover .trust-icon {
    background: var(--blue);
    color: #fff;
    transform: translateY(-2px);
}

.trust-txt {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.trust-grid strong {
    font: 600 1rem var(--fd);
    color: var(--navy);
    letter-spacing: -.01em;
}

.trust-grid span {
    font-size: .875rem;
    color: var(--mut);
    line-height: 1.45;
}

.about {
    display: grid;
    gap: 3rem
}

.flow {
    margin-top: 2.5rem;
    font: 600 clamp(1.8rem, 5vw, 2.6rem)/1.35 var(--fd);
    color: rgba(7, 14, 34, .2)
}

.flow li {
    display: flex;
    align-items: center;
    gap: .75rem;
    transition: color .25s
}

.flow li:hover {
    color: var(--navy)
}

.flow li:not(:last-child)::after {
    content: "→";
    color: var(--blue)
}

.about .txt {
    align-self: center;
    font-size: 1.125rem;
    color: rgba(7, 14, 34, .75)
}

.diag {
    margin-top: 2rem;
    max-width: 26rem
}

.diag .flowline {
    stroke-dasharray: 6 10;
    animation: dash 2s linear infinite
}

.more {
    display: inline-block;
    margin-top: 2rem;
    font-weight: 600;
    color: var(--blue)
}

.more:hover {
    text-decoration: underline
}

/* services */
.svc {
    margin-top: 3.5rem;
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow)
}

.svc article {
    background: #fff;
    padding: 1.75rem;
    transition: background .25s, color .25s, box-shadow .25s
}

.svc article:hover {
    background: var(--navy);
    color: #fff
}

.svc .n {
    font: .875rem "SFMono-Regular", Consolas, monospace;
    color: var(--blue)
}

.svc h3 {
    margin-top: 1.25rem;
    font: 600 1.25rem var(--fd)
}

.svc p {
    margin-top: .5rem;
    font-size: .9375rem;
    color: var(--mut)
}

.svc article:hover p {
    color: rgba(255, 255, 255, .7)
}

.svc article:hover .n {
    color: var(--cyan)
}

.svc li {
    margin-top: .4rem;
    font-size: .875rem;
    padding-left: 1.1rem;
    position: relative
}

.svc ul {
    margin-top: 1.25rem
}

.svc li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: .4rem;
    height: .4rem;
    border-right: 2px solid var(--blue);
    border-top: 2px solid var(--blue);
    transform: rotate(45deg) scale(.8)
}

/* solutions + parallax */
.sol-parallax {
    position: relative;
    overflow: hidden;
    isolation: isolate
}

.sol-parallax-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden
}

.sol-parallax-inner {
    position: relative;
    z-index: 1
}

.sol-parallax-grid {
    opacity: .7;
    top: -18%;
    bottom: -18%;
    height: auto;
    inset-inline: 0;
    -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 15%, transparent 72%);
    mask-image: radial-gradient(ellipse at 50% 35%, #000 15%, transparent 72%)
}

.sol-parallax-glow-a {
    left: -10rem;
    top: 8%;
    width: 32rem;
    height: 32rem;
    opacity: .55
}

.sol-parallax-glow-b {
    right: -8rem;
    bottom: 0;
    width: 26rem;
    height: 26rem;
    opacity: .45
}

@supports (animation-timeline:view()) {
    .sol-parallax-layer {
        animation-timing-function: linear;
        animation-fill-mode: both
    }

    .sol-parallax-grid {
        animation-name: sol-plx-grid;
        animation-timeline: view();
        animation-range: cover 0% cover 100%
    }

    .sol-parallax-glow-a {
        animation-name: sol-plx-glow-a;
        animation-timeline: view();
        animation-range: cover 0% cover 100%
    }

    .sol-parallax-glow-b {
        animation-name: sol-plx-glow-b;
        animation-timeline: view();
        animation-range: cover 0% cover 100%
    }

    @keyframes sol-plx-grid {
        from {
            transform: translate3d(0, -14%, 0) scale(1.08)
        }

        to {
            transform: translate3d(0, 14%, 0) scale(1.08)
        }
    }

    @keyframes sol-plx-glow-a {
        from {
            transform: translate3d(0, -22%, 0)
        }

        to {
            transform: translate3d(0, 28%, 0)
        }
    }

    @keyframes sol-plx-glow-b {
        from {
            transform: translate3d(0, 20%, 0)
        }

        to {
            transform: translate3d(0, -24%, 0)
        }
    }
}

@supports not (animation-timeline:view()) {
    .sol-parallax-grid {
        background-attachment: fixed
    }
}

.eco {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.eco li {
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .05);
    border-radius: 6px;
    padding: .8rem 1rem;
    text-align: center;
    font: 500 .9rem var(--fd)
}

.sol {
    margin-top: 2.5rem;
    display: grid;
    gap: 1rem
}

.sol div {
    height: 100%;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(12, 23, 51, .75);
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color .25s
}

.sol div:hover {
    border-color: rgba(34, 211, 238, .5)
}

.sol h3 {
    font: 600 1.125rem var(--fd)
}

.sol p {
    margin-top: .5rem;
    font-size: .875rem;
    color: rgba(255, 255, 255, .66)
}

.sol .k {
    display: block;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    margin-bottom: 1.25rem
}

/* industries */
.ind {
    margin-top: 3.5rem;
    display: grid;
    gap: 2.5rem 2rem
}

.ind li {
    border-top: 1px solid rgba(7, 14, 34, .15);
    padding-top: 1.25rem
}

.ic {
    width: 1.6rem;
    height: 1.6rem;
    fill: none;
    stroke: var(--blue);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round
}

.ind h3 {
    margin-top: 1rem;
    font: 600 1.125rem var(--fd)
}

.ind p {
    margin-top: .5rem;
    font-size: .9375rem;
    color: var(--mut)
}

/* approach */
.steps {
    position: relative;
    margin-top: 3.5rem;
    display: grid;
    gap: 2rem
}

.steps li {
    position: relative
}

.steps .b {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font: .75rem "SFMono-Regular", Consolas, monospace
}

.steps h3 {
    margin-top: 1.1rem;
    font: 600 1.125rem var(--fd)
}

.steps p {
    margin-top: .4rem;
    font-size: .875rem;
    color: var(--mut)
}

/* tech */
.tech {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: #fff
}

.tech .eyebrow {
    color: var(--cyan)
}

.tech .title {
    color: #fff
}

.tech .lead {
    color: rgba(255, 255, 255, .6)
}

.tech-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden
}

.tech-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(47, 107, 255, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 107, 255, .08) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%)
}

.tech-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none
}

.tech-glow-a {
    width: 36rem;
    height: 36rem;
    background: rgba(47, 107, 255, .28);
    left: -8rem;
    top: -8rem
}

.tech-glow-b {
    width: 28rem;
    height: 28rem;
    background: rgba(34, 211, 238, .18);
    right: -6rem;
    bottom: -6rem
}

.tech-circuit {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(34, 211, 238, .35) 1.5px, transparent 1.5px);
    background-size: 48px 48px;
    background-position: 24px 24px;
    opacity: .4;
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%)
}

.tech-inner {
    position: relative;
    z-index: 1
}

.marq {
    margin-top: 3rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding-bottom: 1rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent)
}

.track {
    display: flex;
    width: max-content;
    animation: marq 40s linear infinite
}

.marq:hover .track {
    animation-play-state: paused
}

.track ul {
    display: flex;
    gap: 1rem;
    padding-right: 1rem
}

.track li {
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .05);
    border-radius: 8px;
    padding: 1rem 1.6rem;
    font: 500 1rem var(--fd);
    color: #fff;
    display: flex;
    align-items: center;
    gap: .7rem;
    box-shadow: 0 4px 18px -6px rgba(47, 107, 255, .5);
    transition: transform .2s, box-shadow .2s, border-color .2s
}

.track li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px -6px rgba(47, 107, 255, .75);
    border-color: rgba(255, 255, 255, .45)
}

.track li::before {
    content: "";
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .75)
}

@keyframes marq {
    to {
        transform: translateX(-50%)
    }
}

/* portfolio section */
.work-carousel-container {
    position: relative;
    margin-top: 2.75rem;
}

/* Arrows hidden by default (<= 4 items) */
.work-arrow {
    display: none;
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(7, 14, 34, .12);
    box-shadow: 0 10px 25px -4px rgba(7, 14, 34, .16), 0 4px 10px -2px rgba(7, 14, 34, .08);
    color: var(--navy);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all .25s cubic-bezier(.2, .7, .2, 1);
    -webkit-tap-highlight-color: transparent;
}

.work-arrow-left {
    left: -1.25rem;
}

.work-arrow-right {
    right: -1.25rem;
}

.work-arrow:hover {
    background: var(--navy);
    color: #ffffff;
    border-color: var(--navy);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 14px 28px -4px rgba(37, 99, 235, .32);
}

.work-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.work-arrow:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

@media(max-width: 820px) {
    .work-arrow {
        width: 2.65rem;
        height: 2.65rem;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .work-arrow-left {
        left: -0.25rem;
    }

    .work-arrow-right {
        right: -0.25rem;
    }
}

/* Default layout (<= 4 items): clean responsive grid */
.work-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem 1.25rem;
}

.work-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media(min-width: 640px) {
    .work-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1024px) {
    .work-track {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem 1.25rem;
    }
}

/* Activated Carousel (when more than 4 items) */
.work-carousel-container.has-carousel .work-arrow,
.work-carousel-container:has(.work-card:nth-child(5)) .work-arrow {
    display: flex;
}

.work-carousel-container.has-carousel .work-viewport,
.work-carousel-container:has(.work-card:nth-child(5)) .work-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 0.25rem 1.25rem;
    border-radius: 12px;
}

.work-carousel-container.has-carousel .work-viewport::-webkit-scrollbar,
.work-carousel-container:has(.work-card:nth-child(5)) .work-viewport::-webkit-scrollbar {
    display: none;
}

.work-carousel-container.has-carousel .work-track,
.work-carousel-container:has(.work-card:nth-child(5)) .work-track {
    display: flex;
    grid-template-columns: none;
    gap: 1.5rem;
    align-items: stretch;
}

.work-carousel-container.has-carousel .work-card,
.work-carousel-container:has(.work-card:nth-child(5)) .work-card {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
}

@media(min-width: 640px) {

    .work-carousel-container.has-carousel .work-card,
    .work-carousel-container:has(.work-card:nth-child(5)) .work-card {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }
}

@media(min-width: 1024px) {

    .work-carousel-container.has-carousel .work-track,
    .work-carousel-container:has(.work-card:nth-child(5)) .work-track {
        gap: 1.25rem;
    }

    .work-carousel-container.has-carousel .work-card,
    .work-carousel-container:has(.work-card:nth-child(5)) .work-card {
        flex: 0 0 calc((100% - 3.75rem) / 4);
        max-width: calc((100% - 3.75rem) / 4);
    }
}



.frame {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(7, 14, 34, .15);
    border-radius: 8px;
    background: var(--mist);
    box-shadow: 0 24px 50px -32px rgba(7, 14, 34, .55)
}

.frame .top {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: .65rem 1rem;
    background: #fff;
    border-bottom: 1px solid rgba(7, 14, 34, .1)
}

.frame .top i {
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    background: rgba(7, 14, 34, .15)
}

.frame .top span {
    margin-left: .6rem;
    background: var(--mist);
    border-radius: 4px;
    padding: .1rem .75rem;
    font: .6875rem "SFMono-Regular", Consolas, monospace;
    color: rgba(7, 14, 34, .5);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.vp {
    overflow: hidden;
    aspect-ratio: 16/10
}

/* Project preview screenshot with default SVG fallback */
.shot {
    width: 100%;
    height: 100%;
    background-image: url(../assets/work/default-project.svg);
    background-size: cover;
    background-position: top center;
    background-color: #e6eaf2;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1)
}

.frame:hover .shot {
    transform: scale(1.04)
}

.meta {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.meta small {
    font-size: .875rem;
    color: var(--blue)
}

.meta h3 {
    margin-top: .2rem;
    font: 600 1.5rem var(--fd)
}

.meta p {
    margin-top: .5rem;
    max-width: 28rem;
    font-size: .9375rem;
    color: var(--mut)
}

.tags {
    margin-top: .8rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem
}

.tags li {
    border: 1px solid rgba(7, 14, 34, .15);
    border-radius: 4px;
    padding: .2rem .6rem;
    font-size: .75rem;
    color: rgba(7, 14, 34, .72)
}

/* why */
.why-sec {
    position: relative;
    overflow: hidden
}

.why-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden
}

.why-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .45
}

.why-blob-a {
    width: 22rem;
    height: 22rem;
    background: rgba(47, 107, 255, .18);
    top: -6rem;
    right: -4rem
}

.why-blob-b {
    width: 18rem;
    height: 18rem;
    background: rgba(34, 211, 238, .12);
    bottom: 10%;
    left: -5rem
}

.why-head .lead {
    max-width: 38rem
}

.why {
    margin-top: 3.5rem;
    display: grid;
    gap: 1.25rem
}

.why-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem 1.75rem 1.85rem;
    box-shadow: 0 16px 40px -32px rgba(7, 14, 34, .28);
    transition: transform .25s ease, border-color .25s, box-shadow .25s
}

.why-card::after {
    content: "";
    position: absolute;
    inset-inline: 1.25rem;
    top: 0;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    opacity: 0;
    transform: scaleX(.6);
    transition: opacity .25s, transform .25s
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(47, 107, 255, .22);
    box-shadow: 0 22px 48px -28px rgba(47, 107, 255, .35)
}

.why-card:hover::after {
    opacity: 1;
    transform: scaleX(1)
}

.why-n {
    display: block;
    font: .8125rem "SFMono-Regular", Consolas, monospace;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 1rem
}

.why-card h3 {
    font: 600 1.2rem var(--fd);
    letter-spacing: -.01em
}

.why-card p {
    margin-top: .55rem;
    font-size: .9375rem;
    line-height: 1.55;
    color: var(--mut)
}

.why-strip {
    margin-top: 4rem;
    display: grid;
    gap: 2rem;
    padding: 2rem 1.75rem;
    background: var(--navy);
    color: #fff;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 28px 60px -36px rgba(7, 14, 34, .65);
    position: relative;
    overflow: hidden
}

.why-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    pointer-events: none
}

.why-strip-text {
    position: relative;
    z-index: 1
}

.why-strip-eyebrow {
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cyan)
}

.why-strip-title {
    margin-top: .5rem;
    font: 600 clamp(1.35rem, 3vw, 1.75rem) var(--fd);
    letter-spacing: -.02em
}

.why-strip-desc {
    margin-top: .65rem;
    max-width: 28rem;
    font-size: .9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, .62)
}

.cap {
    position: relative;
    z-index: 1;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem
}

.cap li {
    display: flex;
    align-items: center;
    gap: .65rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    padding: 1.1rem 1rem;
    font: 600 1rem var(--fd);
    transition: border-color .2s, background .2s
}

.cap li:hover {
    border-color: rgba(34, 211, 238, .45);
    background: rgba(255, 255, 255, .1)
}

.cap-dot {
    flex-shrink: 0;
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--cyan))
}

/* reviews carousel */
.rev-marq {
    margin-top: 3.5rem;
    overflow: hidden;
    position: relative;
    padding-block: .5rem;
    container-type: inline-size;
    --cols: 3;
    --gap: 1.5rem;
}

@media (max-width: 1023px) {
    .rev-marq {
        --cols: 2;
    }
}

@media (max-width: 640px) {
    .rev-marq {
        --cols: 1;
    }
}

.rev-marq::before,
.rev-marq::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3rem;
    z-index: 2;
    pointer-events: none;
}

.rev-marq::before {
    left: 0;
    background: linear-gradient(90deg, #fff, transparent);
}

.rev-marq::after {
    right: 0;
    background: linear-gradient(270deg, #fff, transparent);
}

.rev-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: rev-scroll 35s linear infinite;
}

.rev-marq:hover .rev-track {
    animation-play-state: paused;
}

@keyframes rev-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.rev-marq.no-scroll {
    overflow: visible;
}

.rev-marq.no-scroll::before,
.rev-marq.no-scroll::after {
    display: none;
}

.rev-track.no-scroll {
    animation: none !important;
    width: 100%;
    justify-content: center;
}

.rev-track.no-scroll .rev-list {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
}

.rev-list {
    display: flex;
    gap: var(--gap, 1.5rem);
    padding-right: var(--gap, 1.5rem);
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.review-card {
    width: calc((100cqw - (var(--cols) - 1) * var(--gap, 1.5rem)) / var(--cols));
    max-width: 100cqw;
    min-width: 18rem;
    flex-shrink: 0;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 8px 32px -16px rgba(7, 14, 34, .14);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

@media (max-width: 640px) {
    .review-card {
        min-width: auto;
    }
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(47, 107, 255, .2);
    box-shadow: 0 18px 40px -20px rgba(47, 107, 255, .22);
}

.review-stars {
    font-size: 1.1rem;
    color: #f59e0b;
    letter-spacing: .1em
}

.review-card blockquote {
    flex: 1
}

.review-card blockquote p {
    font-size: .9375rem;
    line-height: 1.65;
    color: rgba(7, 14, 34, .72);
    font-style: italic
}

.review-author {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line)
}

.review-avatar {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    font: 600 .8125rem var(--fd);
    display: grid;
    place-items: center;
    letter-spacing: .03em
}

.review-author strong {
    display: block;
    font: 600 .9375rem var(--fd);
    color: var(--navy)
}

.review-author span {
    font-size: .8125rem;
    color: var(--mut);
    display: block;
    line-height: 1.35;
}

.review-author .review-location {
    display: block;
    font-size: .75rem;
    color: #0284c7;
    font-weight: 500;
    margin-top: .15rem;
    line-height: 1.3;
}




/* CTA */
.cta {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
    padding: 6rem 0;
    text-align: center
}

.cta .wrap {
    position: relative
}

.cta h2 {
    font: 600 clamp(2.4rem, 7vw, 4rem)/1.08 var(--fd);
    letter-spacing: -.03em
}

.cta p {
    margin: 1.25rem auto 0;
    max-width: 34rem;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, .66)
}

.cta .ctas {
    margin: 2.25rem auto 0
}

.cta .net {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .5
}

.cta .net line {
    stroke: rgba(120, 160, 255, .3);
    stroke-dasharray: 4 8;
    animation: dash 4s linear infinite
}

.cta .net circle {
    fill: var(--cyan);
    animation: pulse 3s ease-in-out infinite
}

@keyframes pulse {
    50% {
        opacity: .25
    }
}

/* contact */
#contact,
#contact-form {
    scroll-margin-top: 6.25rem;
}

@media(max-width: 1023px) {
    html {
        scroll-padding-top: 5rem;
    }
    #contact,
    #contact-form {
        scroll-margin-top: 5rem;
    }
}

.contact {
    display: grid;
    gap: 3rem
}

.contact-info {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem
}

.contact-info li {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--line)
}

.contact-info li:first-child {
    padding-top: 0;
    border-top: none
}

.contact-k {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue)
}

.contact-info a {
    font: 600 1.0625rem var(--fd);
    color: var(--navy)
}

.contact-info a:hover {
    color: var(--blue)
}

.contact-v {
    font-size: .9375rem;
    color: var(--mut);
    max-width: 22rem;
    line-height: 1.5
}

form {
    display: grid;
    gap: 1.25rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow)
}

.f {
    display: flex;
    flex-direction: column;
    gap: .4rem
}

.f label {
    font-size: .875rem;
    font-weight: 500
}

.f input,
.f select,
.f textarea {
    width: 100%;
    font: 1rem var(--fb);
    color: var(--navy);
    background: #fff;
    border: 1px solid rgba(7, 14, 34, .18);
    border-radius: 6px;
    padding: 0 .9rem;
    height: 2.9rem
}

.f textarea {
    height: auto;
    min-height: 8rem;
    padding: .8rem .9rem;
    resize: vertical
}

.f input:focus,
.f select:focus,
.f textarea:focus {
    outline: 2px solid rgba(47, 107, 255, .4);
    border-color: var(--blue)
}

.f input:user-invalid,
.f textarea:user-invalid {
    border-color: #dc2626
}

.hp {
    position: absolute;
    left: -9999px
}

.form-status {
    grid-column: 1/-1;
    padding: .85rem 1.15rem;
    border-radius: 6px;
    font-size: .9375rem;
    line-height: 1.45;
}

.form-status.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-status.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* footer */
.site-foot {
    position: relative;
    background: var(--navy2);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, .06)
}

.foot-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--cyan), var(--blue));
    opacity: .85
}

.foot-main {
    display: grid;
    gap: 2.75rem;
    padding-top: 3.5rem;
    padding-bottom: 3rem
}

.foot-brand .logo {
    margin-bottom: 0
}

.foot-tag {
    margin-top: 1rem;
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .78)
}

.foot-desc {
    margin-top: .85rem;
    max-width: 24rem;
    font-size: .875rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .52)
}

.foot-cta {
    margin-top: 1.75rem;
    height: 2.75rem;
    padding-inline: 1.35rem;
    font-size: .875rem;
    width: 100%;
    max-width: 16rem
}

.foot-h {
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1.15rem
}

.foot-col li+li {
    margin-top: .7rem
}

.foot-col a {
    font-size: .875rem;
    color: rgba(255, 255, 255, .62);
    transition: color .2s
}

.foot-col a:hover {
    color: #fff
}

.foot-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem
}

.foot-k {
    display: block;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    margin-bottom: .35rem
}

.foot-contact-list a {
    font: 600 .9375rem var(--fd);
    color: #fff
}

.foot-contact-list a:hover {
    color: var(--cyan)
}

.foot-v {
    display: block;
    font-size: .875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, .55);
    max-width: 16rem
}

.foot-bar {
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: rgba(7, 14, 34, .45)
}

.foot-bar-inner,
.wrap.foot-bar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    padding-top: 1.15rem;
    padding-bottom: 1.25rem;
    text-align: left
}

.foot-copy {
    font-size: .8125rem;
    color: rgba(255, 255, 255, .45)
}

.foot-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: .5rem .75rem;
    font-size: .8125rem
}

.foot-legal a {
    color: rgba(255, 255, 255, .55);
    transition: color .2s
}

.foot-legal a:hover {
    color: #fff
}

.foot-legal span {
    color: rgba(255, 255, 255, .22);
    user-select: none
}

/* legal pages matching homepage standard */
.hero.hero-sub {
    padding: 8.5rem 0 4.5rem;
    min-height: auto
}

.hero-sub h1 {
    font: 700 clamp(2.2rem, 5.5vw, 3.5rem)/1.12 var(--fd);
    letter-spacing: -.02em;
    margin-top: 1rem
}

.hero-sub .d {
    max-width: 44rem;
    margin-top: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.7
}

.legal-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem
}

.l-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem 1.05rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .92);
    font-size: .8125rem;
    font-weight: 500;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px)
}

.l-chip svg {
    color: var(--cyan);
    flex-shrink: 0
}

.sec-legal {
    background: #f8fafc;
    padding: 4.5rem 0 6rem
}

.legal-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: flex-start
}

@media(min-width:1024px) {
    .legal-layout {
        grid-template-columns: 18rem 1fr;
        gap: 3.5rem
    }
}

.legal-sidebar {
    position: sticky;
    top: 6rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 10px 30px -15px rgba(7, 14, 34, .08)
}

.legal-sidebar-h {
    font: 700 .75rem var(--fd);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 1rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between
}

.legal-toc-list {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    list-style: none;
    margin: 0;
    padding: 0
}

.legal-toc-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .75rem;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--mut);
    text-decoration: none;
    transition: all .2s
}

.legal-toc-link:hover,
.legal-toc-link.active {
    color: var(--blue);
    background: rgba(47, 107, 255, .08);
    font-weight: 600
}

.legal-toc-num {
    font: 700 .75rem var(--fd);
    color: var(--cyan);
    opacity: .85;
    width: 1.5rem;
    flex-shrink: 0
}

.legal-main {
    display: flex;
    flex-direction: column;
    gap: 2.25rem
}

.legal-card-block {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.5rem 2.25rem;
    box-shadow: var(--shadow);
    scroll-margin-top: 6rem;
    transition: border-color .2s, box-shadow .2s
}

.legal-card-block:hover {
    border-color: rgba(47, 107, 255, .25);
    box-shadow: 0 20px 40px -20px rgba(7, 14, 34, .12)
}

.legal-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line)
}

.sec-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(47, 107, 255, .12), rgba(34, 211, 238, .12));
    border: 1px solid rgba(47, 107, 255, .2);
    color: var(--blue);
    font: 700 .9rem var(--fd);
    flex-shrink: 0
}

.legal-card-header h2 {
    font: 700 1.35rem var(--fd);
    color: var(--navy);
    margin: 0;
    line-height: 1.25
}

.legal-card-block h3 {
    font: 600 1.05rem var(--fd);
    color: var(--navy);
    margin-top: 1.5rem;
    margin-bottom: .5rem
}

.legal-card-block p {
    color: #475569;
    font-size: .95rem;
    line-height: 1.75;
    margin-top: .75rem
}

.legal-card-block ul,
.legal-card-block ol {
    margin: 1rem 0;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .65rem
}

.legal-card-block li {
    position: relative;
    padding-left: 1.75rem;
    color: #475569;
    font-size: .9375rem;
    line-height: 1.65
}

.legal-card-block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .6rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 8px rgba(47, 107, 255, .6)
}

.legal-card-block strong {
    color: var(--navy);
    font-weight: 600
}

.legal-card-block a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color .2s
}

.legal-card-block a:hover {
    color: var(--navy)
}

.legal-callout {
    background: linear-gradient(135deg, rgba(47, 107, 255, .05), rgba(34, 211, 238, .05));
    border: 1px solid rgba(47, 107, 255, .2);
    border-left: 4px solid var(--blue);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    color: var(--navy);
    font-size: .925rem;
    line-height: 1.65
}

.legal-callout strong {
    color: var(--navy);
    font-weight: 600
}

@media(max-width:1023px) {
    .legal-sidebar {
        position: static;
        margin-bottom: 2rem
    }

    .legal-toc-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: .5rem
    }

    .legal-toc-link {
        padding: .5rem .65rem;
        font-size: .8125rem
    }
}

@media(max-width:640px) {
    .hero.hero-sub {
        padding: 6.5rem 0 3.5rem
    }

    .legal-card-block {
        padding: 1.75rem 1.25rem
    }

    .legal-card-header {
        gap: .75rem;
        margin-bottom: 1rem
    }

    .sec-badge {
        width: 2rem;
        height: 2rem;
        font-size: .8rem
    }

    .legal-card-header h2 {
        font-size: 1.2rem
    }
}

/* scroll reveal (progressive: content is visible where unsupported) */
@supports (animation-timeline:view()) {
    .rv {
        animation: rv linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 30%
    }

    @keyframes rv {
        from {
            opacity: 0;
            transform: translateY(16px)
        }

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

/* breakpoints */
@media(min-width:640px) {
    .ctas {
        flex-direction: row
    }

    .btn {
        width: auto
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .svc,
    .sol,
    .ind,
    .why {
        grid-template-columns: repeat(2, 1fr)
    }

    .why-card-wide,
    .svc article:last-child:nth-child(2n + 1) {
        grid-column: 1/-1
    }


    .chip {
        display: block
    }

    form {
        grid-template-columns: 1fr 1fr;
        padding: 2rem
    }

    .f.full,
    .formbtn {
        grid-column: 1/-1
    }

    .steps {
        grid-template-columns: repeat(3, 1fr)
    }

    .cap {
        grid-template-columns: repeat(2, 1fr)
    }

    .why-strip {
        padding: 2.25rem 2rem
    }

    .meta {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start
    }

    .foot-main {
        grid-template-columns: repeat(2, 1fr)
    }

    .foot-brand {
        grid-column: 1/-1
    }

    .foot-bar-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding-top: 1rem;
        padding-bottom: 1rem
    }


}

@media(min-width:768px) {
    .wrap {
        padding: 0 2rem
    }

    .sec {
        padding: 4.5rem 0
    }

    .hero {
        padding: 10rem 0 6rem
    }



    .meta {
        flex-direction: column
    }

    .eco {
        flex-direction: row;
        align-items: center
    }

    .eco li {
        flex: 1
    }

    .eco li:not(:last-child)::after {
        content: none
    }

    .bar {
        height: 4.5rem
    }

    .drawer {
        top: 4.5rem;
        height: calc(100dvh - 4.5rem);
        height: calc(100vh - 4.5rem)
    }
}

@media(min-width:1024px) {

    .desk {
        display: flex;
        gap: 1.75rem
    }

    .cta-d {
        display: inline-flex
    }

    .menu-btn,
    .drawer {
        display: none
    }

    .hero .wrap {
        grid-template-columns: 1.1fr 1fr
    }

    .about {
        grid-template-columns: 1fr 1fr;
        gap: 5rem
    }

    .trust-grid {
        grid-template-columns: repeat(4, 1fr)
    }

    .svc {
        grid-template-columns: repeat(3, 1fr)
    }

    .svc article:last-child:nth-child(3n + 1) {
        grid-column: 1 / -1;
    }

    .svc article:last-child:nth-child(3n + 1) ul {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
        gap: .4rem 1.5rem;
    }


    .sol,
    .ind {
        grid-template-columns: repeat(4, 1fr)
    }

    .why {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.25rem
    }

    .why-card {
        grid-column: span 2
    }

    .why-card-wide {
        grid-column: span 4
    }

    .why-strip {
        grid-template-columns: 1.1fr 1fr;
        align-items: center;
        gap: 2.5rem;
        padding: 2.5rem 2.75rem
    }

    .cap {
        grid-template-columns: repeat(2, 1fr)
    }

    .steps {
        grid-template-columns: repeat(6, 1fr);
        gap: 1rem
    }

    .steps::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 15px;
        height: 1px;
        background: linear-gradient(90deg, var(--blue), var(--cyan))
    }

    .contact {
        grid-template-columns: .8fr 1.2fr;
        gap: 5rem
    }

    .foot-main {
        grid-template-columns: 1.35fr 1fr 1fr 1.05fr;
        gap: 3rem;
        padding-top: 5rem;
        padding-bottom: 4rem
    }

    .foot-brand {
        grid-column: auto
    }

    .foot-desc {
        max-width: 20rem
    }

    .svc article {
        padding: 2.25rem
    }

    .work-card .meta {
        flex-direction: column;
        align-items: stretch;
        gap: .85rem;
        margin-top: 1rem
    }

    .work-card .meta h3 {
        font-size: 1.0625rem;
        line-height: 1.25
    }

    .work-card .meta p {
        font-size: .8125rem;
        line-height: 1.45;
        max-width: none
    }

    .work-card .meta small {
        font-size: .75rem
    }

    .work-card .meta .btn {
        width: 100%;
        height: 2.35rem;
        font-size: .8125rem
    }

    .work-card .tags {
        gap: .35rem
    }

    .work-card .tags li {
        font-size: .6875rem;
        padding: .15rem .45rem
    }

    .work-card .frame .top {
        padding: .5rem .65rem
    }

    .work-card .frame .top span {
        margin-left: .35rem;
        max-width: 6.5rem
    }

    .meta {
        flex-direction: row
    }
}

/* Review Header & Modal */
.rev-head-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

@media(min-width: 768px) {
    .rev-head-wrap {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.write-review-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 0 1.25rem;
    height: 2.75rem;
    font-size: .875rem;
    font-weight: 600;
}

.review-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(7, 14, 34, .7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.review-modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.review-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 33rem;
    border-radius: 12px;
    box-shadow: 0 25px 60px -15px rgba(7, 14, 34, .45);
    overflow: hidden;
    border: 1px solid rgba(7, 14, 34, .12);
    transform: translateY(20px) scale(.98);
    transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}

.review-modal-backdrop.open .review-modal-card {
    transform: translateY(0) scale(1);
}

.review-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    background: var(--mist);
    border-bottom: 1px solid rgba(7, 14, 34, .1);
}

.review-modal-header h3 {
    font: 600 1.25rem var(--fd);
    color: var(--navy);
}

.review-modal-header p {
    font-size: .8125rem;
    color: var(--mut);
    margin-top: .2rem;
}

.review-modal-close {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: var(--mut);
    cursor: pointer;
    padding: .25rem;
    line-height: 1;
    border-radius: 4px;
    transition: color .2s;
}

.review-modal-close:hover {
    color: var(--navy);
}

.review-modal-form {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-field-group {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.review-field-group label {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--navy);
}

.review-field-group label .req {
    color: #ef4444;
}

.review-field-group input,
.review-field-group textarea {
    width: 100%;
    font: .9375rem var(--fb);
    color: var(--navy);
    background: #fff;
    border: 1px solid rgba(7, 14, 34, .18);
    border-radius: 6px;
    padding: 0 .85rem;
    height: 2.65rem;
    transition: border-color .2s, box-shadow .2s;
}

.review-field-group textarea {
    height: auto;
    min-height: 5.5rem;
    padding: .65rem .85rem;
    resize: vertical;
}

.review-field-group input:focus,
.review-field-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(47, 107, 255, .18);
}

.review-field-group small {
    font-size: .75rem;
    color: var(--mut);
}

.review-field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media(min-width: 480px) {
    .review-field-row {
        grid-template-columns: 1fr 1fr;
    }
}

.star-rating-select {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.star-btn {
    background: transparent;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: #d1d5db;
    cursor: pointer;
    padding: .1rem;
    transition: color .15s, transform .15s;
}

.star-btn.active,
.star-btn.hover {
    color: #f59e0b;
}

.star-btn:hover {
    transform: scale(1.15);
}

.review-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    margin-top: .5rem;
}

.review-modal-actions .btn {
    height: 2.65rem;
    padding: 0 1.25rem;
    font-size: .875rem;
    width: auto;
}

.review-modal-actions .btn-cancel,
.review-modal-actions #cancel-review-btn {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    font-weight: 500;
}

.review-modal-actions .btn-cancel:hover,
.review-modal-actions #cancel-review-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #94a3b8;
}

.review-geo-badge {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .85rem;
    background: rgba(14, 165, 233, .07);
    border: 1px solid rgba(14, 165, 233, .2);
    border-radius: .5rem;
    font-size: .8125rem;
    color: #0369a1;
    margin-bottom: 1.15rem;
}

.review-geo-badge .geo-icon {
    font-size: .95rem;
}

/* ========================================================
   FLOWBITR LIVE CLIENT CHAT WIDGET
   ======================================================== */
.fc-launcher {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 9999;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(47, 107, 255, 0.42);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
}

.fc-launcher:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 12px 30px rgba(47, 107, 255, 0.55);
}

.fc-launcher svg {
    width: 26px;
    height: 26px;
    transition: transform 0.2s ease;
}

.fc-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 0.3rem;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Chat Window Modal */
.fc-window {
    position: fixed;
    bottom: 5.85rem;
    right: 1.75rem;
    width: 23.5rem;
    max-width: calc(100vw - 2.5rem);
    height: 32rem;
    max-height: calc(100vh - 7.5rem);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 48px -10px rgba(7, 14, 34, 0.28), 0 0 0 1px rgba(7, 14, 34, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px) scale(0.96);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.fc-window.open {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

.fc-header {
    background: linear-gradient(135deg, #070e22, #0d1a45);
    color: #fff;
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fc-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fc-header-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.fc-header-title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
}

.fc-header-status {
    font-size: 0.75rem;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.15rem;
}

.fc-status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.25);
}

.fc-close-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0.35rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s;
}

.fc-close-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Visitor Details Collapsible Bar */
.fc-visitor-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.65rem 1rem;
    display: flex;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.fc-visitor-bar input {
    flex: 1;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    font-family: inherit;
    outline: none;
}

.fc-visitor-bar input:focus {
    border-color: var(--blue);
}

/* Chat Message Stream */
.fc-messages {
    flex: 1;
    padding: 1.15rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: #fcfcfd;
}

.fc-msg {
    display: flex;
    flex-direction: column;
    max-width: 82%;
}

.fc-msg.client {
    align-self: flex-end;
}

.fc-msg.admin {
    align-self: flex-start;
}

.fc-bubble {
    padding: 0.75rem 0.95rem;
    border-radius: 12px;
    font-size: 0.845rem;
    line-height: 1.5;
    word-break: break-word;
}

.fc-msg.client .fc-bubble {
    background: var(--blue);
    color: #fff;
    border-bottom-right-radius: 2px;
}

.fc-msg.admin .fc-bubble {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    border-bottom-left-radius: 2px;
}

.fc-time {
    font-size: 0.65rem;
    color: #94a3b8;
    margin-top: 0.25rem;
    padding: 0 0.25rem;
}

.fc-msg.client .fc-time {
    text-align: right;
}

/* Input Area */
.fc-input-area {
    padding: 0.75rem 1rem 0.95rem;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fc-input {
    flex: 1;
    padding: 0.65rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.845rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.fc-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(47, 107, 255, 0.15);
}

.fc-send-btn {
    width: 2.35rem;
    height: 2.35rem;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.fc-send-btn:hover {
    background: #1e56ea;
}

@media (max-width: 640px) {
    .fc-launcher {
        bottom: 1.25rem;
        right: 1.25rem;
    }
    .fc-window {
        right: 1rem;
        left: 1rem;
        bottom: 5.25rem;
        width: auto;
        max-width: none;
        height: 72vh;
    }
}

/* ==========================================================================
   FEATURED LIVE APPLICATION & DASHBOARD SHOWCASE (HOME & DETAIL PAGE)
   ========================================================================== */
.dashboard-showcase-sec {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.dash-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.dash-grid {
    opacity: 0.6;
    top: -20%;
    bottom: -20%;
    height: auto;
    inset-inline: 0;
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}

.dash-glow-a {
    left: -12rem;
    top: 5%;
    width: 36rem;
    height: 36rem;
    opacity: 0.45;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.28) 0%, rgba(47, 107, 255, 0.1) 45%, transparent 70%);
}

.dash-glow-b {
    right: -10rem;
    bottom: 5%;
    width: 34rem;
    height: 34rem;
    opacity: 0.4;
    background: radial-gradient(circle, rgba(47, 107, 255, 0.3) 0%, rgba(34, 211, 238, 0.08) 50%, transparent 70%);
}

.dash-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.dash-head {
    max-width: 54rem;
}

.dash-badge-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.dash-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #34d399;
}

.dash-pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: dashPulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes dashPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

.dash-pill-sub {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dash-title {
    color: #fff;
    margin-bottom: 0.75rem;
}

.dash-lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    max-width: 46rem;
    margin: 0;
}

.dashboard-showcase-sec .wrap {
    max-width: 76rem;
}

/* Home Page 2-Card Showcase Grid */
.dash-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .dash-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.dash-preview-card {
    background: rgba(12, 23, 51, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.65);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.dash-preview-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8), 0 0 30px -10px rgba(34, 211, 238, 0.25);
}

.dash-card-browser {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #0b142b;
}

.dash-card-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    background: #0f1c3d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-browser-dots {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.dash-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dash-dot-red { background: #ff5f56; }
.dash-dot-yellow { background: #ffbd2e; }
.dash-dot-green { background: #27c93f; }

.dash-card-url {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
    background: rgba(7, 14, 34, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    font: 0.75rem "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    max-width: 14rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.dash-card-url:hover {
    color: var(--cyan);
    border-color: rgba(34, 211, 238, 0.3);
}

.dash-card-url svg {
    color: #34d399;
    flex-shrink: 0;
}

.dash-card-url span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-live-badge,
.dash-kds-badge,
.dash-sync-badge,
.dash-ehr-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.dash-live-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.dash-kds-badge {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

.dash-sync-badge {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}

.dash-ehr-badge {
    background: rgba(34, 211, 238, 0.15);
    border: 1px solid rgba(34, 211, 238, 0.4);
    color: #22d3ee;
}

.dash-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #070e22;
    text-decoration: none;
}

.dash-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-preview-card:hover .dash-card-media img {
    transform: scale(1.03);
}

.dash-card-hover {
    position: absolute;
    inset: 0;
    background: rgba(7, 14, 34, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.dash-card-hover span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1rem;
    background: rgba(7, 14, 34, 0.88);
    border: 1px solid var(--cyan);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 9999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.dash-preview-card:hover .dash-card-hover {
    opacity: 1;
}

.dash-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.75rem;
}

.dash-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.dash-category-pill {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyan);
}

.dash-card-body h3 {
    font-family: var(--fd);
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.dash-card-body p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.68);
    margin: 0;
}

.dash-card-footer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dash-btn-live {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.6rem 1rem;
    background: var(--blue);
    color: #fff;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.dash-btn-live:hover {
    background: #1e56ea;
    box-shadow: 0 6px 20px -5px rgba(47, 107, 255, 0.8);
    transform: translateY(-1px);
}

.dash-btn-detail {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.dash-btn-detail:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(34, 211, 238, 0.4);
    color: #fff;
}

.dash-btn-detail.full {
    width: 100%;
    flex: none;
    justify-content: center;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.05);
}

.dash-btn-detail.full:hover {
    background: rgba(47, 107, 255, 0.15);
    border-color: rgba(34, 211, 238, 0.4);
}

/* Home Section Bottom Callout */
.dash-all-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.dash-all-cta-text h3 {
    font-family: var(--fd);
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.35rem;
}

.dash-all-cta-text p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    max-width: 38rem;
}

.dash-all-cta-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================================
   DEDICATED SINGLE DETAILS PAGE (pages/dashboards.html)
   ========================================================================== */
.dash-page-body {
    background: #070e22;
    color: #fff;
}

.dash-nav-sticky {
    position: sticky;
    top: 4.25rem;
    z-index: 30;
    background: rgba(7, 14, 34, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 0;
}

.dash-nav-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
}

.dash-nav-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dash-nav-link-btn:hover {
    background: rgba(47, 107, 255, 0.2);
    border-color: rgba(34, 211, 238, 0.4);
    color: #fff;
}

.dash-nav-link-btn.active {
    background: var(--blue);
    border-color: var(--cyan);
    color: #fff;
}

.dash-detail-section {
    padding: 5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.dash-detail-section:last-of-type {
    border-bottom: none;
}

.dash-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dash-detail-header-left {
    max-width: 48rem;
}

.dash-detail-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 0.5rem;
}

.dash-detail-title {
    font-family: var(--fd);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.dash-detail-lead {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.dash-detail-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.dash-detail-mockup {
    margin-bottom: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0b142b;
    overflow: hidden;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.85);
}

.dash-detail-mockup-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: #0f1c3d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-detail-url-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(7, 14, 34, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font: 0.8125rem "SFMono-Regular", Consolas, monospace;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.dash-detail-url-bar:hover {
    color: var(--cyan);
}

.dash-detail-url-bar svg {
    color: #34d399;
}

.dash-detail-image-box {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #070e22;
}

.dash-detail-image-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.dash-specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .dash-specs-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.dash-specs-col h4 {
    font-family: var(--fd);
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dash-specs-col h4 svg {
    color: var(--cyan);
}

.dash-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dash-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.8);
}

.dash-features-list li svg {
    color: var(--cyan);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.dash-tech-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 1.5rem;
}

.dash-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.dash-tech-tags li {
    padding: 0.3rem 0.75rem;
    background: rgba(47, 107, 255, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.dash-metrics-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.dash-metric-item {
    background: rgba(7, 14, 34, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 0.85rem;
}

.dash-metric-item span {
    display: block;
    font-family: var(--fd);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cyan);
}

.dash-metric-item small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
    .dash-all-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    .dash-all-cta-actions {
        width: 100%;
        flex-direction: column;
    }
    .dash-all-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .dash-detail-header {
        flex-direction: column;
    }
    .dash-detail-actions {
        width: 100%;
        flex-direction: column;
    }
    .dash-detail-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

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

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

    .rise {
        opacity: 1
    }
}