* {
  box-sizing: border-box;
}
:root {
  color-scheme: light;
  font-family: Inter, 'Segoe UI', sans-serif;
  color: #172f32;
  background: #f4f7f6;
  font-size: 16px;
}
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
header,
footer {
  background: #f4f7f6;
}
header {
  border-bottom: 1px solid #d7e2dd;
}
.bar {
  width: min(1120px, 90%);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 12px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #153033;
  font-weight: 750;
  font-size: 25px;
  letter-spacing: -0.055em;
  text-decoration: none;
}
.wordmark img {
  width: 32px;
  height: 32px;
}
#environment,
footer {
  color: #45665e;
  font-size: 0.86rem;
}
#environment {
  display: flex;
  align-items: center;
  gap: 8px;
}
#environment::before {
  content: '';
  border-radius: 100%;
  width: 8px;
  height: 8px;
  background: #228168;
}
main {
  flex: 1;
  width: min(1000px, 90%);
  margin: clamp(34px, 8vh, 90px) auto;
}
main:focus {
  outline: 0;
}
footer {
  border-top: 1px solid #d7e2dd;
}
footer .bar {
  min-height: 54px;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(28px, 6vw, 90px);
}
h1,
h2,
h3,
p {
  margin: 0 0 0.7em;
}
h1 {
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  font-weight: 650;
  overflow-wrap: anywhere;
}
h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}
h3 {
  font-size: 19px;
  letter-spacing: -0.025em;
}
p {
  line-height: 1.55;
  color: #45615a;
}
small {
  color: #48645c;
}
.card {
  padding: clamp(20px, 3.6vw, 38px);
  background: white;
  border: 1px solid #d2dfd8;
  border-radius: 18px;
  box-shadow: 0 7px 26px #0e382808;
  margin-bottom: 18px;
  min-width: 0;
}
.hero {
  padding: 22px 0;
}
.hero p {
  max-width: 36ch;
}
.hero img {
  width: min(100%, 285px);
  margin-top: 22px;
}
form,
.stack {
  display: grid;
  gap: 14px;
}
label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
}
input,
select,
textarea,
button {
  font: inherit;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #aebfb8;
  color: inherit;
  background: #fff;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
button,
a.action {
  cursor: pointer;
  padding: 11px 16px;
  border: 1px solid #184a42;
  background: #184a42;
  color: white;
  border-radius: 9px;
  font-weight: 650;
  font-size: 0.95rem;
}
button.secondary {
  background: white;
  color: #184a42;
  border-color: #b8ccc3;
}
button.minor {
  color: #235b50;
  background: transparent;
  border: 0;
  padding: 5px 0;
  text-decoration: underline;
}
button:hover:enabled {
  filter: brightness(0.94);
}
button:disabled {
  cursor: default;
  opacity: 0.58;
}
:focus-visible {
  outline: 3px solid #4c78df;
  outline-offset: 3px;
}
.switch {
  display: flex;
  gap: 5px;
  background: #edf3ef;
  border-radius: 9px;
  padding: 4px;
  margin-bottom: 21px;
}
.switch button {
  background: transparent;
  border: none;
  color: #36594e;
  flex: 1;
  padding: 8px;
  font-size: 0.88rem;
}
.switch button[aria-pressed='true'] {
  background: white;
  color: #143f35;
  box-shadow: 0 1px 5px #14352526;
}
.divider {
  border-top: 1px solid #dbe5df;
  padding-top: 16px;
  margin-top: 18px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.status {
  margin-top: 14px;
  color: #813d21;
  overflow-wrap: anywhere;
}
.status:empty {
  margin: 0;
}
.tile {
  padding: 14px 0;
  display: grid;
  gap: 6px;
  border-top: 1px solid #e0e7e2;
  overflow-wrap: anywhere;
}
.tile h3,
.tile p {
  margin-bottom: 2px;
}
code {
  overflow-wrap: anywhere;
  font-size: 0.86em;
}
a {
  color: #185447;
}
@media (max-width: 720px) {
  main {
    margin: 25px auto;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .hero {
    padding: 8px 0;
  }
  .hero img {
    display: none;
  }
  .bar {
    min-height: 62px;
  }
}
#nav,
footer nav,
.actions,
.split {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
#nav a,
footer nav a {
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  color: #183f48;
}
#nav a:hover,
footer a:hover {
  text-decoration: underline;
}
#notice {
  position: sticky;
  top: 0;
  z-index: 6;
  margin: 0;
  background: #fff3d6;
  color: #493811;
  text-align: center;
  font-weight: 600;
}
#notice:not(:empty) {
  padding: 12px;
  border-bottom: 1px solid #cbad64;
}
main {
  width: min(1100px, 92%);
  margin: 38px auto 60px;
}
.pagehead {
  margin-bottom: 24px;
}
.pagehead h1,
h1 {
  font-size: clamp(32px, 5vw, 58px);
  color: #153b4b;
}
.eyebrow {
  color: #236c61;
  letter-spacing: 0.08em;
  font-size: 0.84rem;
  font-weight: 750;
  text-transform: uppercase;
}
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.route-card {
  background: #f6fbf9;
}
.route-card small {
  display: block;
  margin-top: 15px;
  color: #48635e;
}
.route-card canvas {
  width: 100%;
  border-radius: 12px;
  background: #e8f1ed;
}
canvas {
  max-width: 100%;
  height: auto;
}
.quote-price {
  font-weight: 750;
  font-size: 2.5rem;
  letter-spacing: -0.055em;
  color: #14394d;
  margin: 9px 0;
}
.quote-price small {
  font-size: 0.84rem;
  display: inline;
}
a.action {
  display: inline-block;
  text-decoration: none;
}
button,
a.action {
  min-height: 44px;
}
.action.secondary {
  background: white;
  color: #17493e;
}
.stop-input,
.parcel,
fieldset,
details {
  border: 1px solid #cfdfd8;
  border-radius: 10px;
  padding: 14px;
  margin: 8px 0;
}
.stop-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px;
  gap: 10px;
}
.stop-input button {
  grid-column: 1/-1;
}
.parcel > form,
details > form {
  margin: 14px 0;
}
.measures,
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.metrics {
  margin: 18px 0;
}
.metrics div {
  background: white;
  border: 1px solid #d1e1dc;
  border-radius: 12px;
  padding: 15px;
}
.metrics strong,
.metrics small {
  display: block;
}
.metrics strong {
  font-size: 1.6rem;
}
.tag {
  display: inline-block;
  border-radius: 6px;
  padding: 3px 9px;
  background: #e3efeb;
  color: #215440;
  font-size: 0.86rem;
  font-weight: 650;
}
.split {
  justify-content: space-between;
}
.split h2,
.split h3 {
  margin-bottom: 0;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.check input {
  width: 18px;
  height: 18px;
}
.pin {
  max-width: 210px;
}
summary {
  cursor: pointer;
  font-weight: 650;
  padding: 4px;
}
video {
  max-width: 80vw;
  max-height: 60vh;
}
code {
  word-break: break-word;
}
.inline {
  display: flex;
  gap: 10px;
  align-items: end;
}
.inline label {
  flex: 1;
}
.tile {
  padding: 13px 0;
}
#details {
  display: block;
}
form .card,
fieldset {
  display: grid;
  gap: 10px;
}
.card .actions {
  margin: 10px 0;
}
.card form + form {
  margin-top: 18px;
}
label,
button {
  line-height: 1.35;
}
@media (max-width: 740px) {
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .bar {
    width: 92%;
    flex-wrap: wrap;
    padding: 9px 0;
  }
  .wordmark {
    font-size: 22px;
  }
  #nav {
    gap: 10px;
  }
  #nav a,
  footer nav a {
    font-size: 0.84rem;
  }
  .metrics,
  .measures {
    grid-template-columns: 1fr 1fr;
  }
  .card {
    padding: 18px;
  }
  .pagehead {
    margin-bottom: 16px;
  }
  main {
    margin-top: 24px;
  }
  .stop-input {
    grid-template-columns: minmax(0, 1fr) 66px;
  }
}
.route-card iframe {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 12px;
}
.pin canvas {
  display: block;
  width: 100%;
}
.parcel img {
  border-radius: 8px;
  max-height: 100px;
  object-fit: contain;
}

.single-booking {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(250px, .85fr);
  gap: 22px;
  align-items: start;
}
.single-booking .card > label, .single-booking .address-field, .contact-pair { margin-top: 14px; }
.contact-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.address-field { position: relative; }
.address-field input { margin-top: 6px; }
.address-map { display: inline-block; font-size: .83rem; margin-top: 5px; }
.address-map[hidden], .address-choices[hidden] { display: none; }
.address-choices {
  list-style: none; padding: 4px; margin: 0; max-height: 250px; overflow-y: auto;
  position: absolute; top: 72px; width: 100%; z-index: 4;
  border: 1px solid #9aafa9; background: white; border-radius: 10px;
  box-shadow: 0 5px 15px #16382924;
}
.address-choices li { padding: 10px; cursor: pointer; }
.address-choices li[aria-selected=true], .address-choices li[role=option]:hover { background: #e3eee9; }
.maps-credit, .parcel-policy { font-size: .82rem; color: #445d56; }
.parcel-policy { margin-top: 15px; }
.single-booking button[type=submit], .single-booking #next-checkout { width: 100%; }
@media (max-width: 740px) {
  .single-booking, .contact-pair { grid-template-columns: 1fr; gap: 10px; }
}
