/* Public pages share a quiet graphite canvas, including Safari's chrome tint. */
@media(max-width:760px){
 html.mobile-shell-active,html.mobile-shell-active body,.mobile-app #site-shell,.mobile-app .mobile-dock{background-color:#101012;color-scheme:dark}
 html.mobile-shell-active,html.mobile-shell-active body{touch-action:pan-x pan-y pinch-zoom}
 .mobile-app input:not([type=checkbox]):not([type=radio]),.mobile-app select,.mobile-app textarea{font-size:16px!important;min-width:0;max-width:100%}
 .mobile-app input,.mobile-app select,.mobile-app textarea{touch-action:pan-x pan-y pinch-zoom}
 .ruby-keyboard-open .mobile-app .mobile-dock{display:none}
 .ruby-keyboard-open body.mobile-app{--mobile-dock-height:0px}
 .ruby-keyboard-open .mobile-app #site-scroll{scroll-behavior:auto}
 .mobile-app #header{background:transparent;border:0;transition:height .38s cubic-bezier(.22,1,.36,1)}
 .mobile-app #header:after{background:#14141652}
 .mobile-app #header .header-inner{background:#141416b8;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:none}
 .mobile-app #header .mobile-stories{background:transparent;transition:height .38s cubic-bezier(.22,1,.36,1),opacity .3s ease}
 .mobile-app .story-circle>span{transition:transform .38s cubic-bezier(.22,1,.36,1),opacity .27s ease}
 .mobile-app .story-circle b{transition:transform .38s cubic-bezier(.22,1,.36,1),opacity .22s ease}
 .mobile-app.stories-collapsed .story-circle>span{animation:none;transform:translateY(-15px) scale(.94);opacity:0}
 .mobile-app.stories-collapsed .story-circle b{animation:none;transform:translateY(-10px);opacity:0}
}
/* Identity and price are read together before the photograph. */
.vehicle-detail-heading{padding-bottom:26px}.vehicle-heading-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:28px}.vehicle-heading-row h1{margin:0}.vehicle-heading-row p{margin-top:12px}.vehicle-heading-price{text-align:right;max-width:310px}.vehicle-heading-price span{display:block;color:#bdbcc5;font-size:12px;line-height:1.5;margin-bottom:8px}.vehicle-heading-price strong{display:block;font-size:34px;line-height:1.2;font-weight:700;letter-spacing:-.03em;white-space:nowrap;font-variant-numeric:tabular-nums}.price-delivery-note{display:block;font-size:11px;line-height:1.55;color:#bdb5bf;margin-top:7px}.vehicle-heading-price .price-delivery-note{font-size:12px}
.vehicle-detail-layout{display:block}.vehicle-detail-gallery .detail-gallery>img{width:100%;height:auto;max-height:650px;aspect-ratio:16/10;object-fit:contain;background:#151517;border:0}.vehicle-detail-gallery .thumbs{margin-top:2px}.vehicle-information{margin-top:38px}.vehicle-facts dl{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 28px}.vehicle-facts dl>div{display:block;padding:16px 0}.vehicle-facts dt{margin-bottom:8px}.vehicle-facts dd{text-align:left;font-size:15px}.vehicle-description{margin-top:34px}.vehicle-description p{margin:0}.vehicle-history{padding-top:38px;padding-bottom:38px}
.vehicle-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,420px);gap:44px;align-items:center;padding-top:34px;padding-bottom:60px;border-top:1px solid #303036}.vehicle-actions h2{font-size:30px;line-height:1.2;margin-bottom:14px;letter-spacing:-.025em}.vehicle-actions p{font-size:14px;line-height:1.75;max-width:42ch;color:#bdbdc6}.vehicle-actions .vehicle-secondary-actions{margin-top:10px}
/* The illustration introduces the tool; the form carries the workflow. */
.calculator-heading>div{min-width:0}.calculator-heading p{margin:16px 0 0!important}
.calculator-public-heading{grid-template-columns:minmax(0,1fr) 240px;min-height:0;gap:38px;margin-top:40px;margin-bottom:30px}.calculator-public-heading h1{font-size:42px;line-height:1.1;letter-spacing:-.03em}.calculator-public-heading>img{height:150px;border-radius:14px;object-fit:cover;object-position:center;-webkit-mask:none;mask:none}
.public-calculator{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:28px}.calc-form{min-width:0}.calc-section{border:0;padding:0;min-width:0;margin:0 0 32px}.calc-section legend{padding:0;margin:0 0 20px;font-size:23px;font-weight:700;line-height:1.25;letter-spacing:-.02em}.calc-section:last-of-type{margin-bottom:26px}.calc-section .fields{gap:20px}.calc-section .field{min-width:0}.calc-section select{min-width:0;max-width:100%;text-overflow:ellipsis}.calc-section .check{font-size:12px;line-height:1.7;gap:12px}.calc-section .check input{flex:none;width:18px;height:18px;min-height:0;margin-top:3px}.calc-rate-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.calc-rate-header p{font-size:12px;line-height:1.5;color:#b8b8c1}.calc-rate-header .btn{display:inline-flex;gap:9px;min-height:44px;align-items:center;white-space:nowrap}.calc-rate-header svg{width:16px;height:16px}.calc-submit{border-top:1px solid #34343b;padding-top:24px}.calc-submit .btn{display:flex;width:100%;align-items:center;justify-content:space-between;gap:15px;min-height:50px}.calc-submit p{font-size:11px;line-height:1.7;color:#b8b8c1;margin-top:16px;max-width:55ch}
.calc-result h2{font-size:25px;line-height:1.2;margin-bottom:16px}.calc-result .calc-result-caption{margin-top:22px;padding-top:20px;border-top:1px solid #34343b;color:#b8b8c1}.calc-result .calc-result-photo{height:190px;width:100%;object-fit:cover;object-position:center;border-radius:12px}.calculator-layout .result-total{color:#f5f5f5;font-size:36px;line-height:1.25}.calc-result-contact{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px}
@media(max-width:960px){.public-calculator{grid-template-columns:minmax(0,1fr)}.public-calculator .result{position:static}.public-calculator .fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .mobile-app .vehicle-detail-heading{padding-bottom:22px}.vehicle-heading-row{grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}.vehicle-heading-row h1{font-size:27px;line-height:1.12;overflow-wrap:anywhere}.vehicle-heading-row p{font-size:13px;margin-top:10px}.vehicle-heading-price{max-width:none;padding-top:0;text-align:left}.vehicle-heading-price span{font-size:12px;margin-bottom:6px}.vehicle-heading-price strong{font-size:27px;line-height:1.25}.vehicle-heading-price .price-delivery-note{font-size:13px;max-width:36ch}.vehicle-detail-gallery .detail-gallery>img{aspect-ratio:3/2;max-height:none}.vehicle-information{margin-top:28px}.vehicle-facts dl{grid-template-columns:1fr 1fr;gap:0 20px}.vehicle-facts dd{font-size:14px}.vehicle-information h2,.mobile-app .vehicle-history h2{font-size:24px}.vehicle-actions{grid-template-columns:minmax(0,1fr);gap:22px;padding-top:30px;padding-bottom:38px}.vehicle-actions h2{font-size:25px;margin-bottom:12px}.vehicle-actions p{font-size:13px}.vehicle-actions-buttons{min-width:0}.vehicle-actions .vehicle-interest{min-height:50px}
 .calculator-public-heading{grid-template-columns:minmax(0,1fr) 96px;gap:16px;margin-top:24px;margin-bottom:24px;align-items:center}.calculator-public-heading h1{font-size:29px;line-height:1.12}.calculator-public-heading p{font-size:12px;line-height:1.7;margin-top:12px!important}.calculator-public-heading>img{width:96px;height:112px;border-radius:12px}.mobile-app .public-calculator{padding-top:0;padding-bottom:36px;gap:24px}.public-calculator .panel{padding:22px 18px;border-radius:14px}.public-calculator .calc-section legend{font-size:22px}.public-calculator .calc-section{margin-bottom:30px}.public-calculator .fields{grid-template-columns:minmax(0,1fr);gap:17px}.public-calculator .field{font-size:12px;gap:8px}.public-calculator input,.public-calculator select{min-height:48px;border-radius:9px}.calc-rate-header{align-items:flex-start;gap:12px;flex-wrap:wrap}.calc-rate-header .btn{font-size:12px}.calc-result .calc-result-photo{height:150px}.calculator-layout .result-total{font-size:32px}.calc-result .cost-line{font-size:12px;gap:14px}.calc-result .cost-line small{font-size:10px;overflow-wrap:anywhere}
}
@media(max-width:370px){.vehicle-heading-row h1{font-size:24px}.vehicle-heading-row{gap:16px}.vehicle-heading-price{max-width:none}.vehicle-heading-price strong{font-size:25px}.calculator-public-heading{grid-template-columns:minmax(0,1fr) 80px}.calculator-public-heading>img{width:80px;height:102px}.calculator-public-heading h1{font-size:26px}}
@media(prefers-reduced-motion:reduce){.mobile-app #header,.mobile-app #header .mobile-stories,.mobile-app .story-circle>span,.mobile-app .story-circle b{transition:none!important}}
/* A home page with one clear job for each section. */
.hero-mobile-copy{display:none}.home-selection .section-title>div p,.home-directions .section-title p,.home-journal .section-title p{margin-top:16px;font-size:14px;line-height:1.7;color:#b8b8c1;max-width:56ch}.home-selection .section-title,.home-journal .section-title{align-items:flex-end}.home-selection .section-title>a,.home-journal .section-title>a{white-space:nowrap}.home-selection .car-grid{margin-top:28px}
.home-assurance{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:70px;align-items:center;padding-top:24px}.home-assurance-visual{overflow:hidden;border-radius:16px;background:#171719}.home-assurance-visual img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center;display:block}.home-assurance-visual.motion-ready{clip-path:inset(5% 0 round 16px);transform:translateY(18px);transition:clip-path .95s cubic-bezier(.16,1,.3,1),transform .95s cubic-bezier(.16,1,.3,1)}.home-assurance-visual.is-revealed{clip-path:inset(0 round 16px);transform:translateY(0)}.home-assurance h2{font-size:38px;line-height:1.12;letter-spacing:-.03em;margin-bottom:30px}.home-benefit{padding:22px 0;border-top:1px solid #34343a}.home-benefit h3{font-size:19px;line-height:1.25;margin-bottom:12px;letter-spacing:-.02em}.home-benefit p{font-size:13px;line-height:1.8;color:#bdbdc6;max-width:50ch}
.home-directions{padding-top:30px}.home-directions .markets{margin:0;padding:0;border-top:1px solid #37373d;border-bottom:1px solid #37373d}.home-directions .market{padding:28px 24px;gap:18px;transition:background .3s ease}.home-directions .market:first-child{padding-left:24px}.home-directions .market strong{font-size:22px;line-height:1.25}.home-directions .market small{font-size:11px;line-height:1.65;margin-top:8px}.home-directions .market>.flag{width:34px;flex:none}.home-directions .market>svg:last-child{margin-left:auto;width:20px;flex:none;transition:transform .3s cubic-bezier(.16,1,.3,1)}
.home-cost .wrap{grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:70px;align-items:center}.home-cost .wrap>div{min-width:0}.home-cost p{max-width:45ch;font-size:15px;line-height:1.8}.home-cost small{display:block;font-size:11px;line-height:1.7;color:#e0c4cc;margin-top:18px;max-width:44ch}.home-cost img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:16px}.home-process{gap:80px}.home-process>div:first-child{position:sticky;top:120px;align-self:start}.home-process h2{position:static}.home-process>div:first-child>p{margin:22px 0;font-size:14px;color:#b8b8c1}.home-process .arrow-link{font-size:13px}.home-process .step h3{font-size:23px;line-height:1.25}.home-process .step p{font-size:14px;line-height:1.8;color:#bdbdc6}
.home-faq{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:80px;padding-top:24px}.home-faq>div>p{font-size:14px;line-height:1.8;color:#b8b8c1;max-width:35ch;margin-top:22px}.home-faq-list{border-top:1px solid #37373d}.home-faq details{border-bottom:1px solid #37373d}.home-faq summary{display:flex;justify-content:space-between;align-items:center;gap:24px;list-style:none;padding:23px 0;font-size:17px;line-height:1.5;cursor:pointer;min-height:60px}.home-faq summary::-webkit-details-marker{display:none}.home-faq summary svg{width:19px;height:19px;flex:none;color:#b8b8c1;transition:transform .3s ease}.home-faq details[open] summary svg{transform:rotate(180deg)}.home-faq details p{padding:0 35px 24px 0;font-size:14px;line-height:1.85;color:#c4c3cc;max-width:65ch}.home-journal{padding-top:28px}.home-contact{padding-top:28px}.home-contact .contact-panel{padding:48px;gap:70px;align-items:center;background:#1c1c20;border-radius:16px}.home-contact .contact-panel>div>p{font-size:14px;line-height:1.8;margin-top:18px}.home-contact .contact-panel .btn.primary{display:inline-flex;gap:24px;margin-top:26px;min-height:50px}.home-contact .contact-panel .phone{font-size:30px}.home-contact .contact-panel .small{font-size:12px}
@media(hover:hover) and (pointer:fine){.home-directions .market:hover{background:#1c1c20}.home-directions .market:hover>svg:last-child{transform:translate(3px,-3px)}.home-faq summary:hover{color:#f6969e}}
@media(max-width:1050px){.home-assurance{gap:36px}.home-assurance h2{font-size:32px}.home-faq{gap:40px}.home-cost .wrap{gap:36px}}
@media(max-width:760px){
 .mobile-app #site-scroll{background:#101012}.mobile-app #header .header-inner{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.mobile-app #header:after{background:#14141640}
 .hero-desktop-copy{display:none}.hero-mobile-copy{display:inline}
 .mobile-app.home-page .hero{margin:0 auto;width:calc(100% - 24px);--scene-drop:clamp(24px,4.8svh,44px);height:clamp(480px,calc(var(--ruby-visible-height,100svh) - var(--mobile-dock-height) - 10px),742px);border-radius:0 0 23px 23px}
 .mobile-app.home-page .hero-stage{background:linear-gradient(#1010128a,#1010128a),url('/assets/hero-porsche-portrait-off.webp') center top/cover}
 .mobile-app.home-page .hero-world{top:var(--scene-drop);height:max(calc(100% - var(--scene-drop)),calc((100vw - 24px) * 1.78));mask-image:linear-gradient(transparent,#000 30px);-webkit-mask-image:linear-gradient(transparent,#000 30px)}
 .mobile-app.home-page .hero-scene{object-position:center top}
 .mobile-app.home-page .hero-lamp-zone,.mobile-app.home-page .hero-headlights{background-position:center top}
 .mobile-app.home-page .hero-inner{padding:calc(var(--mobile-header-expanded-height) + 12px) 14px clamp(24px,5svh,42px)}
 .mobile-app.home-page .hero h1{font-size:clamp(28px,8.7vw,39px);line-height:1.06;letter-spacing:-.042em;text-shadow:0 1px 4px #000b,0 3px 13px #0009}
 .mobile-app.home-page .hero-inner>p{font-size:clamp(12px,3.5vw,15px);line-height:1.48;color:#f3f1f2;text-shadow:0 1px 3px #000d,0 2px 9px #000a;max-width:325px;margin:11px auto 0}
 .mobile-app.home-page .hero-inner>.btn{margin-top:auto;min-height:46px;padding:10px 20px;gap:12px;border-radius:11px}
 .mobile-app.home-page .hero:after{background:linear-gradient(180deg,#10101255 0%,#101012a1 21%,#10101249 36%,transparent 52%,transparent 66%,#101012a8 89%,#101012f2);border-radius:inherit}
 .mobile-app.home-page .hero-bottom{position:absolute;right:13px;bottom:calc(clamp(24px,5svh,42px) + 2px);width:auto;margin:0}
 .mobile-app.home-page .hero-controls{justify-content:flex-end}
 .mobile-app.home-page .scene-replay{width:44px;height:44px;min-width:44px;padding:0;justify-content:center;border:1px solid #ffffff24;border-radius:50%;background:#18171b94;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}

 .mobile-app .home-selection{padding-top:34px;padding-bottom:34px}.mobile-app .home-selection .section-title,.mobile-app .home-journal .section-title{align-items:flex-start;gap:16px}.mobile-app .home-selection .section-title h2,.mobile-app .home-directions h2,.mobile-app .home-journal h2{font-size:29px;line-height:1.12}.home-selection .section-title>div p,.home-directions .section-title p,.home-journal .section-title p{font-size:12px;line-height:1.8;margin-top:12px}.home-selection .car-grid{margin-top:20px}.home-selection .section-title>a,.home-journal .section-title>a{font-size:12px}
 .mobile-app .home-assurance{grid-template-columns:minmax(0,1fr);gap:24px;padding-top:22px;padding-bottom:34px}.home-assurance-copy{order:0}.home-assurance-visual{order:1}.home-assurance-visual img{aspect-ratio:3/2;object-position:center 62%}.home-assurance h2{font-size:29px;line-height:1.14;margin-bottom:22px}.home-benefit{padding:19px 0}.home-benefit h3{font-size:18px;margin-bottom:10px}.home-benefit p{font-size:12px;line-height:1.85}
 .mobile-app .home-directions{padding-top:24px;padding-bottom:34px}.home-directions .markets{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.mobile-app .home-directions .market,.mobile-app .home-directions .market:first-child{padding:22px 0;background:none;border-radius:0;gap:15px}.mobile-app .home-directions .market strong{font-size:20px}.mobile-app .home-directions .market small{display:block;font-size:11px;line-height:1.7}.home-directions .market>.flag{width:30px}.home-directions .market>svg:last-child{width:18px}
 .mobile-app .home-cost{padding:0}.home-cost .wrap{grid-template-columns:minmax(0,1fr);padding-top:34px;padding-bottom:34px;gap:26px}.mobile-app .home-cost h2{font-size:31px}.home-cost p{font-size:13px;line-height:1.8;margin:18px 0 22px}.home-cost .btn{min-height:48px;font-size:12px}.home-cost small{font-size:10px;line-height:1.7}.home-cost img{aspect-ratio:16/9;border-radius:12px}
 .mobile-app .home-process{padding-top:38px;padding-bottom:34px;gap:28px}.home-process>div:first-child{position:static}.home-process h2{font-size:29px;line-height:1.14}.home-process>div:first-child>p{font-size:12px;margin:16px 0}.home-process .arrow-link{font-size:12px}.home-process .step{padding:22px 0;grid-template-columns:26px minmax(0,1fr);gap:12px}.home-process .step h3{font-size:19px;margin-bottom:12px}.home-process .step p{font-size:12px;line-height:1.85}
 .mobile-app .home-faq{grid-template-columns:minmax(0,1fr);gap:24px;padding-top:24px;padding-bottom:34px}.home-faq h2{font-size:29px;line-height:1.14}.home-faq>div>p{font-size:12px;margin-top:16px;max-width:44ch}.home-faq summary{font-size:15px;gap:18px;padding:20px 0}.home-faq details p{font-size:12px;line-height:1.85;padding:0 15px 20px 0}
 .mobile-app .home-journal{padding-top:24px;padding-bottom:34px}.home-journal .article-grid{gap:0}.home-journal .article-card h3{font-size:24px}.mobile-app .home-contact{padding-top:24px;padding-bottom:34px}.home-contact .contact-panel{padding:28px 22px;gap:30px}.home-contact .contact-panel h2{font-size:28px}.home-contact .contact-panel>div>p{font-size:12px}.home-contact .contact-panel .phone{font-size:24px}.home-contact .contact-panel .btn.primary{font-size:12px;margin-top:22px}.home-contact .contact-panel .small{font-size:11px}
}
@media(max-width:370px){.mobile-app.home-page .hero-inner{padding-top:calc(var(--mobile-header-expanded-height) + 4px)}.mobile-app.home-page .hero-inner>p{margin-top:7px}.home-assurance h2,.mobile-app .home-selection .section-title h2{font-size:27px}}
@media(max-width:350px){
 .mobile-app.home-page .hero{--scene-drop:42px}
 .mobile-app.home-page .hero-inner>.btn{margin-inline-end:24px;padding-inline:12px;gap:7px;font-size:12px}
 .mobile-app.home-page .hero-bottom{right:6px}
}
@media(prefers-reduced-motion:reduce){.home-assurance-visual.motion-ready{clip-path:none;transform:none;transition:none}.home-faq summary svg,.home-directions .market>svg:last-child{transition:none}}

.calc-notes{margin-top:22px;border-top:1px solid #34343b;padding-top:16px}.calc-notes summary{display:flex;gap:15px;align-items:center;justify-content:space-between;list-style:none;font-size:13px;line-height:1.5;cursor:pointer;min-height:44px;color:#e1dfe5}.calc-notes summary::-webkit-details-marker{display:none}.calc-notes summary svg{width:17px;height:17px;flex:none;transition:transform .3s ease}.calc-notes[open] summary svg{transform:rotate(180deg)}.calc-notes .alert-list{margin-top:14px;font-size:12px;line-height:1.8;padding-left:18px;color:#c5c3cc}.calc-notes li+li{margin-top:12px}
@media(prefers-reduced-motion:reduce){.calc-notes summary svg{transition:none}}

/* Route replacement mounts a new rail at its final height. Scrolling transitions
   begin only after both rows have painted together, so they cannot overlap copy. */
@media(max-width:760px){.mobile-app.mobile-shell-mounting #header,.mobile-app.mobile-shell-mounting #header .mobile-stories,.mobile-app.mobile-shell-mounting .story-circle>span,.mobile-app.mobile-shell-mounting .story-circle b{transition:none!important}}
