:root {
  color-scheme: light;
  --ink: #111116;
  --muted: #777982;
  --soft-muted: #a2a4ac;
  --line: #ececf0;
  --paper: #fff;
  --surface: #f6f6f8;
  --pink: #ed2f73;
  --purple: #7727d4;
  --green: #13815c;
  --green-soft: #e8f6ef;
  --shadow: 0 18px 55px rgba(17, 17, 22, .075);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.announcement {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 16px;
  background: linear-gradient(100deg, #eb2c72 4%, #a02fd5 51%, #26b8de 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .015em;
  text-align: center;
}
.announcement-pin { width: 7px; height: 7px; border: 1.5px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.site-header { background: #101014; color: #fff; }
.header-inner { width: min(1120px, calc(100% - 48px)); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { position: relative; display: flex; width: 128px; height: 52px; flex-direction: column; justify-content: center; line-height: .86; }
.brand-main { font-size: 26px; font-weight: 800; letter-spacing: -.095em; }
.brand-script { margin: 2px 0 0 47px; color: #f2f2f5; font-family: Georgia, serif; font-size: 15px; font-style: italic; letter-spacing: -.08em; transform: rotate(-7deg); }
.header-note { display: flex; align-items: center; gap: 9px; color: #dcdae1; font-size: 13px; }
.header-note-dot { width: 8px; height: 8px; border-radius: 50%; background: #55d4aa; box-shadow: 0 0 0 4px rgba(85,212,170,.12); }
.store-link { display: flex; align-items: center; gap: 7px; color: #fff; font-size: 13px; font-weight: 600; transition: opacity .2s; }
.store-link:hover, .site-footer a:last-child:hover { opacity: .75; }
.store-link span, .site-footer a:last-child span { color: #ed4c83; font-size: 17px; }
.header-gradient { height: 3px; background: linear-gradient(90deg, #f3d82e, #ee2874, #922de3, #28bddb); }
.main-shell { width: min(1120px, calc(100% - 48px)); min-height: calc(100vh - 190px); margin: auto; padding: 62px 0 78px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--pink); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-mark { width: 18px; height: 2px; border-radius: 2px; background: var(--pink); }
.home-intro { max-width: 680px; margin: 0 0 35px; }
.home-intro h1 { max-width: 660px; margin: 15px 0 13px; font-size: clamp(36px, 4.2vw, 54px); font-weight: 730; line-height: 1.08; letter-spacing: -.052em; }
.home-intro p { max-width: 560px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .78fr); gap: 22px; align-items: stretch; }
.search-card, .journey-card, .track-card, .address-card { border: 1px solid rgba(220,220,227,.7); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); }
.search-card { padding: 32px; }
.section-heading { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.025em; }
.section-copy { margin: 7px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.track-form { display: flex; align-items: stretch; gap: 10px; }
.field-wrap { position: relative; flex: 1; min-width: 0; }
.field-icon { position: absolute; top: 50%; left: 15px; display: grid; width: 18px; height: 18px; color: #8f9098; transform: translateY(-50%); pointer-events: none; }
.text-field { width: 100%; min-height: 54px; padding: 0 15px; border: 1px solid #e6e6eb; border-radius: 11px; outline: 0; background: #fff; color: var(--ink); font-size: 14px; transition: border .18s, box-shadow .18s; }
.text-field.has-icon { padding-left: 44px; }
.text-field::placeholder { color: #a3a4ac; }
.text-field:focus { border-color: #ed72a0; box-shadow: 0 0 0 3px rgba(237,47,115,.1); }
.primary-button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 23px; border: 0; border-radius: 11px; background: linear-gradient(105deg, #ee2f74, #da286e); box-shadow: 0 8px 19px rgba(237,47,115,.19); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .16s, box-shadow .16s; }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 11px 22px rgba(237,47,115,.24); }
.primary-button:active { transform: translateY(0); }
.primary-button:disabled { opacity: .65; cursor: wait; }
.search-help { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; color: #898b93; font-size: 12px; line-height: 1.6; }
.search-help svg { flex: 0 0 15px; margin-top: 1px; color: #8b55d0; }
.form-message { min-height: 18px; margin: 9px 0 0; color: #bd315b; font-size: 12px; }
.journey-card { position: relative; min-height: 244px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 26px 28px; background: #111116; color: #fff; }
.journey-card::before, .journey-card::after { position: absolute; content: ""; border-radius: 50%; pointer-events: none; }
.journey-card::before { width: 275px; height: 275px; top: -112px; right: -35px; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 0 0 24px rgba(255,255,255,.025), 0 0 0 49px rgba(255,255,255,.02); }
.journey-card::after { width: 178px; height: 178px; bottom: -111px; left: 34px; background: rgba(237,47,115,.18); filter: blur(26px); }
.journey-card-top, .journey-card-bottom { position: relative; z-index: 1; }
.journey-card-top { display: flex; align-items: center; justify-content: space-between; }
.journey-label { color: #c1bfca; font-size: 12px; }
.journey-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #dddbe3; font-size: 10px; }
.journey-chip span { width: 6px; height: 6px; border-radius: 50%; background: #59d4a7; }
.journey-art { position: relative; z-index: 1; height: 115px; display: grid; place-items: center; }
.journey-art svg { width: 205px; max-width: 80%; height: auto; overflow: visible; }
.journey-card-bottom strong { display: block; margin-bottom: 5px; font-size: 16px; letter-spacing: -.02em; }
.journey-card-bottom span { color: #b9b7c1; font-size: 12px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-top: 26px; color: #7a7b83; font-size: 12px; }
.trust-item { display: inline-flex; align-items: center; gap: 7px; }
.trust-item svg { width: 16px; height: 16px; color: #8d55cd; }
.site-footer { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px max(24px, calc((100vw - 1120px) / 2)); border-top: 1px solid #e9e9ed; background: #fff; color: #85868e; font-size: 12px; }
.footer-brand { color: #16161b; font-size: 13px; font-weight: 800; letter-spacing: -.06em; }
.footer-brand span { margin-left: 3px; color: #ed2f73; font-family: Georgia, serif; font-size: 12px; font-style: italic; font-weight: 400; }
.site-footer a:last-child { color: #4a4b52; font-weight: 600; }
.site-footer a:last-child span { margin-left: 3px; }
.loading-card { min-height: 240px; display: flex; align-items: center; justify-content: center; gap: 11px; color: var(--muted); }
.spinner { width: 18px; height: 18px; border: 2px solid #e5c4d1; border-top-color: var(--pink); border-radius: 50%; animation: spin .72s linear infinite; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Individual tracking page */
.track-shell { max-width: 920px; margin: 0 auto; }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 22px; color: #696a72; font-size: 13px; font-weight: 600; }
.back-link:hover { color: var(--pink); }
.track-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.track-heading h1 { margin: 9px 0 4px; font-size: clamp(30px, 4vw, 42px); line-height: 1.12; letter-spacing: -.05em; }
.track-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.order-tag { flex: 0 0 auto; margin-bottom: 5px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #777982; font-size: 12px; }
.order-tag strong { margin-left: 3px; color: var(--ink); font-size: 13px; }
.track-card { padding: 27px 31px; }
.current-status { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 14px; padding: 19px; border: 1px solid #f5d4e1; border-radius: 14px; background: linear-gradient(108deg, #fff8fb, #fff); }
.status-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #fdeaf1; color: var(--pink); }
.status-icon svg { width: 21px; height: 21px; }
.status-copy small { display: block; margin-bottom: 4px; color: #8b8790; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.status-copy strong { display: block; font-size: 16px; letter-spacing: -.02em; }
.status-copy p { margin: 4px 0 0; color: #777982; font-size: 12px; line-height: 1.45; }
.status-date { color: #74757e; font-size: 12px; text-align: right; }
.status-date strong { display: block; margin-top: 4px; color: var(--ink); font-size: 13px; }
.progress-wrap { padding: 24px 4px 7px; }
.progress-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; color: #898a92; font-size: 11px; }
.progress-meta strong { color: var(--ink); font-size: 12px; }
.progress-track { height: 5px; overflow: hidden; border-radius: 999px; background: #efeff2; }
.progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ed2f73, #8d31d6); }
.progress-fill[data-step="0"] { width: 4%; }
.progress-fill[data-step="1"] { width: 15%; }
.progress-fill[data-step="2"] { width: 28%; }
.progress-fill[data-step="3"] { width: 41%; }
.progress-fill[data-step="4"] { width: 54%; }
.progress-fill[data-step="5"] { width: 68%; }
.progress-fill[data-step="6"] { width: 81%; }
.progress-fill[data-step="7"] { width: 100%; }
.timeline-title { margin: 22px 0 16px; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline-item { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 13px; min-height: 70px; padding-bottom: 15px; }
.timeline-item:last-child { min-height: 49px; padding-bottom: 0; }
.timeline-marker-wrap { position: relative; display: flex; justify-content: center; }
.timeline-marker-wrap::after { position: absolute; top: 23px; bottom: -1px; left: 12px; width: 1px; background: #e7e7eb; content: ""; }
.timeline-item:last-child .timeline-marker-wrap::after { display: none; }
.timeline-marker { position: relative; z-index: 1; width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid #dedee4; border-radius: 50%; background: #fff; color: #a0a1a9; }
.timeline-marker svg { width: 12px; height: 12px; }
.timeline-item[data-state="done"] .timeline-marker { border-color: #b5e2ce; background: #e8f6ef; color: #15845d; }
.timeline-item[data-state="current"] .timeline-marker { border-color: #ed2f73; background: #ed2f73; box-shadow: 0 0 0 4px #fde8f0; color: #fff; }
.timeline-item[data-state="upcoming"] .timeline-title-text { color: #999aa2; }
.timeline-title-text { display: block; margin: 2px 0 4px; font-size: 13px; font-weight: 650; }
.timeline-description { display: block; color: #85868e; font-size: 11px; line-height: 1.5; }
.timeline-date { padding-top: 5px; color: #85868e; font-size: 11px; white-space: nowrap; }
.timeline-item[data-state="current"] .timeline-date { color: var(--pink); font-weight: 700; }
.details-grid { display: grid; grid-template-columns: minmax(0, 560px); gap: 16px; margin-top: 18px; }
.address-card { padding: 20px 22px; box-shadow: none; }
.address-title { display: flex; align-items: center; gap: 9px; margin: 0 0 13px; font-size: 13px; font-weight: 700; }
.address-title svg { width: 17px; height: 17px; color: var(--pink); }
.address-name { margin: 0 0 4px; font-size: 13px; font-weight: 700; }
.address-lines { margin: 0; color: #777982; font-size: 12px; line-height: 1.7; }
.error-state { max-width: 530px; margin: 20px auto; padding: 42px 34px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.error-icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 16px; background: #fff0f4; color: var(--pink); }
.error-icon svg { width: 25px; height: 25px; }
.error-state h1 { margin: 0 0 9px; font-size: 24px; letter-spacing: -.035em; }
.error-state p { margin: 0 auto 22px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.secondary-button { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid #e6e6eb; border-radius: 10px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; }
.secondary-button:hover { border-color: #d1a5b6; }

@media (max-width: 760px) {
  .header-inner, .main-shell { width: min(100% - 34px, 560px); }
  .header-inner { min-height: 67px; gap: 12px; }
  .header-note { font-size: 11px; }
  .brand { width: 107px; transform: scale(.88); transform-origin: left center; }
  .store-link { font-size: 12px; }
  .main-shell { min-height: calc(100vh - 178px); padding: 43px 0 55px; }
  .home-intro { margin-bottom: 25px; }
  .home-intro h1 { font-size: clamp(35px, 9vw, 47px); }
  .home-intro p { font-size: 14px; }
  .home-grid { grid-template-columns: 1fr; gap: 15px; }
  .search-card { padding: 24px 21px; }
  .track-form { flex-direction: column; }
  .track-form .primary-button { width: 100%; }
  .journey-card { min-height: 228px; padding: 22px 23px; }
  .journey-art { height: 103px; }
  .trust-row { justify-content: flex-start; gap: 12px 20px; margin-top: 21px; }
  .site-footer { flex-wrap: wrap; justify-content: flex-start; gap: 7px 17px; padding: 16px 17px; }
  .site-footer > span { flex: 1 1 100%; order: 2; }
  .site-footer a:last-child { margin-left: auto; }
  .track-heading { align-items: flex-start; flex-direction: column; margin-bottom: 15px; }
  .track-heading h1 { font-size: 33px; }
  .order-tag { margin: 0; }
  .track-card { padding: 19px 17px; border-radius: 17px; }
  .current-status { grid-template-columns: 39px 1fr; gap: 11px; padding: 14px 12px; }
  .status-icon { width: 39px; height: 39px; }
  .status-copy strong { font-size: 14px; }
  .status-date { grid-column: 2; padding-top: 0; text-align: left; font-size: 11px; }
  .status-date strong { display: inline; margin-left: 4px; font-size: 11px; }
  .progress-wrap { padding: 19px 2px 4px; }
  .timeline-item { grid-template-columns: 25px minmax(0, 1fr); gap: 10px; min-height: 78px; padding-bottom: 16px; }
  .timeline-date { grid-column: 2; grid-row: 2; padding-top: 0; margin-top: -6px; font-size: 10px; }
  .timeline-marker-wrap { grid-row: 1 / span 2; }
  .timeline-marker-wrap::after { bottom: -13px; }
  .timeline-item:last-child { min-height: 61px; }
  .details-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 13px; }
  .address-card { padding: 17px 18px; }
  .error-state { margin: 0; padding: 34px 24px; }
}
@media (max-width: 380px) {
  .header-inner, .main-shell { width: calc(100% - 28px); }
  .header-note { display: none; }
  .header-inner { justify-content: space-between; }
  .home-intro h1 { font-size: 34px; }
  .search-card { padding: 21px 17px; }
  .trust-row { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
