:root {
  --navy: #152137;
  --ink: #243247;
  --muted: #627181;
  --teal: #226d63;
  --lime: #d8ef80;
  --line: #e1e7e8;
  --paper: #f5f7f7;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.6 Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
:focus-visible {
  outline: 3px solid #89b4a7;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  top: -70px;
  left: 16px;
  background: white;
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}
.intro-header {
  max-width: 1240px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 40px;
  gap: 20px;
}
.wordmark {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--navy);
  white-space: nowrap;
}
.wordmark span {
  color: var(--teal);
}
.wordmark small {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 2px;
  margin-left: 12px;
  vertical-align: middle;
  color: var(--muted);
}
nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 600;
}
.login-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 10px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  border: 0;
  border-radius: 9px;
  padding: 15px 24px;
  background: var(--teal);
  color: white;
  font-weight: 600;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  background: #19584f;
  transform: translateY(-2px);
}
.button.small {
  font-size: 12px;
  padding: 11px 16px;
  gap: 12px;
}
.intro-hero {
  max-width: 1240px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 65px 40px 70px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--teal);
}
.eyebrow i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  margin-right: 8px;
}
h1 {
  font-size: clamp(44px, 5.2vw, 70px);
  line-height: 1.05;
  letter-spacing: -3px;
  margin: 22px 0;
}
h1 em {
  font-style: normal;
  color: var(--teal);
}
.hero-copy > p {
  font-size: 18px;
  color: var(--muted);
  max-width: 450px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}
