:root {
  --ink: #171a1d;
  --ink-soft: #252a2e;
  --paper: #f6f7f5;
  --white: #ffffff;
  --line: #d9ddd9;
  --orange: #f47b20;
  --orange-dark: #c9570c;
  --forest: #1e5a45;
  --yellow: #f3c742;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - var(--content)) / 2));
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: background-color 180ms ease, border-color 180ms ease;
}
.site-header.is-solid {
  background: rgba(23, 26, 29, 0.97);
  border-color: transparent;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
}
.brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 6px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: inherit; text-decoration: none; font-size: 14px; font-weight: 700; }
.site-nav a:hover { color: var(--yellow); }
.site-nav .nav-contact { padding: 10px 14px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 4px; }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: min(780px, 88svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 54%; }
.hero-shade { background: rgba(13, 16, 18, 0.6); }
.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 160px 0 104px;
}
.eyebrow { margin: 0 0 14px; color: var(--yellow); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.eyebrow-dark { color: var(--forest); }
h1, h2, h3, p { letter-spacing: 0; }
h1 { margin: 0; font-size: 112px; line-height: 0.87; text-transform: uppercase; }
.hero-lead { max-width: 650px; margin: 28px 0 0; font-size: 28px; line-height: 1.24; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, background-color 150ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: var(--white); }
.button-primary:hover { background: var(--orange-dark); }
.button-ghost { border: 1px solid rgba(255, 255, 255, 0.7); color: var(--white); }
.hero-next { position: absolute; z-index: 2; right: max(24px, calc((100vw - var(--content)) / 2)); bottom: 26px; color: var(--white); font-size: 13px; font-weight: 700; text-decoration: none; }

.section { padding: 94px 24px 110px; }
.section-heading { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.section-heading h2, .fleet h2, .camera h2, .contact h2 { margin: 0; font-size: 56px; line-height: 1.02; }
.section-heading > p:last-child { max-width: 620px; margin: 22px auto 0; color: #555d59; font-size: 18px; }
.service-grid { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 245px; padding: 26px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card-wide { grid-column: span 2; background: var(--forest); color: var(--white); }
.service-number { color: var(--orange); font-size: 12px; font-weight: 900; }
.service-card h3 { margin: 54px 0 12px; font-size: 24px; line-height: 1.1; }
.service-card p { margin: 0; color: #5c645f; }
.service-card-wide p { max-width: 540px; color: rgba(255, 255, 255, 0.76); }

.fleet { padding: 105px 24px; color: var(--white); background: var(--ink); }
.fleet-inner { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 90px; }
.fleet-copy p:last-child { max-width: 510px; margin: 24px 0 0; color: #b8bfbb; }
.fleet-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #42484c; }
.fleet-list li { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 22px 0; border-bottom: 1px solid #42484c; }
.fleet-list strong { font-size: 19px; }
.fleet-list span { color: #aeb5b1; }

.camera { padding: 110px 24px; background: var(--white); }
.camera-inner { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: 360px 1fr; gap: 90px; align-items: center; }
.camera-branding { min-height: 430px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; background: var(--ink-soft); border-radius: 6px; }
.camera-branding img { width: 210px; height: 210px; border-radius: 26px; object-fit: cover; }
.camera-version { color: #bbc2be; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.camera-lead { max-width: 680px; margin: 24px 0 0; color: #4e5651; font-size: 20px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 32px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature-list li { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.feature-list li::before { content: "✓"; margin-right: 8px; color: var(--forest); }
.download-row { display: flex; align-items: center; gap: 18px; }
.button-download { background: var(--orange); color: var(--white); }
.download-row span { color: #69706c; font-size: 13px; }
.checksum { margin-top: 24px; color: #69706c; font-size: 12px; }
.checksum summary { cursor: pointer; font-weight: 700; }
.checksum code { display: block; margin-top: 10px; overflow-wrap: anywhere; color: var(--ink); }

.contact { max-width: var(--content); margin: 0 auto; padding: 90px 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.contact h2 { max-width: 770px; }
.contact-link { flex: 0 0 auto; color: var(--orange-dark); font-size: 18px; font-weight: 800; text-decoration: none; border-bottom: 2px solid currentColor; }
.site-footer { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - var(--content)) / 2)); color: #aeb5b1; background: var(--ink); font-size: 13px; }

@media (max-width: 900px) {
  .site-header { padding: 0 18px; }
  .menu-button { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; padding: 0; border: 0; color: var(--white); background: transparent; }
  .menu-button span { width: 24px; height: 2px; display: block; background: currentColor; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 12px 18px 22px; background: var(--ink); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid #3b4145; }
  .site-nav .nav-contact { margin-top: 12px; padding: 12px; text-align: center; border: 1px solid #666e72; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 76px; }
  .section-heading h2, .fleet h2, .camera h2, .contact h2 { font-size: 44px; }
  .fleet-inner, .camera-inner { grid-template-columns: 1fr; gap: 52px; }
  .camera-branding { min-height: 330px; }
  .contact { padding: 80px 24px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .hero { min-height: 82svh; }
  .hero-image { object-position: 45% center; }
  .hero-shade { background: rgba(13, 16, 18, 0.64); }
  .hero-content { width: calc(100% - 36px); padding: 132px 0 88px; }
  h1 { font-size: 52px; }
  .hero-lead { font-size: 19px; }
  .hero-next { right: 18px; bottom: 18px; }
  .section { padding: 76px 18px 84px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card-wide { grid-column: auto; }
  .service-card { min-height: 210px; padding: 22px; }
  .service-card h3 { margin-top: 42px; font-size: 22px; }
  .fleet, .camera { padding: 80px 18px; }
  .fleet-list li { grid-template-columns: 1fr; gap: 6px; }
  .camera-branding { min-height: 290px; }
  .camera-branding img { width: 170px; height: 170px; }
  .feature-list { grid-template-columns: 1fr; }
  .download-row { align-items: flex-start; flex-direction: column; }
  .button-download { width: 100%; }
  .contact { padding: 72px 18px; }
  .section-heading h2, .fleet h2, .camera h2, .contact h2 { font-size: 34px; }
  .contact-link { max-width: 100%; font-size: 16px; overflow-wrap: anywhere; }
  .site-footer { padding: 20px 18px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
