/* ============================================================
   FLEET & CORPORATE — page styles
   ------------------------------------------------------------
   Composed entirely from the existing tokens: one accent
   (--ct-red), the graphite surface, the 45-degree chamfer, the
   three typefaces. Light and dark come from four local variables
   flipped once near the bottom.
   ============================================================ */

.fleet-page {
  --surf: var(--ct-graphite); --surf-2: #191c20;
  --ink: var(--ct-white); --ink-dim: rgba(255,255,255,.66); --edge: var(--line);
}
.dl-chamfer {
  clip-path: polygon(var(--chamfer) 0,100% 0,100% calc(100% - var(--chamfer)),calc(100% - var(--chamfer)) 100%,0 100%,0 var(--chamfer));
}
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.scroll-progress {
  position: fixed; top: 62px; left: 0; right: 0; height: 2px; background: var(--ct-red);
  transform: scaleX(0); transform-origin: 0 50%; z-index: 60; pointer-events: none; will-change: transform;
}
@media (max-width: 900px) { .scroll-progress { top: 56px; } }

.reveal-ready .fleet-page [data-reveal],
.reveal-ready .fleet-page [data-reveal-group] > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1);
}
.reveal-ready .fleet-page [data-reveal].revealed,
.reveal-ready .fleet-page [data-reveal-group] > *.revealed { opacity: 1; transform: none; }

/* A changed number pulses once so the visitor sees the page
   reconfigure around them rather than silently swapping. */
@keyframes fpulse { 0% { color: var(--ct-red); } 100% { color: inherit; } }
.is-pulse { animation: fpulse .7s ease-out; }

/* ============================================================
   TOPBAR PROFILE CHIP
   ============================================================ */
.profile-chip {
  position: fixed; top: 74px; right: max(3vw, 16px); z-index: 58;
  background: var(--ct-black); color: #fff; border: 1px solid var(--edge);
  border-left: 2px solid var(--ct-red); padding: 9px 14px; cursor: pointer;
  transform: translateY(-140%); transition: transform .3s cubic-bezier(.16,1,.3,1);
  font-size: 11px; letter-spacing: .1em;
}
.profile-chip.is-on { transform: none; }
.profile-chip:focus-visible { outline: 2px solid var(--ct-red); outline-offset: 2px; }
@media (max-width: 900px) { .profile-chip { top: 66px; font-size: 10px; padding: 7px 11px; } }

/* ============================================================
   HERO + PROOF
   ============================================================ */
