        :root {
            --bg-primary: #0a0a0c;
            --bg-secondary: #111114;
            --bg-elevated: #18181c;
            --bg-card: #1c1c21;
            --border: #2a2a30;
            --border-subtle: #1f1f25;
            --text-primary: #e8e6e3;
            --text-secondary: #8a8a8e;
            --text-tertiary: #5a5a5e;
            --accent: #c87830;
            --accent-glow: rgba(200, 120, 48, 0.15);
            --accent-muted: #a06028;
            --green: #3a9a5c;
            --blue: #4488cc;
            --red: #cc4444;
            --yellow: #c8a030;
            --font-display: 'Outfit', sans-serif;
            --font-mono: 'JetBrains Mono', monospace;
        }

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

        html {
            scroll-behavior: smooth;
            scrollbar-width: thin;
            scrollbar-color: var(--border) var(--bg-primary);
            -webkit-text-size-adjust: 100%;
            text-size-adjust: 100%;
            overflow-x: clip;
            width: 100%;
        }

        body {
            font-family: var(--font-display);
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            overflow-x: clip;
            width: 100%;
            max-width: 100%;
        }

        @supports not (overflow: clip) {
            html, body { overflow-x: hidden; }
        }

        /* ---- Noise overlay ---- */
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
            pointer-events: none;
            z-index: 9999;
        }

        /* ---- Navigation ---- */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            padding: 1rem 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(10, 10, 12, 0.8);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-subtle);
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            text-decoration: none;
            color: var(--text-primary);
        }

        .nav-logo-icon {
            width: 28px;
            height: 28px;
            background: linear-gradient(135deg, var(--accent), var(--accent-muted));
            border-radius: 7px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-mono);
            font-size: 14px;
            font-weight: 700;
            color: #fff;
        }

        .nav-logo-text {
            font-weight: 600;
            font-size: 1rem;
            letter-spacing: -0.02em;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 500;
            transition: color 0.2s;
        }

        .nav-links a:hover { color: var(--text-primary); }

        .nav-cta {
            font-family: var(--font-mono);
            font-size: 0.75rem;
            padding: 0.5rem 1.2rem;
            background: var(--accent);
            color: #fff;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.2s;
        }

        .nav-cta:hover {
            background: var(--accent-muted);
            transform: translateY(-1px);
        }

        /* ---- Hero ---- */
        .hero {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 8rem 2rem 4rem;
            position: relative;
            overflow-x: clip;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -200px;
            left: 50%;
            transform: translateX(-50%);
            width: 800px;
            height: 800px;
            background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
            pointer-events: none;
        }

        .hero-badge {
            font-family: var(--font-mono);
            font-size: 0.7rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--accent);
            background: var(--accent-glow);
            border: 1px solid rgba(200, 120, 48, 0.2);
            padding: 0.4rem 1rem;
            border-radius: 100px;
            margin-bottom: 2rem;
            animation: fadeInUp 0.8s ease-out;
        }

        .hero h1 {
            font-size: clamp(3rem, 8vw, 6rem);
            font-weight: 800;
            letter-spacing: -0.04em;
            line-height: 1.05;
            text-align: center;
            max-width: 800px;
            animation: fadeInUp 0.8s ease-out 0.1s both;
        }

        .hero h1 .highlight {
            background: linear-gradient(135deg, var(--accent) 0%, var(--yellow) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-sub {
            font-size: 1.15rem;
            color: var(--text-secondary);
            text-align: center;
            max-width: 560px;
            margin-top: 1.5rem;
            font-weight: 300;
            line-height: 1.7;
            animation: fadeInUp 0.8s ease-out 0.2s both;
        }

        .hero-actions {
            display: flex;
            gap: 1rem;
            margin-top: 2.5rem;
            animation: fadeInUp 0.8s ease-out 0.3s both;
        }

        .btn-primary {
            font-family: var(--font-mono);
            font-size: 0.8rem;
            padding: 0.75rem 2rem;
            background: var(--accent);
            color: #fff;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.25s;
            letter-spacing: 0.02em;
        }

        .btn-primary:hover {
            background: var(--accent-muted);
            transform: translateY(-2px);
            box-shadow: 0 8px 30px var(--accent-glow);
        }

        .btn-secondary {
            font-family: var(--font-mono);
            font-size: 0.8rem;
            padding: 0.75rem 2rem;
            background: transparent;
            color: var(--text-secondary);
            border: 1px solid var(--border);
            border-radius: 8px;
            cursor: pointer;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.25s;
        }

        .btn-secondary:hover {
            color: var(--text-primary);
            border-color: var(--text-tertiary);
            transform: translateY(-2px);
        }

        /* ---- Live Rate Pills (iOS Dynamic Island style) ---- */
        .rate-status {
            max-width: 520px;
            margin: 0 auto 4rem;
            padding: 0 2rem;
            animation: fadeInUp 0.8s ease-out 0.4s both;
        }

        .rate-pills {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        @media (max-width: 500px) {
            .rate-pills { grid-template-columns: 1fr; }
        }

        .rate-pill {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            background: var(--bg-secondary);
            border-radius: 16px;
            padding: 1.5rem 1.5rem 1.25rem;
            position: relative;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
            cursor: default;
        }

        .rate-pill::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 16px;
            border: 1px solid var(--border-subtle);
            pointer-events: none;
        }

        .rate-pill:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.3);
        }

        .rate-pill:hover::before {
            border-color: var(--border);
        }

        .rate-pill-left {
            display: flex;
            flex-direction: column;
            gap: 4px;
            min-width: 0;
        }

        .rate-pill-name {
            font-family: var(--font-mono);
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-secondary);
            line-height: 1;
        }

        .rate-pill-value {
            font-family: var(--font-mono);
            font-size: 2rem;
            font-weight: 700;
            letter-spacing: -0.02em;
            line-height: 1.1;
            margin: 0.5rem 0;
            transition: color 0.4s;
        }

        .rate-pill-value.normal { color: var(--text-primary); }
        .rate-pill-value.boosted { color: var(--yellow); }
        .rate-pill-value.peak { color: var(--accent); }
        .rate-pill-value.surge { color: var(--green); }

        .rate-pill-right {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin-top: 0.4rem;
        }

        .rate-pill-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            flex-shrink: 0;
            animation: pulse 2s infinite;
        }

        .rate-pill-dot.normal { background: var(--text-tertiary); animation: none; }
        .rate-pill-dot.boosted { background: var(--yellow); }
        .rate-pill-dot.peak { background: var(--accent); }
        .rate-pill-dot.surge { background: var(--green); }

        .rate-pill-label {
            font-family: var(--font-mono);
            font-size: 0.65rem;
            color: var(--text-tertiary);
        }

        .rate-pill-label.reset-text {
            color: var(--green);
            font-weight: 600;
        }

        .rate-updated {
            text-align: center;
            margin-top: 0.75rem;
            font-family: var(--font-mono);
            font-size: 0.55rem;
            color: var(--text-tertiary);
            opacity: 0.6;
        }

        @keyframes pillPop {
            0% { transform: scale(0.9); opacity: 0; }
            50% { transform: scale(1.04); }
            100% { transform: scale(1); opacity: 1; }
        }

        .rate-pill.animate {
            animation: pillPop 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        }

        /* ---- Device Preview ---- */
        .device-section {
            padding: 2rem 2rem 6rem;
            max-width: 1200px;
            margin: 0 auto;
            overflow-x: clip;
        }

        .device-tabs {
            display: flex;
            justify-content: center;
            gap: 0.25rem;
            margin-bottom: 3rem;
            background: var(--bg-secondary);
            border-radius: 12px;
            padding: 0.3rem;
            border: 1px solid var(--border-subtle);
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
            flex-wrap: wrap;
        }

        .device-tab {
            font-family: var(--font-display);
            font-size: 0.8rem;
            font-weight: 500;
            padding: 0.6rem 1.2rem;
            border: none;
            background: transparent;
            color: var(--text-tertiary);
            cursor: pointer;
            border-radius: 9px;
            transition: all 0.25s;
            white-space: nowrap;
        }

        .device-tab:hover { color: var(--text-secondary); }

        .device-tab.active {
            background: var(--bg-card);
            color: var(--text-primary);
            box-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }

        .device-preview {
            display: none;
            animation: deviceFadeIn 0.5s ease-out;
        }

        .device-preview.active { display: block; }

        .device-preview-stage {
            position: relative;
            min-height: 0;
        }

        @keyframes deviceFadeIn {
            from { opacity: 0; transform: translateY(12px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Device frames */
        .device-frame {
            margin: 0 auto;
            position: relative;
        }

        .device-frame-iphone {
            width: 280px;
            height: 580px;
            background: var(--bg-secondary);
            border-radius: 40px;
            border: 3px solid var(--border);
            padding: 12px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.03);
        }

        .device-frame-ipad {
            width: 360px;
            max-width: 88vw;
            height: 480px;
            background: var(--bg-secondary);
            border-radius: 24px;
            border: 3px solid var(--border);
            padding: 16px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.03);
        }

        .device-frame-mac {
            width: 780px;
            max-width: 90vw;
            height: 500px;
            background: var(--bg-secondary);
            border-radius: 12px;
            border: 2px solid var(--border);
            padding: 12px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
        }

        .mac-titlebar {
            height: 32px;
            background: var(--bg-elevated);
            border-radius: 10px 10px 0 0;
            display: flex;
            align-items: center;
            padding: 0 12px;
            gap: 6px;
        }

        .mac-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
        }

        .mac-dot.red { background: #ff5f57; }
        .mac-dot.yellow { background: #febc2e; }
        .mac-dot.green { background: #28c840; }

        .mac-screen {
            padding: 16px;
            min-height: 380px;
        }

        .mac-stand {
            width: 200px;
            height: 60px;
            margin: 0 auto;
            background: linear-gradient(180deg, var(--border) 0%, #1a1a1f 100%);
            clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
        }

        .device-frame-tv {
            width: 740px;
            max-width: 90vw;
            height: 400px;
            background: var(--bg-secondary);
            border-radius: 12px;
            border: 3px solid var(--border);
            padding: 20px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
        }

        .tv-stand {
            width: 300px;
            height: 16px;
            margin: 0 auto;
            margin-top: -3px;
            background: var(--border);
            border-radius: 0 0 8px 8px;
        }

        .device-frame-watch {
            width: 200px;
            height: 240px;
            background: var(--bg-secondary);
            border-radius: 50px;
            border: 3px solid #3a3a40;
            padding: 20px 12px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.03);
            position: relative;
        }

        .watch-crown {
            position: absolute;
            right: -8px;
            top: 50%;
            transform: translateY(-50%);
            width: 6px;
            height: 28px;
            background: #3a3a40;
            border-radius: 3px;
        }

        .device-frame-vision {
            width: 600px;
            max-width: 90vw;
            height: 280px;
            background: linear-gradient(135deg, #1a1a20 0%, #0f0f14 100%);
            border-radius: 140px;
            border: 3px solid var(--border);
            padding: 40px 60px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
            position: relative;
        }

        .vision-glass {
            position: absolute;
            inset: 3px;
            border-radius: 137px;
            background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 50%);
            pointer-events: none;
        }

        /* App mockup content */
        .app-screen {
            width: 100%;
            height: 100%;
            background: var(--bg-primary);
            border-radius: inherit;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .device-frame-iphone .app-screen { border-radius: 30px; }
        .device-frame-ipad .app-screen { border-radius: 12px; }
        .device-frame-watch .app-screen { border-radius: 36px; }
        .device-frame-vision .app-screen { border-radius: 100px; }

        .app-status-bar {
            padding: 8px 16px 4px;
            display: flex;
            justify-content: space-between;
            font-family: var(--font-mono);
            font-size: 0.6rem;
            color: var(--text-tertiary);
        }

        .app-header {
            padding: 8px 16px;
            font-weight: 700;
            font-size: 1.1rem;
            letter-spacing: -0.02em;
        }

        .app-usage-card {
            margin: 6px 12px;
            padding: 14px;
            background: var(--bg-elevated);
            border-radius: 14px;
            border: 1px solid var(--border-subtle);
        }

        .usage-label {
            font-size: 0.65rem;
            color: var(--text-tertiary);
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            margin-bottom: 6px;
        }

        .usage-bar-track {
            height: 8px;
            background: var(--bg-card);
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 4px;
        }

        .usage-bar-fill {
            height: 100%;
            border-radius: 4px;
            transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .usage-bar-fill.session { background: linear-gradient(90deg, var(--accent), var(--yellow)); }
        .usage-bar-fill.weekly { background: linear-gradient(90deg, var(--blue), #66aaee); }
        .usage-bar-fill.sonnet { background: linear-gradient(90deg, var(--green), #55bb77); }

        .usage-pct {
            font-family: var(--font-mono);
            font-size: 0.7rem;
            color: var(--text-secondary);
            text-align: right;
        }

        .app-live-indicator {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 4px 12px;
            font-size: 0.6rem;
            color: var(--green);
            font-family: var(--font-mono);
        }

        .live-dot {
            width: 6px;
            height: 6px;
            background: var(--green);
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.4; }
        }

        .app-reset-info {
            padding: 6px 16px;
            font-size: 0.6rem;
            color: var(--text-tertiary);
            font-family: var(--font-mono);
        }

        /* Watch-specific smaller text */
        .device-frame-watch .app-header { font-size: 0.75rem; padding: 4px 8px; }
        .device-frame-watch .app-usage-card { margin: 3px 4px; padding: 8px; }
        .device-frame-watch .usage-label { font-size: 0.5rem; margin-bottom: 3px; }
        .device-frame-watch .usage-bar-track { height: 5px; margin-bottom: 2px; }
        .device-frame-watch .usage-pct { font-size: 0.5rem; }
        .device-frame-watch .app-status-bar { display: none; }

        /* Vision layout */
        .device-frame-vision .app-screen {
            flex-direction: row;
            align-items: center;
            gap: 20px;
            padding: 20px 30px;
        }

        .vision-panel {
            flex: 1;
            min-width: 0;
        }

        .vision-panel .app-header { padding: 0 0 8px 0; }
        .vision-panel .app-usage-card { margin: 4px 0; padding: 10px; }

        /* TV layout */
        .device-frame-tv .app-screen {
            padding: 20px 30px;
        }

        .tv-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-top: 8px;
        }

        .tv-grid .app-usage-card { margin: 0; }

        .device-caption {
            text-align: center;
            margin-top: 1.5rem;
            font-size: 0.8rem;
            color: var(--text-tertiary);
            font-weight: 400;
        }

        .device-gallery {
            display: flex;
            gap: 1.2rem;
            justify-content: center;
            overflow-x: auto;
            padding: 0.2rem 0.1rem 0.8rem;
            scroll-snap-type: x mandatory;
            overscroll-behavior-x: contain;
            scrollbar-width: thin;
            scrollbar-color: var(--border) transparent;
        }

        .device-gallery.is-overflowing {
            justify-content: flex-start;
        }

        .device-gallery::-webkit-scrollbar {
            height: 8px;
        }

        .device-gallery::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 999px;
        }

        .device-gallery-item {
            flex: 0 0 auto;
            scroll-snap-align: start;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .device-gallery-item .mac-stand,
        .device-gallery-item .tv-stand {
            margin-top: 0.6rem;
        }

        .device-screenshot-shell {
            width: 100%;
            height: 100%;
            background: #060608;
            border-radius: inherit;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .device-screenshot {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
        }

        .device-frame-ipad .device-screenshot { object-fit: contain; }
        .device-frame-mac .device-screenshot-shell { border-radius: 0; }
        .device-frame-mac .device-screenshot { object-fit: contain; }
        .device-frame-watch .device-screenshot { object-fit: cover; }

        /* ---- Features ---- */
        .features {
            padding: 6rem 2rem;
            max-width: 1100px;
            margin: 0 auto;
        }

        .section-label {
            font-family: var(--font-mono);
            font-size: 0.7rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--accent);
            margin-bottom: 1rem;
        }

        .section-title {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 700;
            letter-spacing: -0.03em;
            line-height: 1.15;
            margin-bottom: 3.5rem;
            max-width: 600px;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.5rem;
        }

        .feature-card {
            background: var(--bg-secondary);
            border: 1px solid var(--border-subtle);
            border-radius: 16px;
            padding: 2rem 1.5rem;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--accent), transparent);
            opacity: 0;
            transition: opacity 0.3s;
        }

        .feature-card:hover {
            border-color: var(--border);
            transform: translateY(-4px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.3);
        }

        .feature-card:hover::before { opacity: 1; }

        .feature-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            margin-bottom: 1.2rem;
        }

        .feature-icon.la { background: rgba(200, 120, 48, 0.12); color: var(--accent); }
        .feature-icon.widget { background: rgba(68, 136, 204, 0.12); color: var(--blue); }
        .feature-icon.multi { background: rgba(58, 154, 92, 0.12); color: var(--green); }
        .feature-icon.sync { background: rgba(200, 160, 48, 0.12); color: var(--yellow); }

        .feature-card h3 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            letter-spacing: -0.01em;
        }

        .feature-card p {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.6;
            font-weight: 300;
        }

        /* ---- Setup ---- */
        .setup {
            padding: 6rem 2rem;
            max-width: 1040px;
            margin: 0 auto;
        }

        .setup-subtitle {
            font-size: 0.95rem;
            color: var(--text-secondary);
            margin: 0 0 2rem;
            max-width: 760px;
        }

        .setup-tabs {
            display: flex;
            gap: 0.25rem;
            margin-bottom: 2rem;
            background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.15));
            border-radius: 10px;
            padding: 0.3rem;
            border: 1px solid var(--border);
            width: fit-content;
        }

        .setup-tab {
            font-family: var(--font-mono);
            font-size: 0.78rem;
            font-weight: 500;
            padding: 0.55rem 1.25rem;
            border: none;
            background: transparent;
            color: var(--text-secondary);
            cursor: pointer;
            border-radius: 7px;
            transition: all 0.25s;
        }

        .setup-tab.active {
            background: var(--bg-card);
            color: var(--text-primary);
            box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
        }

        .setup-content {
            display: none;
            animation: deviceFadeIn 0.4s ease-out;
        }

        .setup-content.active { display: block; }

        .setup-step {
            display: grid;
            grid-template-columns: 36px minmax(0, 1fr);
            gap: 0.95rem;
            margin-bottom: 1rem;
            position: relative;
            border: 1px solid var(--border-subtle);
            border-radius: 14px;
            padding: 1rem;
            background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(0,0,0,0.12));
        }

        .step-number {
            flex-shrink: 0;
            width: 30px;
            height: 30px;
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-mono);
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--accent);
        }

        .step-body h3 {
            font-size: 1.02rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            letter-spacing: -0.01em;
            line-height: 1.3;
        }

        .step-body p {
            font-size: 0.9rem;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 0.75rem;
            font-weight: 400;
        }

        .code-block {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: inset 0 0 0 1px rgba(255,255,255,0.015);
        }

        .code-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.55rem 0.85rem;
            background: var(--bg-elevated);
            border-bottom: 1px solid var(--border);
        }

        .code-lang {
            font-family: var(--font-mono);
            font-size: 0.62rem;
            color: var(--text-tertiary);
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .code-copy {
            font-family: var(--font-mono);
            font-size: 0.62rem;
            color: var(--text-tertiary);
            background: none;
            border: 1px solid var(--border);
            border-radius: 4px;
            padding: 0.2rem 0.55rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .code-copy:hover {
            color: var(--text-secondary);
            border-color: var(--text-tertiary);
        }

        .code-copy.copied {
            color: var(--green);
            border-color: var(--green);
        }

        pre {
            padding: 1rem;
            overflow-x: auto;
            font-family: var(--font-mono);
            font-size: 0.8rem;
            line-height: 1.62;
            color: var(--text-secondary);
            white-space: pre-wrap;
            word-break: break-word;
        }

        pre .comment { color: var(--text-tertiary); }
        pre .cmd { color: var(--accent); }
        pre .str { color: var(--green); }
        pre .flag { color: var(--blue); }

        /* ---- Footer ---- */
        footer {
            padding: 3rem 2rem;
            border-top: 1px solid var(--border-subtle);
            text-align: center;
        }

        footer p {
            font-size: 0.8rem;
            color: var(--text-tertiary);
            font-weight: 300;
        }

        footer a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.2s;
        }

        footer a:hover { color: var(--accent); }

        /* ---- Divider ---- */
        .divider {
            max-width: 1100px;
            margin: 0 auto;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--border), transparent);
        }

        /* ---- Animations ---- */
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.7s ease-out, transform 0.7s ease-out;
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ---- Responsive ---- */
        @media (max-width: 768px) {
            nav { padding: 0.8rem 1rem; }
            .nav-links { display: none; }
            .hero { padding: 7rem 1.5rem 3rem; }
            .hero-actions { flex-direction: column; width: 100%; max-width: 300px; }
            .btn-primary, .btn-secondary { width: 100%; text-align: center; }
            .device-tabs { gap: 0; }
            .device-tab { padding: 0.5rem 0.8rem; font-size: 0.7rem; }
            .features-grid { grid-template-columns: 1fr; }
            .setup { padding: 4.2rem 1rem; }
            .setup-subtitle { font-size: 0.88rem; margin-bottom: 1.5rem; }
            .setup-tabs { width: 100%; }
            .setup-tab { flex: 1; text-align: center; padding: 0.55rem 0.5rem; font-size: 0.72rem; }
            .setup-step {
                grid-template-columns: 30px minmax(0, 1fr);
                gap: 0.75rem;
                padding: 0.8rem;
            }
            .device-gallery { gap: 0.9rem; padding-bottom: 0.65rem; }
            .step-number { width: 26px; height: 26px; font-size: 0.7rem; }
            .step-body h3 { font-size: 0.93rem; }
            .step-body p { font-size: 0.83rem; }
            pre { font-size: 0.74rem; line-height: 1.55; padding: 0.85rem; }
            .tv-grid { grid-template-columns: 1fr; }
        }
