:root {
  --black: #000;
  --ink: #1d1d1d;
  --grey-1: #f6f6f6;
  --grey-2: #ececec;
  --grey-3: #d6d6d6;
  --grey-4: #8a8a8a;
  --grey-5: #5c5c5c;
  --white: #fff;
  --green: #1f6f43;
  --red: #b4161b;
  --amber: #8a5a00;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol { margin: 0; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 880px; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey-5);
  margin-bottom: 14px;
}
.eyebrow--light { color: rgba(255, 255, 255, .78); }
.section-title {
  font-weight: 300;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--black);
}

/* Top bar + header */
.topbar { background: var(--black); color: var(--white); text-align: center; padding: 9px 16px; }
.topbar p { font-size: 11px; letter-spacing: .08em; }

.header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--grey-2); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; padding: 0 var(--gutter); max-width: 1440px; margin: 0 auto; }
.header__back { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; text-decoration: none; letter-spacing: .02em; justify-self: start; }
.header__back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .3s var(--ease); }
.header__back:hover svg { transform: translateX(-3px); }
.header__back span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.header__back:hover span { background-size: 100% 1px; }
.header__logo img { width: 115px; height: auto; }
.header__help { justify-self: end; font-size: 12px; text-decoration: none; letter-spacing: .02em; }
.header__help:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 600px) {
  .header__back span { display: none; }
  .header__logo img { width: 100px; height: auto; }
}

