@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

        @font-face {
            font-family: 'Tesla';
            src: url('./TESLA.ttf') format('truetype');
            font-display: swap;
        }

        @font-face {
            font-family: 'Cybertruck';
            src: url('./Cybertruck-RegularTTF.ttf') format('truetype');
            font-display: swap;
        }

        :root {
            --tesla-red: #E82127;
            --tesla-dark: #171a20;
            --tesla-gray: #393c41;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: #fff;
            color: var(--tesla-dark);
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        .hero-section {
            height: 100vh;
            background-size: cover;
            background-position: center;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            padding: 15vh 0 10vh 0;
            position: relative;
        }

        .hero-carousel-section {
            height: 80vh;
            padding: 0;
            overflow: hidden;
        }

        .hero-carousel-stage {
            position: absolute;
            inset: 0;
        }

        .hero-carousel-slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity 0.9s ease;
            pointer-events: none;
        }

        .hero-carousel-slide.is-active {
            opacity: 1;
            pointer-events: auto;
        }

        .hero-carousel-media {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hero-carousel-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.02) 36%, rgba(0, 0, 0, 0.16) 100%);
            z-index: 1;
        }

        .hero-carousel-copy {
            position: relative;
            z-index: 12;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            padding: 118px 0 28px;
            color: white;
            text-align: center;
        }

        .hero-carousel-text h1 {
            margin: 0 0 8px;
            font-size: clamp(2.1rem, 3.4vw, 3.1rem);
            font-weight: 600;
            line-height: 0.95;
            letter-spacing: -0.03em;
        }

        .hero-carousel-subtitle {
            font-size: clamp(0.98rem, 1.35vw, 1.35rem);
            font-weight: 600;
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-underline-offset: 5px;
        }

        .hero-carousel-actions {
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 28px;
        }

        .hero-carousel-cta {
            min-width: 200px;
            min-height: 44px;
            padding: 0 26px;
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.96);
            color: var(--tesla-dark);
            font-size: 0.95rem;
            font-weight: 600;
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
            transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
        }

        .hero-carousel-cta:hover {
            transform: translateY(-1px);
            box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
            background: white;
        }

        #carousel-primary {
            background: #3e6ae1;
            color: white;
        }

        #carousel-primary:hover {
            background: #3457b8;
            color: white;
        }

        .hero-carousel-nav {
            position: absolute;
            inset: 0;
            z-index: 13;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 22px;
            transform: translateY(44px);
            pointer-events: none;
        }

        .hero-carousel-arrow {
            width: 42px;
            height: 42px;
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.78);
            color: var(--tesla-dark);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
            font-size: 1.75rem;
            font-weight: 300;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            pointer-events: auto;
            transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
        }

        .hero-carousel-arrow:hover {
            transform: translateY(-1px);
            box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
            background: white;
        }

        .hero-carousel-pagination {
            display: flex;
            justify-content: center;
            gap: 10px;
            align-items: center;
        }

        .hero-carousel-footer {
            width: 100%;
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
            gap: 12px;
            padding: 0 22px;
        }

        .hero-carousel-footer-left {
            display: flex;
            justify-content: flex-start;
        }

        .hero-carousel-pause {
            width: 42px;
            height: 42px;
            border-radius: 4px;
            background: rgba(82, 86, 93, 0.96);
            color: white;
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.42rem;
            font-weight: 900;
            letter-spacing: -0.04em;
            text-shadow: 0 0 0.8px currentColor;
            line-height: 1;
            transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
        }

        .hero-carousel-pause:hover {
            transform: translateY(-1px);
            box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
            background: rgba(98, 102, 110, 0.98);
        }

        .hero-carousel-dot {
            width: 12px;
            height: 12px;
            border-radius: 9999px;
            background: rgba(255, 255, 255, 0.48);
            transition: transform 0.25s ease, background-color 0.25s ease;
        }

        .hero-carousel-dot.is-active {
            background: white;
            transform: scale(1.05);
        }

        .manual-carousel-section {
            height: auto;
            min-height: 0;
            display: block;
            padding: 48px 0 38px;
            background: #ffffff;
        }

        .manual-carousel-shell {
            width: min(1600px, calc(100% - 48px));
            margin: 0 auto;
        }

        .manual-carousel-viewport {
            position: relative;
            overflow: hidden;
        }

        .manual-carousel-track {
            display: flex;
            gap: 24px;
            transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
            transform: translateX(0);
            will-change: transform;
        }

        .manual-carousel-card {
            position: relative;
            flex: 0 0 64%;
            min-height: 580px;
            border-radius: 8px;
            background-size: cover;
            background-position: center;
            overflow: hidden;
            color: white;
            box-shadow: 0 28px 50px rgba(18, 22, 29, 0.12);
        }

        .manual-carousel-card-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(13, 18, 24, 0.08) 0%, rgba(13, 18, 24, 0.08) 48%, rgba(13, 18, 24, 0.52) 100%);
        }

        .manual-carousel-card-copy {
            position: relative;
            z-index: 1;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 34px 40px 40px;
        }

        .manual-carousel-kicker {
            font-size: 1rem;
            font-weight: 600;
            letter-spacing: -0.01em;
        }

        .manual-carousel-card-footer h2 {
            margin: 0 0 6px;
            font-size: clamp(2rem, 3vw, 3.35rem);
            line-height: 0.95;
            letter-spacing: -0.04em;
            font-weight: 500;
        }

        .manual-carousel-cybertruck-title {
            font-family: 'Cybertruck', 'Tesla', sans-serif;
            letter-spacing: 0;
            font-size: clamp(2.4rem, 4vw, 4.25rem);
            line-height: 0.92;
            text-transform: uppercase;
        }

        .manual-carousel-cybertruck-title span {
            display: inline-block;
        }

        .manual-carousel-cybertruck-title span + span {
            margin-left: -0.2em;
        }

        .manual-carousel-card-footer p {
            margin: 0;
            font-size: 1.14rem;
            font-weight: 500;
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-underline-offset: 4px;
        }

        .manual-carousel-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 28px;
        }

        .manual-carousel-btn {
            min-width: 160px;
            min-height: 40px;
            padding: 0 24px;
            border-radius: 4px;
            font-size: 0.95rem;
            font-weight: 600;
            transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
        }

        .manual-carousel-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
        }

        .manual-carousel-btn-primary {
            background: #3e6ae1;
            color: white;
        }

        .manual-carousel-btn-primary:hover {
            background: #3457b8;
        }

        .manual-carousel-btn-secondary {
            background: rgba(255, 255, 255, 0.96);
            color: var(--tesla-dark);
        }

        .manual-carousel-arrow {
            position: absolute;
            top: 44%;
            transform: translateY(-50%);
            width: 42px;
            height: 42px;
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.9);
            color: var(--tesla-dark);
            box-shadow: 0 18px 32px rgba(0, 0, 0, 0.16);
            font-size: 1.8rem;
            font-weight: 300;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
        }

        .manual-carousel-arrow:hover {
            transform: translateY(calc(-50% - 1px));
            box-shadow: 0 22px 34px rgba(0, 0, 0, 0.2);
        }

        .manual-carousel-arrow[hidden] {
            display: none;
        }

        .manual-carousel-arrow-prev {
            left: 18px;
        }

        .manual-carousel-arrow-next {
            right: 18px;
        }

        .manual-carousel-dots {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            padding-top: 22px;
        }

        .manual-carousel-dot {
            width: 12px;
            height: 12px;
            border-radius: 999px;
            background: #babec3;
            transition: transform 0.2s ease, background-color 0.2s ease;
        }

        .manual-carousel-dot.is-active {
            background: #171a20;
            transform: scale(1.08);
        }

        .part3-section {
            height: auto;
            min-height: 0;
            display: block;
            padding: 18px 0 52px;
            background: #ffffff;
        }

        .part3-shell {
            width: min(1480px, calc(100% - 60px));
            margin: 0 auto;
        }

        .part3-top-row,
        .part3-bottom-row {
            display: grid;
            gap: 24px;
        }

        .part3-top-row {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            margin-bottom: 34px;
        }

        .part3-top-card {
            height: 220px;
            border-radius: 8px;
            overflow: hidden;
            display: grid;
            grid-template-columns: 2.05fr 1fr;
            background: #f5f3f1;
        }

        .part3-top-copy {
            padding: 18px 34px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
        }

        .part3-top-copy h2 {
            margin: 0 0 10px;
            font-size: clamp(1.65rem, 2.4vw, 2.4rem);
            line-height: 1;
            letter-spacing: -0.04em;
            font-weight: 500;
            color: var(--tesla-dark);
        }

        .part3-top-copy p {
            margin: 0 0 14px;
            max-width: 430px;
            font-size: 1.1rem;
            line-height: 1.35;
            color: rgba(23, 26, 32, 0.82);
        }

        .part3-light-btn {
            min-width: 180px;
            min-height: 34px;
            padding: 0 18px;
            border-radius: 4px;
            background: #ffffff;
            color: var(--tesla-dark);
            font-size: 0.82rem;
            font-weight: 600;
            box-shadow: none;
        }

        .part3-top-image,
        .part3-feature-card {
            background-size: cover;
            background-position: center;
        }

        .part3-bottom-row {
            grid-template-columns: minmax(0, 2.08fr) minmax(300px, 1fr);
            align-items: stretch;
        }

        .part3-feature-card {
            position: relative;
            min-height: 428px;
            border-radius: 8px;
            overflow: hidden;
            color: white;
        }

        .part3-feature-card-wide {
            min-height: 580px;
        }

        .part3-feature-card-tall {
            min-height: 580px;
        }

        .part3-feature-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(8, 12, 18, 0.06) 0%, rgba(8, 12, 18, 0.12) 48%, rgba(8, 12, 18, 0.38) 100%);
        }

        .part3-feature-copy {
            position: relative;
            z-index: 1;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            gap: 18px;
            padding: 40px;
        }

        .part3-feature-copy h2 {
            margin: 0 0 8px;
            font-size: clamp(1.95rem, 2.85vw, 2.95rem);
            line-height: 0.98;
            letter-spacing: -0.05em;
            font-weight: 500;
            max-width: 12ch;
        }

        .part3-feature-card-wide .part3-feature-copy h2 {
            max-width: 11ch;
            max-width: none;
            white-space: nowrap;
        }

        .part3-feature-copy p {
            margin: 0;
            font-size: 1.16rem;
            font-weight: 600;
            text-decoration: none;
        }

        .part3-feature-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .part3-cta-primary,
        .part3-cta-secondary {
            min-width: 160px;
            min-height: 48px;
            padding: 0 20px;
            border-radius: 4px;
            font-size: 0.84rem;
            font-weight: 600;
            line-height: 1.05;
        }

        .part3-cta-primary {
            background: #3e6ae1;
            color: white;
        }

        .part3-cta-secondary {
            background: rgba(255, 255, 255, 0.96);
            color: var(--tesla-dark);
        }

        .charge-map-section {
            height: auto;
            min-height: 0;
            display: block;
            padding: 8px 0 72px;
            background: #ffffff;
        }

        .charge-map-shell {
            width: min(1480px, calc(100% - 60px));
            margin: 0 auto;
        }

        .charge-map-frame {
            overflow: hidden;
            border-radius: 8px;
            background: #ececec;
            box-shadow: inset 0 0 0 1px rgba(23, 26, 32, 0.04);
        }

        .charge-map-embed {
            width: 100%;
            height: 540px;
            border: 0;
            display: block;
            background: #ececec;
        }

        .charge-map-summary {
            padding: 32px 10px 0;
            display: grid;
            grid-template-columns: minmax(0, 1.2fr) auto;
            gap: 28px;
            align-items: end;
        }

        .charge-map-copy h2 {
            margin: 0 0 8px;
            font-size: clamp(2.8rem, 4vw, 4rem);
            line-height: 0.98;
            letter-spacing: -0.05em;
            font-weight: 500;
            color: #0f1720;
        }

        .charge-map-copy p {
            margin: 0;
            max-width: 740px;
            font-size: 1.08rem;
            line-height: 1.4;
            color: rgba(23, 26, 32, 0.82);
        }

        .charge-map-stats {
            display: flex;
            align-items: flex-start;
            gap: 44px;
        }

        .charge-map-stat {
            min-width: 0;
        }

        .charge-map-stat-top {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 6px;
        }

        .charge-map-stat-value {
            font-size: clamp(2.6rem, 4vw, 4.1rem);
            line-height: 0.95;
            letter-spacing: -0.05em;
            font-weight: 500;
            color: #0f1720;
            white-space: nowrap;
        }

        .charge-map-stat-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            flex: 0 0 auto;
        }

        .charge-map-stat-icon svg {
            width: 100%;
            height: 100%;
        }

        .charge-map-stat-label {
            font-size: 1rem;
            line-height: 1.25;
            color: rgba(23, 26, 32, 0.88);
        }

        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.1) 100%);
            z-index: 1;
        }

        .content-z {
            z-index: 10;
            text-align: center;
        }

        .btn-primary {
            background-color: var(--tesla-gray);
            color: white;
            padding: 12px 80px;
            border-radius: 4px;
            font-weight: 500;
            text-transform: uppercase;
            font-size: 12px;
            transition: all 0.3s ease;
            backdrop-filter: blur(8px);
            opacity: 0.85;
        }

        .btn-primary:hover {
            opacity: 1;
            background-color: var(--tesla-dark);
        }

        .btn-secondary {
            background-color: rgba(255, 255, 255, 0.65);
            color: var(--tesla-dark);
            padding: 12px 80px;
            border-radius: 4px;
            font-weight: 500;
            text-transform: uppercase;
            font-size: 12px;
            transition: all 0.3s ease;
            backdrop-filter: blur(8px);
        }

        .btn-secondary:hover {
            background-color: rgba(255, 255, 255, 0.9);
        }

        .glass-panel {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }

        .scroll-container {
            height: auto;
            overflow: visible;
            scroll-snap-type: none;
        }

        /* Quiz Specifics */
        .quiz-option {
            border: 1px solid #d0d1d2;
            padding: 16px;
            border-radius: 4px;
            margin-bottom: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
            text-align: left;
        }

        .quiz-option:hover {
            background-color: #f4f4f4;
            border-color: #171a20;
        }

        .quiz-option.selected {
            background-color: #171a20;
            color: white;
            border-color: #171a20;
        }

        .progress-bar {
            height: 2px;
            background-color: #e2e2e2;
            width: 100%;
            position: absolute;
            top: 0;
            left: 0;
        }

        .progress-fill {
            height: 100%;
            background-color: var(--tesla-dark);
            transition: width 0.4s ease;
        }

        /* Hide elements initially */
        #quiz-overlay, #result-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 100;
            background: white;
        }

        .fade-in-up {
            animation: fadeInUp 0.8s ease forwards;
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .logo-wordmark {
            font-family: 'Tesla', 'Inter', sans-serif;
            font-size: 1.2rem;
            font-weight: 400;
            letter-spacing: 0.48em;
            text-transform: uppercase;
            line-height: 1;
        }

        .nav-shell {
            --mobile-menu-start: #334763;
            --mobile-menu-end: #8aa7c7;
            --mobile-nav-color: #ffffff;
            background-color: rgba(255, 255, 255, 0.96);
            color: var(--tesla-dark);
            box-shadow: 0 1px 0 rgba(23, 26, 32, 0.08);
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .nav-shell .nav-link {
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .nav-link-trigger {
            position: relative;
            z-index: 60;
        }

        .desktop-nav {
            display: flex;
        }

        .responsive-nav {
            display: none;
            width: 100%;
            grid-template-columns: max-content 1fr max-content;
            align-items: center;
            gap: 0;
            position: relative;
        }

        .responsive-nav-center {
            display: flex;
            justify-content: flex-start;
            min-width: 0;
            grid-column: 1;
        }

        .responsive-nav-spacer {
            display: none;
        }

        .mobile-menu-trigger {
            min-width: 60px;
            width: 60px;
            height: 34px;
            padding: 0 8px;
            border-radius: 0;
            font-size: 0.82rem;
            font-weight: 600;
            grid-column: 3;
            justify-self: end;
            background:
                linear-gradient(to bottom, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
                linear-gradient(to right, var(--mobile-menu-start) 0%, var(--mobile-menu-start) 88%, var(--mobile-menu-end) 100%);
            color: white;
            backdrop-filter: blur(18px) saturate(135%);
            -webkit-backdrop-filter: blur(18px) saturate(135%);
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 10px 24px rgba(23, 26, 32, 0.14);
            transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
        }

        .mobile-menu-trigger:hover {
            transform: translateY(-1px);
            box-shadow: 0 14px 28px rgba(23, 26, 32, 0.18);
            border-color: rgba(255, 255, 255, 0.12);
        }

        .nav-icon-group {
            display: flex;
            align-items: center;
            gap: 2px;
            margin-left: auto;
        }

        .nav-icon-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 9999px;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .nav-icon-button:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }

        .nav-icon {
            width: 24px;
            height: 24px;
        }

        .nav-shell.is-light {
            color: var(--tesla-dark);
        }

        .nav-shell.is-light .nav-link:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }

        .nav-shell:not(.is-light) .nav-link:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }

        .mega-menu {
            position: fixed;
            top: 58px;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.98);
            border-top: 1px solid rgba(23, 26, 32, 0.06);
            box-shadow: 0 22px 60px rgba(0, 0, 0, 0.08);
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transform: translateY(-14px);
            transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
            z-index: 45;
        }

        .mega-menu.is-open {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: translateY(0);
        }

        .mega-menu-inner {
            max-width: 1480px;
            margin: 0 auto;
            padding: 34px 20px 38px;
            display: grid;
            grid-template-columns: fit-content(1000px) 260px;
            justify-content: start;
            gap: 0;
            align-items: start;
        }

        .vehicle-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(180px, 220px));
            justify-content: start;
            gap: 24px 42px;
            padding-right: 0;
        }

        .vehicle-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            color: var(--tesla-dark);
        }

        .vehicle-card img {
            width: 100%;
            max-width: 248px;
            height: 118px;
            object-fit: contain;
            margin-bottom: 12px;
        }

        .vehicle-card--wide img {
            max-width: 248px;
        }

        .vehicle-card h3 {
            margin: 0 0 8px;
            font-size: 1rem;
            font-weight: 600;
            line-height: 1.2;
        }

        .vehicle-card-links {
            display: flex;
            gap: 18px;
            font-size: 0.82rem;
        }

        .vehicle-card-links a,
        .mega-menu-side a {
            color: rgba(23, 26, 32, 0.7);
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .mega-menu-side {
            position: relative;
            padding-left: 82px;
            margin-left: 82px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            font-size: 0.84rem;
            font-weight: 600;
        }

        .mega-menu-side::before {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            width: 1px;
            background: rgba(23, 26, 32, 0.1);
        }

        .mega-menu-side a {
            text-decoration: none;
            color: var(--tesla-dark);
            white-space: nowrap;
        }

        .mega-menu-side a:hover,
        .vehicle-card-links a:hover {
            color: var(--tesla-dark);
        }

        .menu-overlay,
        .menu-vehicles-overlay {
            position: fixed;
            inset: 0;
            background: white;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transform: translateY(12px);
            transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s ease;
            z-index: 1000004;
        }

        .menu-overlay.is-open,
        .menu-vehicles-overlay.is-open {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: translateY(0);
        }

        .menu-overlay-panel,
        .menu-vehicles-panel {
            height: 100%;
            overflow-y: auto;
            padding: 20px 20px 34px;
        }

        .menu-overlay-header,
        .menu-vehicles-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 26px;
        }

        .menu-overlay-header {
            justify-content: flex-end;
        }

        .menu-overlay-close,
        .menu-vehicles-close,
        .menu-vehicles-back {
            width: 40px;
            height: 40px;
            border-radius: 9999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--tesla-dark);
        }

        .menu-overlay-close:hover,
        .menu-vehicles-close:hover,
        .menu-vehicles-back:hover {
            background: rgba(0, 0, 0, 0.05);
        }

        .menu-overlay-close span,
        .menu-vehicles-close span,
        .menu-vehicles-back span {
            line-height: 1;
        }

        .menu-overlay-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .menu-overlay-item,
        .menu-overlay-static {
            width: 100%;
            min-height: 58px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-radius: 14px;
            padding: 0 12px;
            font-size: 1rem;
            font-weight: 600;
            color: var(--tesla-dark);
        }

        .menu-overlay-item:hover {
            background: rgba(0, 0, 0, 0.04);
        }

        .menu-overlay-chevron {
            font-size: 1.55rem;
            font-weight: 300;
            color: rgba(23, 26, 32, 0.55);
        }

        .menu-overlay-section {
            margin-top: 18px;
            padding-top: 10px;
        }

        .menu-overlay-static {
            justify-content: flex-start;
            gap: 14px;
            min-height: 62px;
        }

        .menu-overlay-static-copy {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .menu-overlay-static-subtext {
            font-size: 0.95rem;
            font-weight: 400;
            color: rgba(23, 26, 32, 0.65);
        }

        .menu-overlay-static-end {
            margin-left: auto;
        }

        .menu-vehicles-header {
            display: grid;
            grid-template-columns: 40px 1fr 40px;
            gap: 12px;
            align-items: center;
            margin-bottom: 24px;
        }

        .menu-vehicles-title {
            text-align: center;
            font-size: 1rem;
            font-weight: 600;
            color: var(--tesla-dark);
        }

        .menu-vehicles-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 28px 18px;
        }

        .menu-vehicles-card {
            text-align: center;
            color: var(--tesla-dark);
        }

        .menu-vehicles-card img {
            width: 100%;
            height: 90px;
            object-fit: contain;
            margin-bottom: 10px;
        }

        .menu-vehicles-card h3 {
            margin: 0 0 8px;
            font-size: 0.98rem;
            font-weight: 600;
            line-height: 1.2;
        }

        .menu-vehicles-links {
            display: flex;
            justify-content: center;
            gap: 18px;
            font-size: 0.94rem;
        }

        .menu-vehicles-links a {
            color: rgba(23, 26, 32, 0.72);
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .menu-vehicles-options {
            margin-top: 28px;
            padding-top: 24px;
            border-top: 1px solid rgba(23, 26, 32, 0.1);
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .menu-vehicles-options a {
            color: var(--tesla-dark);
            font-size: 1rem;
            font-weight: 600;
        }

        body.menu-open {
            overflow: hidden;
        }

        .hero-copy-light {
            color: white;
        }

        .hero-copy-light p {
            border-color: white;
        }

        .cookie-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.42);
            backdrop-filter: blur(6px);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.35s ease;
            z-index: 1000002;
        }

        .cookie-banner {
            position: fixed;
            left: 16px;
            right: 16px;
            bottom: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            padding: 18px 22px;
            background: rgba(38, 40, 42, 0.96);
            backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 10px;
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
            opacity: 0;
            transform: translateY(18px);
            pointer-events: none;
            transition: opacity 0.35s ease, transform 0.35s ease;
            z-index: 1000003;
        }

        .cookie-banner--text {
            max-width: 1240px;
            font-size: 12px;
            line-height: 1.45;
            color: rgba(255, 255, 255, 0.92);
        }

        .cookie-banner--text strong {
            display: block;
            margin-bottom: 2px;
            font-size: 14px;
            font-weight: 600;
            color: white;
        }

        .cookie-banner--paragraph {
            margin: 0;
        }

        .cookie-settings-url {
            color: white;
            font-weight: 600;
        }

        .cookie-banner--btn-container {
            display: flex;
            gap: 12px;
            flex-shrink: 0;
        }

        .cookie-btn {
            min-width: 104px;
            padding: 11px 22px;
            border-radius: 4px;
            border: 1px solid rgba(255, 255, 255, 0.06);
            background: #3a3d40;
            color: white;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.01em;
            transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
        }

        .cookie-btn:hover {
            background: #4a4d50;
            color: white;
            transform: translateY(-1px);
        }

        body.cookie-consent-pending .cookie-backdrop {
            opacity: 1;
            pointer-events: auto;
        }

        body.cookie-consent-pending .cookie-banner {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        @media (max-width: 768px) {
            .cookie-banner {
                left: 16px;
                right: 16px;
                bottom: 16px;
                padding: 18px;
                flex-direction: column;
                align-items: stretch;
            }

            .cookie-banner--btn-container {
                width: 100%;
                flex-direction: column;
            }

            .cookie-btn {
                width: 100%;
            }
        }

        @media (max-width: 1200px) {
            .vehicle-grid {
                grid-template-columns: repeat(3, minmax(180px, 220px));
            }
        }

        @media (max-width: 1023px) {
            #site-nav {
                padding-left: 22px !important;
                padding-right: 16px !important;
            }

            .desktop-nav {
                display: none;
            }

            .responsive-nav {
                display: grid;
            }

            .mega-menu {
                display: none;
            }

            .logo-wordmark {
                font-size: 1rem;
                letter-spacing: 0.36em;
            }

            .hero-carousel-copy {
                padding-top: 104px;
            }

            .manual-carousel-shell {
                width: calc(100% - 32px);
            }

            .manual-carousel-track {
                transform: translateX(0);
            }

            .manual-carousel-card {
                flex-basis: 78%;
                min-height: 500px;
            }

            .manual-carousel-card-copy {
                padding: 28px 28px 32px;
            }

            .part3-shell {
                width: calc(100% - 32px);
            }

            .part3-top-row,
            .part3-bottom-row {
                grid-template-columns: 1fr;
            }

            .part3-top-card {
                grid-template-columns: 1.7fr 1fr;
            }

            .part3-feature-card,
            .part3-feature-card-wide,
            .part3-feature-card-tall {
                min-height: 430px;
            }

            .charge-map-shell {
                width: calc(100% - 32px);
            }

            .charge-map-summary {
                grid-template-columns: 1fr;
                align-items: start;
            }
        }

        @media (min-width: 768px) and (max-width: 1023px) {
            .nav-shell {
                background-color: rgba(255, 255, 255, 0.96);
                color: var(--tesla-dark);
                box-shadow: 0 1px 0 rgba(23, 26, 32, 0.08);
            }

            .mobile-menu-trigger {
                color: var(--tesla-dark);
                border-color: rgba(255, 255, 255, 0.45);
                box-shadow: 0 16px 26px rgba(23, 26, 32, 0.12);
            }

            .mobile-menu-trigger:hover {
                box-shadow: 0 18px 30px rgba(23, 26, 32, 0.16);
            }

            .menu-overlay,
            .menu-vehicles-overlay {
                inset: 0 0 0 auto;
                width: min(420px, 100vw);
                box-shadow: -20px 0 40px rgba(0, 0, 0, 0.08);
            }

            .menu-vehicles-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (max-width: 767px) {
            .nav-shell {
                background: transparent;
                color: var(--mobile-nav-color);
                box-shadow: none;
            }

            .nav-shell.is-light {
                color: var(--mobile-nav-color);
            }

            .responsive-nav .logo-wordmark {
                color: var(--mobile-nav-color);
                font-size: 1.08rem;
                letter-spacing: 0.4em;
                text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
            }

            .responsive-nav {
                grid-template-columns: max-content 1fr max-content;
            }

            .menu-overlay-panel,
            .menu-vehicles-panel {
                padding-left: 18px;
                padding-right: 18px;
            }

            .hero-carousel-nav {
                padding: 0 14px;
                transform: translateY(30px);
            }

            .hero-carousel-arrow {
                width: 38px;
                height: 38px;
                font-size: 1.65rem;
            }

            .hero-carousel-footer {
                padding: 0 14px;
            }

            .hero-carousel-pause {
                width: 38px;
                height: 38px;
                font-size: 1.24rem;
            }

            .hero-carousel-actions {
                width: calc(100% - 32px);
                margin-left: auto;
                margin-right: auto;
            }

            .hero-carousel-cta {
                flex: 1 1 calc(50% - 6px);
                min-width: 0;
            }

            .manual-carousel-section {
                padding: 28px 0 24px;
            }

            .manual-carousel-shell {
                width: calc(100% - 20px);
            }

            .manual-carousel-track {
                gap: 16px;
                transform: translateX(0);
            }

            .manual-carousel-card {
                flex-basis: 100%;
                min-height: 460px;
                border-radius: 8px;
            }

            .manual-carousel-card-copy {
                padding: 24px 22px 24px;
            }

            .manual-carousel-card-footer h2 {
                font-size: clamp(2.5rem, 12vw, 4rem);
            }

            .manual-carousel-actions {
                flex-direction: column;
                gap: 8px;
            }

            .manual-carousel-btn {
                width: 100%;
                min-width: 0;
            }

            .manual-carousel-arrow {
                width: 38px;
                height: 38px;
                font-size: 1.6rem;
            }

            .manual-carousel-arrow-prev {
                left: 10px;
            }

            .manual-carousel-arrow-next {
                right: 10px;
            }

            .part3-section {
                padding: 14px 0 30px;
            }

            .part3-shell {
                width: calc(100% - 20px);
            }

            .part3-top-row {
                margin-bottom: 20px;
            }

            .part3-top-card {
                grid-template-columns: 1fr;
                min-height: 0;
            }

            .part3-top-copy {
                padding: 28px 22px 22px;
            }

            .part3-light-btn {
                width: 100%;
                min-width: 0;
            }

            .part3-top-image {
                min-height: 180px;
            }

            .part3-feature-card,
            .part3-feature-card-wide,
            .part3-feature-card-tall {
                min-height: 380px;
            }

            .part3-feature-copy {
                padding: 24px 22px;
            }

            .part3-feature-copy h2 {
                font-size: clamp(2.4rem, 10vw, 3.5rem);
            }

            .part3-feature-actions {
                flex-direction: column;
            }

            .part3-cta-primary,
            .part3-cta-secondary {
                width: 100%;
                min-width: 0;
            }

            .charge-map-section {
                padding: 8px 0 34px;
            }

            .charge-map-shell {
                width: calc(100% - 20px);
            }

            .charge-map-embed {
                height: 420px;
            }

            .charge-map-summary {
                padding: 22px 0 0;
                gap: 20px;
            }

            .charge-map-copy h2 {
                font-size: clamp(2.4rem, 11vw, 3.5rem);
            }

            .charge-map-copy p {
                font-size: 1rem;
            }

            .charge-map-stats {
                gap: 24px;
                flex-wrap: wrap;
            }

            .charge-map-stat-value {
                font-size: clamp(2.2rem, 10vw, 3.2rem);
            }

            .charge-map-stat-icon {
                width: 42px;
                height: 42px;
            }
        }

        @media (min-width: 640px) {
            .menu-vehicles-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }
