/* Navigation and mobile presentation */
.site-header {
  position: sticky;
  inset: auto;
  top: 0;
  z-index: 100;
  height: 88px;
  background: rgba(7, 9, 12, .97);
  border-bottom: 2px solid var(--orange);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .3);
  backdrop-filter: blur(18px);
}
.brand { width: 242px; }
.site-nav { gap: 29px; font-size: 13px; font-weight: 700; }
.site-nav > a:not(.nav-cta) { padding-block: 14px; }
.site-nav > a:not(.nav-cta):hover,
.site-nav > a:not(.nav-cta):focus-visible { color: var(--orange); }
.nav-cta {
  background: var(--orange);
  border-color: var(--orange);
  color: #111;
  font-size: 12px;
  padding: 17px 20px;
}
.nav-cta:hover, .nav-cta:focus-visible { background: #ffad52; border-color: #ffad52; }
section[id] { scroll-margin-top: 102px; }

/* The official relationship is explained in the hero, alongside Copart's approved artwork. */
.hero-content { padding-top: 0; }
.hero-bottom { justify-content: flex-end; }
.hero-copy { margin-bottom: 24px; }
.copart-affiliation {
  width: fit-content;
  max-width: 580px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 27px;
  padding: 12px 19px;
  background: rgba(6, 9, 12, .85);
  border-left: 3px solid var(--orange);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}
.copart-affiliation p { margin: 0; font-size: 15px; line-height: 1.45; color: #e7e9ec; }
.copart-affiliation strong { color: #fff; font-weight: 700; }
.copart-affiliation img { flex: none; width: 145px; height: auto; }
.process-step { grid-template-columns: 1fr 26px; border-left: 3px solid var(--orange); padding-left: 20px; }
.check-card::before { content: ''; display: block; width: 39px; height: 3px; background: var(--orange); margin-bottom: 38px; }
.check-card { min-height: 252px; }

@media (max-width: 1050px) {
  .brand { width: 205px; }
  .site-nav { gap: 16px; font-size: 12px; }
  .nav-cta { font-size: 11px; padding-inline: 15px; }
}

@media (max-width: 760px) {
  .site-header { height: 76px; }
  .brand { width: 192px; }
  .menu-toggle {
    width: auto;
    min-width: 96px;
    height: 45px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 11px;
    background: var(--orange);
    border: 1px solid var(--orange);
    color: #111;
  }
  .menu-label { font-size: 11px; font-weight: 800; letter-spacing: .1em; }
  .menu-bars { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 19px; height: 21px; }
  .menu-bars span { display: block; width: 19px; height: 2px; background: #111; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] .menu-bars span:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-bars span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    padding: 14px 20px 25px;
    background: #0a0c10;
    border-bottom: 2px solid var(--orange);
    box-shadow: 0 24px 35px rgba(0, 0, 0, .45);
  }
  .site-nav > a:not(.nav-cta) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    padding: 18px 7px;
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.02em;
  }
  .site-nav > a:not(.nav-cta)::after { content: '↗'; color: var(--orange); font-size: 22px; font-weight: 400; }
  .site-nav .nav-cta { width: 100%; min-height: 54px; margin-top: 18px; padding: 16px 17px; border-color: var(--orange); font-size: 12px; }
  .hero { min-height: 755px; }
  .hero-content { padding-top: 100px; padding-bottom: 115px; }
  .hero-image { background-position: 68% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(4,6,9,.97) 0%, rgba(4,6,9,.67) 49%, rgba(4,6,9,.09) 100%); }
  .copart-affiliation { width: 100%; max-width: 455px; padding: 11px 13px; gap: 13px; }
  .copart-affiliation p { font-size: 13px; }
  .copart-affiliation img { width: 122px; }
  .process-step { grid-template-columns: 1fr 20px; }
  .check-card { min-height: 0; }
  .check-card::before { margin-bottom: 25px; }
}

@media (max-width: 520px) {
  .brand { width: 170px; }
  .menu-toggle { min-width: 89px; }
  .hero { min-height: 0; }
  .hero-content { padding-top: 125px; padding-bottom: 122px; }
  .hero-image { background-position: 64% center; }
  .hero h1 { font-size: clamp(47px, 11.7vw, 63px); }
  .hero-copy { font-size: 15px; }
  .copart-affiliation { margin-bottom: 24px; }
  .hero-actions { gap: 10px; }
}

/* Footer */
.site-footer {
  background: #000;
  border-top: 3px solid var(--orange);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(50px, 9vw, 150px);
  align-items: start;
  padding: 78px 0 76px;
}
.footer-identity { min-width: 0; }
.footer-brand { display: inline-block; width: min(100%, 315px); }
.footer-brand img { display: block; width: 100%; height: auto; }
.footer-identity p {
  max-width: 390px;
  margin: 25px 0 23px;
  color: #b9bdc3;
  font-size: 15px;
  line-height: 1.65;
}
.footer-affiliation {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e8eaed;
  font-size: 13px;
  font-weight: 600;
}
.footer-affiliation::before { content: ''; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }
.footer-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; }
.footer-column h2 {
  margin: 0 0 25px;
  color: #fff;
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.footer-column a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 16px;
  color: #aeb3ba;
  font-size: 13px;
  line-height: 1.45;
  transition: color .2s;
}
.footer-column a:hover, .footer-column a:focus-visible { color: #fff; }
.footer-column a span { color: var(--orange); font-size: 16px; line-height: 1; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 30px;
  border-top: 1px solid #292b2e;
  color: #8e939b;
  font-size: 11px;
  line-height: 1.5;
}
.footer-top { white-space: nowrap; color: #e8eaed; margin: 0; font-size: 11px; }
.footer-top span { color: var(--orange); font-size: 18px; }

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr; gap: 48px; padding: 62px 0; }
  .footer-navigation { max-width: 620px; }
  .footer-bottom { flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .footer-main { display: block; padding: 55px 0 46px; }
  .footer-brand { width: min(100%, 275px); }
  .footer-identity p { margin: 20px 0 18px; font-size: 14px; }
  .footer-navigation { grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 45px; }
  .footer-column h2 { font-size: 14px; margin-bottom: 20px; }
  .footer-column a { font-size: 12px; margin-bottom: 15px; }
  .footer-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 24px 0 28px; }
  .footer-bottom > * { margin: 0; }
  .footer-top { margin-top: 12px; }
}