/* Hero */
.hero { position: relative; min-height: min(78vh, 640px); display: flex; align-items: center; color: var(--white); background: #050505; overflow: hidden; isolation: isolate; }
.hero { background: radial-gradient(120% 90% at 85% 20%, #1c1c1c 0%, #0a0a0a 55%, #050505 100%); }
.hero__art { position: absolute; top: 0; bottom: 0; right: 0; width: 58%; display: flex; align-items: center; justify-content: center; padding: 40px 48px 40px 0; }
.hero__art svg { width: 100%; height: 100%; max-height: 520px; overflow: visible; }
.hero__art .grid path { stroke: rgba(255,255,255,.06); stroke-width: 1; fill: none; }
.hero__art .route-base { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1; stroke-dasharray: 3 7; }
.hero__art .route-draw { fill: none; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.6s var(--ease) .4s forwards; opacity: .9; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__art .node circle { fill: #0a0a0a; stroke: #fff; stroke-width: 1.2; }
.hero__art .node text { fill: rgba(255,255,255,.55); font-size: 10px; letter-spacing: .2em; font-family: inherit; font-weight: 600; }
.hero__art .node--end circle { fill: #fff; }
.hero__art .node--end .ring { fill: none; stroke: #fff; transform-origin: 580px 100px; animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }
.hero__art .parcel circle { fill: #fff; filter: drop-shadow(0 0 12px rgba(255,255,255,.55)); }
.hero__shade { display: none; }
@media (max-width: 900px) { .hero__art { width: 100%; opacity: .35; padding: 24px; } }
.hero__content { position: relative; z-index: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 72px var(--gutter); }
.hero__content > * { max-width: 520px; }
.hero__title { font-weight: 300; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 20px; }
.hero__lead { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .82); margin-bottom: 36px; font-weight: 300; }
@media (max-width: 767px) {
  .hero { min-height: 560px; align-items: flex-end; }
  .hero { min-height: 600px; }
  .hero__art { bottom: auto; height: 250px; opacity: .55; padding: 28px 20px 0; }
  .hero__content { padding: 48px 16px 32px; }
}

.reveal { opacity: 0; transform: translateY(14px); animation: reveal .9s var(--ease) forwards; }
.reveal:nth-child(2) { animation-delay: .08s; }
.reveal:nth-child(3) { animation-delay: .16s; }
.reveal:nth-child(4) { animation-delay: .24s; }
@keyframes reveal { to { opacity: 1; transform: none; } }

/* Search */
.mode { display: inline-flex; gap: 28px; margin-bottom: 18px; }
.mode__btn { background: none; border: 0; padding: 0 0 8px; cursor: pointer; color: rgba(255,255,255,.55); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.mode__btn:hover { color: #fff; }
.mode__btn.is-active { color: #fff; border-bottom-color: #fff; }
.search[data-mode="order"] .search__field--number, .search[data-mode="number"] .search__field--order { display: none; }
.search__field--order + .search__field--order { border-left: 1px solid var(--grey-2); }
.search { display: flex; gap: 6px; padding: 6px; background: var(--white); max-width: 640px !important; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.search__field { position: relative; flex: 1; min-width: 0; }
.search__field input {
  width: 100%; height: 56px; border: 0; outline: 0; background: transparent;
  padding: 22px 44px 6px 14px; font: inherit; font-size: 15px; letter-spacing: .06em; color: var(--black);
  border-radius: 0; -webkit-appearance: none;
}
.search__field label {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%); pointer-events: none;
  font-size: 14px; color: var(--grey-4); transition: all .2s var(--ease);
}
.search__field input:focus + label,
.search__field input:not(:placeholder-shown) + label { top: 16px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--grey-5); }
.search__field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--black); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.search__field:focus-within::after { transform: scaleX(1); }
.search__clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; background: none; cursor: pointer; padding: 6px; color: var(--grey-5); }
.search__clear svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.search__error { margin-top: 12px; font-size: 13px; color: #ffb4b4; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 132px; height: 56px; padding: 0 28px; border: 0; cursor: pointer;
  background: var(--black); color: var(--white);
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  transition: background .25s;
}
.btn:hover { background: #2a2a2a; }
.btn:focus-visible { outline: 2px solid var(--white); outline-offset: -5px; }
.search .btn { height: 56px; }
.btn__spinner { display: none; width: 16px; height: 16px; border: 1.5px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-loading .btn__label { opacity: .0; }
.btn.is-loading .btn__spinner { display: block; position: absolute; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .search[data-mode="order"] { flex-wrap: wrap; }
  .search[data-mode="order"] .search__field { flex: 1 1 100%; }
  .search__field--order + .search__field--order { border-left: 0; border-top: 1px solid var(--grey-2); }
  .search[data-mode="order"] .btn { flex: 1 1 100%; }
}
@media (max-width: 420px) {
  .btn { min-width: 96px; padding: 0 18px; }
}
/* Packages + items */
.packages { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.packages__btn { height: 40px; padding: 0 16px; border: 1px solid var(--grey-3); background: var(--white); cursor: pointer; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.packages__btn.is-active { background: var(--black); color: var(--white); border-color: var(--black); }
.items { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--grey-3); display: grid; gap: 14px; }
.item { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; }
.item__img { width: 56px; height: 70px; object-fit: cover; background: var(--grey-2); }
.item__title { font-size: 13.5px; color: var(--black); line-height: 1.35; }
.item__meta { font-size: 12px; color: var(--grey-4); margin-top: 2px; }

/* Result */
.result { padding: 72px 0 96px; background: var(--white); scroll-margin-top: 64px; }
.result__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; padding-bottom: 40px; border-bottom: 1px solid var(--grey-2); }
.status-title { font-weight: 300; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.02em; color: var(--black); }
.status-sub { margin-top: 12px; font-size: 15px; color: var(--grey-5); font-weight: 300; }
.status-sub strong { color: var(--black); font-weight: 400; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill--live::before { animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,0,0,.35); } 100% { box-shadow: 0 0 0 10px rgba(0,0,0,0); } }
.pill--ok { color: var(--green); }
.pill--warn { color: var(--amber); }
.pill--bad { color: var(--red); }
.pill--neutral { color: var(--black); }

.result__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px;
  border: 1px solid var(--grey-3); background: var(--white); cursor: pointer; text-decoration: none;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--black);
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--black); }
.btn-ghost svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.5; fill: none; }

/* Progress */
.progress { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 48px 0 56px; }
.progress__track, .progress__fill { position: absolute; top: 7px; left: 12.5%; right: 12.5%; height: 1px; background: var(--grey-3); }
.progress__fill { background: var(--black); right: auto; width: 0; transition: width 1.4s var(--ease) .2s; height: 2px; top: 6.5px; }
.progress__step { position: relative; text-align: center; padding-top: 32px; }
.progress__dot { position: absolute; top: 0; left: 50%; width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%; background: var(--white); border: 1px solid var(--grey-3); transition: all .4s var(--ease); transition-delay: var(--d, 0s); }
.progress__step.is-done .progress__dot { background: var(--black); border-color: var(--black); }
.progress__step.is-current .progress__dot { background: var(--black); border-color: var(--black); box-shadow: 0 0 0 5px var(--white), 0 0 0 6px var(--black); }
.progress__label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-4); transition: color .4s; }
.progress__step.is-done .progress__label, .progress__step.is-current .progress__label { color: var(--black); }
.progress__date { display: block; margin-top: 4px; font-size: 12px; color: var(--grey-4); letter-spacing: 0; text-transform: none; font-weight: 400; }
@media (max-width: 600px) {
  .progress__label { font-size: 9.5px; letter-spacing: .08em; }
  .progress__date { font-size: 11px; }
}

/* Body grid */
.result__body { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: start; }
@media (max-width: 900px) { .result__body { grid-template-columns: 1fr; gap: 48px; } }

.details { position: sticky; top: 96px; background: var(--grey-1); padding: 32px; }
.details h3, .timeline h3 { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--black); margin-bottom: 24px; }
.details dl { margin: 0; display: grid; gap: 22px; }
.details dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-4); margin-bottom: 4px; }
.details dd { margin: 0; font-size: 15px; color: var(--black); word-break: break-word; }
.details .copy { display: inline-flex; align-items: center; gap: 10px; }
.copy-btn { border: 0; background: none; padding: 2px; cursor: pointer; color: var(--grey-5); display: inline-flex; }
.copy-btn:hover { color: var(--black); }
.copy-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.4; fill: none; }
.route { display: flex; align-items: center; gap: 12px; }
.route svg { width: 34px; height: 10px; stroke: var(--black); stroke-width: 1; fill: none; flex: none; }
.details__note { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--grey-3); font-size: 12.5px; line-height: 1.6; color: var(--grey-5); }
.details__note a { color: var(--black); }
@media (max-width: 900px) { .details { position: static; padding: 24px; } }

