/* Shared base styles, loaded once and cached by browser */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
        body {
            font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        .container {
            max-width: 1120px;
            margin: 0 auto;
            padding: 0 24px;
        }
        @keyframes fadeSlideIn {
            from { opacity: 0; transform: translateY(20px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .anim { animation: fadeSlideIn 0.8s ease-out forwards; opacity: 0; }
        .d1 { animation-delay: 0.1s; }
        .d2 { animation-delay: 0.2s; }
        .d3 { animation-delay: 0.3s; }
        .d4 { animation-delay: 0.4s; }
        .d5 { animation-delay: 0.5s; }

        /* ---- Shared nav ---- */
        .site-nav-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .nav-link {
            color: #a1a1aa;
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 500;
            transition: color 0.2s;
        }
        .nav-link:hover { color: #fff; }
        .nav-link.active { color: #c4b5fd; }
        .hamburger-btn {
            display: none;
            background: none;
            border: none;
            color: #e4e4e7;
            cursor: pointer;
            padding: 4px;
        }
        .hamburger-btn svg { width: 28px; height: 28px; }

        /* Side menu */
        .side-menu-overlay {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 100;
            background: rgba(0,0,0,0.7);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
        }
        .side-menu-overlay.open { display: block; }
        .side-menu {
            position: fixed;
            top: 0;
            right: -280px;
            bottom: 0;
            width: 280px;
            background: #18181b;
            z-index: 101;
            transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex;
            flex-direction: column;
            padding: 24px;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }
        .side-menu.open { right: 0; }
        .side-menu-close {
            align-self: flex-end;
            background: none;
            border: none;
            color: #71717a;
            cursor: pointer;
            padding: 4px;
            margin-bottom: 32px;
        }
        .side-menu-close:hover { color: #fff; }
        .side-menu-close svg { width: 24px; height: 24px; }
        .side-menu-links {
            display: flex;
            flex-direction: column;
            gap: 24px;
            margin-bottom: 40px;
        }
        .side-menu-links a,
        .side-menu-links button {
            color: #e4e4e7;
            text-decoration: none;
            font-size: 1.125rem;
            font-weight: 500;
            font-family: inherit;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            text-align: left;
            transition: color 0.2s;
        }
        .side-menu-links a:hover,
        .side-menu-links button:hover { color: #a78bfa; }
        .side-menu-socials {
            display: flex;
            gap: 12px;
            margin-top: auto;
        }
        .side-menu-social {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.1);
            transition: all 0.2s;
            text-decoration: none;
        }
        .side-menu-social:hover {
            background: rgba(167,139,250,0.2);
            border-color: rgba(167,139,250,0.3);
            transform: scale(1.08);
        }
        .side-menu-social svg { width: 18px; height: 18px; color: #e4e4e7; }

        /* Nav CTA button (desktop) */
        .nav-cta {
            display: inline-flex;
            align-items: center;
            padding: 8px 20px;
            border-radius: 100px;
            border: 1px solid rgba(255,255,255,0.15);
            background: rgba(255,255,255,0.05);
            color: #e4e4e7;
            font-family: inherit;
            font-size: 0.8125rem;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            transition: all 0.2s;
        }
        .nav-cta:hover {
            background: rgba(255,255,255,0.12);
            border-color: rgba(255,255,255,0.25);
            color: #fff;
        }
        .nav-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        /* Mobile side menu CTA button */
        .side-menu-links .side-menu-cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 24px !important;
            border-radius: 100px;
            border: 1px solid rgba(255,255,255,0.2) !important;
            background: rgba(255,255,255,0.08) !important;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            color: #e4e4e7;
            font-family: inherit;
            font-size: 0.875rem !important;
            font-weight: 500;
            cursor: pointer;
            text-decoration: none;
            width: fit-content;
            text-align: center;
            text-decoration: none;
            transition: all 0.2s;
            width: 100%;
            text-align: center;
        }
        .side-menu-links .side-menu-cta:hover {
            background: rgba(255,255,255,0.15) !important;
            border-color: rgba(255,255,255,0.3) !important;
            color: #fff;
        }

        /* Applications dropdown */
        /* Nav Menu System */
        .nav-menu {
            position: relative;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .nav-menu-trigger {
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            height: 36px;
            padding: 0 8px;
            font-size: 0.8125rem;
            font-weight: 500;
            color: #a1a1aa;
            border-radius: 6px;
            transition: color 0.15s, background 0.15s;
            border: none;
            background: none;
            font-family: inherit;
        }
        .nav-menu-trigger:hover,
        .nav-menu-trigger.active {
            color: #fff;
            background: rgba(255,255,255,0.06);
        }
        .nav-menu-trigger svg {
            margin-left: 4px;
            width: 12px;
            height: 12px;
            transition: transform 0.2s;
        }
        .nav-menu-trigger.active svg {
            transform: rotate(180deg);
        }
        .nav-menu-viewport {
            position: absolute;
            top: 100%;
            left: 0;
            z-index: 50;
            display: none;
            padding-top: 4px;
        }
        .nav-menu-viewport.open {
            display: block;
        }
        .nav-panel { }
        .nav-dropdown-menu {
            background: #18181b;
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 12px;
            padding: 6px;
            width: 360px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.4);
        }
        .nav-dropdown-menu a {
            display: flex;
            gap: 12px;
            align-items: flex-start;
            padding: 10px 12px;
            color: #a1a1aa;
            text-decoration: none;
            font-size: 0.8125rem;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.15s;
        }
        .nav-dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,0.06); }
        .nav-dropdown-icon {
            flex-shrink: 0;
            width: 20px;
            height: 20px;
            color: #a78bfa;
            margin-top: 2px;
        }
        .nav-dropdown-text { flex: 1; }
        .nav-dropdown-title {
            font-size: 0.8125rem;
            font-weight: 600;
            color: #e4e4e7;
            margin-bottom: 2px;
        }
        .nav-dropdown-desc {
            font-size: 0.6875rem;
            color: #71717a;
            line-height: 1.4;
        }
        .nav-dropdown-menu a:hover .nav-dropdown-title { color: #fff; }
        .nav-dropdown-menu a:hover .nav-dropdown-desc { color: #a1a1aa; }

        /* Mobile sub-links */
        .side-menu-section {
            width: 100%;
            background: transparent;
            border: 0;
            cursor: pointer;
            color: #71717a !important;
            font-size: 0.8125rem;
            font-weight: 600;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0 !important;
            font-family: inherit;
            text-align: left;
            transition: color 0.2s;
        }
        .side-menu-section:hover { color: #e4e4e7 !important; }
        .side-menu-section[aria-expanded="true"] { color: #e4e4e7 !important; }
        .side-menu-section > * { pointer-events: none; }
        .side-menu-section-chevron {
            flex-shrink: 0;
            transition: transform 0.2s ease;
            color: inherit;
        }
        .side-menu-section[aria-expanded="true"] .side-menu-section-chevron {
            transform: rotate(180deg);
        }
        .side-menu-sub {
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding-left: 0;
            max-height: 0;
            overflow: hidden;
            margin-top: 0;
            transition: max-height 0.25s ease, margin-top 0.25s ease, margin-bottom 0.25s ease;
        }
        .side-menu-sub.is-open {
            max-height: 600px;
            margin-top: 4px;
            margin-bottom: 8px;
        }
        .side-menu-sub a {
            display: flex !important;
            gap: 12px !important;
            align-items: flex-start !important;
            padding: 10px 12px !important;
            border-radius: 8px !important;
            font-size: 0.875rem !important;
            color: #a1a1aa !important;
        }
        .side-menu-sub a:hover { background: rgba(255,255,255,0.06) !important; }
        .side-menu-sub .sm-icon { width: 20px; height: 20px; border-radius: 4px; flex-shrink: 0; margin-top: 2px; }
        .side-menu-sub .sm-icon[src*="blox-icon"] { border-radius: 0; }
        .side-menu-sub .sm-text { flex: 1; }
        .side-menu-sub .sm-title { font-size: 0.875rem; font-weight: 600; color: #e4e4e7; margin-bottom: 2px; }
        .side-menu-sub .sm-desc { font-size: 0.75rem; color: #71717a; line-height: 1.4; }
        .side-menu-sub a:hover { color: #a78bfa !important; }

        @media (max-width: 767px) {
            .nav-right { display: none; }
            .hamburger-btn { display: flex; }
        }

        /* ---- Insights section (used on home + application pages) ---- */
        .insights { background:#09090b; padding:30px 0 20px; }
        .insights-head { text-align:center; margin-bottom:40px; }
        .insights-head h2 {
            font-size:clamp(1.5rem, 3vw, 2rem); font-weight:800; letter-spacing:-0.02em;
            color:#fff; margin:0 0 12px;
        }
        .insights-sub {
            font-size:1rem; color:#a1a1aa; line-height:1.65;
            max-width:560px; margin:0 auto;
        }
        .insights-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
        .insights-card {
            display:flex; flex-direction:column;
            background:#18181b; border:1px solid rgba(255,255,255,0.08);
            border-radius:16px; text-decoration:none; color:inherit;
            overflow:hidden;
            transition: border-color 0.2s, transform 0.2s, background 0.2s;
        }
        .insights-card:hover {
            border-color: rgba(167,139,250,0.4);
            background:#1f1f23;
            transform: translateY(-2px);
        }
        .insights-cover {
            aspect-ratio: 16 / 9; width:100%;
            background:#0a0a0a; overflow:hidden; flex-shrink:0;
        }
        .insights-cover img {
            width:100%; height:100%; object-fit:cover; display:block;
            transition: transform 0.4s ease;
        }
        .insights-card:hover .insights-cover img { transform: scale(1.04); }
        .insights-body { padding:24px; }
        .insights-date {
            font-size:0.75rem; color:#71717a; font-weight:500;
            text-transform:uppercase; letter-spacing:0.05em; margin-bottom:12px;
        }
        .insights-title {
            font-size:1.0625rem; font-weight:700; color:#fff; line-height:1.35;
            margin:0 0 10px; letter-spacing:-0.01em;
        }
        .insights-desc {
            font-size:0.875rem; color:#a1a1aa; line-height:1.55; margin:0;
            display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical;
            overflow:hidden;
        }
        .insights-footer { text-align:center; margin-top:32px; }
        .insights-all {
            color:#a78bfa; text-decoration:none; font-size:0.875rem; font-weight:600;
            display:inline-flex; align-items:center; gap:6px; transition:color 0.2s;
        }
        .insights-all:hover { color:#c4b5fd; }
        .insights-all svg { width:14px; height:14px; transition:transform 0.2s; }
        .insights-all:hover svg { transform:translateX(3px); }
        @media (max-width: 900px) {
            .insights-grid { grid-template-columns:1fr; }
        }