.quiet-link {
  font-size: 13px;
  font-weight: 600;
}
.hero-note {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
}
.preview {
  border: 1px solid #d4dfd8;
  border-radius: 19px;
  background: white;
  box-shadow: 0 22px 65px #15213712;
  transform: rotate(-2deg);
  animation: arrive 0.8s ease both;
}
.preview-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--muted);
}
.preview-tag {
  background: #eff3e9;
  border-radius: 20px;
  padding: 4px 12px;
  letter-spacing: 0;
  color: var(--teal);
}
.map-art {
  position: relative;
  overflow: hidden;
}
.map-art svg {
  display: block;
  width: 100%;
  height: auto;
}
.map-label {
  position: absolute;
  bottom: 14px;
  left: 16px;
  background: #ffffffed;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 10px;
  color: var(--teal);
}
.route-line {
  animation: route 16s linear infinite;
}
.preview-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
}
.tiny-label {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--teal);
  font-weight: 700;
}
.preview-bottom strong {
  display: block;
  font-size: 16px;
  margin-top: 5px;
}
.preview-bottom p {
  font-size: 12px;
  margin: 4px 0 0;
  color: var(--muted);
}
.preview-arrow {
  background: var(--lime);
  padding: 9px 17px;
  border-radius: 10px;
  font-size: 24px;
}
.illustration-label {
  display: block;
  text-align: center;
  padding: 0 10px 13px;
  font-size: 9px;
  color: var(--muted);
}
.promise-strip {
  display: flex;
  justify-content: center;
  gap: 70px;
  padding: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
}
.how-section {
  max-width: 1240px;
  margin: auto;
  padding: 75px 40px;
}
.section-heading h2,
.closing h2 {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -1.3px;
  margin: 12px 0;
}
.section-heading > p,
.closing p {
  color: var(--muted);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 38px;
}
.steps article {
  border-top: 1px solid #c8d7cf;
  padding-top: 20px;
}
.step-number {
  font-size: 12px;
  color: var(--teal);
  font-weight: 700;
}
.steps h3 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 12px 0;
}
.steps p {
  font-size: 14px;
  color: var(--muted);
  min-height: 94px;
}
.steps a {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
}
.closing {
  max-width: 1160px;
  margin: 0 auto 65px;
  background: var(--navy);
  color: white;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.closing .eyebrow {
  color: var(--lime);
}
.closing p {
  color: #bec9d0;
  margin-bottom: 0;
}
.closing .button {
  background: var(--lime);
  color: var(--navy);
  flex-shrink: 0;
}
footer {
  max-width: 1240px;
  margin: auto;
  padding: 25px 40px 35px;
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
footer p {
  flex: 1;
}
footer .wordmark {
  font-size: 23px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  width: min(440px, calc(100% - 32px));
  color: var(--ink);
  box-shadow: 0 25px 70px #15213730;
}
dialog::backdrop {
  background: #15213799;
  backdrop-filter: blur(5px);
}
.close-dialog {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 26px;
  color: var(--muted);
}
dialog h2 {
  font-size: 27px;
  letter-spacing: -0.8px;
  margin: 12px 0 5px;
}
.auth-description {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 20px;
}
.auth-tabs {
  display: flex;
  background: var(--paper);
  padding: 4px;
  border-radius: 8px;
  margin-bottom: 18px;
}
.auth-tabs button {
  flex: 1;
  border: 0;
  background: none;
  padding: 9px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--muted);
}
.auth-tabs button[aria-pressed="true"] {
  background: white;
  box-shadow: 0 2px 5px #15213710;
  color: var(--teal);
  font-weight: 700;
}
.google-button {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
}
.google-button span {
  margin-right: 8px;
  color: var(--teal);
}
.divider {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  margin: 16px 0;
}
form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 12px 0 5px;
}
form input {
  width: 100%;
  padding: 11px;
  border: 1px solid #d5dfe1;
  border-radius: 7px;
}
form .button {
  width: 100%;
  margin-top: 18px;
}
#authStatus {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.guest-link {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}
.security-note {
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin: 18px 0 0;
}
.security-note a {
  text-decoration: underline;
}
@keyframes route {
  to {
    stroke-dashoffset: -130;
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(15px) rotate(0);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-2deg);
  }
}
@media (max-width: 900px) {
  .intro-hero {
    gap: 30px;
    padding-top: 40px;
  }
  .intro-header {
    padding: 20px 25px;
  }
  nav {
    gap: 16px;
  }
  .closing {
    margin: 0 25px 40px;
  }
  .promise-strip {
    gap: 30px;
  }
  .intro-hero,
  .how-section {
    padding-left: 25px;
    padding-right: 25px;
  }
  h1 {
    letter-spacing: -2px;
  }
  .steps {
    gap: 20px;
  }
}
@media (max-width: 650px) {
  .intro-header {
    flex-wrap: wrap;
    padding: 18px 20px;
  }
  nav {
    gap: 14px;
  }
  nav > a:first-child {
    display: none;
  }
  .wordmark small {
    display: none;
  }
  .intro-hero {
    grid-template-columns: 1fr;
    padding: 30px 20px 40px;
    gap: 36px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .preview {
    transform: none;
    margin: 0 5px;
    animation: none;
  }
  .hero-actions {
    gap: 16px;
  }
  .promise-strip {
    gap: 18px;
    padding: 18px 10px;
    font-size: 11px;
    flex-wrap: wrap;
  }
  .how-section {
    padding: 40px 20px;
  }
  .section-heading h2,
  .closing h2 {
    font-size: 29px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 25px;
  }
  .steps p {
    min-height: 0;
  }
  .closing {
    margin: 0 20px 30px;
    padding: 26px;
    flex-direction: column;
    align-items: start;
  }
  footer {
    padding: 20px;
    gap: 15px;
    flex-wrap: wrap;
  }
  footer p {
    flex-basis: 65%;
  }
  .login-button {
    font-size: 12px;
  }
  .button.small {
    padding: 9px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.account-actions {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}
.account-actions > :is(a, button) {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin: 0;
  text-decoration: none;
}

.truck-gallery {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px;
}
.truck-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.truck-gallery-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}
.truck-gallery-card:hover {
  border-color: var(--teal);
}
.truck-gallery-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.truck-gallery-card > span {
  display: grid;
  gap: 8px;
  padding: 20px;
}
.truck-gallery-card strong {
  font-size: 18px;
}
.truck-gallery-card small {
  color: var(--teal);
  font-size: 12px;
}
@media (max-width: 650px) {
  .truck-gallery {
    padding: 24px 20px;
  }
  .truck-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
