@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #0a1529;
  --navy-raised: #111d36;
  --navy-line: rgba(255, 255, 255, 0.09);
  --amber: #feab05;
  --amber-deep: #e59600;
  --white: #ffffff;
  --text: #e8edf6;
  --muted: #9aa7bf;
  --sign-red: #e5484d;
  --road: #1c2a4a;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 34rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Headings echo the logo: heavy, wide and leaning forward. */
.display {
  font-style: italic;
  font-weight: 850;
  font-stretch: 118%;
  letter-spacing: -0.01em;
  line-height: 1.02;
  color: var(--white);
  margin: 0;
}

.amber {
  color: var(--amber);
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 21, 41, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--navy-line);
}

.top .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.top .brand img {
  width: 132px;
}

.top nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-weight: 600;
  font-size: 0.95rem;
}

.top nav a {
  text-decoration: none;
  color: var(--muted);
}

.top nav a:hover {
  color: var(--white);
}

.lang {
  display: flex;
  border: 1px solid var(--navy-line);
  border-radius: 999px;
  overflow: hidden;
  font-weight: 700;
  font-size: 0.85rem;
}

.lang a,
.lang span {
  padding: 6px 12px;
  text-decoration: none;
}

.lang span {
  background: var(--amber);
  color: var(--navy);
}

.lang a {
  color: var(--muted);
}

/* Hero */
.hero {
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(254, 171, 5, 0.45);
  border-radius: 999px;
  color: var(--amber);
  font-weight: 700;
  font-size: 0.9rem;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(254, 171, 5, 0.18);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
}

.hero p.lead {
  max-width: var(--measure);
  margin: 24px 0 34px;
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.02rem;
  text-decoration: none;
}

.button.primary {
  background: var(--amber);
  color: var(--navy);
}

.button.primary:hover {
  background: var(--amber-deep);
}

.button.quiet {
  border: 1px solid var(--navy-line);
  color: var(--white);
}

.button.quiet:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

/* The route illustration: one road, drawn once, with what the app warns about along it. */
.route {
  position: relative;
  margin: 0;
  aspect-ratio: 560 / 500;
  border-radius: 26px;
  background:
    linear-gradient(var(--navy-line) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, var(--navy-line) 1px, transparent 1px) 0 0 / 46px 46px,
    var(--navy-raised);
  border: 1px solid var(--navy-line);
  overflow: hidden;
}

