/* Public interface styles served from the dedicated, cacheable assets mount. */
:root {
  color-scheme: light;
  --ink: #173039;
  --ink-soft: #53666c;
  --deep: #102a33;
  --deep-2: #173943;
  --paper: #f5f3ed;
  --card: #fffefa;
  --line: #dcded9;
  --line-strong: #c7ccc7;
  --accent: #f5c84c;
  --accent-dark: #c68e00;
  --mint: #9de0cb;
  --mint-dark: #126c5d;
  --danger: #b6413d;
  --danger-soft: #fff0ed;
  --warning: #9a5d00;
  --warning-soft: #fff6d8;
  --success: #14725f;
  --success-soft: #e9f8f2;
  --info: #345f8c;
  --info-soft: #edf5fc;
  --shadow-sm: 0 8px 30px rgba(21, 42, 49, 0.08);
  --shadow-lg: 0 26px 70px rgba(5, 23, 29, 0.2);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shell: 1160px;
  --font-sans: "Avenir Next", Avenir, "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  --font-display: Iowan Old Style, Baskerville, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
}

a {
  color: inherit;
}

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--accent);
  color: var(--deep);
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 5;
  background: var(--deep);
  color: #fff;
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 1.08rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: var(--deep);
}

.brand-mark svg {
  width: 22px;
  fill: rgba(255, 255, 255, 0.18);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.header-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(157, 224, 203, 0.12);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 150ms ease;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 68px 0 86px;
  background:
    radial-gradient(circle at 74% 34%, rgba(104, 196, 177, 0.14), transparent 24rem),
    linear-gradient(145deg, var(--deep) 0%, #0f2b34 55%, #153943 100%);
  color: #fff;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -100px;
  left: -130px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow:
    0 0 0 46px rgba(255, 255, 255, 0.025),
    0 0 0 94px rgba(255, 255, 255, 0.018);
  content: "";
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 470px);
  gap: clamp(48px, 8vw, 108px);
}

.hero-copy {
  padding-block: 22px;
}

.eyebrow,
.state-eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eyebrow span {
  font-size: 0.55rem;
}

.eyebrow.dark {
  color: var(--mint-dark);
}

.hero h1 {
  max-width: 720px;
  margin: 17px 0 22px;
  color: #fff;
  font-size: clamp(3rem, 6.2vw, 5.55rem);
  font-weight: 720;
  letter-spacing: -0.062em;
  line-height: 0.96;
}

.hero h1 em {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 550px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.7;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.85rem;
  font-weight: 630;
}

.trust-row svg {
  width: 19px;
  height: 19px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(157, 224, 203, 0.15);
  fill: none;
  stroke: var(--mint);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.search-card {
  position: relative;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.search-card::after {
  position: absolute;
  z-index: -1;
  right: -14px;
  bottom: -14px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(245, 200, 76, 0.55);
  border-radius: inherit;
  content: "";
}

.card-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}

.package-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: #f9edc5;
  color: #8a6300;
}

.package-icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.card-kicker p {
  margin: 0 0 2px;
  font-size: 1.05rem;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.card-kicker div > span {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

#trackingForm {
  padding-top: 22px;
}

#trackingForm label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 740;
}

.input-wrap {
  position: relative;
}

.input-wrap > svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 16px;
  width: 20px;
  transform: translateY(-50%);
  fill: none;
  stroke: #78878b;
  stroke-linecap: round;
  stroke-width: 1.7;
  pointer-events: none;
}

#trackingCode {
  width: 100%;
  height: 56px;
  padding: 0 16px 0 47px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 690;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

#trackingCode::placeholder {
  color: #6f7e82;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

#trackingCode:focus {
  border-color: #287c73;
  box-shadow: 0 0 0 4px rgba(40, 124, 115, 0.13);
}

#trackingCode[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(182, 65, 61, 0.1);
}

.field-hint,
.field-error {
  min-height: 18px;
  margin: 6px 1px 0;
  color: #5f7075;
  font-size: 0.72rem;
}

.field-error {
  min-height: 0;
  color: var(--danger);
  font-weight: 620;
}

.field-error:not(:empty) + .primary-button {
  margin-top: 12px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  font-weight: 780;
  text-decoration: none;
  transition:
    transform 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease;
}

