/* CargoExpress site. Waybill identity: ink, steel, kraft, packing tape, chat green. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212;
}

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Martian Mono";
  src: url("fonts/martian-mono-latin-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
}

:root {
  --ink: #10151C;
  --ink-2: #1B2330;
  --steel: #EEF1F4;
  --steel-2: #DDE2E8;
  --muted: #56606C;
  --paper: #FFFFFF;
  --kraft: #C4976A;
  --kraft-dark: #9C7148;
  --tape: #FFD23F;
  --chat: #0E8F6E;
  --chat-soft: #DCF5EC;
  --alert: #C2410C;
  --radius: 10px;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--steel);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  font-stretch: 100%;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

p {
  margin: 0;
}

.wrap {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mono {
  font-family: var(--mono);
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

.chat :focus-visible,
.foot :focus-visible {
  outline-color: var(--tape);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--tape);
  padding: 8px 12px;
  z-index: 99;
}

.skip:focus {
  left: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--ink {
  background: var(--ink);
  color: var(--paper);
}

.btn--ink:hover {
  background: var(--ink-2);
}

.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--chat {
  white-space: nowrap;
  background: var(--chat);
  color: var(--paper);
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
}

.btn--wide {
  width: 100%;
}

.btn[disabled] {
  opacity: .55;
  cursor: progress;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(238, 241, 244, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--steel-2);
}

.nav__row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-stretch: 118%;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand b {
  font-weight: 800;
}

.brand__post {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--tape);
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
  font-size: .72em;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 12px;
}

.nav__links > a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1;
}

.nav__links > a:hover {
  color: var(--ink);
}

.nav__end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang {
  display: flex;
  border: 1px solid var(--steel-2);
  border-radius: 999px;
  padding: 2px;
  background: var(--paper);
}

.lang a {
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
}

.lang a[aria-current] {
  background: var(--ink);
  color: var(--paper);
}

/* Eyebrows & titles */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 14px;
}

.eyebrow--light {
  color: #9FB0C0;
}

.section-title {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  font-stretch: 72%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.lede {
  font-size: 19px;
  color: var(--muted);
  margin-top: 16px;
  max-width: 56ch;
}

/* Hero */
.hero {
  padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 110px);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.hero__title {
  font-size: clamp(46px, 6.4vw, 92px);
  font-weight: 850;
  font-stretch: 64%;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: .9;
}

.hero__lede {
  font-size: clamp(18px, 1.7vw, 21px);
  color: var(--muted);
  margin-top: 22px;
  max-width: 46ch;
}

.hero__facts {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__facts li {
  background: var(--paper);
  border: 1px solid var(--steel-2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--muted);
}

.hero__facts strong {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
}

.hero__chat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--chat);
  box-shadow: 0 0 0 4px var(--chat-soft);
}

/* The parcel + waybill label (signature) */
.parcel {
  position: relative;
  padding: 26px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 46%, rgba(255, 210, 63, .92) 46%, rgba(255, 210, 63, .92) 54%, transparent 54%),
    repeating-linear-gradient(118deg, rgba(0, 0, 0, .035) 0 2px, transparent 2px 7px),
    var(--kraft);
  box-shadow: inset 0 -10px 0 var(--kraft-dark), 0 30px 60px -30px rgba(16, 21, 28, .45);
}

.label {
  position: relative;
  background: var(--paper);
  border-radius: 4px;
  padding: 18px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 12px 28px -18px rgba(16, 21, 28, .5);
  transform: rotate(-1.2deg);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

.label:focus-within {
  transform: rotate(0deg);
}

.label__head {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
}

.label__tier {
  background: var(--ink);
  color: var(--paper);
  padding: 1px 6px;
}

.label__route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  font-family: var(--mono);
  font-weight: 800;
  font-stretch: 75%;
  font-size: clamp(46px, 7vw, 78px);
  line-height: 1;
  letter-spacing: -0.04em;
  border-bottom: 2px solid var(--ink);
}

.label__route svg {
  width: 56px;
  flex: none;
}

.label__route span {
  transition: opacity .2s;
}

