:root {
  color-scheme: light;
  --ink: #102a44;
  --muted: #485d6c;
  --green: #196b53;
  --pale: #f3f8f4;
  --line: #d8e3dc;
  --white: #fff;
  font: 100%/1.55 "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid #047b65; outline-offset: 4px; }
.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 3;
  padding: .65rem 1rem;
  color: var(--white);
  background: var(--ink);
}
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 5rem, 76rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid #e2eae5; }
.header-inner, nav, .brand, .actions {
  display: flex;
  align-items: center;
}
.header-inner { justify-content: space-between; gap: 1rem; min-height: 4.75rem; }
.brand { gap: .25rem; text-decoration: none; font-size: 1.48rem; font-weight: 800; letter-spacing: -.045em; }
.brand-mark { display: block; width: 2.63rem; height: 2.23rem; overflow: hidden; position: relative; }
.brand-mark img { position: absolute; left: -.45rem; top: -.13rem; max-width: none; }
nav { gap: clamp(1rem, 3vw, 2.35rem); }
.nav-link { font-weight: 600; text-decoration: none; }
.nav-link:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .22em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .65rem 1.08rem;
  border-radius: .48rem;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.28;
  text-align: center;
  text-decoration: none;
}
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: #204561; }
.button-outline { border-color: #b8c9c3; background: var(--white); }
.button-outline:hover { background: #ebf4ee; }
.button-white { background: var(--white); color: var(--ink); align-self: center; }
.button-white:hover { background: #e0f3e8; }
.button-white:focus-visible { outline-color: #e1faeb; }
.hero { background: var(--pale); border-bottom: 1px solid var(--line); }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1.7rem, 5vw, 5rem);
  padding-block: clamp(3.5rem, 7vw, 6.35rem);
}
.category {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .95rem;
  font-size: .96rem;
  font-weight: 700;
  color: #306550;
}
.category span { width: .72rem; height: .72rem; border: 2px solid #438c68; border-radius: 50%; }
h1, h2, h3 { line-height: 1.12; margin: 0; }
h1 { font-size: clamp(3.2rem, 5vw, 4.6rem); letter-spacing: -.058em; font-weight: 800; }
.intro { color: var(--muted); margin: 1.35rem 0 1.65rem; font-size: clamp(1.05rem, 1.7vw, 1.21rem); max-width: 30rem; }
.actions { gap: .68rem; flex-wrap: wrap; }
.route-demo {
  position: relative;
  margin: 0;
  border: 1px solid #c9d8d1;
  overflow: hidden;
  border-radius: 1.05rem;
  background: var(--white);
  box-shadow: 0 21px 42px #10463513, 0 4px 12px #1046350b;
  scroll-margin-top: 1rem;
}
.demo-top { display: flex; gap: .5rem; align-items: center; justify-content: space-between; padding: 1rem 1.12rem; }
.demo-top h2 { font-size: 1.14rem; letter-spacing: -.025em; }
.demo-top p { margin: .23rem 0 0; color: var(--muted); font-size: .86rem; }
.demo-tag {
  border: 1px solid #d8e8dd;
  background: #edf6ef;
  color: #2c624c;
  border-radius: 2rem;
  font-size: .79rem;
  font-weight: 700;
  padding: .28rem .6rem;
}
.map { aspect-ratio: 740 / 340; position: relative; background: #e5efde; overflow: hidden; }
.map canvas { display: block; width: 100%; height: 100%; }
.map-marker {
  position: absolute;
  top: var(--y);
  left: var(--x);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 1.95rem;
  height: 1.95rem;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 6px #17345144;
  font-weight: 750;
  font-size: .82rem;
}
.map-marker.is-selected {
  box-shadow: 0 0 0 4px #ffffffa8, 0 0 0 8px #237ea52c, 0 4px 12px #17345148;
  z-index: 1;
}
.map-caption {
  position: absolute;
  bottom: .35rem;
  right: .4rem;
  color: #435b56;
  background: #ffffffdf;
  font-size: .72rem;
  border-radius: .2rem;
  padding: .08rem .29rem;
}
.delivered { background: #d9f3df; color: #176447; }
.visiting { background: #0f527b; color: var(--white); }
.pending { background: #ffe4aa; color: #6f3c05; }
.stops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: .56rem; gap: .25rem; margin: 0; }
.stop {
  display: flex;
  align-items: center;
  text-align: left;
  gap: .5rem;
  width: 100%;
  height: 100%;
  padding: .52rem .38rem;
  color: var(--ink);
  line-height: 1.25;
  background: transparent;
  border: 1px solid transparent;
  border-radius: .43rem;
  cursor: pointer;
}
.stop:hover { background: #f3f7f8; }
.stop[aria-pressed="true"] { border-color: #c7dfe9; background: #edf6fa; }
.stop:focus-visible { outline-offset: -2px; }
.stop-number { display: grid; place-items: center; flex: 0 0 1.48rem; height: 1.48rem; font-size: .76rem; border-radius: 50%; font-weight: 800; }
.stop strong { display: block; font-size: .87rem; }
.stop small { display: block; margin-top: .2rem; font-size: .76rem; color: var(--muted); }
.workflow { padding-block: clamp(2.9rem, 6vw, 5.1rem); scroll-margin-top: 1rem; }
.workflow h2, .access h2 { font-size: clamp(1.75rem, 3.4vw, 2.8rem); letter-spacing: -.044em; }
.stages { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 1.6rem 0 0; border-top: 1px solid var(--line); }
.stages li { padding: 1.3rem clamp(.85rem, 2.5vw, 2.2rem) 0; }
.stages li:first-child { padding-left: 0; }
.stages li+li { border-left: 1px solid var(--line); }
.stage-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .64rem; font-weight: 800; font-size: 1.3rem; }
.stage-route { background: #ecf0f9; color: #17446b; }
.stage-stop { background: #def1e4; color: var(--green); }
.stage-close { background: #fff0d8; color: #8c4b10; }
.stages h3 { margin-top: .85rem; font-size: 1.2rem; }
.stages p { margin: .52rem 0 0; color: var(--muted); max-width: 27ch; }
.access {
  display: flex;
  justify-content: space-between;
  gap: 1.35rem;
  padding: clamp(1.4rem, 4vw, 3rem);
  border-radius: .85rem;
  background: #173955;
  color: var(--white);
}
.access p { margin: .6rem 0 0; color: #e0edf4; }
.access .button { flex: 0 0 auto; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 2rem; color: var(--muted); font-size: .91rem; }
.site-footer span { color: var(--ink); font-weight: 800; }
.site-footer a { text-underline-offset: .19em; }
@media (max-width: 940px) {
  .wrap { width: min(100% - 3rem, 76rem); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 2.1rem; }
  h1 br { display: none; }
  .route-demo { width: min(100%, 43rem); }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.25rem; }
  .nav-link { display: none; }
  .hero-inner { padding-block: 2.85rem; }
  h1 { font-size: clamp(2.75rem, 11.6vw, 4rem); }
  .map { aspect-ratio: 1.85; }
  .stops { grid-template-columns: 1fr; }
  .stop { min-height: 2.64rem; padding-inline: .65rem; }
  .stop strong, .stop small { display: inline; }
  .stop small { margin-left: .25rem; }
  .stages { grid-template-columns: 1fr; }
  .stages li, .stages li:first-child { padding: 1.1rem 0; }
  .stages li+li { border-left: 0; border-top: 1px solid var(--line); }
  .stages p { max-width: 42ch; }
  .access { flex-direction: column; }
  .access .button { align-self: flex-start; }
}
