:root {
  --ink: #10140b;
  --ink-soft: #171d10;
  --surface: #1d2415;
  --line: rgba(238, 255, 199, 0.15);
  --text: #f5f6ef;
  --muted: #a7ad99;
  --lemon: #ffe331;
  --lime: #b8f000;
  --green: #75b800;
  --cream: #f2f2b0;
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button, input { font: inherit; }
button { color: inherit; }

.page-glow {
  position: fixed;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .09;
  pointer-events: none;
}

.page-glow--top { top: -280px; right: 5%; background: var(--lemon); }
.page-glow--bottom { bottom: -300px; left: -160px; background: var(--lime); }

.site-header,
main,
footer {
  width: min(1380px, calc(100% - 72px));
  margin-inline: auto;
}

.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--lemon);
  border-radius: 50% 46% 51% 48%;
  transform: rotate(-12deg);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: '';
  position: absolute;
  width: 2px;
  height: 26px;
  background: var(--lemon);
  opacity: .85;
}

.brand-mark::before { transform: rotate(55deg); }
.brand-mark::after { transform: rotate(-55deg); }
.brand-mark span { transform: rotate(90deg); }

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .06em;
}

.brand-name span { color: var(--lemon); }

.header-note {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.header-note span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px var(--lime);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: .82fr 1.38fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: 72px 0 88px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 6.4vw, 94px);
  line-height: .94;
  letter-spacing: -.065em;
}

h1 em {
  color: var(--lemon);
  font-style: normal;
}

.hero-lead {
  max-width: 520px;
  margin: 32px 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
}

.route-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 7px 24px 7px 8px;
  border: 0;
  border-radius: 999px;
  color: #1b210d;
  background: linear-gradient(135deg, var(--lemon), var(--lime));
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(184, 240, 0, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.route-button:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(184, 240, 0, .22); }
.route-button:focus-visible, .truck:focus-visible, .login-button:focus-visible, .password-wrap button:focus-visible { outline: 3px solid white; outline-offset: 3px; }

.route-button-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--lemon);
  background: var(--ink);
  font-size: 22px;
}

.route-hint { margin: 14px 0 0 18px; color: #6f7663; font-size: 12px; }

.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #171d10;
  box-shadow: 0 35px 100px rgba(0, 0, 0, .34);
}

.map-topline {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  color: #777e6d;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.trip-state { color: #b8bfad; letter-spacing: .04em; }
.trip-state i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #69705e; }
.trip-state.is-driving i { background: var(--lime); box-shadow: 0 0 12px var(--lime); }

.map {
  position: relative;
  height: clamp(410px, 45vw, 570px);
  min-height: 410px;
  overflow: hidden;
  background: #242b1e;
  isolation: isolate;
}

.map::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  box-shadow: inset 0 0 70px rgba(7, 10, 4, .48);
}