.dhero { position: relative; min-height: 90vh; display: flex; align-items: flex-end; padding: 0 var(--gutter) 8vh; overflow: hidden; isolation: isolate; }
.dhero-shot { position: absolute; inset: 0; z-index: 0; }
.dhero-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; transform: scale(1.12); will-change: transform; }
.dhero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.74) 36%, rgba(0,0,0,.22) 66%, rgba(0,0,0,.06) 100%),
              linear-gradient(to top, rgba(17,17,17,.96) 0%, rgba(17,17,17,0) 46%);
}
.dhero-inner { position: relative; z-index: 2; max-width: min(880px, 92%); }
.dhero-kicker { color: var(--ct-red); }
.fleet-page .dhero-h1 { margin: 22px 0 0; font-size: clamp(28px, 4.6vw, 66px); line-height: 1.05; }
.dhero-rule { height: 2px; background: var(--ct-red); margin: 30px 0 26px; max-width: 340px; transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s cubic-bezier(.16,1,.3,1) .2s; }
.dhero.is-in .dhero-rule { transform: scaleX(1); }
.dhero-sub { max-width: 560px; font-size: 16px; line-height: 1.65; color: var(--ink-dim); }
.dhero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.dhero-cue { position: absolute; left: var(--gutter); bottom: 22px; z-index: 3; font-size: 10px; letter-spacing: .3em; color: var(--ink-dim); display: flex; align-items: center; gap: 10px; transition: opacity .4s; }
.dhero-cue::after { content: ''; width: 1px; height: 26px; background: var(--ct-red); animation: dcue 1.9s ease-in-out infinite; }
.dhero-cue.is-gone { opacity: 0; }
@keyframes dcue { 0%,100% { transform: scaleY(.35); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
@media (max-width: 900px) {
  .dhero { min-height: 84vh; padding-inline: max(4vw,18px); padding-bottom: 12vh; }
  .dhero-cue { left: max(4vw,18px); } .dhero-shot img { filter: brightness(.7); }
  .dhero-ctas .cta { flex: 1 1 100%; text-align: center; }
}

.proof { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--edge); border-block: 1px solid var(--edge); }
.proof-cell { background: var(--surf-2); padding: 40px 26px; }
.proof-num { display: block; font-family: var(--font-mono); font-size: clamp(30px,3.6vw,48px); font-weight: 600; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.proof-cell.accent .proof-num { color: var(--ct-red); font-size: clamp(36px,4.6vw,62px); }
.proof-label { display: block; margin-top: 14px; font-size: 13px; color: var(--ink-dim); }
.proof-todo { display: inline-block; font-family: var(--font-mono); font-size: 12px; color: var(--ct-red); border: 1px dashed currentColor; padding: 8px 12px; line-height: 1.3; }
@media (max-width: 820px) { .proof { grid-template-columns: repeat(2,1fr); } .proof-cell { padding: 26px 18px; } }

/* ============================================================
   FLEET PROFILE SENTENCE
   ============================================================ */
.pf { position: relative; overflow: hidden; }
.pf-backdrop { position: absolute; inset: 0; z-index: 0; margin: 0; }
.pf-backdrop img { width: 100%; height: 100%; object-fit: cover; opacity: .10; filter: blur(6px) saturate(.6); }
.pf-inner { position: relative; z-index: 1; }

.pf-sentence {
  font-family: var(--font-head); font-stretch: 108%;
  font-size: clamp(21px, 2.5vw, 34px); line-height: 1.9; max-width: 24ch; margin-top: 2vh;
}
.pf-ctl { position: relative; display: inline-block; }
.pf-ctl b { color: var(--ct-red); font-weight: 700; border-bottom: 2px dotted var(--ct-red); padding-bottom: 2px; }
/* The slider sits invisibly over its own number, so the number IS
   the control — dragging the word changes the fleet. */
.pf-ctl input[type="range"] {
  position: absolute; inset: -6px -4px; width: calc(100% + 8px); height: calc(100% + 12px);
  opacity: 0; cursor: ew-resize; margin: 0; -webkit-appearance: none; appearance: none;
}
.pf-ctl input[type="range"]:focus-visible + b { outline: 2px solid var(--ct-red); outline-offset: 4px; border-bottom-width: 3px; }
.pf-select select {
  appearance: none; -webkit-appearance: none; background: transparent; border: 0;
  border-bottom: 2px dotted var(--ct-red); color: var(--ct-red);
  font-family: inherit; font-size: inherit; font-stretch: inherit; font-weight: 700;
  padding: 0 2px 2px; cursor: pointer;
}
.pf-select select:focus-visible { outline: 2px solid var(--ct-red); outline-offset: 4px; }
.pf-select option { background: var(--ct-black); color: #fff; font-size: 15px; }
.pf-reset { margin-top: 30px; background: transparent; border: 1px solid var(--edge); color: var(--ink-dim); padding: 9px 16px; font-size: 10px; letter-spacing: .2em; cursor: pointer; }
.pf-reset:hover { border-color: var(--ct-red); color: var(--ct-red); }

/* ============================================================
   CALCULATOR
   ============================================================ */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.calc-panel { background: var(--surf); padding: 34px 30px; }
.calc-out { background: var(--surf-2); padding: 34px 30px; position: sticky; top: 96px; }
.est-flag { display: inline-block; margin-bottom: 24px; padding: 8px 12px; font-size: 10px; letter-spacing: .16em; color: var(--ct-red); border: 1px dashed currentColor; }
.est-field { margin-bottom: 26px; }
.est-field > label, .est-legend { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; color: var(--ink-dim); margin-bottom: 12px; }
.est-units-row { display: flex; align-items: center; gap: 16px; }
.est-units-row input[type="range"] { flex: 1; }
.est-units-val { font-family: var(--font-mono); font-size: 14px; white-space: nowrap; }
.est-units-val b { color: var(--ct-red); font-size: 20px; }
.calc-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calc-row2 select, .calc-row2 input[type="number"] {
  width: 100%; background: var(--surf-2); border: 1px solid var(--edge); color: var(--ink);
  padding: 13px 14px; font-family: var(--font-body); font-size: 15px;
}
.calc-panel select { appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px,6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.calc-row2 select:focus, .calc-row2 input:focus { outline: none; border-color: var(--ct-red); }
#calcPriceUnit { font-size: 9px; opacity: .7; }

.fleet-page input[type="range"] { -webkit-appearance: none; appearance: none; height: 2px; background: var(--edge); outline: none; }
.fleet-page input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; background: var(--ct-red); cursor: pointer; clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); }
.fleet-page input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; background: var(--ct-red); border: 0; cursor: pointer; clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); }
.fleet-page input[type="range"]:focus-visible { outline: 2px solid var(--ct-red); outline-offset: 6px; }

