/* Lightweight homepage refresh: local CSS and inline vector art only. */
.page-index {
  --home-ink: #102d46;
  --home-muted: #617487;
  --home-orange: #f49a2f;
  --home-line: #e4ebf0;
}

.page-index .site-nav {
  min-height: 70px;
  border-bottom-color: #e8eef2;
  box-shadow: 0 5px 22px rgba(9, 36, 57, .06);
}

.page-index .brand-logo {
  width: 126px;
}

.page-index .navbar-nav {
  gap: 8px;
}

@media (min-width: 992px) {
  .page-index .site-nav .navbar-collapse {
    position: static;
    left: auto;
    width: auto;
    flex: 1 1 auto;
    justify-content: flex-end;
    transform: none;
  }
}

.page-index .navbar-nav .nav-link {
  padding: 10px 14px;
  border-radius: 8px;
  color: #062235 !important;
  font-size: 1rem;
  transition: color .18s ease, background-color .18s ease, transform .16s ease;
}

.page-index .navbar-nav .nav-link:hover,
.page-index .navbar-nav .nav-link.active {
  color: #062235 !important;
  background: #fff3e3 !important;
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-1px);
}

.page-index .navbar-nav .nav-link.active {
  color: #fff !important;
  background: #0b3a53 !important;
  border-color: #0b3a53;
  box-shadow: inset 0 -3px 0 #f49a2f;
}

.page-index .navbar-nav .nav-link.active:hover {
  color: #fff !important;
  background: #0b3a53 !important;
}

.page-index .hero {
  min-height: min(700px, calc(100svh - 70px));
  isolation: isolate;
  background-color: #071d32 !important;
  background-image: linear-gradient(90deg, rgba(4, 27, 47, .88) 0%, rgba(4, 27, 47, .66) 52%, rgba(4, 27, 47, .32) 100%), url("../images/courier-hero.webp") !important;
  background-blend-mode: normal !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

@media (max-width: 767.98px) {
  .page-index .hero {
    background-image: linear-gradient(180deg, rgba(4, 27, 47, .82) 0%, rgba(4, 27, 47, .54) 100%), url("../images/courier-hero-mobile.webp") !important;
    background-position: center !important;
    background-size: cover !important;
  }
}

.page-index .hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) !important;
  background-size: 56px 56px;
  content: "";
  opacity: .18;
  mask-image: linear-gradient(90deg, transparent, #000 75%);
}

.home-hero-grid {
  display: grid;
  min-height: 630px;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, .94fr);
  align-items: center;
  gap: 30px;
  padding: 38px 0 82px;
}

.home-hero-grid .hero-content {
  max-width: 660px;
  padding: 24px 0;
}

.site-page.page-index .hero.home-hero .home-hero-grid .hero-content {
  max-width: 660px;
  padding: 24px 0;
}

.home-hero-grid .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffc06b;
  font-size: .74rem;
  letter-spacing: .15em;
}

.home-hero-grid .section-kicker::before {
  width: 28px;
  height: 2px;
  background: var(--home-orange);
  content: "";
}

.home-hero-grid h1 {
  max-width: 700px;
  margin: 18px 0;
  color: #fff;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.site-page.page-index .hero.home-hero .home-hero-grid h1 {
  max-width: 700px;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  letter-spacing: -.055em;
  line-height: 1.02;
}

.home-hero-grid h1 em {
  color: #ffad45;
  font-style: normal;
}

.site-page.page-index .hero.home-hero .home-hero-grid h1 em {
  color: #ffad45;
}

.home-hero-grid .hero-content > p {
  max-width: 560px;
  margin: 0;
  color: #d6e2ec;
  font-size: clamp(.98rem, 1.15vw, 1.08rem);
  line-height: 1.75;
}

.home-hero-grid .hero-actions {
  gap: 12px;
  margin-top: 27px;
}

.home-hero-grid .hero-actions .btn {
  min-height: 48px;
  padding: 0 19px;
  border-radius: 10px;
  font-size: .9rem;
}