.label__route span.flip {
  animation: flip .35s ease;
}

@keyframes flip {
  0% {
    opacity: 0;
    transform: translateY(-30%);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

.label__cells {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 2px solid var(--ink);
}

.cell {
  border: 0;
  margin: 0;
  padding: 10px 10px 12px 0;
  min-width: 0;
}

.cell + .cell {
  padding-left: 10px;
  border-left: 1px solid var(--steel-2);
}

.cell:nth-child(3) {
  padding-left: 0;
  border-left: 0;
  border-top: 1px solid var(--steel-2);
}

.cell:nth-child(4) {
  border-top: 1px solid var(--steel-2);
}

.cell legend,
.cell > label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  padding: 0;
  margin-bottom: 4px;
  display: block;
}

.cell select,
.cell input {
  width: 100%;
  border: 0;
  border-bottom: 1px dashed var(--steel-2);
  background: transparent;
  padding: 6px 0;
  font-weight: 700;
  font-size: 16px;
}

.cell select {
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.cell input::placeholder {
  color: #9AA3AD;
  font-weight: 500;
}

.cell input:focus,
.cell select:focus {
  outline: none;
  border-bottom: 2px solid var(--ink);
}

.unit,
.dims {
  display: flex;
  align-items: center;
  gap: 6px;
}

.unit span,
.dims__unit,
.dims > span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.dims label {
  flex: 1;
  min-width: 0;
}

.dims input {
  text-align: center;
}

.label__foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
}

.barcode {
  flex: 1;
  height: 46px;
  min-width: 0;
  color: var(--ink);
}

.label__error {
  margin-top: 10px;
  color: var(--alert);
  font-weight: 600;
  font-size: 15px;
}

/* Quote results as tear-off stubs */
.stubs {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.stub {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: center;
  background: var(--paper);
  border-radius: 4px;
  padding: 14px 16px 14px 20px;
  text-align: left;
  width: 100%;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 22px -18px rgba(16, 21, 28, .6);
  animation: stub-in .45s cubic-bezier(.2, .8, .2, 1) both;
}

.stub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  border-left: 2px dashed var(--steel-2);
}

.stub:hover {
  outline: 2px solid var(--ink);
}

.stub[aria-pressed="true"] {
  outline: 3px solid var(--ink);
}

.stub__carrier {
  font-weight: 800;
  font-stretch: 112%;
}

.stub__meta {
  grid-column: 1;
  font-size: 13px;
  color: var(--muted);
}

.stub__price {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.04em;
  text-align: right;
}

.stub__price small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  padding: 2px 6px;
  margin-left: 6px;
  border-radius: 3px;
  background: var(--tape);
  vertical-align: 2px;
}

.badge--fast {
  background: var(--ink);
  color: var(--paper);
}

@keyframes stub-in {
  from {
    opacity: 0;
    transform: translateY(-12px) rotate(-1deg);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.skeleton {
  height: 64px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .85), rgba(255, 255, 255, .5));
  background-size: 200% 100%;
  animation: shimmer 1.1s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.book {
  margin-top: 16px;
  background: var(--paper);
  border-radius: 4px;
  padding: 18px;
}

.book__title {
  font-weight: 800;
  font-stretch: 112%;
  margin-bottom: 12px;
}

.book__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.book label,
.lead label {
  display: grid;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.book input:not([type=checkbox]),
.lead input:not([type=checkbox]):not([type=radio]) {
  border: 1px solid var(--steel-2);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 16px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 500;
}

.check {
  display: flex !important;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px !important;
  margin-top: 14px;
  font-weight: 500 !important;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--ink);
  flex: none;
}

.book__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* WhatsApp section */
.chat {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(64px, 9vw, 120px) 0;
}

.chat__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.chat h2 {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 800;
  font-stretch: 70%;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

.chat .lede {
  color: #B7C3CF;
}

.events {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 1px;
  background: #2A3442;
  border-radius: var(--radius);
  overflow: hidden;
}

.events li {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 14px;
  background: var(--ink-2);
  padding: 14px 16px;
  font-size: 15px;
  color: #D5DDE5;
}

.events__state {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--tape);
  padding-top: 3px;
}

.events__state--alert {
  color: #FF9B6A;
}

.chat__note {
  margin-top: 18px;
  font-size: 14px;
  color: #8C9AA8;
  max-width: 60ch;
}

.phone {
  background: #0B0F14;
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 0 0 1px #2A3442, 0 40px 80px -30px #000;
  display: flex;
  flex-direction: column;
  height: 640px;
  max-height: 80vh;
}

.phone__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #1F2C34;
  border-radius: 26px 26px 0 0;
}

