* {
  box-sizing: border-box;
}

:root {
  --navy: #101d2b;
  --navy2: #172a3d;
  --mint: #35c7a0;
  --ink: #152334;
  --muted: #617184;
  --pale: #f3f7f8;
  --line: #e0e8ec;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(16,29,43,.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}

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

.container {
  width: min(1140px, calc(100% - 40px));
  margin: auto;
}

/* TOP BAR */

.topbar {
  background: var(--navy);
  color: #d8e4ec;
  font-size: .82rem;
}

.topbar-inner {
  min-height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.topbar strong {
  color: var(--mint);
}

/* HEADER AND BRAND */

header {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  white-space: nowrap;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--navy);
  font-size: 1.25rem;
}

/* Corrected FleetTech brand heading and tagline */

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.brand-text strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.brand-text small {
  display: block;
  margin-top: 5px;
  font-size: .57rem;
  font-weight: 750;
  letter-spacing: .075em;
  line-height: 1.2;
  color: var(--muted);
}

/* NAVIGATION */

.nav-links {
  display: flex;
  align-items: center;
  gap: 23px;
  color: #4b5c6c;
  font-size: .91rem;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a[aria-current=page] {
  color: #008b6b;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  background: white;
  font-size: 1rem;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: .94rem;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--mint);
  color: #10212b;
  box-shadow: 0 8px 22px rgba(53,199,160,.2);
}

.btn-primary:hover {
  background: #4bd4b0;
}

.btn-dark {
  background: var(--navy);
  color: white;
}

.btn-ghost {
  border-color: #728497;
  color: inherit;
  background: transparent;
}

/* HERO */

.hero {
  background:
    radial-gradient(ellipse at 80% 15%, #24445a 0, transparent 38%),
    linear-gradient(135deg, #101d2b, #132638 70%, #173247);
  color: #fff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 48px;
  align-items: center;
  padding: 78px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--mint);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .76rem;
  font-weight: 800;
}

.eyebrow:before {
  content: "";
  width: 23px;
  height: 2px;
  background: var(--mint);
}

h1 {
  font-size: clamp(2.7rem, 5.3vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -.055em;
  margin: 20px 0;
  max-width: 700px;
}

h1 span {
  color: var(--mint);
}

.hero-copy {
  color: #c4d1dc;
  font-size: 1.08rem;
  max-width: 570px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 27px;
  color: #d3e0e7;
  font-size: .84rem;
}

.trust-row span:before {
  content: '✓';
  color: var(--mint);
  font-weight: 900;
  margin-right: 7px;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 22px;
  border: 1px solid #ffffff33;
  box-shadow: 0 28px 70px #0005;
}

.hero-visual img.approved-truck-image {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #101d2b;
  border: 1px solid #ffffff33;
  box-shadow: 0 28px 70px #0005;
}

.photo-note {
  font-size: .74rem;
  color: #b6c8d6;
  text-align: right;
  margin-top: 8px;
}

/* GENERAL SECTIONS */

.section {
  padding: 78px 0;
}

.section-soft {
  background: var(--pale);
}

.section-heading {
  max-width: 730px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading .eyebrow {
  color: #008b6b;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.13;
  letter-spacing: -.045em;
  margin: 14px 0;
}

h3 {
  line-height: 1.25;
  letter-spacing: -.025em;
}

.section-heading p,
.muted {
  color: var(--muted);
}

/* FEATURES */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.feature {
  padding: 24px 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: #008b6b;
  background: #e3faf3;
  font-size: 1.35rem;
}

.feature h3 {
  margin: 16px 0 8px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

/* TWO COLUMN CONTENT */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

.two-col img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
  border-radius: 20px;
}

.check-list {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li:before {
  content: '✓';
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: #e3faf3;
  color: #008b6b;
  border-radius: 50%;
  font-weight: 900;
  margin-right: 10px;
}

/* DASHBOARD PREVIEW */

.mock-dashboard {
  background: #fff;
  border: 1px solid #dce6ea;
  border-radius: 17px;
  box-shadow: var(--shadow);
  overflow: hidden;
  color: var(--ink);
}

.mock-top {
  background: var(--navy);
  color: white;
  padding: 16px 19px;
  display: flex;
  justify-content: space-between;
}

.mock-body {
  display: grid;
  grid-template-columns: 135px 1fr;
  min-height: 240px;
}

.mock-side {
  background: #f1f5f7;
  padding: 17px 12px;
  color: #617184;
  font-size: .78rem;
}

.mock-side div {
  padding: 8px 6px;
}

.mock-main {
  padding: 18px;
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.mock-card {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .75rem;
}

.mock-card b {
  display: block;
  font-size: 1.3rem;
}

.mock-label {
  font-size: .72rem;
  color: var(--muted);
}

/* CTA */

.cta {
  background: var(--mint);
  padding: 48px 0;
}

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

.cta h2 {
  margin: 0 0 7px;
  color: #10212b;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.cta p {
  margin: 0;
  color: #21483f;
}

/* OTHER PAGE HEADERS */

.page-hero {
  background: linear-gradient(135deg, #101d2b, #173247);
  color: white;
  padding: 65px 0;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 4.8vw, 3.7rem);
  max-width: 850px;
}

.page-hero p {
  color: #c4d1dc;
  font-size: 1.08rem;
  max-width: 760px;
}

.breadcrumbs {
  font-size: .83rem;
  color: #b7c8d4;
  margin-bottom: 18px;
}

.content-narrow {
  max-width: 820px;
  margin: auto;
}

.content-narrow p {
  color: #526477;
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.panel {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1/-1;
}

label {
  font-size: .88rem;
  font-weight: 700;
}

input,
select,
textarea {
  font: inherit;
  width: 100%;
  border: 1px solid #ccd8de;
  border-radius: 9px;
  padding: 12px 13px;
  background: white;
  color: var(--ink);
}

textarea {
  min-height: 135px;
  resize: vertical;
}

.form-note {
  font-size: .82rem;
  color: var(--muted);
}

/* FAQ */

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}

.faq-item summary {
  font-weight: 750;
  cursor: pointer;
}

.faq-item p {
  color: var(--muted);
  margin-bottom: 0;
}

/* FOOTER */

.site-footer {
  background: #0b1621;
  color: #d2dce4;
  padding: 42px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 850;
  color: white;
}

.site-footer p,
.site-footer small {
  color: #9aabba;
  font-size: .86rem;
}

.site-footer h3 {
  color: white;
  font-size: .95rem;
}

.footer-links {
  display: grid;
  gap: 9px;
  font-size: .88rem;
}

.footer-links a:hover {
  color: var(--mint);
}

.footer-bottom {
  border-top: 1px solid #ffffff1c;
  margin-top: 30px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: .8rem;
  color: #9aabba;
}

/* NOTICES */

.notice {
  padding: 13px 15px;
  border-radius: 10px;
  background: #e3faf3;
  color: #075b48;
  font-size: .9rem;
}

.hidden {
  display: none !important;
}

/* ABOUT PAGE */

.about-hero {
  background:
    linear-gradient(
      90deg,
      rgba(13,29,44,.98) 0%,
      rgba(13,29,44,.91) 40%,
      rgba(13,29,44,.1) 100%
    ),
    url("fleettech-approved-truck-hero.jpg") center 55%/cover no-repeat;
  color: #fff;
}

.about-hero-inner {
  padding: 72px 0;
  max-width: 650px;
}

.about-hero h1 {
  font-size: clamp(2.5rem, 4.6vw, 3.5rem);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.story-item {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}

.story-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d9f7ef;
  color: #008b6b;
  font-size: 1.25rem;
}

/* SCREENSHOTS */

.screenshot-showcase {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid #dbe4e8;
  box-shadow: 0 18px 55px rgba(16,29,43,.15);
}

.screenshot-frame {
  padding: 10px;
  background: #102033;
  border-radius: 16px;
}

/* RESPONSIVE TABLET */

@media (max-width: 900px) {

  .nav-links {
    gap: 13px;
    font-size: .84rem;
  }

  .nav > .btn {
    padding: 10px 12px;
  }

  .hero-grid {
    gap: 28px;
  }

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

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

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

  .story-intro {
    grid-column: 1/-1;
  }
}

/* RESPONSIVE MOBILE */

@media (max-width: 720px) {

  .topbar-inner {
    justify-content: center;
  }

  .topbar-inner span:last-child {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    min-height: 68px;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .nav-links {
    display: none;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 12px 0 16px;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 11px 4px;
    border-top: 1px solid var(--line);
  }

  .nav > .btn {
    margin-left: auto;
  }

  .brand-text strong {
    font-size: 1.2rem;
  }

  .brand-text small {
    font-size: .49rem;
    letter-spacing: .055em;
  }

  .hero-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 55px 0;
    gap: 30px;
  }

  .hero-visual {
    max-width: 560px;
  }

  .section {
    padding: 58px 0;
  }

  .features {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mock-body {
    grid-template-columns: 100px 1fr;
  }

  .mock-cards {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .page-hero {
    padding: 48px 0;
  }
}

/* SMALL MOBILE */

@media (max-width: 600px) {

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-item {
    padding: 0 0 0 16px;
  }

  .about-hero-inner {
    padding: 55px 0;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *:before,
  *:after {
    transition: none !important;
  }
}