/* Timeline */
.timeline ol { list-style: none; padding: 0; }
.event { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 0 36px; padding-bottom: 34px; opacity: 0; transform: translateY(10px); animation: reveal .6s var(--ease) forwards; }
.event::before { content: ""; position: absolute; left: 130px; top: 12px; bottom: -4px; width: 1px; background: var(--grey-3); }
.event:last-child::before { display: none; }
.event__when { text-align: right; padding-top: 1px; }
.event__date { display: block; font-size: 13px; color: var(--black); }
.event__time { display: block; font-size: 12px; color: var(--grey-4); }
.event__body { position: relative; padding-left: 0; }
.event__body::before { content: ""; position: absolute; left: -22.5px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--white); border: 1px solid var(--grey-4); }
.event:first-child .event__body::before { background: var(--black); border-color: var(--black); box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--black); }
.event__text { font-size: 15px; color: var(--ink); line-height: 1.45; }
.event:first-child .event__text { color: var(--black); font-weight: 600; }
.event__loc { margin-top: 4px; font-size: 12.5px; color: var(--grey-4); display: flex; align-items: center; gap: 5px; }
.event__loc svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.5; flex: none; }
.event.is-hidden { display: none; }
@media (max-width: 600px) {
  .event { grid-template-columns: 1fr; padding-left: 28px; padding-bottom: 28px; }
  .event::before { left: 4px; }
  .event__when { text-align: left; margin-bottom: 4px; }
  .event__date, .event__time { display: inline; font-size: 12px; }
  .event__time::before { content: " · "; }
  .event__body::before { left: -28.5px; top: -21px; }
}
.timeline__more { margin-top: 4px; margin-left: 148px; }
@media (max-width: 600px) { .timeline__more { margin-left: 28px; } }