.route svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.route .road {
  fill: none;
  stroke: var(--road);
  stroke-width: 30;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route .blocked {
  fill: none;
  stroke: #24355a;
  stroke-width: 22;
  stroke-linecap: round;
}

.route .path {
  fill: none;
  stroke: var(--amber);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 2.6s cubic-bezier(0.55, 0.1, 0.25, 1) 0.3s forwards;
}

.route .truck {
  position: absolute;
  width: 15%;
  right: 7%;
  top: 9%;
  opacity: 0;
  animation: appear 0.5s ease 2.7s forwards;
}

.callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 50%;
  padding: 9px 14px 9px 9px;
  border-radius: 14px;
  background: rgba(10, 21, 41, 0.92);
  border: 1px solid var(--navy-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  font-size: clamp(0.72rem, 1.25vw, 0.9rem);
  line-height: 1.3;
  opacity: 0;
  transform: translateY(8px);
  animation: rise 0.5s ease forwards;
}

.callout strong {
  display: block;
  color: var(--white);
  font-weight: 750;
}

.callout span {
  color: var(--muted);
}

/* The road runs corner to corner, so the labels sit in the two empty corners. */
.callout.one {
  right: 4%;
  bottom: 5%;
  animation-delay: 1s;
}

.callout.two {
  left: 4%;
  top: 30%;
  animation-delay: 1.7s;
}

.callout.three {
  left: 4%;
  top: 6%;
  animation-delay: 2.3s;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes appear {
  to {
    opacity: 1;
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Road signs, drawn in CSS so they stay sharp at any size. */
.sign {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.1em;
  height: 3.1em;
  font-weight: 850;
  font-stretch: 85%;
  line-height: 1;
  text-align: center;
}

.sign.limit {
  border-radius: 50%;
  background: var(--white);
  border: 0.32em solid var(--sign-red);
  color: #111;
  font-size: 0.95em;
}

.sign.warning {
  width: 2.6em;
  height: 2.6em;
  margin: 0.25em;
  transform: rotate(45deg);
  background: var(--amber);
  border-radius: 0.3em;
  border: 0.14em solid #111;
}

.sign.warning b {
  transform: rotate(-45deg);
  color: #111;
}

.sign.info {
  border-radius: 0.5em;
  background: #1f6fd1;
  color: var(--white);
  border: 0.14em solid var(--white);
}

/* Features */
section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
}

.section-head p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: clamp(36px, 5vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.features li {
  font-size: clamp(1rem, 1.3vw, 1.08rem);
}

.features .sign {
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.features h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.22rem;
  font-weight: 750;
  font-stretch: 105%;
  line-height: 1.25;
}

.features p {
  margin: 0;
  color: var(--muted);
}

/* Drivers' reports */
.community {
  background: var(--navy-raised);
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
}

.community .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.community .section-head {
  margin-bottom: 0;
}

.reports {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.reports li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--navy-line);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.notice {
  padding: clamp(24px, 3vw, 34px);
  border-radius: 22px;
  border: 2px solid var(--amber);
  background: rgba(254, 171, 5, 0.06);
}

.notice h3 {
  margin: 0 0 12px;
  color: var(--amber);
  font-style: italic;
  font-weight: 850;
  font-stretch: 112%;
  font-size: 1.45rem;
  line-height: 1.15;
}

.notice p {
  margin: 0 0 12px;
}

.notice p:last-child {
  margin-bottom: 0;
}

/* Fleets */
.fleets .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

/* These really are steps in order, so they're numbered. */
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 64px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -4px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  font-weight: 850;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 42px;
  bottom: 2px;
  border-left: 2px dashed rgba(254, 171, 5, 0.4);
}

.steps strong {
  display: block;
  color: var(--white);
  font-size: 1.15rem;
}

.steps span {
  color: var(--muted);
}

/* Plans */
.plans .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 900px;
}

.plan {
  padding: clamp(26px, 3vw, 36px);
  border-radius: 22px;
  border: 1px solid var(--navy-line);
  background: var(--navy-raised);
}

.plan.fleet {
  border-color: rgba(254, 171, 5, 0.55);
}

.plan h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 750;
}

.price {
  margin: 14px 0 6px;
  color: var(--white);
  font-style: italic;
  font-weight: 850;
  font-stretch: 112%;
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  line-height: 1;
}

.price small {
  font-size: 0.42em;
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  color: var(--muted);
}

.plan p {
  margin: 0;
  color: var(--muted);
}

.fine {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Closing band */
.band {
  background: var(--amber);
  color: var(--navy);
  padding: clamp(48px, 7vw, 80px) 0;
}

.band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.band h2 {
  margin: 0;
  max-width: 36rem;
  font-style: italic;
  font-weight: 850;
  font-stretch: 115%;
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  line-height: 1.08;
}

.band p {
  margin: 10px 0 0;
  font-weight: 600;
  max-width: 34rem;
}

.band .soon {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
}

/* Footer */
footer {
  padding: 48px 0 56px;
  color: var(--muted);
  font-size: 0.95rem;
}

footer .wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 48px;
  align-items: start;
}

footer img {
  width: 120px;
}

footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

footer .later {
  opacity: 0.65;
}

footer .credits {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.85rem;
}

/* Phones and small tablets */
@media (max-width: 900px) {
  .hero .wrap,
  .community .wrap,
  .fleets .wrap {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 640px) {
  .top nav {
    display: none;
  }

  .top .lang {
    margin-left: auto;
  }

  .features,
  .plans .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .callout {
    max-width: 58%;
    padding: 6px 10px 6px 6px;
    gap: 8px;
  }

  .callout .sign {
    font-size: 0.8em;
  }

  footer .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

  .route .path,
  .route .truck,
  .callout {
    animation: none;
    opacity: 1;
    transform: none;
    stroke-dashoffset: 0;
  }
}
