:root {
  --ink: #151c21;
  --text: #27353d;
  --muted: #56646b;
  --aqua: #14a7b8;
  --aqua-dark: #087b8b;
  --aqua-pale: #eaf8fa;
  --navy: #0c293b;
  --line: #dce3e6;
  --soft-line: #edf1f2;
  --paper: #ffffff;
  --fog: #f6f8f8;
  --red: #d1222d;
  --max: 1180px;
}
.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -70px;
  left: 18px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus {
  top: 18px;
}

/* Page title */
.page-head {
  padding: 0 0 34px;
  background: #fff;
}
.page-head h1 {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.2;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* Hero */
.hero {
  padding-bottom: 78px;
}
.hero-copy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 36px;
}
.hero-copy h2 {
  margin: 0;
  font-size: clamp(27px, 3.2vw, 44px);
  line-height: 1.55;
  letter-spacing: 0.05em;
}
.hero-copy h2 .copy-line {
  display: block;
  white-space: nowrap;
}
.hero-copy p {
  margin: 0;
  max-width: none;
  color: var(--text);
  font-size: clamp(15px, 1.45vw, 17px);
  line-height: 2;
}
.hero-sentence-line {
  display: block;
  white-space: nowrap;
}
.hero-visual {
  width: min(90%, 720px);
  margin-inline: auto;
  background: #dfe7e9;
  overflow: hidden;
}
.hero-image-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 2px;
  height: clamp(230px, 30vw, 310px);
  overflow: hidden;
  background: #fff;
}
.hero-image {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: #dfe7e9;
}
.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image:first-child img {
  object-position: center 54%;
}
.hero-image:last-child img {
  object-position: center center;
}

/* Shared heading */
.section {
  padding: 82px 0;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 38px;
}
.section-heading h2,
.feature-content h2 {
  margin: 0;
  font-size: clamp(24px, 2.55vw, 35px);
  line-height: 1.42;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.section-lead,
.feature-content > p {
  margin: 0;
  color: var(--text);
  font-size: clamp(15px, 1.45vw, 17px);
  line-height: 1.9;
}
.vehicle-heading {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 14px;
}
.vehicle-heading h2 {
  white-space: nowrap;
}

/* Newly inserted benefits */
.benefits {
  background: var(--fog);
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}
.benefits.section {
  padding: 62px 0;
}
.benefits .section-heading {
  margin-bottom: 24px;
}
.benefits-heading {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 14px;
}
.benefit-intro,
.compare-heading .section-lead {
  max-width: none;
  white-space: nowrap;
  letter-spacing: -0.025em;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.benefit-card {
  min-height: 244px;
  padding: 16px 16px 18px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.benefit-icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
}
.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.benefit-card h3 {
  margin: 0 0 7px;
  font-size: 17px;
  line-height: 1.4;
  text-align: center;
}
.benefit-card p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}

/* Current six-system listing */
.systems {
  background: #fff;
}
.recognition-systems {
  background: var(--fog);
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}
.recognition-systems .system-card:nth-child(1) {
  order: 6;
}
.recognition-systems .system-card:nth-child(2) {
  order: 3;
}
.recognition-systems .system-card:nth-child(3) {
  order: 5;
}
.recognition-systems .system-card:nth-child(4) {
  order: 4;
}
.recognition-systems .system-card:nth-child(5) {
  order: 2;
}
.recognition-systems .system-card:nth-child(6) {
  order: 1;
}
.systems.section {
  padding: 62px 0;
}
.systems .section-heading {
  margin-bottom: 14px;
}
.system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.system-card {
  min-width: 0;
  padding: 0 14px 14px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.system-card:hover {
  background: var(--fog);
}
.system-media {
  display: grid;
  place-items: center;
  min-height: 150px;
  margin: 0 -14px 12px;
  padding: 10px 14px;
  overflow: hidden;
  background: linear-gradient(145deg, #f4f9fb 0%, #edf5f7 100%);
  border-bottom: 1px solid var(--soft-line);
}
.system-media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 132px;
  object-fit: contain;
}
.system-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
}

/* Vehicle and people feature sections in the same visual language */
.vehicle-feature {
  background: var(--fog);
  border-top: 1px solid var(--soft-line);
}
.people {
  background: #fff;
  border-top: 1px solid var(--soft-line);
}
.feature-content {
  margin-bottom: 38px;
}
.feature-content > p {
  max-width: none;
  margin-top: 14px;
}
.sentence-line {
  display: block;
}
.feature-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: min(100%, 1020px);
  height: 370px;
  margin: 0 auto 34px;
  background: #fff;
  overflow: hidden;
}
.feature-photo {
  min-height: 370px;
  overflow: hidden;
  background: #dfe7e9;
}
.feature-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.plate-photo img {
  object-position: 38% center;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 1020px);
  margin-inline: auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature-list article {
  display: block;
  min-height: 154px;
  padding: 22px 20px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature-list h3 {
  margin: 0 0 9px;
  font-size: 17px;
}
.feature-list p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.85;
}

