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

        :root {
            --accent: #9a6850;
            --accent-soft: #c08868;
            --accent-strong: #8b5a42;
            --accent-deep: #6e4530;
            --accent-warm: #b07a58;
            --dark: #0a0808;
            --dark-elevated: #120d0a;
            --dark-card: #1a1410;
            --dark-navy: #120d0a;
            --light: #ffffff;
            --light-bg: #f7f5f2;
            --light-card: #ffffff;
            --light-muted: #6b6462;
            --light-border: #e8e4e0;
            --text-dark: #1a1410;
            --text-muted-dark: rgba(255, 255, 255, 0.55);
            --border-dark: rgba(255, 255, 255, 0.08);
        }

        html { scroll-behavior: smooth; }
        [id] { scroll-margin-top: 80px; }

        body {
            font-family: 'Fraunces', Georgia, serif;
            font-optical-sizing: auto;
            background: var(--light);
            color: var(--text-dark);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
        }

        /* Functional UI stays in Inter for clarity at small sizes */
        nav, button, input, select, textarea,
        .nav-links a, .nav-links button, .nav-mega-desc,
        .btn-hero, .btn-hero-outline, .btn-nav-ghost, .btn-nav-primary,
        .footer-col h4, .footer-col a, .footer-copyright,
        .skip-link, .mobile-menu a, .mobile-menu-close,
        .hero-counter, .logos-track a span,
        .link-arrow, .link-arrow-light,
        .enterprise-card h3, .enterprise-card p,
        .newsletter-input,
        .footer-social a {
            font-family: 'Fraunces', Georgia, serif;
        }
        /* Code and terminal elements use JetBrains Mono */
        code, pre, .terminal-mock, .terminal-body, .terminal-bar {
            font-family: 'Fira Code', monospace;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 clamp(1.25rem, 4vw, 3rem);
        }

        /* ══════════════════════════════════════
           Typography
           ══════════════════════════════════════ */
        .heading-display {
            font-family: 'Fraunces', Georgia, serif;
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 500;
            line-height: 1.35;
            letter-spacing: 0em;
            word-spacing: 0.05em;
            font-optical-sizing: auto;
        }
        .heading-section {
            font-family: 'Fraunces', Georgia, serif;
            font-size: clamp(1.75rem, 3.5vw, 2.75rem);
            font-weight: 500;
            line-height: 1.15;
            letter-spacing: -0.02em;
            font-optical-sizing: auto;
        }
        .heading-card {
            font-size: clamp(1.25rem, 2vw, 1.625rem);
            font-weight: 600;
            line-height: 1.25;
            letter-spacing: -0.01em;
        }
        .text-lead {
            line-height: 1.8;
            letter-spacing: 0em;
            word-spacing: 0.05em;
            font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
        }
        .text-muted { color: var(--light-muted); }
        .text-accent { color: var(--accent-strong); }

        /* ══════════════════════════════════════
           Navigation
           ══════════════════════════════════════ */
        .nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            padding: 0.875rem 0;
            transition: all 0.3s ease;
        }
        .nav.scrolled {
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border-bottom: 1px solid var(--light-border);
        }
        .nav-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .nav-left {
            display: flex;
            align-items: center;
            gap: 2.5rem;
        }
        .nav-logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
            color: var(--text-dark);
        }
        .nav-logo-mark {
            width: 42px;
            aspect-ratio: 1 / 1;
            flex-shrink: 0;
            display: grid;
            place-items: center;
        }
        .nav-logo-mark img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            display: block;
        }
        .nav-logo-text {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.3125rem;
            font-weight: 600;
            letter-spacing: -0.02em;
        }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 1.75rem;
            list-style: none;
        }
        .nav-links a,
        .nav-links button {
            text-decoration: none;
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.9375rem;
            font-weight: 500;
            letter-spacing: 0.008em;
            transition: filter 0.2s ease;
            background: linear-gradient(160deg, #9a6850 0%, #7a5038 20%, #5e3825 40%, #9a6850 55%, #c08868 62%, #9a6850 70%, #6e4530 85%, #7a5038 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            border: none;
            cursor: pointer;
            -webkit-appearance: none;
            appearance: none;
            outline: none;
            box-shadow: none;
        }
        .nav-links a:hover,
        .nav-links button:hover { filter: brightness(1.16); }
        .nav-item-dropdown { position: relative; }
        .nav-mega {
            position: absolute;
            top: calc(100% + 12px);
            left: 0;
            min-width: 460px;
            background: linear-gradient(180deg, rgba(255,252,249,0.98), rgba(247,239,231,0.98));
            border: 1px solid rgba(192,136,104,0.32);
            border-radius: 14px;
            box-shadow: 0 22px 54px rgba(0,0,0,0.16), 0 8px 24px rgba(80,48,34,0.16), 0 0 0 1px rgba(255,255,255,0.6) inset;
            padding: 10px;
            z-index: 120;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px) scale(0.985);
            transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s;
            pointer-events: none;
            overflow: hidden;
        }
        .nav-mega::before {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            border-radius: 14px;
            background: radial-gradient(circle at 18% 0%, rgba(192,136,104,0.14), transparent 42%);
        }
        .nav-item-dropdown.open .nav-mega {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
            pointer-events: auto;
            animation: megaOpen 260ms cubic-bezier(0.16, 1, 0.3, 1);
        }
        @keyframes megaOpen {
            0% { opacity: 0; transform: translateY(8px) scale(0.985); }
            100% { opacity: 1; transform: translateY(0) scale(1); }
        }
        .nav-mega-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
        }
        .nav-mega a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 11px;
            border-radius: 10px;
            color: #2a2019;
            -webkit-text-fill-color: initial;
            -webkit-background-clip: initial;
            background-clip: initial;
            text-decoration: none;
            border: 1px solid rgba(192,136,104,0.14);
            background: linear-gradient(180deg, rgba(255,255,255,0.66), rgba(249,243,237,0.72));
            transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
            position: relative;
            overflow: hidden;
        }
        .nav-mega a:hover {
            background: linear-gradient(180deg, rgba(255,251,247,0.92), rgba(247,238,230,0.92));
            border-color: rgba(192,136,104,0.3);
            box-shadow: 0 10px 18px rgba(80,48,34,0.10), 0 0 12px rgba(192,136,104,0.10);
        }
        .nav-mega-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.79rem;
            font-weight: 500;
            color: #251b15;
            -webkit-text-fill-color: #251b15;
            line-height: 1.22;
            letter-spacing: 0;
        }
        .nav-mega-desc {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.675rem;
            font-weight: 400;
            color: rgba(58,42,33,0.76);
            -webkit-text-fill-color: rgba(58,42,33,0.76);
            margin-top: 2px;
            line-height: 1.3;
        }
        .nav-mega a:hover .nav-mega-title { animation: none; }
        .nav-right {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .btn-nav-ghost {
            padding: 0.5rem 1rem;
            background: none;
            border: 1px solid var(--light-border);
            border-radius: 8px;
            color: var(--text-dark);
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.875rem;
            font-weight: 500;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .btn-nav-ghost:hover { border-color: var(--accent-deep); color: var(--accent-deep); background: rgba(255,255,255,0.5); }
        .btn-nav-primary { padding: 0.5rem 1.125rem; background: linear-gradient(160deg, #9a6850 0%, #7a5038 20%, #5e3825 40%, #9a6850 55%, #c08868 62%, #9a6850 70%, #6e4530 85%, #7a5038 100%); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: #f5ede6; font-family: 'Fraunces', Georgia, serif; font-size: 0.875rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: box-shadow 0.3s ease, transform 0.3s ease; display: inline-flex; align-items: center; gap: 0.375rem; box-shadow: 0 2px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -1px 0 rgba(0,0,0,0.2); position: relative; overflow: hidden; }
        .btn-nav-primary::before { content: ""; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.15) 55%, transparent 70%); transition: left 0.5s ease; pointer-events: none; }
        .btn-nav-primary:hover::before { left: 120%; }
        .btn-nav-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -1px 0 rgba(0,0,0,0.2); }
        @media (max-width: 900px) {
            .nav-links, .nav-right .btn-nav-ghost { display: none; }
            .nav-mega { min-width: 280px; left: -20px; }
            .nav-mega-grid { grid-template-columns: 1fr; }
        }

        .signin-modal {
            position: fixed;
            inset: 0;
            background: rgba(10,8,8,0.55);
            backdrop-filter: blur(4px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 200;
            padding: 20px;
        }
        .signin-modal.open { display: flex; }
        .signin-card {
            width: min(460px, 100%);
            background: #fff;
            border: 1px solid var(--light-border);
            border-radius: 16px;
            box-shadow: 0 24px 60px rgba(0,0,0,0.18);
            padding: 22px;
        }
        .signin-card h3 { font-family: 'Fraunces', Georgia, serif; font-size: 1.6rem; margin-bottom: 8px; }
        .signin-card p { color: var(--light-muted); font-size: 0.92rem; margin-bottom: 14px; }
        .signin-field { width: 100%; padding: 11px 12px; border: 1px solid var(--light-border); border-radius: 10px; margin-bottom: 10px; font-size: 0.93rem; }
        .signin-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 6px; }

        /* ══════════════════════════════════════
           Hero — with sweeping gradient wave
           ══════════════════════════════════════ */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 7rem 0 4rem;
            position: relative;
            overflow: hidden;
            background: var(--light);
        }
        .hero-grid {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }
        @media (max-width: 900px) {
            .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
        }
        /* The massive rose gold gradient wave — Stripe-style silk ribbon */
        .hero-wave {
            position: absolute;
            top: -20%;
            right: -10%;
            width: 70%;
            height: 140%;
            pointer-events: none;
            z-index: 0;
        }
        .hero-wave::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                conic-gradient(from 200deg at 50% 50%,
                    #c08868 0deg,
                    #9a6850 40deg,
                    #8b5a42 80deg,
                    #7a5038 120deg,
                    #6e4530 160deg,
                    #9a6850 200deg,
                    #c08868 240deg,
                    #d4a888 280deg,
                    #8b5a42 320deg,
                    #c08868 360deg
                );
            filter: blur(40px);
            transform: rotate(-15deg) scaleX(1.2);
            opacity: 0.85;
            border-radius: 30% 70% 60% 40% / 50% 40% 60% 50%;
            animation: waveShift 20s ease-in-out infinite alternate;
        }
        .hero-wave::after {
            content: '';
            position: absolute;
            top: 10%;
            right: 5%;
            width: 80%;
            height: 80%;
            background:
                conic-gradient(from 100deg at 40% 60%,
                    #d4a888 0deg,
                    #7a5038 60deg,
                    #9a6850 120deg,
                    #c08868 180deg,
                    #8b5a42 240deg,
                    #9a6850 300deg,
                    #d4a888 360deg
                );
            filter: blur(60px);
            transform: rotate(10deg);
            opacity: 0.7;
            border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%;
            animation: waveShift2 25s ease-in-out infinite alternate;
        }
        @keyframes waveShift {
            0%   { border-radius: 30% 70% 60% 40% / 50% 40% 60% 50%; transform: rotate(-15deg) scaleX(1.2); }
            100% { border-radius: 40% 60% 50% 50% / 60% 50% 40% 60%; transform: rotate(-10deg) scaleX(1.15); }
        }
        @keyframes waveShift2 {
            0%   { border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%; transform: rotate(10deg); }
            100% { border-radius: 50% 50% 40% 60% / 50% 40% 60% 40%; transform: rotate(15deg) scale(1.05); }
        }
        /* WebGL shader canvas overlay */
        #heroShaderCanvas {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
        }
        #heroShaderCanvas canvas {
            width: 100% !important;
            height: 100% !important;
            display: block;
        }
        .hero-content {
            position: relative;
            z-index: 2;
        }
        .hero h1 {
            margin-bottom: 1.75rem;
        }
        .hero h1 .text-muted {
            color: var(--light-muted);
        }
        .hero-actions {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            flex-wrap: wrap;
        }
        .btn-hero { display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2rem; background: linear-gradient(160deg, #9a6850 0%, #7a5038 20%, #5e3825 40%, #9a6850 55%, #c08868 62%, #9a6850 70%, #6e4530 85%, #7a5038 100%); color: #f5ede6; font-size: 1.0625rem; font-weight: 600; border-radius: 12px; text-decoration: none; border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: box-shadow 0.3s ease, transform 0.3s ease; box-shadow: 0 4px 16px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -1px 0 rgba(0,0,0,0.25); position: relative; overflow: hidden; }
        .btn-hero::before { content: ""; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.15) 55%, transparent 70%); transition: left 0.5s ease; pointer-events: none; }
        .btn-hero:hover::before { left: 120%; }
        .btn-hero:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -1px 0 rgba(0,0,0,0.25); }
        .btn-hero-outline {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.875rem 1.75rem;
            background: var(--light);
            color: var(--text-dark);
            font-size: 1rem;
            font-weight: 500;
            border-radius: 10px;
            text-decoration: none;
            border: 1px solid var(--light-border);
            cursor: pointer;
            transition: all 0.25s ease;
        }
        .btn-hero-outline:hover { border-color: rgba(0,0,0,0.2); background: #faf8f6; }

        /* ══════════════════════════════════════
           Logos Bar
           ══════════════════════════════════════ */
        .logos-bar {
            padding: 2.5rem 0;
            border-top: 1px solid var(--light-border);
            background: var(--light);
            overflow: hidden;
        }
        .logos-track {
            display: flex;
            align-items: center;
            gap: 3.5rem;
            width: max-content;
            animation: marquee 30s linear infinite;
        }
        .logos-track:hover { animation-play-state: paused; }
        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        .logos-track a {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
            white-space: nowrap;
            opacity: 0.55;
            transition: opacity 0.3s ease, transform 0.3s ease;
            flex-shrink: 0;
        }
        .logos-track a:hover { opacity: 1; transform: scale(1.08); }
        .logos-track a img, .logos-track a svg {
            height: 28px;
            width: auto;
            flex-shrink: 0;
        }
        .logos-track a span {
            font-size: 1rem;
            font-weight: 700;
            letter-spacing: -0.01em;
            color: var(--text-dark);
        }
        .logos-track a { color: var(--text-dark); }
        html.dark-mode .logos-track a { color: #f0ebe6; }
        html.dark-mode .logos-track a span { color: #f0ebe6; }
        .logos-track a img.logo-blend { mix-blend-mode: multiply; }
        html.dark-mode .logos-track a img.logo-blend { filter: invert(1); mix-blend-mode: screen; }
        html.dark-mode .logos-track a img.logo-invert { filter: invert(1); }

        /* ══════════════════════════════════════
           Section Intros (Stripe-style big text)
           ══════════════════════════════════════ */
        .section-intro {
            padding: 6rem 0 3rem;
        }
        .section-intro p {
            max-width: 900px;
        }

        /* ══════════════════════════════════════
           Product Bento Grid
           ══════════════════════════════════════ */
        .bento-section {
            padding: 0 0 6rem;
        }
        .bento-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.25rem;
        }
        .bento-grid-3 {
            grid-template-columns: repeat(3, 1fr);
        }
        .bento-card {
            background: rgba(255,255,255,0.55);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(154,104,80,0.1);
            border-radius: 16px;
            overflow: hidden;
            transition: transform 0.5s cubic-bezier(.22,1,.36,1), box-shadow 0.5s cubic-bezier(.22,1,.36,1), border-color 0.4s ease;
            position: relative;
        }
        .bento-card:hover {
            box-shadow: 0 24px 64px rgba(139,90,66,0.14), 0 6px 20px rgba(0,0,0,0.05);
            transform: translateY(-6px);
            border-color: rgba(154,104,80,0.25);
        }
        .bento-card-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            padding: 2rem 2rem 1rem;
        }
        .bento-card-header h3 {
            max-width: 85%;
        }
        .bento-expand {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            border: 1px solid var(--light-border);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            color: var(--light-muted);
            transition: all 0.4s cubic-bezier(.22,1,.36,1);
        }
        .bento-card:hover .bento-expand {
            border-color: rgba(154,104,80,0.3);
            background: linear-gradient(160deg, #9a6850, #6e4530 40%, #c08868 62%, #7a5038);
            color: #f5ede6;
            box-shadow: 0 2px 8px rgba(154,104,80,0.2);
        }
        .bento-card-body {
            padding: 0 2rem 2rem;
        }
        /* Mockup containers */
        .mockup-area {
            padding: 1.5rem;
            position: relative;
            min-height: 280px;
            overflow: hidden;
        }
        /* Terminal mockup */
        .terminal-mock {
            background: #0d0d0d;
            border-radius: 10px;
            overflow: hidden;
            font-family: 'Fira Code', monospace;
            font-size: 0.8125rem;
            box-shadow: 0 8px 32px rgba(0,0,0,0.4);
            border: 1px solid rgba(255,255,255,0.08);
        }
        .terminal-bar {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 12px 16px;
            background: #1a1a1a;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }
        .terminal-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
        }
        .terminal-dot.r { background: #ff5f57; }
        .terminal-dot.y { background: #febc2e; }
        .terminal-dot.g { background: #28c840; }
        .terminal-body {
            padding: 16px 20px;
            color: #e0e0e0;
            line-height: 1.7;
        }
        .terminal-body .prompt { color: #28c840; }
        .terminal-body .cmd { color: #fff; }
        .terminal-body .comment { color: rgba(255,255,255,0.35); }
        .terminal-body .output { color: rgba(255,255,255,0.6); }
        .terminal-body .success { color: #4ade80; }
        /* Browser mockup */
        .browser-mock {
            background: #fff;
            border-radius: 10px;
            border: 1px solid var(--light-border);
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0,0,0,0.08);
        }
        .browser-bar {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 16px;
            background: rgba(154,104,80,0.04);
            border-bottom: 1px solid var(--light-border);
        }
        .browser-dots {
            display: flex;
            gap: 5px;
        }
        .browser-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(154,104,80,0.2);
        }
        .browser-url {
            flex: 1;
            margin: 0 8px;
            padding: 4px 12px;
            background: #fff;
            border-radius: 6px;
            font-size: 0.75rem;
            color: var(--light-muted);
            border: 1px solid var(--light-border);
        }
        .browser-body {
            padding: 20px;
            min-height: 200px;
        }
        /* Chat mockup */
        .chat-bubble {
            max-width: 85%;
            padding: 12px 16px;
            border-radius: 12px;
            font-size: 0.8125rem;
            line-height: 1.5;
            margin-bottom: 10px;
        }
        .chat-user {
            background: linear-gradient(160deg, #9a6850 0%, #7a5038 20%, #5e3825 40%, #9a6850 55%, #c08868 62%, #9a6850 70%, #6e4530 85%, #7a5038 100%);
            color: #f5ede6;
            margin-left: auto;
            border: 1px solid rgba(255,255,255,0.18);
            box-shadow: 0 4px 14px rgba(0,0,0,0.26), inset 0 1px 0 rgba(255,255,255,0.16), inset 0 -1px 0 rgba(0,0,0,0.12);
            border-bottom-right-radius: 4px;
        }
        .chat-ai {
            background: linear-gradient(135deg, rgba(154,104,80,0.1), rgba(154,104,80,0.15));
            border: 1px solid rgba(154,104,80,0.15);
            color: var(--text-dark);
            border-bottom-left-radius: 4px;
        }
        /* Research mockup */
        .research-source {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            background: rgba(154,104,80,0.04);
            border: 1px solid rgba(154,104,80,0.08);
            border-radius: 8px;
            font-size: 0.75rem;
            margin-bottom: 6px;
            transition: all 0.2s ease;
        }
        .research-source:hover {
            background: rgba(154,104,80,0.08);
            border-color: rgba(154,104,80,0.15);
        }
        .source-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }

        @media (max-width: 768px) {
            .bento-grid, .bento-grid-3 { grid-template-columns: 1fr; }
        }

        /* ══════════════════════════════════════
           Comparison Table
           ══════════════════════════════════════ */
        .compare-section { padding: 6rem 0; background: var(--light-bg); border-top: 1px solid var(--light-border); }
        .compare-table { width: 100%; border-collapse: collapse; margin-top: 3rem; font-family: 'Fraunces', Georgia, serif; font-size: 0.875rem; }
        .compare-table thead th { padding: 1rem 1.25rem; text-align: left; font-weight: 700; font-size: 0.9375rem; border-bottom: 2px solid var(--light-border); }
        .compare-table thead th:first-child { color: var(--light-muted); font-weight: 500; font-size: 0.8125rem; }
        .compare-table thead th.highlight { color: var(--accent-deep); }
        .compare-table tbody td { padding: 0.875rem 1.25rem; border-bottom: 1px solid var(--light-border); vertical-align: middle; }
        .compare-table tbody tr:last-child td { border-bottom: none; }
        .compare-table tbody td:first-child { font-weight: 500; color: var(--text-dark); }
        .compare-check { color: var(--accent-strong); font-weight: 700; font-size: 1.125rem; }
        .compare-x { color: rgba(154,104,80,0.35); font-weight: 700; font-size: 1.125rem; }
        .compare-partial { color: var(--accent-strong); font-size: 0.75rem; font-weight: 500; }
        .compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
        @media (max-width: 640px) {
            .compare-table { font-size: 0.75rem; min-width: 500px; }
            .compare-table thead th, .compare-table tbody td { padding: 0.625rem 0.75rem; }
        }

        /* ══════════════════════════════════════
           How It Works
           ══════════════════════════════════════ */
        .how-section { padding: 6rem 0; }
        .how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; position: relative; }
        .how-grid::before { content: ''; position: absolute; top: 36px; left: calc(16.66% + 1rem); right: calc(16.66% + 1rem); height: 2px; background: linear-gradient(90deg, var(--accent-soft), var(--accent), var(--accent-soft)); opacity: 0.3; z-index: 0; }
        .how-step { text-align: center; position: relative; z-index: 1; background: rgba(255,255,255,0.55); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border: 1px solid rgba(154,104,80,0.1); border-radius: 16px; padding: 2rem 1.5rem 1.75rem; transition: transform 0.5s cubic-bezier(.22,1,.36,1), box-shadow 0.5s cubic-bezier(.22,1,.36,1), border-color 0.4s ease; }
        .how-step:hover { box-shadow: 0 24px 64px rgba(139,90,66,0.14), 0 6px 20px rgba(0,0,0,0.05); transform: translateY(-6px); border-color: rgba(154,104,80,0.25); }
        .how-number { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(160deg, #9a6850 0%, #7a5038 20%, #5e3825 40%, #9a6850 55%, #c08868 62%, #9a6850 70%, #6e4530 85%, #7a5038 100%); display: grid; place-items: center; margin: 0 auto 1.25rem; font-family: 'Fraunces', Georgia, serif; font-size: 1.5rem; font-weight: 600; color: #f5ede6; border: 3px solid rgba(255,255,255,0.82); box-shadow: 0 6px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -1px 0 rgba(0,0,0,0.2), 0 0 0 4px rgba(154,104,80,0.08); position: relative; overflow: hidden; }
.how-number::before { content: ""; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.15) 55%, transparent 70%); transition: left 0.5s ease; pointer-events: none; }
.how-step:hover .how-number::before { left: 120%; }
        .how-step h3 { font-family: 'Fraunces', Georgia, serif; font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.5rem; }
        .how-step p { font-size: 0.875rem; color: var(--light-muted); line-height: 1.6; max-width: 280px; margin: 0 auto; font-family: 'Fraunces', Georgia, serif; }
        .how-code { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: var(--dark); color: var(--accent); border-radius: 8px; font-family: 'Fira Code', monospace; font-size: 0.8125rem; margin-top: 0.75rem; }
        @media (max-width: 768px) { .how-grid { grid-template-columns: 1fr; } .how-grid::before { display: none; } }

        /* ══════════════════════════════════════
           Scroll Scene — Execution Pipeline 3D Rail
           ══════════════════════════════════════ */
        .pipeline-scene {
            padding: 6rem 0;
            background: linear-gradient(180deg, var(--light) 0%, var(--light-bg) 100%);
            border-top: 1px solid var(--light-border);
            border-bottom: 1px solid var(--light-border);
        }
        .pipeline-layout {
            display: grid;
            grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
            gap: 2rem;
            align-items: center;
        }
        .pipeline-caption {
            font-size: 0.75rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: rgba(154,104,80,0.84);
            margin-bottom: 0.75rem;
            font-weight: 600;
        }
        .pipeline-list {
            margin-top: 1.1rem;
            list-style: none;
            display: grid;
            gap: 0.6rem;
            color: var(--light-muted);
            font-size: 0.9rem;
        }
        .pipeline-list li { display: flex; align-items: center; gap: 0.55rem; }
        .pipeline-list li::before {
            content: '';
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: linear-gradient(160deg, #9a6850 0%, #7a5038 45%, #c08868 100%);
            box-shadow: 0 0 0 3px rgba(154,104,80,0.12);
            flex-shrink: 0;
        }
        .pipeline-visual {
            --scene-progress: 0;
            perspective: 1100px;
            border-radius: 18px;
            border: 1px solid rgba(154,104,80,0.18);
            background: radial-gradient(circle at 18% 16%, rgba(255,255,255,0.75), rgba(255,255,255,0.42) 38%, rgba(247,245,242,0.85) 100%);
            padding: clamp(1rem, 2.2vw, 1.6rem);
            box-shadow: 0 24px 56px rgba(70,46,33,0.12), inset 0 1px 0 rgba(255,255,255,0.72);
            transform: translateY(calc((1 - var(--scene-progress)) * 28px));
            transition: transform 0.35s ease-out;
        }
        .pipeline-rail {
            position: relative;
            min-height: 310px;
            transform-style: preserve-3d;
            transform: rotateX(calc(9deg - (var(--scene-progress) * 7deg))) rotateY(calc(-12deg + (var(--scene-progress) * 8deg)));
            transition: transform 0.2s linear;
        }
        .pipeline-beam {
            position: absolute;
            inset: 14% 7% 18% 7%;
            border-radius: 20px;
            background:
                linear-gradient(110deg, rgba(154,104,80,0.08) 0%, rgba(154,104,80,0.26) 50%, rgba(192,136,104,0.08) 100%),
                repeating-linear-gradient(90deg, rgba(255,255,255,0.25) 0 2px, transparent 2px 46px);
            border: 1px solid rgba(154,104,80,0.24);
            box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35), 0 24px 34px rgba(38,24,17,0.16);
        }
        .pipeline-node {
            position: absolute;
            left: 9%;
            right: 9%;
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 0.9rem;
            border-radius: 12px;
            border: 1px solid rgba(154,104,80,0.24);
            background: linear-gradient(160deg, rgba(255,255,255,0.8), rgba(244,238,233,0.72));
            box-shadow: 0 16px 20px rgba(40,26,18,0.12);
            transform: translate3d(0, calc((1 - var(--scene-progress)) * 28px), calc(var(--z-depth, 0px) + (var(--scene-progress) * 16px)));
            opacity: calc(0.35 + (var(--scene-progress) * 0.65));
            transition: transform 0.3s ease, opacity 0.25s ease, border-color 0.2s ease, box-shadow 0.2s ease;
        }
        .pipeline-node .step-id {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            font-size: 0.72rem;
            font-weight: 700;
            color: #f5ede6;
            background: linear-gradient(160deg, #9a6850 0%, #6e4530 45%, #c08868 100%);
        }
        .pipeline-node .step-meta {
            font-size: 0.76rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: rgba(88,62,46,0.72);
            margin-bottom: 1px;
        }
        .pipeline-node .step-title {
            font-size: 0.93rem;
            font-weight: 600;
            color: var(--text-dark);
            line-height: 1.35;
        }
        .pipeline-node .step-status {
            font-size: 0.72rem;
            padding: 0.22rem 0.48rem;
            border-radius: 999px;
            border: 1px solid rgba(154,104,80,0.28);
            color: rgba(110,69,48,0.9);
            background: rgba(154,104,80,0.08);
            white-space: nowrap;
        }
        .pipeline-node.is-active {
            border-color: rgba(154,104,80,0.45);
            box-shadow: 0 18px 28px rgba(82,50,36,0.2), 0 0 0 1px rgba(255,255,255,0.36) inset;
        }
        .pipeline-node:nth-child(2) { top: 12%; --z-depth: 8px; }
        .pipeline-node:nth-child(3) { top: 33%; --z-depth: 28px; }
        .pipeline-node:nth-child(4) { top: 54%; --z-depth: 48px; }
        .pipeline-node:nth-child(5) { top: 75%; --z-depth: 68px; }

        /* ══════════════════════════════════════
           Scroll Scene — Evidence Receipts Stack
           ══════════════════════════════════════ */
        .receipts-scene {
            padding: 6rem 0;
            background: var(--light);
        }
        .receipts-layout {
            display: grid;
            grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
            gap: 2rem;
            align-items: center;
        }
        .receipts-stack {
            --scene-progress: 0;
            position: relative;
            min-height: 360px;
            border-radius: 18px;
            border: 1px solid rgba(154,104,80,0.16);
            background: linear-gradient(180deg, rgba(247,245,242,0.94), rgba(255,255,255,0.98));
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), 0 20px 46px rgba(64,42,30,0.1);
            padding: 1rem;
            overflow: hidden;
        }
        .receipts-stack::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 84% 12%, rgba(154,104,80,0.15), transparent 40%);
            pointer-events: none;
        }
        .receipt-card {
            position: absolute;
            left: 1rem;
            right: 1rem;
            top: 1rem;
            border-radius: 14px;
            border: 1px solid rgba(154,104,80,0.2);
            background: rgba(255,255,255,0.92);
            padding: 0.9rem 1rem;
            box-shadow: 0 14px 24px rgba(48,32,23,0.12);
            opacity: 0;
            transform: translateY(36px) scale(0.98);
            transition: opacity 0.55s cubic-bezier(.22,1,.36,1), transform 0.55s cubic-bezier(.22,1,.36,1), border-color 0.25s ease;
            transition-delay: calc(var(--receipt-index) * 90ms);
        }
        .receipts-stack.is-visible .receipt-card {
            opacity: 1;
            transform: translateY(calc(var(--stack-offset) - (var(--scene-progress) * 16px))) scale(calc(1 - (var(--receipt-index) * 0.01)));
        }
        .receipt-card.is-active { border-color: rgba(154,104,80,0.42); }
        .receipt-card h3 { font-size: 0.95rem; line-height: 1.35; margin-bottom: 0.35rem; }
        .receipt-card p { font-size: 0.79rem; color: var(--light-muted); line-height: 1.55; }
        .receipt-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            font-size: 0.7rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            padding: 0.26rem 0.52rem;
            border-radius: 999px;
            border: 1px solid rgba(154,104,80,0.3);
            color: rgba(110,69,48,0.9);
            margin-bottom: 0.55rem;
            background: rgba(154,104,80,0.06);
        }
        .receipt-card:nth-child(1) { --receipt-index: 0; --stack-offset: 0px; }
        .receipt-card:nth-child(2) { --receipt-index: 1; --stack-offset: 28px; }
        .receipt-card:nth-child(3) { --receipt-index: 2; --stack-offset: 56px; }
        .receipt-card:nth-child(4) { --receipt-index: 3; --stack-offset: 84px; }

        @media (max-width: 900px) {
            .pipeline-layout,
            .receipts-layout { grid-template-columns: 1fr; }
            .pipeline-rail { min-height: 290px; }
            .receipts-stack { min-height: 330px; }
        }

        /* ══════════════════════════════════════
           Dark Section — Scale / Performance
           ══════════════════════════════════════ */
        .dark-section {
            background:
                radial-gradient(rgba(154,104,80,0.07) 1px, transparent 1px),
                #0a0808;
            background-size: 24px 24px, auto;
            color: #fff;
            position: relative;
            overflow: hidden;
        }
        .dark-section .text-muted { color: rgba(255,255,255,0.5); }
        .scale-section {
            padding: 6rem 0;
        }
        .scale-intro {
            max-width: 700px;
            margin-bottom: 4rem;
        }
        .scale-metrics {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            position: relative;
            z-index: 1;
        }
        .scale-metric .metric-val {
            font-family: 'Fraunces', Georgia, serif;
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            font-weight: 500;
            background: linear-gradient(160deg, #9a6850 0%, #7a5038 20%, #5e3825 40%, #9a6850 55%, #c08868 62%, #9a6850 70%, #6e4530 85%, #7a5038 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1;
            margin-bottom: 0.5rem;
        }
        .scale-metric .metric-label {
            font-size: 0.9375rem;
            color: rgba(255,255,255,0.5);
        }
        @media (max-width: 640px) {
            .scale-metrics { grid-template-columns: 1fr; }
        }

        /* ══════════════════════════════════════
           Integration Section (Dark)
           ══════════════════════════════════════ */
        .integration-section {
            padding: 6rem 0;
        }
        .integration-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.25rem;
            margin-top: 3rem;
        }
        .integration-card {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s ease;
            position: relative;
        }
        .integration-card:hover {
            border-color: rgba(154, 104, 80, 0.2);
        }
        .integration-card-mock {
            padding: 1.5rem;
            min-height: 220px;
        }
        .integration-card-text {
            padding: 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.06);
        }
        .integration-card-text h3 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        .integration-card-text p {
            font-size: 0.875rem;
            color: rgba(255,255,255,0.5);
            line-height: 1.6;
            margin-bottom: 1rem;
        }
        .link-arrow {
            color: var(--accent);
            font-size: 0.875rem;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            transition: gap 0.2s ease;
        }
        .link-arrow:hover { gap: 0.625rem; }
        @media (max-width: 768px) {
            .integration-grid { grid-template-columns: 1fr; }
        }

        /* ══════════════════════════════════════
           Holographic Glare Card Effect
           ══════════════════════════════════════ */
        .glare-card {
            --m-x: 50%;
            --m-y: 50%;
            --r-x: 0deg;
            --r-y: 0deg;
            --bg-x: 50%;
            --bg-y: 50%;
            --gc-duration: 300ms;
            --gc-easing: ease;
            --gc-opacity: 0;
            transform: perspective(600px) rotateY(var(--r-x)) rotateX(var(--r-y));
            transition: transform var(--gc-duration) var(--gc-easing), box-shadow 0.4s ease, border-color 0.3s ease;
            will-change: transform;
            isolation: isolate;
        }
        .glare-card:hover {
            --gc-opacity: 0.45;
        }
        .glare-spotlight {
            position: absolute;
            inset: 0;
            border-radius: inherit;
            mix-blend-mode: soft-light;
            clip-path: inset(0 0 0 0 round 16px);
            opacity: var(--gc-opacity);
            transition: opacity var(--gc-duration) var(--gc-easing);
            background: radial-gradient(
                farthest-corner circle at var(--m-x) var(--m-y),
                rgba(255,255,255,0.5) 10%,
                rgba(255,255,255,0.3) 20%,
                rgba(0,0,0,0) 80%
            );
            pointer-events: none;
            z-index: 5;
        }
        .glare-foil {
            position: absolute;
            inset: 0;
            border-radius: inherit;
            mix-blend-mode: color-dodge;
            clip-path: inset(0 0 1px 0 round 16px);
            opacity: var(--gc-opacity);
            transition: opacity var(--gc-duration) var(--gc-easing);
            pointer-events: none;
            z-index: 6;
            will-change: background;
            --foil-step: 5%;
            background-blend-mode: hue, hue, hue, overlay;
            background:
                url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.99994 3.419C2.99994 3.419 21.6142 7.43646 22.7921 12.153C23.97 16.8695 3.41838 23.0306 3.41838 23.0306' stroke='%23888' stroke-width='5' stroke-miterlimit='3.86874' stroke-linecap='round' style='mix-blend-mode:darken'/%3E%3C/svg%3E") center/100% no-repeat,
                repeating-linear-gradient(
                    0deg,
                    rgb(20,20,25) calc(var(--foil-step) * 1),
                    rgb(100,100,115) calc(var(--foil-step) * 2),
                    rgb(200,200,215) calc(var(--foil-step) * 3),
                    rgb(255,255,255) calc(var(--foil-step) * 4),
                    rgb(180,180,200) calc(var(--foil-step) * 5),
                    rgb(50,50,60) calc(var(--foil-step) * 6),
                    rgb(20,20,25) calc(var(--foil-step) * 7)
                ) 0% var(--bg-y)/200% 700% no-repeat,
                repeating-linear-gradient(
                    128deg,
                    #08080c 0%,
                    hsl(230,8%,58%) 3.8%,
                    hsl(230,8%,58%) 4.5%,
                    hsl(230,8%,58%) 5.2%,
                    #08080c 10%,
                    #08080c 12%
                ) var(--bg-x) var(--bg-y)/300% no-repeat,
                radial-gradient(
                    farthest-corner circle at var(--m-x) var(--m-y),
                    rgba(255,255,255,0.12) 12%,
                    rgba(200,200,210,0.08) 20%,
                    rgba(150,150,165,0.15) 120%
                ) var(--bg-x) var(--bg-y)/300% no-repeat;
        }
        .glare-foil::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: inherit;
            mix-blend-mode: exclusion;
            background-size: 100%, 200% 400%, 800%, 200%;
            background-position: center, 0% var(--bg-y), calc(var(--bg-x) * -1) calc(var(--bg-y) * -1), var(--bg-x) var(--bg-y);
            background-blend-mode: soft-light, hue, hard-light;
        }
        @media (prefers-reduced-motion: reduce) {
            .glare-card {
                transform: none !important;
                --gc-opacity: 0 !important;
            }
        }

        /* ══════════════════════════════════════
           Chat Demo Section
           ══════════════════════════════════════ */
        .chat-section {
            padding: 5rem 0;
            background: linear-gradient(180deg, #0a0808 0%, #121010 50%, #0a0808 100%);
            color: #fff;
            position: relative;
            overflow: hidden;
        }
        .chat-window {
            max-width: 720px;
            margin: 2.5rem auto 0;
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 16px;
            overflow: visible;
            display: flex;
            flex-direction: column;
            height: 480px;
        }
        .chat-header {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 14px 20px;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            background: rgba(255,255,255,0.02);
            border-radius: 16px 16px 0 0;
        }
        .chat-header-avatar {
            width: 28px; height: 28px;
        }
        .chat-header-avatar img { width: 100%; height: 100%; object-fit: contain; }
        .chat-header-title { font-size: 0.875rem; font-weight: 600; }
        .chat-header-status { font-size: 0.6875rem; color: rgba(255,255,255,0.4); }
        .chat-header-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; margin-left: -6px; margin-right: 2px; }
        .chat-mode-indicator {
            display: flex; align-items: center; gap: 5px;
            padding: 3px 8px; border-radius: 20px;
            background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
            cursor: default; user-select: none;
        }
        .chat-mode-dot {
            width: 6px; height: 6px; border-radius: 50%;
            background: rgba(255,255,255,0.3);
            transition: background 0.3s ease;
        }
        .chat-mode-dot.live { background: #4ade80; }
        .chat-mode-dot.demo { background: rgba(255,255,255,0.3); }
        .chat-mode-dot.offline { background: #f87171; }
        .chat-mode-label {
            font-size: 0.625rem; font-weight: 500; letter-spacing: 0.03em;
            color: rgba(255,255,255,0.4);
        }
        .chat-messages {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            scroll-behavior: smooth;
        }
        .chat-messages::-webkit-scrollbar { width: 4px; }
        .chat-messages::-webkit-scrollbar-track { background: transparent; }
        .chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }
        .chat-msg { display: flex; gap: 10px; max-width: 88%; animation: chatMsgIn 0.3s cubic-bezier(.22,1,.36,1); }
        .chat-msg-user { align-self: flex-end; flex-direction: row-reverse; }
        .chat-msg-avatar {
            width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
            display: grid; place-items: center; overflow: hidden;
        }
        .chat-msg-ai .chat-msg-avatar img { width: 100%; height: 100%; object-fit: cover; }
        .chat-msg-user .chat-msg-avatar {
            background: rgba(255,255,255,0.1);
            color: rgba(255,255,255,0.6);
            font-size: 0.625rem; font-weight: 600;
        }
        .chat-bubble {
            padding: 10px 14px;
            border-radius: 12px;
            font-size: 0.8125rem;
            line-height: 1.6;
        }
        .chat-msg-ai .chat-bubble {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.08);
            color: rgba(255,255,255,0.85);
        }
        .chat-msg-user .chat-bubble {
            background: linear-gradient(160deg, #9a6850 0%, #7a5038 20%, #5e3825 40%, #9a6850 55%, #c08868 62%, #9a6850 70%, #6e4530 85%, #7a5038 100%);
            border: 1px solid rgba(255,255,255,0.18);
            box-shadow: 0 4px 14px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.20), inset 0 -1px 0 rgba(0,0,0,0.18);
            color: #f5ede6;
        }
        .chat-typing { display: flex; gap: 4px; padding: 4px 0; }
        .chat-typing-dot {
            width: 5px; height: 5px; border-radius: 50%;
            background: rgba(154,104,80,0.5);
            animation: typingBounce 1.2s ease-in-out infinite;
        }
        .chat-typing-dot:nth-child(2) { animation-delay: 0.15s; }
        .chat-typing-dot:nth-child(3) { animation-delay: 0.3s; }
        @keyframes typingBounce {
            0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
            30% { transform: translateY(-4px); opacity: 1; }
        }
        @keyframes chatMsgIn {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .chat-input-area {
            padding: 12px 16px;
            border-top: 1px solid rgba(255,255,255,0.06);
            background: rgba(255,255,255,0.02);
            overflow: visible;
            position: relative;
        }
        .chat-input-wrap {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.06) !important;
            border-radius: 12px;
            overflow: visible;
            transition: box-shadow 0.3s ease;
        }
        .chat-input-wrap:focus-within {
            border-color: rgba(255,255,255,0.10) !important;
            box-shadow: 0 0 8px rgba(255,255,255,0.03);
        }
        .chat-textarea {
            width: 100%;
            min-height: 44px;
            max-height: 120px;
            padding: 12px 14px;
            background: transparent;
            border: none;
            color: #f0ebe6;
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.8125rem;
            line-height: 1.5;
            resize: none;
            outline: none !important;
        }
        .chat-textarea:focus,
        .chat-textarea:focus-visible,
        .chat-input-wrap:focus-visible {
            outline: none !important;
        }
        .chat-textarea::placeholder { color: rgba(255,255,255,0.3); }
        .chat-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 6px 10px;
        }
        .chat-toolbar-left { display: flex; align-items: center; gap: 6px; }
        .chat-model-btn {
            display: flex; align-items: center; gap: 5px;
            padding: 4px 8px; border-radius: 6px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.08);
            color: rgba(255,255,255,0.5);
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.6875rem; font-weight: 500;
            cursor: pointer; transition: all 0.2s ease;
        }
        .chat-model-btn:hover { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }
        .chat-model-btn svg { width: 10px; height: 10px; opacity: 0.5; }
        .chat-welcome {
            display: flex; flex-direction: column; align-items: center;
            padding: 32px 0 12px; gap: 10px;
        }
        .chat-welcome-logo {
            width: 72px; height: 72px;
        }
        .chat-welcome-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
        .chat-welcome-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.25rem; font-weight: 600; color: #f0ebe6;
            letter-spacing: -0.01em; margin-top: 2px;
        }
        .chat-welcome-sub {
            font-size: 0.8rem; color: rgba(255,255,255,0.35);
        }
        .chat-model-dropdown {
            position: absolute;
            bottom: 100%;
            left: 0;
            margin-bottom: 8px;
            background: #1a1410; border: 1px solid rgba(255,255,255,0.1);
            border-radius: 8px; padding: 4px; min-width: 220px;
            max-height: 280px; overflow-y: auto;
            box-shadow: 0 -12px 40px rgba(0,0,0,0.5);
            opacity: 0; visibility: hidden; transform: translateY(-4px);
            transition: all 0.2s ease; z-index: 120;
        }
        .chat-model-dropdown::-webkit-scrollbar { width: 3px; }
        .chat-model-dropdown::-webkit-scrollbar-track { background: transparent; }
        .chat-model-dropdown::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }
        .chat-model-dropdown-label {
            padding: 6px 10px 3px; font-size: 0.625rem; font-weight: 600;
            color: rgba(154,104,80,0.5); text-transform: uppercase;
            letter-spacing: 0.06em;
        }
        .chat-model-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
        .chat-model-option {
            display: flex; align-items: center; justify-content: space-between;
            padding: 7px 10px; border-radius: 5px; font-size: 0.75rem;
            color: rgba(255,255,255,0.7); cursor: pointer;
            transition: background 0.15s ease;
        }
        .chat-model-option:hover { background: rgba(255,255,255,0.06); }
        .chat-model-option.active { color: var(--accent-soft); }
        .chat-model-option .check-icon { width: 12px; height: 12px; color: var(--accent-soft); }
        .chat-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.08); }
        .chat-attach-btn {
            display: grid; place-items: center;
            width: 28px; height: 28px; border-radius: 6px;
            background: rgba(255,255,255,0.05); border: none;
            color: rgba(255,255,255,0.3); cursor: pointer;
            transition: all 0.2s ease;
        }
        .chat-attach-btn:hover { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); }
        .chat-attach-btn svg { width: 14px; height: 14px; }
        .chat-send-btn {
            display: grid; place-items: center;
            width: 28px; height: 28px; border-radius: 6px;
            background: rgba(255,255,255,0.05); border: none;
            color: rgba(255,255,255,0.2); cursor: pointer;
            transition: all 0.2s ease;
        }
        .chat-send-btn.active { color: var(--accent-soft); background: rgba(154,104,80,0.15); }
        .chat-send-btn.active:hover { background: rgba(154,104,80,0.25); }
        .chat-send-btn svg { width: 14px; height: 14px; }
        .chat-model-wrap { position: relative; z-index: 130; }
        @media (max-width: 768px) {
            .chat-window { height: 420px; margin: 2rem auto 0; }
            .chat-msg { max-width: 95%; }
        }

        /* ══════════════════════════════════════
           CTA Section (Light)
           ══════════════════════════════════════ */
        .cta-section {
            padding: 6rem 0;
            background:
                radial-gradient(rgba(154,104,80,0.05) 1px, transparent 1px),
                #0a0808;
            background-size: 24px 24px, auto;
            color: #fff;
            position: relative;
            overflow: hidden;
        }
        .cta-grid {
            position: relative;
            z-index: 1;
        }
        .cta-main h2 {
            font-family: 'Fraunces', Georgia, serif;
            font-size: clamp(2rem, 4vw, 3.5rem);
            font-weight: 500;
            line-height: 1.1;
            margin-bottom: 1rem;
            color: #f4eee8;
        }
        .cta-main p {
            font-size: 1.0625rem;
            color: rgba(255,255,255,0.55);
            margin-bottom: 2rem;
            max-width: 540px;
        }
        .cta-card {
            padding: 1.5rem;
            border: 1px solid var(--light-border);
            border-radius: 12px;
            transition: all 0.2s ease;
        }
        .cta-card:hover { border-color: var(--accent-strong); }
        .cta-card-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            border: 1px solid var(--light-border);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            color: var(--accent-strong);
        }
        .cta-card h3 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.375rem;
        }
        .cta-card p {
            font-size: 0.875rem;
            color: var(--light-muted);
            margin-bottom: 0.75rem;
        }
        @media (max-width: 768px) {
            .cta-grid { grid-template-columns: 1fr; }
        }
        .cta-ribbon {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
            display: none;
        }
        .cta-ribbon canvas {
            width: 100% !important;
            height: 100% !important;
            display: block;
        }
        .cta-ribbon-video {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }
        .cta-ribbon-video video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* ══════════════════════════════════════
           Global Connection Section
           ══════════════════════════════════════ */
        .global-connection-section {
            padding: 5rem 0;
            background:
                radial-gradient(rgba(154,104,80,0.05) 1px, transparent 1px),
                #0a0808;
            background-size: 24px 24px, auto;
            color: #fff;
            position: relative;
            overflow: hidden;
        }
        .global-connection-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }
        .global-map-panel {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .brand-globe-mark {
            width: min(430px, 100%);
            aspect-ratio: 1 / 1;
            border-radius: 50%;
            background: radial-gradient(circle at 28% 18%, rgba(255,255,255,0.14), transparent 28%),
                        radial-gradient(circle at 72% 78%, rgba(128,240,255,0.09), transparent 32%),
                        radial-gradient(circle at 50% 50%, rgba(20,16,28,0.98), rgba(5,5,12,1) 72%);
            box-shadow: inset 0 0 90px rgba(154,104,80,0.16),
                        inset 0 -36px 80px rgba(124,94,255,0.06),
                        0 30px 74px rgba(0,0,0,0.62),
                        0 0 52px rgba(154,104,80,0.24);
            overflow: visible;
            cursor: grab;
            position: relative;
        }
        .brand-globe-mark:active { cursor: grabbing; }
        .world-globe-viz {
            display: block;
            width: 100%;
            height: 100%;
            position: absolute;
            inset: 0;
            border-radius: 50%;
            opacity: 0;
            transition: opacity 0.8s ease;
            z-index: 2;
        }
        .world-globe-viz.ready { opacity: 1; }
        .world-globe-fallback {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            inset: 0;
            z-index: 1;
        }
        .world-globe-viz canvas {
            width: 100% !important;
            height: 100% !important;
            display: block;
        }
        .brand-globe-mark:hover {
            box-shadow:
              inset 0 0 95px rgba(154,104,80,0.48),
              inset 0 -36px 80px rgba(124,94,255,0.08),
              0 30px 74px rgba(0,0,0,0.62),
              0 0 60px rgba(154,104,80,0.36);
        }
        .world-globe-wrap {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 20%, rgba(154,104,80,0.22), rgba(10,8,8,0.9) 70%);
            border: 1px solid rgba(154,104,80,0.28);
            box-shadow: 0 18px 42px rgba(0,0,0,0.3), inset 0 0 24px rgba(154,104,80,0.2);
            overflow: hidden;
        }
        .world-globe-map {
            fill: rgba(154,104,80,0.9);
            filter: drop-shadow(0 0 3px rgba(154,104,80,0.45));
        }
        .world-globe-lines {
            stroke: rgba(154,104,80,0.25);
            stroke-width: 0.7;
            fill: none;
        }
        .map-grid { stroke: rgba(154,104,80,0.18); stroke-width: 0.5; fill: none; }
        .map-route { stroke: rgba(154,104,80,0.85); stroke-width: 1.2; fill: none; stroke-dasharray: 6 4; }
        .map-node { fill: rgba(154,104,80,0.95); }
        .route-cool { stroke: rgba(150,230,255,0.9); }
        .world-map-image { width: 90%; height: auto; opacity: 0.5; filter: brightness(0.7) sepia(0.3); border-radius: 50%; }
        .logo-atmosphere { position: absolute; inset: -4%; border-radius: 50%; background: radial-gradient(circle, transparent 60%, rgba(154,104,80,0.08) 80%, transparent 100%); pointer-events: none; z-index: 3; opacity: 0.22; }
        @media (max-width: 768px) {
            .global-connection-grid { grid-template-columns: 1fr; }
            .brand-globe-mark { width: min(300px, 80vw); margin: 0 auto; }
        }

        /* ══════════════════════════════════════
           Footer — Massive, Stripe-level
           ══════════════════════════════════════ */
        .footer {
            background: var(--light-bg);
            border-top: 1px solid var(--light-border);
            padding: 4rem 0 3rem;
            font-family: 'Fraunces', Georgia, serif;
            line-height: 1.5;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            margin-bottom: 3rem;
        }
        .footer-col h4 {
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            margin-bottom: 1rem;
            color: var(--text-dark);
        }
        .footer-col ul {
            list-style: none;
        }
        .footer-col li {
            margin-bottom: 0.5rem;
        }
        .footer-col a {
            font-size: 0.8125rem;
            color: var(--light-muted);
            text-decoration: none;
            transition: color 0.2s ease;
        }
        .footer-col a:hover { color: var(--accent-strong); }
        .footer-bottom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 2rem;
            border-top: 1px solid var(--light-border);
            flex-wrap: wrap;
            gap: 1rem;
        }
        .footer-logo-area {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .footer-logo-area .mark {
            width: 32px;
            aspect-ratio: 1 / 1;
            flex-shrink: 0;
            display: grid;
            place-items: center;
        }
        .footer-logo-area .mark img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            display: block;
        }
        .footer-copyright {
            font-size: 0.8125rem;
            color: var(--light-muted);
        }
        @media (max-width: 768px) {
            .footer-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 500px) {
            .footer-grid { grid-template-columns: 1fr; }
        }

        /* ══════════════════════════════════════
           Animations — SDP-style cinematic reveals
           ══════════════════════════════════════ */
        .fade-in {
            opacity: 0;
            transform: translateY(48px) translateZ(0);
            transition: opacity 1s cubic-bezier(.22,1,.36,1),
                        transform 1s cubic-bezier(.22,1,.36,1);
        }
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0) translateZ(0);
        }
        .fade-in-delay-1 { transition-delay: 0.15s; }
        .fade-in-delay-2 { transition-delay: 0.3s; }
        .fade-in-delay-3 { transition-delay: 0.45s; }

        /* Light link arrows */
        .link-arrow-light {
            color: var(--accent-strong);
            font-size: 0.875rem;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            transition: gap 0.4s cubic-bezier(.22,1,.36,1), color 0.3s ease;
        }
        .link-arrow-light:hover { gap: 0.75rem; color: var(--accent-deep); }

        /* ══════════════════════════════════════
           Enterprise Section
           ══════════════════════════════════════ */
        .enterprise-section { padding: 6rem 0; background: var(--light-bg); border-top: 1px solid var(--light-border); }
        .enterprise-intro { margin-bottom: 3rem; max-width: 800px; }
        .enterprise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; perspective: 1200px; }
        .enterprise-card {
            background: var(--light-card); border: 1px solid var(--light-border); border-radius: 16px; padding: 2rem;
            position: relative; overflow: hidden; transform-style: preserve-3d;
            transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s cubic-bezier(.22,1,.36,1), border-color 0.3s ease;
        }
        .enterprise-card::before {
            content: ''; position: absolute; inset: -1px; border-radius: 17px;
            background: linear-gradient(135deg, rgba(154,104,80,0), rgba(154,104,80,0.3), rgba(154,104,80,0));
            opacity: 0; transition: opacity 0.4s ease; z-index: -1;
        }
        .enterprise-card::after {
            content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
            background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.08) 45%, rgba(255,255,255,0.14) 50%, rgba(255,255,255,0.08) 55%, transparent 70%);
            transition: left 0.6s cubic-bezier(.22,1,.36,1); pointer-events: none; z-index: 2;
        }
        .enterprise-card:hover::before { opacity: 1; }
        .enterprise-card:hover::after { left: 140%; }
        .enterprise-card:hover { box-shadow: 0 24px 64px rgba(154,104,80,0.18), 0 8px 24px rgba(0,0,0,0.08), 0 0 0 1px rgba(154,104,80,0.2); border-color: rgba(154,104,80,0.35); }
        .enterprise-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(160deg, #9a6850 0%, #6e4530 40%, #c08868 62%, #7a5038 100%); display: grid; place-items: center; margin-bottom: 1.25rem; color: #f5ede6; box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -1px 0 rgba(0,0,0,0.2); }
        .enterprise-card h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.5rem; }
        .enterprise-card p { font-size: 0.875rem; color: var(--light-muted); line-height: 1.65; }
        @media (max-width: 768px) { .enterprise-grid { grid-template-columns: 1fr; } }

        /* ══════════════════════════════════════
           Personas Section
           ══════════════════════════════════════ */
        .personas-section { padding: 6rem 0; }
        .personas-intro { margin-bottom: 3rem; max-width: 800px; }
        .personas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; perspective: 1200px; }
        .persona-card {
            background: var(--light-card);
            border: 1px solid var(--light-border);
            border-radius: 16px;
            padding: 2.5rem;
            position: relative;
            overflow: hidden;
            transform-style: preserve-3d;
            transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s cubic-bezier(.22,1,.36,1), border-color 0.3s ease;
        }
        /* Glow layer behind card */
        .persona-card::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: 17px;
            background: linear-gradient(135deg, rgba(154,104,80,0), rgba(154,104,80,0.3), rgba(154,104,80,0));
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: -1;
        }
        /* Light sweep across card */
        .persona-card::after {
            content: '';
            position: absolute;
            top: 0; left: -100%; width: 60%; height: 100%;
            background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.08) 45%, rgba(255,255,255,0.14) 50%, rgba(255,255,255,0.08) 55%, transparent 70%);
            transition: left 0.6s cubic-bezier(.22,1,.36,1);
            pointer-events: none;
            z-index: 2;
        }
        .persona-card:hover::before { opacity: 1; }
        .persona-card:hover::after { left: 140%; }

        /* Morphic glass parity across card surfaces */
        .bento-card,
        .persona-card,
        .enterprise-card,
        .cta-card,
        .how-step,
        .compare-table-wrap {
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255,255,255,0.14);
            box-shadow: 0 16px 42px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.22);
        }
        .persona-card:hover {
            box-shadow: 0 24px 64px rgba(154,104,80,0.18), 0 8px 24px rgba(0,0,0,0.08), 0 0 0 1px rgba(154,104,80,0.2);
            border-color: rgba(154,104,80,0.35);
        }
        .persona-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--light-bg); border: 1px solid var(--light-border); display: grid; place-items: center; margin-bottom: 1.25rem; color: var(--accent-deep); transition: all 0.4s cubic-bezier(.22,1,.36,1); position: relative; overflow: hidden; }
        .persona-card:hover .persona-icon { background: linear-gradient(160deg, #9a6850 0%, #7a5038 20%, #5e3825 40%, #9a6850 55%, #c08868 62%, #9a6850 70%, #6e4530 85%, #7a5038 100%); border-color: rgba(255,255,255,0.14); box-shadow: 0 4px 14px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.22), inset 0 -1px 0 rgba(0,0,0,0.18); color: #f5ede6; }
        .persona-icon::before { content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.15) 55%, transparent 70%); transition: left 0.5s ease; pointer-events: none; }
        .persona-card:hover .persona-icon::before { left: 120%; }
        .persona-card h3 { font-family: 'Fraunces', Georgia, serif; font-size: 1.25rem; font-weight: 500; margin-bottom: 0.75rem; }
        .persona-card p { font-size: 0.9375rem; color: var(--light-muted); line-height: 1.65; margin-bottom: 1.25rem; }
        @media (max-width: 768px) { .personas-grid { grid-template-columns: 1fr; } }

        /* ══════════════════════════════════════
           Newsletter Section
           ══════════════════════════════════════ */
        .newsletter-section { padding: 5rem 0; background: var(--light-bg); border-top: 1px solid var(--light-border); }
        .newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
        .newsletter-text { max-width: 480px; }
        .newsletter-text h2 { margin-bottom: 0.5rem; }
        .newsletter-text p { font-size: 0.9375rem; }
        .newsletter-form { display: flex; gap: 0.75rem; flex: 1; max-width: 480px; }
        .newsletter-input { flex: 1; padding: 0.875rem 1.25rem; background: var(--light-card); border: 1px solid var(--light-border); border-radius: 10px; font-family: inherit; font-size: 0.9375rem; color: var(--text-dark); outline: none; transition: border-color 0.2s ease; }
        .newsletter-input:focus { border-color: var(--accent-strong); box-shadow: 0 0 0 3px rgba(139,90,66,0.12); }
        .newsletter-input::placeholder { color: rgba(154,104,80,0.4); }
        @media (max-width: 640px) { .newsletter-inner { flex-direction: column; align-items: flex-start; } .newsletter-form { width: 100%; flex-direction: column; } }

        /* ══════════════════════════════════════
           Mobile Menu
           ══════════════════════════════════════ */
        .mobile-menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--light-border); border-radius: 8px; background: none; cursor: pointer; align-items: center; justify-content: center; color: var(--text-dark); }
        @media (max-width: 900px) { .mobile-menu-btn { display: flex; } }
        .mobile-menu { position: fixed; inset: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); z-index: 150; display: none; flex-direction: column; padding: 6rem 2rem 2rem; }
        .mobile-menu.open { display: flex; }
        .mobile-menu a { font-size: 1.25rem; font-weight: 500; color: var(--text-dark); text-decoration: none; padding: 1rem 0; border-bottom: 1px solid var(--light-border); transition: color 0.2s; }
        .mobile-menu a:hover { color: var(--accent-strong); }
        .mobile-menu-close { position: absolute; top: 1rem; right: 1.5rem; width: 40px; height: 40px; border: 1px solid var(--light-border); border-radius: 8px; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-dark); font-size: 1.25rem; }

        /* ══════════════════════════════════════
           Animation Variants — SDP-style
           ══════════════════════════════════════ */
        .fade-in-left {
            opacity: 0; transform: translateX(-48px) translateZ(0);
            transition: opacity 1s cubic-bezier(.22,1,.36,1), transform 1s cubic-bezier(.22,1,.36,1);
        }
        .fade-in-left.visible { opacity: 1; transform: translateX(0) translateZ(0); }
        .fade-in-right {
            opacity: 0; transform: translateX(48px) translateZ(0);
            transition: opacity 1s cubic-bezier(.22,1,.36,1), transform 1s cubic-bezier(.22,1,.36,1);
        }
        .fade-in-right.visible { opacity: 1; transform: translateX(0) translateZ(0); }
        .fade-in-scale {
            opacity: 0; transform: scale(0.92) translateZ(0);
            transition: opacity 0.9s cubic-bezier(.22,1,.36,1), transform 0.9s cubic-bezier(.22,1,.36,1);
        }
        .fade-in-scale.visible { opacity: 1; transform: scale(1) translateZ(0); }
        .fade-in-delay-4 { transition-delay: 0.48s; }
        .fade-in-delay-5 { transition-delay: 0.6s; }

        /* Card pop — SDP-style clean pop-up entrance */
        .card-pop {
            opacity: 0;
            transform: translateY(40px) scale(0.96) translateZ(0);
            transition: opacity 0.7s cubic-bezier(.22,1,.36,1),
                        transform 0.7s cubic-bezier(.22,1,.36,1);
        }
        .card-pop.visible {
            opacity: 1;
            transform: translateY(0) scale(1) translateZ(0);
        }
        .card-pop-delay-1 { transition-delay: 0.15s; }
        .card-pop-delay-2 { transition-delay: 0.3s; }
        .card-pop-delay-3 { transition-delay: 0.45s; }

        /* ══════════════════════════════════════
           Futuristic Micro-interactions
           ══════════════════════════════════════ */

        /* 1. Bento card light sweep on hover */
        .bento-card::after {
            content: '';
            position: absolute;
            top: 0; left: -100%; width: 60%; height: 100%;
            background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.06) 45%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.06) 55%, transparent 70%);
            transition: left 0.7s cubic-bezier(.22,1,.36,1);
            pointer-events: none;
            z-index: 10;
        }
        .bento-card:hover::after { left: 140%; }

        /* Bento card glow — GPU-friendly (opacity on pseudo, not box-shadow animation) */
        .bento-card::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: 17px;
            background: linear-gradient(135deg, rgba(154,104,80,0.08), rgba(154,104,80,0.22), rgba(154,104,80,0.08));
            opacity: 0;
            transition: opacity 0.5s ease;
            z-index: -1;
            pointer-events: none;
        }
        .bento-card:hover::before { opacity: 1; }

        /* 2. Breathing glow on hero CTA — GPU-friendly (scale pulse, not box-shadow) */
        @keyframes btn-breathe {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.03); opacity: 0.92; }
        }
        .btn-hero {
            animation: btn-breathe 3s ease-in-out infinite;
        }

        /* 3. Compare table row hover glass */
        .compare-table tbody tr {
            transition: background 0.3s ease;
        }
        .compare-table tbody tr:hover {
            background: rgba(154,104,80,0.04);
        }
        html.dark-mode .compare-table tbody tr:hover {
            background: rgba(154,104,80,0.08);
        }

        /* 4. How-it-works timeline dot pulse */
        @keyframes dot-travel {
            0% { left: 0; opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { left: 100%; opacity: 0; }
        }
        .how-grid::after {
            content: '';
            position: absolute;
            top: 35px;
            left: calc(16.66% + 1rem);
            width: 8px; height: 8px;
            border-radius: 50%;
            background: var(--accent);
            box-shadow: 0 0 12px var(--accent), 0 0 24px rgba(154,104,80,0.3);
            animation: dot-travel 4s ease-in-out infinite;
            z-index: 1;
        }
        @media (max-width: 768px) { .how-grid::after { display: none; } }

        /* 5. Newsletter subscribe button shimmer */
        @keyframes shimmer-sweep {
            0% { left: -100%; }
            100% { left: 200%; }
        }
        .newsletter-form .btn-nav-primary {
            position: relative;
            overflow: hidden;
        }
        .newsletter-form .btn-nav-primary::after {
            content: '';
            position: absolute;
            top: 0; left: -100%; width: 50%; height: 100%;
            background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
            animation: shimmer-sweep 3s ease-in-out infinite;
            pointer-events: none;
        }

        /* 7. Cursor spotlight on dark sections */
        .cursor-spotlight {
            position: absolute;
            top: 0; left: 0;
            width: 700px;
            height: 700px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(154,104,80,0.08) 0%, rgba(154,104,80,0.03) 30%, transparent 70%);
            pointer-events: none;
            transition: opacity 0.4s ease;
            z-index: 1;
            opacity: 0;
        }

        /* 8. Scroll progress bar */
        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-soft));
            transform-origin: left;
            transform: scaleX(0);
            z-index: 200;
            pointer-events: none;
        }

        /* 10. Nav shrink on scroll */
        .nav {
            --nav-pad: 0.875rem;
            padding: var(--nav-pad) 0;
        }
        .nav.scrolled {
            --nav-pad: 0.5rem;
        }
        .nav.scrolled .nav-logo-mark {
            width: 34px;
            transition: width 0.3s ease;
        }
        .nav.scrolled .nav-logo-text {
            font-size: 1.125rem;
            transition: font-size 0.3s ease;
        }

        /* 6. Integration card inner glow on hover */
        .integration-card::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 50% 0%, rgba(154,104,80,0.12), transparent 70%);
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
        }
        .integration-card:hover::after {
            opacity: 1;
        }

        /* ══════════════════════════════════════
           Futuristic Layer 2 — Next-level effects
           ══════════════════════════════════════ */

        /* 12. Animated gradient shimmer on hero heading */
        .hero .heading-display {
            background: linear-gradient(
                90deg,
                var(--text-dark) 0%,
                var(--accent-deep) 25%,
                var(--accent) 50%,
                var(--accent-soft) 65%,
                var(--text-dark) 100%
            );
            background-size: 250% 100%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: text-shimmer 6s ease-in-out infinite;
        }
        @keyframes text-shimmer {
            0%, 100% { background-position: 0% center; }
            50% { background-position: 100% center; }
        }
        html.dark-mode .hero .heading-display {
            background: linear-gradient(
                90deg,
                #f2ede8 0%,
                #c08868 25%,
                #9a6850 50%,
                #d4a888 65%,
                #f2ede8 100%
            );
            background-size: 250% 100%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* 13. Magnetic button base */
        .btn-hero, .btn-hero-outline {
            transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.3s ease, border-color 0.3s ease;
        }

        /* 14. Typewriter caret for how-code */
        .how-code .typewriter-cursor {
            display: inline-block;
            width: 1px;
            height: 1em;
            background: var(--accent);
            margin-left: 2px;
            vertical-align: text-bottom;
            animation: blink 0.7s step-end infinite;
        }

        /* 15. Page entrance reveal */
        .page-reveal {
            position: fixed;
            inset: 0;
            background: var(--light);
            z-index: 10000;
            pointer-events: none;
            animation: reveal-wipe 0.8s cubic-bezier(.77,0,.18,1) 0.1s forwards;
        }
        html.dark-mode .page-reveal {
            background: #0a0808;
        }
        @keyframes reveal-wipe {
            0% { transform: scaleY(1); transform-origin: top; }
            100% { transform: scaleY(0); transform-origin: top; }
        }


        /* ══════════════════════════════════════
           Accessibility
           ══════════════════════════════════════ */
        .skip-link { position: absolute; top: -100px; left: 0; background: var(--accent-strong); color: #fff; padding: 0.75rem 1.5rem; z-index: 999; border-radius: 0 0 8px 0; font-weight: 600; text-decoration: none; transition: top 0.2s; }
        .skip-link:focus { top: 0; }
        *:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
        @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; }
            .fade-in, .fade-in-left, .fade-in-right, .fade-in-scale, .card-pop, .stagger-reveal, .terminal-line-reveal, .compare-check, .compare-x, .compare-partial, .pipeline-visual, .pipeline-rail, .pipeline-node, .receipt-card { opacity: 1; transform: none; filter: none; }
            .persona-icon svg, .enterprise-icon svg { stroke-dashoffset: 0; }
        }

        /* ══════════════════════════════════════
           Dark Section Enhancements — Layer 3
           ══════════════════════════════════════ */

        /* Staggered reveal on individual integration cards */
        .integration-card.stagger-reveal {
            opacity: 0;
            transform: translateY(40px) translateZ(0);
            transition: opacity 0.8s cubic-bezier(.22,1,.36,1),
                        transform 0.8s cubic-bezier(.22,1,.36,1),
                        border-color 0.3s ease;
        }
        .integration-card.stagger-reveal.visible {
            opacity: 1;
            transform: translateY(0) translateZ(0);
        }
        .integration-card.stagger-reveal:nth-child(2) { transition-delay: 0.18s; }
        .integration-card.stagger-reveal:nth-child(3) { transition-delay: 0.36s; }

        /* Horizontal scanline sweep on dark sections */
        @keyframes scanline-sweep {
            0% { transform: translateX(-100%) translateZ(0); }
            100% { transform: translateX(300%) translateZ(0); }
        }
        .dark-section::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            width: 33%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(154,104,80,0.3), rgba(154,104,80,0.5), rgba(154,104,80,0.3), transparent);
            animation: scanline-sweep 8s linear infinite;
            z-index: 1;
            pointer-events: none;
        }
        .global-connection-section::before {
            content: '';
            position: absolute;
            top: 40%;
            left: 0;
            width: 33%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(154,104,80,0.25), rgba(154,104,80,0.4), rgba(154,104,80,0.25), transparent);
            animation: scanline-sweep 10s linear 2s infinite;
            z-index: 1;
            pointer-events: none;
        }

        /* Globe orbital ring */
        @keyframes orbit-spin {
            from { transform: rotateX(65deg) rotateZ(0deg); }
            to { transform: rotateX(65deg) rotateZ(360deg); }
        }
        .globe-orbit-ring {
            position: absolute;
            width: 115%;
            height: 115%;
            top: -7.5%;
            left: -7.5%;
            border: 1px solid rgba(154,104,80,0.18);
            border-radius: 50%;
            animation: orbit-spin 14s linear infinite;
            pointer-events: none;
            z-index: 4;
        }
        .globe-orbit-ring::before {
            content: '';
            position: absolute;
            top: -5px;
            left: 50%;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--accent);
            box-shadow: 0 0 12px var(--accent), 0 0 28px rgba(154,104,80,0.5);
            transform: translateX(-50%);
        }

        /* Second orbital ring — opposite direction, different tilt */
        .globe-orbit-ring-2 {
            position: absolute;
            width: 130%;
            height: 130%;
            top: -15%;
            left: -15%;
            border: 1px dashed rgba(154,104,80,0.1);
            border-radius: 50%;
            animation: orbit-spin 20s linear reverse infinite;
            pointer-events: none;
            z-index: 4;
        }
        @keyframes orbit-spin-2 {
            from { transform: rotateX(45deg) rotateY(25deg) rotateZ(0deg); }
            to { transform: rotateX(45deg) rotateY(25deg) rotateZ(360deg); }
        }
        .globe-orbit-ring-2 { animation-name: orbit-spin-2; }

        /* Pulsing data nodes around globe */
        @keyframes node-pulse {
            0%, 100% { transform: scale(1) translateZ(0); opacity: 0.6; }
            50% { transform: scale(1.8) translateZ(0); opacity: 1; }
        }
        .globe-data-node {
            position: absolute;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--accent-soft);
            box-shadow: 0 0 10px rgba(154,104,80,0.6);
            animation: node-pulse 3s ease-in-out infinite;
            pointer-events: none;
            z-index: 5;
        }
        .globe-data-node:nth-child(2) { animation-delay: 0.6s; }
        .globe-data-node:nth-child(3) { animation-delay: 1.2s; }
        .globe-data-node:nth-child(4) { animation-delay: 1.8s; }
        .globe-data-node:nth-child(5) { animation-delay: 2.4s; }

        /* Floating ambient particles */
        @keyframes float-up {
            0% { transform: translate3d(0, 0, 0); opacity: 0; }
            15% { opacity: var(--p-opacity, 0.5); }
            85% { opacity: var(--p-opacity, 0.5); }
            100% { transform: translate3d(var(--p-dx, 30px), var(--p-dy, -120px), 0); opacity: 0; }
        }
        .dark-particle {
            position: absolute;
            width: var(--p-size, 2px);
            height: var(--p-size, 2px);
            border-radius: 50%;
            background: rgba(154,104,80, var(--p-opacity, 0.4));
            pointer-events: none;
            z-index: 1;
            animation: float-up var(--p-dur, 8s) linear infinite;
            animation-delay: var(--p-delay, 0s);
        }

        /* Terminal line-by-line reveal */
        .terminal-line-reveal {
            opacity: 0;
            transform: translateX(-8px) translateZ(0);
            transition: opacity 0.4s ease, transform 0.4s ease;
        }
        .terminal-line-reveal.typed {
            opacity: 1;
            transform: translateX(0) translateZ(0);
        }

        /* Globe section heading glow */
        .global-connection-section .heading-section {
            text-shadow: 0 0 60px rgba(154,104,80,0.15);
        }

        @media (max-width: 768px) {
            .globe-orbit-ring, .globe-orbit-ring-2 { display: none; }
            .globe-data-node { display: none; }
        }

        /* ══════════════════════════════════════
           Futuristic Layer 4 — Polish & delight
           ══════════════════════════════════════ */

        /* Comparison checkmarks scale-in */
        .compare-check, .compare-x, .compare-partial {
            display: inline-block;
            opacity: 0;
            transform: scale(0) translateZ(0);
            transition: opacity 0.4s cubic-bezier(.22,1,.36,1),
                        transform 0.4s cubic-bezier(.22,1,.36,1);
        }
        .compare-table.checks-visible .compare-check,
        .compare-table.checks-visible .compare-x,
        .compare-table.checks-visible .compare-partial {
            opacity: 1;
            transform: scale(1) translateZ(0);
        }
        /* Stagger each row */
        .compare-table tbody tr:nth-child(1) .compare-check,
        .compare-table tbody tr:nth-child(1) .compare-x,
        .compare-table tbody tr:nth-child(1) .compare-partial { transition-delay: 0.05s; }
        .compare-table tbody tr:nth-child(2) .compare-check,
        .compare-table tbody tr:nth-child(2) .compare-x,
        .compare-table tbody tr:nth-child(2) .compare-partial { transition-delay: 0.12s; }
        .compare-table tbody tr:nth-child(3) .compare-check,
        .compare-table tbody tr:nth-child(3) .compare-x,
        .compare-table tbody tr:nth-child(3) .compare-partial { transition-delay: 0.19s; }
        .compare-table tbody tr:nth-child(4) .compare-check,
        .compare-table tbody tr:nth-child(4) .compare-x,
        .compare-table tbody tr:nth-child(4) .compare-partial { transition-delay: 0.26s; }
        .compare-table tbody tr:nth-child(5) .compare-check,
        .compare-table tbody tr:nth-child(5) .compare-x,
        .compare-table tbody tr:nth-child(5) .compare-partial { transition-delay: 0.33s; }
        .compare-table tbody tr:nth-child(6) .compare-check,
        .compare-table tbody tr:nth-child(6) .compare-x,
        .compare-table tbody tr:nth-child(6) .compare-partial { transition-delay: 0.4s; }
        .compare-table tbody tr:nth-child(7) .compare-check,
        .compare-table tbody tr:nth-child(7) .compare-x,
        .compare-table tbody tr:nth-child(7) .compare-partial { transition-delay: 0.47s; }
        .compare-table tbody tr:nth-child(8) .compare-check,
        .compare-table tbody tr:nth-child(8) .compare-x,
        .compare-table tbody tr:nth-child(8) .compare-partial { transition-delay: 0.54s; }

        /* SVG icon stroke draw-in */
        .persona-icon svg,
        .enterprise-icon svg {
            stroke-dasharray: 100;
            stroke-dashoffset: 100;
            transition: stroke-dashoffset 1s cubic-bezier(.22,1,.36,1);
        }
        .persona-icon.icon-drawn svg,
        .enterprise-icon.icon-drawn svg {
            stroke-dashoffset: 0;
        }

        /* Button click ripple */
        .btn-ripple {
            position: absolute;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            transform: scale(0);
            animation: ripple-expand 0.6s ease-out forwards;
            pointer-events: none;
            z-index: 1;
        }
        @keyframes ripple-expand {
            to { transform: scale(4); opacity: 0; }
        }

        /* Section accent divider glow lines */
        .glow-divider {
            height: 1px;
            background: linear-gradient(90deg,
                transparent 0%,
                rgba(154,104,80,0.05) 15%,
                rgba(154,104,80,0.35) 50%,
                rgba(154,104,80,0.05) 85%,
                transparent 100%
            );
            border: none;
            margin: 0;
            position: relative;
        }
        .glow-divider::after {
            content: '';
            position: absolute;
            top: -4px;
            left: 50%;
            transform: translateX(-50%);
            width: 200px;
            height: 9px;
            background: radial-gradient(ellipse, rgba(154,104,80,0.15) 0%, transparent 70%);
            pointer-events: none;
        }

        /* Persona card hover accent underline */
        .persona-card .link-arrow-light {
            position: relative;
        }
        .persona-card .link-arrow-light::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--accent), var(--accent-soft));
            transition: width 0.5s cubic-bezier(.22,1,.36,1);
            border-radius: 1px;
        }
        .persona-card:hover .link-arrow-light::after {
            width: 100%;
        }

        /* Globe interactive tilt */
        .brand-globe-mark {
            transition: transform 0.3s ease-out;
        }

        /* ══════════════════════════════════════
           Futuristic Layer 6 — Remaining polish
           ══════════════════════════════════════ */

        /* CTA heading gradient shimmer (mirrors hero) */
        .cta-main h2 {
            background: linear-gradient(
                90deg,
                #f4eee8 0%,
                #c08868 25%,
                #9a6850 50%,
                #d4a888 65%,
                #f4eee8 100%
            );
            background-size: 250% 100%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: text-shimmer 8s ease-in-out infinite;
        }

        /* Bento mockup subtle zoom on card hover */
        .bento-card .mockup-area,
        .bento-card .integration-card-mock {
            transition: transform 0.6s cubic-bezier(.22,1,.36,1);
        }
        .bento-card:hover .mockup-area {
            transform: scale(1.02) translateZ(0);
        }

        /* Bento card content micro-lift on hover */
        .bento-card-header h3 {
            transition: transform 0.5s cubic-bezier(.22,1,.36,1);
        }
        .bento-card:hover .bento-card-header h3 {
            transform: translateY(-2px) translateZ(0);
        }

        /* Terminal dot pulse on card hover */
        @keyframes dot-pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        .bento-card:hover .terminal-dot.r,
        .integration-card:hover .terminal-dot.r {
            animation: dot-pulse 1.2s ease-in-out infinite;
        }
        .bento-card:hover .terminal-dot.y,
        .integration-card:hover .terminal-dot.y {
            animation: dot-pulse 1.2s ease-in-out 0.15s infinite;
        }
        .bento-card:hover .terminal-dot.g,
        .integration-card:hover .terminal-dot.g {
            animation: dot-pulse 1.2s ease-in-out 0.3s infinite;
        }

        /* Browser dots pulse on card hover (match terminal traffic-light rhythm) */
        .bento-card:hover .browser-dot:nth-child(1),
        .integration-card:hover .browser-dot:nth-child(1) {
            animation: dot-pulse 1.2s ease-in-out infinite;
        }
        .bento-card:hover .browser-dot:nth-child(2),
        .integration-card:hover .browser-dot:nth-child(2) {
            animation: dot-pulse 1.2s ease-in-out 0.15s infinite;
            box-shadow: 0 0 8px rgba(254,188,46,0.35);
        }
        .bento-card:hover .browser-dot:nth-child(3),
        .integration-card:hover .browser-dot:nth-child(3) {
            animation: dot-pulse 1.2s ease-in-out 0.3s infinite;
        }

        /* Newsletter placeholder breathing */
        @keyframes placeholder-breathe {
            0%, 100% { opacity: 0.4; }
            50% { opacity: 0.7; }
        }
        .newsletter-input::placeholder {
            animation: placeholder-breathe 3.5s ease-in-out infinite;
        }

        /* Mobile menu link stagger reveal */
        .mobile-menu.open a {
            animation: mobile-link-in 0.4s cubic-bezier(.22,1,.36,1) both;
        }
        @keyframes mobile-link-in {
            from { opacity: 0; transform: translateX(-20px); }
            to { opacity: 1; transform: translateX(0); }
        }
        .mobile-menu.open a:nth-child(1) { animation-delay: 0.05s; }
        .mobile-menu.open a:nth-child(2) { animation-delay: 0.1s; }
        .mobile-menu.open a:nth-child(3) { animation-delay: 0.15s; }
        .mobile-menu.open a:nth-child(4) { animation-delay: 0.2s; }
        .mobile-menu.open a:nth-child(5) { animation-delay: 0.25s; }
        .mobile-menu.open a:nth-child(6) { animation-delay: 0.3s; }
        .mobile-menu.open a:nth-child(7) { animation-delay: 0.35s; }

        /* Compare checkmark glow on row hover */
        .compare-table tbody tr:hover .compare-check {
            filter: drop-shadow(0 0 6px rgba(154,104,80,0.4));
            transition: filter 0.3s ease;
        }

        /* Footer column header gradient underline on hover */
        .footer-col h4 {
            position: relative;
            display: inline-block;
            padding-bottom: 4px;
        }
        .footer-col h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 1px;
            background: linear-gradient(90deg, var(--accent), var(--accent-soft), transparent);
            transition: width 0.5s cubic-bezier(.22,1,.36,1);
        }
        .footer-col:hover h4::after {
            width: 100%;
        }

        /* Bento expand arrow rotation on hover */
        .bento-expand svg {
            transition: transform 0.4s cubic-bezier(.22,1,.36,1);
        }
        .bento-card:hover .bento-expand svg {
            transform: scale(1.1);
        }

        /* Browser URL bar glow on card hover */
        .bento-card:hover .browser-url {
            box-shadow: 0 0 12px rgba(154,104,80,0.1);
            transition: box-shadow 0.4s ease;
        }

        /* Hero badge pulse (if visible) */
        @keyframes badge-glow {
            0%, 100% { box-shadow: 0 0 0 0 rgba(139,90,66,0.15); }
            50% { box-shadow: 0 0 0 6px rgba(139,90,66,0); }
        }
        .hero-badge {
            animation: badge-glow 2.5s ease-in-out infinite;
        }

        /* ══════════════════════════════════════
           Futuristic Layer 5 — Final polish
           ══════════════════════════════════════ */

        /* Custom scrollbar */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: var(--light-bg); }
        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, var(--accent-deep), var(--accent), var(--accent-soft));
            border-radius: 3px;
        }
        ::-webkit-scrollbar-thumb:hover { background: var(--accent-strong); }
        html.dark-mode ::-webkit-scrollbar-track { background: #0a0808; }
        html { scrollbar-width: thin; scrollbar-color: var(--accent) var(--light-bg); }
        html.dark-mode { scrollbar-color: var(--accent) #0a0808; }

        /* Nav link hover underline slide (exclude dropdowns) */
        .nav-links > li:not(.nav-item-dropdown) > a {
            position: relative;
        }
        .nav-links > li:not(.nav-item-dropdown) > a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--accent);
            border-radius: 1px;
            transition: width 0.35s cubic-bezier(.22,1,.36,1), left 0.35s cubic-bezier(.22,1,.36,1);
            pointer-events: none;
        }
        .nav-links > li:not(.nav-item-dropdown) > a:hover::after {
            width: 100%;
            left: 0;
        }

        /* Newsletter input focus glow */
        .newsletter-input:focus {
            border-color: var(--accent) !important;
            box-shadow: 0 0 0 3px rgba(154,104,80,0.12), 0 0 20px rgba(154,104,80,0.08);
        }

        /* Footer link hover slide-right */
        .footer-col a {
            position: relative;
            transition: color 0.3s ease, transform 0.3s ease;
        }
        .footer-col a:hover {
            transform: translateX(4px);
            color: var(--accent-strong);
        }

        /* Back-to-top button */
        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: linear-gradient(160deg, #9a6850, #6e4530 40%, #c08868 62%, #7a5038);
            border: 1px solid rgba(255,255,255,0.15);
            color: #f5ede6;
            display: grid;
            place-items: center;
            cursor: pointer;
            opacity: 0;
            transform: translateY(20px) translateZ(0);
            transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
            pointer-events: none;
            z-index: 90;
            box-shadow: 0 4px 16px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
        }
        .back-to-top.visible {
            opacity: 1;
            transform: translateY(0) translateZ(0);
            pointer-events: auto;
        }
        .back-to-top:hover {
            box-shadow: 0 8px 28px rgba(154,104,80,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
            transform: translateY(-2px) translateZ(0);
        }

        /* Announcement bar shimmer */
        @keyframes announcement-shimmer {
            0% { background-position: -200% center; }
            100% { background-position: 200% center; }
        }
        .announcement-bar {
            background: linear-gradient(
                90deg,
                var(--accent-deep) 0%,
                var(--accent-strong) 20%,
                var(--accent) 40%,
                var(--accent-soft) 50%,
                var(--accent) 60%,
                var(--accent-strong) 80%,
                var(--accent-deep) 100%
            );
            background-size: 200% 100%;
            animation: announcement-shimmer 6s linear infinite;
        }

        /* Smooth anchor scroll */
        html { scroll-behavior: smooth; }
        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
        }

        /* How-step number glow on hover */
        .how-number {
            transition: box-shadow 0.3s ease, transform 0.3s ease;
        }
        .how-step:hover .how-number {
            box-shadow: 0 0 20px rgba(154,104,80,0.4), 0 0 40px rgba(154,104,80,0.15);
            transform: scale(1.1) translateZ(0);
        }

        /* Footer social icon hover glow */
        .footer-social a:hover {
            filter: drop-shadow(0 0 8px rgba(154,104,80,0.5));
        }

        /* Hero subtitle text reveal — word by word */
        .hero-text-reveal span {
            display: inline-block;
            opacity: 0;
            transform: translateY(12px) translateZ(0);
            transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.22,1,.36,1);
        }
        .hero-text-reveal.revealed span {
            opacity: 1;
            transform: translateY(0) translateZ(0);
        }

        /* ══════════════════════════════════════
           Scroll Performance — content-visibility
           ══════════════════════════════════════ */
        .bento-section,
        .compare-section,
        .how-section,
        .pipeline-scene,
        .receipts-scene,
        .dark-section,
        .global-connection-section,
        .cta-section,
        .enterprise-section,
        .personas-section,
        .newsletter-section,
        .footer {
            content-visibility: auto;
            contain-intrinsic-size: auto 600px;
        }

        /* ══════════════════════════════════════
           Footer Social Links
           ══════════════════════════════════════ */
        .footer-social { display: flex; align-items: center; gap: 1rem; }
        .footer-social a { color: var(--light-muted); transition: color 0.2s ease; display: flex; }
        .footer-social a:hover { color: var(--accent-strong); }

        #langToggle:hover { border-color: var(--accent-strong); color: var(--accent-strong); }

        /* ══════════════════════════════════════
           Dark to Light Transition
           ══════════════════════════════════════ */
        .dark-section::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 80px; background: linear-gradient(to bottom, transparent, var(--light)); z-index: 2; pointer-events: none; }

        ::selection { background: #c08868; color: #1a1410; }
        ::-moz-selection { background: #c08868; color: #1a1410; }

        /* ══════════════════════════════════════
           Page Transition
           ══════════════════════════════════════ */
        @keyframes pageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
        body { animation: pageIn 0.5s cubic-bezier(.22,1,.36,1); }

        /* Hero product demo animations */
        @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
        @keyframes heroFadeIn { to { opacity: 1; } }
        @keyframes heroSlideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes heroProgress { from { width: 0%; } to { width: 88%; } }

        /* ══════════════════════════════════════
           Announcement Bar
           ══════════════════════════════════════ */
        .announcement-bar {
            background: linear-gradient(90deg, var(--accent-deep), var(--accent-strong), var(--accent));
            color: #fff;
            text-align: center;
            padding: 0.5rem 3rem 0.5rem 1rem;
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.8125rem;
            font-weight: 500;
            position: relative;
            z-index: 101;
        }
        .announcement-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
        .announcement-bar a:hover { text-decoration-thickness: 2px; }
        .announcement-bar-dismiss {
            position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
            background: none; border: none; color: rgba(255,255,255,0.7);
            cursor: pointer; font-size: 1.125rem; padding: 4px 8px;
            font-family: 'Fraunces', Georgia, serif; line-height: 1;
        }
        .announcement-bar-dismiss:hover { color: #fff; }
        .announcement-bar.hidden { display: none; }

        /* ══════════════════════════════════════
           Mega-Menu Icons
           ══════════════════════════════════════ */
        .nav-mega-icon {
            width: 24px; height: 24px; border-radius: 7px;
            display: flex; align-items: center; justify-content: center;
            flex-shrink: 0;
            border: 1px solid rgba(255,255,255,0.24);
            background: linear-gradient(160deg, #9a6850 0%, #7a5038 20%, #5e3825 40%, #9a6850 55%, #c08868 62%, #9a6850 70%, #6e4530 85%, #7a5038 100%) !important;
            box-shadow: 0 4px 12px rgba(56,34,24,0.20), inset 0 1px 0 rgba(255,255,255,0.26), inset 0 -1px 0 rgba(0,0,0,0.2);
            position: relative;
            overflow: hidden;
        }
        .nav-mega-icon[style] {
            background: linear-gradient(160deg, #9a6850 0%, #7a5038 20%, #5e3825 40%, #9a6850 55%, #c08868 62%, #9a6850 70%, #6e4530 85%, #7a5038 100%) !important;
        }
        .nav-mega-icon svg { stroke: #f5ede6 !important; width: 12px; height: 12px; }

        /* ══════════════════════════════════════
           Cookie Consent Banner
           ══════════════════════════════════════ */
        .cookie-banner {
            position: fixed; bottom: 0; left: 0; right: 0;
            background: var(--dark); color: #fff;
            padding: 1.25rem 2rem;
            display: flex; align-items: center; justify-content: space-between;
            gap: 2rem; z-index: 200;
            font-family: 'Fraunces', Georgia, serif;
            font-size: 0.8125rem;
            box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
            border-top: 1px solid rgba(255,255,255,0.06);
        }
        .cookie-banner.hidden { display: none; }
        .cookie-banner p { color: rgba(255,255,255,0.65); max-width: 680px; line-height: 1.6; }
        .cookie-banner a { color: var(--accent, #9a6850); text-decoration: underline; text-underline-offset: 2px; }
        .cookie-actions { display: flex; gap: 0.625rem; flex-shrink: 0; }
        .cookie-accept { padding: 0.5rem 1.25rem; background: linear-gradient(160deg, #9a6850 0%, #7a5038 20%, #5e3825 40%, #9a6850 55%, #c08868 62%, #9a6850 70%, #6e4530 85%, #7a5038 100%); color: #f5ede6; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; font-size: 0.8125rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: box-shadow 0.3s ease, transform 0.3s ease; box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -1px 0 rgba(0,0,0,0.2); position: relative; overflow: hidden; }
        .cookie-accept::before { content: ""; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.15) 55%, transparent 70%); transition: left 0.5s ease; pointer-events: none; }
        .cookie-accept:hover::before { left: 120%; }
        .cookie-accept:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -1px 0 rgba(0,0,0,0.2); }
        .cookie-manage {
            padding: 0.5rem 1.25rem; background: none; color: rgba(255,255,255,0.6);
            border: 1px solid rgba(255,255,255,0.15); border-radius: 8px;
            font-size: 0.8125rem; font-weight: 500; cursor: pointer; font-family: inherit;
            transition: all 0.2s;
        }
        .cookie-manage:hover { border-color: rgba(255,255,255,0.3); color: #fff; }
        @media (max-width: 640px) {
            .cookie-banner { flex-direction: column; align-items: flex-start; padding: 1rem 1.25rem; }
            .cookie-actions { width: 100%; }
            .cookie-accept, .cookie-manage { flex: 1; justify-content: center; }
        }

        /* ══════════════════════════════════════
           Dark Mode Toggle
           ══════════════════════════════════════ */
        .dark-mode-toggle {
            width: 36px; height: 36px; border-radius: 8px;
            border: 1px solid var(--light-border); background: none;
            cursor: pointer; display: flex; align-items: center; justify-content: center;
            color: var(--light-muted); transition: all 0.2s;
            font-family: 'Fraunces', Georgia, serif;
        }
        .dark-mode-toggle:hover { border-color: var(--accent-deep); color: var(--accent-deep); background: rgba(255,255,255,0.5); }
        .dark-mode-toggle .icon-moon { display: none; }
        html.dark-mode .dark-mode-toggle .icon-sun { display: none; }
        html.dark-mode .dark-mode-toggle .icon-moon { display: block; }

        /* ══════════════════════════════════════
           Dark Mode Overrides
           ══════════════════════════════════════ */
        html.dark-mode {
            --light: #0a0808;
            --light-bg: #0f0d0a;
            --light-card: #1a1410;
            --light-muted: rgba(255, 255, 255, 0.55);
            --light-border: rgba(255, 255, 255, 0.08);
            --text-dark: #f0ebe6;
            color-scheme: dark;
        }
        html.dark-mode body { color: #f0ebe6; }
        html.dark-mode .nav { color: #f0ebe6; }
        html.dark-mode .nav.scrolled { background: rgba(10,8,8,0.92); border-color: rgba(255,255,255,0.08); }
        html.dark-mode .nav-logo { color: #f0ebe6; }
        html.dark-mode .nav-links a, html.dark-mode .nav-links button { background: linear-gradient(160deg, #f0e0d0 0%, #d9a07a 34%, #b8845c 58%, #efcdb2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; -webkit-appearance: none; appearance: none; outline: none; box-shadow: none; }
        html.dark-mode .nav-links a:hover, html.dark-mode .nav-links button:hover { filter: brightness(1.12) saturate(1.04); }
        html.dark-mode .nav-mega { background: linear-gradient(180deg, rgba(22,16,13,0.98), rgba(16,12,10,0.98)); border-color: rgba(192,136,104,0.26); box-shadow: 0 26px 58px rgba(0,0,0,0.52), 0 8px 24px rgba(0,0,0,0.36), 0 0 0 1px rgba(255,255,255,0.06); }
        html.dark-mode .nav-mega a { background: linear-gradient(180deg, rgba(42,30,24,0.44), rgba(30,22,18,0.5)); border-color: rgba(192,136,104,0.18); -webkit-text-fill-color: initial; -webkit-background-clip: initial; background-clip: initial; }
        html.dark-mode .nav-mega a:hover { background: linear-gradient(180deg, rgba(64,44,34,0.56), rgba(42,30,24,0.58)); border-color: rgba(192,136,104,0.36); box-shadow: 0 10px 22px rgba(0,0,0,0.34), 0 0 14px rgba(192,136,104,0.14); }
        html.dark-mode .nav-mega-title {
            background: linear-gradient(160deg, #f0e0d0 0%, #d9a07a 34%, #b8845c 58%, #efcdb2 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            -webkit-text-fill-color: transparent;
            text-shadow: none;
        }
        html.dark-mode .nav-mega-desc { color: rgba(238,219,205,0.86); -webkit-text-fill-color: rgba(238,219,205,0.86); }
        html.dark-mode .btn-nav-ghost { border-color: rgba(255,255,255,0.15); color: #f0ebe6; }
        html.dark-mode .btn-nav-ghost:hover { border-color: var(--accent-strong); color: var(--accent-strong); background: rgba(255,255,255,0.08); }
        html.dark-mode .dark-mode-toggle { border-color: rgba(255,255,255,0.15); color: #f0ebe6; }
        html.dark-mode .dark-mode-toggle:hover { border-color: var(--accent-strong); color: var(--accent-strong); background: rgba(255,255,255,0.08); }
        html.dark-mode .hero-wave::before { opacity: 0.72; }
        html.dark-mode .hero-wave::after { opacity: 0.58; }
        html.dark-mode .hero h1 .text-muted { color: rgba(255,255,255,0.45); }
        html.dark-mode .text-muted { color: rgba(255,255,255,0.5); }
        html.dark-mode .btn-hero-outline { background: rgba(255,255,255,0.05); color: #f0ebe6; border-color: rgba(255,255,255,0.15); }
        html.dark-mode .btn-hero-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); }
        html.dark-mode .bento-card { border-color: rgba(154,104,80,0.12); background: rgba(26,20,16,0.7); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); }
        html.dark-mode .bento-card:hover { box-shadow: 0 20px 56px rgba(0,0,0,0.4), 0 0 0 1px rgba(154,104,80,0.15); border-color: rgba(154,104,80,0.25); }
        html.dark-mode .bento-expand { border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.4); }
        html.dark-mode .bento-card:hover .bento-expand { border-color: rgba(154,104,80,0.3); background: linear-gradient(160deg, #9a6850, #6e4530 40%, #c08868 62%, #7a5038); color: #f5ede6; }
        html.dark-mode .heading-card { color: #f0ebe6; }
        html.dark-mode .browser-mock { background: #1a1410; border-color: rgba(255,255,255,0.08); }
        html.dark-mode .browser-bar { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.06); }
        html.dark-mode .browser-dot { background: rgba(255,255,255,0.15); }
        html.dark-mode .browser-url { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); }
        html.dark-mode .browser-body { background: #1a1410; color: #f0ebe6; }
        html.dark-mode .chat-user { background: rgba(255,255,255,0.08); color: #f0ebe6; }
        html.dark-mode .chat-ai { background: rgba(154,104,80,0.1); border-color: rgba(154,104,80,0.12); color: #f0ebe6; }
        html.dark-mode .research-source { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.7); }
        html.dark-mode .chat-section { background: linear-gradient(180deg, #0a0808 0%, #0e0c0a 50%, #0a0808 100%); }
        html.dark-mode .cta-section { border-color: rgba(255,255,255,0.08); }
        html.dark-mode .cta-card { border-color: rgba(255,255,255,0.08); }
        html.dark-mode .cta-card:hover { border-color: var(--accent-strong); }
        html.dark-mode .cta-card h3 { color: #f0ebe6; }
        html.dark-mode .cta-card-icon { border-color: rgba(255,255,255,0.1); }
        html.dark-mode .compare-section { border-color: rgba(255,255,255,0.08); }
        html.dark-mode .compare-table thead th { border-color: rgba(255,255,255,0.1); color: #f0ebe6; }
        html.dark-mode .compare-table thead th:first-child { color: rgba(255,255,255,0.5); }
        html.dark-mode .compare-table thead th.highlight { color: var(--accent); }
        html.dark-mode .compare-table tbody td { border-color: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7); }
        html.dark-mode .compare-table tbody td:first-child { color: #f0ebe6; }
        html.dark-mode .how-step { background: rgba(26,20,16,0.7); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-color: rgba(154,104,80,0.12); }
        html.dark-mode .how-step:hover { box-shadow: 0 20px 56px rgba(0,0,0,0.4), 0 0 0 1px rgba(154,104,80,0.15); border-color: rgba(154,104,80,0.25); }
        html.dark-mode .how-number { border-color: rgba(255,255,255,0.15); box-shadow: 0 4px 16px rgba(139,90,66,0.3), 0 0 0 4px rgba(154,104,80,0.1); }
        html.dark-mode .how-step h3 { color: #f0ebe6; }
        html.dark-mode .how-code { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); }
        html.dark-mode .enterprise-section { border-color: rgba(255,255,255,0.08); }
        html.dark-mode .enterprise-card { border-color: rgba(255,255,255,0.08); }
        html.dark-mode .enterprise-card:hover { box-shadow: 0 24px 64px rgba(154,104,80,0.12), 0 8px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(154,104,80,0.25); border-color: rgba(154,104,80,0.3); }
        html.dark-mode .enterprise-card h3 { color: #f0ebe6; }
        html.dark-mode .bento-card,
        html.dark-mode .persona-card,
        html.dark-mode .enterprise-card,
        html.dark-mode .cta-card,
        html.dark-mode .how-step,
        html.dark-mode .compare-table-wrap {
            border-color: rgba(255,255,255,0.12);
            box-shadow: 0 18px 50px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.16);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
        }
        html.dark-mode .persona-card { border-color: rgba(255,255,255,0.08); }
        html.dark-mode .persona-card:hover { border-color: rgba(154,104,80,0.35); box-shadow: 0 24px 64px rgba(154,104,80,0.15), 0 8px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(154,104,80,0.25); }
        html.dark-mode .persona-icon { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); }
        html.dark-mode .persona-card:hover .persona-icon { background: linear-gradient(160deg, #9a6850 0%, #7a5038 20%, #5e3825 40%, #9a6850 55%, #c08868 62%, #9a6850 70%, #6e4530 85%, #7a5038 100%); border-color: rgba(255,255,255,0.14); box-shadow: 0 4px 14px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.22), inset 0 -1px 0 rgba(0,0,0,0.18); position: relative; overflow: hidden; }
        html.dark-mode .persona-card:hover .persona-icon::before { content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.15) 55%, transparent 70%); transition: left 0.5s ease; pointer-events: none; }
        html.dark-mode .persona-card:hover .persona-icon::before { left: 120%; }
        html.dark-mode .newsletter-section { border-color: rgba(255,255,255,0.08); }
        html.dark-mode .newsletter-input { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: #f0ebe6; }
        html.dark-mode .newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
        html.dark-mode .footer { border-color: rgba(255,255,255,0.08); }
        html.dark-mode .footer-bottom { border-color: rgba(255,255,255,0.08); }
        html.dark-mode #langToggle { border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.55); }
        html.dark-mode #langToggle:hover { border-color: var(--accent-strong); color: var(--accent-strong); }
        html.dark-mode #langMenu { background: #1a1410; border-color: rgba(255,255,255,0.1); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
        html.dark-mode .lang-opt { color: rgba(255,255,255,0.6); }
        html.dark-mode .lang-opt:hover { background: rgba(154,104,80,0.1) !important; }
        html.dark-mode .footer-col h4 { color: #f0ebe6; }
        html.dark-mode .mobile-menu { background: rgba(10,8,8,0.98); }
        html.dark-mode .mobile-menu a { color: #f0ebe6; border-color: rgba(255,255,255,0.08); }
        html.dark-mode .mobile-menu a:hover { color: var(--accent-strong); }
        html.dark-mode .mobile-menu-close { border-color: rgba(255,255,255,0.15); color: #f0ebe6; }
        html.dark-mode .signin-card { background: #1a1410; border-color: rgba(255,255,255,0.1); }
        html.dark-mode .signin-card h3 { color: #f0ebe6; }
        html.dark-mode .signin-card p { color: rgba(255,255,255,0.5); }
        html.dark-mode .signin-field { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: #f0ebe6; }
        html.dark-mode .mobile-menu-btn { border-color: rgba(255,255,255,0.15); color: #f0ebe6; }
        html.dark-mode .announcement-bar { background: linear-gradient(90deg, #1a1410, var(--dark-elevated), #1a1410); border-bottom: 1px solid rgba(255,255,255,0.06); }
        html.dark-mode ::selection { background: var(--accent-deep); color: #fff; }
        html.dark-mode ::-moz-selection { background: var(--accent-deep); color: #fff; }

        /* Premium scroll-reactive depth hero */
        .depth-hero-section {
            position: relative;
            padding: clamp(4rem, 9vw, 7rem) 0;
            background:
                radial-gradient(1100px 500px at 8% 0%, rgba(192,136,104,0.18), transparent 60%),
                radial-gradient(900px 460px at 94% 80%, rgba(154,104,80,0.14), transparent 58%),
                linear-gradient(180deg, #090707 0%, #120d0a 48%, #17100c 100%);
            border-top: 1px solid rgba(192,136,104,0.15);
            border-bottom: 1px solid rgba(192,136,104,0.15);
            color: #f6eee8;
            overflow: hidden;
        }
        .depth-hero-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
            gap: clamp(1.8rem, 4vw, 3.4rem);
            align-items: center;
        }
        .depth-hero-copy h2 {
            font-size: clamp(2rem, 4vw, 3rem);
            line-height: 1.08;
            letter-spacing: -0.025em;
            color: #f7eee7;
            max-width: 14ch;
        }
        .depth-hero-copy p {
            margin-top: 1rem;
            max-width: 58ch;
            color: rgba(246,230,220,0.72);
        }
        .depth-hero-kpis {
            margin-top: 1.25rem;
            display: flex;
            flex-wrap: wrap;
            gap: 0.55rem;
        }
        .depth-hero-kpis span {
            border: 1px solid rgba(192,136,104,0.3);
            background: rgba(255,255,255,0.04);
            border-radius: 999px;
            padding: 0.34rem 0.74rem;
            font-size: 0.74rem;
            color: rgba(247,232,222,0.85);
        }
        .depth-hero-scene {
            position: relative;
            min-height: clamp(360px, 52vw, 540px);
            perspective: 1200px;
            transform-style: preserve-3d;
        }
        .depth-hero-mesh {
            position: absolute;
            inset: 6% 7%;
            border-radius: 30px;
            background:
                radial-gradient(circle at 22% 16%, rgba(224,168,132,0.35), transparent 42%),
                radial-gradient(circle at 80% 18%, rgba(154,104,80,0.33), transparent 48%),
                radial-gradient(circle at 50% 82%, rgba(245,220,203,0.14), transparent 56%),
                linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02));
            border: 1px solid rgba(255,255,255,0.1);
            box-shadow: 0 30px 80px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
            transform: rotateX(calc(6deg - var(--depth-progress, 0) * 4deg)) rotateY(calc(-10deg + var(--depth-progress, 0) * 12deg));
            transition: transform 120ms linear;
            overflow: hidden;
        }
        .depth-hero-orbit {
            position: absolute;
            border-radius: 999px;
            border: 1px solid rgba(226,177,145,0.26);
            box-shadow: 0 0 40px rgba(192,136,104,0.12), inset 0 0 28px rgba(192,136,104,0.08);
        }
        .depth-hero-orbit.one { width: 180px; height: 180px; top: 8%; right: 8%; }
        .depth-hero-orbit.two { width: 260px; height: 260px; bottom: -8%; left: -3%; opacity: 0.65; }
        .depth-card {
            position: absolute;
            padding: 1rem;
            border-radius: 16px;
            border: 1px solid rgba(255,255,255,0.16);
            background: linear-gradient(160deg, rgba(255,255,255,0.15), rgba(255,255,255,0.03));
            backdrop-filter: blur(14px) saturate(150%);
            -webkit-backdrop-filter: blur(14px) saturate(150%);
            box-shadow: 0 20px 50px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.24);
            transform-style: preserve-3d;
            will-change: transform;
        }
        .depth-card h3 { font-size: 0.92rem; margin-bottom: 0.35rem; color: #f8efe9; }
        .depth-card p { font-size: 0.77rem; line-height: 1.5; color: rgba(247,231,221,0.76); }
        .depth-card.alpha { top: 7%; left: 6%; width: min(240px, 58%); }
        .depth-card.beta { top: 34%; right: 4%; width: min(220px, 52%); }
        .depth-card.gamma { bottom: 8%; left: 16%; width: min(250px, 60%); }
        .depth-hero-static .depth-card,
        .depth-hero-static .depth-hero-mesh { transform: none !important; transition: none !important; }
        @media (max-width: 980px) {
            .depth-hero-grid { grid-template-columns: 1fr; }
            .depth-hero-scene { min-height: 360px; }
        }
        @media (prefers-reduced-motion: reduce) {
            .depth-hero-section *, .depth-hero-section *::before, .depth-hero-section *::after { animation: none !important; transition-duration: 0s !important; }
        }

        /* Position context for sections that need it */
        .compare-section,
        .how-section,
        .pipeline-scene,
        .receipts-scene,
        .enterprise-section,
        .global-connection-section,
        .section-intro,
        .bento-section {
            position: relative;
            overflow: hidden;
        }

        /* ── Cinematic dark overrides for light sections ── */
        html.dark-mode .compare-section {
            background: #0a0808;
            border-top: 1px solid rgba(154,104,80,0.08);
            border-bottom: 1px solid rgba(154,104,80,0.08);
        }
        html.dark-mode .how-section {
            background: #0d0a08;
        }
        html.dark-mode .pipeline-scene {
            background: linear-gradient(180deg, #0d0a08 0%, #0a0808 100%);
            border-color: rgba(154,104,80,0.12);
        }
        html.dark-mode .pipeline-caption { color: rgba(192,136,104,0.88); }
        html.dark-mode .pipeline-list { color: rgba(240,235,230,0.72); }
        html.dark-mode .pipeline-visual {
            border-color: rgba(154,104,80,0.28);
            background: radial-gradient(circle at 18% 16%, rgba(44,32,25,0.82), rgba(24,18,15,0.92) 48%, rgba(10,8,8,0.98) 100%);
            box-shadow: 0 24px 56px rgba(0,0,0,0.44), inset 0 1px 0 rgba(255,255,255,0.08);
        }
        html.dark-mode .pipeline-beam {
            border-color: rgba(154,104,80,0.28);
            box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 24px 34px rgba(0,0,0,0.35);
        }
        html.dark-mode .pipeline-node {
            border-color: rgba(154,104,80,0.32);
            background: linear-gradient(160deg, rgba(34,24,18,0.92), rgba(19,14,12,0.95));
            box-shadow: 0 16px 20px rgba(0,0,0,0.34);
        }
        html.dark-mode .pipeline-node .step-meta { color: rgba(214,184,164,0.7); }
        html.dark-mode .pipeline-node .step-title { color: #f0ebe6; }
        html.dark-mode .pipeline-node .step-status {
            border-color: rgba(192,136,104,0.38);
            color: rgba(240,214,196,0.88);
            background: rgba(154,104,80,0.16);
        }
        html.dark-mode .receipts-scene { background: #0a0808; }
        html.dark-mode .receipts-stack {
            border-color: rgba(154,104,80,0.24);
            background: linear-gradient(180deg, rgba(24,18,15,0.95), rgba(12,10,10,0.98));
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 20px 46px rgba(0,0,0,0.36);
        }
        html.dark-mode .receipt-card {
            border-color: rgba(154,104,80,0.3);
            background: rgba(21,16,13,0.95);
            box-shadow: 0 14px 24px rgba(0,0,0,0.36);
        }
        html.dark-mode .receipt-card h3 { color: #f0ebe6; }
        html.dark-mode .receipt-card p { color: rgba(240,235,230,0.65); }
        html.dark-mode .receipt-chip {
            border-color: rgba(192,136,104,0.38);
            color: rgba(240,214,196,0.88);
            background: rgba(154,104,80,0.16);
        }
        html.dark-mode .enterprise-section {
            background: #0a0808;
            border-color: rgba(154,104,80,0.08);
        }
        html.dark-mode .section-intro {
            background: transparent;
        }
        html.dark-mode .bento-section {
            background: #0d0a08;
        }

        /* Theme contrast normalization (no layout change) */
        .subtitle,
        .text-lead,
        .text-muted,
        .pricing-desc,
        .hero-meta,
        .footer-copyright {
            color: rgba(52,40,34,0.82);
        }
        html.dark-mode .subtitle,
        html.dark-mode .text-lead,
        html.dark-mode .text-muted,
        html.dark-mode .pricing-desc,
        html.dark-mode .hero-meta,
        html.dark-mode .footer-copyright {
            color: rgba(240,235,230,0.78);
        }

        html.dark-mode .section,
        html.dark-mode .section-alt {
            background: #0b0908;
        }

        /* ── RTL overrides for Arabic & Adlam ── */
        html[dir="rtl"] { text-align: right; }
        html[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
        html[dir="rtl"] .nav-links { flex-direction: row-reverse; }
        html[dir="rtl"] .nav-right { flex-direction: row-reverse; }
        html[dir="rtl"] .hero-content { text-align: right; }
        html[dir="rtl"] .hero-actions { justify-content: flex-end; }
        html[dir="rtl"] .btn-hero svg, html[dir="rtl"] .link-arrow svg, html[dir="rtl"] .link-arrow-light svg { transform: scaleX(-1); }
        html[dir="rtl"] .footer-grid { direction: rtl; }
        html[dir="rtl"] .how-grid { direction: rtl; }
        html[dir="rtl"] .compare-table td:first-child { text-align: right; }
        html[dir="rtl"] .cta-main { text-align: right; }
        html[dir="rtl"] .cta-main div { justify-content: flex-end; }
        html[dir="rtl"] .enterprise-intro { text-align: right; }
        html[dir="rtl"] .integration-card-text { text-align: right; }
        html[dir="rtl"] .footer-lang { direction: ltr; }
        html[dir="rtl"] .chat-msg-user { flex-direction: row; }
        html[dir="rtl"] .chat-msg { flex-direction: row-reverse; }
        html[dir="rtl"] .chat-msg-user { flex-direction: row; }
        html.adlam-active, html.adlam-active body, html.adlam-active h1, html.adlam-active h2, html.adlam-active h3,
        html.adlam-active p, html.adlam-active a, html.adlam-active button, html.adlam-active li, html.adlam-active span,
        html.adlam-active .heading-display, html.adlam-active .heading-section, html.adlam-active .heading-card,
        html.adlam-active .text-lead, html.adlam-active .text-muted, html.adlam-active .subtitle {
            font-family: 'Noto Sans Adlam', 'Fraunces', Georgia, serif !important;
        }
