/*
 * RPM Concierge — Atelier IX
 * Intentional visual system. Three brand colours only:
 * Dusty Purple #685878 | Charcoal #28282E | Gold #F2C14E.
 * Source layout and functionality remain in site.css/styles.css.
 * No decorative eyebrow lines, no fake chrome, no unnecessary animation.
 */
@import url('https://fonts.googleapis.com/css2?family=Azeret+Mono:wght@400;500;600&family=Newsreader:ital,opsz,wght@0,6..72,400;1,6..72,400&family=Schibsted+Grotesk:wght@400;500;600;700&display=swap');
:root{
 --rpm-purple:#685878;--rpm-charcoal:#28282E;--rpm-gold:#F2C14E;
 --rpm-night:#232329;--rpm-dark:#302D35;--rpm-purple-deep:#3B3443;
 --rpm-raised:#403947;--rpm-raised-hover:#4B4254;
 --rpm-cream:#F8F3EA;--rpm-white:#FFFCF7;--rpm-muted:#C6BDC9;
 --rpm-line:rgba(242,193,78,.17);--rpm-line-light:rgba(255,255,255,.11);
 --rpm-sans:'Schibsted Grotesk',Arial,sans-serif;
 --rpm-serif:'Newsreader',Georgia,serif;--rpm-mono:'Azeret Mono',monospace;
 --rpm-frame:clamp(14px,2.5vw,42px);
 --rpm-inset:clamp(20px,4.3vw,68px);
 --rpm-section-space:clamp(40px,4.3vw,67px);
 --rpm-gap:clamp(12px,1.35vw,20px);
 --ink:var(--rpm-cream);--ink2:var(--rpm-charcoal);
 --paper:var(--rpm-night);--warm:var(--rpm-dark);--white:var(--rpm-raised);
 --mist:var(--rpm-purple-deep);--line:var(--rpm-line-light);
 --muted:var(--rpm-muted);--teal:var(--rpm-purple);--teal2:var(--rpm-purple);
 --sage:var(--rpm-gold);--max:1280px;--radius:14px;--shadow:none;
 color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:86px;background:var(--rpm-night)}
body{margin:0;min-height:100vh;background:var(--rpm-night);color:var(--rpm-cream);font-family:var(--rpm-sans);font-size:15px;line-height:1.62;-webkit-font-smoothing:antialiased}
body main{min-width:0;background:var(--rpm-night);padding:var(--rpm-gap) 0;overflow:clip}
body :is(.container,.narrow,.article-shell){width:min(calc(100% - 2 * var(--rpm-inset)),var(--max));margin-inline:auto}
body :is(.narrow,.article-shell){max-width:880px}
body :is(h1,h2,h3,h4,h5,h6){color:var(--rpm-cream);font-family:var(--rpm-sans);font-weight:600;letter-spacing:-.044em;line-height:1.13;text-wrap:balance}
body h1{font-size:clamp(40px,4.6vw,70px)}
body h2{font-size:clamp(29px,3.0vw,43px)}
body h3{font-size:clamp(19px,1.7vw,25px)}
body p{color:var(--rpm-muted);line-height:1.75}
body .lead{max-width:62ch;color:var(--rpm-muted);font-size:clamp(15px,1.33vw,19px);line-height:1.65}
body :is(.kicker,.eyebrow,.article-meta,.meta){font:500 10px/1.5 var(--rpm-mono);text-transform:uppercase;letter-spacing:.12em;color:var(--rpm-gold)}
body :is(.kicker,.eyebrow)::before,body :is(.kicker,.eyebrow)::after,body main>.hero::before,body main>.hero::after,body main>.page-hero::before,body main>.page-hero::after{content:none!important;display:none!important}
body :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--rpm-gold);outline-offset:4px}
::selection{background:var(--rpm-gold);color:var(--rpm-charcoal)}

