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

        body {
            font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
            background: #0a0e27;
            color: #f1f5f9;
            min-height: 100vh;
        }

        .header {
            background: #1e293b;
            padding: 16px 24px 40px;
            text-align: center;
        }

        .logo {
            font-size: 3em;
            font-weight: 700;
            color: #22d3ee;
            margin-bottom: 12px;
            letter-spacing: -2px;
        }

        .tagline {
            font-size: 1.1em;
            color: #94a3b8;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .description {
            max-width: 800px;
            margin: 32px auto 0;
            font-size: 0.9em;
            line-height: 1.8;
            color: #cbd5e1;
            opacity: 0.8;
        }

        .search-container {
            max-width: 600px;
            margin: 32px auto 0;
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 16px 20px;
            background: #0f172a;
            border: 2px solid #334155;
            border-radius: 8px;
            color: #f1f5f9;
            font-family: inherit;
            font-size: 1em;
            outline: none;
            transition: border-color 0.2s;
        }

        .search-input:focus {
            border-color: #22d3ee;
        }

        .search-input::placeholder {
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.9em;
        }

        .search-results {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            right: 0;
            background: #0f172a;
            border: 2px solid #22d3ee;
            border-radius: 8px;
            max-height: 400px;
            overflow-y: auto;
            display: none;
            z-index: 1000;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
        }

        .search-results.show {
            display: block;
        }

        .search-result-item {
            padding: 16px 20px;
            cursor: pointer;
            transition: background 0.2s;
            border-bottom: 1px solid #334155;
        }

        .search-result-item:last-child {
            border-bottom: none;
        }

        .search-result-item:hover,
        .search-result-item.selected {
            background: rgba(34, 211, 238, 0.12);
        }

        .search-result-ticker {
            font-weight: 600;
            font-size: 1em;
            color: #22d3ee;
            letter-spacing: 0.5px;
            margin-bottom: 4px;
        }

        .search-result-name {
            font-size: 0.85em;
            color: #94a3b8;
            line-height: 1.3;
            word-wrap: break-word;
        }

        .search-empty {
            padding: 20px;
            font-size: 0.9em;
            color: #64748b;
            text-align: left;
        }

        .popular-tickers {
            margin-top: 32px;
            text-align: center;
        }

        .popular-tickers-label {
            font-size: 0.75em;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 16px;
        }

        .popular-tickers-list {
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .popular-ticker {
            display: inline-block;
            padding: 8px 16px;
            background: #0f172a;
            border: 1px solid #334155;
            border-radius: 4px;
            color: #22d3ee;
            text-decoration: none;
            font-size: 0.9em;
            font-weight: 600;
            letter-spacing: 0.5px;
            transition: all 0.2s;
        }

        .popular-ticker:hover {
            background: rgba(34, 211, 238, 0.12);
            border-color: #22d3ee;
            transform: translateY(-2px);
        }

        .top-nav {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-bottom: 32px;
        }
        .top-nav a {
            color: #64748b;
            text-decoration: none;
            font-size: 0.72em;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            padding: 6px 18px;
            border: 1px solid #334155;
            border-radius: 4px;
            transition: color 0.2s;
            white-space: nowrap;
        }
        .top-nav a:hover { color: #22d3ee; }
        .top-nav a.tn-primary { color: #94a3b8; }
        .top-nav a.tn-primary:hover { color: #22d3ee; }

        .container {
            width: 100%;
            margin: 0;
            padding: 0;
        }

        .content-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 40px;
            border-bottom: 1px solid #334155;
        }

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

        .section-header {
            font-size: 0.75em;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: #22d3ee;
            margin-bottom: 16px;
            font-weight: 600;
        }

        .section-title {
            font-size: 2em;
            color: #f1f5f9;
            margin-bottom: 24px;
            line-height: 1.2;
            font-weight: 700;
        }

        .section-content {
            font-size: 1.05em;
            line-height: 1.9;
            color: #cbd5e1;
            margin-bottom: 32px;
        }

        .feature-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
            margin-top: 40px;
        }

        .feature-item {
            background: #1e293b;
            padding: 28px;
            border-radius: 8px;
            border: 1px solid #334155;
        }

        .feature-icon {
            font-size: 2em;
            margin-bottom: 16px;
            color: #22d3ee;
        }

        .feature-title {
            font-size: 1.1em;
            color: #f1f5f9;
            margin-bottom: 12px;
            font-weight: 600;
        }

        .feature-description {
            font-size: 0.95em;
            line-height: 1.7;
            color: #94a3b8;
        }

        .data-sources {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            margin-top: 40px;
        }

        .data-source {
            background: #0f172a;
            padding: 20px;
            border-radius: 6px;
            border: 1px solid #334155;
            text-align: center;
        }

        .data-source-icon {
            font-size: 1.8em;
            color: #22d3ee;
            margin-bottom: 12px;
        }

        .data-source-label {
            font-size: 0.85em;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 8px;
        }

        .data-source-value {
            font-size: 1.1em;
            color: #22d3ee;
            font-weight: 600;
        }

        .disclaimer-box {
            background: #0f172a;
            border: 2px solid #334155;
            border-radius: 8px;
            padding: 32px;
            margin-top: 40px;
        }

        .disclaimer-title {
            font-size: 1.2em;
            color: #f1f5f9;
            margin-bottom: 16px;
            font-weight: 600;
        }

        .disclaimer-text {
            font-size: 0.95em;
            line-height: 1.8;
            color: #94a3b8;
        }

        .footer {
            text-align: center;
            padding: 32px 24px;
            border-top: 1px solid #334155;
            color: #64748b;
            font-size: 0.8em;
        }

        @media (max-width: 1024px) {
            .feature-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }

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

            .cta-two-col {
                grid-template-columns: 1fr !important;
                gap: 40px !important;
            }

            .tm-feature-grid {
                grid-template-columns: repeat(2, 1fr) !important;
            }
        }

        @media (max-width: 768px) {
            .content-section {
                padding: 40px 24px;
            }

            .section-title {
                font-size: 1.5em;
            }

            .data-sources {
                grid-template-columns: 1fr;
            }

            .logo {
                font-size: 2em;
            }

            .tagline {
                font-size: 0.9em;
            }

            .top-nav a {
                font-size: 0.65em;
                padding: 5px 12px;
            }

            .tm-feature-grid {
                grid-template-columns: 1fr !important;
            }

            .tm-mockup-scroll {
                margin: 0 -24px;
                border-radius: 0;
            }


        }

        /* ── Ticker Request Modal ── */
        .tr-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.7);
            z-index: 9000;
            align-items: center;
            justify-content: center;
            padding: 24px;
        }
        .tr-overlay.show { display: flex; }

        .tr-modal {
            max-width: 520px;
            width: 100%;
            background: #0f172a;
            border: 1px solid #334155;
            border-radius: 8px;
            overflow: hidden;
            animation: trSlideIn 0.2s ease;
        }

        @keyframes trSlideIn {
            from { opacity: 0; transform: translateY(-16px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        .tr-header {
            background: #1e293b;
            border-bottom: 1px solid #334155;
            padding: 24px 28px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .tr-header-ticker {
            font-size: 1.6em;
            font-weight: 700;
            color: #f1f5f9;
            letter-spacing: 2px;
        }

        .tr-header-name {
            font-size: 0.8em;
            color: #94a3b8;
            margin-top: 4px;
            font-style: italic;
        }

        .tr-close {
            font-size: 1.4em;
            color: #64748b;
            cursor: pointer;
            line-height: 1;
            padding: 4px 8px;
            transition: color 0.15s;
        }
        .tr-close:hover { color: #f1f5f9; }

        .tr-body {
            padding: 28px;
        }

        .tr-status-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
        }

        .tr-dot {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: #f59e0b;
            animation: trPulse 2s ease-in-out infinite;
        }
        @keyframes trPulse { 0%,100%{opacity:1} 50%{opacity:.3} }

        .tr-status-label {
            font-size: 0.72em;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #f59e0b;
            font-weight: 600;
        }

        .tr-message {
            font-size: 0.95em;
            color: #cbd5e1;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .tr-info-box {
            background: #1e293b;
            border-left: 3px solid #22d3ee;
            padding: 16px 20px;
            margin-bottom: 20px;
            font-size: 0.88em;
            color: #94a3b8;
            line-height: 1.7;
        }

        .tr-cta {
            background: rgba(34,211,238,.07);
            border: 1px solid rgba(34,211,238,.3);
            border-radius: 6px;
            padding: 16px 20px;
            margin-bottom: 20px;
            font-size: 0.88em;
            color: #cbd5e1;
            line-height: 1.7;
        }

        .tr-cta-label {
            font-size: 0.72em;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #22d3ee;
            font-weight: 600;
            margin-bottom: 6px;
        }

        .tr-subscribe-btn {
            display: inline-block;
            margin-top: 12px;
            padding: 9px 22px;
            background: #22d3ee;
            color: #0a0e27;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 700;
            font-size: 0.82em;
            letter-spacing: 1px;
            text-transform: uppercase;
            transition: background 0.2s;
        }
        .tr-subscribe-btn:hover { background: #06b6d4; }

        #trRequestStatus {
            font-size: 0.8em;
            color: #64748b;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        #trRequestStatus.sent { color: #10b981; }

        /* ── Subscribe CTA tiles ── */
        .cta-tile {
            background: #0f172a;
            border: 1px solid #334155;
            aspect-ratio: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 10px 6px;
            transition: border-color .2s;
        }
        .cta-tile:hover { border-color: rgba(34,211,238,.4); }
        .cta-tile i {
            font-size: 1.3em;
            color: #22d3ee;
        }
        .cta-tile span {
            font-size: 0.62em;
            font-weight: 700;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 0.7px;
            text-align: center;
            line-height: 1.2;
        }

        /* ── Cookie Consent Banner ── */
        #cookieBanner {
            position: fixed;
            bottom: 24px;
            left: 24px;
            max-width: 360px;
            background: #1e293b;
            border: 1px solid #334155;
            border-radius: 8px;
            padding: 20px 20px 16px;
            z-index: 9999;
            box-shadow: 0 8px 32px rgba(0,0,0,0.5);
            display: none;
            animation: cookieSlideIn 0.25s ease;
        }
        #cookieBanner.show { display: block; }
        @keyframes cookieSlideIn {
            from { opacity: 0; transform: translateY(12px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .cookie-title {
            font-size: 0.78em;
            font-weight: 700;
            color: #f1f5f9;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .cookie-title i { color: #22d3ee; }
        .cookie-text {
            font-size: 0.78em;
            color: #94a3b8;
            line-height: 1.7;
            margin-bottom: 16px;
        }
        .cookie-text a {
            color: #22d3ee;
            text-decoration: none;
        }
        .cookie-text a:hover { text-decoration: underline; }
        .cookie-actions {
            display: flex;
            gap: 8px;
        }
        .cookie-btn {
            flex: 1;
            padding: 8px 12px;
            border: none;
            border-radius: 4px;
            font-family: inherit;
            font-size: 0.75em;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            transition: background 0.2s;
        }
        .cookie-btn-accept {
            background: #22d3ee;
            color: #0a0e27;
        }
        .cookie-btn-accept:hover { background: #06b6d4; }
        .cookie-btn-decline {
            background: transparent;
            color: #64748b;
            border: 1px solid #334155;
        }
        .cookie-btn-decline:hover { color: #94a3b8; border-color: #475569; }



        /* Hide LightweightCharts injected TradingView attribution */
        #msftChartContainer a[href*="tradingview"],
        #msftChartContainer img[src*="tradingview"],
        #msftChartContainer [class*="logo"],
        #msftChartContainer [class*="attribution"] {
            display: none !important;
        }