.phone__bar strong {
  display: block;
  font-size: 15px;
}

.phone__bar small {
  color: #8FA3AE;
  font-size: 12px;
}

.phone__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tape);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
}

.phone__reset {
  margin-left: auto;
  background: none;
  border: 1px solid #3B4A55;
  color: #C9D4DA;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
}

.phone__log {
  list-style: none;
  margin: 0;
  padding: 14px 12px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #0E1A20 radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .03) 0 2px, transparent 3px) 0 0/22px 22px;
}

.msg {
  max-width: 84%;
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.4;
  white-space: pre-line;
  animation: msg-in .25s ease both;
}

.msg--in {
  align-self: flex-start;
  background: #1F2C34;
  color: #E9EDEF;
  border-top-left-radius: 2px;
}

.msg--out {
  align-self: flex-end;
  background: #005C4B;
  color: #E9EDEF;
  border-top-right-radius: 2px;
}

.msg a {
  color: var(--tape);
  font-weight: 700;
}

.msg--typing {
  color: #8FA3AE;
  font-style: italic;
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.phone__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px 0;
  background: #0E1A20;
}

.phone__quick button {
  background: #1F2C34;
  color: #53BDEB;
  border: 1px solid #2A3942;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 13px;
  cursor: pointer;
}

.phone__quick button:hover {
  background: #26353F;
}

.phone__input {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: #0E1A20;
  border-radius: 0 0 26px 26px;
}

.phone__input input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: #1F2C34;
  color: #E9EDEF;
  font-size: 15px;
}

.phone__input button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--chat);
  color: var(--paper);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}

/* How it works */
.how {
  padding: clamp(64px, 9vw, 120px) 0;
}

.how__steps {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
  border-top: 2px solid var(--ink);
}

.how__steps li {
  padding: 20px 18px 0 0;
  position: relative;
}

.how__steps li + li {
  padding-left: 18px;
  border-left: 1px solid var(--steel-2);
}

.how__n {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--tape);
  padding: 2px 7px;
}

.how__steps h3 {
  font-size: 21px;
  font-weight: 800;
  font-stretch: 108%;
  margin: 16px 0 8px;
  line-height: 1.15;
}

.how__steps p {
  font-size: 15px;
  color: var(--muted);
}

/* Transparent price */
.receipt-band {
  background: var(--paper);
  padding: clamp(64px, 9vw, 120px) 0;
  border-top: 1px solid var(--steel-2);
  border-bottom: 1px solid var(--steel-2);
}

.receipt-band__grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.receipt {
  background: var(--paper);
  border: 1px solid var(--steel-2);
  border-radius: 4px;
  padding: 22px;
  font-family: var(--mono);
  font-size: 14px;
  box-shadow: 0 24px 40px -30px rgba(16, 21, 28, .5);
  position: relative;
}

.receipt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 8px;
  background: radial-gradient(circle at 5px 0, var(--paper) 5px, transparent 5.5px) 0 0/10px 8px repeat-x;
}

.receipt-band .receipt::after {
  background-image: radial-gradient(circle at 5px 0, var(--paper) 5px, transparent 5.5px);
}

.receipt__head {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 8px;
}

.receipt dl {
  margin: 0;
}

.receipt dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--steel-2);
}

.receipt dt {
  color: var(--muted);
}

.receipt dd {
  margin: 0;
  font-weight: 700;
}

.receipt .receipt__total {
  border-bottom: 0;
  border-top: 2px solid var(--ink);
  margin-top: 6px;
  padding-top: 12px;
  font-size: 20px;
}