/* Main structural rhythm: framed but not box-on-box. */
body main>section,body main>.lookup-shell{width:calc(100% - 2 * var(--rpm-frame));max-width:1800px;margin:0 auto var(--rpm-gap);border:1px solid rgba(255,255,255,.07);border-radius:18px;background:var(--rpm-dark);position:relative}
body main>section:last-child{margin-bottom:0}
body main>section.section{padding:var(--rpm-section-space) 0}
body main>section.section-compact,body main>.lookup-shell{padding:clamp(25px,2.7vw,39px) 0}
body main>section.section.soft{background:#393340;border-color:rgba(255,255,255,.06)}
body main>section.section.dark{background:var(--rpm-charcoal)}
body main>.lookup-shell .container{width:min(calc(100% - 2 * var(--rpm-inset)),var(--max))}

/* Navigation, scaled logo, open dropdown and mobile menu. */
body .header{z-index:99;position:sticky;top:0;background:rgba(40,40,46,.97);border-bottom:1px solid var(--rpm-line);box-shadow:0 5px 22px rgba(0,0,0,.12);backdrop-filter:blur(18px)}
body .header::before,body .header::after{display:none!important;content:none!important}
body .header .container{width:min(calc(100% - 2 * var(--rpm-inset)),1280px)}
body .header :is(.nav-wrap,.navwrap){height:72px;min-height:72px;gap:clamp(12px,1.5vw,22px);display:flex;align-items:center}
body .header .brand--rpm{display:inline-flex;align-items:center;flex-shrink:0}
body .header .brand--rpm img{display:block;filter:brightness(0) invert(1);width:clamp(144px,11.8vw,168px);max-height:45px;height:auto;object-fit:contain}
body .header .desktop-nav{gap:5px}
body .header :is(.nav-link,.nav-trigger,.navlinks a){color:#E7E2E8;background:transparent;font:600 12px/1.2 var(--rpm-sans);letter-spacing:0;border-radius:9px;transition:color .2s ease,background-color .2s ease}
body .header :is(.nav-link,.nav-trigger){height:40px;padding:0 12px}
body .header :is(.nav-link:hover,.nav-trigger:hover,.nav-link.active,.nav-trigger.active,.nav-item.open>.nav-trigger,.navlinks a:hover){color:var(--rpm-gold);background:rgba(104,88,120,.29)}
body .header .nav-actions{gap:9px;margin-left:12px}
body .header .dropdown{width:315px;background:#35313B;border:1px solid var(--rpm-line);padding:9px;border-radius:13px;box-shadow:0 20px 40px rgba(0,0,0,.29)}
body .header .drop-link{border-radius:8px;padding:13px}
body .header .drop-link:hover{background:#4B4154}
body .header .drop-link strong{font:600 12px/1.3 var(--rpm-sans);color:var(--rpm-cream)}
body .header .drop-link span{color:var(--rpm-muted);font-size:11px;line-height:1.45}
body .header .menu-btn{background:#36323D;border:1px solid var(--rpm-line);border-radius:10px;color:var(--rpm-cream)}
body .header .mobile-nav{background:#28282E;padding:14px 0 18px}
body .header .mobile-group a{background:#37323D;color:var(--rpm-cream);border:1px solid var(--rpm-line-light);border-radius:10px;padding:13px}
body .header .mobile-group a:hover{border-color:var(--rpm-gold);color:var(--rpm-gold)}

/* CTAs are tactile, not glossy. Gold is for decisions, purple for context. */
body .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;height:auto;padding:11px 18px;border:1px solid rgba(242,193,78,.25);border-radius:10px;background:#38323F;color:var(--rpm-cream);font:600 12px/1.3 var(--rpm-sans);letter-spacing:0;box-shadow:none;transition:transform .2s ease,border-color .2s ease,background-color .2s ease,box-shadow .2s ease,color .2s ease}
body .btn:hover{transform:translateY(-2px);background:#51445B;border-color:rgba(242,193,78,.48);color:var(--rpm-cream);box-shadow:0 10px 22px rgba(0,0,0,.18)}
body .btn:active{transform:translateY(0);box-shadow:none}
body .btn.primary,body .btn.teal{background:var(--rpm-gold);color:var(--rpm-charcoal);border-color:var(--rpm-gold);font-weight:700}
body .btn.primary:hover,body .btn.teal:hover{background:#F6CD6C;border-color:#F6CD6C;color:var(--rpm-charcoal);box-shadow:0 11px 24px rgba(242,193,78,.20)}
body :is(.btn.ghost,.btn.secondary,.btn.soft){background:rgba(104,88,120,.17);border-color:rgba(242,193,78,.23);color:var(--rpm-cream)}
body .btn.small{min-height:36px;padding:9px 13px;font-size:11px;border-radius:9px}
body .btn:disabled{opacity:.5;cursor:not-allowed;transform:none}

/* A focused first viewport. The next section remains visibly accessible. */
body main>.hero{padding:clamp(34px,4vw,58px) 0;min-height:0;height:clamp(420px,57svh,530px);border:1px solid rgba(242,193,78,.17);border-radius:20px;overflow:hidden;background:linear-gradient(108deg,#28282E 0%,#312C37 39%,#51465B 72%,#685878 100%)}
body .hero-grid{height:100%;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:clamp(35px,5vw,78px);align-items:center}
body .hero-copy{min-width:0}
body .hero .kicker{color:var(--rpm-gold)}
body .hero h1{color:var(--rpm-cream);max-width:720px;font-size:clamp(45px,4.15vw,66px);line-height:1.04;letter-spacing:-.058em;margin-top:18px}
body .hero h1 em{font:italic 400 1.055em/1 var(--rpm-serif);color:var(--rpm-gold);letter-spacing:-.053em}
body .hero .lead{margin-top:20px;max-width:550px;color:#DDD5DF;font-size:clamp(15px,1.28vw,18px);line-height:1.64}
body .hero .hero-actions{margin-top:28px;display:flex;gap:12px;flex-wrap:wrap}
body .hero .micro-proof,body .hero .trust-row{display:flex;gap:12px 22px;flex-wrap:wrap;margin-top:29px;padding-top:20px;border-top:1px solid rgba(255,255,255,.16)}
body .hero :is(.micro-proof span,.trust-item){font:400 10px/1.5 var(--rpm-mono);letter-spacing:.015em;color:#CEC4D1}
body .hero :is(.micro-proof i,.trust-dot){width:5px;height:5px;background:var(--rpm-gold);border-radius:50%;margin-right:7px}
body .hero :is(.square-media,.hero-media){width:100%;max-width:530px;max-height:410px;height:100%;aspect-ratio:1.16 / 1;min-height:0;justify-self:end;border:1px solid rgba(242,193,78,.32);border-radius:12px;background:#39333E;box-shadow:0 18px 38px rgba(24,20,27,.22);overflow:hidden;position:relative}
body .hero :is(.square-media img,.hero-media img){height:100%;width:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.7,.2,1)}
body .hero :is(.square-media,.hero-media):hover img{transform:scale(1.035)}
body .hero :is(.media-caption,.hero-badge){position:absolute;z-index:2;bottom:14px;left:14px;right:14px;padding:14px 17px;background:rgba(40,40,46,.91);border:1px solid rgba(242,193,78,.2);border-radius:8px;backdrop-filter:blur(12px)}
body .hero :is(.media-caption strong,.hero-badge strong){color:var(--rpm-cream);font:600 13px/1.3 var(--rpm-sans)}
body .hero :is(.media-caption span,.hero-badge span){color:#C6B9CB;font-size:11px}

/* Compact discovery ribbon, less box-in-box. */
body main>.hero + .section-compact,body main>.hero + .lookup-shell{padding:17px 0;background:#34303A;border-color:rgba(242,193,78,.12)}
body main>.hero + .section-compact .lookup-strip,body main>.hero + .lookup-shell .lookup-card{box-shadow:none}
body .lookup-strip{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:22px;padding:18px 22px;border:1px solid rgba(242,193,78,.14);border-radius:11px;background:#3E3648}
body .lookup-strip-copy strong{display:block;color:var(--rpm-cream);font:600 15px/1.3 var(--rpm-sans)}
body .lookup-strip-copy span{display:block;color:var(--rpm-muted);font-size:12px;margin-top:5px}
body .lookup-strip-tabs,body :is(.tabs,.tool-tabs){border-radius:10px;background:#302D36;padding:4px}
body :is(.mini-tab,.tab,.tool-tab){border-radius:7px;color:#D6CAD9;font:500 10px/1.3 var(--rpm-mono)}
body :is(.mini-tab.active,.tab.active,.tool-tab.active){background:var(--rpm-gold);color:var(--rpm-charcoal);box-shadow:none}

/* Page heroes are restrained; strong typographic entry, not full-height banners. */
body main>.page-hero{padding:clamp(35px,3.9vw,58px) 0;border:1px solid rgba(242,193,78,.1);border-radius:18px;background:linear-gradient(108deg,#38313F 0%,#51445C 64%,#685878 100%)}
body .page-hero-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:36px;align-items:end}
body .page-hero h1{font-size:clamp(38px,3.45vw,54px);letter-spacing:-.054em;margin-top:10px;max-width:900px}
body .page-hero .lead{margin-top:17px;max-width:770px;color:#E0D7E1}
body .breadcrumbs{display:flex;gap:9px;align-items:center;margin-bottom:20px;color:#CFC4D1;font:400 10px/1.4 var(--rpm-mono)}
body .breadcrumbs :is(a,strong,b){color:inherit}
body .breadcrumbs a:hover{color:var(--rpm-gold)}
body .page-chip{border:1px solid rgba(242,193,78,.22);background:rgba(40,40,46,.16);color:var(--rpm-gold);border-radius:99px;padding:10px 14px;font:500 10px/1.2 var(--rpm-mono);white-space:nowrap}

/* Section titles/spacing and multi-column inventory */
body :is(.section-head,.journal-header){display:flex;align-items:end;justify-content:space-between;gap:26px;margin-bottom:clamp(25px,3vw,38px)}
body :is(.section-head h2,.journal-header h2,.section-title h2){font-size:clamp(28px,2.65vw,40px);margin-top:8px}
body :is(.section-head p,.journal-header p){color:#C4BAC7;max-width:410px;font-size:13px;line-height:1.7}
body .section-title{margin-bottom:28px}
body .section-title p{margin-top:12px}
body .cards,body .steps,body .journal-grid,body .feature-grid{gap:clamp(13px,1.5vw,22px)}
body .cards-featured{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch}
body .cards-inventory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch}
body .journal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch}

/* Tactile surfaces with a clear, deliberate interaction hierarchy. */
body :is(.card,.car-card,.article-card,.surface,.step,.feature,.principle-card,.content-card,.trust-card,.info-card,.form-card,.tool-card,.result-card,.lookup-box,.lookup-result,.lookup-mini-card,.note-panel,.flow-card,.filters,.filter-panel,.filter-card,.article-aside-card,.about-visual){border:1px solid var(--rpm-line-light);border-radius:13px;background:#403947;box-shadow:none;min-width:0}
body :is(.car-card,.article-card,.card,.feature,.step,.content-card,.principle-card){position:relative;overflow:hidden;transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease,background-color .24s ease}
body :is(.car-card,.article-card,.card,.feature,.step,.content-card,.principle-card)::before{content:none!important;display:none!important}
body :is(.car-card,.article-card,.card,.feature,.step,.content-card,.principle-card):hover{transform:translateY(-4px);border-color:rgba(242,193,78,.35);box-shadow:0 20px 32px rgba(0,0,0,.18);background:#493F50}
body :is(.car-media,.car-img,.article-thumb,.article-card .thumb){display:block;aspect-ratio:1.42/1;overflow:hidden;background:#685878}
body :is(.car-media img,.car-img img,.article-thumb img,.article-card .thumb img){width:100%;height:100%;object-fit:cover;transition:transform .42s ease}
body :is(.car-card,.article-card,.card):hover :is(.car-media img,.car-img img,.article-thumb img,.article-card .thumb img){transform:scale(1.038)}
body :is(.car-body,.card-body,.article-content,.article-card .content){padding:clamp(19px,1.9vw,27px)}
body :is(.car-title,.article-card h3,.article-content h3){font:600 clamp(17px,1.55vw,22px)/1.3 var(--rpm-sans);letter-spacing:-.035em;color:var(--rpm-cream)}
body .status-text{font:500 10px/1.25 var(--rpm-mono);text-transform:uppercase;letter-spacing:.08em;color:var(--rpm-gold)}
body .car-specs,body .car-meta{color:#BFB5C5;font-size:12px;line-height:1.5}
body .car-price{font:600 clamp(18px,1.8vw,25px)/1.2 var(--rpm-sans);color:var(--rpm-gold);margin-top:18px}
body .car-actions,body .car-footer{border-top:1px solid rgba(255,255,255,.12);margin-top:18px;padding-top:15px}
body .car-actions .btn{min-width:0;flex:1}
body .badge,body :is(.status-pill,.status){border-radius:7px;background:#29252D;color:var(--rpm-gold);padding:7px 10px;font:500 9px/1.1 var(--rpm-mono)}
body .article-content p{font-size:13px;line-height:1.65;margin-top:12px;color:var(--rpm-muted)}
body .article-meta{color:var(--rpm-gold)}
body .article-more,body .article-link{color:var(--rpm-gold);font:600 11px/1.3 var(--rpm-sans);text-decoration:none;margin-top:auto;padding-top:18px}
body .article-more:hover,body .article-link:hover{color:#F8D783}
body .step,body .feature,body .principle-card,body .content-card,body .trust-card,body .info-card{padding:clamp(20px,2.1vw,30px)}
body :is(.step-num,.feature-num,.principle-card .num){display:grid;place-items:center;width:39px;height:39px;border-radius:10px;border:0;background:#685878;color:#FFFCF7;font:500 11px/1 var(--rpm-mono)}
body :is(.step h3,.feature h3,.principle-card h3,.content-card h3){margin-top:16px}
body :is(.step p,.feature p,.principle-card p,.content-card p){font-size:13px;line-height:1.72;margin-top:10px}
body .feature.darkish,body .flow-card{background:#2B2931;border-color:rgba(242,193,78,.22)}
body .feature.darkish .feature-num{background:var(--rpm-gold);color:var(--rpm-charcoal)}
body .feature.darkish :is(h3,p),body .flow-card :is(h3,p,small){color:var(--rpm-cream)}

/* Narrative & supporting content */
body .split{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:clamp(30px,5vw,76px);align-items:center}
body .split :is(.square-media,.split-media){aspect-ratio:1.12/1;max-width:none;justify-self:stretch;overflow:hidden;border:1px solid rgba(242,193,78,.2);border-radius:12px;box-shadow:0 12px 28px rgba(0,0,0,.15)}
body .split :is(.square-media img,.split-media img){height:100%;width:100%;object-fit:cover}
body .split-copy h2{max-width:680px}
body .split-copy .lead{margin-top:19px}
body .bullets,body .bullet-list{margin-top:25px;display:grid;gap:15px}
body .bullet{display:grid;grid-template-columns:24px 1fr;gap:12px}
body .bullet i,body .trust-item i{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:rgba(242,193,78,.15);color:var(--rpm-gold);font:600 12px/1 var(--rpm-sans);font-style:normal}
body .bullet strong,body .trust-item strong{font:600 13px/1.4 var(--rpm-sans);color:var(--rpm-cream)}
body .bullet span,body .trust-item span{display:block;font-size:12px;line-height:1.6;color:var(--rpm-muted)}
body .about-copy p{color:var(--rpm-muted)}
body .about-visual{background:linear-gradient(135deg,#685878,#44394D);color:var(--rpm-cream)}
body .about-visual-mark{background:var(--rpm-gold);border-radius:10px}
body .about-visual :is(strong,small){color:var(--rpm-cream)}
body .about-visual p{color:#DDD2E1}
body .flow-card:after{background:var(--rpm-gold)}
body :is(.content-card .tag,.status-text){color:var(--rpm-gold)}
body .note-panel{background:#3A3343}

/* Forms, filters, data, vehicle checks and modal. */
body :is(.field label,.filter-group label,.filter-bar label){display:block;color:#D4CAD6;font:500 10px/1.5 var(--rpm-mono);text-transform:uppercase;letter-spacing:.065em;margin-bottom:7px}
body :is(.field input:not(.plate-input),.field select,.field textarea,.filter-group input,.filter-group select,.filter-bar input,.filter-bar select,.filters input,.filters select,.inline-select){background:#302C35;color:var(--rpm-cream);border:1px solid rgba(255,255,255,.20);border-radius:10px;font:400 13px/1.4 var(--rpm-sans);box-shadow:none;min-height:44px}
body :is(.field input:not(.plate-input),.field select,.field textarea,.filter-group input,.filter-group select,.filter-bar input,.filter-bar select,.filters input,.filters select,.inline-select):focus{border-color:var(--rpm-gold);outline:none;box-shadow:0 0 0 3px rgba(242,193,78,.12)}
body :is(input,textarea)::placeholder{color:#A99EAD;opacity:1}
body :is(select option){background:#302C35;color:var(--rpm-cream)}
body .filter-bar,body .filters,body .filter-panel,body .filter-card{background:#3A3442;border-color:var(--rpm-line-light)}
body .filter-bar{border-radius:12px;gap:14px;padding:22px}
body .filter-bar label,body .filters label{color:#D4CAD6}
body .results-head,body .inventory-meta{color:var(--rpm-cream);border-color:var(--rpm-line-light)}
body .lookup-layout{gap:18px}
body .lookup-box,body .lookup-result,body .lookup-card{background:#403947;border:1px solid var(--rpm-line-light);border-radius:13px;box-shadow:none}
body .lookup-card{padding:22px}
body .plate-section-icon{background:#4D4257;color:var(--rpm-gold);border:1px solid var(--rpm-line);border-radius:8px}
body .plate-section-name{font:600 13px/1.25 var(--rpm-sans);color:var(--rpm-cream)}
body .plate-section-divider,body .plate-section-heading{border-color:var(--rpm-line-light)}
body .lookup-box h2,body .lookup-result h3{color:var(--rpm-cream)}
body .lookup-mini-card{background:#38323E}
body .lookup-notice,body .source-pill{background:#51445B;color:#F7E0A8;border-color:var(--rpm-line)}
body .result-empty{background:transparent}
body :is(.data-grid,.data-cell,.mot-row-wrap,.raw-report,.mot-defects span){background:#38323F;color:var(--rpm-cream);border-color:var(--rpm-line-light)}
body :is(.data-cell small,.result-head small,.mot-meta span,.mot-date span){color:var(--rpm-muted)}
body .modal-backdrop{background:rgba(17,15,19,.76);backdrop-filter:blur(9px)}
body .lead-modal{background:#38313F;border:1px solid var(--rpm-line);border-radius:18px;color:var(--rpm-cream);box-shadow:0 25px 70px rgba(0,0,0,.4)}
body .modal-head{border-color:var(--rpm-line-light)}
body .modal-close{background:#4C4155;border:1px solid var(--rpm-line-light);color:var(--rpm-cream);border-radius:9px}
body .modal-close:hover{background:#685878}
body .modal-car{background:#483D50;color:var(--rpm-cream);border-color:var(--rpm-line-light)}
body .modal-status{color:var(--rpm-gold)}
body .check-status span,body .tag{background:#51465B;color:#F6E3AD;border:1px solid var(--rpm-line);border-radius:999px}
body .check-status i{background:var(--rpm-gold)}
body .faq-item{border-color:var(--rpm-line-light)}
body .faq-q{color:var(--rpm-cream);font-family:var(--rpm-sans);font-weight:600}
body .faq-q:hover,body .faq-item.open .faq-q{color:var(--rpm-gold)}
body .faq-a{color:var(--rpm-muted)}
body .gallery-arrow{background:rgba(40,40,46,.75);border-color:rgba(242,193,78,.38)}
body .gallery-arrow:hover{background:var(--rpm-purple)}
body .rpm-feature-list span{color:var(--rpm-cream);border-color:var(--rpm-line)}
body .article-body{max-width:100%}
body .article-body :is(p,li){color:var(--rpm-muted);line-height:1.8}
body .article-body :is(h2,h3){color:var(--rpm-cream)}
body .article-aside-card,body .article-body blockquote{background:#463B4E;border-color:var(--rpm-line)}
body :is(.article-cover,.gallery-main,.gallery-thumb){border-radius:12px}

/* Finishing CTA & footer: a resolved dark destination. */
body .cta-band{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:clamp(26px,3.3vw,44px);background:linear-gradient(120deg,#51445B,#28282E);border:1px solid rgba(242,193,78,.2);border-radius:14px;box-shadow:none;color:var(--rpm-cream)}
body .cta-band :is(h2,h3){color:var(--rpm-cream)}
body .cta-band p{color:var(--rpm-muted);margin-top:8px}
body .cta-band .hero-actions{margin-top:0}
body .cta-band .btn:first-child{background:var(--rpm-gold);border-color:var(--rpm-gold);color:var(--rpm-charcoal)}
body .cta-band .btn:first-child:hover{background:#F6CD6C}
body .footer{margin-top:auto;background:#25252B;color:var(--rpm-cream);border-top:1px solid var(--rpm-line);padding:clamp(43px,4.7vw,68px) 0 24px}
body .footer .container{width:min(calc(100% - 2 * var(--rpm-inset)),1280px)}
body .footer-grid{gap:clamp(22px,3.2vw,46px)}
body .footer .brand--rpm img{width:clamp(155px,15vw,190px);height:auto;max-height:53px;object-fit:contain}
body .footer h4{font:600 12px/1.3 var(--rpm-sans);color:var(--rpm-gold)}
body .footer p{max-width:350px;color:#BDB3C0;font-size:13px;line-height:1.7}
body .footer a:not(.brand){font-size:12px;color:#D0C7D1;transition:color .2s ease}
body .footer a:not(.brand):hover{color:var(--rpm-gold)}
body .footer-bottom{padding-top:21px;margin-top:34px;border-top:1px solid var(--rpm-line-light);color:#AAA1AF;font:400 10px/1.5 var(--rpm-mono)}

/* Responsive. No fixed-height hero on smaller/zoomed screens. */
@media(max-width:1120px){
 body .header .container{width:min(calc(100% - 2 * var(--rpm-inset)),1280px)}
 body .hero-grid{grid-template-columns:minmax(0,1.12fr) minmax(250px,.88fr);gap:30px}
 body .hero h1{font-size:clamp(41px,4vw,57px)}
 body .cards-inventory{grid-template-columns:repeat(3,minmax(0,1fr))}
 body .header .brand--rpm img{width:154px}
}
@media(max-width:980px){
 body main>.hero{height:auto;min-height:0;padding:52px 0}
 body .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,.8fr)}
 body .hero :is(.square-media,.hero-media){min-height:285px;max-height:350px}
 body .cards-inventory{grid-template-columns:repeat(2,minmax(0,1fr))}
 body .section-head,body .journal-header{align-items:start}
}
@media(max-width:760px){
 :root{--rpm-frame:12px;--rpm-inset:clamp(20px,5vw,30px);--rpm-gap:12px}
 body main>section,body main>.lookup-shell{border-radius:14px}
 body main>section.section{padding:38px 0}
 body main>section.section-compact,body main>.lookup-shell{padding:24px 0}
 body .header :is(.nav-wrap,.navwrap){min-height:66px;height:66px}
 body .header .brand--rpm img{width:143px;max-height:40px}
 body main>.hero{padding:36px 0 30px;height:auto;min-height:0}
 body .hero-grid{grid-template-columns:1fr;gap:30px}
 body .hero h1{font-size:clamp(39px,8.3vw,57px);margin-top:12px}
 body .hero .lead{font-size:15px;margin-top:15px}
 body .hero .hero-actions{margin-top:22px;gap:9px}
 body .hero .micro-proof,body .hero .trust-row{margin-top:22px;padding-top:16px;gap:10px 17px}
 body .hero :is(.square-media,.hero-media){width:100%;max-width:none;min-height:0;height:auto;aspect-ratio:1.55/1;max-height:350px}
 body .hero :is(.media-caption,.hero-badge){left:10px;right:10px;bottom:10px;padding:11px 12px}
 body .lookup-strip{grid-template-columns:minmax(0,1fr);gap:14px}
 body .lookup-strip-tabs{width:max-content}
 body main>.page-hero{padding:38px 0}
 body .page-hero-inner{grid-template-columns:1fr;gap:18px}
 body .page-chip{justify-self:start}
 body .page-hero h1{font-size:clamp(35px,7.3vw,49px)}
 body .section-head,body .journal-header{display:block;margin-bottom:22px}
 body .section-head p,body .journal-header p{margin-top:12px}
 body .cards-featured,body .cards-inventory,body .journal-grid{grid-template-columns:1fr}
 body .car-card,body .article-card{width:100%;max-width:none;justify-self:stretch}
 body .steps,.feature-grid,.content-grid-3,.principle-grid,.flow-grid,.trust-grid,.lookup-mini-guide{grid-template-columns:1fr}
 body .split,.about-intro{grid-template-columns:1fr;gap:30px}
 body .split :is(.square-media,.split-media){aspect-ratio:1.45/1;max-width:none}
 body .about-visual{justify-self:start}
 body .flow-card::after{display:none}
 body .cta-band{display:block}
 body .cta-band .hero-actions{margin-top:18px}
 body .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body .footer-grid>div:first-child{grid-column:1/-1}
}
@media(max-width:480px){
 body .header .brand--rpm img{width:138px}
 body .hero h1{font-size:clamp(37px,10.5vw,47px)}
 body .hero :is(.square-media,.hero-media){aspect-ratio:4/3}
 body .hero .hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 body .hero .hero-actions .btn{padding-inline:8px}
 body .footer-grid{grid-template-columns:1fr}
 body .footer-grid>div:first-child{grid-column:auto}
 body .section-head h2,body .journal-header h2{font-size:30px}
 body .modal-backdrop{padding:8px;align-items:flex-end}
 body .lead-modal{max-height:94vh;border-radius:16px 16px 0 0}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 body :is(.btn,.car-card,.article-card,.card,.feature,.step,.content-card,.principle-card,.car-media img,.article-thumb img,.square-media img,.hero-media img){transition:none!important;transform:none!important}
}
/* Final specificity and readability QA. */
body .lookup-strip-tabs .mini-tab.active,
body .lookup-card .tabs .tab.active,
body .lookup-box .tool-tabs .tool-tab.active{background:var(--rpm-gold);color:var(--rpm-charcoal);box-shadow:none;border-radius:7px}
body .lookup-strip-tabs .mini-tab{color:#D4C9D6}
body .result-empty .icon{background:#685878;border:1px solid var(--rpm-line);color:var(--rpm-gold);font:600 11px/1 var(--rpm-sans);border-radius:10px}
body input.plate-input::placeholder{color:#53451D;opacity:.75}
body .gov-source{background:#463C4E;color:var(--rpm-cream);border:1px solid var(--rpm-line)}
body .gov-source .gov-dot{background:var(--rpm-gold)}
body .content-card .tag{display:inline-block;background:transparent!important;border:0!important;border-radius:0;color:var(--rpm-gold);padding:0!important;box-shadow:none!important;font:500 10px/1.5 var(--rpm-mono);letter-spacing:.10em;text-decoration:none}
@media(max-width:480px){
 body .hero .micro-proof,body .hero .trust-row{display:none}
 body .hero :is(.square-media,.hero-media){aspect-ratio:16/9;max-height:205px}
}

/* V12 — accessible contrast and restrained automotive motion */
body .cta-band .btn{background:#38323F;border-color:#85748C;color:#F8F3EA}
body .cta-band .btn:hover{background:#51445B;border-color:#F2C14E;color:#FFFCF7}
body .cta-band .btn:is(:first-child,.primary,.teal){background:#F2C14E;border-color:#F2C14E;color:#28282E}
body .cta-band .btn:is(:first-child,.primary,.teal):hover{background:#F6CD6C;border-color:#F6CD6C;color:#28282E}
body .spec{background:#403947;border:1px solid #62566B;padding:12px 13px;border-radius:10px}
body .spec small{color:#D0C5D4;font-size:10px;letter-spacing:.065em}
body .spec strong{color:#FFFCF7;font:600 13px/1.4 var(--rpm-sans);overflow-wrap:anywhere}
body .detail-note{background:#393340;color:#D8CEDB;border:1px solid #62566B}
body .breadcrumbs,body .breadcrumbs b,body .breadcrumbs a{color:#D0C5D4}
body .inventory-meta a{color:#F2C14E}
body .tool-tabs,body .tabs{background:#302C35;border-color:#62566B}
body :is(.tool-tab,.tab):not(.active){color:#F8F3EA;background:transparent}
body .faq-item{background:#403947}
body .rpm-feature-list span{background:#403947}
/* Drawer sits outside the sticky header to avoid backdrop-filter containing blocks. */
.rpm-menu-shade{position:fixed;inset:0;z-index:150;background:rgba(20,18,24,.65);opacity:0;visibility:hidden;transition:opacity .28s,visibility .28s}
body.rpm-menu-open .rpm-menu-shade{opacity:1;visibility:visible}
body .rpm-drawer{display:flex;flex-direction:column;position:fixed;inset:0 0 0 auto;z-index:151;width:min(390px,90vw);max-width:none;margin:0;padding:24px;overflow-y:auto;overscroll-behavior:contain;background:#302D35;color:#F8F3EA;border-left:1px solid #685878;box-shadow:-16px 0 60px #18151d66;transform:translateX(102%);visibility:hidden;transition:transform .35s cubic-bezier(.22,.75,.25,1),visibility .35s;}
body .rpm-drawer.open{transform:translateX(0);visibility:visible}
body.rpm-menu-open{overflow:hidden}
.rpm-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:24px;border-bottom:1px solid #62566B;margin-bottom:20px}
.rpm-drawer-head img{width:155px;height:auto;filter:brightness(0) invert(1)}
.rpm-drawer-close{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;border:1px solid #85748C;background:#403947;color:#F8F3EA;font-size:25px;cursor:pointer}
body .rpm-drawer .mobile-group{display:grid;grid-template-columns:1fr;gap:8px}
body .rpm-drawer .mobile-group a{display:flex;align-items:center;justify-content:space-between;padding:15px 14px;background:#403947;color:#F8F3EA;border:1px solid #62566B;border-radius:10px;font:600 14px/1.4 var(--rpm-sans)}
body .rpm-drawer .mobile-group a::after{content:'›';color:#F2C14E;font-size:21px;line-height:1}
body .rpm-drawer .mobile-group a:hover,body .rpm-drawer .mobile-group a[aria-current=page]{border-color:#F2C14E;color:#F2C14E}
body .header .menu-btn{margin-left:auto;cursor:pointer}
@media(min-width:981px){body .rpm-drawer,body .rpm-menu-shade{display:none}}
/* Loader is non-blocking after a bounded interval, and never requires external fonts. */
.rpm-loader{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:#28282E;pointer-events:none;animation:rpm-loader-exit .36s ease 1.1s forwards}
.rpm-loader-inner{width:min(230px,65vw);text-align:center;animation:rpm-loader-enter .42s ease both}
.rpm-loader img{display:block;width:100%;height:auto;filter:brightness(0) invert(1)}
.rpm-loader-track{height:2px;background:#51445B;margin-top:24px;overflow:hidden;border-radius:2px}
.rpm-loader-track::after{content:'';display:block;width:100%;height:100%;background:#F2C14E;transform-origin:left;animation:rpm-loader-progress .95s cubic-bezier(.25,.65,.3,1) both}
.rpm-loader.is-done{animation:rpm-loader-exit .3s ease forwards}
@keyframes rpm-loader-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@keyframes rpm-loader-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes rpm-loader-exit{to{opacity:0;visibility:hidden}}
/* No content is hidden until an observer actually starts its entrance. */
.rpm-enter{animation:rpm-enter .65s cubic-bezier(.2,.65,.3,1) both;animation-delay:var(--rpm-delay,0ms)}
@keyframes rpm-enter{from{opacity:.15;translate:0 13px}to{opacity:1;translate:0 0}}
body .lead-modal{animation:rpm-enter .25s ease both}
@media(prefers-reduced-motion:reduce){.rpm-loader{display:none!important}.rpm-enter,body .lead-modal{animation:none!important}.rpm-drawer,.rpm-menu-shade{transition:none!important}}