/* States */
.state { text-align: center; max-width: 560px; margin: 0 auto; padding: 24px 0; }
.state__icon { width: 56px; height: 56px; margin: 0 auto 24px; border: 1px solid var(--grey-3); border-radius: 50%; display: grid; place-items: center; }
.state__icon svg { width: 24px; height: 24px; stroke: var(--black); stroke-width: 1.3; fill: none; }
.state__icon--spin { border-color: var(--grey-2); border-top-color: var(--black); animation: spin 1s linear infinite; }
.state h2 { font-weight: 300; font-size: clamp(26px, 3vw, 34px); color: var(--black); margin-bottom: 12px; letter-spacing: -.01em; }
.state p { color: var(--grey-5); font-size: 14.5px; font-weight: 300; }
.state .btn-ghost { margin-top: 28px; }
.state__bar { width: 220px; height: 2px; margin: 28px auto 0; background: var(--grey-2); overflow: hidden; }
.state__bar span { display: block; height: 100%; width: 0; background: var(--black); }

/* Skeleton */
.sk { background: linear-gradient(90deg, var(--grey-2) 0%, var(--grey-1) 50%, var(--grey-2) 100%) 0 0 / 200% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk-line { height: 14px; margin-bottom: 14px; }
.sk-title { height: 52px; width: 46%; margin-bottom: 18px; }
.sk-grid { display: grid; grid-template-columns: 340px 1fr; gap: 72px; margin-top: 56px; }
.sk-box { height: 320px; }
@media (max-width: 900px) { .sk-grid { grid-template-columns: 1fr; gap: 32px; } .sk-box { height: 180px; } }

/* Steps */
.steps { padding: 96px 0; background: var(--grey-1); }
.steps__list { list-style: none; padding: 0; margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--grey-3); }
.steps__list li { padding: 32px 40px 8px 0; }
.steps__list li + li { padding-left: 40px; border-left: 1px solid var(--grey-3); }
.steps__num { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--grey-4); margin-bottom: 40px; }
.steps__list h3 { font-weight: 400; font-size: 20px; color: var(--black); margin-bottom: 10px; letter-spacing: -.005em; }
.steps__list p { color: var(--grey-5); font-weight: 300; font-size: 14px; }
@media (max-width: 800px) {
  .steps { padding: 64px 0; }
  .steps__list { grid-template-columns: 1fr; }
  .steps__list li, .steps__list li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--grey-3); }
  .steps__num { margin-bottom: 16px; }
}

/* FAQ */
.faq { padding: 96px 0 112px; }
.faq__list { margin-top: 40px; border-top: 1px solid var(--grey-3); }
.faq details { border-bottom: 1px solid var(--grey-3); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 16px; color: var(--black); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--black); transition: transform .35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details > div { overflow: hidden; }
.faq details p { padding: 0 48px 26px 0; color: var(--grey-5); font-weight: 300; font-size: 14.5px; line-height: 1.7; }
@media (max-width: 800px) { .faq { padding: 64px 0 72px; } .faq summary { font-size: 15px; } }

/* Footer */
.footer { background: var(--black); color: var(--white); padding: 56px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__logo { width: 115px; height: auto; }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__nav a { font-size: 12px; text-decoration: none; color: rgba(255,255,255,.75); letter-spacing: .04em; }
.footer__nav a:hover { color: var(--white); }
.footer__copy { font-size: 11.5px; color: rgba(255,255,255,.5); }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; background: var(--black); color: var(--white); padding: 12px 20px; font-size: 12px; letter-spacing: .06em; z-index: 50; transition: all .35s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