.map-grid {
  position: absolute;
  inset: 0;
  z-index: -4;
  opacity: .25;
  background-image: linear-gradient(rgba(230, 255, 190, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(230, 255, 190, .09) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: rotate(-5deg) scale(1.15);
}

.land {
  position: absolute;
  z-index: -3;
  border: 1px solid rgba(220, 255, 170, .07);
  background: #303a27;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.18));
}

.land--one { width: 72%; height: 68%; left: -12%; top: 5%; border-radius: 35% 48% 42% 28%; transform: rotate(17deg); }
.land--two { width: 54%; height: 63%; right: -15%; bottom: -4%; border-radius: 52% 28% 46% 36%; transform: rotate(-19deg); }

.river {
  position: absolute;
  z-index: -2;
  width: 110%;
  height: 55px;
  left: -5%;
  top: 58%;
  border-radius: 50%;
  border-top: 9px solid rgba(84, 151, 132, .34);
  transform: rotate(-13deg);
}

.road {
  position: absolute;
  z-index: -1;
  width: 130%;
  height: 8px;
  left: -15%;
  background: #4b5245;
  box-shadow: 0 -1px #686f61, 0 1px #1a2015;
}

.road::after { content: ''; position: absolute; inset: 3px 0; border-top: 1px dashed rgba(255,255,255,.33); }
.road--one { top: 28%; transform: rotate(15deg); }
.road--two { top: 72%; transform: rotate(-9deg); }

.route-line {
  position: absolute;
  left: 18%;
  top: 24%;
  width: 65%;
  height: 56%;
  border: 2px dashed rgba(255, 227, 49, .65);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(18deg);
}

.city { position: absolute; z-index: 2; display: grid; grid-template-columns: 14px auto; column-gap: 8px; align-items: center; font-size: 11px; }
.city span { width: 12px; height: 12px; border: 3px solid var(--lemon); border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px rgba(255, 227, 49, .1); }
.city b { font-size: 12px; }
.city small { grid-column: 2; color: #818877; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.city--start { left: 14%; top: 26%; }
.city--middle { left: 49%; top: 53%; }
.city--finish { right: 9%; bottom: 19%; }

.truck {
  position: absolute;
  z-index: 6;
  left: 12%;
  top: 34%;
  width: 128px;
  height: 64px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .35));
  transform: rotate(8deg);
  transform-origin: 50% 80%;
}

.truck-shadow { position: absolute; left: 8px; right: 0; bottom: 2px; height: 12px; border-radius: 50%; background: rgba(0,0,0,.28); filter: blur(5px); }
.truck-trailer { position: absolute; left: 0; top: 5px; width: 82px; height: 42px; border: 2px solid #1f2813; border-radius: 6px 3px 3px 6px; background: linear-gradient(145deg, #f7f8ed, #cdd4bd); box-shadow: inset 0 -5px rgba(0,0,0,.09); }
.truck-trailer i { position: absolute; inset: 8px 10px; color: #313a21; font-style: normal; font-size: 8px; font-weight: 900; line-height: .9; text-align: left; }
.truck-trailer b { color: #79af00; font-size: 12px; }
.truck-cab { position: absolute; right: 5px; top: 17px; width: 43px; height: 31px; border: 2px solid #283112; border-radius: 6px 9px 4px 3px; background: linear-gradient(145deg, var(--lemon), #b3d900); box-shadow: inset 0 -5px rgba(0,0,0,.11); }
.truck-cab::before { content: ''; position: absolute; width: 15px; height: 12px; right: 5px; top: 4px; border-radius: 2px 5px 2px 2px; background: #26352f; }
.truck-cab i { position: absolute; width: 5px; height: 5px; right: -3px; bottom: 4px; border-radius: 50%; background: #fff8b7; box-shadow: 0 0 8px #fff19b; }
.truck-wheel { position: absolute; top: 42px; width: 16px; height: 16px; border: 4px solid #11150c; border-radius: 50%; background: #8a927d; }
.truck-wheel--one { left: 15px; }
.truck-wheel--two { right: 16px; }
.truck.is-driving .truck-wheel { animation: wheel .35s linear infinite; }

.map-distance { position: absolute; right: 23px; top: 22px; display: flex; flex-direction: column; text-align: right; }
.map-distance strong { color: var(--cream); font-size: 30px; letter-spacing: -.04em; }
.map-distance span { color: #7e8674; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }

.launch-section {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: clamp(50px, 10vw, 160px);
  align-items: center;
  padding: 110px clamp(24px, 6vw, 88px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(37, 46, 26, .55), rgba(15, 20, 11, .08));
}

.launch-copy { display: grid; grid-template-columns: 70px 1fr; gap: 24px; }
.section-number { color: #5f6757; font-size: 13px; font-weight: 800; }
h2 { margin: 0; font-size: clamp(36px, 4.3vw, 60px); line-height: 1; letter-spacing: -.045em; }
.launch-copy p:last-child { max-width: 550px; margin: 24px 0 0; color: var(--muted); line-height: 1.7; }

.launch-card {
  min-height: 252px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(25, 31, 18, .82);
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}

.launch-card__status {
  color: #b8bfad;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.launch-card__status span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px var(--lime);
}

.launch-card__route {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 76px;
  margin: 20px 0 22px;
}

.launch-card__route::before,
.launch-card__route::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lemon));
}

.launch-card__route::after { background: linear-gradient(90deg, var(--lemon), transparent); }
.launch-card__route i { width: 7px; height: 7px; border-radius: 50%; background: var(--lemon); box-shadow: 0 0 12px rgba(255, 227, 49, .55); }
.launch-card__route i:nth-child(3) { width: 13px; height: 13px; background: var(--lime); }
.launch-card strong { display: block; color: var(--cream); font-size: 22px; letter-spacing: -.03em; }
.launch-card p { margin: 12px 0 0; color: var(--muted); line-height: 1.6; }

.login-card {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(25, 31, 18, .82);
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}

.login-card label { display: block; margin: 0 0 9px; color: #c5c9bd; font-size: 12px; font-weight: 700; }
.login-card input { width: 100%; height: 54px; margin-bottom: 20px; padding: 0 17px; border: 1px solid #3a4232; border-radius: 12px; outline: none; color: var(--text); background: #12170e; transition: border .2s, box-shadow .2s; }
.login-card input::placeholder { color: #5f6658; }
.login-card input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(184, 240, 0, .1); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 95px; }
.password-wrap button { position: absolute; right: 12px; top: 15px; border: 0; color: #868e7b; background: transparent; font-size: 11px; cursor: pointer; }
.login-button { width: 100%; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border: 0; border-radius: 12px; color: #19200a; background: var(--lemon); font-weight: 800; cursor: pointer; transition: background .2s, transform .2s; }
.login-button:hover { background: var(--lime); transform: translateY(-1px); }
.login-button span { font-size: 20px; }
.form-message { margin: 17px 0 0; color: #777f6d; font-size: 11px; text-align: center; }
.form-message.is-active { color: var(--lemon); }

footer { min-height: 150px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; color: #69705f; font-size: 12px; }
footer p:nth-child(2) { text-align: center; }
footer p:last-child { text-align: right; }
.brand--footer { opacity: .7; }

@keyframes pulse { 50% { opacity: .35; transform: scale(.75); } }
@keyframes wheel { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 980px) {
  .site-header, main, footer { width: min(100% - 36px, 760px); }
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-copy { max-width: 680px; }
  .map { height: 540px; }
  .launch-section { grid-template-columns: 1fr; padding: 80px 28px; }
}

@media (max-width: 620px) {
  .site-header, main, footer { width: min(100% - 24px, 540px); }
  .site-header { height: 82px; }
  .header-note { width: 10px; overflow: hidden; white-space: nowrap; }
  .header-note span { margin: 0; }
  .hero { min-height: auto; gap: 54px; padding: 52px 0 64px; }
  h1 { font-size: clamp(46px, 15vw, 68px); }
  .map-topline { padding: 0 15px; }
  .map { height: 440px; min-height: 440px; }
  .map-distance { right: 15px; top: 17px; }
  .map-distance strong { font-size: 24px; }
  .truck { transform: rotate(8deg) scale(.82); transform-origin: left center; }
  .city--middle { left: 43%; }
  .city--finish { right: 4%; }
  .launch-section { padding: 64px 18px; }
  .launch-copy { grid-template-columns: 1fr; gap: 16px; }
  .section-number { display: none; }
  footer { min-height: 190px; grid-template-columns: 1fr; justify-items: center; padding: 32px 0; }
  footer p:nth-child(2), footer p:last-child { margin: 0; text-align: center; }
}
