/* Toyota red by day. Electric glass by night. */
html[data-theme=day]{--text:#28282c;--muted:#585861;--accent:#c8102e;--bg:#f3f5f7;--surface:#fff;--surface2:#edf0f3;--line:#c9cbd0;--glass:linear-gradient(135deg,#fffffff5,#f0f3f8d9 55%,#ffffffeb)}
.ad-model-car>img{width:88%;margin-left:6%}.ad-model-car .ad-car-glow{left:14%;right:14%;bottom:7%}
html[data-theme=day] :is(.ad-heading h2,.ad-section h2,.trim-card h3,.model-card h3,.ad-shopping h3,.ad-specs b,.ad-lead-form h3,.ad-feature-ribbon span){color:#bd0925}
html[data-theme=day] :is(.ad-heading h2 em,.ad-section h2 em){color:#d71935}
html[data-theme=day] :is(.ad-hero h2 em,.ad-home-hero h1 em){color:#fff}
html[data-theme=day] .ad-model-hero h1{background:linear-gradient(#fff 25%,#fff0f2 45%,#fff 60%,#e4e4e4);background-clip:text;filter:drop-shadow(0 2px 0 #7c0517) drop-shadow(0 5px 9px #14091180)}
html[data-theme=day] .ad-kicker{color:white}html[data-theme=day] .ad-model-hero .ad-kicker{background:#c8102e;display:inline-block;padding:7px 12px;text-shadow:none;border-radius:4px}
html[data-theme=day] :is(.topline,.ad-experience){background:#202024;color:white}
html[data-theme=day] .ad-experience-copy h2 em{color:#ff536d}
html[data-theme=day] :is(.header nav,.header .brand b,.header .brand em,.header-actions .round,.ad-vehicle-label,.ad-hero-bottom,.brand-monolith,.ad-price-plaque,.local-crystal,.safety-sculpture,.safety-sculpture p,.conversion-bar,.nm-signature){color:#26262a}
html[data-theme=day] :is(.button.navy,.showroom-switch button.active,.year-switch button.active){background:linear-gradient(#f04c60,#ce102c 35%,#aa0820);border-color:#f896a4;color:white;box-shadow:inset 0 1px 4px #fff8,0 5px 14px #ac0b2728}
html[data-theme=day] :is(.button.ice,.model-card .model-link,.category-tabs button.active,.text-link,.header nav a:hover,.safety-sculpture>.icon){color:#bb0926}
html[data-theme=day] :is(.ad-photo-feature h3,.ad-gallery-spotlight h3,.ad-experience-copy h2){color:white}
.tech-section{scroll-margin-top:145px}.tech-intro{max-width:740px;font-size:14px;line-height:1.8;margin-bottom:28px}
.tech-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.tech-card{overflow:hidden;display:flex;flex-direction:column;position:relative;border-radius:17px}
.tech-visual{position:relative;overflow:hidden;background:#071326;aspect-ratio:16/10}.tech-visual>img{width:100%;height:100%;object-fit:cover;transition:transform .6s}.tech-card:hover .tech-visual>img{transform:scale(1.04)}
.tech-visual:after{content:'';position:absolute;inset:55% 0 0;background:linear-gradient(transparent,#020713d9);pointer-events:none}.tech-visual>.icon{position:absolute;left:18px;bottom:14px;width:30px;height:30px;z-index:2;color:#fff;filter:drop-shadow(0 1px 5px #000)}
.tech-card-copy{padding:22px;display:flex;flex-direction:column;flex:1}.tech-card h3{font:600 27px/1.08 var(--heading);color:#c8102e;margin:8px 0 13px}.tech-card p{font-size:12px;line-height:1.75;margin:0 0 17px;color:var(--muted)}.tech-card .tiny{font-size:8px;letter-spacing:1.8px;color:var(--accent)}
.tech-card a{margin-top:auto;color:var(--accent);font-size:11px;font-weight:700;display:flex;align-items:center;gap:12px}.tech-card a .icon{width:15px;height:15px}.tech-note{font-size:10px;line-height:1.7;color:var(--muted);margin-top:22px;max-width:950px}
.tech-safety{background:linear-gradient(125deg,#fff,#f0f2f6);border-block:1px solid #d5d7dd}.tech-safety .ad-heading h2{max-width:650px}.tech-foot{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:28px}.tech-foot>p{font-size:12px;max-width:590px}.tech-icon-visual{display:grid;place-items:center;background:radial-gradient(ellipse,#3b131d,#1e1e24 65%)}.tech-icon-visual>.icon{position:static;width:75px;height:75px;color:#fff}
/* Luminous structural borders and a holographic showroom floor. */
html[data-theme=night]{--bg:#020915;--surface:#071a30;--surface2:#092544;--text:#f0f8ff;--muted:#bbcee2;--accent:#76e9ff;--line:#269cdb80;--glass:linear-gradient(125deg,#103b619c,#031124ec 55%,#0b2f509e)}
html[data-theme=night] body{background:radial-gradient(ellipse at 0 12%,#0066ff26,transparent 40%),radial-gradient(ellipse at 100% 55%,#00bcff18,transparent 36%),#020915}
html[data-theme=night] :is(.glass,.model-card,.trim-card,.ad-feature-ribbon>button,.ad-gallery-grid .photo-card,.ad-photo-feature){border:1px solid #5bcfff;box-shadow:inset 0 0 0 1px #0a71ef,inset 0 0 22px #0d90ff22,0 0 3px #ddfaff,0 0 15px #0089ff66,0 10px 30px #0009;background:var(--glass)}
html[data-theme=night] :is(.ad-heading h2,.ad-section h2,.trim-card h3,.ad-specs b,.tech-card h3,.model-card h3){color:#fff;text-shadow:0 0 16px #209cff45}
html[data-theme=night] :is(.ad-heading h2 em,.ad-section h2 em,.ad-experience-copy h2 em){color:#baf5ff;text-shadow:0 0 5px #67cfff,0 0 25px #0089ff}
html[data-theme=night] :is(.header,.conversion-bar,.ad-model-nav){background:linear-gradient(100deg,#020b1cf5,#092442f5);border-color:#55cfff;box-shadow:0 1px 2px #baf9ff,0 0 18px #007bff88}
html[data-theme=night] .header .brand:before{background:linear-gradient(125deg,#061027,#0b3152);filter:drop-shadow(0 0 5px #008cff)}
html[data-theme=night] :is(.header .brand b,.header .brand em,.footer-main .brand b,.brand-monolith,.local-crystal,.safety-sculpture,.safety-sculpture p,.ad-price-plaque,.conversion-bar,.ad-lead-form){color:#f2fbff}
html[data-theme=night] .brand-emblem .icon{color:#e8faff;filter:drop-shadow(0 0 6px #1ba9ff)}
html[data-theme=night] :is(.button.navy,.button.ice,.glass-button,.header-actions .round,.floating-offer){background:linear-gradient(#15568d,#04214a 35%,#02142e);color:#f2fcff;border:1px solid #8fe9ff;box-shadow:inset 0 1px 4px #c9faff,0 0 5px #00d2ff,0 0 19px #0084ff75}
html[data-theme=night] .button.red{border-color:#ffb6c6;box-shadow:inset 0 2px 5px #fff7,0 0 4px #ff1e49,0 0 20px #f500354a}
html[data-theme=night] :is(.ad-service-strip .icon,.ad-specs .icon,.tech-visual>.icon,.safety-sculpture>.icon,.ad-feature-ribbon>button>.icon:first-child){color:#c2f8ff;filter:drop-shadow(0 0 6px #009dff)}
html[data-theme=night] .ad-scene{filter:brightness(.52) saturate(1.2)}
html[data-theme=night] .ad-hero:after{background:linear-gradient(0deg,#0099ff35,transparent 30%),linear-gradient(90deg,#02091b52,transparent 65%);box-shadow:inset 0 -2px 0 #77e8ff,inset 0 -8px 25px #008cff55}
html[data-theme=night] .ad-hero:before{content:'';position:absolute;left:-15%;right:-15%;bottom:-38%;height:70%;z-index:-1;pointer-events:none;background:linear-gradient(#32c9ff55 1px,transparent 1px),linear-gradient(90deg,#32c9ff55 1px,transparent 1px);background-size:75px 45px;transform:perspective(350px) rotateX(58deg);transform-origin:center top;mask-image:linear-gradient(transparent,#000 45%,transparent)}
html[data-theme=night] .ad-car-glow{border:2px solid #a8f9ff;background:#006bff25;box-shadow:0 0 4px #fff,0 0 14px #00d9ff,0 0 38px #008cff,inset 0 0 15px #14c5ff;animation:none}
html[data-theme=night] .ad-model-car>img{filter:drop-shadow(0 16px 13px #00101ecc) drop-shadow(0 0 9px #2a9be94d)}
html[data-theme=night] .brand-monolith{background:linear-gradient(125deg,#235b8980,#021a39b8,#1265a080);box-shadow:inset 0 0 18px #2aafff70,0 0 7px #fff,0 0 25px #009dff,16px 15px 0 #0080ff22}
html[data-theme=night] :is(.tech-safety,.ad-feature-section,.ad-choice){background:radial-gradient(ellipse at 80% 10%,#06599835,transparent 60%),#041020;border-color:#1687c866}
html[data-theme=night] .tech-visual{border-bottom:1px solid #24b6ff;box-shadow:0 3px 12px #008cff55}
html[data-theme=night] .tech-icon-visual{background:radial-gradient(ellipse,#063f71,#030d21 70%)}
html[data-theme=night] .ad-lead-form{--surface:#07182d;--muted:#bad3e9;--text:#f2faff;--line:#1878ac}
html[data-theme=night] :is(.ad-lead-form input,.ad-lead-form select,.ad-lead-form textarea){background:#06152b;color:#f2faff;border-color:#288dd4}
html[data-theme=night] .ad-lead-form h3{color:white}html[data-theme=night] .intent-buttons button{color:#d8f5ff;background:#092d51;border-color:#147fc2}html[data-theme=night] .intent-buttons button.active{background:#075995;box-shadow:0 0 10px #008cff}
html[data-theme=night] .ad-model-hero h1{filter:drop-shadow(0 2px 0 #003d81) drop-shadow(0 0 14px #007eff8c)}
html[data-theme=night] .ad-photo-feature>div{background:linear-gradient(transparent,#021125e8 45%,#010916)}
@media(min-width:850px){.tech-card:first-child{grid-column:span 2;display:grid;grid-template-columns:1.15fr 1fr}.tech-card:first-child .tech-visual{height:100%;aspect-ratio:auto;min-height:275px}.tech-card:first-child h3{font-size:34px}}
@media(max-width:850px){.tech-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tech-foot{align-items:flex-start;flex-direction:column}.tech-card-copy{padding:19px}}
@media(max-width:600px){.tech-grid{grid-template-columns:1fr;gap:19px}.tech-card h3{font-size:28px}.tech-card p{font-size:12px}.tech-section .ad-heading{align-items:flex-start;flex-direction:column}.tech-section .ad-heading h2{font-size:37px}.tech-intro{font-size:12px}.tech-visual{aspect-ratio:16/9}.ad-model-car>img{width:90%;margin-left:5%}.ad-model-nav{gap:24px;justify-content:flex-start}.ad-model-hero .ad-kicker{font-size:16px}}
@media(prefers-reduced-motion:no-preference){html[data-theme=night] .brand-monolith{animation:electricPulse 5s ease-in-out infinite}@keyframes electricPulse{50%{box-shadow:inset 0 0 25px #2aafff99,0 0 8px #fff,0 0 40px #009dff,16px 15px 0 #0080ff33}}}
html[data-theme=night] .ad-edge-badge{background:linear-gradient(125deg,#0f395edb,#020d20ed);color:#e6faff;border:1px solid #65d9ff;box-shadow:inset 0 0 12px #1384c877,0 0 18px #008cff88}html[data-theme=night] .ad-model-hero .ad-price-plaque{color:white}
