:root {
  --hot-pink: #ff0a8a;
  --pink-dark: #c90068;
  --pink-soft: #fff0f8;
  --blush: #fff8fc;
  --ink: #231722;
  --muted: #6f6470;
  --line: #f1d7e5;
  --sky: #dff4ff;
  --sun: #fff1a9;
  --lilac: #eee5ff;
  --mint: #dff9ee;
  --shadow: 0 20px 55px rgba(135, 26, 87, .12);
  --shadow-small: 0 9px 26px rgba(135, 26, 87, .10);
  font-family: Arial, Helvetica, ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: #fff;
  color: var(--ink);
  line-height: 1.5;
}
button, input { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 100;
  visibility: hidden;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
}
.skip-link:focus { visibility: visible; transform: none; }

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid #f5e6ee;
  background: rgba(255, 255, 255, .96);
}
.header-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo {
  display: block;
  width: 92px;
  height: auto;
  object-fit: contain;
}
.shop-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border: 1.5px solid var(--hot-pink);
  border-radius: 999px;
  color: var(--pink-dark);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 800;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.shop-link svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.shop-link:hover { background: var(--pink-soft); transform: translateY(-1px); }

main { overflow: clip; }
.hero {
  position: relative;
  isolation: isolate;
  padding: 62px 20px 58px;
  background: linear-gradient(180deg, #fff8fc 0%, #fff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -3%;
  right: -3%;
  bottom: -23px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
}
.hero-copy {
  width: min(760px, 100%);
  margin: 0 auto 30px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--pink-dark);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "★";
  color: var(--hot-pink);
  font-size: .75rem;
}
.hero h1 {
  margin: 10px 0 12px;
  color: var(--ink);
  font-size: clamp(2.65rem, 6vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero-copy p {
  max-width: 590px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-decoration {
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  pointer-events: none;
}
.decor-left { left: max(18px, calc(50% - 650px)); top: 94px; }
.decor-right { right: max(18px, calc(50% - 650px)); top: 58px; }
.hero-decoration span { position: absolute; display: block; }
.decor-left span:nth-child(1) {
  width: 17px; height: 17px; left: 102px; top: 12px;
  background: var(--hot-pink); clip-path: polygon(50% 0,61% 36%,100% 50%,61% 64%,50% 100%,39% 64%,0 50%,39% 36%);
}
.decor-left span:nth-child(2) {
  width: 12px; height: 12px; left: 114px; top: 96px; border-radius: 50%; background: #68ccff;
}
.decor-right span:nth-child(1) {
  width: 21px; height: 21px; right: 104px; top: 13px;
  background: #68ccff; clip-path: polygon(50% 0,61% 36%,100% 50%,61% 64%,50% 100%,39% 64%,0 50%,39% 36%);
}
.decor-right span:nth-child(2) {
  width: 13px; height: 13px; right: 112px; top: 107px; border-radius: 50%; background: #ff8fc7;
}

.tracking-form {
  width: min(790px, 100%);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow);
}
.form-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}
.form-title strong { display: block; font-size: 1.08rem; }
.form-title small { display: block; margin-top: 1px; color: var(--muted); font-size: .8rem; }
.form-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--pink-soft);
  color: var(--hot-pink);
}
.form-icon svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.field-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.4fr); gap: 18px; }
.field-group { display: block; min-width: 0; }
.field-label { display: block; margin-bottom: 7px; font-size: .84rem; font-weight: 800; }
.field-group input,
.input-shell {
  width: 100%;
  height: 56px;
  border: 1.5px solid #dccbd5;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field-group > input { padding: 0 15px; outline: none; }
.input-shell { display: flex; align-items: center; overflow: hidden; }
.input-prefix { padding-left: 15px; color: var(--pink-dark); font-weight: 900; }
.input-shell input {
  min-width: 0;
  flex: 1;
  height: 52px;
  border: 0;
  outline: none;
  padding: 0 14px 0 4px;
  background: transparent;
}
.field-group > input:focus,
.input-shell:focus-within { border-color: var(--hot-pink); box-shadow: 0 0 0 4px rgba(255, 10, 138, .12); }
.field-group small { display: block; min-height: 19px; margin-top: 6px; color: var(--muted); font-size: .75rem; }

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.primary-button {
  width: 100%;
  margin-top: 20px;
  border: 0;
  background: var(--hot-pink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 10, 138, .24);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.primary-button:hover { background: #e9007d; transform: translateY(-1px); box-shadow: 0 14px 28px rgba(255, 10, 138, .28); }
.primary-button:active { transform: translateY(1px); }
.primary-button:disabled { cursor: wait; opacity: .82; }
.button-spinner {
  display: none;
  width: 19px;
  height: 19px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
.tracking-form.is-loading .button-label { display: none; }
.tracking-form.is-loading .button-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-message {
  min-height: 23px;
  margin-top: 11px;
  color: #a51f59;
  font-size: .84rem;
  font-weight: 700;
  text-align: center;
}
.form-message.is-progress { color: var(--muted); }
.form-message.is-success { color: #16704b; }
.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--muted);
  font-size: .73rem;
  text-align: center;
}
.privacy-note svg { width: 16px; flex: 0 0 auto; fill: none; stroke: var(--pink-dark); stroke-width: 1.8; }

.result-card {
  width: min(1040px, calc(100% - 40px));
  scroll-margin-top: 24px;
  margin: 64px auto 40px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}
.result-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.result-heading h2 { margin: 7px 0 0; font-size: clamp(1.8rem, 4vw, 2.65rem); line-height: 1.08; letter-spacing: -.04em; }
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink-dark);
  font-size: .78rem;
  font-weight: 900;
  white-space: nowrap;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 40px 0 34px;
  padding: 0;
  list-style: none;
}
.timeline-step {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 14px;
  color: #a2959f;
  text-align: center;
}
.timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(50% + 33px);
  width: calc(100% - 66px);
  height: 3px;
  border-radius: 999px;
  background: #f0e0e9;
}
.timeline-step.complete:not(:last-child)::after { background: var(--hot-pink); }
.step-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid #ead9e3;
  border-radius: 20px;
  background: #fff;
}
.step-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.timeline-step strong { display: block; margin-top: 13px; color: inherit; font-size: .94rem; }
.timeline-step div span { display: block; margin-top: 3px; color: inherit; font-size: .76rem; }
.timeline-step.complete,
.timeline-step.current { color: var(--pink-dark); }
.timeline-step.complete .step-icon { border-color: var(--hot-pink); border-radius: 50%; background: var(--hot-pink); color: #fff; }
.timeline-step.current .step-icon { border-color: var(--hot-pink); background: var(--pink-soft); color: var(--hot-pink); box-shadow: 0 0 0 6px rgba(255, 10, 138, .10); }
.tracking-alert {
  margin: 0 0 22px;
  padding: 14px 17px;
  border: 1px solid #f2d18f;
  border-radius: 14px;
  background: #fff9e9;
  color: #70470d;
  font-size: .86rem;
}
.shipment-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--blush), #fff);
  border: 1px solid #f6e6ef;
}
.detail-item { min-width: 0; }
.detail-item > span { display: block; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.detail-item strong { display: block; margin-top: 3px; overflow-wrap: anywhere; font-size: .98rem; }
.detail-item small { display: block; color: var(--muted); font-size: .75rem; }
.secondary-button {
  min-width: 190px;
  min-height: 48px;
  padding: 0 18px;
  border: 1.5px solid var(--hot-pink);
  background: #fff;
  color: var(--pink-dark);
  font-size: .86rem;
}
.secondary-button:hover { background: var(--pink-soft); }
.tracking-note {
  max-width: 250px;
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.4;
}

.support-card {
  width: min(1040px, calc(100% - 40px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin: 32px auto 100px;
  padding: 24px 28px;
  border-radius: 22px;
  background: var(--sky);
}
.support-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--pink-dark);
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: var(--shadow-small);
}
.support-card h2 { margin: 0; font-size: 1.12rem; }
.support-card p { margin: 2px 0 0; color: #4f6470; font-size: .84rem; }
.support-card > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}

footer {
  position: relative;
  min-height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 48px 20px 28px;
  background: var(--hot-pink);
  color: #fff;
  text-align: center;
}
.footer-wave {
  position: absolute;
  top: -28px;
  left: 0;
  width: 100%;
  height: 50px;
  border-radius: 50% 50% 0 0;
  background: var(--hot-pink);
}
footer img { width: 72px; height: auto; filter: drop-shadow(0 5px 10px rgba(93, 0, 48, .15)); }
footer p { margin: 0; font-size: .84rem; font-weight: 700; }
footer > a { font-size: .82rem; font-weight: 800; text-underline-offset: 3px; }

button:focus-visible,
a:focus-visible,
input:focus-visible { outline: 3px solid rgba(255, 10, 138, .34); outline-offset: 3px; }

@media (max-width: 840px) {
  .hero { padding-top: 50px; }
  .hero-decoration { opacity: .7; transform: scale(.75); }
  .decor-left { left: -18px; }
  .decor-right { right: -18px; }
  .shipment-details { grid-template-columns: 1fr 1fr; }
  .secondary-button, .tracking-note { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 620px) {
  .header-inner { width: calc(100% - 32px); min-height: 74px; }
  .brand-logo { width: 74px; }
  .shop-link { min-height: 42px; padding: 0 14px; }
  .shop-link span { font-size: .78rem; }
  .hero { padding: 42px 16px 48px; }
  .hero-copy { margin-bottom: 24px; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 3.8rem); }
  .hero-copy p { max-width: 340px; font-size: .96rem; }
  .hero-decoration { display: none; }
  .tracking-form { padding: 20px; border-radius: 22px; }
  .form-title { margin-bottom: 18px; }
  .field-grid { grid-template-columns: 1fr; gap: 14px; }
  .field-group small { min-height: 0; }
  .primary-button { min-height: 56px; margin-top: 18px; }
  .privacy-note { align-items: flex-start; text-align: left; }
  .result-card { width: calc(100% - 32px); margin-top: 48px; padding: 24px 18px; border-radius: 23px; }
  .result-heading { display: block; }
  .status-pill { margin-top: 13px; white-space: normal; }
  .timeline { grid-template-columns: 1fr; gap: 10px; margin: 30px 0; }
  .timeline-step {
    min-height: 78px;
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 0;
    text-align: left;
  }
  .timeline-step:not(:last-child)::after { top: 49px; left: 24px; width: 3px; height: 37px; }
  .step-icon { width: 50px; height: 50px; border-radius: 16px; }
  .step-icon svg { width: 23px; height: 23px; }
  .timeline-step strong { margin-top: 2px; }
  .timeline-step div span { max-width: 260px; }
  .shipment-details { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .secondary-button, .tracking-note { grid-column: auto; width: 100%; }
  .support-card { width: calc(100% - 32px); grid-template-columns: auto 1fr; margin-bottom: 78px; padding: 20px; }
  .support-card > a { grid-column: 1 / -1; justify-content: center; }
  footer { flex-direction: column; gap: 7px; padding-bottom: 26px; }
}

html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .shop-link svg { transform: scaleX(-1); }
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .detail-item > span { letter-spacing: 0; text-transform: none; }
html[dir="rtl"] .hero h1,
html[dir="rtl"] .result-heading h2 { letter-spacing: 0; }
html[dir="rtl"] .form-title,
html[dir="rtl"] .privacy-note,
html[dir="rtl"] .result-heading,
html[dir="rtl"] .shipment-details,
html[dir="rtl"] .support-card { text-align: right; }
html[dir="rtl"] .timeline-step:not(:last-child)::after {
  left: auto;
  right: calc(50% + 33px);
}
html[dir="rtl"] #result-order,
html[dir="rtl"] #tracking-number { unicode-bidi: isolate; }
html[dir="rtl"] .field-group input { text-align: start; }

@media (max-width: 620px) {
  html[dir="rtl"] .privacy-note,
  html[dir="rtl"] .timeline-step { text-align: right; }
  html[dir="rtl"] .timeline-step:not(:last-child)::after {
    left: auto;
    right: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (forced-colors: active) {
  .tracking-form, .result-card, .step-icon { border: 1px solid CanvasText; }
  .primary-button, .secondary-button { border: 1px solid ButtonText; }
}