.primary-button {
  width: 100%;
  min-height: 56px;
  gap: 10px;
  margin-top: 8px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  background: var(--deep);
  box-shadow: 0 9px 22px rgba(16, 42, 51, 0.19);
  color: #fff;
}

.primary-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 150ms ease;
}

.primary-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #1b4651;
  box-shadow: 0 12px 27px rgba(16, 42, 51, 0.24);
}

.primary-button:hover:not(:disabled) svg {
  transform: translateX(3px);
}

.primary-button:active:not(:disabled),
.secondary-button:active:not(:disabled) {
  transform: translateY(1px);
}

.primary-button:disabled {
  opacity: 0.68;
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.hero-accent {
  position: absolute;
  z-index: -1;
  right: 3vw;
  bottom: -95px;
  width: 190px;
  height: 190px;
  border: 42px solid rgba(245, 200, 76, 0.065);
  border-radius: 48px;
  transform: rotate(28deg);
}

.results-section {
  padding-block: 58px 80px;
}

.results-region {
  min-height: 270px;
}

.state-card,
.summary-card,
.latest-card,
.timeline-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.state-card h3,
.summary-card h3,
.latest-card h3,
.timeline-card h3 {
  margin: 7px 0 8px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.state-card > div > p:last-child,
.loading-head p {
  max-width: 530px;
  margin: 0;
  color: var(--ink-soft);
}

.state-eyebrow {
  color: var(--mint-dark);
}

.loading-state {
  min-height: 280px;
  padding: clamp(28px, 5vw, 52px);
}

.loading-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 38px;
}

.loading-head h3 {
  margin-top: 0;
}

.spinner {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 4px solid #e1e6e3;
  border-top-color: var(--mint-dark);
  border-radius: 50%;
  animation: spin 850ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.skeleton-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.skeleton {
  height: 62px;
  border-radius: 10px;
  background: linear-gradient(100deg, #edece7 20%, #f7f6f2 38%, #edece7 56%);
  background-size: 210% 100%;
  animation: shimmer 1.5s linear infinite;
}

.skeleton-wide {
  width: min(420px, 65%);
  height: 20px;
  margin-bottom: 24px;
}

@keyframes shimmer {
  to {
    background-position-x: -210%;
  }
}

.error-state {
  display: grid;
  min-height: 280px;
  align-items: center;
  grid-template-columns: auto minmax(0, 560px);
  justify-content: center;
  gap: 26px;
  padding: clamp(28px, 5vw, 52px);
  border-color: #ecd1cc;
}

.error-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 20px;
  background: var(--danger-soft);
  color: var(--danger);
}

.error-icon svg {
  width: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.error-actions .secondary-button {
  margin-top: 20px;
}

.secondary-button {
  min-height: 44px;
  margin-top: 20px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.secondary-button:hover {
  transform: translateY(-1px);
  border-color: var(--ink);
  background: #faf9f4;
}

.tracking-result {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.45fr);
  gap: 22px;
  animation: result-in 360ms ease-out both;
}

#trackingHistory {
  scroll-margin-top: 24px;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.summary-card {
  grid-column: 1 / -1;
  overflow: hidden;
}

.summary-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(26px, 4vw, 42px);
  background:
    linear-gradient(105deg, rgba(157, 224, 203, 0.13), transparent 48%),
    var(--card);
}

.summary-top h3 {
  margin-bottom: 5px;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
}

.status-description {
  margin: 0;
  color: var(--ink-soft);
}

.status-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--info-soft);
  color: var(--info);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.status-pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status-pill.tone-success {
  background: var(--success-soft);
  color: var(--success);
}

.status-pill.tone-warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.status-pill.tone-danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.status-pill.tone-neutral {
  background: #eef0ee;
  color: #5e6a6d;
}

.shipment-meta {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.shipment-meta > div {
  min-width: 0;
  padding: 21px clamp(20px, 3vw, 36px);
}

.shipment-meta > div + div {
  border-left: 1px solid var(--line);
}

.shipment-meta span {
  display: block;
  margin-bottom: 4px;
  color: #596a6f;
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shipment-meta strong {
  display: block;
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 740;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#shipmentCode {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.045em;
}

.journey {
  position: relative;
  padding: 29px clamp(26px, 5vw, 58px) 32px;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 0 clamp(26px, 5vw, 58px) 30px;
}

.result-actions .secondary-button {
  margin-top: 0;
}

.journey-line {
  position: absolute;
  top: 39px;
  right: calc(clamp(26px, 5vw, 58px) + 17px);
  left: calc(clamp(26px, 5vw, 58px) + 17px);
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: #dfe3df;
}

.journey-line > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--mint-dark);
  transition: width 650ms ease-out;
}

.journey ol {
  position: relative;
  display: grid;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.journey li {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  color: #5f7075;
  text-align: center;
}

.journey li:first-child {
  align-items: flex-start;
  text-align: left;
}

.journey li:last-child {
  align-items: flex-end;
  text-align: right;
}

.journey li > span {
  z-index: 1;
  width: 22px;
  height: 22px;
  border: 5px solid var(--card);
  border-radius: 50%;
  background: #dfe3df;
  box-shadow: 0 0 0 1px #dfe3df;
}

.journey li.is-complete,
.journey li.is-current {
  color: var(--ink);
}

.journey li.is-complete > span {
  background: var(--mint-dark);
  box-shadow: 0 0 0 1px var(--mint-dark);
}

.journey li.is-current > span {
  background: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent-dark),
    0 0 0 6px rgba(245, 200, 76, 0.18);
}

.journey li strong {
  font-size: 0.72rem;
  font-weight: 760;
}

.latest-card,
.timeline-card {
  padding: clamp(24px, 4vw, 34px);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}

.section-heading h3 {
  margin-bottom: 0;
  font-size: 1.18rem;
}

.section-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: var(--success-soft);
  color: var(--success);
}

