/* Cinematic landing layers. The base stylesheet owns forms and navigation. */
:root {
  --studio: #0a1124;
  --studio-line: #576599;
  --studio-accent: #acbcff;
  --data-face: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}
.site-header { background: #0e1630; }
.skip-link:not(:focus) { clip-path: inset(50%); }
.hero { min-height: min(810px, calc(100svh - 74px)); background: var(--studio); }
.hero-art-stage { position: absolute; inset: 0; z-index: -2; transform: translate3d(var(--hero-x, 0px),var(--hero-y,0px),0) scale(var(--hero-scale,1)); transform-origin: 67% 55%; }
.hero-art-stage .hero-picture { z-index: auto; }
.hero-art-stage .hero-picture img { object-position: 58% 57%; filter: hue-rotate(35deg); }
.hero::before { background: linear-gradient(90deg,#0a1124fa 2%,#0a1124e8 25%,#0a112482 49%,#0a112418 72%), linear-gradient(0deg,#0a1124 0%,#0a1124bb 12%,transparent 39%); }
.studio-light { opacity: var(--hero-light,0); position: absolute; inset: 0; mask-image: linear-gradient(transparent 31%, #000 59%, transparent 85%); background: radial-gradient(ellipse at var(--light-x,60%) 55%, #a59aff63, transparent 42%); mix-blend-mode: screen; pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-rows: 1fr auto; align-content: stretch; padding-block: clamp(3.2rem, 9vh, 7.3rem) 0; gap: clamp(2rem, 7vh, 4.3rem); }
.hero-copy { align-self: center; max-width: 31rem; }
.hero-copy .kicker { color: #cbd7fe; display: flex; align-items: center; gap: .6rem; padding-bottom: .65rem; }
.hero-copy .kicker span { display: inline-block; width: 1.7rem; height: 1px; background: var(--studio-accent); }
.hero-copy h1 { font-size: clamp(3.5rem,6.3vw,6.55rem); letter-spacing: -.07em; line-height: .91; }
.hero-copy h1 em { font-style: normal; font-weight: 640; color: var(--studio-accent); }
.hero-copy > p:not(.kicker) { max-width: 25rem; margin: 1.65rem 0 1.45rem; }
.hero-ribbon { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; border-top: 1px solid #99a9dd58; min-height: 66px; font: 600 .72rem/1.4 var(--data-face); color: #c9d6f5; letter-spacing: .045em; }
.hero-ribbon a { text-decoration: none; justify-self: start; display: inline-flex; min-height: 44px; align-items: center; gap: .65rem; }
.hero-ribbon a:hover { color: var(--studio-accent); }
.motion-button { min-height: 44px; color: inherit; justify-self: end; border: 0; background: transparent; text-decoration: underline; text-underline-offset: .35em; padding-inline: .35rem; }
.sample-legend i { display: inline-block; width: 6px; height: 6px; background: var(--studio-accent); border-radius: 50%; margin-right: .25rem; }
.hero-telemetry { position: absolute; inset: 0; pointer-events: none; }
.telemetry { position: absolute; min-width: 10.4rem; background: #15213ce8; border: 1px solid #95a9ed78; border-left: 2px solid var(--studio-accent); box-shadow: 0 16px 30px #0005; padding: .72rem .9rem; color: #f6f8ff; }
.telemetry strong { display: block; font: 690 clamp(1.2rem,2vw,1.65rem)/1.35 var(--data-face); white-space: nowrap; }
.telemetry small { font-size: .61em; color: #bec9ee; }
.telemetry-label { font: 650 .68rem/1.3 var(--data-face); color: #d2ddfc; text-transform: uppercase; letter-spacing: .06em; }
.telemetry svg { display: block; width: min(100%,7.5rem); height: 18px; }
.telemetry svg path { fill: none; stroke: var(--studio-accent); stroke-width: 1.25px; }
.telemetry-cost { top: 23%; right: 29%; transform: translateY(var(--telemetry-y,0px)); }
.telemetry-fuel { bottom: 16%; right: 2%; transform: translateY(calc(var(--telemetry-y,0px)*-.77)); }
.fuel-ticks { margin-top: .38rem; width: 6.8rem; height: 5px; background: repeating-linear-gradient(90deg,#586798 0 6px, transparent 6px 9px); position: relative; }
.fuel-ticks::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg,var(--studio-accent) 0 6px, transparent 6px 9px); transform-origin: left; transform: scaleX(1); clip-path: inset(0 19% 0 0); }
@media (min-width: 701px) and (max-width: 1024px) {
  .hero-copy { max-width: 25rem; }
  .telemetry-cost { right: 8%; top: 14%; }
}
@media (max-width: 700px) {
  .hero { min-height: 0; }
  .hero-inner { padding-block: 2.65rem 0; display: block; }
  .hero-copy h1 { font-size: clamp(3rem,12vw,4.65rem); line-height: .94; }
  .hero-copy .kicker { font-size: .68rem; margin-bottom: .8rem; }
  .hero-copy > p:not(.kicker) { margin: 1.25rem 0; font-size: 1rem; }
  .hero-art-stage { inset: auto 0 52px; height: clamp(220px,63vw,415px); }
  .hero-art-stage .hero-picture, .hero-art-stage .hero-picture img { inset: 0; height: 100%; }
  .hero-art-stage .hero-picture img { inset: 10% 0 auto; height: auto; aspect-ratio: 980 / 580; object-fit: contain; mask-image: linear-gradient(transparent, #000 31%, #000 88%, transparent); }
  .hero::before { height: clamp(245px,71vw,470px); background: linear-gradient(180deg,var(--studio) 0%,transparent 25%,transparent 65%,var(--studio) 98%); }
  .hero-telemetry { position: relative; display: flex; justify-content: space-between; align-items: end; min-height: clamp(208px,58vw,385px); gap: .5rem; margin-block: .3rem .8rem; }
  .telemetry { position: relative; inset: auto; min-width: 0; padding: .42rem .58rem; }
  .telemetry svg { height: 12px; width: 5.45rem; }
  .telemetry-label { font-size: .55rem; }
  .telemetry strong { font-size: 1.02rem; }
  .fuel-ticks { width: 4.6rem; }
  .hero-ribbon { min-height: 53px; grid-template-columns: 1fr auto; font-size: .65rem; }
  .sample-legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .hero-copy { animation: hero-copy-arrive 520ms var(--ease) both; }
  .hero.is-running .telemetry { animation: telemetry-in 780ms var(--ease) backwards; }
  .hero.is-running .telemetry-fuel { animation-delay: 190ms; }
  .hero.is-running .fuel-ticks::before { animation: fuel-fill 950ms 300ms var(--ease) backwards; }
  @keyframes telemetry-in { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
  @keyframes hero-copy-arrive { from { transform: translateY(9px); } to { transform: none; } }
  @keyframes fuel-fill { from { transform: scaleX(.18); } to { transform: scaleX(1); } }
  .hero .button:hover { translate: 0 -2px; }
  .hero .button { transition: background-color 160ms var(--ease), transform 160ms var(--ease), translate 180ms var(--ease); }
}

/* The exterior-to-cabin sequence hands off to the full simulator. */
.hero-cabin { position: absolute; inset: 0; z-index: -2; opacity: var(--cabin-opacity,0); pointer-events: none; overflow: hidden; }
.hero-cabin img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; transform: scale(var(--cabin-scale,1.12)); filter: hue-rotate(30deg); }
.hero-cabin::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#0a1124e8,#0a112452 45%,transparent 78%), linear-gradient(0deg,#0a1124fa,transparent 62%); }
.hero-art-stage { z-index: -3; opacity: var(--exterior-opacity,1); transform: translate3d(var(--hero-x,0px),var(--hero-y,0px),0) scale(calc(var(--hero-scale,1) + var(--story-push,0))); }
.hero-copy,.hero-telemetry { opacity: var(--exterior-ui,1); }
.hero-telemetry { z-index: 1; }
.cabin-copy { position: absolute; z-index: 2; align-self: end; top: 39%; left: 0; max-width: min(100%,42rem); opacity: var(--cabin-ui,0); transform: translateY(var(--cabin-slide,16px)); }
.cabin-copy > p:not(.kicker) { font-size: clamp(3rem,6.7vw,6rem); line-height: .94; letter-spacing: -.048em; font-weight: 750; margin-bottom: 1.1rem; }
.cabin-copy em { color: var(--studio-accent); font-weight: 650; font-style: normal; }
.cabin-readings { display: flex; flex-wrap: wrap; gap: .75rem clamp(.9rem,3vw,2.4rem); color: #e5edff; margin-block: .5rem 1.25rem; }
.cabin-readings dt { font-size: .76rem; color: #c5d3ef; }
.cabin-readings dd { font-size: clamp(.95rem,2vw,1.6rem); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cabin-readings small { font-size: .68em; color: #c4d5f5; }
@media (min-height: 650px) and (prefers-reduced-motion: no-preference) {
  .drive-story.is-cinematic { min-height: calc(100svh + 480px); background: var(--studio); }
  .drive-story.is-cinematic .hero { position: sticky; top: 74px; min-height: calc(100svh - 74px); }
}
.cockpit { background: #101934; }
.cockpit .lede { max-width: 48rem; }
.cockpit-stage { position: relative; aspect-ratio: 16 / 8.4; min-height: 400px; isolation: isolate; border-radius: 1.25rem; overflow: hidden; background: #0c142b; }
.cockpit-scene, .road-motion { position: absolute; inset: 0; width: 100%; height: 100%; }
.cockpit-scene { object-fit: cover; object-position: center 54%; filter: hue-rotate(29deg); z-index: -3; }
.cockpit-stage::after { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: 0; background: linear-gradient(0deg,#070c16 0%,#0a1121e8 21%,#09112134 48%,transparent 65%); }
.road-motion { left: 21%; top: 45%; width: 58%; height: 29%; z-index: -2; opacity: 0; }
.road-motion path { stroke: #c7d7ff; stroke-opacity: .62; stroke-width: 2px; fill: none; stroke-dasharray: 10 26; }
.instrument-cluster { display: grid; grid-template-columns: minmax(0,1fr) minmax(140px,1.35fr) minmax(0,1fr); align-items: end; gap: clamp(1.25rem,4vw,4rem); position: absolute; inset: auto 8% 7%; }
.cockpit-gauge { width: min(100%,16rem); position: relative; justify-self: center; text-align: center; }
.cockpit-gauge svg { width: 100%; overflow: visible; display: block; }
.cockpit-gauge path { fill: none; }
.gauge-track { stroke: #3e526e; stroke-width: 3; }
.gauge-ticks { stroke: #9baecb; stroke-width: 3; stroke-dasharray: .3 4.7; }
.gauge-progress { stroke: #9fe8fb; stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 0 100; filter: drop-shadow(0 0 5px #7bdcfa70); }
.cockpit-gauge .speed { display: grid; position: absolute; inset: auto 0 .65rem; justify-content: center; margin: 0; color: #f3f8ff; line-height: 1; gap: .25rem; }
.cockpit-gauge .speed strong { font-size: clamp(2.85rem,6.1vw,5.7rem); font-variant-numeric: tabular-nums; letter-spacing: -.045em; }
.cockpit-gauge .speed span { color: #a8cbf3; font-size: .78rem; }
.drive-readings { display: grid; gap: .5rem; border-block: 1px solid #7d96b94f; padding-block: .55rem; }
.drive-readings > div { display: grid; grid-template-columns: 1fr auto; gap: .25rem .65rem; align-items: baseline; }
.drive-readings dt { color: #bccde6; font-size: .75rem; }
.drive-readings dd { font-variant-numeric: tabular-nums; font-size: clamp(.85rem,1.3vw,1.24rem); font-weight: 650; white-space: nowrap; text-align: right; }
.rpm-strip { grid-column: 1/-1; height: 2px; background: #3b4c63; overflow: hidden; }
.rpm-strip::before { content: ""; display: block; width: 100%; height: 100%; transform: scaleX(var(--rpm-fill,0)); transform-origin: left; background: #a1e1f4; }
.cockpit-controls { display: flex; gap: .65rem 1.5rem; justify-content: space-between; align-items: start; flex-wrap: wrap; margin-top: 1rem; }
.drive-actions,.drive-adjust { display: flex; gap: .65rem; align-items: center; }
.drive-actions .button { border-radius: 999px; min-width: 9.5rem; }
.drive-adjust { padding-inline: .22rem; gap: 0; border-radius: 999px; background: #202d45; }
.drive-adjust button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #dbe7fc; display: grid; place-items: center; }
.drive-adjust button:disabled { opacity: .45; }
.drive-adjust button:hover:not(:disabled) { background: #385071; }
.drive-adjust svg { width: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.drive-settings { color: #cfdef5; font-size: .82rem; }
.drive-settings summary { cursor: pointer; min-height: 44px; padding-top: .65rem; }
.drive-settings label { display: grid; gap: .35rem; }
.drive-settings input { margin: 0; accent-color: #a3c3fb; }
.copilot { color: #c4d1f4; font-size: .86rem; padding: .5rem 0 0; }
.cockpit-handoff { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; margin-top: .6rem; color: #dce9ff; font-size: .92rem; font-weight: 650; }
.privacy-section { background: #e9edf7; color: var(--ink); }
.privacy-principles { display: grid; }
.privacy-principles div { border-top: 1px solid #bcc8e1; padding: .85rem 0 1rem; }
.privacy-principles dt { font-weight: 720; font-size: 1.02rem; }
.privacy-principles dd { margin-top: .16rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .cockpit.is-driving .road-motion { opacity: 1; }
  .cockpit.is-driving .road-motion path { animation: road-pass var(--drive-pace,2s) linear infinite; }
  .cockpit.is-driving .cockpit-scene { animation: cabin-float 4s cubic-bezier(.45,0,.55,1) alternate infinite; }
  .gauge-progress { transition: stroke-dasharray 260ms var(--ease); }
  .rpm-strip::before { transition: transform 260ms var(--ease); }
  @keyframes road-pass { to { stroke-dashoffset: -72; } }
  @keyframes cabin-float { from { transform: scale(1.012) translateY(1px); } to { transform: scale(1.036) translateY(4px); } }
}
.product-story { padding: clamp(3.2rem,6vw,6rem) 0; background: linear-gradient(140deg,#101831 10%,#151c3b 53%,#211748); }
.product-shell { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.45fr); gap: clamp(1rem, 4vw, 5rem); align-items: center; }
.product-copy .lede { min-height: 4.2rem; }
.product-options { max-width: 31rem; }
.product-handoff { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-top: .75rem; color: #d8e4ff; font-size: .9rem; font-weight: 620; }
.device-presentation { min-width: 0; }
.device-presentation figcaption { color: #c2cbec; }
.device-stage { position: relative; min-height: clamp(420px,45vw,630px); isolation: isolate; perspective: 1050px; perspective-origin: 50% 52%; overflow: hidden; }
.studio-platform { position: absolute; z-index: -1; inset: 1% -10% 6%; background: radial-gradient(ellipse at 55% 50%,#7561d969,transparent 58%),repeating-linear-gradient(0deg,transparent 0 38px,#bbc3f410 39px 40px); mask-image: radial-gradient(ellipse,#000 35%,transparent 73%); }
.device-stage .phone-frame { position: absolute; left: 50%; top: 50%; width: clamp(136px,17vw,242px); border: 6px solid #252a41; border-radius: 1.5rem; outline: 1px solid #9ca9ee9e; box-shadow: 0 19px 46px #070a1bec, inset 0 0 0 1px #a3b3ed88; filter: saturate(.93); }
.phone-left { transform: translate3d(calc(-112% - var(--phone-spread,30px)),calc(-44% + var(--phone-fall,10px)),-68px) rotateY(21deg) rotateZ(-9deg); }
.phone-right { transform: translate3d(calc(12% + var(--phone-spread,30px)),calc(-50% - var(--phone-fall,10px)),-57px) rotateY(-19deg) rotateZ(10deg); }
.phone-center { transform: translate3d(-50%,calc(-51% - var(--phone-center-rise,0px)),35px) rotateY(var(--phone-rotation,-6deg)); }
@media (min-width: 701px) and (prefers-reduced-motion: no-preference) {
  .product-story.showcase-motion { min-height: calc(100svh + 190px); }
  .product-story.showcase-motion .product-shell { position: sticky; top: min(12vh,105px); }
}
.explorer { background: #0c142b; }
.explorer-layout { display: grid; grid-template-columns: minmax(0,3fr) minmax(13rem,1fr); gap: clamp(1rem,3.4vw,3rem); align-items: start; }
.cutaway { --focus-x:20%; --focus-y:54%; position: relative; overflow: clip; background: #101b35; border: 1px solid #6a7aac70; }
.cutaway-view { aspect-ratio: 16 / 9; position: relative; transform-origin: var(--focus-x) var(--focus-y); }
.cutaway img { width: 100%; height: 100%; object-fit: contain; filter: hue-rotate(35deg); }
.component-light { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 14% 23% at var(--focus-x) var(--focus-y), #a597ff7a 0%,#7084ff36 42%,transparent 100%); mix-blend-mode: screen; }
.hotspot { position: absolute; top: var(--spot-y); left: var(--spot-x); transform: translate(-50%,-50%); width: 44px; height: 44px; display: grid; place-items: center; background: none; color: #fff; border: 0; padding: 0; }
.hotspot span { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #d6dfff; background: #18284c; border-radius: 50%; line-height: 1; }
.hotspot:hover span,.hotspot[aria-pressed="true"] span { color: #151b3d; background: #c0cbff; }
.hotspot[aria-pressed="true"] span { box-shadow: 0 0 0 6px #9d96ec55; }
.explorer-options { margin-top: .75rem; }
.explorer-layout .system-detail { min-width: 0; margin: 0; padding: 1.05rem; border: 1px solid #6174a17a; background: #17213e; }
.explorer-layout .system-detail img { width: clamp(115px,12vw,185px); height: auto; aspect-ratio: 9 / 14; object-fit: cover; object-position: top; }
@media (prefers-reduced-motion: no-preference) {
  .cutaway[data-selected] .cutaway-view { transform: scale(1.08); }
  .cutaway-view { transition: transform 350ms var(--ease), transform-origin 450ms var(--ease); }
  .component-light { animation: component-scan 2.6s ease-in-out alternate infinite; animation-play-state: paused; }
  .cutaway.is-visible .component-light { animation-play-state: running; }
  @keyframes component-scan { from { opacity: .48; } to { opacity: 1; } }
}
.workflow-section { background: #142047; }
.workflow { margin-top: 1rem; display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); border: 1px solid #7f8fc373; background: #101939; }
.workflow-scene { position: relative; width: 100%; min-width: 0; aspect-ratio: 16 / 9; isolation: isolate; min-height: 230px; overflow: hidden; align-self: start; }
.workflow-scene > img { width: 100%; height: 100%; object-fit: cover; }
.workflow-panel { padding: clamp(1rem,3vw,2rem); align-self: center; }
.workflow-panel > p:not(.kicker) { color: #d5ddfb; min-height: 3rem; margin-top: .7rem; }
.workflow-panel ol { color: #b5c6ef; padding-left: 1.65rem; margin: 1rem 0; font-size: .88rem; }
.workflow-panel li { padding: .2rem .15rem; }
.workflow-panel li[aria-current="step"] { color: #ffffff; font-weight: 720; }
.workflow-actions { gap: .5rem; }
.workflow-actions .button { padding-inline: .65rem; font-size: .82rem; }
.route-drawing,.invoice-overlay,.fuel-signal { position: absolute; pointer-events: none; }
.route-drawing { display: none; inset: 0; height: 100%; width: 100%; }
.workflow[data-mode="route"] .route-drawing { display: block; }
.route-drawing > path { fill: none; stroke: #b7c6ff; stroke-width: 6px; stroke-linecap: round; stroke-dasharray: 0 100; }
.route-drawing > circle { fill: #192341; stroke: #a3b7ff; stroke-width: 4px; }
#route-car path:first-child { fill: #e8eeff; stroke: #0a112a; stroke-width: 2px; }
#route-car path:last-child { fill: #527bec; }
.invoice-overlay {
  display: none; top: 26%; right: 7%; width: min(42%, 16rem); color: #19233a; background: #f6f3e9;
  padding: clamp(.6rem,2vw,1.25rem); border-radius: .25rem; box-shadow: 0 15px 32px #070b15a8;
  overflow: hidden; font-size: clamp(.62rem,1.2vw,.84rem); pointer-events: none;
}
.workflow[data-mode="service"]:not([data-stage="-1"]) .invoice-overlay { display: grid; gap: .45rem; }
.invoice-overlay header { display: grid; padding-bottom: .35rem; border-bottom: 1px solid #bbb9b5; }
.invoice-overlay header strong { line-height: 1.16; font-size: 1.2em; }
.invoice-overlay header small { color: #465573; font-size: .87em; }
.invoice-overlay dl { display: grid; gap: .3rem; }
.invoice-overlay dl div,.invoice-total { display: flex; gap:.25rem .45rem; justify-content: space-between; align-items: start; }
.invoice-overlay :is(dd,.invoice-total strong:last-child) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.invoice-total { border-top: 1px solid #b9bac0; padding-top: .4rem; }
.workflow[data-mode="service"]:is([data-stage="1"],[data-stage="2"]) .invoice-overlay :is(.invoice-date,.invoice-total) { background: #d9ebf7; }
.invoice-scan-beam { display: none; height: 2px; background: #3cadd5; box-shadow: 0 0 12px 3px #68cafbac; top: 0; left: 0; position: absolute; width: 100%; }
.fuel-signal { display: none; top: 38%; right: 27%; border: 1px solid #b7bbff; width: 54px; aspect-ratio: 1; border-radius: 50%; background: #8988ff32; }
.workflow[data-mode="fuel"]:not([data-stage="-1"]) .fuel-signal { display: block; }
@media(prefers-reduced-motion:no-preference) {
  .workflow.is-playing:is([data-stage="0"],[data-stage="1"]) .invoice-scan-beam { display: block; animation: scan-invoice 1.15s cubic-bezier(.24,.3,.35,1) infinite; }
  .workflow.is-playing .invoice-fields { animation: record-arrive 320ms var(--ease) both; }
  .workflow.is-playing .fuel-signal { animation: detect-fuel 1.1s var(--ease) infinite; }
  @keyframes scan-invoice { to { top: calc(100% - 2px); } }
  @keyframes record-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  @keyframes detect-fuel { from { transform: scale(.55); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
}
.scenarios { margin: 0 0 1rem; }
.scenarios button[aria-pressed=true] { border-color:#2d52d2; background:#2d52d2; }
.calculator-section { padding-block: clamp(3.6rem,7vw,7rem); }
.calculator-section .scenarios button { border-radius: 999px; }
.calculator-section .cost-results { border-radius: 1.25rem; background: #10192e; }
.calculator-section .cost-results > a { margin-top: 1rem; border-radius: 999px; }
.earnings-chart { padding-block: 1.15rem .7rem; margin-top: .75rem; border-top: 1px solid #63759758; }
.earnings-chart h3 { font-size: clamp(1rem,2.2vw,1.35rem); letter-spacing: -.027em; margin-bottom: .85rem; }
.earnings-chart dl { display: grid; gap: .6rem; }
.earnings-line { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .25rem .5rem; align-items: baseline; font-size: .84rem; }
.earnings-line dd { font-weight: 680; white-space: nowrap; }
.earnings-net { margin-top: .13rem; color: #b0f0d8; }
.earnings-net dd { font-size: 1.12rem; }
.earnings-track { position: relative; grid-column: 1/-1; display: block; height: .4rem; border-radius: 99px; background: #2c3a57; }
.earnings-track::before { content: ""; position: absolute; inset-block: -.1rem; inset-inline-start: var(--zero,0%); width: 1px; background: #d0dcf66b; }
.earnings-track i { position: absolute; inset-block: 0; inset-inline-start: var(--start); width: var(--length); border-radius: inherit; background: var(--bar,#a8bafa); transform-origin: left; }
.earnings-in { --bar: #c2d1ff; }
.earnings-fuel { --bar: #829ded; }
.earnings-maintenance { --bar: #a7a5ea; }
.earnings-other { --bar: #8492bb; }
.earnings-net { --bar: #8ee1c1; }
.earnings-chart[data-loss] .earnings-net { --bar: #ffb5a8; color: #ffc4ba; }
.exact-net { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
@media (min-width: 701px) {
  .calculator-section .cost-results { grid-column: 2; grid-row: 1; }
  .calculator-section .calculator-form { grid-column: 1; grid-row: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .earnings-chart[data-visible] .earnings-track i { animation: earnings-draw 530ms var(--ease) both; transition: inset-inline-start 360ms var(--ease),width 360ms var(--ease); }
  @keyframes earnings-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media (max-width: 700px) {
  .cabin-copy { left: 0; top: auto; bottom: 4.7rem; }
  .hero-cabin img { object-position: 50% 60%; }
  .hero-cabin::after { background: linear-gradient(0deg,#0a1124 9%,#0a1124ad 42%,transparent 75%); }
  .product-shell,.explorer-layout,.workflow,.cockpit-controls { grid-template-columns: minmax(0,1fr); }
  .product-copy .lede { min-height: 0; }
  .device-stage { min-height: clamp(290px,104vw,530px); }
  .device-stage .phone-frame { width: clamp(122px,38vw,235px); }
  .phone-left { transform: translate3d(-121%,-47%,-48px) rotateY(15deg) rotateZ(-8deg); }
  .phone-right { transform: translate3d(20%,-51%,-40px) rotateY(-16deg) rotateZ(9deg); }
  .cockpit-stage { aspect-ratio: 4 / 5.55; min-height: 360px; }
  .cockpit-scene { object-position: center; }
  .instrument-cluster { grid-template-columns: repeat(2,minmax(0,1fr)); inset: auto .8rem 1rem; gap: .45rem .9rem; }
  .cockpit-gauge { grid-area: 1 / 1 / 2 / -1; width: 8.8rem; }
  .drive-readings { gap: .3rem; padding-block: .4rem; }
  .drive-readings dt { font-size: .67rem; }
  .drive-readings dd { font-size: .77rem; }
  .drive-actions .button { min-width: 8rem; font-size: .87rem; }
  .explorer-layout .system-detail { display: grid; grid-template-columns: 1fr 100px; gap: .5rem; }
  .explorer-layout .system-detail p { margin: .1rem 0; grid-column: 1; }
  .explorer-layout .system-detail img { grid-column: 2; grid-row: 1 / 3; }
  .workflow-scene { min-height: 0; }
}
@media (max-width: 700px) and (min-height: 650px) and (prefers-reduced-motion: no-preference) {
  .drive-story.is-cinematic .hero { top: 64px; min-height: calc(100svh - 64px); }
  .drive-story.is-cinematic .hero-inner { display: grid; grid-template-rows: auto 1fr auto; gap: 0; min-height: calc(100svh - 64px); }
  .drive-story.is-cinematic .hero-art-stage { height: clamp(320px,92vw,530px); }
  .drive-story.is-cinematic .hero::before { height: clamp(350px,101vw,560px); }
  .drive-story.is-cinematic .hero-telemetry { min-height: clamp(208px,58vw,385px); }
}

