:root {
    --bg: #f4f7fb;
    --surface: #fff;
    --text: #172033;
    --muted: #687386;
    --line: #dfe5ee;
    --primary: #315efb;
    --primary-dark: #2448c9;
    --success: #14845b;
    --shadow: 0 18px 50px rgba(25, 40, 70, .09);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.site-header {
    height: 72px;
    padding: 0 6vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid var(--line);
}
.brand { color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; display:flex; align-items:center; gap:10px; }
.brand-mark {
    width: 34px; height: 34px; display:grid; place-items:center;
    border-radius: 10px; background: var(--primary); color:#fff;
}
.header-label { color: var(--muted); font-size: 14px; }

.page { width: min(1080px, 92%); margin: 65px auto; }
.narrow { width: min(760px, 92%); }

.hero-card, .panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.hero-card { padding: clamp(30px, 6vw, 70px); text-align:center; }
.panel { padding: clamp(26px, 5vw, 48px); }

.eyebrow { color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .14em; margin-bottom: 12px; }
h1 { margin: 0 0 12px; font-size: clamp(32px, 5vw, 52px); line-height: 1.08; letter-spacing: -.04em; }
.panel h1 { font-size: clamp(30px, 5vw, 42px); }
.lead { color: var(--muted); line-height: 1.65; margin: 0 auto 30px; max-width: 620px; }

.tracking-form { max-width: 700px; margin: 0 auto; text-align:left; }
.tracking-form label { display:block; font-size:14px; font-weight:700; margin-bottom:8px; }
.input-row { display:flex; gap:10px; }
input {
    flex:1; min-width:0; border:1px solid var(--line); border-radius:12px;
    padding:16px; font-size:16px; outline:none;
}
input:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(49,94,251,.12); }
button, .button-link {
    border:0; border-radius:12px; background:var(--primary); color:#fff;
    padding:15px 22px; font-size:15px; font-weight:750; cursor:pointer;
    text-decoration:none; display:inline-flex; align-items:center; justify-content:center;
}
button:hover { background:var(--primary-dark); }
.secondary { background:#eef2f8; color:var(--text); }
.secondary:hover { background:#e2e8f1; }
.hint { margin-top:14px; color:var(--muted); font-size:13px; text-align:left; }
.alert { background:#fff0f0; color:#a33030; padding:12px 14px; border-radius:10px; margin:0 auto 18px; max-width:700px; text-align:left; }

.info-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:20px; }
.info-grid article { background:#fff; border:1px solid var(--line); border-radius:18px; padding:24px; }
.info-grid h2 { font-size:17px; margin:15px 0 8px; }
.info-grid p { color:var(--muted); font-size:14px; line-height:1.55; margin:0; }
.icon { color:var(--primary); font-weight:800; font-size:12px; }

.steps { display:flex; align-items:center; margin:0 0 22px; }
.step {
    width:32px; height:32px; border:1px solid var(--line); border-radius:50%;
    display:grid; place-items:center; color:var(--muted); background:#fff; font-size:13px; font-weight:800;
}
.step.active, .step.done { background:var(--primary); color:#fff; border-color:var(--primary); }
.line { height:2px; background:var(--line); flex:1; }
.line.done { background:var(--primary); }

.shipment-box { border:1px solid var(--line); border-radius:16px; overflow:hidden; margin:28px 0; }
.detail { display:flex; justify-content:space-between; gap:20px; padding:17px 18px; border-bottom:1px solid var(--line); }
.detail:last-child { border-bottom:0; }
.detail span { color:var(--muted); }
.detail strong { text-align:right; }

.notice { background:#f5f8ff; border-radius:14px; padding:16px; color:#46536a; font-size:13px; line-height:1.5; }
.notice p { margin:5px 0 0; }
.actions { display:flex; justify-content:space-between; gap:12px; margin-top:25px; }

.status-head { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; }
.status-pill { background:#e7f7f0; color:var(--success); border-radius:999px; padding:8px 12px; font-size:13px; font-weight:800; white-space:nowrap; }
.route { display:flex; align-items:center; justify-content:space-between; margin:30px 0; padding:20px; border:1px solid var(--line); border-radius:16px; }
.route span, .estimate span { display:block; color:var(--muted); font-size:12px; margin-bottom:5px; }
.route strong { font-size:18px; }
.route-arrow { color:var(--primary); font-size:24px; }

.timeline { margin:25px 0; }
.event { display:grid; grid-template-columns:22px 1fr; gap:15px; position:relative; padding-bottom:24px; }
.event:not(:last-child)::after { content:""; position:absolute; left:10px; top:22px; bottom:0; width:2px; background:var(--line); }
.dot { width:20px; height:20px; border:4px solid #dfe5ee; background:#fff; border-radius:50%; z-index:1; }
.event.done .dot { border-color:var(--primary); background:var(--primary); }
.event strong { display:block; }
.event p { color:var(--muted); margin:5px 0; font-size:14px; }
.event small { color:#8b95a5; }
.estimate { background:#f7f9fc; padding:18px; border-radius:14px; margin-bottom:18px; }
.estimate strong { font-size:18px; }

footer { text-align:center; color:#8b95a5; font-size:12px; padding:30px; }

@media (max-width: 700px) {
    .site-header { padding:0 4%; }
    .header-label { display:none; }
    .page { margin:35px auto; }
    .input-row, .actions { flex-direction:column; }
    .info-grid { grid-template-columns:1fr; }
    .status-head { flex-direction:column; }
    .route { gap:12px; }
}