.compare {
  background: #fff;
}
.compare.section {
  padding: 54px 0;
}
.compare .section-heading {
  margin-bottom: 20px;
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}
.compare th,
.compare td {
  padding: 8px 9px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  line-height: 1.45;
}
.compare thead th {
  color: #fff;
  background: var(--navy);
  font-size: 12px;
}
.compare thead th:first-child,
.compare tbody th {
  width: 15%;
}
.compare thead th:nth-child(2) {
  width: 35%;
}
.compare thead th:nth-child(3) {
  width: 50%;
}
.compare tbody th {
  background: var(--aqua-pale);
  font-size: 13px;
}
.compare td:nth-child(2),
.compare td:nth-child(3) {
  color: var(--text);
}

/* Delivery examples */
.cases {
  background: var(--fog);
  border-top: 1px solid var(--soft-line);
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 780px);
  margin-inline: auto;
  gap: 16px;
}
.case-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.case-card:hover,
.case-card:focus-visible {
  outline: none;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(12, 37, 62, 0.1);
}
.case-photo {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dfe7e9;
}
.case-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 20px;
}
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.case-tags span {
  padding: 5px 8px;
  color: var(--navy);
  background: var(--aqua-pale);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}
.case-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.4;
}
.case-card p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}
.case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.cta {
  padding: 78px 0;
  color: #fff;
  background: var(--navy);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.cta small {
  display: block;
  margin-bottom: 16px;
  color: #6ce0eb;
  font:
    700 11px/1 Arial,
    sans-serif;
  letter-spacing: 0.16em;
}
.cta h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.52;
  white-space: nowrap;
}
.cta a {
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: 0.2s;
}
.cta a:hover,
.cta a:focus-visible {
  background: #6ce0eb;
  outline: none;
  transform: translateY(-2px);
}
footer {
  padding: 34px 4.2vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #859097;
  background: #f5f7f7;
  font-size: 10px;
}
footer .logo {
  padding: 0;
}

@media (max-width: 980px) {
  .global-nav a:not(.contact-nav) {
    display: none;
  }
  .hero-copy {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-sentence-line {
    white-space: normal;
  }
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .system-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-grid {
    width: min(92%, 780px);
    gap: 14px;
  }
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }
  .site-header {
    height: 68px;
  }
  .logo {
    padding-inline: 18px;
  }
  .logo-image {
    width: 116px;
  }
  .global-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .global-nav.is-open {
    display: flex;
  }
  .global-nav a,
  .global-nav .contact-nav {
    display: flex !important;
    min-width: 0;
    min-height: 56px;
    justify-content: space-between;
  }
  .menu-button {
    display: block;
  }
  .page-head {
    padding: 46px 0 26px;
  }
  .page-head h1 {
    font-size: clamp(27px, 9vw, 38px);
    letter-spacing: 0.025em;
  }
  .hero {
    padding-bottom: 58px;
  }
  .hero-copy h2 {
    font-size: clamp(18px, 5.6vw, 27px);
    letter-spacing: 0.025em;
  }
  .hero-image-grid {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .section {
    padding: 54px 0;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading h2,
  .feature-content h2 {
    white-space: normal;
  }
  .section-lead {
    margin-top: 14px;
  }
  .benefit-intro,
  .compare-heading .section-lead {
    white-space: normal;
    letter-spacing: 0;
  }
  .cta h2 {
    white-space: normal;
  }
  .benefit-grid,
  .system-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
  .benefit-card {
    min-height: 0;
  }
  .feature-gallery {
    grid-template-columns: 1fr;
    height: auto;
    margin-bottom: 28px;
  }
  .feature-photo {
    min-height: 280px;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .compare {
    overflow-x: auto;
  }
  .benefits.section,
  .systems.section {
    padding: 50px 0;
  }
  .compare.section {
    padding: 46px 0;
  }
  .compare table {
    min-width: 590px;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

@media print {
  .site-header,
  .cta,
  footer {
    display: none;
  }
  .section {
    break-inside: avoid;
  }
  body {
    color: #000;
  }
}

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

#main {
  margin: 0 !important;
}

.mainImg {
  background-image: url(../img/vehicle-entry/main_img.webp);
}
@media (max-width: 896px) {
  .mainImg {
    background-image: url(../img/vehicle-entry/main_img_sp.webp);
  }
}

.comContact {
  display: none !important;
}