.est-seg { display: flex; gap: 1px; background: var(--edge); }
.est-seg button { flex: 1; background: var(--surf-2); color: var(--ink); border: 0; cursor: pointer; padding: 13px 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: capitalize; }
.est-seg button.active { background: var(--ct-red); color: #111; }
.est-seg button:focus-visible { outline: 2px solid var(--ct-red); outline-offset: -2px; }

.est-check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.est-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.est-check .box { flex: none; width: 22px; height: 22px; border: 1px solid var(--edge); background: var(--surf-2); display: grid; place-items: center; margin-top: 2px; }
.est-check .box::after { content: ''; width: 10px; height: 6px; border-left: 2px solid #111; border-bottom: 2px solid #111; transform: rotate(-45deg) scale(0); transition: transform .2s; }
.est-check input:checked + .box { background: var(--ct-red); border-color: var(--ct-red); }
.est-check input:checked + .box::after { transform: rotate(-45deg) scale(1); }
.est-check input:focus-visible + .box { outline: 2px solid var(--ct-red); outline-offset: 3px; }
.est-check-text strong { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; }
.est-check-text span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--ink-dim); line-height: 1.55; }

.calc-head { padding-bottom: 24px; border-bottom: 1px solid var(--edge); }
.est-out-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; color: var(--ink-dim); }
.est-out-big { display: block; margin-top: 10px; font-family: var(--font-mono); font-weight: 600; font-size: clamp(38px,5vw,60px); line-height: 1; color: var(--ct-red); font-variant-numeric: tabular-nums; }