.home-hero-grid .hero-actions .btn-orange {
  border-color: var(--home-orange);
  background: var(--home-orange);
  box-shadow: 0 8px 22px rgba(244,154,47,.22);
}

.home-hero-grid .hero-actions .btn-orange:hover {
  background: #ffb34e;
}

.home-hero-grid .btn-brand-outline {
  background: rgba(255,255,255,.04);
}

.home-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 30px;
  color: #ccdae5;
  font-size: .77rem;
}

.home-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-proof i {
  color: #ffad45;
}

.home-proof b {
  color: #fff;
}

.route-art {
  position: relative;
  width: min(100%, 510px);
  height: 420px;
  margin: auto;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 46% 40% 43% 40%;
  background: radial-gradient(ellipse at 50% 48%, rgba(36,109,151,.5), rgba(6,29,49,.08) 70%);
  box-shadow: inset 0 0 65px rgba(255,255,255,.035);
}

.route-world {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(218,239,252,.16);
  font-size: clamp(12rem, 22vw, 16rem);
}

.route-orbit {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  transform: rotate(-26deg) scaleY(.52);
}

.route-orbit.orbit-two {
  inset: 2% 24%;
  transform: rotate(40deg) scaleY(.65);
}

.route-path {
  position: absolute;
  inset: 20% 8%;
  width: 84%;
  height: 60%;
  overflow: visible;
}

.route-path path {
  fill: none;
  stroke: #ff9b27;
  stroke-dasharray: 7 8;
  stroke-width: 2.5;
}

.route-path circle {
  fill: #ff9b27;
  stroke: #fff;
  stroke-width: 2;
}

.route-plane {
  position: absolute;
  top: 37%;
  left: 53%;
  color: #ffad45;
  font-size: 1.85rem;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.4));
  transform: rotate(16deg);
}

.route-label {
  position: absolute;
  display: grid;
  gap: 3px;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  background: rgba(5,25,43,.78);
}

.route-label b {
  color: #ffad45;
  font-size: .68rem;
  letter-spacing: .1em;
}

.route-label span {
  color: #e7f0f7;
  font-size: .73rem;
}

.route-origin { left: 6%; bottom: 22%; }
.route-destination { top: 21%; right: 4%; }

.route-note {
  position: absolute;
  right: 7%;
  bottom: 7%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 12px;
  color: #102d46;
  background: #fff;
  box-shadow: 0 12px 34px rgba(4,20,34,.3);
  font-size: .74rem;
  line-height: 1.4;
}

.route-note > i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: #e98413;
  background: #fff0da;
  font-size: 1.05rem;
}

.route-note b { font-size: .82rem; }

.page-index .quick-track {
  position: relative;
  z-index: 2;
  margin-top: -62px;
}

.page-index .quick-track-panel {
  padding: 25px 28px;
  border: 1px solid #e4ebf0;
  border-top: 3px solid var(--home-orange);
  border-radius: 17px;
  background: linear-gradient(115deg, #fff, #f7fbfe);
  box-shadow: 0 18px 48px rgba(9,37,58,.16);
}

.page-index .quick-track-copy {
  display: flex;
  align-items: center;
  gap: 13px;
}

.page-index .quick-track-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 14px;
  color: #d8750a;
  background: #fff0dc;
  font-size: 19px;
}