.receipt .receipt__total dt {
  color: var(--ink);
  font-weight: 800;
}

.receipt__foot {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--body);
}

.receipt form {
  margin-top: 16px;
}

.method-list {
  border: 0;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.method-list legend {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  font-family: var(--body);
}

.method {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--steel-2);
  border-radius: 4px;
  padding: 10px;
  cursor: pointer;
  font-family: var(--body);
}

.method:has(input:checked) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.method input {
  margin-top: 3px;
  accent-color: var(--ink);
}

.method span {
  display: grid;
  gap: 2px;
}

.method small,
.field small {
  color: var(--muted);
  font-size: 12px;
}

.field {
  display: grid;
  gap: 4px;
  margin: 0 0 12px;
  font-family: var(--body);
  font-size: 13px;
}

.field input {
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--steel-2);
  border-radius: 4px;
  font: inherit;
  font-size: 16px;
}

.alert {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 4px;
  font-family: var(--body);
  font-size: 13px;
}

.alert--error {
  background: #FDECE4;
  color: var(--alert);
  border: 1px solid var(--alert);
}

.alert--info {
  background: var(--chat-soft);
  color: var(--ink);
  border: 1px solid var(--chat);
}

.instructions {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  font-family: var(--body);
}

.instructions__data dd {
  user-select: all;
  overflow-wrap: anywhere;
}

.instructions .link {
  color: var(--ink);
  font-size: 13px;
  text-align: center;
}

.methods {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.methods span {
  border: 1px solid var(--steel-2);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
}

/* Business */
.business {
  padding: clamp(64px, 9vw, 120px) 0;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.plan {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--steel-2);
  display: flex;
  flex-direction: column;
}

.plan--featured {
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--tape);
}

.plan h3 {
  font-size: 15px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.plan__price {
  font-size: 42px;
  font-weight: 850;
  font-stretch: 70%;
  margin-top: 14px;
  line-height: 1;
}

.plan__price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  font-stretch: 100%;
  margin-left: 4px;
}

.plan__volume {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.plan ul {
  list-style: none;
  padding: 16px 0 0;
  margin: 16px 0 0;
  border-top: 1px solid var(--steel-2);
  display: grid;
  gap: 8px;
  font-size: 14.5px;
}

.plan li::before {
  content: "→ ";
  font-family: var(--mono);
  color: var(--kraft-dark);
}

.api {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 26px;
}

.api h3 {
  font-size: 26px;
  font-weight: 800;
  font-stretch: 90%;
}

.api p {
  color: #B7C3CF;
  margin-top: 8px;
}

.api pre {
  margin: 0;
  overflow-x: auto;
  background: #0B0F14;
  border-radius: 8px;
  padding: 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: #D5DDE5;
}

.api .c {
  color: var(--tape);
}

/* Points */
.points {
  padding: clamp(64px, 9vw, 120px) 0;
  background: var(--paper);
  border-top: 1px solid var(--steel-2);
}

.points__grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 440px);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.fees {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: 15px;
}

.fees caption {
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px;
}

.fees th,
.fees td {
  padding: 12px 0;
  border-bottom: 1px solid var(--steel-2);
  text-align: left;
  font-weight: 500;
}

.fees td {
  text-align: right;
  font-family: var(--mono);
  font-weight: 700;
}

.lead {
  background: var(--steel);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 12px;
}

.lead h3 {
  font-size: 24px;
  font-weight: 800;
  font-stretch: 90%;
}

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  border-radius: 999px;
  padding: 3px;
  border: 1px solid var(--steel-2);
}

.seg label {
  display: block;
}

.seg input {
  position: absolute;
  opacity: 0;
}

.seg span {
  display: block;
  text-align: center;
  padding: 8px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  color: var(--muted);
  font-size: 14px;
}

.seg input:checked + span {
  background: var(--ink);
  color: var(--paper);
}

