/* 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;
  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);
}

.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: #919c9e;
  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: #748185;
  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;
  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;
}

.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: #758388;
  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;
  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: #899497;
  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: #647276;
  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: #6c7a7d;
  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 {
  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;
}

.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;
}

.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;
}

.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;
  }
}

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

  .header-inner {
    min-height: 66px;
  }

  .header-note {
    font-size: 0.65rem;
  }

  .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;
  }

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

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

@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;
  }
}
