/* AutoFleet — Arctic Steel theme. Loaded last so it wins over matrix cyan/green. */
/* primary #38BDF8, secondary/muted #94A3B8, accent #E2E8F0, bg #0A1220, surface #111C2E, text #F1F5F9 */

body.theme-d.theme-pop.theme-matrix,
body.theme-af{
  --ink:#F1F5F9; --muted:#94A3B8;
  --orange:#38BDF8; --orange-hover:#7DD3FC; --orange-d:#38BDF8; --orange-l:#111C2E;
  --cream:#0A1220; --yellow:#E2E8F0; --teal:#38BDF8; --teal-d:#38BDF8;
  --blue:#38BDF8; --blue-d:#38BDF8; --blue-l:#111C2E;
  --line:rgba(56,189,248,.22); --radius:16px;
  --acc:#38BDF8; --acct:#38BDF8; --lav:#38BDF8; --pink:#E2E8F0; --lav-l:#111C2E;
  --cyan:#38BDF8; --green:#94A3B8; --bg:#0A1220; --bg-2:#111C2E; --panel:#111C2E;
  --btn-ink:#0A1220;
  color-scheme:dark;
  background:#0A1220;
  color:#F1F5F9;
}
html{background:#0A1220;color-scheme:dark}
.theme-matrix a,.theme-af a{color:#38BDF8}
.theme-matrix a:hover,.theme-af a:hover{color:#E2E8F0}
.theme-matrix ::selection,.theme-af ::selection{background:#38BDF8;color:#0A1220}
.theme-matrix :focus-visible,.theme-af :focus-visible{outline:3px solid #38BDF8;outline-offset:3px}

/* ---- logo ---- */
.theme-matrix .logo-mark{
  flex:none;display:block;width:148px;height:45px;overflow:visible;
  filter:drop-shadow(0 0 6px rgba(56,189,248,.4));
}
.theme-matrix .wm-super{
  color:#38BDF8;font-weight:800;font-size:clamp(.78rem,1.15vw,1rem);
  letter-spacing:.2em;text-transform:uppercase;white-space:nowrap;
  text-shadow:0 0 10px rgba(56,189,248,.35);
}
.theme-matrix .wm-cov{
  color:#E2E8F0;font-weight:800;font-size:clamp(.78rem,1.15vw,1rem);
  letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;
}
.theme-matrix .brand-foot .logo-mark{width:132px;height:40px}

/* ---- header / nav ---- */
.theme-matrix .site-header{
  background:rgba(10,18,32,.94);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(56,189,248,.35);
  box-shadow:0 0 24px rgba(56,189,248,.08);
}
.theme-matrix .nav a{color:#F1F5F9}
.theme-matrix .nav a:hover{color:#38BDF8}
.theme-matrix .nav a:not(.btn)::after{background:#38BDF8;height:2px;border-radius:0}
.theme-matrix .nav a[aria-current="page"]{color:#E2E8F0}
.theme-matrix .nav-toggle{
  background:#111C2E;color:#E2E8F0;border:2px solid #E2E8F0;
  box-shadow:0 0 10px rgba(226,232,240,.12);
}
@media (max-width:900px){
  .theme-matrix .nav,
  .theme-d.theme-matrix .nav{
    background:#0A1220;border-bottom:2px solid #38BDF8;
    box-shadow:0 16px 30px rgba(0,0,0,.55);
  }
  .theme-matrix .nav a{color:#F1F5F9;border-bottom-color:rgba(56,189,248,.22)}
}

/* ---- buttons: sky blue + navy text; secondary ice outline ---- */
.theme-matrix .btn,
.theme-matrix .hdr-cta,
.theme-matrix .btn-pulse,
.theme-pop.theme-matrix .btn,
.theme-pop.theme-matrix .hdr-cta,
.theme-pop.theme-matrix .btn-pulse,
.theme-matrix .btn-yellow,
.theme-pop.theme-matrix .btn-yellow{
  background:#38BDF8;color:#0A1220;border:2px solid #38BDF8;border-radius:8px;
  box-shadow:0 0 16px rgba(56,189,248,.28);text-decoration:none;font-weight:800;
}
.theme-matrix .btn:hover,
.theme-matrix .hdr-cta:hover,
.theme-pop.theme-matrix .btn:hover,
.theme-pop.theme-matrix .hdr-cta:hover,
.theme-matrix .btn-yellow:hover,
.theme-pop.theme-matrix .btn-yellow:hover{
  background:#7DD3FC;color:#0A1220;border-color:#7DD3FC;
  box-shadow:0 0 20px rgba(56,189,248,.4);transform:translateY(-1px);
}
.theme-matrix .btn-alt,
.theme-matrix .page-hero .btn-alt,
.theme-pop.theme-matrix .btn-alt,
.theme-pop.theme-matrix .page-hero .btn-alt{
  background:transparent;color:#E2E8F0;border:2px solid #E2E8F0;
  box-shadow:0 0 12px rgba(226,232,240,.12);
}
.theme-matrix .btn-alt:hover,
.theme-pop.theme-matrix .btn-alt:hover{
  background:rgba(226,232,240,.1);color:#F1F5F9;border-color:#F1F5F9;
}
.theme-matrix .btn-pulse::after,
.theme-pop.theme-matrix .btn-pulse::after,
.theme-pop.theme-matrix .btn-xl.btn-pulse::after{
  border-radius:10px;border-color:#E2E8F0;
}

/* ---- page heroes (inner pages keep speed-line field) ---- */
.theme-matrix .page-hero,
.theme-pop.theme-matrix .page-hero{
  background-color:#0A1220;
  background-image:
    linear-gradient(180deg,rgba(56,189,248,.05),transparent 42%),
    repeating-linear-gradient(90deg,transparent 0 27px,rgba(56,189,248,.05) 27px 28px),
    repeating-linear-gradient(0deg,transparent 0 27px,rgba(148,163,184,.04) 27px 28px);
  color:#F1F5F9;
}
.theme-matrix .page-hero::before,
.theme-pop.theme-matrix .page-hero::before{
  background-image:
    repeating-linear-gradient(90deg,transparent 0 8px,rgba(56,189,248,.1) 8px 9px,transparent 9px 28px),
    repeating-linear-gradient(90deg,transparent 0 18px,rgba(148,163,184,.08) 18px 20px,transparent 20px 52px);
}
.theme-matrix .page-hero h1,
.theme-matrix .page-hero .crumbs,
.theme-pop.theme-matrix .page-hero h1,
.theme-pop.theme-matrix .page-hero .crumbs,
.theme-pop.theme-matrix .page-hero .crumbs a{color:#F1F5F9}
.theme-matrix .page-hero .crumbs a,
.theme-pop.theme-matrix .page-hero .crumbs a{color:#38BDF8}
.theme-matrix .page-hero .lead,
.theme-pop.theme-matrix .page-hero .lead,
.theme-matrix .page-hero .lede{color:#94A3B8}
.theme-matrix .eyebrow,
.theme-matrix .page-hero .eyebrow,
.theme-pop.theme-matrix .eyebrow,
.theme-pop.theme-matrix .page-hero .eyebrow{
  color:#E2E8F0;background:rgba(56,189,248,.1);border:1px solid rgba(56,189,248,.45);
  box-shadow:0 0 12px rgba(56,189,248,.15);border-radius:999px;
}
.theme-matrix .eyebrow::before,
.theme-pop.theme-matrix .eyebrow::before{background:#38BDF8;border-color:#38BDF8}

/* ---- home photo banner ---- */
.theme-matrix .page-hero.has-hero-photo{
  position:relative;overflow:hidden;padding:4.2rem 0 3.4rem;min-height:520px;
  background:#0A1220;background-image:none;
}
.theme-matrix .page-hero.has-hero-photo::before{display:none}
.theme-matrix .page-hero.has-hero-photo::after{
  content:"";display:block;position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,#0A1220 0%,rgba(10,18,32,.97) 32%,rgba(10,18,32,.88) 44%,rgba(10,18,32,.45) 58%,rgba(10,18,32,.12) 74%,transparent 100%);
  clip-path:none;width:auto;height:auto;animation:none;
}
.theme-matrix .hero-photo{
  position:absolute;inset:0;z-index:0;pointer-events:none;
}
.theme-matrix .hero-photo img{
  width:100%;height:100%;object-fit:cover;object-position:70% 52%;display:block;
}
.theme-matrix .hero-sweep{
  position:absolute;inset:0;z-index:2;pointer-events:none;
  background:linear-gradient(105deg,transparent 30%,rgba(56,189,248,.16) 48%,rgba(226,232,240,.12) 52%,transparent 70%);
  transform:translateX(-60%);
  animation:af-hero-sweep 5.5s ease-in-out infinite;
}
@keyframes af-hero-sweep{
  0%{transform:translateX(-70%);opacity:0}
  18%{opacity:1}
  55%{transform:translateX(70%);opacity:0}
  100%{transform:translateX(70%);opacity:0}
}
.theme-matrix .page-hero.has-hero-photo h1{text-shadow:0 2px 18px rgba(10,18,32,.85)}
.theme-matrix .page-hero.has-hero-photo .lead{color:#E2E8F0;text-shadow:0 2px 14px rgba(10,18,32,.9)}
.theme-matrix .page-hero.has-hero-photo .wrap{
  position:relative;z-index:3;max-width:36rem;margin-left:auto;margin-right:auto;
}
@media (min-width:900px){
  .theme-matrix .page-hero.has-hero-photo h1{text-shadow:0 2px 18px rgba(10,18,32,.85)}
.theme-matrix .page-hero.has-hero-photo .lead{color:#E2E8F0;text-shadow:0 2px 14px rgba(10,18,32,.9)}
.theme-matrix .page-hero.has-hero-photo .wrap{
    margin-left:max(1.5rem, calc(50% - 36rem));
    margin-right:auto;
  }
}
@media (max-width:800px){
  .theme-matrix .page-hero.has-hero-photo{
    min-height:0;padding:0 0 1.6rem;display:flex;flex-direction:column;
  }
  .theme-matrix .hero-photo{
    position:relative;height:210px;flex:none;
  }
  .theme-matrix .page-hero.has-hero-photo::after{
    position:absolute;top:0;height:210px;bottom:auto;
    background:linear-gradient(180deg,transparent 35%,rgba(10,18,32,.55) 75%,#0A1220 100%);
  }
  .theme-matrix .hero-sweep{height:210px;bottom:auto}
  .theme-matrix .page-hero.has-hero-photo h1{text-shadow:0 2px 18px rgba(10,18,32,.85)}
.theme-matrix .page-hero.has-hero-photo .lead{color:#E2E8F0;text-shadow:0 2px 14px rgba(10,18,32,.9)}
.theme-matrix .page-hero.has-hero-photo .wrap{
    max-width:none;padding-top:1.1rem;margin:0 auto;
  }
}

/* ---- protections strip ---- */
.theme-matrix .pop-strip{
  background:#111C2E;color:#F1F5F9;
  border-top:2px solid #38BDF8;border-bottom:2px solid #94A3B8;
  box-shadow:inset 0 0 30px rgba(56,189,248,.08);
}
.theme-matrix .pop-strip .dot{background:#38BDF8;border-color:#E2E8F0}
.pop-strip .protect-h{color:#E2E8F0}
.pop-strip .protect-list li{
  border:1px solid rgba(56,189,248,.35);
  background:rgba(56,189,248,.06);
}
.pop-strip .protect-note{color:#94A3B8}

/* ---- typography / sections ---- */
.theme-matrix h1,.theme-matrix h2,.theme-matrix h3{color:#F1F5F9}
.theme-matrix .prose h2::before,
.theme-pop.theme-matrix .prose h2::before{background:linear-gradient(#38BDF8,#94A3B8)}
.theme-matrix .prose h3,.theme-pop.theme-matrix .prose h3{color:#38BDF8}
.theme-matrix .prose a,.theme-pop.theme-matrix .prose a{color:#38BDF8;text-decoration-color:#94A3B8}
.theme-matrix .prose ul li::marker,.theme-pop.theme-matrix .prose ul li::marker{color:#38BDF8}
.theme-d.theme-matrix .prose ul.plain li::before,
.theme-d.theme-matrix .feature ul li::before{background:#38BDF8}

.theme-matrix .side-cta,
.theme-pop.theme-matrix .side-cta,
.theme-d.theme-matrix .side-cta{
  background:#111C2E;
  background-image:repeating-linear-gradient(90deg,transparent 0 16px,rgba(56,189,248,.05) 16px 17px);
  color:#F1F5F9;border:2px solid #38BDF8;
  box-shadow:0 0 24px rgba(56,189,248,.16);
}
.theme-matrix .side-cta h2,.theme-matrix .side-cta p,
.theme-pop.theme-matrix .side-cta h2,.theme-pop.theme-matrix .side-cta p,
.theme-d.theme-matrix .side-cta h2,.theme-d.theme-matrix .side-cta p{color:#F1F5F9}
.theme-matrix .side-cta .fine,.theme-matrix .side-cta .fine a,
.theme-pop.theme-matrix .side-cta .fine,.theme-pop.theme-matrix .side-cta .fine a{color:#94A3B8}

.theme-matrix .callout,
.theme-pop.theme-matrix .callout,
.theme-d.theme-matrix .callout{
  background:#111C2E;
  background-image:repeating-linear-gradient(135deg,rgba(56,189,248,.08) 0 14px,transparent 14px 28px);
  color:#F1F5F9;border:2px solid #38BDF8;
  box-shadow:0 0 28px rgba(56,189,248,.14);
}
.theme-matrix .callout h2,.theme-matrix .callout p,
.theme-pop.theme-matrix .callout h2,.theme-pop.theme-matrix .callout p,
.theme-d.theme-matrix .callout h2,.theme-d.theme-matrix .callout p{color:#F1F5F9}

/* ---- footer ---- */
.theme-matrix .site-footer,
.theme-pop.theme-matrix .site-footer{
  background:#070D18;color:#F1F5F9;
  border-top:2px solid #38BDF8;box-shadow:inset 0 8px 0 rgba(148,163,184,.15);
}
.theme-matrix .site-footer h2,
.theme-pop.theme-matrix .site-footer h2{color:#38BDF8}
.theme-matrix .site-footer a,
.theme-pop.theme-matrix .site-footer a{color:#38BDF8;text-decoration-color:#38BDF8}
.theme-matrix .site-footer a:hover,
.theme-pop.theme-matrix .site-footer a:hover{color:#E2E8F0}
.theme-matrix .site-footer .legal,
.theme-pop.theme-matrix .site-footer .legal{border-top-color:rgba(56,189,248,.25);color:#94A3B8}

/* ---- cards / tools / contact ---- */
.sec-fleet,.sec-tools,.sec-aiguide{border-top:1px solid rgba(56,189,248,.16)}
.sec-fleet{background:linear-gradient(180deg,rgba(56,189,248,.04),transparent 40%)}
.sec-fleet .section-kicker,
.sec-tools .section-kicker,
.sec-aiguide .section-kicker,
.sec-contact .section-kicker{color:#38BDF8}
.sec-fleet .lede,.sec-tools .lede,.sec-aiguide .lede,
.sec-fleet .note{color:#94A3B8}
.fleet-card,
.theme-matrix .steps-visual li,
.theme-matrix .type-grid li,
.theme-matrix .line-cards li,
.theme-pop.theme-matrix .steps-visual li,
.theme-pop.theme-matrix .type-grid li,
.theme-pop.theme-matrix .line-cards li{
  background:#111C2E;border:1px solid rgba(56,189,248,.32);
  box-shadow:0 0 0 1px rgba(226,232,240,.04),0 0 18px rgba(56,189,248,.08);
  color:#F1F5F9;
}
.fleet-card h3,.fleet-card .svc-h{color:#38BDF8}
.fleet-card p{color:#F1F5F9}
.fleet-card .ico{color:#38BDF8;filter:drop-shadow(0 0 6px rgba(56,189,248,.35))}
.tool-card{
  background:#111C2E;border:1px solid rgba(56,189,248,.4);
  box-shadow:0 0 24px rgba(56,189,248,.12);
}
.tool-card h3{color:#38BDF8}
.tool-card p{color:#94A3B8}
.ai-guide-box{
  background:#111C2E;border:1px solid rgba(148,163,184,.4);
  box-shadow:0 0 24px rgba(56,189,248,.1);
}
.ai-guide-box p{color:#F1F5F9}
.ai-guide-box strong{color:#38BDF8}

.sec-contact{border-top:1px solid rgba(56,189,248,.25)}
.contact-card{
  border:1px solid rgba(56,189,248,.45);
  background:rgba(56,189,248,.06);
  color:#F1F5F9;
}
.contact-card:hover{border-color:#E2E8F0;background:rgba(56,189,248,.12)}
.cc-label{color:#94A3B8}
.cc-value{color:#38BDF8}
.cc-sub{color:#94A3B8}

@media (max-width:1100px){
  .theme-matrix .logo-mark{width:124px;height:38px}
}
@media (max-width:520px){
  .theme-matrix .logo-mark{width:128px;height:39px}
  .theme-matrix .wm-super,.theme-matrix .wm-cov{font-size:.62rem;letter-spacing:.08em}
}

@media (prefers-reduced-motion:reduce){
  .theme-matrix .hero-sweep,
  .theme-matrix .logo-mark .af-streaks path,
  .theme-matrix .logo-mark .af-lamp,
  .theme-matrix .logo-mark .af-lamp-glow,
  .theme-matrix .logo-mark .af-tail-glow,
  .theme-matrix .logo-mark .af-sweep,
  .theme-matrix .page-hero::before{animation:none}
  .theme-matrix .hero-sweep,.theme-matrix .logo-mark .af-sweep{opacity:0;transform:none}
}
.theme-matrix .logo-mark .af-streaks path{animation:af-streak 1.1s linear infinite}
.theme-matrix .logo-mark .af-streaks path:nth-child(odd){animation-duration:1.4s}
.theme-matrix .logo-mark .af-lamp,
.theme-matrix .logo-mark .af-lamp-glow{animation:af-lamp 2.2s ease-in-out infinite}
.theme-matrix .logo-mark .af-tail,
.theme-matrix .logo-mark .af-tail-glow{animation:af-tail 2.6s ease-in-out infinite}
.theme-matrix .logo-mark .af-sweep{animation:af-sweep 3s ease-in-out infinite}
@keyframes af-tail{0%,100%{opacity:.7}50%{opacity:1}}


/* ---- fleet list upload (home) ---- */
.btn-row .upload-jump{
  align-self:center;margin-left:.15rem;color:#E2E8F0;font-size:.92rem;font-weight:600;
  text-decoration:underline;text-underline-offset:3px;white-space:nowrap;
}
.btn-row .upload-jump:hover{color:#38BDF8}
.sec-upload{
  background:#0A1220;padding:1.1rem 0 1.6rem;position:relative;z-index:1;
}
.sec-upload .wrap{max-width:1120px}
.upload-zone{max-width:760px;margin:0 auto}
.upload-drop{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.55rem;
  width:100%;margin:0;padding:1.6rem 1.4rem 1.5rem;
  background:#111C2E;color:#F1F5F9;text-align:center;cursor:pointer;
  border:2px dashed #38BDF8;border-radius:16px;
  box-shadow:0 0 0 rgba(56,189,248,0);
  transition:box-shadow .2s ease, border-color .2s ease, background .2s ease;
  font:inherit;
}
.upload-drop:hover,
.upload-drop.is-dragover,
.upload-drop:focus-visible{
  border-color:#E2E8F0;
  background:#162338;
  box-shadow:0 0 28px rgba(56,189,248,.4), inset 0 0 20px rgba(56,189,248,.08);
}
.upload-icon{width:42px;height:42px;display:block;color:#38BDF8}
.upload-label{display:block;font-weight:800;font-size:1.15rem;color:#F1F5F9;letter-spacing:.01em}
.upload-help{display:block;max-width:36rem;margin:0 auto;color:#94A3B8;font-size:.95rem;line-height:1.45}
.upload-browse{display:block;color:#38BDF8;font-weight:700;font-size:.9rem}
.upload-error{margin:.7rem 0 0;color:#FCA5A5;font-size:.92rem;font-weight:600}
.upload-privacy{margin:.65rem 0 0;color:#94A3B8;font-size:.82rem}
.upload-selected{margin-top:.2rem}
.upload-chip{
  display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;
  background:#111C2E;border:1px solid rgba(56,189,248,.45);
  border-radius:12px;padding:.7rem 1rem;margin:0 0 1rem;color:#F1F5F9;
}
.upload-chip .chip-name{font-weight:700;color:#E2E8F0;word-break:break-all}
.upload-chip .chip-size{color:#94A3B8;font-size:.9rem}
.chip-remove{
  margin-left:auto;background:transparent;border:1px solid #94A3B8;color:#E2E8F0;
  width:32px;height:32px;border-radius:8px;cursor:pointer;font-size:1.15rem;line-height:1;
}
.chip-remove:hover{border-color:#38BDF8;color:#38BDF8}
.upload-form{display:grid;grid-template-columns:1fr 1fr;gap:.8rem 1rem}
.upload-form .field{display:flex;flex-direction:column;gap:.3rem}
.upload-form label{color:#E2E8F0;font-weight:600;font-size:.88rem}
.upload-form input{
  background:#0A1220;border:1px solid rgba(148,163,184,.45);color:#F1F5F9;
  border-radius:10px;padding:.7rem .8rem;font:inherit;
}
.upload-form input:focus{border-color:#38BDF8;outline:none;box-shadow:0 0 0 3px rgba(56,189,248,.25)}
.upload-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:.7rem .9rem;margin-top:.3rem}
.upload-actions .btn-email{
  background:#38BDF8;color:#0A1220;border:none;border-radius:12px;
  padding:.75rem 1.15rem;font-weight:800;cursor:pointer;font:inherit;
  text-decoration:none;display:inline-block;
}
.upload-actions .btn-email:hover{background:#7DD3FC;color:#0A1220}
.upload-actions .btn-quote{
  background:transparent;color:#E2E8F0;border:2px solid #E2E8F0;border-radius:12px;
  padding:.7rem 1.1rem;font-weight:800;text-decoration:none;display:inline-block;
}
.upload-actions .btn-quote:hover{border-color:#38BDF8;color:#38BDF8}
.upload-note{grid-column:1/-1;margin:0;color:#94A3B8;font-size:.85rem}
@media (max-width:640px){
  .upload-form{grid-template-columns:1fr}
  .btn-row .upload-jump{display:block;margin:.35rem 0 0;white-space:normal}
}

/* keep convoy lockup ahead of older matrix mobile sizes */
@media (max-width:520px){
  .theme-d.theme-pop.theme-matrix .site-header .wrap,
  .theme-matrix .site-header .wrap{flex-wrap:nowrap;gap:.35rem}
  .theme-matrix .brand{flex:1 1 auto;min-width:0;gap:.35rem}
  .theme-d.theme-pop.theme-matrix .logo-mark,
  .theme-matrix .logo-mark{width:128px;height:39px}
  .theme-matrix .wordmark{flex:0 1 auto;min-width:0}
  .theme-d.theme-pop.theme-matrix .hdr-cta,
  .theme-matrix .hdr-cta{flex:none;font-size:.78rem;padding:.42rem .7rem;white-space:nowrap}
  .theme-d.theme-pop.theme-matrix .nav-toggle,
  .theme-matrix .nav-toggle{flex:none}
}

.upload-drop[hidden],
.upload-selected[hidden],
.upload-error[hidden],
.upload-privacy[hidden]{display:none!important}
