:root {
  color-scheme: light;
  --ink: #10233f;
  --muted: #627187;
  --line: #dce4ec;
  --surface: #ffffff;
  --soft: #f3f7fa;
  --teal: #00a991;
  --teal-dark: #007e6e;
  --navy: #0e2748;
  --shadow: 0 24px 70px rgba(15, 39, 70, .13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--soft); }
button, input { font: inherit; }
button { cursor: pointer; }
.site-header { height: 72px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--navy); border-radius: 10px; font-size: 12px; }
.api-link { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .api-link { padding: 9px 12px; border: 1px solid transparent; border-radius: 9px; }
.header-actions .api-link:hover { color: var(--teal-dark); border-color: var(--line); }
.header-actions .api-link.is-current { color: var(--teal-dark); background: #e7faf6; }
main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.breadcrumb { display: flex; gap: 9px; align-items: center; padding-top: 22px; color: var(--muted); font-size: 12px; }
.breadcrumb a { color: var(--teal-dark); font-weight: 750; text-decoration: none; }
.hero { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; min-height: 670px; padding: 70px 0; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: -340px; top: 60px; border-radius: 50%; background: rgba(0, 169, 145, .08); }
.eyebrow { margin: 0 0 12px; color: var(--teal-dark); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
h1 { max-width: 480px; margin: 0; color: var(--navy); font-size: clamp(54px, 7vw, 92px); line-height: .96; letter-spacing: -.065em; }
.lead { max-width: 500px; margin: 26px 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.trust-row { display: flex; flex-wrap: wrap; gap: 11px; }
.trust-row span { padding: 8px 11px; color: #426078; background: #e7f1f2; border-radius: 999px; font-size: 12px; font-weight: 750; }
.tracker-card, .result-card, .guide { background: var(--surface); border: 1px solid rgba(210, 220, 229, .9); border-radius: 24px; box-shadow: var(--shadow); }
.tracker-card { padding: clamp(24px, 4vw, 42px); }
.card-heading, .card-heading > div, .result-top, .guide-header, footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-heading h2 { margin: 0; font-size: 21px; letter-spacing: -.025em; }
.step { display: inline-grid; place-items: center; width: 27px; height: 27px; margin-right: 7px; color: #fff; background: var(--teal); border-radius: 50%; font-size: 12px; font-weight: 900; }
.muted { color: var(--muted); font-size: 12px; }
.carrier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0 30px; }
.carrier-button { position: relative; min-height: 78px; padding: 13px 8px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 13px; font-size: 12px; font-weight: 800; transition: .18s ease; }
.carrier-button:hover { border-color: var(--teal); transform: translateY(-1px); }
.carrier-button[aria-checked="true"] { color: var(--teal-dark); border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); background: #f2fffc; }
.carrier-button[disabled] { color: #7d8792; background: #f5f6f7; cursor: not-allowed; }
.carrier-button small { display: block; margin-top: 4px; font-size: 9px; font-weight: 650; }
form label { display: block; margin-bottom: 12px; font-size: 15px; font-weight: 850; }
.input-row { display: flex; gap: 10px; }
input { width: 100%; min-width: 0; padding: 17px 18px; color: var(--navy); background: #fff; border: 1px solid #cbd6e1; border-radius: 12px; outline: none; text-transform: uppercase; }
input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 169, 145, .12); }
#submit-button { flex: 0 0 auto; padding: 0 22px; color: #fff; background: var(--teal); border: 0; border-radius: 12px; font-weight: 850; }
#submit-button:hover { background: var(--teal-dark); }
#submit-button:disabled { opacity: .65; cursor: wait; }
.form-hint { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.feedback { margin: -34px 0 56px calc(40% + 23px); padding: 15px 18px; color: #79540a; background: #fff6d9; border: 1px solid #f3d78a; border-radius: 13px; line-height: 1.5; }
.feedback.error { color: #8f2730; background: #fff0f1; border-color: #f2bdc1; }
.result-card { margin-bottom: 70px; padding: clamp(24px, 5vw, 52px); }
.result-top h2 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.045em; }
.result-description { margin: 0; color: var(--muted); }
.status-badge { padding: 10px 14px; color: var(--teal-dark); background: #e7faf6; border-radius: 999px; font-size: 12px; font-weight: 900; white-space: nowrap; }
.result-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 34px 0 18px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.result-facts > div { padding: 18px; background: #fff; }
.result-facts dt { color: var(--muted); font-size: 11px; }
.result-facts dd { margin: 5px 0 0; font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }
.result-actions { display: flex; gap: 9px; justify-content: flex-end; }
.secondary-button { padding: 10px 13px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 9px; font-size: 12px; font-weight: 800; }
.timeline-wrap { margin-top: 38px; border-top: 1px solid var(--line); padding-top: 30px; }
.timeline-wrap h3 { margin: 0 0 22px; font-size: 18px; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; margin-left: 8px; padding: 0 0 25px 28px; border-left: 2px solid #d7e2ea; }
.timeline li:last-child { padding-bottom: 0; border-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 10px; height: 10px; background: var(--teal); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px var(--teal); }
.event-title { display: block; margin-bottom: 4px; font-size: 14px; }
.event-meta { color: var(--muted); font-size: 12px; }
.guide { margin-bottom: 70px; padding: clamp(26px, 5vw, 58px); box-shadow: none; }
.guide-header { align-items: flex-start; margin-bottom: 20px; }
.guide h2 { margin: 0; font-size: clamp(29px, 4vw, 46px); letter-spacing: -.045em; }
.byline { color: var(--muted); font-size: 13px; white-space: nowrap; }
.guide > p { max-width: 850px; color: #43546a; font-size: 16px; line-height: 1.8; }
.guide h3 { margin: 38px 0 14px; color: var(--navy); font-size: 22px; letter-spacing: -.025em; }
.guide [itemprop="articleBody"] > p, .quick-links p, .legacy-status p, .faq p { max-width: 920px; color: #43546a; font-size: 16px; line-height: 1.8; }
.official-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 28px 0; }
.official-link { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 14px; color: var(--navy); text-decoration: none; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 800; }
.official-link:hover { border-color: var(--teal); }
.quick-links, .legacy-status, .faq { margin-top: 34px; padding-top: 1px; border-top: 1px solid var(--line); }
.quick-tracking-label { display: block; margin: 22px 0 9px; color: var(--navy); font-size: 14px; font-weight: 850; }
.quick-tracking-row { display: flex; gap: 10px; align-items: stretch; max-width: 680px; }
.quick-tracking-row input { text-transform: none; }
.quick-ready-count { display: grid; place-items: center; min-width: 138px; padding: 0 15px; color: var(--teal-dark); background: #e7faf6; border: 1px solid #bdebe3; border-radius: 12px; font-size: 12px; font-weight: 900; text-align: center; }
.quick-link-hint { min-height: 20px; margin: 9px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.quick-link-hint.error { color: #8f2730; }
.quick-link-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin: 0; padding: 0; list-style: none; }
.quick-link-list li { min-width: 0; }
.quick-link-card { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; height: 100%; min-height: 114px; padding: 15px; color: var(--navy); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 13px; transition: .18s ease; }
.quick-link-card::after { content: "↗"; grid-column: 2; grid-row: 1; color: var(--teal-dark); font-weight: 900; }
.quick-link-card strong { min-width: 0; font-size: 14px; line-height: 1.3; }
.quick-link-card code { grid-column: 1 / -1; align-self: start; padding: 0; color: #426078; background: transparent; font-size: 11px; }
.quick-link-card span { grid-column: 1 / -1; align-self: end; color: var(--muted); font-size: 10px; font-weight: 750; }
.quick-link-card[aria-disabled="true"] { color: #66788a; background: #f7f9fa; cursor: text; }
.quick-link-card[aria-disabled="false"] { border-color: #9edfd4; box-shadow: 0 8px 24px rgba(0, 126, 110, .08); }
.quick-link-card[aria-disabled="false"]:hover { border-color: var(--teal); transform: translateY(-2px); }
code { padding: 3px 6px; color: #0b6f64; background: #edf8f6; border-radius: 5px; font-size: .86em; overflow-wrap: anywhere; }
.faq details { padding: 16px 0; border-bottom: 1px solid var(--line); }
.faq summary { color: var(--navy); font-weight: 850; cursor: pointer; }
.faq details p { margin-bottom: 0; font-size: 14px; }
.privacy-note { padding: 18px; color: #526176; background: var(--soft); border-radius: 13px; font-size: 12px; line-height: 1.65; }
footer { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 40px; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
[hidden] { display: none !important; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; min-height: 0; padding: 54px 0; }
  .hero-copy { text-align: center; }
  .hero-copy h1, .lead { margin-left: auto; margin-right: auto; }
  .trust-row { justify-content: center; }
  .feedback { margin: -25px 0 45px; }
  .official-links { grid-template-columns: repeat(2, 1fr); }
  .quick-link-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .site-header { height: 62px; padding: 0 16px; }
  .brand > span:last-child { display: none; }
  .header-actions { gap: 3px; }
  .header-actions .api-link { padding: 8px 7px; font-size: 11px; }
  main { width: min(100% - 20px, 1180px); }
  h1 { font-size: 55px; }
  .lead { font-size: 16px; }
  .tracker-card { padding: 21px 16px; border-radius: 18px; }
  .card-heading { align-items: flex-start; }
  .carrier-grid { grid-template-columns: repeat(2, 1fr); }
  .input-row { display: grid; }
  #submit-button { min-height: 54px; }
  .result-top, .guide-header { align-items: flex-start; flex-direction: column; }
  .result-facts { grid-template-columns: 1fr; }
  .result-actions { justify-content: stretch; }
  .result-actions button { flex: 1; }
  .official-links { grid-template-columns: 1fr; }
  .quick-tracking-row { display: grid; }
  .quick-ready-count { min-height: 42px; }
  .quick-link-list { grid-template-columns: 1fr; }
  .breadcrumb { padding-top: 14px; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
