:root {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #ffffff;
  --text: #022739;
  --muted: #6a7077;
  --line: #dbe4e7;
  --mint: #386b11;
  --lime: #9bf000;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-family: Inter, "Open Sans", "Avenir Next", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 280px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #386b11; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
.wrap { width: min(100% - 100px, 1320px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 12px; background: var(--lime); color: var(--bg); transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }

.top { border-bottom: 1px solid #e1e8eb; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 145px; height: auto; }
.top nav { display: flex; align-items: center; gap: 32px; color: var(--muted); font-size: 14px; }
.top nav a:hover, .footer a:hover, .text-link:hover { color: var(--mint); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; min-height: 46px; border: 1px solid transparent; border-radius: 6px; font-size: 14px; font-weight: 750; line-height: 1.2; transition: background .2s, border-color .2s; }
.button span { font-size: 17px; }
.button-outline { border-color: var(--line); background: #ffffff; }
.button-outline:hover { border-color: var(--mint); }
.button-primary { background: var(--lime); color: #022739; }
.button-primary:hover { background: #b0fa38; }

.hero { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(46px, 6.6vw, 98px); }
.eyebrow, .micro { display: flex; align-items: center; gap: 9px; font: 650 11px/1.4 var(--mono); letter-spacing: .13em; color: var(--mint); }
.pulse-dot, .demo i, .vehicle figcaption i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px #9bf045; }
h1 {  margin-top: 17px; font-size: clamp(59px, 6.35vw, 100px); line-height: .99; letter-spacing: -.087em; font-weight: 800; }
h1 em { position: relative; color: var(--text); font-style: normal; white-space: nowrap; }
h1 em::after { content: ""; display: block; width: 55%; height: 5px; margin-top: 12px; background: var(--lime); }
.lead { margin-top: 24px; max-width: 37ch; color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.text-link { font-size: 14px; font-weight: 650; }
.text-link span { margin-left: 3px; color: var(--mint); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 29px; color: #63727a; font: 10px/1.4 var(--mono); letter-spacing: .08em; }

.scanner { min-width: 0; border: 1px solid #d5e0e4; border-radius: 12px; overflow: hidden; background: #ffffff; box-shadow: 0 24px 80px #02273920; }
.scanner-top, .scanner-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 13px; }
.scanner-top { min-height: 48px; color: #022739; font: 650 11px/1.4 var(--mono); letter-spacing: .12em; }
.scanner-id, .section-no { color: #64747d; }
.demo, .pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 7px; border: 1px solid #c9e2af; border-radius: 4px; background: #edf7e3; color: #365f16; font: 650 9px/1.3 var(--mono); letter-spacing: .06em; white-space: nowrap; }
.demo i { width: 5px; height: 5px; }
.vehicle { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1.56; background: #e3eaf0; border-block: 1px solid #dbe4e7; }
.vehicle-photo, .photo-shade, .road-motion { position: absolute; width: 100%; height: 100%; inset: 0; }
.vehicle-photo { object-fit: cover; }
.photo-shade { background: linear-gradient(180deg, transparent 69%, #022739aa 100%); pointer-events: none; }
.road-motion { inset: auto 0 10%; height: 15%; background: repeating-linear-gradient(90deg, transparent 0 140px, #ffffff1a 175px, transparent 220px 295px); clip-path: polygon(0 0, 100% 57%, 100% 100%, 0 31%); animation: road 1.55s linear infinite; pointer-events: none; }
@keyframes road { from { background-position: 0 0; } to { background-position: -295px 0; } }
.focus-shade { position: absolute; inset: 0; background: #022739; opacity: 0; transition: opacity .25s; pointer-events: none; }
.scanner[data-mode="motor"] .focus-shade { background: radial-gradient(ellipse at 80% 65%, transparent 20%, #022739 80%); opacity: .28; }
.scanner[data-mode="carga"] .focus-shade { background: radial-gradient(ellipse at 37% 57%, transparent 23%, #022739 80%); opacity: .28; }
.frame-corner { position: absolute; width: 16px; height: 16px; border: solid #ffffff; pointer-events: none; }
.corner-a { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
.corner-b { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; }
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.leaders path { fill: none; stroke: #022739; stroke-width: 1.2px; vector-effect: non-scaling-stroke; }
.leaders .anchor { stroke: var(--lime); stroke-width: 7px; stroke-linecap: round; }
.callout { position: absolute; min-width: 102px; padding: 6px 8px; border: 1px solid #cbd7de; border-left: 3px solid var(--lime); border-radius: 5px; background: #fff; color: var(--text); font: 650 14px/1.2 var(--mono); box-shadow: 0 4px 16px #02273928; transition: opacity .25s, visibility .25s; }
.callout > span { display: block; margin-bottom: 3px; color: #3e5460; font-size: 8px; letter-spacing: .045em; white-space: nowrap; }
.callout small { font-size: 9px; }
.callout-cargo { top: 12%; left: 29%; }
.callout-engine { top: 17%; left: 70%; }
.callout-speed { bottom: 13%; left: 8%; }
.scanner[data-mode="motor"] :is(.callout-cargo, .leader-cargo),
.scanner[data-mode="carga"] :is(.callout-engine, .callout-speed, .leader-engine) { opacity: 0; visibility: hidden; }
.vehicle figcaption { display: flex; justify-content: space-between; position: absolute; inset: auto 22px 11px; color: #ffffff; font: 9px/1.3 var(--mono); letter-spacing: .08em; }
.vehicle figcaption i { margin-left: 3px; width: 5px; height: 5px; }
.scanner-controls { padding-bottom: 4px; }
.modes { display: flex; flex-wrap: wrap; gap: 4px; }
.modes button, .motion-toggle { min-height: 38px; padding: 5px 10px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 680; }
.modes button:hover, .motion-toggle:hover { color: var(--text); border-color: var(--line); }
.modes button[aria-pressed="true"] { color: var(--mint); background: #e9f5db; border-color: #c3d9ac; }
.motion-toggle { width: 38px; flex: 0 0 auto; border-color: var(--line); }
.scanner-note { padding: 4px 13px 11px; color: var(--muted); font-size: 12px; line-height: 1.45; }
[data-paused] .road-motion { animation-play-state: paused; }

.signal-strip { border-block: 1px solid var(--line); background: #022739; }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 13px 20px; padding-block: 20px; }
.strip-inner span { display: inline-flex; align-items: center; gap: 8px; color: #f4f8fa; font: 600 10px/1.5 var(--mono); letter-spacing: .07em; }
.strip-inner i { width: 5px; height: 5px; border: 1px solid var(--lime); transform: rotate(45deg); }

.platform { padding-block: clamp(54px, 7vw, 100px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 32px; margin-bottom: 29px; }
.section-head h2, .journey h2, .contact h2 { margin-top: 10px; font-size: clamp(39px, 5vw, 68px); letter-spacing: -.075em; line-height: 1.04; }
.section-head > p, .contact-copy > p:last-child { max-width: 35ch; color: var(--muted); font-size: 16px; line-height: 1.6; }
.dashboard { display: grid; grid-template-columns: 1.2fr 1fr; gap: 15px; }
.panel { display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.panel-head { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.panel h3, .flow h3 { margin-top: 5px; font-size: 23px; line-height: 1.15; letter-spacing: -.04em; }
.map-scene { display: grid; flex: 1; align-content: center; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: #f3f7f7; }
.map-scene svg { display: block; width: 100%; min-height: 180px; }
.map-labels { font-family: var(--mono); }
.panel-foot { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.graph { padding: 10px 11px 7px; border: 1px solid var(--line); border-radius: 5px; background: #f3f7f7; }
.graph svg { display: block; width: 100%; height: 105px; }
.graph-top, .graph-bottom { display: flex; justify-content: space-between; gap: 10px; color: #52616c; font: 10px/1.4 var(--mono); }
.graph-top span:last-child { color: #914525; }
.alert { display: flex; align-items: center; gap: 9px; padding: 8px 10px; margin-top: 9px; border: 1px solid #efd8c6; border-radius: 5px; background: #fff3e9; }
.alert > span { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; color: #914525; border: 1px solid #cf9c7c; font: 700 12px var(--mono); }
.alert strong, .alert small { display: block; color: #75361a; font-size: 12px; line-height: 1.4; }
.alert small { color: #795c49; font-size: 11px; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.flow article { border-top: 1px solid #cddcce; padding: 15px 12px 0 0; }
.flow h3 { font-size: 20px; }
.flow article > p:last-child, .disclosure { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.disclosure { margin-top: 25px; font-size: 12px; }

.journey { padding-block: clamp(38px, 5.8vw, 78px); border-top: 1px solid var(--line); background: #f5f8f8; }
.journey-grid { display: grid; grid-template-columns: 1.16fr 1fr; align-items: center; gap: clamp(24px, 5vw, 78px); }
.journey-photo { position: relative; overflow: hidden; border-radius: 10px; background: #dbe4e7; }
.journey-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; }
.journey-photo figcaption { position: absolute; bottom: 13px; left: 13px; padding: 7px 9px; border-radius: 4px; background: #022739; color: white; font: 650 10px/1.3 var(--mono); letter-spacing: .06em; }
.steps { display: grid; gap: 13px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: trip; }
.steps li { position: relative; padding: 0 0 12px 44px; border-bottom: 1px solid var(--line); counter-increment: trip; }
.steps li::before { content: counter(trip); display: grid; place-items: center; position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; color: var(--text); background: var(--lime); font: 700 14px/1 var(--mono); }
.steps p { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.contact { padding-block: clamp(45px, 6vw, 76px); background: radial-gradient(ellipse at 0 60%, #e5f2dd, transparent 70%), #f5f8f8; border-block: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(25px, 6vw, 95px); align-items: center; }
.contact h2 { max-width: 14ch; }
.contact-copy > p:last-child { margin-top: 17px; }
.contact-form { display: grid; gap: 13px; position: relative; padding: clamp(15px, 2.25vw, 28px); border: 1px solid #d7e2e5; border-radius: 9px; background: #f3f7f7; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.contact-form label { display: grid; align-content: start; gap: 6px; color: #022739; font-size: 13px; font-weight: 650; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-width: 0; min-height: 44px; border-radius: 5px; padding: 10px; border: 1px solid #d0dde0; background: #ffffff; color: var(--text); font-size: 16px; font-weight: 450; }
.contact-form textarea { resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #6a7077; }
.honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.submit-row { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: space-between; align-items: center; }
.submit-row p { color: var(--muted); font-size: 11px; line-height: 1.45; }
.form-status { color: var(--mint); font-size: 13px; }
.form-status:empty { display: none; }
.form-status[data-error] { color: #943a24; }
button:disabled { opacity: .65; cursor: wait; }

.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding-block: 22px; }
.footer .brand img { width: 112px; }
.footer > p, .footer > a:last-child { font-size: 12px; color: var(--muted); }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  h1 { font-size: clamp(54px, 7.4vw, 76px); }
  .hero { grid-template-columns: .8fr 1.2fr; }
}
@media (max-width: 790px) {
  .wrap { width: calc(100% - 38px); }
  .top-inner { min-height: 77px; }
  .top nav { gap: 15px; }
  .hero, .journey-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { gap: 28px; }
  .hero-meta { margin-top: 17px; }
  .dashboard { grid-template-columns: 1fr; }
}
@media (max-width: 485px) {
  .top nav { display: none; }
  .brand img { width: 119px; }
  .button-outline { font-size: 12px; gap: 8px; padding-inline: 10px; }
  h1 { font-size: clamp(45px, 11vw, 60px); }
  .callout { min-width: 0; padding: 4px 5px; font-size: 12px; }
  .callout > span { font-size: 7px; }
  .callout-engine { top: 18%; left: auto; right: 5%; }
  .callout-speed { bottom: 11%; }
  .flow, .fields { grid-template-columns: 1fr; }
  .panel { padding: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
  .road-motion { animation-play-state: paused; }
  [data-user-motion]:not([data-paused]) .road-motion { animation-play-state: running; }
}
