:root {
  color-scheme: light;
  --ink: #13211f;
  --muted: #5a6965;
  --line: #d7dfdc;
  --paper: #f7faf7;
  --white: #ffffff;
  --green: #1f8f61;
  --green-dark: #0b5d3e;
  --lime: #c7f35c;
  --gold: #f0b33f;
  --steel: #304345;
  --charcoal: #101817;
  --shadow: 0 24px 70px rgba(19, 33, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px 40px;
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(19, 33, 31, 0.09);
  backdrop-filter: blur(18px);
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  width: 34px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 6px;
  padding: 3px;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 6px;
  width: 4px;
  height: 8px;
  border-radius: 0 3px 3px 0;
  background: currentColor;
}

.brand-mark span {
  display: block;
  width: 72%;
  border-radius: 3px;
  background: var(--lime);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: center;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-mobile-battery-rental.png");
  background-size: cover;
  background-position: 62% center;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 18, 17, 0.88) 0%, rgba(9, 18, 17, 0.63) 36%, rgba(9, 18, 17, 0.2) 66%, rgba(9, 18, 17, 0.06) 100%),
    linear-gradient(0deg, rgba(9, 18, 17, 0.64) 0%, rgba(9, 18, 17, 0) 28%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
  padding-top: 84px;
}

.eyebrow,
.section-kicker,
.card-tag,
.estimate-label {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: var(--lime);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: 4.5rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-size: 2.55rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 1.16rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
}

.hero-actions,
.button {
  display: flex;
  align-items: center;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  justify-content: center;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 900;
}

.button-primary {
  background: var(--lime);
  color: var(--charcoal);
}

.button-primary:hover {
  background: #d8ff76;
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 170px));
  gap: 12px;
  margin: 42px 0 0;
}

.hero-stats div {
  border-left: 3px solid var(--lime);
  padding-left: 14px;
}

.hero-stats dt {
  font-size: 1.02rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.band {
  background: var(--white);
}

.section,
.band {
  padding: 96px 0;
}

.section-inner {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
}

.proof {
  padding: 46px 0;
  box-shadow: 0 1px 0 rgba(19, 33, 31, 0.08), 0 -1px 0 rgba(19, 33, 31, 0.06);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: end;
}

.proof h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.proof p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading p:not(.section-kicker),
.planner-copy p,
.quote-copy p,
.operations p {
  color: var(--muted);
}

.fleet-grid,
.use-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.fleet-card,
.use-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.fleet-card {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-shadow: 0 12px 34px rgba(19, 33, 31, 0.06);
}

.fleet-card p {
  color: var(--muted);
}

.fleet-card ul {
  display: grid;
  gap: 9px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.fleet-card li {
  position: relative;
  padding-left: 22px;
  color: var(--steel);
  font-weight: 700;
}

.fleet-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--green);
}

.featured-card {
  border-color: rgba(31, 143, 97, 0.48);
  box-shadow: var(--shadow);
}

.planner {
  background: #eaf2ed;
}

.load-plan-section {
  background:
    linear-gradient(90deg, rgba(16, 24, 23, 0.95), rgba(48, 67, 69, 0.9)),
    var(--charcoal);
  color: var(--white);
}

.load-plan-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.88fr);
  gap: 56px;
  align-items: center;
}