.section-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.latest-content {
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.latest-content h4 {
  margin: 0 0 12px;
  font-size: 1.04rem;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.event-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.79rem;
}

.event-detail-row svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 1px;
  fill: none;
  stroke: #6b7f83;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.timeline-heading {
  justify-content: space-between;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}

.event-count {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eff1ee;
  color: #586a6e;
  font-size: 0.68rem;
  font-weight: 740;
}

.timeline {
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 112px 22px minmax(0, 1fr);
  gap: 16px;
  padding: 27px 0;
}

.timeline-item + .timeline-item {
  border-top: 1px solid #e6e6e0;
}

.timeline-time {
  color: #69777a;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.55;
  text-align: right;
}

.timeline-time strong {
  display: block;
  color: var(--ink);
  font-size: 0.8rem;
}

.timeline-marker {
  position: relative;
  display: flex;
  justify-content: center;
}

.timeline-marker::before {
  position: absolute;
  top: 13px;
  bottom: -41px;
  width: 1px;
  background: #d8ddda;
  content: "";
}

.timeline-item:last-child .timeline-marker::before {
  display: none;
}

.timeline-marker span {
  z-index: 1;
  width: 13px;
  height: 13px;
  margin-top: 3px;
  border: 3px solid var(--card);
  border-radius: 50%;
  background: #9aa5a5;
  box-shadow: 0 0 0 1px #9aa5a5;
}

.timeline-item:first-child .timeline-marker span {
  background: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent-dark),
    0 0 0 5px rgba(245, 200, 76, 0.14);
}

