        /* The reset sits in Tailwind's `base` layer on purpose. Unlayered, it
           outranked every layered utility, so `mx-auto`, `px-4`, `pt-32` and the
           rest did nothing on the Tailwind-built public pages (/blogs, /blog/*):
           content hugged the left edge and the header slid under the nav. Layered
           rules still lose to every unlayered rule below, exactly as before. */
        @layer base {
            *,
            *::before,
            *::after {
                box-sizing: border-box;
                margin: 0;
                padding: 0
            }
        }

        :root {
            /* ── Brand: single-hue sapphire system (restraint over rainbow) ── */
            --accent-050: #F2F4FC;
            --accent-100: #E2E6F7;
            --accent-200: #C6CDEF;
            --accent-300: #98A3E0;
            --accent-400: #5563C9;
            --accent: #3644B8;
            --accent-600: #2E3AA0;
            --accent-700: #26307F;
            --accent-800: #1C2461;
            --accent-rgb: 54, 68, 184;

            /* Legacy aliases — kept so existing rules keep resolving */
            --indigo: var(--accent);
            --violet: var(--accent-400);
            --cyan: var(--accent-300);
            --pink: var(--accent-400);
            --indigo-dark: var(--accent-600);
            --violet-dark: var(--accent-700);

            /* ── Neutrals: cool graphite ── */
            --ink: #0B0E14;
            --ink2: #1A1F2B;
            --ink3: #3A4356;
            --ink4: #545E72;
            --ink5: #5F6979;
            --white: #FFFFFF;
            --canvas: #F7F8FA;
            --mist: #EEF0F5;
            --line: #E4E7EC;
            --line-strong: #D3D8E0;

            /* ── Gradients: in-family, low-contrast, never decorative rainbow ── */
            --brand-violet: #7B3FE4;
            --brand-blue: #2A93DC;
            --grad-hero: linear-gradient(180deg, #FCFCFD 0%, #F6F8FB 45%, #EFF2F7 100%);
            /* Logo mark keeps the full-saturation brand gradient */
            --grad-logo: linear-gradient(135deg, #8B3CF2 0%, #5B3FD8 45%, #22A3E6 100%);
            /* Surfaces use the same identity, deepened */
            --grad-brand: linear-gradient(135deg, #5C39C8 0%, #3644B8 55%, #2277B8 100%);
            --grad-brand2: linear-gradient(135deg, #3F2E9E 0%, #1F5E96 100%);
            --grad-text: linear-gradient(120deg, #1A1F2B 0%, #3644B8 55%, #2A7FC4 100%);

            --glass: rgba(255, 255, 255, 0.72);
            --glass-border: rgba(11, 14, 20, 0.06);

            /* ── Elevation: neutral ink, layered, restrained ── */
            --shadow-sm: 0 1px 2px rgba(11, 14, 20, 0.04), 0 1px 1px rgba(11, 14, 20, 0.03);
            --shadow-md: 0 2px 4px rgba(11, 14, 20, 0.04), 0 8px 24px rgba(11, 14, 20, 0.06);
            --shadow-lg: 0 4px 8px rgba(11, 14, 20, 0.04), 0 18px 44px rgba(11, 14, 20, 0.08);
            --shadow-xl: 0 8px 16px rgba(11, 14, 20, 0.05), 0 32px 72px rgba(11, 14, 20, 0.11);

            --radius-sm: 8px;
            --radius: 10px;
            --radius-lg: 14px;
            --radius-xl: 20px;
            --max: 1200px;
            --padx: clamp(20px, 5vw, 80px);

            --ease: cubic-bezier(0.22, 1, 0.36, 1);
        }

        [data-theme="dark"] {
            --accent-050: #171B2B;
            --accent-100: #1E2440;
            --accent-200: #2A3260;
            --accent-300: #5C68C9;
            --accent-400: #7C88E2;
            --accent: #8C97EE;
            --accent-600: #A3ACF3;
            --accent-700: #C0C6F8;
            --accent-800: #DCE0FB;
            --accent-rgb: 140, 151, 238;

            --ink: #F3F5F8;
            --ink2: #E2E6EC;
            --ink3: #B9C0CC;
            --ink4: #A1A9B7;
            --ink5: #8D96A6;
            --white: #0B0D12;
            --canvas: #101319;
            --mist: #171B23;
            --line: #232833;
            --line-strong: #2F3644;

            --brand-violet: #9B6BF0;
            --brand-blue: #4FB4E8;
            --grad-hero: linear-gradient(180deg, #0C0E14 0%, #0F131B 50%, #0B0D12 100%);
            --grad-logo: linear-gradient(135deg, #8B3CF2 0%, #5B3FD8 45%, #22A3E6 100%);
            --grad-brand: linear-gradient(135deg, #7047DE 0%, #4A57C9 55%, #3090CE 100%);
            --grad-brand2: linear-gradient(135deg, #5637B8 0%, #2A76AE 100%);
            --grad-text: linear-gradient(120deg, #F3F5F8 0%, #B9A6F5 55%, #8FD0F2 100%);

            --glass: rgba(11, 13, 18, 0.72);
            --glass-border: rgba(255, 255, 255, 0.08);

            --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
            --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.4);
            --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.3), 0 18px 44px rgba(0, 0, 0, 0.5);
            --shadow-xl: 0 8px 16px rgba(0, 0, 0, 0.35), 0 32px 72px rgba(0, 0, 0, 0.6);
        }

        html {
            scroll-behavior: smooth
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--white);
            color: var(--ink);
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
            overflow-x: clip;
            line-height: 1.6
        }

        .sora {
            font-family: 'Sora', sans-serif
        }

        .mono {
            font-family: 'JetBrains Mono', monospace
        }

        .wrap {
            max-width: var(--max);
            margin: 0 auto;
            padding: 0 var(--padx)
        }

        .grad-text {
            background: var(--grad-text);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text
        }

        img {
            max-width: 100%;
            height: auto
        }

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

        /* ── SCROLLBAR ── */
        ::-webkit-scrollbar {
            width: 6px
        }

        ::-webkit-scrollbar-track {
            background: var(--canvas)
        }

        ::-webkit-scrollbar-thumb {
            background: var(--indigo);
            border-radius: 3px
        }

        /* ── NAV ── */
        #nav {
            position: fixed;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: calc(100% - 32px);
            max-width: var(--max);
            z-index: 999;
            height: 64px;
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(24px) saturate(180%);
            -webkit-backdrop-filter: blur(24px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 32px;
            box-shadow: 0 4px 24px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
            transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
        }

        #nav.scrolled {
            top: 16px;
            background: rgba(255, 255, 255, 0.9);
            box-shadow: 0 12px 32px rgba(var(--accent-rgb),0.08), 0 2px 6px rgba(0,0,0,0.04);
            border: 1px solid rgba(255, 255, 255, 0.8);
        }
        
        [data-theme="dark"] #nav {
            background: rgba(16, 16, 26, 0.65);
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 4px 24px rgba(0,0,0,0.2);
        }
        [data-theme="dark"] #nav.scrolled {
            background: rgba(16, 16, 26, 0.85);
            border: 1px solid rgba(255, 255, 255, 0.12);
            box-shadow: 0 12px 32px rgba(0,0,0,0.3);
        }

        .nav-inner {
            width: 100%;
            padding: 0 8px 0 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: 'Sora', sans-serif;
            font-size: 18px;
            font-weight: 700;
            color: var(--ink);
            letter-spacing: -0.03em;
        }

        .logo-icon {
            width: 34px;
            height: 34px;
            background: var(--grad-brand);
            border-radius: 9px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0
        }

        .logo-icon svg {
            width: 18px;
            height: 18px;
            fill: white
        }

        .nav-tagline {
            font-size: 12px;
            font-weight: 400;
            color: var(--ink4);
            letter-spacing: 0.04em;
            margin-top: 1px;
            display: block;
            font-family: 'Inter', sans-serif
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 4px;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        .nav-links a {
            padding: 8px 12px;
            height: auto;
            line-height: 1;
            font-size: 14.5px;
            color: var(--ink3);
            font-weight: 500;
            border-radius: 100px;
            transition: all 0.2s;
        }

        .nav-links a:hover {
            color: var(--indigo);
            background: rgba(var(--accent-rgb), 0.08);
        }

        .nav-cta {
            margin-left: 0;
            padding: 0 20px;
            height: 42px;
            background: var(--grad-brand);
            color: white;
            font-size: 15px;
            font-weight: 600;
            font-family: 'Sora', sans-serif;
            border-radius: 21px;
            display: inline-flex;
            align-items: center;
            gap: 7px;
            box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.35);
            transition: transform 0.2s, box-shadow 0.2s;
            white-space: nowrap;
        }

        .nav-cta:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 22px rgba(var(--accent-rgb), 0.45)
        }

        .theme-toggle {
            background: transparent;
            border: none;
            color: var(--ink);
            cursor: pointer;
            margin-left: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 9px;
            transition: background 0.2s;
        }
        .theme-toggle:hover {
            background: var(--mist);
        }
        [data-theme="dark"] .moon-icon { display: none !important; }
        [data-theme="dark"] .sun-icon { display: block !important; }

        /* ── HERO ── */
        #hero {
            min-height: 100svh;
            padding-top: 68px;
            background: var(--grad-hero);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .hero-particles {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 0
        }

        .hero-particles svg {
            width: 100%;
            height: 100%;
            opacity: 0.6
        }

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

        .hg1 {
            width: 700px;
            height: 700px;
            background: rgba(var(--accent-rgb), 0.12);
            top: -200px;
            right: -100px;
            animation: glowDrift 14s ease-in-out infinite
        }

        .hg2 {
            width: 500px;
            height: 500px;
            background: rgba(var(--accent-rgb), 0.1);
            bottom: -100px;
            left: -50px;
            animation: glowDrift 18s ease-in-out infinite reverse
        }

        .hg3 {
            width: 300px;
            height: 300px;
            background: rgba(var(--accent-rgb), 0.1);
            top: 40%;
            left: 30%;
            animation: glowDrift 10s ease-in-out infinite
        }

        @keyframes glowDrift {

            0%,
            100% {
                transform: translate(0, 0)
            }

            33% {
                transform: translate(30px, -20px)
            }

            66% {
                transform: translate(-20px, 30px)
            }
        }

        .hero-body {
            position: relative;
            z-index: 2;
            flex: 1;
            display: flex;
            align-items: center;
            padding: clamp(40px, 8vh, 80px) var(--padx) 0;
        }

        .hero-inner {
            max-width: var(--max);
            margin: 0 auto;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center
        }

        .hero-left {}

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(var(--accent-rgb), 0.08);
            border: 1px solid rgba(var(--accent-rgb), 0.2);
            border-radius: 100px;
            padding: 6px 16px;
            margin-bottom: 28px;
            font-size: 13px;
            font-weight: 600;
            color: var(--indigo);
            letter-spacing: 0.01em;
            text-transform: none;
        }

        .badge-pulse {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--cyan);
            animation: pulse 2s ease-in-out infinite
        }

        @keyframes pulse {

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

            50% {
                opacity: 0.5;
                transform: scale(1.5)
            }
        }

        .hero-h1 {
            font-family: 'Sora', sans-serif;
            font-size: clamp(36px, 5.5vw, 68px);
            font-weight: 800;
            line-height: 1.06;
            letter-spacing: -0.04em;
            color: var(--ink);
            margin-bottom: 24px;
        }

        .hero-sub {
            font-size: clamp(15px, 1.4vw, 18px);
            color: var(--ink4);
            line-height: 1.75;
            margin-bottom: 40px;
            max-width: 480px;
            font-weight: 400
        }

        .hero-actions {
            display: flex;
            gap: 14px;
            flex-wrap: wrap
        }

        .btn-hero-primary {
            height: 50px;
            padding: 0 30px;
            background: var(--grad-brand);
            color: white;
            font-family: 'Sora', sans-serif;
            font-size: 15px;
            font-weight: 600;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.4);
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .btn-hero-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 32px rgba(var(--accent-rgb), 0.5)
        }

        .btn-hero-secondary {
            height: 50px;
            padding: 0 30px;
            background: white;
            color: var(--ink);
            font-family: 'Sora', sans-serif;
            font-size: 15px;
            font-weight: 600;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 1.5px solid rgba(var(--accent-rgb), 0.2);
            box-shadow: var(--shadow-sm);
            transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
        }

        .btn-hero-secondary:hover {
            border-color: var(--indigo);
            box-shadow: var(--shadow-md);
            transform: translateY(-1px)
        }

        .hero-trust {
            margin-top: 44px;
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap
        }

        .trust-label {
            font-size: 14px;
            color: var(--ink5);
            font-weight: 500
        }

        .trust-avatars {
            display: flex
        }

        .t-av {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 2px solid white;
            background: var(--grad-brand);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 600;
            color: white;
            margin-left: -8px
        }

        .t-av:first-child {
            margin-left: 0
        }

        .t-av:nth-child(2) {
            background: var(--grad-brand2)
        }

        .t-av:nth-child(3) {
            background: linear-gradient(135deg, #5A66CE, #3644B8)
        }

        .t-av:nth-child(4) {
            background: linear-gradient(135deg, #3F4CBE, #4A57C9)
        }

        /* Hero visual */
        .hero-right {
            position: relative;
            z-index: 10;
        }

        .hero-dashboard {
            background: var(--glass);
            backdrop-filter: blur(24px);
            border: 1px solid var(--glass-border);
            border-radius: var(--radius-xl);
            overflow: hidden;
            box-shadow: var(--shadow-xl);
            animation: floatCard 7s ease-in-out infinite;
        }

        @keyframes floatCard {

            0%,
            100% {
                transform: translateY(0) rotate(-0.5deg)
            }

            50% {
                transform: translateY(-14px) rotate(0.5deg)
            }
        }

        .db-header {
            background: rgba(255, 255, 255, 0.9);
            border-bottom: 1px solid rgba(var(--accent-rgb), 0.1);
            padding: 14px 20px;
            display: flex;
            align-items: center;
            gap: 10px
        }

        .db-dots {
            display: flex;
            gap: 6px
        }

        .db-dot {
            width: 11px;
            height: 11px;
            border-radius: 50%
        }

        .db-dot-r {
            background: #FF5F57
        }

        .db-dot-y {
            background: #FEBC2E
        }

        .db-dot-g {
            background: #28C840
        }

        .db-title {
            font-size: 12px;
            color: var(--ink4);
            margin-left: auto;
            font-family: 'JetBrains Mono', monospace
        }

        .db-body {
            padding: 24px
        }

        .db-metrics {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 12px;
            margin-bottom: 20px
        }

        .dbm {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(var(--accent-rgb), 0.1);
            border-radius: 12px;
            padding: 14px;
        }

        .dbm-label {
            font-size: 12px;
            text-transform: none;
            letter-spacing: 0.01em;
            color: var(--ink5);
            margin-bottom: 6px
        }

        .dbm-val {
            font-family: 'Sora', sans-serif;
            font-size: 22px;
            font-weight: 700;
            color: var(--ink);
            letter-spacing: -0.03em
        }

        .dbm-val.indigo {
            color: var(--indigo)
        }

        .dbm-val.violet {
            color: var(--violet)
        }

        .dbm-val.cyan {
            /* --cyan (accent-300) was 2.4:1 on the white tile */
            color: var(--accent-400)
        }

        .dbm-change {
            font-size: 12px;
            color: #0A7A5A;
            margin-top: 3px
        }

        .db-chart-area {
            background: rgba(255, 255, 255, 0.6);
            border: 1px solid rgba(var(--accent-rgb), 0.08);
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 16px
        }

        .chart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px
        }

        .chart-title {
            font-size: 12px;
            font-weight: 600;
            color: var(--ink)
        }

        .chart-badge {
            font-size: 12px;
            padding: 3px 10px;
            background: rgba(var(--accent-rgb), 0.1);
            color: var(--indigo);
            border-radius: 100px;
            font-weight: 600
        }

        .mini-bars {
            display: flex;
            align-items: flex-end;
            gap: 5px;
            height: 56px
        }

        .mb {
            flex: 1;
            border-radius: 3px 3px 0 0;
            background: rgba(var(--accent-rgb), 0.15);
            transition: background 0.2s
        }

        .mb.hi {
            background: var(--grad-brand)
        }

        .mb:hover {
            background: var(--grad-brand)
        }

        .db-activity {
            display: flex;
            flex-direction: column;
            gap: 8px
        }

        .db-act-row {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 12px;
            background: rgba(255, 255, 255, 0.7);
            border-radius: 8px;
            border: 1px solid rgba(var(--accent-rgb), 0.06)
        }

        .act-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            flex-shrink: 0
        }

        .act-text {
            font-size: 12px;
            color: var(--ink3);
            flex: 1
        }

        .act-time {
            font-size: 12px;
            color: var(--ink5);
            white-space: nowrap
        }

        .hero-float-1 {
            position: absolute;
            top: -24px;
            left: -12px;
            z-index: 20;
            background: white;
            border: 1px solid rgba(var(--accent-rgb), 0.15);
            border-radius: 14px;
            padding: 12px 16px;
            box-shadow: var(--shadow-md);
            display: flex;
            align-items: center;
            gap: 10px;
            animation: floatCard 5s ease-in-out infinite;
            animation-delay: -2s;
        }

        .hero-float-2 {
            position: absolute;
            bottom: -16px;
            right: -20px;
            background: white;
            border: 1px solid rgba(var(--accent-rgb), 0.15);
            border-radius: 14px;
            padding: 12px 16px;
            box-shadow: var(--shadow-md);
            display: flex;
            align-items: center;
            gap: 10px;
            animation: floatCard 6s ease-in-out infinite;
            animation-delay: -4s;
        }

        .float-icon {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0
        }

        .fi-green {
            background: #DCFCE7
        }

        .fi-blue {
            background: #DBEAFE
        }

        .fi-violet {
            background: #F2F4FC
        }

        .float-info {}

        .float-label {
            font-size: 12px;
            font-weight: 600;
            color: var(--ink)
        }

        .float-sub {
            font-size: 12px;
            color: var(--ink4);
            margin-top: 2px
        }

        .float-stat {
            font-size: 12px;
            font-weight: 700;
            color: #0A7A5A
        }

        /* Hero stats strip */
        .hero-strip {
            position: relative;
            z-index: 2;
            border-top: 1px solid rgba(var(--accent-rgb), 0.1);
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(20px);
            display: flex;
        }

        .hs-stat {
            flex: 1;
            padding: 32px 0 28px 48px;
            border-right: 1px solid rgba(var(--accent-rgb), 0.1);
        }

        .hs-stat:last-child {
            border-right: none
        }

        .hs-num {
            font-family: 'Sora', sans-serif;
            font-size: 40px;
            font-weight: 800;
            letter-spacing: -0.05em;
            color: var(--ink);
            line-height: 1;
        }

        .hs-num span {
            background: var(--grad-text);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text
        }

        .hs-label {
            font-size: 14px;
            color: var(--ink5);
            margin-top: 6px;
            font-weight: 400
        }

        /* ── COMMON SECTION STYLES ── */
        .section {
            padding: clamp(80px, 10vw, 120px) var(--padx)
        }

        .section.alt {
            background: var(--canvas)
        }

        .section.dark {
            background: var(--ink);
            color: white
        }

        .section.grad {
            background: linear-gradient(180deg, #F7F8FA 0%, #EEF0F5 100%)
        }

        .s-eyebrow {
            font-size: 14px;
            text-transform: none;
            letter-spacing: 0.01em;
            font-weight: 600;
            color: var(--indigo);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 10px
        }

        .s-eyebrow::before {
            content: '';
            display: inline-block;
            width: 20px;
            height: 2px;
            background: var(--grad-brand);
            border-radius: 1px
        }

        .s-h2 {
            font-family: 'Sora', sans-serif;
            font-size: clamp(32px, 4vw, 52px);
            font-weight: 800;
            letter-spacing: -0.04em;
            line-height: 1.08;
            margin-bottom: 16px
        }

        .s-sub {
            font-size: 17px;
            color: var(--ink4);
            line-height: 1.7;
            max-width: 540px;
            font-weight: 400
        }

        .sh-center {
            text-align: center
        }

        .sh-center .s-eyebrow {
            justify-content: center
        }

        .sh-center .s-sub {
            margin: 0 auto
        }

        .sh-center .s-eyebrow::before {
            display: none
        }

        .sh-center .s-eyebrow::after {
            content: '';
            display: inline-block;
            width: 20px;
            height: 2px;
            background: var(--grad-brand);
            border-radius: 1px
        }

        .btn-sm {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            height: 38px;
            padding: 0 18px;
            font-size: 15px;
            font-weight: 600;
            font-family: 'Sora', sans-serif;
            border-radius: 8px;
            transition: all 0.2s;
        }

        .btn-primary {
            background: var(--grad-brand);
            color: white;
            box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.3)
        }

        .btn-primary:hover {
            box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.45);
            transform: translateY(-1px)
        }

        .btn-ghost-indigo {
            background: transparent;
            color: var(--indigo);
            border: 1.5px solid rgba(var(--accent-rgb), 0.25)
        }

        .btn-ghost-indigo:hover {
            background: rgba(var(--accent-rgb), 0.06);
            border-color: var(--indigo)
        }

        .btn-ghost-white {
            background: transparent;
            color: white;
            border: 1.5px solid rgba(255, 255, 255, 0.3)
        }

        .btn-ghost-white:hover {
            background: rgba(255, 255, 255, 0.08)
        }

        /* ── SERVICES ── */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 60px
        }

        .svc-card {
            background: white;
            border: 1px solid rgba(var(--accent-rgb), 0.1);
            border-radius: var(--radius-lg);
            padding: 36px;
            transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
            position: relative;
            overflow: hidden;
            cursor: default;
        }

        .svc-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.04), rgba(var(--accent-rgb), 0.04));
            opacity: 0;
            transition: opacity 0.3s;
        }

        .svc-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(var(--accent-rgb), 0.25)
        }

        .svc-card:hover::before {
            opacity: 1
        }

        .svc-icon-wrap {
            width: 56px;
            height: 56px;
            border-radius: 15px;
            background: var(--mist);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            margin-bottom: 22px;
            transition: background 0.3s, transform 0.3s;
        }

        .svc-card:hover .svc-icon-wrap {
            background: var(--grad-brand);
            transform: scale(1.05)
        }

        .svc-h3 {
            font-family: 'Sora', sans-serif;
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 10px;
            letter-spacing: -0.02em;
            color: var(--ink)
        }

        .svc-p {
            font-size: 16px;
            color: var(--ink4);
            line-height: 1.7;
            margin-bottom: 20px
        }

        .svc-more {
            font-size: 15px;
            font-weight: 600;
            color: var(--indigo);
            display: inline-flex;
            align-items: center;
            gap: 5px;
            transition: gap 0.2s
        }

        .svc-more:hover {
            gap: 9px
        }

        /* ── PRODUCTS ── */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-top: 60px
        }

        .prod-card {
            background: white;
            border: 1px solid rgba(var(--accent-rgb), 0.1);
            border-radius: var(--radius-xl);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: default;
        }

        .prod-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl)
        }

        .prod-card-header {
            padding: 32px 32px 24px;
            background: var(--grad-hero);
            border-bottom: 1px solid rgba(var(--accent-rgb), 0.1);
            position: relative;
            overflow: hidden;
        }

        .prod-card-header::before {
            content: '';
            position: absolute;
            width: 160px;
            height: 160px;
            border-radius: 50%;
            background: rgba(var(--accent-rgb), 0.08);
            right: -40px;
            top: -40px;
        }

        .prod-icon {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            background: var(--grad-brand);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            margin-bottom: 16px;
            position: relative
        }

        .prod-name {
            font-family: 'Sora', sans-serif;
            font-size: 20px;
            font-weight: 700;
            letter-spacing: -0.03em;
            color: var(--ink)
        }

        .prod-tagline {
            font-size: 15px;
            color: var(--ink4);
            margin-top: 4px
        }

        .prod-body {
            padding: 28px 32px 32px
        }

        .prod-features {
            list-style: none;
            margin-bottom: 24px;
            display: flex;
            flex-direction: column;
            gap: 9px
        }

        .prod-features li {
            font-size: 15px;
            color: var(--ink3);
            display: flex;
            align-items: center;
            gap: 9px
        }

        .prod-check {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: rgba(var(--accent-rgb), 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0
        }

        .prod-check::after {
            content: '✓';
            font-size: 10px;
            color: var(--indigo);
            font-weight: 700
        }

        .prod-cta {
            display: flex;
            align-items: center;
            justify-content: space-between
        }

        .prod-price {
            font-size: 13px;
            color: var(--ink5);
            font-weight: 500
        }

        /* Spotlight product */
        .prod-spotlight {
            grid-column: span 2;
            display: grid;
            grid-template-columns: 1fr 1fr;
        }

        .prod-spotlight .prod-card-header {
            background: linear-gradient(135deg, #2E3AA0, #26307F, #5A66CE);
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .prod-spotlight .prod-name {
            color: white;
            font-size: 26px
        }

        .prod-spotlight .prod-tagline {
            color: rgba(255, 255, 255, 0.7)
        }

        .prod-spotlight .prod-icon {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px)
        }

        /* ── WHY US ── */
        .why-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
            margin-top: 60px
        }

        .why-left {
            padding: 60px;
            background: linear-gradient(135deg, #2E3AA0, #26307F);
            border-radius: var(--radius-xl) 0 0 var(--radius-xl);
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .why-left::before {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.06);
            bottom: -100px;
            right: -100px;
        }

        .why-h3 {
            font-family: 'Sora', sans-serif;
            font-size: clamp(28px, 3vw, 42px);
            font-weight: 800;
            color: white;
            letter-spacing: -0.04em;
            line-height: 1.1;
            margin-bottom: 20px
        }

        .why-p {
            font-size: 16px;
            color: rgba(255, 255, 255, 0.82);
            line-height: 1.75;
            margin-bottom: 36px
        }

        .why-numbers {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 28px;
            position: relative;
            z-index: 1
        }

        .why-num {
            color: white
        }

        .wn-val {
            font-family: 'Sora', sans-serif;
            font-size: 36px;
            font-weight: 800;
            letter-spacing: -0.05em;
            line-height: 1
        }

        .wn-label {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.8);
            margin-top: 4px
        }

        .why-right {
            padding: 52px 60px;
            background: white;
            border: 1px solid rgba(var(--accent-rgb), 0.1);
            border-left: none;
            border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
        }

        .why-feature {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            padding: 20px 0;
            border-bottom: 1px solid rgba(var(--accent-rgb), 0.08);
            transition: background 0.2s;
            cursor: default;
        }

        .why-feature:last-child {
            border-bottom: none
        }

        .wf-icon {
            width: 42px;
            height: 42px;
            border-radius: 11px;
            background: var(--mist);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            flex-shrink: 0;
            transition: background 0.2s, transform 0.2s;
        }

        .why-feature:hover .wf-icon {
            background: var(--grad-brand);
            transform: scale(1.05)
        }

        .wf-text {}

        .wf-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--ink);
            margin-bottom: 4px;
            font-family: 'Sora', sans-serif
        }

        .wf-desc {
            font-size: 16px;
            color: var(--ink4);
            line-height: 1.6
        }

        /* ── TECH STACK ── */
        .tech-categories {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 24px;
            margin-top: 60px
        }

        .tech-cat {
            background: white;
            border: 1px solid rgba(var(--accent-rgb), 0.1);
            border-radius: var(--radius-lg);
            padding: 28px;
        }

        .tech-cat-label {
            font-size: 13px;
            text-transform: none;
            letter-spacing: 0.01em;
            font-weight: 600;
            color: var(--indigo);
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(var(--accent-rgb), 0.1)
        }

        .tech-items {
            display: flex;
            flex-direction: column;
            gap: 10px
        }

        .tech-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 12px;
            border-radius: 8px;
            transition: background 0.2s;
            cursor: default;
        }

        .tech-item:hover {
            background: var(--mist)
        }

        .tech-emoji {
            font-size: 18px;
            width: 28px;
            text-align: center
        }

        .tech-name {
            font-size: 14px;
            font-weight: 500;
            color: var(--ink3)
        }

        /* ── INDUSTRIES ── */
        .industries-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 16px;
            margin-top: 60px
        }

        .industry-card {
            background: white;
            border: 1px solid rgba(var(--accent-rgb), 0.1);
            border-radius: var(--radius-lg);
            padding: 28px 20px;
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
            cursor: default;
        }

        .industry-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
            border-color: rgba(var(--accent-rgb), 0.25)
        }

        .ind-icon {
            font-size: 36px;
            margin-bottom: 12px;
            display: block
        }

        .ind-name {
            font-size: 14px;
            font-weight: 600;
            color: var(--ink);
            font-family: 'Sora', sans-serif
        }

        .ind-sub {
            font-size: 13px;
            color: var(--ink5);
            margin-top: 4px
        }

        /* ── PORTFOLIO ── */
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 28px;
            margin-top: 60px
        }

        .port-card {
            background: white;
            border: 1px solid rgba(var(--accent-rgb), 0.1);
            border-radius: var(--radius-xl);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: default;
        }

        .port-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg)
        }

        .port-img {
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 56px;
            position: relative;
            overflow: hidden;
        }

        .port-body {
            padding: 32px
        }

        .port-tag {
            font-size: 13px;
            text-transform: none;
            letter-spacing: 0.01em;
            font-weight: 600;
            color: var(--indigo);
            margin-bottom: 10px
        }

        .port-name {
            font-family: 'Sora', sans-serif;
            font-size: 22px;
            font-weight: 700;
            letter-spacing: -0.03em;
            color: var(--ink);
            margin-bottom: 12px
        }

        .port-desc {
            font-size: 16px;
            color: var(--ink4);
            line-height: 1.7;
            margin-bottom: 20px
        }

        .port-results {
            display: flex;
            gap: 24px
        }

        .pr {
            text-align: center
        }

        .pr-val {
            font-family: 'Sora', sans-serif;
            font-size: 22px;
            font-weight: 700;
            color: var(--indigo);
            letter-spacing: -0.03em
        }

        .pr-label {
            font-size: 13px;
            color: var(--ink5);
            margin-top: 2px
        }

        /* ── PROCESS ── */
        .process-timeline {
            position: relative;
            margin-top: 80px
        }

        .process-line {
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(180deg, var(--indigo), var(--violet), var(--cyan));
            transform: translateX(-50%);
            opacity: 0.3;
        }

        .process-steps {
            display: flex;
            flex-direction: column;
            gap: 60px;
            position: relative
        }

        .ps {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center
        }

        /* Alternating layout is handled by HTML order (ps-card first = left, ps-spacer first = right) */

        .ps-num {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--white);
            border: 3px solid var(--indigo);
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Sora', sans-serif;
            font-size: 14px;
            font-weight: 700;
            color: var(--indigo);
            z-index: 1;
        }

        .ps-card {
            background: white;
            border: 1px solid rgba(var(--accent-rgb), 0.12);
            border-radius: var(--radius-lg);
            padding: 32px;
            box-shadow: var(--shadow-sm);
        }

        .ps-phase {
            font-size: 13px;
            text-transform: none;
            letter-spacing: 0.01em;
            font-weight: 600;
            color: var(--violet);
            margin-bottom: 10px
        }

        .ps-name {
            font-family: 'Sora', sans-serif;
            font-size: 21px;
            font-weight: 700;
            letter-spacing: -0.03em;
            color: var(--ink);
            margin-bottom: 10px
        }

        .ps-desc {
            font-size: 16px;
            color: var(--ink4);
            line-height: 1.7
        }

        .ps-spacer {}

        /* ── TESTIMONIALS ── */
        .t-grid-main {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-top: 60px
        }

        .t-card-main {
            background: white;
            border: 1px solid rgba(var(--accent-rgb), 0.1);
            border-radius: var(--radius-xl);
            padding: 36px;
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: default;
        }

        .t-card-main:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg)
        }

        .t-stars {
            color: #9A6700;
            font-size: 14px;
            margin-bottom: 16px;
            letter-spacing: 2px
        }

        .t-body {
            font-size: 15px;
            color: var(--ink3);
            line-height: 1.75;
            margin-bottom: 28px;
            font-style: italic;
            font-weight: 400
        }

        .t-body::before {
            content: '\201C';
            font-size: 52px;
            color: var(--indigo);
            opacity: 0.2;
            line-height: 0;
            vertical-align: -18px;
            margin-right: 3px
        }

        .t-author {
            display: flex;
            align-items: center;
            gap: 12px
        }

        .t-av2 {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--grad-brand);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 600;
            color: white;
            flex-shrink: 0
        }

        .t-av2.v {
            background: var(--grad-brand2)
        }

        .t-av2.c {
            background: linear-gradient(135deg, #5A66CE, #2E3AA0)
        }

        .t-name {
            font-size: 14px;
            font-weight: 600;
            color: var(--ink);
            font-family: 'Sora', sans-serif
        }

        .t-co {
            font-size: 14px;
            color: var(--ink5);
            margin-top: 2px
        }

        /* ── BLOG ── */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-top: 60px
        }

        .blog-card {
            background: white;
            border: 1px solid rgba(var(--accent-rgb), 0.1);
            border-radius: var(--radius-xl);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
        }

        .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg)
        }

        .blog-img {
            height: 160px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 48px;
            background: var(--grad-hero)
        }

        .blog-body {
            padding: 24px
        }

        .blog-cat {
            font-size: 13px;
            text-transform: none;
            letter-spacing: 0.01em;
            font-weight: 600;
            color: var(--indigo);
            margin-bottom: 10px
        }

        .blog-title {
            font-family: 'Sora', sans-serif;
            font-size: 17px;
            font-weight: 700;
            letter-spacing: -0.02em;
            color: var(--ink);
            margin-bottom: 10px;
            line-height: 1.3
        }

        .blog-excerpt {
            font-size: 16px;
            color: var(--ink4);
            line-height: 1.65;
            margin-bottom: 16px
        }

        .blog-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 14px;
            color: var(--ink5)
        }

        .blog-read {
            color: var(--indigo);
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            transition: gap 0.2s
        }

        .blog-card:hover .blog-read {
            gap: 7px
        }

        /* ── CONTACT ── */
        .contact-wrap {
            display: grid;
            grid-template-columns: 1fr 1.3fr;
            gap: 80px;
            align-items: start;
            margin-top: 60px
        }

        .contact-left {}

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 24px;
            margin-top: 40px
        }

        .ci {
            display: flex;
            align-items: flex-start;
            gap: 14px
        }

        .ci-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: var(--mist);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            flex-shrink: 0
        }

        .ci-label {
            font-size: 14px;
            text-transform: none;
            letter-spacing: 0.01em;
            color: var(--ink4);
            font-weight: 600;
            margin-bottom: 3px
        }

        .ci-val {
            font-size: 16px;
            color: var(--ink3);
            font-weight: 500
        }

        .contact-form {
            background: white;
            border: 1px solid rgba(var(--accent-rgb), 0.12);
            border-radius: var(--radius-xl);
            padding: 48px;
            box-shadow: var(--shadow-lg);
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px
        }

        .form-field {
            display: flex;
            flex-direction: column;
            gap: 7px
        }

        .form-field.full {
            grid-column: span 2
        }

        .form-label {
            font-size: 14px;
            font-weight: 600;
            text-transform: none;
            letter-spacing: 0.01em;
            color: var(--ink3)
        }

        .form-input,
        .form-select,
        .form-textarea {
            width: 100%;
            font-family: 'Inter', sans-serif;
            font-size: 16px;
            border: 1.5px solid rgba(var(--accent-rgb), 0.15);
            background: var(--canvas);
            border-radius: 10px;
            padding: 13px 16px;
            color: var(--ink);
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s;
            font-weight: 400;
        }

        .form-input:focus,
        .form-select:focus,
        .form-textarea:focus {
            border-color: var(--indigo);
            box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.1);
            background: white;
        }

        .form-input::placeholder,
        .form-textarea::placeholder {
            color: var(--ink5)
        }

        .form-select {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 14px center
        }

        .form-textarea {
            resize: vertical;
            min-height: 120px
        }

        .form-submit {
            width: 100%;
            height: 52px;
            background: var(--grad-brand);
            color: white;
            font-family: 'Sora', sans-serif;
            font-size: 16px;
            font-weight: 700;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.4);
            transition: transform 0.2s, box-shadow 0.2s;
            margin-top: 8px;
            letter-spacing: -0.01em;
        }

        .form-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 32px rgba(var(--accent-rgb), 0.5)
        }

        /* ── FOOTER ── */
        footer {
            background: var(--ink2);
            color: rgba(255, 255, 255, 0.7);
            padding: 80px var(--padx) 40px
        }

        .footer-inner {
            max-width: var(--max);
            margin: 0 auto
        }

        .footer-top {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
            gap: 48px;
            margin-bottom: 60px
        }

        .footer-brand {}

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: 'Sora', sans-serif;
            font-size: 18px;
            font-weight: 700;
            color: white;
            margin-bottom: 16px
        }

        .footer-desc {
            font-size: 15px;
            line-height: 1.75;
            max-width: 260px;
            margin-bottom: 28px
        }

        .footer-socials {
            display: flex;
            gap: 10px
        }

        .social {
            width: 36px;
            height: 36px;
            border-radius: 9px;
            background: rgba(255, 255, 255, 0.07);
            border: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            transition: background 0.2s, border-color 0.2s;
            cursor: pointer;
        }

        .social:hover {
            background: var(--indigo);
            border-color: var(--indigo)
        }

        .footer-col h5 {
            font-size: 14px;
            text-transform: none;
            letter-spacing: 0.01em;
            font-weight: 600;
            color: white;
            margin-bottom: 20px
        }

        .footer-col a {
            display: block;
            font-size: 15px;
            color: rgba(255, 255, 255, 0.72);
            margin-bottom: 10px;
            transition: color 0.2s
        }

        .footer-col a:hover {
            color: white
        }

        .footer-newsletter {
            margin-top: 20px
        }

        .nl-label {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.78);
            margin-bottom: 10px;
            text-transform: none;
            letter-spacing: 0.01em
        }

        .nl-form {
            display: flex;
            gap: 0
        }

        .nl-input {
            flex: 1;
            min-width: 0;
            font-family: 'Inter', sans-serif;
            font-size: 16px;
            background: rgba(255, 255, 255, 0.07);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-right: none;
            border-radius: 8px 0 0 8px;
            padding: 10px 14px;
            color: white;
            outline: none;
            transition: border-color 0.2s;
        }

        .nl-input::placeholder {
            color: rgba(255, 255, 255, 0.55)
        }

        .nl-input:focus {
            border-color: var(--indigo)
        }

        .nl-btn {
            background: var(--grad-brand);
            color: white;
            border: none;
            padding: 10px 16px;
            border-radius: 0 8px 8px 0;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            transition: opacity 0.2s;
        }

        .nl-btn:hover {
            opacity: 0.85
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.07);
            padding-top: 32px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
        }

        .footer-copy {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7)
        }

        .footer-legal {
            display: flex;
            gap: 24px
        }

        .footer-legal a {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
            transition: color 0.2s
        }

        .footer-legal a:hover {
            color: #FFFFFF
        }

        /* ── ANIMATIONS ── */
        .fade-up {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1)
        }

        .fade-up.in {
            opacity: 1;
            transform: translateY(0)
        }

        .d1 {
            transition-delay: 0.08s
        }

        .d2 {
            transition-delay: 0.16s
        }

        .d3 {
            transition-delay: 0.24s
        }

        .d4 {
            transition-delay: 0.32s
        }

        .d5 {
            transition-delay: 0.40s
        }

        /* Code typing cursor */
        @keyframes blink {

            0%,
            100% {
                opacity: 1
            }

            50% {
                opacity: 0
            }
        }

        .cur {
            display: inline-block;
            width: 2px;
            height: 12px;
            background: var(--cyan);
            vertical-align: middle;
            animation: blink 1s step-end infinite;
            margin-left: 1px
        }

        /* Count up animation */
        .count {
            display: inline
        }

        /* Glassmorphic testimonial feature card */
        .t-feature {
            background: linear-gradient(135deg, #2E3AA0, #26307F, #5A66CE);
            border-radius: var(--radius-xl);
            padding: 60px;
            color: white;
            margin-top: 28px;
            position: relative;
            overflow: hidden;
        }

        .t-feature::before {
            content: '';
            position: absolute;
            width: 500px;
            height: 500px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            right: -150px;
            bottom: -150px;
        }

        .tf-quote {
            font-family: 'Sora', sans-serif;
            font-size: clamp(18px, 2vw, 26px);
            font-weight: 600;
            line-height: 1.5;
            margin-bottom: 40px;
            position: relative;
            z-index: 1;
            letter-spacing: -0.02em
        }

        .tf-author {
            display: flex;
            align-items: center;
            gap: 16px;
            position: relative;
            z-index: 1
        }

        .tf-av {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            border: 2px solid rgba(255, 255, 255, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: 600
        }

        .tf-name {
            font-size: 16px;
            font-weight: 600;
            color: white
        }

        .tf-role {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.8);
            margin-top: 3px
        }

        .tf-rating {
            color: #E3B84A;
            font-size: 14px;
            letter-spacing: 2px;
            margin-bottom: 4px
        }

        /* Responsive */
        @media(max-width:1100px) {

            .hero-inner,
            .contact-wrap {
                grid-template-columns: 1fr
            }

            .hero-right {
                display: none
            }

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

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

            .why-grid {
                grid-template-columns: 1fr
            }

            .why-left,
            .why-right {
                border-radius: var(--radius-xl)
            }

            .why-right {
                border: 1px solid rgba(var(--accent-rgb), 0.1)
            }
        }

        @media(max-width:900px) {

            .services-grid,
            .products-grid,
            .t-grid-main,
            .blog-grid {
                grid-template-columns: 1fr 1fr
            }

            .prod-spotlight {
                grid-column: span 1;
                grid-template-columns: 1fr
            }

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

            .portfolio-grid {
                grid-template-columns: 1fr
            }

            .process-line {
                display: none
            }

            .ps {
                grid-template-columns: 1fr;
                direction: ltr !important
            }

            .ps-num {
                display: none
            }
        }

        @media(max-width:640px) {

            .services-grid,
            .products-grid,
            .t-grid-main,
            .blog-grid,
            .tech-categories,
            .industries-grid {
                grid-template-columns: 1fr
            }

            nav .nav-links {
                display: none
            }

            .form-grid {
                grid-template-columns: 1fr
            }

            .form-field.full {
                grid-column: span 1
            }

            .hs-stat {
                padding: 24px 0 20px 24px
            }

            .hs-num {
                font-size: 28px
            }

            .footer-top {
                grid-template-columns: 1fr
            }
        }

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

            .hero-dashboard,
            .hero-float-1,
            .hero-float-2,
            .hg1,
            .hg2,
            .hg3 {
                animation: none
            }

            .fade-up {
                opacity: 1;
                transform: none;
                transition: none
            }
        }

        /* ══════════════════════════════════════
           PREMIUM UPGRADES
        ══════════════════════════════════════ */

        /* ── Fix: #home section (was mistakenly #hero in CSS) ── */
        #home {
            min-height: 100svh;
            padding-top: 68px;
            background: var(--grad-hero);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        /* ── Enhanced CSS tokens ── */
        :root {
            --shadow-glow: 0 0 0 1px rgba(var(--accent-rgb),0.12), 0 8px 32px rgba(var(--accent-rgb),0.14), 0 2px 8px rgba(0,0,0,0.06);
            --shadow-glow-hover: 0 0 0 1px rgba(var(--accent-rgb),0.22), 0 20px 60px rgba(var(--accent-rgb),0.22), 0 8px 24px rgba(0,0,0,0.1);
            --border-subtle: 1px solid rgba(var(--accent-rgb),0.11);
            --border-active: 1px solid rgba(var(--accent-rgb),0.28);
        }

        /* ── Scroll progress bar ── */
        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            width: 0%;
            background: linear-gradient(90deg, var(--indigo), var(--violet), var(--cyan));
            z-index: 2000;
            transition: width 0.1s linear;
            box-shadow: 0 0 12px rgba(var(--accent-rgb),0.6);
        }

        /* ── Toast notification ── */
        .toast {
            position: fixed;
            bottom: 32px;
            left: 50%;
            transform: translateX(-50%) translateY(80px);
            background: var(--ink2);
            color: white;
            padding: 14px 28px;
            border-radius: 100px;
            font-size: 14px;
            font-weight: 500;
            border: 1px solid rgba(255,255,255,0.12);
            box-shadow: 0 16px 48px rgba(0,0,0,0.3);
            z-index: 3000;
            opacity: 0;
            transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
            white-space: nowrap;
        }
        .toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        /* ── Mobile hamburger button ── */
        .menu-btn {
            display: none;
            background: transparent;
            border: 1px solid rgba(var(--accent-rgb),0.18);
            border-radius: 9px;
            color: var(--ink);
            cursor: pointer;
            width: 38px;
            height: 38px;
            align-items: center;
            justify-content: center;
            margin-left: 10px;
            transition: background 0.2s, border-color 0.2s;
        }
        .menu-btn:hover {
            background: var(--mist);
            border-color: var(--indigo);
        }

        /* ── Mobile menu drawer ── */
        .mobile-menu {
            display: none;
            position: fixed;
            top: 68px;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--white);
            z-index: 998;
            padding: 40px var(--padx);
            flex-direction: column;
            gap: 0;
            border-top: 1px solid rgba(var(--accent-rgb),0.1);
            transform: translateY(-16px);
            opacity: 0;
            transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16,1,0.3,1);
            pointer-events: none;
        }
        .mobile-menu.open {
            opacity: 1;
            transform: translateY(0);
            pointer-events: all;
        }
        .mobile-menu-nav {
            display: flex;
            flex-direction: column;
        }
        .mobile-menu-nav a {
            font-family: 'Sora', sans-serif;
            font-size: 22px;
            font-weight: 700;
            letter-spacing: -0.03em;
            color: var(--ink);
            padding: 18px 0;
            border-bottom: 1px solid rgba(var(--accent-rgb),0.08);
            transition: color 0.2s, padding-left 0.2s;
        }
        .mobile-menu-nav a:hover {
            color: var(--indigo);
            padding-left: 8px;
        }
        .mobile-cta {
            margin-top: 32px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 54px;
            background: var(--grad-brand);
            color: white;
            font-family: 'Sora', sans-serif;
            font-size: 16px;
            font-weight: 700;
            border-radius: 14px;
            box-shadow: 0 6px 24px rgba(var(--accent-rgb),0.4);
            letter-spacing: -0.01em;
        }

        /* ── Enhanced nav dark mode ── */
        [data-theme="dark"] #nav {
            background: rgba(10,10,20,0.88);
            border-bottom-color: rgba(var(--accent-rgb),0.15);
        }
        [data-theme="dark"] #nav.scrolled {
            background: rgba(10,10,20,0.97);
        }

        /* ── Fix hero dashboard in dark mode ── */
        [data-theme="dark"] .db-header {
            background: rgba(30,30,50,0.95);
            border-bottom-color: rgba(var(--accent-rgb),0.15);
        }
        [data-theme="dark"] .db-title { color: rgba(255,255,255,0.72); }
        [data-theme="dark"] .dbm {
            background: rgba(255,255,255,0.05);
            border-color: rgba(var(--accent-rgb),0.15);
        }
        [data-theme="dark"] .db-chart-area {
            background: rgba(255,255,255,0.04);
            border-color: rgba(var(--accent-rgb),0.1);
        }
        [data-theme="dark"] .db-act-row {
            background: rgba(255,255,255,0.04);
            border-color: rgba(var(--accent-rgb),0.08);
        }
        [data-theme="dark"] .hero-float-1,
        [data-theme="dark"] .hero-float-2 {
            background: rgba(20,20,36,0.95);
            border-color: rgba(var(--accent-rgb),0.2);
        }

        /* ── Enhanced service card: gradient border on hover ── */
        .svc-card {
            background: var(--white);
        }
        [data-theme="dark"] .svc-card {
            background: var(--mist);
            border-color: rgba(var(--accent-rgb),0.14);
        }
        [data-theme="dark"] .svc-card:hover {
            border-color: rgba(var(--accent-rgb),0.35);
            box-shadow: var(--shadow-glow-hover);
        }

        /* ── Enhanced product card dark mode ── */
        [data-theme="dark"] .prod-card {
            background: var(--mist);
            border-color: rgba(var(--accent-rgb),0.14);
        }
        [data-theme="dark"] .prod-card-header {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            border-bottom-color: rgba(var(--accent-rgb),0.15);
        }

        /* ── Enhanced section .alt dark mode ── */
        [data-theme="dark"] .section.alt {
            background: var(--mist);
        }
        [data-theme="dark"] .section.grad {
            background: linear-gradient(180deg, var(--canvas) 0%, var(--mist) 100%);
        }

        /* ── Enhanced why-right dark mode ── */
        [data-theme="dark"] .why-right {
            background: var(--mist);
            border-color: rgba(var(--accent-rgb),0.14);
        }

        /* ── Enhanced tech-cat dark mode ── */
        [data-theme="dark"] .tech-cat {
            background: var(--mist);
            border-color: rgba(var(--accent-rgb),0.14);
        }

        /* ── Enhanced industry-card dark mode ── */
        [data-theme="dark"] .industry-card {
            background: var(--mist);
            border-color: rgba(var(--accent-rgb),0.14);
        }

        /* ── Enhanced port/blog/t-card dark mode ── */
        [data-theme="dark"] .port-card,
        [data-theme="dark"] .blog-card,
        [data-theme="dark"] .t-card-main,
        [data-theme="dark"] .ps-card {
            background: var(--mist);
            border-color: rgba(var(--accent-rgb),0.14);
        }

        /* ── Enhanced contact form dark mode ── */
        [data-theme="dark"] .contact-form {
            background: var(--mist);
            border-color: rgba(var(--accent-rgb),0.18);
        }
        [data-theme="dark"] .form-input,
        [data-theme="dark"] .form-select,
        [data-theme="dark"] .form-textarea {
            background: var(--canvas);
            color: var(--ink);
            border-color: rgba(var(--accent-rgb),0.2);
        }
        [data-theme="dark"] .form-input::placeholder,
        [data-theme="dark"] .form-textarea::placeholder {
            color: var(--ink5);
        }

        /* ── Refined card hover shadow ── */
        .svc-card:hover,
        .prod-card:hover,
        .port-card:hover,
        .blog-card:hover,
        .t-card-main:hover,
        .industry-card:hover {
            box-shadow: var(--shadow-glow-hover);
        }

        /* ── Eyebrow lines: more refined ── */
        .s-eyebrow {
            font-size: 14px;
            letter-spacing: 0.01em;
        }

        /* ── Section headings: tighter ── */
        .s-h2 {
            font-size: clamp(30px, 3.8vw, 50px);
            letter-spacing: -0.045em;
        }

        /* ── Hero h1: crisper ── */
        .hero-h1 {
            font-size: clamp(38px, 5.8vw, 72px);
            letter-spacing: -0.045em;
        }

        /* ── Refined footer dark background ── */
        footer {
            background: #080810;
            border-top: 1px solid rgba(var(--accent-rgb),0.12);
        }
        [data-theme="dark"] footer {
            background: #04040a;
        }

        /* ── Noise grain texture on hero ── */
        #home::after {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 1;
            opacity: 0.025;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
            background-size: 180px 180px;
        }

        /* ── Responsive: show hamburger on mobile & tablet ── */
        @media(max-width:950px) {
            .menu-btn { display: flex; }
            .mobile-menu { display: flex; }
            nav .nav-cta { display: none; }
            nav .nav-links { display: none; }
            nav { top: 0 !important; width: 100% !important; max-width: none !important; border-radius: 0 !important; border: none !important; }
        }
        @media(min-width:951px) {
            .menu-btn { display: none !important; }
            .mobile-menu { display: none !important; }
        }

        /* ══════════════════════════════════════
           ACTIVE NAV + FORM VALIDATION + CARD ART
        ══════════════════════════════════════ */

        /* ── Active nav link ── */
        .nav-links a.active {
            color: var(--indigo);
            font-weight: 600;
            background: rgba(var(--accent-rgb), 0.08);
        }
        .nav-links a.active::after {
            display: none;
        }

        /* ── Fix Dark Mode Hero Button ── */
        [data-theme="dark"] .btn-hero-secondary {
            background: rgba(255, 255, 255, 0.05);
            color: white;
            border-color: rgba(255, 255, 255, 0.15);
        }
        [data-theme="dark"] .btn-hero-secondary:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        /* ── Form: required star ── */
        .req {
            color: var(--indigo);
            font-size: 14px;
            margin-left: 2px;
        }

        /* ── Form: field error state ── */
        .form-input.field-error,
        .form-select.field-error,
        .form-textarea.field-error {
            border-color: #D14343;
            box-shadow: 0 0 0 3px rgba(209, 67, 67, 0.12);
            background: rgba(209, 67, 67,0.03);
        }

        /* ── Portfolio card image panels ── */
        .port-img {
            position: relative;
            overflow: hidden;
        }

        .port-img--fintech {
            background: linear-gradient(135deg, #F2F4FC 0%, #E2E6F7 100%);
        }
        .port-img--realestate {
            background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
        }
        .port-img--healthcare {
            background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
        }
        .port-img--saas {
            background: linear-gradient(135deg, #F2F4FC 0%, #DDD6FE 100%);
        }

        [data-theme="dark"] .port-img--fintech { background: linear-gradient(135deg, #1e1e3f 0%, #2a2a5a 100%); }
        [data-theme="dark"] .port-img--realestate { background: linear-gradient(135deg, #0d2818 0%, #14391f 100%); }
        [data-theme="dark"] .port-img--healthcare { background: linear-gradient(135deg, #2a1500 0%, #3d1f00 100%); }
        [data-theme="dark"] .port-img--saas { background: linear-gradient(135deg, #1e103a 0%, #2d1a52 100%); }

        .pi-art {
            display: flex;
            align-items: flex-end;
            justify-content: center;
            gap: 8px;
            height: 100px;
            padding: 20px 40px 0;
        }

        .pi-bar {
            flex: 1;
            max-width: 22px;
            border-radius: 4px 4px 0 0;
            background: rgba(var(--accent-rgb),0.18);
            transition: background 0.2s;
        }
        .pi-bar.hi { background: var(--grad-brand); }

        .pi-badge {
            position: absolute;
            bottom: 14px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(var(--accent-rgb),0.12);
            border: 1px solid rgba(var(--accent-rgb),0.2);
            color: var(--indigo);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.01em;
            text-transform: none;
            padding: 4px 14px;
            border-radius: 100px;
            white-space: nowrap;
        }

        /* SaaS donut chart art */
        .pi-donut {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: conic-gradient(
                var(--indigo) 0% 42%,
                var(--violet) 42% 68%,
                var(--cyan) 68% 85%,
                rgba(var(--accent-rgb),0.15) 85% 100%
            );
            mask: radial-gradient(circle at center, transparent 32px, black 33px);
            -webkit-mask: radial-gradient(circle at center, transparent 32px, black 33px);
        }
        .pi-lines {
            display: flex;
            flex-direction: column;
            gap: 6px;
            margin-left: 16px;
            justify-content: center;
        }
        .pi-lines div {
            height: 6px;
            border-radius: 3px;
            background: rgba(var(--accent-rgb),0.2);
        }
        .pi-lines div:nth-child(1) { width: 60px; background: rgba(var(--accent-rgb),0.5); }
        .pi-lines div:nth-child(2) { width: 44px; background: rgba(var(--accent-rgb),0.5); }
        .pi-lines div:nth-child(3) { width: 52px; background: rgba(var(--accent-rgb),0.5); }
        .pi-lines div:nth-child(4) { width: 36px; background: rgba(var(--accent-rgb),0.25); }

        /* ── Blog card image panels ── */
        .blog-img {
            position: relative;
            overflow: hidden;
        }

        .blog-img--ai {
            background: linear-gradient(135deg, #F2F4FC 0%, #E2E6F7 100%);
        }
        .blog-img--saas {
            background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
        }
        .blog-img--backend {
            background: linear-gradient(135deg, #F0FDF4 0%, #F2F4FC 100%);
        }

        [data-theme="dark"] .blog-img--ai { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
        [data-theme="dark"] .blog-img--saas { background: linear-gradient(135deg, #0d2818 0%, #14391f 100%); }
        [data-theme="dark"] .blog-img--backend { background: linear-gradient(135deg, #0d2818 0%, #1e1e3f 100%); }

        .bi-art {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0;
            position: relative;
        }

        /* AI neural nodes */
        .bi-node {
            position: absolute;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--grad-brand);
            top: 40%;
            left: 20%;
        }
        .bi-node.n2 { left: 50%; top: 28%; background: var(--grad-brand2); width: 18px; height: 18px; }
        .bi-node.n3 { left: 78%; top: 52%; background: linear-gradient(135deg, var(--cyan), var(--indigo)); }
        .bi-lines {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
        }

        /* SaaS bar chart for blog */
        .bi-bar {
            width: 18px;
            border-radius: 3px 3px 0 0;
            background: rgba(15, 157, 116,0.2);
            align-self: flex-end;
            margin: 0 3px;
        }
        .bi-bar.hi { background: linear-gradient(180deg, #0F9D74, #0A7A5A); }

        .bi-label {
            position: absolute;
            bottom: 14px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 12px;
            font-weight: 700;
            text-transform: none;
            letter-spacing: 0.01em;
            color: var(--indigo);
            background: rgba(var(--accent-rgb),0.08);
            border: 1px solid rgba(var(--accent-rgb),0.15);
            padding: 3px 12px;
            border-radius: 100px;
            white-space: nowrap;
        }
        [data-theme="dark"] .bi-label { color: rgba(160,160,255,0.9); }

        /* ══════════════════════════════════════════════
           FLOATING CONTACT BUTTONS — Premium Redesign
        ══════════════════════════════════════════════ */
        .floating-contacts {
            position: fixed;
            bottom: 36px;
            right: 32px;
            z-index: 900;
            display: flex;
            flex-direction: column;
            gap: 16px;
            align-items: flex-end;
            transition: opacity 0.4s ease, transform 0.4s ease;
        }

        .floating-contacts.hide-float {
            opacity: 0;
            pointer-events: none;
            transform: translateY(16px);
        }

        /* Base pill button */
        .float-btn {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 0;
            width: 56px;
            height: 56px;
            border-radius: 28px;
            text-decoration: none;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 14px;
            letter-spacing: 0.01em;
            cursor: pointer;
            overflow: hidden;
            transition:
                width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-radius 0.35s ease,
                transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
            white-space: nowrap;
        }

        /* Hover — expand to pill with label */
        .float-btn:hover {
            width: 150px;
            border-radius: 28px;
            transform: translateY(-4px);
        }

        /* Icon container — always visible, fixed size */
        .float-icon-wrap {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 56px;
            height: 56px;
            flex-shrink: 0;
        }

        /* Label — slides in on hover */
        .float-label {
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.02em;
            opacity: 0;
            max-width: 0;
            overflow: hidden;
            padding-right: 0;
            transition:
                opacity 0.2s ease 0.1s,
                max-width 0.3s ease,
                padding-right 0.3s ease;
            pointer-events: none;
        }

        .float-btn:hover .float-label {
            opacity: 1;
            max-width: 90px;
            padding-right: 20px;
        }

        /* ── Call Button (Indigo brand gradient) ── */
        .float-call {
            background: linear-gradient(135deg, #3644B8 0%, #4A57C9 100%);
            box-shadow:
                0 6px 20px rgba(var(--accent-rgb), 0.45),
                0 2px 6px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255,255,255,0.2);
        }

        .float-call:hover {
            box-shadow:
                0 12px 32px rgba(var(--accent-rgb), 0.55),
                0 4px 12px rgba(0, 0, 0, 0.18),
                inset 0 1px 0 rgba(255,255,255,0.25);
        }

        /* ── WhatsApp Button (WhatsApp green) ── */
        .float-whatsapp {
            background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
            box-shadow:
                0 6px 20px rgba(37, 211, 102, 0.40),
                0 2px 6px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255,255,255,0.2);
        }

        .float-whatsapp:hover {
            box-shadow:
                0 12px 32px rgba(37, 211, 102, 0.50),
                0 4px 12px rgba(0, 0, 0, 0.18),
                inset 0 1px 0 rgba(255,255,255,0.25);
        }

        /* ── Pulsing ring (attention grabber) ── */
        .float-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 56px;
            height: 56px;
            margin: -28px 0 0 -28px;
            border-radius: 50%;
            opacity: 0;
            pointer-events: none;
        }

        .float-call::before {
            background: rgba(var(--accent-rgb), 0.35);
            animation: float-ripple 2.8s ease-out infinite 0.6s;
        }

        .float-whatsapp::before {
            background: rgba(37, 211, 102, 0.35);
            animation: float-ripple 2.4s ease-out infinite;
        }

        @keyframes float-ripple {
            0%   { transform: scale(1);   opacity: 0.7; }
            60%  { transform: scale(2);   opacity: 0; }
            100% { transform: scale(2);   opacity: 0; }
        }

        /* ── SVG icon ── */
        .float-btn svg {
            flex-shrink: 0;
            filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
        }

        /* ── Mobile: pure circle, no label ── */
        @media (max-width: 640px) {
            .floating-contacts {
                bottom: 24px;
                right: 20px;
                gap: 14px;
            }
            .float-btn,
            .float-btn:hover {
                width: 52px;
                height: 52px;
                border-radius: 50% !important;
            }
            .float-icon-wrap {
                width: 52px;
                height: 52px;
            }
            .float-label {
                display: none !important;
            }
        }

        /* ══════════════════════════════════════════════════════════════
           PREMIUM REFINEMENT LAYER
           Restraint over decoration: one accent hue, neutral elevation,
           tighter geometry, quieter motion.
           ══════════════════════════════════════════════════════════════ */

        /* ── Typography ────────────────────────────────────────────── */
        body {
            letter-spacing: -0.011em;
            font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01";
            text-rendering: optimizeLegibility;
            -moz-osx-font-smoothing: grayscale;
        }

        .sora {
            font-optical-sizing: auto;
        }

        /* Display weight drops 800 → 700: authority reads as restraint, not shout */
        .hero-h1 {
            font-weight: 700;
            letter-spacing: -0.038em;
            line-height: 1.05;
        }

        .s-h2 {
            font-weight: 700;
            letter-spacing: -0.032em;
            line-height: 1.1;
        }

        .svc-h3,
        .why-h3,
        .prod-name,
        .port-name,
        .blog-title,
        .ps-name,
        .tf-name {
            letter-spacing: -0.022em;
            font-weight: 600;
        }

        /* .why-p is left out: it sits on the deep accent panel and keeps its
           white-alpha colour (ink4 there read 1.5:1). */
        .hero-sub,
        .s-sub,
        .svc-p,
        .prod-tagline,
        .port-desc,
        .blog-excerpt,
        .ps-desc,
        .wf-desc {
            color: var(--ink4);
            line-height: 1.7;
            letter-spacing: -0.006em;
        }

        .s-sub {
            font-size: 16.5px;
            max-width: 60ch;
        }

        /* Micro-labels: wide tracking, quiet colour */
        .s-eyebrow,
        .tech-cat-label,
        .blog-cat,
        .port-tag,
        .footer-col > h4,
        .nl-label,
        .form-label {
            letter-spacing: 0.01em;
            font-weight: 600;
            text-transform: none;
        }

        .s-eyebrow {
            font-size: 14px;
            color: var(--accent-600);
        }

        .s-eyebrow::before,
        .sh-center .s-eyebrow::after {
            width: 24px;
            height: 1px;
            background: var(--accent-300);
            border-radius: 0;
        }

        /* Figures align in columns — a small thing that reads as care */
        .count,
        .hs-num,
        .wn-val,
        .dbm-val,
        .pr-val,
        .ci-val,
        .why-num,
        .ps-num,
        .prod-price {
            font-variant-numeric: tabular-nums;
            letter-spacing: -0.03em;
        }

        /* ── Surfaces ──────────────────────────────────────────────── */
        .svc-card,
        .prod-card,
        .port-card,
        .blog-card,
        .t-card-main,
        .industry-card,
        .tech-cat,
        .ps-card,
        .why-right,
        .contact-form {
            border: 1px solid var(--line);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
                        border-color 0.35s var(--ease);
        }

        /* Hover lifts less and darkens the edge instead of glowing */
        .svc-card:hover,
        .prod-card:hover,
        .port-card:hover,
        .blog-card:hover,
        .t-card-main:hover,
        .industry-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
            border-color: var(--line-strong);
        }

        .svc-card::before,
        .prod-card::before {
            background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.03), transparent 60%);
        }

        .section.grad {
            background: linear-gradient(180deg, var(--canvas) 0%, var(--mist) 100%);
        }

        [data-theme="dark"] .svc-card,
        [data-theme="dark"] .prod-card,
        [data-theme="dark"] .port-card,
        [data-theme="dark"] .blog-card,
        [data-theme="dark"] .t-card-main,
        [data-theme="dark"] .industry-card,
        [data-theme="dark"] .tech-cat,
        [data-theme="dark"] .ps-card,
        [data-theme="dark"] .why-right,
        [data-theme="dark"] .contact-form {
            background: var(--mist);
            border-color: var(--line);
        }

        /* ── Navigation ────────────────────────────────────────────── */
        #nav {
            height: 66px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.78);
            backdrop-filter: blur(20px) saturate(140%);
            -webkit-backdrop-filter: blur(20px) saturate(140%);
            border: 1px solid var(--line);
            box-shadow: 0 1px 2px rgba(11, 14, 20, 0.03);
        }

        #nav.scrolled {
            background: rgba(255, 255, 255, 0.92);
            border-color: var(--line);
            box-shadow: var(--shadow-md);
        }

        [data-theme="dark"] #nav,
        [data-theme="dark"] #nav.scrolled {
            background: rgba(13, 16, 22, 0.82);
            border-color: var(--line);
        }

        .nav-logo {
            letter-spacing: -0.04em;
        }

        .logo-icon {
            border-radius: 8px;
            box-shadow: 0 1px 2px rgba(11, 14, 20, 0.12);
        }

        /* ── Buttons ───────────────────────────────────────────────── */
        .btn-hero-primary,
        .btn-primary,
        .form-submit,
        .nav-cta {
            background: var(--accent);
            border: 1px solid var(--accent-600);
            box-shadow: var(--shadow-sm);
            letter-spacing: -0.012em;
            transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease),
                        transform 0.2s var(--ease);
        }

        .btn-hero-primary:hover,
        .btn-primary:hover,
        .form-submit:hover,
        .nav-cta:hover {
            background: var(--accent-600);
            box-shadow: var(--shadow-md);
            transform: translateY(-1px);
        }

        .btn-hero-primary:active,
        .btn-primary:active,
        .form-submit:active,
        .nav-cta:active {
            transform: translateY(0);
            box-shadow: var(--shadow-sm);
        }

        .btn-hero-primary,
        .btn-hero-secondary {
            height: 48px;
            border-radius: var(--radius);
            font-weight: 600;
        }

        .btn-hero-secondary {
            background: var(--white);
            border: 1px solid var(--line-strong);
            color: var(--ink);
        }

        .btn-hero-secondary:hover {
            border-color: var(--ink5);
            background: var(--white);
            box-shadow: var(--shadow-sm);
            transform: translateY(-1px);
        }

        .btn-sm {
            border-radius: var(--radius-sm);
            letter-spacing: -0.01em;
        }

        .btn-ghost-indigo {
            border: 1px solid var(--line-strong);
            color: var(--accent-600);
        }

        .btn-ghost-indigo:hover {
            background: var(--accent-050);
            border-color: var(--accent-200);
        }

        /* ── Forms ─────────────────────────────────────────────────── */
        .form-label {
            font-size: 14px;
            color: var(--ink3);
        }

        .form-input,
        .form-select,
        .form-textarea {
            border: 1px solid var(--line-strong);
            border-radius: var(--radius);
            background: var(--white);
            color: var(--ink);
            transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
        }

        .form-input:focus,
        .form-select:focus,
        .form-textarea:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12);
        }

        .form-input::placeholder,
        .form-textarea::placeholder {
            color: var(--ink5);
        }

        /* ── Focus visibility ──────────────────────────────────────── */
        a:focus-visible,
        button:focus-visible,
        [tabindex]:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 3px;
            border-radius: 4px;
        }

        /* ── Rhythm ────────────────────────────────────────────────── */
        .section {
            padding: clamp(88px, 10vw, 136px) var(--padx);
        }

        section[id] {
            scroll-margin-top: 96px;
        }

        .services-grid,
        .products-grid,
        .portfolio-grid,
        .blog-grid,
        .industries-grid {
            gap: 24px;
            margin-top: 64px;
        }

        /* ── Footer ────────────────────────────────────────────────── */
        footer {
            background: var(--ink);
            border-top: 1px solid rgba(255, 255, 255, 0.07);
        }

        [data-theme="dark"] footer {
            background: #07090D;
        }

        .footer-desc,
        .footer-copy {
            color: rgba(255, 255, 255, 0.72);
            line-height: 1.7;
        }

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

        /* ── Brand mark ────────────────────────────────────────────── */
        /* The logo is the mark itself — no gradient tile behind it */
        .logo-icon {
            width: 36px;
            height: 36px;
            background: none;
            border-radius: 0;
            box-shadow: none;
            padding: 0;
        }

        .logo-icon svg,
        .logo-mark {
            width: 100%;
            height: 100%;
            display: block;
        }

        .nav-logo {
            gap: 11px;
            font-size: 18.5px;
        }

        .footer-logo .logo-icon {
            width: 32px;
            height: 32px;
        }

        /* Long CMS-authored headlines wrap to 3+ lines — 1.05 collided */
        .hero-h1 {
            line-height: 1.09;
        }

        /* An admin-uploaded logo must fit the mark slot rather than stretch it */
        .logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }

        /* ── Fixes ─────────────────────────────────────────────────── */

        /* The hero stats strip had a hardcoded white background and no dark
           override, so in dark mode it rendered as a light slab with unreadable
           figures — and read as glued to the hero above it. */
        .hero-strip {
            background: var(--glass);
            border-top: 1px solid var(--line);
        }

        [data-theme="dark"] .hero-strip {
            background: rgba(19, 23, 31, 0.82);
            border-top-color: var(--line-strong);
        }

        .hs-num {
            color: var(--accent);
        }

        /* background-clip:text clips the final glyph at tight tracking
           (the "l" of "Digital" was being cut off). */
        .grad-text {
            padding-right: 0.09em;
            margin-right: -0.09em;
            -webkit-box-decoration-break: clone;
            box-decoration-break: clone;
        }

        /* In dark mode --accent lightens for legible text, but that same value
           behind white button text only reaches ~2.6:1. Buttons get a mid-tone
           brand fill instead. */
        [data-theme="dark"] .btn-hero-primary,
        [data-theme="dark"] .btn-primary,
        [data-theme="dark"] .form-submit,
        [data-theme="dark"] .nav-cta {
            background: #4A57C9;
            border-color: #5D69DA;
            color: #FFFFFF;
        }

        [data-theme="dark"] .btn-hero-primary:hover,
        [data-theme="dark"] .btn-primary:hover,
        [data-theme="dark"] .form-submit:hover,
        [data-theme="dark"] .nav-cta:hover {
            background: #5764D6;
        }

        [data-theme="dark"] .btn-hero-secondary {
            background: var(--mist);
            border-color: var(--line-strong);
            color: var(--ink);
        }

        /* ══════════════════════════════════════════════════════════════
           RESPONSIVE LAYER
           Content-driven grids that reflow at every width, plus explicit
           tiers for tablets and small phones.
           ══════════════════════════════════════════════════════════════ */

        /* No layout may push the page sideways */
        html,
        body {
            max-width: 100%;
            overflow-x: hidden;
            /* clip, where supported: it hides the same overflow without making
               html and body scroll containers, which is what silently disabled
               every position: sticky on the site (blog, careers and service
               sidebars stuck to a body that never scrolls). hidden stays as
               the fallback for browsers without clip. */
            overflow-x: clip;
        }

        /* Decorative hero glows are wider than a phone; keep them from
           creating a scrollbar. */
        .hero-glow,
        .hg1,
        .hg2,
        .hg3,
        .hero-particles {
            max-width: 100vw;
            pointer-events: none;
        }

        /* Grids size themselves from their content instead of a fixed count,
           so there is no width at which a row looks broken. */
        @media (min-width: 641px) {
            .services-grid,
            .products-grid,
            .blog-grid,
            .portfolio-grid,
            .t-grid-main {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }

            .industries-grid {
                grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
            }

            .tech-categories {
                grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            }

            .tech-items {
                flex-wrap: wrap;
            }
        }

        /* ── Tablet ──────────────────────────────────────────────────── */
        @media (max-width: 900px) {
            .section {
                padding: clamp(64px, 9vw, 96px) var(--padx);
            }

            .footer-top {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 32px;
            }

            .contact-wrap,
            .why-grid,
            .hero-inner {
                grid-template-columns: 1fr;
            }
        }

        /* ── Phone ───────────────────────────────────────────────────── */
        @media (max-width: 640px) {
            :root {
                --padx: 20px;
            }

            .section {
                padding: 56px var(--padx);
            }

            .services-grid,
            .products-grid,
            .portfolio-grid,
            .blog-grid,
            .industries-grid,
            .tech-categories,
            .t-grid-main {
                grid-template-columns: 1fr;
                gap: 16px;
                margin-top: 36px;
            }

            .svc-card,
            .prod-card,
            .blog-body,
            .port-body,
            .t-card-main,
            .ps-card,
            .contact-form {
                padding: 24px;
            }

            .s-sub,
            .hero-sub {
                font-size: 15.5px;
            }

            /* Full-width, thumb-friendly actions */
            .hero-actions {
                width: 100%;
            }

            .hero-actions > a,
            .btn-hero-primary,
            .btn-hero-secondary,
            .form-submit {
                width: 100%;
                justify-content: center;
                min-height: 48px;
            }

            .hero-strip {
                flex-wrap: wrap;
            }

            .hs-stat {
                flex: 1 1 50%;
                min-width: 50%;
                border-right: none;
            }

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

            /* Every tap target clears the 44px minimum */
            .nav-links a,
            .mobile-menu-nav a,
            .footer-col a,
            .social {
                min-height: 44px;
                display: inline-flex;
                align-items: center;
            }

            /* Footer links stack: as inline-flex they flowed onto one line with
               no gap ("Custom SoftwareWeb Applications") on phones. */
            .footer-col a {
                display: flex;
                margin-bottom: 0;
            }

            .floating-contacts {
                gap: 12px;
            }

            .float-btn {
                width: 48px;
                height: 48px;
            }
        }

        /* ── Small phones ────────────────────────────────────────────── */
        @media (max-width: 380px) {
            :root {
                --padx: 16px;
            }

            .hero-h1 {
                font-size: 32px;
            }

            .s-h2 {
                font-size: 26px;
            }

            .hs-stat {
                flex: 1 1 100%;
                min-width: 100%;
            }
        }

        /* ── Landscape phones: reclaim vertical space ────────────────── */
        @media (max-height: 500px) and (orientation: landscape) {
            #home {
                min-height: auto;
                padding-top: 96px;
                padding-bottom: 48px;
            }
        }

        /* Wide content scrolls inside itself rather than widening the page */
        pre,
        table,
        .table-wrap,
        .code-block {
            max-width: 100%;
            overflow-x: auto;
        }

        /* Media never overflows its column */
        img,
        svg,
        video,
        canvas,
        iframe {
            max-width: 100%;
        }

        /* ══════════════════════════════════════════════════════════════
           DETAIL-PAGE BLOCKS
           Shared building blocks for service and product detail layouts.
           ══════════════════════════════════════════════════════════════ */

        .wrap.narrow {
            max-width: 820px;
        }

        .wrap.split {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 56px;
            align-items: start;
        }

        /* Figure band */
        .metric-band {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1px;
            background: var(--line);
            border: 1px solid var(--line);
            border-radius: var(--radius-lg);
            overflow: hidden;
        }

        .metric {
            background: var(--white);
            padding: 32px 28px;
        }

        .metric-val {
            font-size: clamp(28px, 3.4vw, 40px);
            font-weight: 700;
            letter-spacing: -0.035em;
            color: var(--accent);
            font-variant-numeric: tabular-nums;
            line-height: 1.1;
        }

        .metric-label {
            margin-top: 8px;
            font-size: 14.5px;
            color: var(--ink4);
            line-height: 1.55;
        }

        /* Checked list */
        .check-list {
            list-style: none;
            display: grid;
            gap: 14px;
        }

        .check-list li {
            display: flex;
            gap: 12px;
            align-items: flex-start;
            font-size: 15.5px;
            color: var(--ink3);
            line-height: 1.6;
        }

        .check-list i {
            flex-shrink: 0;
            width: 22px;
            height: 22px;
            margin-top: 2px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            font-size: 10px;
            background: var(--accent-050);
            color: var(--accent);
            border: 1px solid var(--accent-100);
        }

        /* Numbered phases */
        .phase-rail {
            list-style: none;
            margin-top: 52px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
            gap: 1px;
            background: var(--line);
            border-top: 1px solid var(--line);
            border-left: 1px solid var(--line);
        }

        .phase-rail li {
            background: var(--white);
            padding: 30px 26px;
        }

        .phase-idx {
            font-size: 12px;
            font-weight: 500;
            color: var(--accent);
            letter-spacing: 0.08em;
        }

        .phase-rail h3 {
            margin: 12px 0 8px;
            font-size: 17px;
            font-weight: 600;
            letter-spacing: -0.02em;
            color: var(--ink);
        }

        .phase-rail p {
            font-size: 14.5px;
            color: var(--ink4);
            line-height: 1.62;
        }

        /* Pills */
        .pill-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 32px;
        }

        .pill-grid.center {
            justify-content: center;
        }

        .pill {
            display: inline-flex;
            align-items: center;
            padding: 9px 16px;
            border-radius: 100px;
            border: 1px solid var(--line-strong);
            background: var(--white);
            color: var(--ink3);
            font-size: 13.5px;
            font-weight: 500;
            letter-spacing: -0.005em;
        }

        /* Card grids */
        .card-grid {
            display: grid;
            gap: 20px;
            margin-top: 52px;
        }

        .card-grid.two {
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        }

        .card-grid.three {
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        }

        /* Pipeline */
        .pipeline {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            margin-top: 52px;
        }

        .pipe-stage {
            position: relative;
            background: var(--white);
            border: 1px solid var(--line);
            border-radius: var(--radius-lg);
            padding: 26px 24px;
        }

        .pipe-idx {
            display: inline-grid;
            place-items: center;
            width: 28px;
            height: 28px;
            border-radius: 8px;
            background: var(--accent-050);
            border: 1px solid var(--accent-100);
            color: var(--accent);
            font-size: 12.5px;
            font-weight: 600;
        }

        .pipe-stage h3 {
            margin: 14px 0 8px;
            font-size: 16.5px;
            font-weight: 600;
            letter-spacing: -0.02em;
        }

        .pipe-stage p {
            font-size: 14.5px;
            color: var(--ink4);
            line-height: 1.6;
        }

        .pipe-arrow {
            position: absolute;
            right: -16px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 12px;
            color: var(--accent-300);
        }

        /* FAQ */
        .faq {
            margin-top: 40px;
            border-top: 1px solid var(--line);
        }

        .faq details {
            border-bottom: 1px solid var(--line);
        }

        .faq summary {
            cursor: pointer;
            list-style: none;
            padding: 22px 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            font-size: 16.5px;
            font-weight: 600;
            letter-spacing: -0.02em;
            color: var(--ink);
        }

        .faq summary::-webkit-details-marker {
            display: none;
        }

        .faq summary i {
            flex-shrink: 0;
            font-size: 12px;
            color: var(--accent);
            transition: transform 0.25s var(--ease);
        }

        .faq details[open] summary i {
            transform: rotate(45deg);
        }

        .faq details p {
            padding: 0 0 22px;
            font-size: 15.5px;
            color: var(--ink4);
            line-height: 1.7;
            max-width: 68ch;
        }

        /* Code / install block */
        .code-line {
            display: flex;
            align-items: center;
            gap: 14px;
            justify-content: space-between;
            background: var(--ink);
            color: #E6EAF2;
            border-radius: var(--radius);
            padding: 16px 18px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 14px;
            overflow-x: auto;
        }

        .code-line .prompt {
            color: var(--accent-300);
            user-select: none;
        }

        .meta-row {
            display: flex;
            flex-wrap: wrap;
            gap: 28px;
            margin-top: 28px;
        }

        .meta-item .meta-k {
            font-size: 13px;
            text-transform: none;
            letter-spacing: 0.01em;
            font-weight: 600;
            color: var(--ink4);
        }

        .meta-item .meta-v {
            margin-top: 6px;
            font-size: 15px;
            font-weight: 600;
            color: var(--ink);
        }

        [data-theme="dark"] .metric,
        [data-theme="dark"] .phase-rail li,
        [data-theme="dark"] .pipe-stage,
        [data-theme="dark"] .pill {
            background: var(--mist);
        }

        [data-theme="dark"] .code-line {
            background: #05070B;
            border: 1px solid var(--line);
        }

        @media (max-width: 860px) {
            .wrap.split {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .pipe-arrow {
                display: none;
            }
        }

        /* ── Compatibility aliases ──────────────────────────────────────
           Several components reference token names that were never defined
           (--primary, --bg, --ink-light, …). An undefined custom property
           invalidates the whole declaration, which is why the service-detail
           CTA rendered as white text on a white box. These alias onto real
           tokens, so they follow the active theme automatically. */
        :root {
            --primary: var(--accent-600);
            --primary-dark: var(--accent-700);
            --indigo-light: var(--accent-050);
            --ink-light: var(--ink4);
            --bg: var(--white);
            --bg-alt: var(--canvas);
            --admin-accent: var(--accent);
        }

        /* ── Detail blocks on per-product themes ────────────────────────
           Product and service detail pages each set their own --bg (some
           dark, some light). Blocks inside them therefore derive surfaces
           and secondary text from currentColor instead of the light-theme
           tokens, so they read correctly on any of those backgrounds. */
        .product-detail-page .metric,
        .product-detail-page .phase-rail li,
        .product-detail-page .pipe-stage,
        .product-detail-page .svc-card,
        .product-detail-page .pill,
        .service-detail-page .metric,
        .service-detail-page .phase-rail li,
        .service-detail-page .pipe-stage,
        .service-detail-page .svc-card,
        .service-detail-page .pill {
            background: color-mix(in srgb, currentColor 5%, transparent);
            border-color: color-mix(in srgb, currentColor 15%, transparent);
            color: inherit;
        }

        .product-detail-page .metric-band,
        .product-detail-page .phase-rail,
        .service-detail-page .metric-band,
        .service-detail-page .phase-rail {
            background: color-mix(in srgb, currentColor 14%, transparent);
            border-color: color-mix(in srgb, currentColor 14%, transparent);
        }

        .product-detail-page .metric-label,
        .product-detail-page .svc-p,
        .product-detail-page .phase-rail p,
        .product-detail-page .pipe-stage p,
        .product-detail-page .check-list li,
        .product-detail-page .s-sub,
        .product-detail-page .faq details p,
        .service-detail-page .metric-label,
        .service-detail-page .svc-p,
        .service-detail-page .phase-rail p,
        .service-detail-page .pipe-stage p,
        .service-detail-page .check-list li,
        .service-detail-page .s-sub,
        .service-detail-page .faq details p {
            color: color-mix(in srgb, currentColor 68%, transparent);
        }

        .product-detail-page .meta-v,
        .product-detail-page .phase-rail h3,
        .product-detail-page .svc-h3,
        .product-detail-page .s-h2,
        .product-detail-page .faq summary,
        .service-detail-page .meta-v,
        .service-detail-page .phase-rail h3,
        .service-detail-page .svc-h3,
        .service-detail-page .s-h2,
        .service-detail-page .faq summary {
            color: inherit;
        }

        .product-detail-page .meta-k,
        .service-detail-page .meta-k {
            color: color-mix(in srgb, currentColor 52%, transparent);
        }

        /* .alt bands paint a light canvas; inside a themed detail page they
           must instead be a subtle step away from that page's own colour. */
        .product-detail-page .section.alt,
        .service-detail-page .section.alt {
            background: color-mix(in srgb, currentColor 4%, transparent);
        }

        .product-detail-page .faq,
        .product-detail-page .faq details,
        .service-detail-page .faq,
        .service-detail-page .faq details {
            border-color: color-mix(in srgb, currentColor 15%, transparent);
        }

        .product-detail-page .code-line,
        .service-detail-page .code-line {
            background: color-mix(in srgb, currentColor 8%, transparent);
            border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
            color: inherit;
        }

        .product-detail-page .check-list i,
        .service-detail-page .check-list i {
            background: color-mix(in srgb, currentColor 10%, transparent);
            border-color: color-mix(in srgb, currentColor 20%, transparent);
            color: inherit;
        }

        /* --grad-text runs ink → blue, which disappears on the darker product
           themes. Inside a themed detail page, derive it from the page's own
           text colour and accent so it contrasts on any background. */
        .product-detail-page .grad-text,
        .service-detail-page .grad-text {
            background: linear-gradient(110deg, currentColor 0%, var(--primary, var(--accent)) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* ── Detail hero: mobile ────────────────────────────────────────
           `1fr` resolves to minmax(auto, 1fr), so the wide product mockup
           pushed the track past the viewport and clipped the headline and
           buttons. minmax(0, 1fr) lets the track shrink; min-width:0 lets
           its children follow. */
        .product-detail-page .hero-container,
        .service-detail-page .hero-container {
            min-width: 0;
        }

        .product-detail-page .hero-container > *,
        .service-detail-page .hero-container > * {
            min-width: 0;
        }

        .product-detail-page .hero-visual-wrapper,
        .product-detail-page .hero-visual-wrapper > * {
            max-width: 100%;
        }

        @media (max-width: 991px) {
            .product-detail-page .hero-container,
            .service-detail-page .hero-container {
                grid-template-columns: minmax(0, 1fr) !important;
            }
        }

        @media (max-width: 640px) {
            .product-detail-page .hero-title,
            .service-detail-page .hero-title {
                font-size: clamp(28px, 8.4vw, 40px);
                letter-spacing: -0.03em;
                overflow-wrap: anywhere;
            }

            .product-detail-page .hero-tagline,
            .service-detail-page .hero-tagline {
                font-size: 1.05rem;
            }

            .product-detail-page .hero-desc,
            .service-detail-page .hero-desc {
                font-size: 1rem;
            }

            /* Two side-by-side CTAs do not fit 390px */
            .product-detail-page .hero-actions,
            .service-detail-page .hero-actions {
                flex-wrap: wrap;
                gap: 12px;
            }

            .product-detail-page .hero-actions > a,
            .service-detail-page .hero-actions > a {
                flex: 1 1 100%;
                justify-content: center;
                min-height: 48px;
            }

            .product-detail-page .section,
            .service-detail-page .section {
                padding-left: var(--padx);
                padding-right: var(--padx);
            }
        }

        /* .btn-secondary sets color:var(--ink), which is near-black — unreadable
           on the dark product themes. Inherit the page's own text colour. */
        .product-detail-page .btn-secondary,
        .service-detail-page .btn-secondary {
            color: inherit;
            background: color-mix(in srgb, currentColor 7%, transparent);
            border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
        }

        .product-detail-page .btn-secondary:hover,
        .service-detail-page .btn-secondary:hover {
            background: color-mix(in srgb, currentColor 13%, transparent);
        }

        /* ══════════════════════════════════════════════════════════════
           CMS-ONLY RULES
           Components that exist only in the Inertia app. Everything above is
           byte-identical to the static design stylesheet.
           ══════════════════════════════════════════════════════════════ */









        .hero-dashboard::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, var(--glass-border) 0%, transparent 50%);
            pointer-events: none;
        }

        .dbm:hover {
            transform: translateY(-2px);
        }

        .db-act-row:hover {
            background: var(--mist);
            transform: translateX(4px);
        }

        @keyframes scrollLogs {
            0% { transform: translateY(0); }
            100% { transform: translateY(-90px); }
        }

        .hero-strip:hover {
            box-shadow: 0 25px 50px rgba(var(--accent-rgb), 0.12), inset 0 1px 1px var(--glass-border);
            transform: translateY(-4px);
        }

        .hs-stat:hover {
            background: rgba(255,255,255,0.03);
        }

        .portfolio-grid::-webkit-scrollbar {
            height: 8px;
        }

        .portfolio-grid::-webkit-scrollbar-track {
            background: rgba(var(--accent-rgb), 0.05);
            border-radius: 4px;
        }

        .portfolio-grid::-webkit-scrollbar-thumb {
            background: rgba(var(--accent-rgb), 0.25);
            border-radius: 4px;
        }

        .portfolio-grid::-webkit-scrollbar-thumb:hover {
            background: rgba(var(--accent-rgb), 0.5);
        }

        .t-grid-main::-webkit-scrollbar {
            height: 8px;
        }

        .t-grid-main::-webkit-scrollbar-track {
            background: rgba(var(--accent-rgb), 0.05);
            border-radius: 4px;
        }

        .t-grid-main::-webkit-scrollbar-thumb {
            background: rgba(var(--accent-rgb), 0.25);
            border-radius: 4px;
        }

        .t-grid-main::-webkit-scrollbar-thumb:hover {
            background: rgba(var(--accent-rgb), 0.5);
        }

        .t-card-main.active {
            opacity: 1;
            border-color: var(--indigo);
        }

        /* Label — slides in on hover */
        .float-btn .float-label {
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.02em;
            opacity: 0;
            max-width: 0;
            overflow: hidden;
            padding-right: 0;
            transition:
                opacity 0.2s ease 0.1s,
                max-width 0.3s ease,
                padding-right 0.3s ease;
            pointer-events: none;
        }

        /* The chatbot launcher (CMS-only) is fixed at bottom:36px/right:32px with
           z-index 9999, which sat directly on top of the WhatsApp button. Stack the
           contact rail above it instead of fighting over the same corner. */
        .floating-contacts {
            bottom: 112px;
        }

        @media (max-width: 640px) {
            .floating-contacts {
                bottom: 92px;
            }
        }

        /* ══════════════════════════════════════
           READABILITY: shared form + copy helpers
           Owner feedback (Oct 2026): labels at 11px in tracked capitals, faint
           placeholders and 12-13px helper text were hard to read on the contact
           form. Labels are now sentence case at 14px (see .form-label), and the
           helpers below replace the inline `color:red; font-size:12px` errors.
        ══════════════════════════════════════ */
        :root {
            /* #B42318 on white 6.6:1, on --canvas 6.2:1 */
            --danger-text: #B42318;
        }

        [data-theme="dark"] {
            /* #FF9C94 on #0B0D12 9.5:1, on --mist 8.4:1 */
            --danger-text: #FF9C94;
        }

        .field-err {
            color: var(--danger-text);
            font-size: 14px;
            font-weight: 500;
            line-height: 1.45;
            margin-top: 2px;
        }

        .form-label .opt {
            font-weight: 500;
            color: var(--ink4);
        }

        /* 16px stops iOS Safari zooming the page on focus; 48px clears the
           44px touch-target minimum with the 1px border. */
        .form-input,
        .form-select {
            min-height: 48px;
            font-size: 16px;
        }

        .form-input:focus-visible,
        .form-select:focus-visible,
        .form-textarea:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 1px;
        }

        .req {
            color: var(--danger-text);
            font-weight: 700;
        }

        /* Links inside running text must not rely on colour alone (WCAG 1.4.1). */
        .inline-link,
        .prose a,
        .legal-content a,
        .blog-content a {
            color: var(--accent);
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-underline-offset: 3px;
        }

        .inline-link:hover,
        .prose a:hover,
        .legal-content a:hover,
        .blog-content a:hover {
            text-decoration-thickness: 2px;
        }

        .ci-link {
            text-decoration: none;
            border-bottom: 1px solid rgba(var(--accent-rgb), 0.35);
        }

        .ci-link:hover {
            color: var(--accent);
            border-bottom-color: var(--accent);
        }

        /* Product tags. They were white-on-white on every card except the
           spotlight one (1.0:1); only the spotlight and dark headers are dark. */
        .prod-tag {
            background: var(--accent-050);
            border: 1px solid var(--accent-200);
            color: var(--accent-700);
            font-size: 13px;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 100px;
        }

        .prod-spotlight .prod-tag,
        [data-theme="dark"] .prod-tag {
            background: rgba(255, 255, 255, 0.12);
            border-color: rgba(255, 255, 255, 0.2);
            color: #FFFFFF;
        }

        [data-theme="dark"] .dbm-change { color: #3FD0A0; }
        [data-theme="dark"] .t-stars { color: #E3B84A; }

        /* CMS page content (About CTA) ships a white pill with an inline
           `color:var(--indigo)`; in dark mode that token is a light tint and read
           2.7:1 on the white. The content lives in the database, so the fix is
           here; !important is the only way past an inline style. */
        [data-theme="dark"] a.btn-hero-secondary[style*="background:white"] {
            color: #2E3AA0 !important;
        }

        /* At a readable 12px the tagline wraps to two lines beside the logo on
           phones and crowds the bar; the brand name carries the header there. */
        @media (max-width: 480px) {
            .nav-tagline {
                display: none;
            }
        }