.page-index .quick-track-kicker {
  display: block;
  margin-bottom: 3px;
  color: #c96b0c;
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.page-index .quick-track-panel h2 {
  margin: 0 0 3px;
  color: var(--home-ink);
  font-size: 1.25rem;
  font-weight: 800;
}

.page-index .quick-track-panel p {
  color: var(--home-muted);
  font-size: .82rem;
}

.page-index .quick-track-panel .input-group {
  padding: 4px;
  border: 1px solid #dce6ed;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(14,47,70,.06);
}

.page-index .quick-track-panel .form-control {
  min-height: 48px;
  padding-left: 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: .9rem;
}

.page-index .quick-track-panel .btn {
  min-width: 118px;
  border: 0;
  border-radius: 9px;
  color: #10283c !important;
  background: var(--home-orange) !important;
  font-weight: 800;
}

.page-index .quick-track-panel .btn:hover { background: #ffad45 !important; }

.page-index .home-features {
  padding-top: 78px;
}

.page-index .section-kicker {
  color: #c96b0c;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.page-index .section-title {
  color: var(--home-ink);
  letter-spacing: -.035em;
}

.page-index .lead-copy {
  color: var(--home-muted);
}

.page-index .feature-card {
  height: 100%;
  padding: 25px;
  border: 1px solid var(--home-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(12,43,65,.045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.page-index .feature-card:hover {
  transform: translateY(-3px);
  border-color: #f0c99f;
  box-shadow: 0 13px 30px rgba(12,43,65,.09);
}

.page-index .feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  color: #cc700f;
  background: #fff2e2;
}

.page-index .feature-card h3 {
  margin: 17px 0 8px;
  color: var(--home-ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.page-index .feature-card p {
  margin: 0;
  color: var(--home-muted);
  font-size: .88rem;
  line-height: 1.65;
}

.page-index .home-about {
  background: #f4f7fa;
}

.page-index .about-image {
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(11,39,59,.14);
}

.page-index .site-footer {
  background: #071f32;
}

@media (max-width: 991.98px) {
  .home-hero-grid {
    min-height: 590px;
    grid-template-columns: minmax(0,1.05fr) minmax(270px,.95fr);
    gap: 12px;
  }
  .route-art { height: 340px; }
  .route-world { font-size: 12rem; }
  .page-index .quick-track-panel { padding: 21px; }
}

@media (max-width: 767.98px) {
  .page-index .site-nav { min-height: 62px; }
  .page-index .brand-logo { width: 108px; }
  .page-index .navbar-toggler { border: 1px solid #dce6ed; border-radius: 9px; }
  .home-hero-grid {
    min-height: auto;
    grid-template-columns: minmax(0,1fr);
    gap: 0;
    padding: 30px 0 65px;
  }
  .home-hero-grid .hero-content { padding: 12px 0 9px; }
  .home-hero-grid h1 { max-width: 600px; font-size: clamp(2.55rem,10.5vw,4rem); }
  .site-page.page-index .hero.home-hero .home-hero-grid .hero-content { padding: 12px 0 9px; }
  .site-page.page-index .hero.home-hero .home-hero-grid h1 { max-width: 600px; font-size: clamp(2.25rem,8.5vw,3.25rem); }
  .home-hero-grid .hero-content > p { font-size: .95rem; }
  .home-hero-grid .hero-actions { margin-top: 21px; }
  .home-proof { gap: 9px 16px; margin-top: 22px; font-size: .72rem; }
  .route-art { width: min(100%,430px); height: 275px; margin-top: 4px; }
  .route-world { font-size: 10rem; }
  .route-origin { left: 2%; bottom: 15%; }
  .route-destination { top: 12%; right: 2%; }
  .route-note { right: 2%; bottom: 2%; }
  .page-index .quick-track { margin-top: -29px; }
  .page-index .quick-track-panel { padding: 19px 16px; border-radius: 15px; }
  .page-index .quick-track-copy { align-items: flex-start; margin-bottom: 14px; }
  .page-index .quick-track-icon { width: 42px; height: 42px; flex-basis: 42px; }
  .page-index .quick-track-panel .input-group { flex-wrap: nowrap; }
  .page-index .quick-track-panel .form-control { min-width: 0; padding-left: 10px; font-size: .78rem; }
  .page-index .quick-track-panel .btn { min-width: 92px; padding: 0 11px; font-size: .82rem; }
  .page-index .home-features { padding-top: 45px; }
  .page-index .feature-card { padding: 20px; }
  .page-index .home-about .row { gap: 20px !important; }
}

@media (max-width: 380px) {
  .home-hero-grid h1 { font-size: 2.4rem; }
  .site-page.page-index .hero.home-hero .home-hero-grid h1 { font-size: 2.25rem; }
  .home-hero-grid .hero-actions .btn { padding: 0 13px; font-size: .82rem; }
  .page-index .quick-track-panel .btn { min-width: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-index .navbar-nav .nav-link,
  .page-index .feature-card { transition: none; }
}