.timeline-content h4 {
  margin: 0 0 5px;
  font-size: 0.92rem;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.timeline-content p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.timeline-status {
  display: inline-block;
  margin-top: 8px;
  color: #5c6d71;
  font-size: 0.65rem;
  font-weight: 720;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.no-events {
  margin-top: 22px;
  padding: 18px;
  border-radius: 12px;
  background: #f2f3ef;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.seo-content {
  padding-block: 84px 96px;
  border-top: 1px solid var(--line-strong);
  background: #edf1ed;
}

.seo-content-inner {
  display: grid;
  gap: 52px;
}

.seo-intro {
  max-width: 760px;
}

.seo-intro h2,
.faq h2 {
  margin: 15px 0 16px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 690;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.seo-intro > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

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

.tracking-guides article {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.tracking-guides h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  letter-spacing: -0.025em;
}

.tracking-guides p,
.faq p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.7;
}

.tracking-guides article > a {
  margin-top: auto;
  padding-top: 18px;
  color: var(--mint-dark);
  font-size: 0.8rem;
  font-weight: 760;
  text-underline-offset: 3px;
}

.home-guide-links {
  display: grid;
  align-items: center;
  gap: 12px 22px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  grid-template-columns: minmax(200px, 1.4fr) repeat(2, minmax(140px, 0.7fr));
}

.home-guide-links div {
  grid-row: span 2;
}

.home-guide-links p {
  margin: 0 0 5px;
}

.home-guide-links strong {
  color: var(--deep);
  font-size: 0.92rem;
}

.home-guide-links a {
  color: var(--mint-dark);
  font-size: 0.8rem;
  font-weight: 740;
  text-underline-offset: 3px;
}

.faq {
  max-width: 860px;
}

.faq h2 {
  margin-top: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.faq details {
  border-top: 1px solid var(--line-strong);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.faq summary {
  padding: 20px 34px 20px 0;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.faq details p {
  max-width: 720px;
  padding: 0 0 22px;
}

.content-page {
  min-height: calc(100vh - 76px);
  background: var(--paper);
}

.content-shell {
  width: min(880px, calc(100% - 48px));
  margin-inline: auto;
}

.content-hero {
  padding-block: 56px 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--deep);
  color: #fff;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  list-style: none;
}

.breadcrumbs a {
  color: inherit;
  text-underline-offset: 3px;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--accent);
}

.content-hero .eyebrow {
  margin-bottom: 14px;
}

.content-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.content-hero > .content-shell > p:last-child,
.content-hero .content-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.content-body {
  padding-block: 68px 96px;
}

.article-cover {
  padding-top: 44px;
  margin-bottom: -18px;
}

.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(16, 42, 51, 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.article-cover figcaption {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.74rem;
  text-align: center;
}

.content-body > :first-child {
  margin-top: 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  color: #5f7075;
  font-size: 0.76rem;
  font-weight: 650;
}

.article-meta a {
  color: inherit;
  text-underline-offset: 3px;
}

.article-meta a:hover,
.article-meta a:focus-visible {
  color: var(--mint-dark);
}

.content-hero > .content-shell > p.article-meta:last-child {
  max-width: none;
  padding-bottom: 0;
  margin-top: 18px;
  border-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  line-height: 1.5;
}

.content-hero .article-meta a:hover,
.content-hero .article-meta a:focus-visible {
  color: var(--accent);
}

.quick-answer {
  padding: 26px 28px;
  margin: 34px 0 42px;
  border: 1px solid rgba(40, 124, 115, 0.24);
  border-left: 5px solid var(--mint-dark);
  border-radius: 16px;
  background: #eff8f4;
}

.quick-answer .state-eyebrow {
  margin: 0 0 8px;
  color: var(--mint-dark);
}

.content-body .quick-answer h2,
.content-body .quick-answer h3 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

.quick-answer p:last-child {
  margin-bottom: 0;
}

.content-body h2 {
  margin: 52px 0 16px;
  color: var(--deep);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.content-body h3 {
  margin: 32px 0 10px;
  color: var(--deep);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.content-body p,
.content-body li {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.78;
}

.content-body a:not(.primary-button):not(.secondary-button) {
  color: var(--mint-dark);
  font-weight: 680;
  text-underline-offset: 3px;
}

.content-body ul,
.content-body ol {
  padding-left: 1.35rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-block: 30px;
}

.content-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.content-card h2,
.content-card h3 {
  margin-top: 0;
}

.content-card p:last-child,
.content-card ul:last-child,
.content-card ol:last-child {
  margin-bottom: 0;
}

.content-card img {
  display: block;
  max-width: 100%;
  height: auto;
}

.tool-input,
.tool-output {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  outline: none;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.tool-input {
  min-height: 54px;
  padding: 0 16px;
}

.tool-output {
  display: block;
  padding: 14px 16px;
  margin: 12px 0;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.55;
}

.tool-input:focus,
.tool-output:focus {
  border-color: #287c73;
  box-shadow: 0 0 0 4px rgba(40, 124, 115, 0.13);
}

.tool-input[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(182, 65, 61, 0.1);
}

.content-card > .secondary-button + .secondary-button {
  margin-left: 8px;
}

.guide-list h3 a {
  color: inherit !important;
}

.source-list,
.related-guides {
  padding: 24px 28px;
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.source-list h2,
.source-list h3,
.related-guides h2,
.related-guides h3 {
  margin-top: 0;
}

.source-list li + li,
.related-guides li + li {
  margin-top: 8px;
}

.inline-cta {
  display: grid;
  align-items: center;
  gap: 18px;
  padding: 28px;
  margin-top: 46px;
  border-radius: 20px;
  background: var(--deep);
  color: #fff;
  grid-template-columns: minmax(0, 1fr) auto;
}

.inline-cta h2,
.inline-cta h3,
.inline-cta p {
  margin: 0;
  color: inherit;
}

.inline-cta p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  padding-block: 36px;
  background: var(--deep);
  color: #fff;
}

.footer-inner {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
}

.footer-brand {
  color: #fff;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
}

.footer-inner small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}

.footer-links {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: clamp(24px, 4vw, 54px);
  flex-wrap: wrap;
}

.footer-links > div {
  display: grid;
  gap: 6px;
}

.footer-links strong {
  margin-bottom: 3px;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 620;
  text-decoration: none;
  transition: color 150ms ease;
}

.noscript-message {
  position: fixed;
  z-index: 99;
  right: 18px;
  bottom: 18px;
  left: 18px;
  max-width: 620px;
  padding: 14px 18px;
  margin-inline: auto;
  border-radius: 12px;
  background: #fff0d2;
  box-shadow: var(--shadow-lg);
  color: #5d4308;
  font-weight: 650;
  text-align: center;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy {
    max-width: 680px;
    padding-block: 0;
  }

  .search-card {
    width: min(100%, 620px);
  }

  .tracking-result {
    grid-template-columns: 1fr;
  }

  .summary-card {
    grid-column: auto;
  }

  .tracking-guides {
    grid-template-columns: 1fr;
  }

  .home-guide-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-guide-links div {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .header-note {
    display: none;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, var(--shell));
  }

  .header-inner {
    min-height: 66px;
    padding-block: 12px;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    gap: 16px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    font-size: 0.74rem;
  }

  .hero {
    padding: 42px 0 64px;
  }

  .hero h1 {
    margin-top: 13px;
    font-size: clamp(2.75rem, 15vw, 4rem);
  }

  .hero-lead {
    line-height: 1.6;
  }

  .trust-row {
    gap: 16px;
    margin-top: 25px;
  }

  .search-card {
    border-radius: 24px;
  }

  .search-card::after {
    right: -8px;
    bottom: -8px;
  }

  .results-section {
    padding-block: 36px 58px;
  }

  .error-state {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .error-icon {
    width: 54px;
    height: 54px;
  }

  .skeleton-row {
    grid-template-columns: 1fr;
  }

  .skeleton-row .skeleton:nth-child(n + 3) {
    display: none;
  }

  .summary-top {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 15px;
  }

  .shipment-meta {
    grid-template-columns: 1fr 1fr;
  }

  .shipment-meta > div {
    padding: 18px 20px;
  }

  .shipment-meta > div + div {
    border-left: 1px solid var(--line);
  }

  .shipment-meta > div:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .journey {
    padding-inline: 21px;
  }

  .journey-line {
    right: 32px;
    left: 32px;
  }

  .journey li strong {
    max-width: 64px;
    font-size: 0.64rem;
    line-height: 1.25;
  }

  .timeline-item {
    grid-template-columns: 19px minmax(0, 1fr);
    gap: 14px;
    padding: 23px 0;
  }

  .timeline-time {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }

  .timeline-time strong {
    display: inline;
    margin-right: 4px;
  }

  .timeline-marker {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .timeline-marker::before {
    bottom: -35px;
  }

  .timeline-content {
    grid-column: 2;
    grid-row: 1;
  }

  .timeline-heading {
    align-items: flex-end;
  }

  .seo-content {
    padding-block: 60px 70px;
  }

  .seo-content-inner {
    gap: 38px;
  }

  .tracking-guides article {
    padding: 23px;
  }

  .home-guide-links {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .content-shell {
    width: min(100% - 28px, 880px);
  }

  .content-hero {
    padding-block: 42px 52px;
  }

  .content-body {
    padding-block: 48px 72px;
  }

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

  .inline-cta {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .header-note {
    max-width: 80px;
    text-align: right;
  }

  .trust-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .shipment-meta {
    grid-template-columns: 1fr;
  }

  .shipment-meta > div + div,
  .shipment-meta > div:nth-child(3) {
    grid-column: auto;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .journey {
    padding-inline: 15px;
  }

  .journey-line {
    right: 26px;
    left: 26px;
  }

  .journey li:nth-child(2) strong,
  .journey li:nth-child(3) strong {
    max-width: 54px;
  }

  .event-count {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

/* Editorial pages share the current tracking site's quiet visual identity. */
:root { --paper:#fff; --ink:#263444; --ink-soft:#5b6b7d; --deep:#143a64; --deep-2:#203855; --line:#e2e7ed; --card:#fff; --font-sans:Arial,Helvetica,sans-serif; --font-display:Arial,Helvetica,sans-serif; --mint-dark:#2462ce; --radius-md:12px; --radius-lg:18px; }
.content-page .site-header { background:#fff; border-bottom:1px solid #e7edf5; }
.content-page .header-inner { min-height:110px; flex-direction:column; justify-content:center; gap:12px; padding-block:20px 16px; }
.content-page .brand { display:block; width:255px; padding:0; }
.content-page .brand img { display:block; width:100%; height:auto; }
.content-page .site-nav { margin-left:0; align-self:center; justify-content:center; gap:22px; flex-wrap:wrap; }
.content-page .site-nav a { color:#607185; font-size:12px; }
.content-hero { color:#263444; background:#f7f9fc; padding-block:32px 40px; border-bottom:1px solid #e7edf5; }
.breadcrumbs { color:#607185; margin-bottom:20px; }
.breadcrumbs a:hover,.breadcrumbs a:focus-visible { color:#2462ce; }
.content-hero h1 { max-width:780px; font-size:clamp(28px,4.3vw,42px); font-weight:650; line-height:1.2; letter-spacing:-1px; }
.content-hero .eyebrow { color:#607185; font-size:11px; letter-spacing:1px; }
.content-hero > .content-shell > p:last-child,.content-hero .content-lead { color:#607185; font-size:16px; line-height:1.75; margin-top:18px; }
.content-hero > .content-shell > p.article-meta:last-child { color:#607185; font-size:12px; }
.content-body { padding-block:38px 58px; }
.content-body h2 { font-size:26px; line-height:1.3; font-weight:600; letter-spacing:-.5px; margin-top:38px; }
.content-body h3 { line-height:1.4; }
.quick-answer { background:#f4f8fc; border-color:#dfe8f3; border-left-color:#2462ce; border-radius:10px; padding:22px 24px; }
.content-card { box-shadow:none; border-radius:12px; }
.article-cover img { border-radius:12px; box-shadow:none; }
.content-page .site-footer { background:#f7f9fc; color:#607185; border-top:1px solid #e7edf5; }
.content-page .footer-brand { width:180px; }
.statistics-preferences { width:fit-content; border:0; padding:0; color:#607185; background:transparent; text-decoration:underline; font-size:12px; }
@media(max-width:650px) {
 .content-page .header-inner { padding-block:18px 14px; min-height:91px; }
 .content-page .brand { width:222px; }
 .content-page .site-nav { display:flex; gap:10px 18px; }
 .content-page .site-nav a { font-size:11px; }
 .content-hero { padding-block:26px 31px; }
 .content-shell { width:calc(100% - 36px); }
 .content-hero h1 { letter-spacing:-.7px; }
 .content-hero > .content-shell > p:last-child { font-size:15px; }
 .content-body h2 { font-size:23px; }
 .quick-answer { padding:20px; }
}

.content-page .footer-inner { grid-template-columns:200px minmax(0,1fr); align-items:start; }
.content-page .footer-inner p,.content-page .footer-inner small,.content-page .footer-links a { color:#607185; }
.content-page .footer-links strong { color:#354459; }
.content-page .footer-inner small { grid-column:1/-1; }
.content-page .footer-links a:hover { color:#2462ce; }
@media(max-width:850px) { .content-page .footer-inner { grid-template-columns:1fr; } .content-page .footer-links { justify-content:flex-start; gap:24px 40px; } }
