@import url("sections.css?v=people");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #e8eef6;
  color: #0f172a;
  font-family: "Segoe UI", system-ui, sans-serif;
}

#top,
#speed,
#features,
#catalogs,
#yard,
#system,
#about,
#pricing,
#customers,
#demo {
  scroll-margin-top: 5.5rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: #0f172a;
  color: #ffffff;
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip-link:focus {
  top: 0.5rem;
}

.draft-banner {
  margin: 0;
  background: #1e3a5f;
  color: #e8eef6;
  text-align: center;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
}

.site-bar {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  background: #ffffff;
  border-radius: 8px;
  padding: 0.15rem 0.4rem;
}

.brand img {
  display: block;
  height: 52px;
  width: auto;
}

.nav-toggle {
  display: none;
  margin: 0.7rem 0;
  background: transparent;
  color: #e8eef6;
  border: 1px solid #4a7ab8;
  border-radius: 8px;
  min-height: 44px;
  padding: 0 0.9rem;
  font: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0;
}

.site-nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.nav-demo {
  background: #4a7ab8;
  color: #ffffff !important;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
}

.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 1.5rem 0 2rem;
}

.site-footer .site-bar {
  display: block;
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer a {
  color: #e8eef6;
}

.site-footer .site-bar.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1.4fr 0.8fr 0.6fr;
  gap: 2rem 2.5rem;
  align-items: start;
}

.site-footer .brand {
  display: inline-block;
  margin: 0 0 0.85rem;
}

.site-footer .brand img {
  height: 36px;
}

.site-footer h2 {
  margin: 0 0 0.85rem;
  color: #e8eef6;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-person {
  margin: 0 0 1rem;
  line-height: 1.45;
}

.footer-person strong {
  color: #e8eef6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-links a:hover,
.footer-person a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid #1e293b;
  font-size: 0.85rem;
}

.legal {
  display: block;
  max-width: 40rem;
  margin: 0 auto;
  padding: 3.5rem 0 4.5rem;
}

.legal h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.legal .legal-lead {
  margin: 0 0 1.75rem;
  color: #64748b;
}

.legal h2 {
  margin: 1.75rem 0 0.45rem;
  font-size: 1.05rem;
}

.legal p {
  margin: 0.45rem 0;
  line-height: 1.6;
}

#features,
#yard,
#customers {
  background: #e8eef6;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #0f172a;
    padding: 0.5rem 1rem 1rem;
    border-bottom: 1px solid #1e293b;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-header {
    position: sticky;
  }

  .site-bar {
    flex-wrap: wrap;
  }

  .site-footer .site-bar.footer-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

main {
  min-height: calc(100vh - 9rem);
}

.page-stop {
  margin: 3rem 0 1rem;
  background: transparent;
  text-align: center;
}

.page-stop a {
  background: transparent;
  color: #1e3a5f;
  text-decoration: underline;
}

.site-nav a[aria-current="page"]:not(.nav-demo) {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}
