/* Courier page layout. Shared navigation and buttons are in styles.css. */
.page--couriers {
  --courier-accent: var(--green-dark);
  --courier-soft: #eef6eb;
}
.courier-hero {
  position: relative;
  min-height: 46vw;
  padding: clamp(34px, 3.5vw, 54px) 4.8vw 4.6vw;
  background: #fff;
}
.courier-hero__photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 53%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.courier-hero__copy {
  position: relative;
  width: 50.5%;
  max-width: 760px;
}
.page--couriers .eyebrow {
  font-size: clamp(13px, 1.15vw, 17px);
  letter-spacing: 0;
  margin-bottom: 10px;
}
.courier-hero h1 {
  font-size: clamp(36px, 4.2vw, 63px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin-bottom: 16px;
}
.courier-hero h1 span {
  color: var(--courier-accent);
}
.courier-hero__copy > p:not(.eyebrow) {
  max-width: 49ch;
  font-size: clamp(15px, 1.35vw, 20px);
  line-height: 1.45;
  color: #26323a;
  margin-bottom: 18px;
}
.courier-cta {
  font-size: clamp(14px, 1.3vw, 19px);
  font-weight: 600;
  padding: 17px 26px;
  white-space: normal;
  text-align: center;
  justify-content: center;
}
.courier-hero__copy .courier-cta {
  margin-top: 5px;
}
.courier-hero__phone {
  position: absolute;
  width: 24%;
  max-width: 315px;
  margin: 0;
  top: 0;
  left: 50.4%;
  z-index: 1;
}
.courier-hero__phone > img {
  width: 100%;
  height: auto;
}

.courier-challenges {
  padding: 24px 4.8vw 20px;
  background: #fafbfc;
  border-top: 1px solid #e5e9eb;
}
.courier-challenges__heading {
  max-width: 49%;
  margin-bottom: 26px;
}
.courier-challenges h2 {
  font-size: clamp(28px, 3.1vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin-bottom: 6px;
}
.courier-challenges__heading p {
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.5;
  color: #26323a;
}
.courier-challenges__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  text-align: center;
}
.courier-challenges__grid article {
  padding: 0 16px;
  border-left: 1px solid #d5dade;
}
.courier-challenges__grid article:first-child {
  border-left: 0;
}
.courier-challenge-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffeded;
  border-radius: 50%;
  width: clamp(72px, 7vw, 100px);
  height: clamp(72px, 7vw, 100px);
  margin: 0 auto 9px;
}
.courier-challenge-icon img {
  width: 68%;
  height: 68%;
}
.courier-challenges h3 {
  font-size: clamp(14px, 1.35vw, 19px);
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.courier-challenges__grid p {
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.45;
  color: #26323a;
}
.courier-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fafbfc;
}
.courier-benefit {
  display: grid;
  grid-template-columns: clamp(64px, 6.25vw, 90px) minmax(0, 1fr);
  gap: 12px 2vw;
  align-content: start;
  padding: 26px 4.8vw;
  border-top: 1px solid #e5e9eb;
}
.courier-benefit:nth-child(even) {
  border-left: 1px solid #e5e9eb;
}
.courier-benefit__icon {
  width: clamp(64px, 6.25vw, 90px);
  height: clamp(64px, 6.25vw, 90px);
}
.courier-benefit h2,
.courier-network h2 {
  font-size: clamp(23px, 2.25vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}
.courier-benefit p,
.courier-network p {
  color: #26323a;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.45;
}
.courier-benefit p + p {
  margin-top: 7px;
}
.courier-rules-callout {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 20px;
  border-radius: 6px;
  background: var(--courier-soft);
}
.courier-rules-callout img {
  width: 52px;
  height: 52px;
  flex: none;
}
.courier-rules-callout p {
  font-size: clamp(17px, 1.75vw, 25px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.courier-network {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  background: var(--courier-soft);
  padding: 24px 4.8vw 44px;
  gap: 30px;
}
.courier-network__platforms,
.courier-network__finish {
  display: grid;
  grid-template-columns: clamp(64px, 6.25vw, 90px) minmax(0, 1fr);
  gap: 12px 2vw;
  align-content: start;
}
.courier-network__finish {
  border-left: 1px solid #d5dade;
  padding-left: 30px;
  grid-template-columns: clamp(78px, 7.6vw, 110px) minmax(0, 1fr);
}
.courier-network__icon {
  width: clamp(64px, 6.25vw, 90px);
  height: clamp(64px, 6.25vw, 90px);
}
.courier-network__finish > img {
  width: clamp(78px, 7.6vw, 110px);
  height: clamp(92px, 9vw, 130px);
}
.courier-platforms {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.courier-platforms li {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.courier-platforms img {
  object-fit: contain;
  height: auto;
  max-height: 74px;
}
.courier-platforms li:nth-child(1) img {
  width: clamp(74px, 7.2vw, 104px);
}
.courier-platforms li:nth-child(2) img {
  width: clamp(85px, 8.3vw, 120px);
}
.courier-platforms li:nth-child(3) img {
  width: clamp(75px, 7.3vw, 106px);
}
.courier-platforms li:nth-child(4) img {
  width: clamp(100px, 9.7vw, 140px);
}
.courier-platforms__other {
  padding-inline: 15px;
  background: #e7eee3;
  border-radius: 4px;
  font-size: 13px;
}
.courier-network p.courier-network__statement {
  grid-column: 1 / -1;
  color: var(--ink);
  font-weight: 600;
  font-size: clamp(14px, 1.35vw, 19px);
}
.courier-network p.courier-network__highlight {
  color: var(--courier-accent);
  font-size: clamp(18px, 1.4vw, 21px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 8px 0 14px;
}
.courier-network__finish .courier-cta {
  font-size: clamp(13px, 1.1vw, 16px);
  padding-inline: 18px;
  gap: 12px;
}
@media (max-width: 1099px) {
  .courier-hero {
    min-height: 0;
    padding-bottom: 44px;
  }
  .courier-hero__copy {
    width: 50.5%;
  }
  .courier-hero h1 {
    font-size: clamp(32px, 4.2vw, 47px);
  }
  .courier-hero__phone {
    width: 24%;
  }
  .courier-benefit {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding-inline: 28px;
  }
  .courier-benefit__icon {
    width: 48px;
    height: 48px;
  }
  .courier-desktop-break {
    display: none;
  }
  .courier-network {
    gap: 22px;
  }
  .courier-network__platforms,
  .courier-network__finish {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
  }
  .courier-network__icon,
  .courier-network__finish > img {
    width: 48px;
    height: 60px;
  }
  .courier-network__finish {
    padding-left: 22px;
  }
  .courier-challenges__grid article {
    padding-inline: 10px;
  }
}
@media (max-width: 699px) {
  .courier-hero {
    padding: 32px 20px 0;
    display: flex;
    flex-direction: column;
  }
  .courier-hero__copy {
    width: 100%;
    max-width: none;
  }
  .courier-hero h1 {
    font-size: clamp(32px, 8.7vw, 52px);
  }
  .courier-hero__copy > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.5;
  }
  .courier-hero__copy .courier-cta {
    width: 100%;
  }
  .courier-hero__photo {
    position: relative;
    order: 1;
    width: calc(100% + 40px);
    height: 420px;
    margin: 28px -20px 0;
    object-position: right center;
  }
  .courier-hero__phone {
    top: auto;
    bottom: 0;
    left: 18px;
    width: 42%;
    max-width: 185px;
  }

  .courier-challenges {
    padding: 36px 20px 28px;
  }
  .courier-challenges__heading {
    max-width: none;
  }
  .courier-challenges__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 0;
  }
  .courier-challenges__grid article:nth-child(odd) {
    border-left: 0;
  }
  .courier-challenges__grid article:last-child {
    grid-column: 1 / -1;
    max-width: 250px;
    justify-self: center;
  }
  .courier-challenges h3 {
    font-size: 15px;
  }
  .courier-challenges__grid p {
    font-size: 14px;
  }
  .courier-benefits,
  .courier-network {
    grid-template-columns: 1fr;
  }
  .courier-benefit {
    padding: 28px 20px;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
  }
  .courier-benefit:nth-child(even) {
    border-left: 0;
  }
  .courier-benefit__icon {
    width: 44px;
    height: 44px;
  }
  .courier-benefit h2,
  .courier-network h2 {
    font-size: 24px;
  }
  .courier-benefit p,
  .courier-network p {
    font-size: 15px;
    line-height: 1.5;
  }
  .courier-rules-callout {
    padding: 14px;
    gap: 16px;
  }
  .courier-rules-callout p {
    font-size: 18px;
  }
  .courier-network {
    padding: 28px 20px 34px;
    gap: 28px;
  }
  .courier-network__finish {
    padding: 28px 0 0;
    border-left: 0;
    border-top: 1px solid #d5dade;
  }
  .courier-network .courier-cta {
    width: 100%;
    margin-top: 4px;
  }
  .courier-platforms {
    gap: 12px 16px;
  }
}