.seg input:focus-visible + span {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.lead__status {
  font-weight: 600;
  min-height: 1.5em;
}

.lead__status.is-error {
  color: var(--alert);
}

/* Track band */
.track {
  background: var(--tape);
  padding: 34px 0;
  background-image: repeating-linear-gradient(-45deg, rgba(16, 21, 28, .06) 0 14px, transparent 14px 28px);
}

.track__row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.track h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 850;
  font-stretch: 68%;
  text-transform: uppercase;
}

.track__form {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex: 1;
  max-width: 520px;
}

.track__form input {
  flex: 1;
  min-width: 0;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0 18px;
  min-height: 48px;
  font-family: var(--mono);
  text-transform: uppercase;
  background: var(--paper);
}

/* FAQ */
.faq {
  padding: clamp(64px, 9vw, 120px) 0;
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
}

details {
  border-bottom: 1px solid var(--steel-2);
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 36px 20px 0;
  font-weight: 700;
  font-size: 19px;
  position: relative;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  font-family: var(--mono);
  font-size: 22px;
}

details[open] summary::after {
  content: "–";
}

details p {
  padding: 0 0 20px;
  color: var(--muted);
  max-width: 64ch;
}

/* Footer */
.foot {
  background: var(--ink);
  color: #B7C3CF;
  padding: 56px 0 28px;
  font-size: 15px;
}

.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.foot__grid a,
.foot__grid span {
  display: block;
  text-decoration: none;
  margin-top: 8px;
}

.foot__grid a:hover {
  color: var(--paper);
}

.brand--foot {
  color: var(--paper);
}

.foot__tag {
  margin-top: 10px;
  max-width: 34ch;
}

.foot__head {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--paper);
  letter-spacing: .06em;
}

.foot__base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid #2A3442;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
}

/* Tracking page */
.trackpage {
  padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 120px);
  min-height: 60vh;
}

.trackpage__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.trackpage h1 {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800;
}

.trackpage__route {
  margin-top: 10px;
  color: var(--muted);
}

.status {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
}

.status--delivered {
  background: var(--chat);
}

.status--exception {
  background: var(--alert);
}

.status--awaiting_payment {
  background: var(--tape);
  color: var(--ink);
}

.journey {
  list-style: none;
  padding: 0;
  margin: 36px 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
}

.journey li {
  border-top: 6px solid var(--steel-2);
  padding-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.journey li.is-done {
  border-color: var(--ink);
  color: var(--ink);
}

.journey li.is-current {
  border-color: var(--tape);
  font-weight: 700;
}

.trackpage__grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.subhead {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--paper);
  border-radius: var(--radius);
}

.timeline li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--steel-2);
}

.timeline span {
  color: var(--muted);
  font-size: 14px;
}

.timeline time {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  align-self: center;
}

.trackpage__side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.hint {
  font-size: 13px;
  color: var(--muted);
}

.empty {
  text-align: center;
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 60px 0;
}

.checkout {
  display: grid;
  place-items: center;
}

.checkout .receipt {
  width: min(440px, 100%);
}

/* Responsive */
@media (max-width: 1180px) {

  /* The mega menu stays: it is the only way into the content pages. */
  .nav__links > a {
    display: none;
  }

  .nav__links {
    margin-left: 0;
  }
}

@media (max-width: 1040px) {

  .hero__grid,
  .chat__grid,
  .receipt-band__grid,
  .points__grid,
  .faq__grid,
  .api,
  .trackpage__grid {
    grid-template-columns: 1fr;
  }

  .plans {
    grid-template-columns: repeat(2, 1fr);
  }

  .how__steps {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .how__steps li,
  .how__steps li + li {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--steel-2);
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 12px;
  }

  .how__steps li h3 {
    margin-top: 0;
  }

  .how__steps li p {
    grid-column: 2;
  }

  .phone {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }

  .journey {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 16px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .mega > summary {
    font-size: 14px;
  }

  /* Logo only: wordmark, menu, locales and sign-in do not fit together at 390px. */
  .nav__row {
    gap: 8px;
  }

  .brand > span {
    display: none;
  }

  .btn--chat {
    display: none;
  }

  .parcel {
    padding: 14px;
    margin: 0 -4px;
  }

  .label {
    transform: none;
    padding: 14px;
  }

  .label__cells,
  .book__grid,
  .plans {
    grid-template-columns: 1fr;
  }

  .cell + .cell,
  .cell:nth-child(3),
  .cell:nth-child(4) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--steel-2);
  }

  .label__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .events li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .track__form {
    margin-left: 0;
    max-width: none;
    flex-basis: 100%;
  }

  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }

  .phone {
    height: 560px;
    border-radius: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .label {
    transform: none;
  }
}

