:root {
  --ink: #0b1730;
  --ink-soft: #42506a;
  --paper: #ffffff;
  --surface: #f5f8fc;
  --surface-strong: #edf3fb;
  --line: #dce5f0;
  --accent: #1769ff;
  --accent-dark: #0b43b8;
  --accent-soft: #e9f1ff;
  --radius: 24px;
  --shadow: 0 22px 70px rgba(8, 25, 55, 0.12);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

body.page-home {
  --accent: #0f8c83;
  --accent-dark: #08645e;
  --accent-soft: #e4f6f3;
}

body.page-operator {
  --accent: #1769ff;
  --accent-dark: #0b43b8;
  --accent-soft: #e9f1ff;
}

body.page-handling {
  --accent: #7c3aed;
  --accent-dark: #5520b7;
  --accent-soft: #f1eafe;
}

body.page-fuel {
  --accent: #c66a06;
  --accent-dark: #8d4600;
  --accent-soft: #fff1dc;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(220, 229, 240, 0.85);
  backdrop-filter: blur(18px);
}

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

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 216px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 7px;
}

.site-nav a {
  padding: 9px 12px;
  color: #31405c;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 1.45rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-color: #071426;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(
      100deg,
      rgba(5, 14, 30, 0.96) 5%,
      rgba(5, 14, 30, 0.73) 52%,
      rgba(5, 14, 30, 0.34)
    ),
    linear-gradient(20deg, var(--accent-dark), transparent 60%);
}

.hero-content {
  max-width: 780px;
  padding-block: 112px 126px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  content: "";
  background: currentColor;
  border-radius: 99px;
}

.hero .eyebrow {
  color: #fff;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.35rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  color: #fff;
  background: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--accent) 30%, transparent);
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
}

.button-light {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.button-light:hover {
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

.button-outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.64);
  box-shadow: none;
}

.button-outline:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.section {
  padding-block: 105px;
}

.section-tint {
  background: var(--surface);
}

.section-accent {
  background:
    radial-gradient(
      circle at 10% 15%,
      color-mix(in srgb, var(--accent) 16%, transparent),
      transparent 34%
    ),
    var(--surface);
}

.section-head {
  max-width: 790px;
  margin-bottom: 52px;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.section-head.centered .eyebrow {
  justify-content: center;
}

.section h2,
.legal h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-lead {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

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

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 29px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 36px rgba(8, 25, 55, 0.055);
}

.business-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  color: inherit;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.business-card:hover,
.business-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(14, 116, 144, 0.35);
  box-shadow: 0 20px 48px rgba(8, 25, 55, 0.13);
}

.business-card:focus-visible {
  outline: 3px solid rgba(14, 116, 144, 0.28);
  outline-offset: 4px;
}

.business-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface-strong);
}

.business-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.business-card:hover .business-card-image img,
.business-card:focus-visible .business-card-image img {
  transform: scale(1.03);
}

.business-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 29px;
}

.business-card-title {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 1.13rem;
  font-weight: 800;
  line-height: 1.3;
}

.business-card-copy {
  flex: 1;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.business-card-action {
  margin-top: 22px;
  color: var(--accent-dark);
  font-weight: 800;
}

.business-card:hover .business-card-action,
.business-card:focus-visible .business-card-action {
  text-decoration: underline;
}

.card-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 900;
}

.card h3,
.feature h3 {
  margin: 0 0 9px;
  font-size: 1.13rem;
  line-height: 1.3;
}

.card p,
.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
}

.split.reverse .split-copy {
  order: 2;
}

.split.reverse .media-frame {
  order: 1;
}

.split-copy .section-head {
  margin-bottom: 35px;
}

.feature-list {
  display: grid;
  gap: 20px;
}

.feature {
  position: relative;
  padding-left: 28px;
}

.feature::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 11px;
  height: 11px;
  content: "";
  background: var(--accent);
  border-radius: 4px;
  transform: rotate(45deg);
}

.media-frame {
  position: relative;
  overflow: hidden;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame::after {
  position: absolute;
  inset: 9px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}

.media-frame img {
  width: 100%;
  border-radius: calc(var(--radius) - 8px);
}

.media-frame img.is-lightbox-enabled {
  cursor: zoom-in;
}

.media-frame img.is-lightbox-enabled:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 8, 23, 0.92);
  backdrop-filter: blur(8px);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox-content {
  position: relative;
  display: flex;
  max-width: 100%;
  max-height: 100%;
  flex-direction: column;
  align-items: center;
}