.bars { margin: 26px 0; display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 118px 1fr 62px; align-items: center; gap: 12px; }
.bar-tag { font-size: 9px; letter-spacing: .16em; color: var(--ink-dim); }
.bar-track { height: 10px; background: var(--surf); position: relative; overflow: hidden; }
.bar-fill { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); transition: transform .6s cubic-bezier(.16,1,.3,1); }
.bar-fill.inc { background: #6a6d73; }
.bar-fill.ev { background: var(--ct-red); }
.bar-val { font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
#calc.ev-wins .bar-row:last-of-type .bar-val { color: var(--ct-red); }

.est-out-rows { display: grid; gap: 16px; margin-top: 24px; }
.est-out-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.est-out-row dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; color: var(--ink-dim); }
.est-out-row dd { font-family: var(--font-mono); font-size: 18px; font-variant-numeric: tabular-nums; text-align: right; }
.est-out-row dd.is-negative { color: var(--ct-red); font-size: 13px; }
.calc-trees { margin-top: 16px; font-size: 13px; color: var(--ink-dim); }
.calc-warn { margin-top: 20px; padding: 14px 16px; border: 1px solid var(--ct-red); color: var(--ct-red); font-size: 13.5px; line-height: 1.6; }
.calc-warn[hidden] { display: none; }
.est-disclaimer { margin-top: 22px; font-size: 12px; line-height: 1.6; color: var(--ink-dim); }
.calc-out .cta { margin-top: 22px; width: 100%; text-align: center; }
@media (max-width: 980px) { .calc-grid { grid-template-columns: 1fr; } .calc-out { position: static; } }
@media (max-width: 560px) { .calc-row2 { grid-template-columns: 1fr; } .bar-row { grid-template-columns: 96px 1fr 56px; } }

/* ============================================================
   CARDS (tiers, advantage, support)
   ============================================================ */
.dcards { display: grid; gap: 22px; }
.dcards.three { grid-template-columns: repeat(3,1fr); }
.tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.dcard {
  position: relative; background: var(--surf); padding: 0 28px 32px; border: 1px solid transparent;
  text-align: left; color: var(--ink); font: inherit;
  transition: transform .28s cubic-bezier(.16,1,.3,1);
}
.dcard-photo, .tier-photo { margin: 0 -28px 24px; aspect-ratio: 16/10; overflow: hidden; background: var(--surf-2); }
.dcard-photo img, .tier-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dcard h3 { margin: 14px 0 12px; font-family: var(--font-head); font-size: 20px; font-stretch: 112%; }
.dcard p { font-size: 14.5px; line-height: 1.62; color: var(--ink-dim); }
.dcard-ico { width: 30px; height: 30px; color: var(--ct-red); }
.dcard-ico svg { width: 100%; height: 100%; display: block; overflow: visible; }
.dcard-ico path, .dcard-ico circle, .dcard-ico rect, .dcard-ico line {
  stroke-dasharray: 90; stroke-dashoffset: 90; transition: stroke-dashoffset .7s cubic-bezier(.16,1,.3,1);
}
.dcard.is-active .dcard-ico path, .dcard.is-active .dcard-ico circle,
.dcard.is-active .dcard-ico rect, .dcard.is-active .dcard-ico line,
.dcard.is-selected .dcard-ico path, .dcard.is-selected .dcard-ico circle,
.dcard.is-selected .dcard-ico rect, .dcard.is-selected .dcard-ico line { stroke-dashoffset: 0; }
.dcard-trace { position: absolute; inset: 0; pointer-events: none; }
.dcard-trace::before, .dcard-trace::after { content: ''; position: absolute; background: var(--ct-red); transition: transform .34s cubic-bezier(.16,1,.3,1); }
.dcard-trace::before { top: 0; left: 0; height: 1px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; }
.dcard-trace::after { bottom: 0; right: 0; width: 1px; height: 100%; transform: scaleY(0); transform-origin: 50% 100%; }
.dcard.is-active { transform: translateY(-4px); }
.dcard.is-active .dcard-trace::before { transform: scaleX(1); }
.dcard.is-active .dcard-trace::after { transform: scaleY(1); transition-delay: .1s; }
.dcard:focus-visible { outline: 2px solid var(--ct-red); outline-offset: 3px; }

/* Selection is persistent and unmistakable — not a hover artefact. */
.tier { cursor: pointer; overflow: hidden; }
.tier-state { position: absolute; top: 14px; right: 14px; z-index: 3; font-size: 9px; letter-spacing: .2em; background: var(--ct-red); color: #111; padding: 5px 9px; opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .25s; }
.tier.is-selected { outline: 2px solid var(--ct-red); outline-offset: -2px; }
.tier.is-selected .tier-state { opacity: 1; transform: none; }
.newcopy { position: absolute; bottom: 12px; right: 12px; font-size: 8px; letter-spacing: .18em; color: var(--ct-red); border: 1px dashed currentColor; padding: 4px 7px; }
@media (max-width: 1000px) { .dcards.three, .tiers { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 720px) {
  .dcards.three, .tiers { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; max-width: 100%; scrollbar-width: none; }
  .dcards.three::-webkit-scrollbar, .tiers::-webkit-scrollbar { display: none; }
  .dcard, .tier { flex: 0 0 82%; scroll-snap-align: center; }
}

/* ============================================================
   ADVANTAGE BAND — enters with a wipe, not a fade
   ============================================================ */
.advantage { background: var(--ct-red); padding: 9vh var(--gutter); position: relative; overflow: hidden; }
.advantage::before {
  content: ''; position: absolute; inset: 0; background: var(--ct-black);
  transform-origin: 100% 50%; transform: scaleX(1); transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.advantage.is-in::before { transform: scaleX(0); }
.advantage-in { position: relative; z-index: 1; }
.advantage .kicker, .advantage .display { color: #111; }
.advantage .display b { color: #fff; }
.advantage .dcard.on-accent { background: #0e0e0e; }
.advantage .dcard.on-accent h3 { color: #fff; }
.advantage .dcard.on-accent p { color: rgba(255,255,255,.72); }

/* ============================================================
   ESG / CO2 METER
   ============================================================ */
.dsplit { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: center; }
.dsplit-media img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .dsplit { grid-template-columns: 1fr; gap: 5vh; } }

.co2-meter { margin-top: 5vh; }
.co2-num { font-size: clamp(40px,6vw,72px); font-weight: 600; line-height: 1; color: var(--ct-red); font-variant-numeric: tabular-nums; margin-top: 10px; }
.co2-num em { font-style: normal; font-size: 16px; color: var(--ink-dim); margin-left: 6px; }
.co2-track { position: relative; height: 6px; background: var(--surf-2); margin: 34px 0 22px; }
.co2-fill { position: absolute; inset: 0; background: var(--ct-red); transform: scaleX(0); transform-origin: 0 50%; }
.co2-puck { position: absolute; top: 50%; left: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; background: var(--ct-black); border: 1px solid var(--ct-red); border-radius: 50%; display: grid; place-items: center; color: var(--ct-red); }
.co2-puck svg { width: 18px; height: 18px; }
.co2-anchor { position: absolute; top: -6px; bottom: -6px; width: 1px; }
.co2-anchor[hidden] { display: none; }
.co2-anchor i { position: absolute; inset: 0; background: rgba(255,255,255,.5); }
.co2-anchor em { position: absolute; top: -22px; left: 0; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: 8px; letter-spacing: .16em; color: var(--ink-dim); }
.co2-basis { font-size: 10.5px; line-height: 1.8; color: var(--ink-dim); letter-spacing: .04em; }
.co2-trees { margin-top: 14px; font-size: 13px; color: var(--ct-red); }
.cert { margin-top: 5vh; padding-top: 4vh; border-top: 1px solid var(--edge); }
.cert-todo { font-size: 11px; line-height: 1.8; color: var(--ct-red); border: 1px dashed currentColor; padding: 14px 16px; margin-top: 14px; }

/* ============================================================
   DASHBOARD MOCK
   ============================================================ */
.dash-tabs { display: flex; gap: 1px; background: var(--edge); margin-bottom: 20px; max-width: 420px; }
.dash-tabs button { flex: 1; background: var(--surf-2); border: 0; color: var(--ink); cursor: pointer; padding: 13px 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; }
.dash-tabs button.active { background: var(--ct-red); color: #111; }
.dash-tabs button:focus-visible { outline: 2px solid var(--ct-red); outline-offset: -2px; }
.dash-frame { position: relative; background: var(--surf-2); border: 1px solid var(--edge); padding: 20px; display: grid; grid-template-columns: 1fr 260px; gap: 20px; align-items: start; }
.dash-badge { position: absolute; top: 12px; right: 12px; z-index: 3; font-size: 8px; letter-spacing: .2em; color: var(--ink-dim); border: 1px solid var(--edge); padding: 4px 8px; }
.dash-svg { width: 100%; height: auto; display: block; background: var(--ct-black); }
.dash-grid line { stroke: rgba(255,255,255,.07); stroke-width: 1; }
.dash-fence { fill: rgba(255,90,31,.05); stroke: var(--ct-red); stroke-width: 1; stroke-dasharray: 5 4; opacity: 0; transition: opacity .24s; }
#dash[data-mode="geofence"] .dash-fence { opacity: 1; }
.dash-svg path[id^="dashRoute"] { stroke: rgba(255,255,255,.16); stroke-width: 1.4; }
.dash-pin circle:first-child { fill: rgba(255,90,31,.22); }
.dash-pin-core { fill: var(--ct-red); }
#dash[data-mode="diagnose"] .dash-pin circle:first-child { fill: rgba(255,255,255,.14); }
.dash-alert { position: absolute; left: 20px; bottom: 20px; z-index: 4; background: var(--ct-red); color: #111; padding: 9px 13px; font-size: 10px; letter-spacing: .12em; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; pointer-events: none; }
.dash-alert.is-on { opacity: 1; transform: none; }
.dash-side { display: grid; gap: 18px; }
.dash-note { font-size: 13.5px; line-height: 1.6; color: var(--ink-dim); }
.dash-note[hidden] { display: none; }
.dash-batt { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dash-batt li { display: grid; grid-template-columns: 56px 1fr 36px; align-items: center; gap: 10px; font-size: 10px; }
.dash-bar { height: 6px; background: var(--surf); position: relative; }
.dash-bar i { position: absolute; inset: 0 auto 0 0; background: var(--ct-red); }
@media (max-width: 900px) { .dash-frame { grid-template-columns: 1fr; } }

/* ============================================================
   UPTIME
   ============================================================ */
.up-bars { margin-top: 4vh; display: grid; gap: 14px; }
.up-saved { margin-top: 20px; display: flex; align-items: baseline; gap: 14px; }
.up-saved-num { font-size: 34px; font-weight: 600; color: var(--ct-red); font-variant-numeric: tabular-nums; }
.up-saved-label { font-size: 9px; letter-spacing: .2em; color: var(--ink-dim); }
.up-unknown { font-size: 11px; line-height: 1.8; color: var(--ct-red); border: 1px dashed currentColor; padding: 14px 16px; }
.up-unknown[hidden] { display: none; }
.up-integration { margin-top: 5vh; padding-top: 4vh; border-top: 1px solid var(--edge); }
.up-integration p { font-size: 15px; line-height: 1.7; color: var(--ink-dim); margin-top: 14px; max-width: 54ch; }

/* ============================================================
   FORM
   ============================================================ */
.apply { background: var(--surf); padding: 9vh var(--gutter); }
.apply-inner { max-width: 820px; margin-inline: auto; }
.apply-head { margin-bottom: 5vh; }
.astep-note { font-size: 14px; color: var(--ink-dim); }
.arail { display: flex; gap: 8px; margin-bottom: 40px; list-style: none; padding: 0; }
.arail-seg { flex: 1; }
.arail-seg .bar { display: block; height: 5px; background: var(--surf-2); position: relative; overflow: hidden; }
.arail-seg .bar::after { content: ''; position: absolute; inset: 0; background: var(--ct-red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.arail-seg.is-done .bar::after, .arail-seg.is-current .bar::after { transform: scaleX(1); }
.arail-seg.is-current .bar::after { animation: acharge 1.8s ease-in-out infinite; }
@keyframes acharge { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
.arail-seg .lbl { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; color: var(--ink-dim); }
.arail-seg.is-current .lbl { color: var(--ct-red); }
.fstep[hidden] { display: none; }
.fstep.is-in { animation: aslide .24s cubic-bezier(.16,1,.3,1); }
.fstep.is-in.from-right { animation-name: aslideR; }
@keyframes aslide { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes aslideR { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.fstep h3 { font-family: var(--font-head); font-size: clamp(22px,3vw,32px); font-stretch: 112%; }
.afields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.afield.wide { grid-column: 1/-1; }
.afield label { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; color: var(--ink-dim); margin-bottom: 10px; }
.afield-optional { font-weight: 400; letter-spacing: .14em; }
.afield input, .afield select { width: 100%; background: var(--surf-2); border: 1px solid var(--edge); color: var(--ink); padding: 14px 15px; font-family: var(--font-body); font-size: 15px; }
.afield select { appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px,6px 6px; background-repeat: no-repeat; padding-right: 42px; }
.afield input:focus, .afield select:focus { outline: none; border-color: var(--ct-red); }
.afield.has-error input, .afield.has-error select { border-color: var(--ct-red); }
.afield-error { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ct-red); min-height: 1em; }
.afield.shake { animation: ashake .3s; }
@keyframes ashake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.ahoney { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aactions { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.aactions .cta.ghost { color: var(--ink); }
.cta.is-busy { opacity: .6; pointer-events: none; }
.areview { display: grid; margin-top: 18px; border-top: 1px solid var(--edge); }
.areview-row { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--edge); }
.areview-row dt { font-size: 10px; letter-spacing: .18em; color: var(--ink-dim); align-self: center; }
.areview-row dd { font-size: 15px; margin: 0; }
.aerror { margin-top: 20px; padding: 18px 20px; border: 1px solid var(--ct-red); color: var(--ct-red); font-size: 14.5px; line-height: 1.6; }
.aerror[hidden] { display: none; }
.asuccess[hidden] { display: none; }
.asuccess:focus { outline: none; }
.asuccess-tick { width: 54px; height: 54px; background: var(--ct-red); display: grid; place-items: center; margin-bottom: 26px; clip-path: polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px); }
.asuccess-tick svg { width: 24px; height: 24px; color: #111; }
.asuccess h3 { font-family: var(--font-head); font-size: clamp(28px,4vw,42px); font-stretch: 112%; }
.asuccess p { margin-top: 16px; font-size: 16px; line-height: 1.65; color: var(--ink-dim); max-width: 52ch; }
.asuccess p b { color: var(--ct-red); font-weight: 600; }
.asuccess-ref { margin-top: 30px; padding: 18px 20px; background: var(--surf-2); display: inline-block; }
.asuccess-ref span { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .24em; color: var(--ink-dim); }
.asuccess-ref strong { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 22px; color: var(--ct-red); }
.asuccess-next { margin-top: 34px; }
.asuccess-next > span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; color: var(--ink-dim); }
.asuccess-next ol { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.asuccess-next li { counter-increment: s; display: flex; gap: 14px; font-size: 15px; line-height: 1.55; color: var(--ink-dim); }
.asuccess-next li::before { content: counter(s); flex: none; width: 24px; height: 24px; background: var(--surf-2); display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--ct-red); }
@media (max-width: 640px) { .afields { grid-template-columns: 1fr; } .aactions .cta { flex: 1 1 100%; text-align: center; } .arail-seg .lbl { display: none; } .areview-row { grid-template-columns: 1fr; gap: 4px; } }

/* ============================================================
   FAQ + STICKY CTA
   ============================================================ */
.faq-list { max-width: 880px; border-top: 1px solid var(--edge); }
.faq-item { border-bottom: 1px solid var(--edge); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; background: transparent; border: 0; color: var(--ink); cursor: pointer; text-align: left; padding: 26px 4px; font-family: var(--font-body); font-size: 17px; line-height: 1.45; }
.faq-q:hover { color: var(--ct-red); }
.faq-q:focus-visible { outline: 2px solid var(--ct-red); outline-offset: -2px; }
.faq-icon { flex: none; width: 16px; height: 16px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--ct-red); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.faq-icon::before { top: 50%; left: 0; right: 0; height: 2px; margin-top: -1px; }
.faq-icon::after { left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; }
.faq-item.is-open .faq-icon::after { transform: scaleY(0); }
.faq-a { height: 0; overflow: hidden; transition: height .34s cubic-bezier(.16,1,.3,1); }
.faq-a-inner { padding: 0 60px 30px 4px; font-size: 15.5px; line-height: 1.7; color: var(--ink-dim); }
.faq-todo { color: var(--ct-red); font-family: var(--font-mono); font-size: 13px; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--edge); transform: translateY(100%); transition: transform .3s cubic-bezier(.16,1,.3,1); padding-bottom: env(safe-area-inset-bottom); }
.sticky-cta.is-on { transform: none; }
.sticky-cta a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 17px 12px; text-decoration: none; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.sticky-cta .s-apply { background: var(--ct-red); color: #111; font-weight: 600; }
.sticky-cta .s-wa { background: var(--ct-black); color: #fff; }
.sticky-cta svg { width: 15px; height: 15px; }
@media (max-width: 820px) { .sticky-cta { display: grid; } body.fleet-body .wa-float { bottom: 76px; } }

/* ============================================================
   LIGHT THEME
   ============================================================ */
html[data-theme="light"] .fleet-page { --surf: #fff; --surf-2: #e9e9e4; --ink: #17181b; --ink-dim: rgba(23,24,27,.68); }
html[data-theme="light"] .fleet-page .proof-cell { background: #fff; }
html[data-theme="light"] .fleet-page .apply { background: #fff; }
html[data-theme="light"] .fleet-page .calc-panel { background: #fff; }
html[data-theme="light"] .fleet-page .dcard { background: #fff; }
html[data-theme="light"] .fleet-page .dash-svg { background: #17181b; }
html[data-theme="light"] .fleet-page .co2-puck { background: #fff; }
html[data-theme="light"] .fleet-page .profile-chip { background: #17181b; color: #fff; }
html[data-theme="light"] .fleet-page .sticky-cta .s-wa { background: #17181b; }
html[data-theme="light"] .fleet-page .advantage::before { background: #f2f2ef; }
html[data-theme="light"] .fleet-page .pf-select option { background: #fff; color: #17181b; }
/* The accent band keeps near-black text on orange in both themes —
   that is the only combination that passes AA on #FF5A1F. */

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .fleet-page *, .fleet-page *::before, .fleet-page *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .dhero-rule { transform: scaleX(1); }
  .dhero-shot img { transform: scale(1.02) !important; }
  .dhero-cue::after { animation: none; transform: scaleY(1); opacity: 1; }
  .advantage::before { transform: scaleX(0); }
  .arail-seg.is-current .bar::after { animation: none; }
  .reveal-ready .fleet-page [data-reveal],
  .reveal-ready .fleet-page [data-reveal-group] > * { opacity: 1; transform: none; }
}
