:root {
  --ink: #17202a;
  --muted: #62707e;
  --line: #d8dee5;
  --paper: #f4f6f8;
  --white: #ffffff;
  --orange: #e69a27;
  --teal: #117d86;
  --blue: #224a7a;
  --green: #537c38;
  --steel: #e9edf1;
  --shadow: 0 24px 70px rgba(23, 32, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 76px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 222, 229, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand-mark {
  width: 28px;
  height: 28px;
  background:
    linear-gradient(90deg, var(--orange) 0 42%, transparent 42% 58%, var(--orange) 58%),
    linear-gradient(0deg, var(--orange) 0 42%, transparent 42% 58%, var(--orange) 58%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--ink);
  border-color: var(--orange);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  padding: 122px clamp(20px, 6vw, 88px) 112px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 246, 248, 0.94) 46%, rgba(232, 237, 242, 0.86) 100%),
    radial-gradient(circle at 78% 38%, rgba(230, 154, 39, 0.2), transparent 32%);
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(20px, 6vw, 88px);
  right: clamp(20px, 6vw, 88px);
  bottom: 86px;
  height: 18px;
  border-top: 5px solid #27313d;
  border-bottom: 5px solid #27313d;
  opacity: 0.14;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.94;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  line-height: 1.02;
}

h3 {
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  line-height: 1.18;
}

.hero-lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: #344252;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 900;
  white-space: nowrap;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.8);
}

.button.dark {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 520px;
}

.bogie-image {
  position: absolute;
  right: -4vw;
  bottom: 0;
  width: min(68vw, 980px);
  border: 1px solid rgba(216, 222, 229, 0.82);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-metrics {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 6vw, 88px);
  right: clamp(20px, 6vw, 88px);
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(216, 222, 229, 0.9);
  box-shadow: var(--shadow);
}

.hero-metrics div {
  min-width: 0;
  padding: 20px clamp(14px, 3vw, 28px);
  border-right: 1px solid var(--line);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.hero-metrics span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(72px, 9vw, 122px) clamp(20px, 6vw, 88px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 38px;
}

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

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

.copy-block {
  color: #344252;
  font-size: 1.12rem;
}

.copy-block p {
  margin: 0 0 18px;
}

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

.capability-grid article,
.sensor-panel,
.pipeline article,
.ai-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.capability-grid article {
  padding: 26px;
}

.capability-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  color: var(--teal);
  background: var(--steel);
  border-radius: 6px;
  font-weight: 950;
}

.capability-grid p,
.pipeline p,
.ai-list span,
.sensor-panel li,
.measurement-figure figcaption {
  color: var(--muted);
}

.bogie {
  background:
    linear-gradient(180deg, #f4f6f8 0%, #e9edf1 100%);
}

.bogie-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.55fr);
  gap: 24px;
  align-items: stretch;
}

.measurement-figure {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(23, 32, 42, 0.1);
}

.measurement-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.measurement-figure figcaption {
  padding: 18px 22px 22px;
  font-weight: 700;
}

.sensor-panel {
  padding: 28px;
}

.sensor-panel ul {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 750;
}

.marker {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 10px;
  border-radius: 50%;
  vertical-align: -1px;
}

.marker.temp {
  background: var(--orange);
}

.marker.vib {
  background: var(--teal);
}

.marker.status {
  background: var(--green);
}

.data-flow {
  background: var(--white);
}

.pipeline {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 42px minmax(160px, 1fr) 42px minmax(160px, 1fr) 42px minmax(160px, 1fr);
  align-items: center;
}

.pipeline article {
  min-height: 218px;
  padding: 26px;
}

.pipeline .highlight {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.pipeline .ai-card {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.pipeline .highlight p,
.pipeline .ai-card p {
  color: rgba(255, 255, 255, 0.78);
}

.pipeline-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--orange);
  border-radius: 50%;
  font-weight: 950;
}

.connector {
  position: relative;
  height: 3px;
  background: #2b3642;
}

.connector::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 11px;
  height: 11px;
  border-top: 3px solid #2b3642;
  border-right: 3px solid #2b3642;
  transform: translateY(-50%) rotate(45deg);
}

.ai {
  background: #e9edf1;
}

.ai-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.56fr);
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(30px, 5vw, 54px);
}

.ai-panel p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #344252;
  font-size: 1.1rem;
}

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

.ai-list div {
  padding: 20px;
  border-left: 4px solid var(--orange);
  background: var(--paper);
}

.ai-list strong,
.ai-list span {
  display: block;
}

.ai-list strong {
  margin-bottom: 4px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: clamp(46px, 6vw, 78px) clamp(20px, 6vw, 88px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 32, 42, 0.96), rgba(23, 32, 42, 0.86)),
    url("assets/bogie-profile-outdoor-temp-vibration.png") center / cover no-repeat;
}

.contact-band .eyebrow {
  color: #f0b65c;
}

.contact-band h2 {
  max-width: 900px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.contact-band p {
  max-width: 780px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(20px, 6vw, 88px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer a {
  color: var(--teal);
}

.site-footer a:hover {
  color: var(--ink);
}

@media (max-width: 1040px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .product-layout,
  .bogie-layout,
  .ai-panel,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 1040px;
    align-items: start;
  }

  .hero-visual {
    min-height: 500px;
  }

  .bogie-image {
    right: -8vw;
    width: min(108vw, 920px);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .pipeline {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .connector {
    width: 3px;
    height: 34px;
    justify-self: center;
  }

  .connector::after {
    top: auto;
    right: auto;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    padding-inline: 18px;
  }

  .brand {
    font-size: 0.94rem;
  }

  .hero {
    min-height: 980px;
    padding: 92px 18px 284px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .bogie-image {
    right: -28vw;
    bottom: 0;
    width: 132vw;
  }

  .hero-metrics {
    left: 18px;
    right: 18px;
  }

  .section {
    padding-inline: 18px;
  }

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

  .pipeline article {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-inline: 18px;
  }
}