.load-plan-copy p:not(.section-kicker) {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.load-plan-section .section-kicker {
  color: var(--lime);
}

.load-plan-card {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.load-plan-card article {
  min-width: 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.load-plan-card span,
.load-plan-card strong,
.load-plan-card p {
  display: block;
}

.load-plan-card span {
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.load-plan-card strong {
  margin-top: 12px;
  font-size: 1.2rem;
}

.load-plan-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.dispatch-hold-section {
  background: var(--white);
}

.hold-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.hold-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.06rem;
}

.hold-card {
  border: 1px solid rgba(19, 33, 31, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(240, 179, 63, 0.16), rgba(31, 143, 97, 0.1)),
    #fbfcf8;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow);
}

.hold-card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.hold-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.hold-card li {
  padding-left: 14px;
  border-left: 3px solid var(--green);
  color: var(--steel);
  font-weight: 800;
}

.hold-card p {
  margin: 0;
  color: var(--muted);
}

.planner-layout,
.quote-layout,
.ops-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.planner-panel,
.quote-form {
  border: 1px solid rgba(19, 33, 31, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.planner-panel {
  display: grid;
  gap: 24px;
  padding: 28px;
}

.range-group label,
.quote-form label,
.toggle-field legend {
  display: block;
  margin-bottom: 10px;
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 900;
}

.range-line {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 18px;
  align-items: center;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}

output {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #edf5f0;
  color: var(--green-dark);
  font-weight: 900;
}

.stepper {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  width: min(100%, 260px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.stepper button,
.stepper input {
  min-height: 48px;
  border: 0;
  background: var(--white);
  text-align: center;
}

.stepper button {
  cursor: pointer;
  color: var(--green-dark);
  font-size: 1.25rem;
  font-weight: 900;
}

.stepper button:hover {
  background: #edf5f0;
}

.toggle-field {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.toggle-field legend {
  grid-column: 1 / -1;
}

.toggle-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  color: var(--steel);
  font-weight: 800;
}

.toggle-field input {
  accent-color: var(--green);
}

.estimate {
  min-height: 150px;
  border-radius: 8px;
  background: var(--charcoal);
  color: var(--white);
  padding: 24px;
}

.estimate strong {
  display: block;
  margin-bottom: 10px;
  font-size: 2rem;
  line-height: 1.08;
}

.estimate p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.use-grid {
  grid-template-columns: repeat(3, 1fr);
}

.use-grid article {
  min-height: 210px;
  padding: 24px;
}

.use-grid p {
  color: var(--muted);
}

.operations {
  background: var(--charcoal);
  color: var(--white);
}

.operations .section-kicker {
  color: var(--lime);
}

.operations p {
  color: rgba(255, 255, 255, 0.73);
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process-list li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.process-list span {
  color: var(--lime);
  font-weight: 900;
}

.process-list h3,
.process-list p {
  margin-bottom: 4px;
}

.quote {
  background: #f6f4ec;
}

.contact-strip {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--steel);
  font-weight: 800;
}

.contact-strip span {
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  color: var(--ink);
  padding: 13px 14px;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 3px solid rgba(31, 143, 97, 0.18);
  border-color: var(--green);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green-dark);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px 22px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 30px 0;
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .planner-layout,
  .load-plan-layout,
  .hold-layout,
  .quote-layout,
  .ops-layout,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .use-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 12px;
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 90svh;
    align-items: flex-end;
  }

  .hero-media {
    background-position: 70% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(9, 18, 17, 0.92) 0%, rgba(9, 18, 17, 0.82) 45%, rgba(9, 18, 17, 0.25) 100%),
      linear-gradient(90deg, rgba(9, 18, 17, 0.45), rgba(9, 18, 17, 0.12));
  }

  .hero-content,
  .section-inner {
    width: min(100% - 36px, 1180px);
  }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: 2.72rem;
    line-height: 1;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .section,
  .band {
    padding: 68px 0;
  }

  .proof {
    padding: 34px 0;
  }

  .fleet-grid,
  .use-grid,
  .form-grid,
  .toggle-field {
    grid-template-columns: 1fr;
  }

  .fleet-card,
  .use-grid article {
    min-height: auto;
  }

  .planner-panel,
  .quote-form {
    padding: 20px;
  }

  .range-line {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  output {
    justify-content: flex-start;
    padding: 0 12px;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

.site-check-section {
  background:
    linear-gradient(135deg, rgba(31, 143, 97, 0.08), rgba(240, 179, 63, 0.14)),
    var(--white);
}

.site-check-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.site-check-copy p {
  color: var(--muted);
}

.site-check-tool {
  display: grid;
  grid-template-columns: minmax(210px, 0.56fr) minmax(0, 1fr);
  gap: 12px;
}

.site-check-options,
.site-check-output {
  display: grid;
  gap: 10px;
}

.site-check-choice {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 11px 12px;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.site-check-choice:hover,
.site-check-choice:focus-visible,
.site-check-choice.is-active {
  border-color: var(--green);
  background: var(--green-dark);
  color: var(--white);
  outline: none;
}

.site-check-output {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(18px, 3vw, 26px);
  box-shadow: var(--shadow);
}

.site-check-output span {
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-check-output h3,
.site-check-output p {
  margin: 0;
}

.site-check-output p,
.site-check-output li {
  color: var(--muted);
}

.site-check-output ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-check-output li {
  padding-left: 14px;
  border-left: 2px solid var(--gold);
}

@media (max-width: 880px) {
  .site-check-layout,
  .site-check-tool {
    grid-template-columns: 1fr;
  }
}

/* === Phase 2+ upgrade: sticky mobile CTA (self-contained, namespaced) === */
.mcta{position:fixed;left:0;right:0;bottom:0;z-index:9000;display:none;gap:10px;
  padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));
  background:rgba(13,16,22,.93);border-top:1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  transform:translateY(120%);transition:transform 220ms ease;font-family:inherit}
.mcta.visible{transform:translateY(0)}
.mcta a{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:50px;border-radius:10px;font-weight:700;font-size:.95rem;text-decoration:none;line-height:1}
.mcta .mcta-call{flex:0 0 112px;color:#fff;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.26)}
.mcta .mcta-go{flex:1;color:#0c0f14;background:#fff;border:1px solid #fff}
.mcta svg{flex:none}
@media(max-width:768px){.mcta{display:flex}}
@media(prefers-reduced-motion:reduce){.mcta{transition:none}}