.sandbox-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink);
  opacity: .78;
}

.plan__price .plan__from {
  display: block;
  margin: 0 0 4px;
  font-size: 13px;
}

.api > *,
.hero__grid > *,
.chat__grid > *,
.points__grid > *,
.faq__grid > * {
  min-width: 0;
}

@media (max-width: 600px) {
  .track__row > h2 {
    flex: 1 1 100%;
  }

  .track__form {
    flex: 1 1 100%;
    min-width: 0;
  }

  .api {
    padding: 18px;
  }
}

.stub__logo {
  display: inline-block;
  height: 22px;
  width: auto;
  max-width: 110px;
  vertical-align: middle;
}

.nav__signin {
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.nav__signin:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---- Content hub: mega menu, article pages ---- */
.mega {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.mega > summary {
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.mega > summary::-webkit-details-marker {
  display: none;
}

.mega > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.mega[open] > summary,
.mega > summary:hover {
  color: var(--ink);
}

.mega__panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  z-index: 40;
  width: min(860px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  background: var(--paper);
  border: 1px solid var(--steel-2);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 30px 60px -30px rgba(16, 21, 28, .45);
}

.mega__col {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}

.mega__title {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
}

.mega__col a {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  color: var(--ink);
}

.mega__col a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc__hero {
  background: var(--paper);
  border-bottom: 1px solid var(--steel-2);
  padding: clamp(40px, 6vw, 84px) 0;
}

.doc__title {
  font-size: clamp(34px, 5.6vw, 68px);
  font-weight: 850;
  font-stretch: 66%;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: .95;
  max-width: 22ch;
}

.doc__lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  margin-top: 18px;
  max-width: 62ch;
}

.doc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.doc__body {
  padding: clamp(32px, 5vw, 64px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 4vw, 52px);
}

.doc__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.factcard {
  background: var(--paper);
  border: 1px solid var(--steel-2);
  border-radius: 14px;
  padding: 20px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.factcard h2 {
  font-size: 17px;
  font-weight: 800;
  font-stretch: 104%;
}

.factcard p {
  font-size: 14.5px;
  color: var(--muted);
}

.section-title--sm {
  font-size: clamp(24px, 2.6vw, 34px);
  margin-bottom: 18px;
}

.doc__section {
  min-width: 0;
}

.doc__prose h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  font-stretch: 88%;
  margin-bottom: 12px;
}

.doc__prose p {
  color: var(--muted);
  max-width: 72ch;
  font-size: 16.5px;
}

.doc__prose h2 + p + h2 {
  margin-top: 28px;
}

.doc__hint {
  margin-top: 12px;
}

.doc__carriers {
  color: var(--muted);
}

.doc__disclaimer {
  background: var(--tape);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14px;
  max-width: 80ch;
}

.doc__related {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid var(--steel-2);
  padding-top: 24px;
}

.doc__related a {
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.doc__related a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.table--content {
  background: var(--paper);
  border-radius: 12px;
}

.table--content th[scope="row"] {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 1px solid var(--steel-2);
}

.table--content td {
  white-space: nowrap;
}

@media (max-width: 1040px) {

  /* Below the desktop header the panel drops under the bar, full width. */
  .mega__panel {
    position: fixed;
    top: 64px;
    left: 8px;
    right: 8px;
    width: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    max-height: min(70vh, 520px);
    overflow-y: auto;
  }

  .doc__highlights {
    grid-template-columns: 1fr;
  }
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .35), 0 4px 8px rgba(0, 0, 0, .12);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 211, 102, .45), 0 6px 12px rgba(0, 0, 0, .15);
  color: #fff;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}