.image-lightbox-image {
  width: auto;
  max-width: min(1500px, calc(100vw - 48px));
  max-height: calc(100vh - 96px);
  border-radius: 16px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
  object-fit: contain;
}

.image-lightbox-caption {
  max-width: 780px;
  margin: 12px 48px 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
}

.image-lightbox-close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 1.75rem;
  line-height: 1;
  place-items: center;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  background: #000;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.media-stack {
  position: relative;
  min-height: 520px;
}

.media-stack .media-frame:first-child {
  width: 86%;
}

.media-stack .media-frame:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 67%;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 10px;
  margin-top: 48px;
}

.process-step {
  position: relative;
  display: grid;
  min-height: 78px;
  padding: 18px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.25;
  place-items: center;
  text-align: center;
}

.process-step:nth-child(-n + 4)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -11px;
  content: "→";
  color: var(--accent);
  transform: translateY(-50%);
}

.process-step:nth-child(5)::after {
  position: absolute;
  z-index: 2;
  right: 50%;
  bottom: -23px;
  content: "↓";
  color: var(--accent);
  transform: translateX(50%);
}

.process-step:nth-child(6) {
  grid-column: 5;
  grid-row: 2;
}

.process-step:nth-child(7) {
  grid-column: 4;
  grid-row: 2;
}

.process-step:nth-child(8) {
  grid-column: 3;
  grid-row: 2;
}

.process-step:nth-child(9) {
  grid-column: 2;
  grid-row: 2;
}

.process-step:nth-child(n + 6):not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: -11px;
  content: "←";
  color: var(--accent);
  transform: translateY(-50%);
}

.cta {
  padding-block: 105px;
}

.cta-panel {
  padding: clamp(44px, 7vw, 82px);
  color: #fff;
  background:
    radial-gradient(
      circle at 90% 0%,
      color-mix(in srgb, var(--accent) 74%, #fff),
      transparent 40%
    ),
    linear-gradient(135deg, #071426, #10284e);
  border-radius: 30px;
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-panel h2 {
  max-width: 800px;
  margin: 0 auto;
  color: #fff;
}

.cta-panel p {
  max-width: 760px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.cta-panel .actions {
  justify-content: center;
}

.site-footer {
  padding-block: 52px;
  color: #bcc8dc;
  background: #071426;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 42px;
}

.footer-brand img {
  width: 230px;
}

.footer-brand p {
  max-width: 440px;
  margin: 18px 0 0;
}

.footer-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: #bcc8dc;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
}

.legal-hero {
  padding-block: 94px 70px;
  background:
    radial-gradient(circle at 80% 0%, var(--accent-soft), transparent 42%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.legal-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.legal {
  max-width: 900px;
  padding-block: 72px 110px;
}

.legal h2 {
  margin: 52px 0 14px;
  padding-top: 8px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -0.025em;
}

.legal p,
.legal li {
  color: #33425c;
}

.legal a {
  color: var(--accent-dark);
  font-weight: 700;
}

.legal table {
  width: 100%;
  margin-block: 26px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.legal th,
.legal td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--surface-strong);
}

.notice {
  margin: 28px 0;
  padding: 20px 22px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 15px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(8, 25, 55, 0.1);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px 14px;
  }

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

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

  .split.reverse .split-copy,
  .split.reverse .media-frame {
    order: initial;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand img {
    width: 180px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-block: 86px 92px;
  }

  .section,
  .cta {
    padding-block: 74px;
  }

  .cards,
  .cards.two,
  .footer-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .process {
    gap: 24px;
  }

  .process-step:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
  }

  .process .process-step:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    top: auto;
    right: auto;
    bottom: -23px;
    left: 50%;
    display: block;
    content: "↓";
    color: var(--accent);
    transform: translateX(-50%);
  }

  .card {
    padding: 24px;
  }

  .media-stack {
    min-height: 0;
    display: grid;
    gap: 18px;
  }

  .media-stack .media-frame:first-child,
  .media-stack .media-frame:last-child {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
  }

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

  .legal {
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
