@font-face { font-family: Roboto; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/roboto-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Roboto; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/roboto-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Roboto; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/roboto-latin-700-normal.woff2) format("woff2"); }
*,
*::before,
*::after { box-sizing: border-box; }
:root {
    --brand: #351c15;
    --accent: #ffb500;
    --ink: #121212;
    --body: #333;
    --muted: #5f5f5f;
    --line: #d9d9d9;
    --soft: #f2f1ef;
    --page: #f7f6f5;
    --link: #0662bb;
    --teal: #0a8080;
    --warn: #a15c00;
    --warn-bg: #fff4e0;
    --wrap: 1376px;
    --pad: clamp(16px, 2.2vw, 32px);
    --shadow: 0 2px 10px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.06);
}
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 Roboto, "Helvetica Neue", Arial, system-ui, sans-serif; color: var(--body); background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--link); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 400; line-height: 1.2; }
p { margin: 0; }
button { font-family: inherit; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.muted { color: var(--muted); }

/* Headings with the short accent rule */
.title { font-size: clamp(30px, 3vw, 40px); }
.title-rule::after { content: ""; display: block; width: 72px; height: 4px; background: var(--accent); margin-top: 14px; }
.title-center { text-align: center; }
.title-center.title-rule::after { margin-left: auto; margin-right: auto; }

/* Buttons: pills with a chevron */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 99px; border: 2px solid transparent; font: 500 16px/1 Roboto, "Helvetica Neue", Arial, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, box-shadow .15s; }
.btn::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.btn.no-chev::after { display: none; }
.btn-accent { background: var(--accent); color: #121212; }
.btn-accent:hover { box-shadow: inset 0 0 0 2px rgba(0,0,0,.25); }
.btn-outline { border-color: var(--link); color: var(--link); background: #fff; }
.btn-outline:hover { background: #eef5fc; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--link); font-weight: 500; text-decoration: none; }
.link::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.link:hover { text-decoration: underline; }

/* Utility bar and header */
.util { background: var(--soft); font-size: 14px; }
.util .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 52px; gap: 20px; }
.util a { color: var(--ink); }
.util-left { display: flex; align-items: center; gap: 10px; }
.util-left svg { width: 20px; height: 20px; }
.util-right { display: flex; gap: 28px; margin-left: auto; }
.header { background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.06); position: relative; z-index: 30; }
.header .wrap { display: flex; align-items: center; gap: 36px; min-height: 104px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brand); font-weight: 700; font-size: 21px; flex: none; }
.logo img { max-height: 56px; max-width: 200px; }
.logo-ph { width: 56px; height: 62px; border-radius: 12px 12px 24px 24px; background: var(--brand); color: var(--accent); display: grid; place-items: center; font-size: 22px; font-weight: 700; letter-spacing: -.02em; box-shadow: inset 0 0 0 3px var(--accent); }
.art { display: block; object-fit: contain; flex: none; }
.nav { display: flex; gap: 32px; flex: 1; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 17px; padding: 8px 0; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--line); }
.nav a.on { border-bottom-color: var(--accent); }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger svg { width: 26px; height: 26px; }

/* Home hero */
.hero { position: relative; background: var(--brand); color: #fff; padding: 64px 0 210px; text-align: center; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.hero .wrap { position: relative; }
.hero h1 { color: #fff; font-size: clamp(34px, 3.6vw, 50px); font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 20px; }
.hero-art { width: 84px; height: 84px; }
.hero .ico.hero-art { background: rgba(255,255,255,.14); color: #fff; }
.hero p { font-size: 20px; margin: 22px auto 28px; max-width: 700px; color: rgba(255,255,255,.92); }
.hero-curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 140px; }

.track-zone { position: relative; z-index: 2; margin-top: -150px; }
.track-zone .wrap { display: grid; grid-template-columns: 1fr 244px; gap: 32px; align-items: start; }
.track-main { background: #fff; border-radius: 8px; box-shadow: var(--shadow); padding: 60px 40px 50px; text-align: center; }
.track-main h2 { font-size: 46px; display: inline-flex; align-items: center; gap: 16px; }
.track-art { width: 76px; height: 76px; }
.track-form { display: flex; gap: 16px; max-width: 710px; margin: 30px auto 0; text-align: left; }
.track-form .input { flex: 1; min-width: 0; }
.track-help { max-width: 710px; margin: 12px auto 0; text-align: left; font-size: 15.5px; }
.track-links { display: flex; justify-content: center; gap: 44px; margin-top: 34px; flex-wrap: wrap; }
.track-links a { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; }
.track-links a:hover { text-decoration: underline; }
.track-links svg { width: 24px; height: 24px; }
.tiles { display: grid; gap: 32px; }
.tile { background: #fff; border-radius: 8px; box-shadow: var(--shadow); padding: 28px 24px 26px; min-height: 168px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; text-decoration: none; color: var(--ink); font-size: 24px; line-height: 1.25; position: relative; transition: box-shadow .2s, transform .2s; }
.tile:hover { box-shadow: 0 8px 24px rgba(0,0,0,.14); transform: translateY(-2px); }
.tile-art { width: 76px; height: 76px; }
.tile::after { content: ""; position: absolute; right: 24px; top: 26px; width: 9px; height: 9px; border: solid var(--ink); border-width: 2px 2px 0 0; transform: rotate(45deg); opacity: .55; }

/* Icon on a tinted disc */
.ico { display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--accent) 26%, #fff); color: var(--brand); flex: none; }
.ico svg { width: 54%; height: 54%; }

.input { width: 100%; height: 54px; padding: 0 14px; border: 1px solid #757575; border-radius: 2px; font: 16px Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: #fff; }
.input::placeholder { color: #707070; }
.input:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 1px var(--link); }
textarea.input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
select.input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }

/* Sections */
.sec { padding: 64px 0; }
.promo { display: grid; grid-template-columns: minmax(0, 664px) 1fr; grid-template-areas: "img h" "img t"; column-gap: 48px; align-items: center; }
.promo-h { grid-area: h; align-self: end; }
.promo-img { grid-area: img; }
.promo-t { grid-area: t; align-self: start; }
.promo-img { border-radius: 4px; overflow: hidden; aspect-ratio: 664 / 372; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; }
.promo h2 { font-size: 38px; }
.promo-t p { font-size: 18px; margin: 30px 0 24px; }

.switch { display: inline-flex; border: 1px solid var(--teal); border-radius: 99px; padding: 4px; margin: 34px 0 60px; }
.switch button { border: 0; background: none; border-radius: 99px; padding: 8px 14px; font-size: 15.5px; color: var(--ink); cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--teal); color: #fff; }
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 260px)); gap: 40px; justify-content: center; }
.cards4[hidden] { display: none; }
.card { background: var(--page); border-radius: 8px; box-shadow: var(--shadow); padding: 30px 16px 26px; display: flex; flex-direction: column; min-height: 336px; }
.card h3 { font-size: 30px; line-height: 1.33; }
.card p { margin-top: auto; padding-top: 24px; font-size: 15.5px; }
.card .link { margin-top: 34px; }

.band { position: relative; overflow: hidden; padding: 54px 0; }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--brand) 35%, transparent); z-index: 1; }
.band-card { position: relative; z-index: 2; margin: 0 112px; background: #fff; border-radius: 8px; padding: 40px 52px; display: grid; grid-template-columns: 84px 1fr auto; gap: 28px; align-items: center; }
.band-art { width: 84px; height: 84px; }
.band-card h2 { font-size: 32px; color: var(--brand); font-weight: 500; }
.band-card p { font-size: 18px; margin-top: 12px; }

.stats { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.stats h2 { font-size: 38px; margin-bottom: 26px; }
.stat { border-left: 6px solid var(--teal); padding: 6px 0 6px 20px; margin-bottom: 32px; }
.stat b { display: block; font-size: 34px; font-weight: 500; color: var(--ink); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 15.5px; }
.stats-img { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 8; }
.stats-img img { width: 100%; height: 100%; object-fit: cover; }
.stats-img .cap { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(30,30,30,.82); color: #fff; padding: 20px 26px; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }

.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 72px; max-width: 1060px; margin: 58px auto 0; }
.feat { display: grid; grid-template-columns: 80px 1fr; gap: 22px; align-items: start; }
.feat-art { width: 80px; height: 80px; }
.feat h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }

.faq { max-width: 1060px; margin: 48px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 50px 22px 18px; font-size: 17px; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 26px; width: 9px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details p { padding: 0 18px 24px; max-width: 860px; }

/* Footer: dark brown, UPS style */
.footer { background: var(--brand); color: rgba(255,255,255,.72); padding: 64px 0 34px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer h4 { color: #fff; font-size: 21px; font-weight: 500; margin-bottom: 36px; }
.foot-head { color: #fff; font-size: 21px; font-weight: 500; margin: 0 0 36px; }
.foot-chev { display: none; }
.foot-legal-sec > .foot-head { display: none; }
.foot-legal-sec { margin-top: 0; }

.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; font-size: 15px; }
.footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-social li { display: flex; }
.footer-social li, .footer-social a { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.72); }
.footer-social .soc { width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; display: grid; place-items: center; flex: none; }
.footer-social .soc svg { width: 17px; height: 17px; }
.footer-note { font-size: 12.5px; color: rgba(255,255,255,.45); margin-top: 16px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: rgba(255,255,255,.6); margin-top: 48px; }
.footer-contact a { color: rgba(255,255,255,.72); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.22); margin-top: 24px; padding-top: 20px; display: flex; flex-wrap: wrap; row-gap: 8px; font-size: 14.5px; }
.footer-legal span { padding: 0 12px; border-left: 1px solid rgba(255,255,255,.3); }
.footer-legal span:first-child { padding-left: 0; border-left: 0; }
.copy { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.55); }

/* Page title area */
.page { background: var(--page); padding: 36px 0 64px; }
.page-title { font-size: 44px; }

/* Track lookup */
.lookup { background: #fff; box-shadow: var(--shadow); border-radius: 2px; max-width: 1076px; margin: 50px auto 0; padding: 24px; }
.lookup-row { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.lookup-row label { font-size: 21px; color: var(--ink); }
.lookup-links { display: flex; gap: 32px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; flex-wrap: wrap; }
.alert { padding: 14px 18px; border-radius: 4px; margin-bottom: 20px; }
.alert-err { background: #fdecea; color: #8a1c12; border-left: 4px solid #c62828; }
.alert-ok { background: #e6f4f4; color: #064e4e; border-left: 4px solid var(--teal); }
.help-card { background: #fff; box-shadow: var(--shadow); border-radius: 2px; max-width: 1076px; margin: 36px auto 0; padding: 36px; text-align: center; }
.help-card > svg { width: 64px; height: 64px; color: #7a7a7a; margin: 0 auto 12px; }
.help-card h2 { font-size: 21px; color: #555; margin-bottom: 12px; }

/* Tracking details */
.td { display: grid; grid-template-columns: minmax(0, 1fr) 244px; gap: 26px 28px; align-items: start; }
.td-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.mini-track { display: flex; gap: 12px; align-items: center; }
.mini-track .input { height: 50px; width: 190px; }
.round-go { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--link); background: #fff; color: var(--link); display: grid; place-items: center; cursor: pointer; padding: 0; }
.round-go svg { width: 22px; height: 22px; }
.td-card { background: #fff; box-shadow: var(--shadow); }
.td-status { background: #dff0f0; padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.td-status h2 { font-size: 30px; font-weight: 500; color: #064e4e; }
.td-status.held { background: var(--warn-bg); }
.td-status.held h2 { color: var(--warn); }
.td-num { font-weight: 500; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; font-size: 15.5px; }
.td-num button { background: none; border: 0; padding: 0; color: var(--link); cursor: pointer; display: grid; }
.td-num svg { width: 17px; height: 17px; }
.td-body { padding: 26px 22px 30px; }
.td-label { font-size: 14px; color: var(--muted); font-weight: 500; }
.td-date { font-size: 30px; color: var(--ink); margin-top: 6px; }
.td-loc { text-align: center; margin-top: 30px; font-size: 14.5px; color: var(--muted); }
.td-loc b { display: block; color: var(--ink); font-weight: 400; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; margin: 18px 0 10px; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 7px; height: 2px; background: #9a9a9a; }
.steps .fill { position: absolute; left: 10%; top: 6px; height: 4px; background: var(--teal); width: var(--w, 0%); }
.steps .s { text-align: center; font-size: 13.5px; color: #4a4a4a; position: relative; padding: 0 4px; }
.steps .s i { display: block; width: 12px; height: 12px; margin: 2px auto 10px; border-radius: 50%; background: #fff; border: 2px solid #9a9a9a; position: relative; z-index: 1; }
.steps .s.done i { background: var(--teal); border-color: var(--teal); }
.steps .s.now i { width: 18px; height: 18px; margin: -1px auto 7px; border: 3px solid var(--teal); background: #fff; }
.steps .s.now { color: var(--ink); font-weight: 600; }
.steps.held .s.now i { border-color: var(--warn); }
.hold { border: 1px solid #f0d39a; background: var(--warn-bg); padding: 20px 22px; margin-top: 26px; }
.hold h3 { font-size: 19px; font-weight: 500; color: var(--warn); }
.hold p { margin-top: 8px; color: var(--ink); white-space: pre-line; }
.inv { background: #fff; border: 1px solid #ebd5a8; margin-top: 16px; }
.inv-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 16px; border-bottom: 1px solid #f2e4c6; }
.inv-row:last-child { border-bottom: 0; }
.inv-total { font-weight: 600; color: var(--ink); }
.pay { background: #fff; border: 1px solid var(--line); margin-top: 14px; padding: 16px; }
.pay h4 { font-size: 17px; font-weight: 500; margin-bottom: 10px; }
.pay dl { display: grid; grid-template-columns: 180px 1fr; gap: 6px 14px; margin: 0; font-size: 15px; }
.pay dt { color: var(--muted); }
.pay dd { margin: 0; color: var(--ink); font-weight: 500; word-break: break-all; }
.copybtn { border: 1px solid var(--line); background: #fff; border-radius: 3px; font-size: 12px; padding: 2px 7px; margin-left: 8px; cursor: pointer; color: var(--link); }
.hist-head { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid #9a9a9a; padding-bottom: 14px; margin-top: 34px; }
.hist-head h3 { font-size: 20px; font-weight: 500; }
.hist-head h3::after { content: ""; display: block; width: 62px; height: 4px; background: var(--accent); margin-top: 10px; }
.hist { list-style: none; margin: 0; padding: 0; }
.hist li { display: grid; grid-template-columns: 115px 1fr; gap: 20px; padding: 16px 0 6px; font-size: 14.5px; }
.hist .d { color: var(--muted); line-height: 1.6; }
.hist .w b { display: block; color: var(--ink); font-weight: 500; font-size: 15.5px; margin-bottom: 2px; }
.hist .w span { display: block; color: var(--muted); }
.td-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.details { background: #fff; box-shadow: var(--shadow); padding: 28px 26px; }
.details h3 { font-size: 20px; font-weight: 500; margin-bottom: 18px; }
.details dl { margin: 0; display: grid; gap: 18px; }
.details dt { font-weight: 500; color: var(--ink); }
.details dd { margin: 6px 0 0; color: var(--muted); }
.safe { background: #fff; box-shadow: var(--shadow); padding: 24px 22px; display: grid; grid-template-columns: 32px 1fr auto; gap: 16px; align-items: center; }
.safe > svg { width: 26px; height: 26px; color: #555; }
.safe h3 { font-size: 21px; }
.safe p { margin-top: 6px; }


/* Shipping and Products & Services pages: interim styles until they get the new layout */
.speed-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.speed-list strong { color: var(--ink); }
.speed-list .t { font-weight: 650; color: var(--brand); text-align: right; white-space: nowrap; }
.speed-list .n { grid-column: 1 / -1; font-size: 14.5px; color: var(--muted); }
.split-img { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.page-head-img { position: absolute; inset: 0 0 0 auto; width: 46%; height: 100%; object-fit: cover; opacity: .9; mask-image: linear-gradient(90deg, transparent, #000 40%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); }
.row-2 { grid-template-columns: 1fr 1fr; }
.row-3 { grid-template-columns: repeat(3, 1fr); }
.row-4 { grid-template-columns: repeat(4, 1fr); }
.service-pick label { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start; border: 1.5px solid var(--line); border-radius: 8px; padding: 14px 16px; cursor: pointer; margin: 0; font-weight: 400; transition: border-color .15s, background .15s; }
.service-pick label:hover { border-color: #b6bdc7; }
.service-pick input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); }
.service-pick label:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 5%, #fff); }
.service-pick strong { color: var(--ink); display: block; }
.service-pick small { color: var(--muted); font-size: 14px; }
.service-pick .t { font-weight: 650; color: var(--brand); white-space: nowrap; font-size: 14.5px; }
.service-pick label[hidden] { display: none; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin-top: 14px; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { filter: brightness(1.2); }
.btn-line { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-line:hover { background: var(--brand); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--brand); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--brand); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }
.hint { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.err { font-size: 14px; color: #b42318; margin-top: 6px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head .lead { margin-top: 10px; }
.speeds { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.speed-box { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px 28px; }
.speed-box h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.speed-box h3 svg { width: 24px; height: 24px; color: var(--brand); }
.speed-list { list-style: none; margin: 16px 0 0; padding: 0; }
.speed-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.speed-list strong { color: var(--ink); }
.speed-list .t { font-weight: 650; color: var(--brand); text-align: right; white-space: nowrap; }
.speed-list .n { grid-column: 1 / -1; font-size: 14.5px; color: var(--muted); }
.speed-group { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 18px 0 4px; border-top: 1px solid var(--line); }
.regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.14); border-radius: 10px; overflow: hidden; }
.region { background: var(--brand); padding: 28px 26px 30px; }
.region h3 { font-size: 19px; margin-bottom: 8px; }
.region p { font-size: 15px; color: rgba(255,255,255,.72); }
.region .count { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.facts-list { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 16px; }
.facts-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.facts-list svg { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.facts-list strong { display: block; color: var(--ink); }
.page-head { background: var(--brand); color: rgba(255,255,255,.85); padding: clamp(48px, 7vw, 80px) 0 clamp(44px, 6vw, 70px); position: relative; overflow: hidden; }
.page-head h1 { color: #fff; font-size: clamp(32px, 4.4vw, 50px); }
.page-head .lead { color: rgba(255,255,255,.82); }
.page-head .wrap { position: relative; }
.crumbs { font-size: 14px; margin-bottom: 14px; color: rgba(255,255,255,.65); }
.crumbs a { color: rgba(255,255,255,.85); }
.trk-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 28px; margin-top: 34px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: clamp(22px, 3vw, 34px); }
.form-card + .form-card { margin-top: 22px; }
.form-card legend, .form-card h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 18px; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 650; color: var(--ink); margin-bottom: 7px; font-size: 15px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.row { display: grid; gap: 0 16px; }
.service-pick { display: grid; gap: 10px; }
.service-pick label { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start; border: 1.5px solid var(--line); border-radius: 8px; padding: 14px 16px; cursor: pointer; margin: 0; font-weight: 400; transition: border-color .15s, background .15s; }
.service-pick label:hover { border-color: #b6bdc7; }
.service-pick input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); }
.service-pick label:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 5%, #fff); }
.service-pick strong { color: var(--ink); display: block; }
.service-pick small { color: var(--muted); font-size: 14px; }
.service-pick .t { font-weight: 650; color: var(--brand); white-space: nowrap; font-size: 14.5px; }
.service-pick label[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sticky { position: sticky; top: 100px; }
.page-head h1 { color: #fff; font-size: clamp(32px, 4.4vw, 50px); font-weight: 500; }
.section h2, .section-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.speed-box h3 svg, .facts-list svg { width: 22px; height: 22px; }
.btn-brand::after, .btn-line::after, .btn-ghost::after { display: none; }
@media (max-width: 960px) {
    .speeds, .split, .trk-grid { grid-template-columns: 1fr; }
    .page-head-img { display: none; }
    .row-2, .row-3, .row-4 { grid-template-columns: 1fr; }
    .regions { grid-template-columns: 1fr !important; }
    .split-img { order: 0 !important; }
    .sticky { position: static; }
}

/* Responsive */
@media (max-width: 1200px) {
    .cards4 { grid-template-columns: repeat(2, minmax(0, 300px)); }
    .band-card { margin: 0 24px; }
}
@media (max-width: 960px) {
    .util { display: none; }
    .util-right { display: none; }
    .header .wrap { min-height: 76px; gap: 16px; }
    .logo img { max-height: 48px; }
    .logo-ph { width: 46px; height: 52px; font-size: 18px; }
    .nav { display: none; }
    .header .btn { display: none; }
    .burger { display: block; }
    .header.open .nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 0; box-shadow: 0 12px 24px rgba(0,0,0,.1); border-top: 1px solid var(--line); }
    .header.open .nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--pad); border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; }
    .header.open .nav a::after { content: ""; width: 8px; height: 8px; border: solid var(--muted); border-width: 2px 2px 0 0; transform: rotate(45deg); }
    .header.open .nav a.on { border-bottom: 1px solid var(--line); color: var(--brand); }
    .header.open .nav a.on::after { border-color: var(--accent); }

    /* Hero: centred copy, full-width button */
    .hero { padding: 30px 0 180px; text-align: center; }
    .hero h1 { font-size: 31px; gap: 14px; display: block; }
    .hero-art { display: none; }
    .hero p { font-size: 17px; margin: 16px auto 22px; }
    .hero .btn { display: flex; width: 100%; min-height: 48px; }
    .hero-curve { height: 110px; }

    /* Tracking card: left aligned, full-width button */
    .track-zone { margin-top: -130px; }
    .track-zone .wrap { grid-template-columns: 1fr; gap: 24px; }
    .track-main { text-align: left; padding: 28px 24px 30px; border-radius: 16px; }
    .track-main h2 { font-size: 34px; }
    .track-art { display: none; }
    .track-form { flex-direction: column; margin-top: 22px; }
    .track-form .input { flex: none; }
    .track-form .btn { width: 100%; min-height: 48px; }
    .track-help { font-size: 15.5px; }
    .track-links { display: none; }

    /* Tiles: one row that scrolls sideways */
    .tiles { display: grid; grid-template-columns: 1fr; gap: 14px; }
    .tile { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; min-height: 0; font-size: 19px; padding: 18px 44px 18px 18px; }
    .tile-art { width: 54px; height: 54px; }
    .tile::after { right: 18px; top: 50%; transform: translateY(-50%) rotate(45deg); }

    /* Promo: heading, picture, text */
    .promo { grid-template-columns: 1fr; grid-template-areas: "h" "img" "t"; }
    .promo-h { font-size: 30px; margin-bottom: 24px; }
    .promo-t p { font-size: 17px; margin: 22px 0 20px; }
    .promo-t .btn { display: flex; width: 100%; }

    .stats { grid-template-columns: 1fr; gap: 28px; }
    .feats { grid-template-columns: 1fr; gap: 32px; }
    /* Footer: collapsible accordions on mobile, like the reference */
    .footer { padding: 0 0 20px; }
    .footer-cols { grid-template-columns: 1fr; gap: 0; }
    .foot-sec { border-top: 1px solid rgba(255,255,255,.18); }
    .foot-sec:first-child { border-top: 0; }
    .foot-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 22px 0; cursor: pointer; font-size: 19px; }
    .foot-legal-sec > .foot-head { display: flex; }
    .foot-chev { display: block; width: 11px; height: 11px; border: solid rgba(255,255,255,.75); border-width: 0 2px 2px 0; transform: rotate(45deg); margin-top: -4px; margin-right: 4px; transition: transform .2s; flex: none; }
    .foot-sec.open .foot-chev { transform: rotate(-135deg); margin-top: 2px; }
    .foot-body { display: none; padding-bottom: 24px; }
    .foot-sec.open .foot-body { display: block; }
    .footer-contact { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 22px; }
    .footer-legal { flex-direction: column; align-items: flex-start; gap: 18px; row-gap: 18px; }
    .footer-legal span { padding: 0; border-left: 0; }
    .copy { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
    .band { padding: 40px 0; }
    .band-card { grid-template-columns: 1fr; margin: 0; padding: 28px 24px; gap: 16px; }
    .band-card h2 { font-size: 26px; }
    .band-card .btn { justify-self: stretch; }

    /* Tracking details */
    .td { grid-template-columns: 1fr; }
    .td-head { flex-direction: column; align-items: stretch; gap: 40px; }
    .mini-track .input { flex: 1; width: auto; }
}
@media (max-width: 600px) {
    .sec { padding: 48px 0; }
    .title { font-size: 30px; }
    .switch { margin: 28px 0 40px; }
    .cards4 { grid-template-columns: minmax(0, 260px); gap: 36px; }
    .card { min-height: 0; padding: 26px 16px 26px; }
    .card h3 { font-size: 32px; line-height: 1.25; }
    .card p { padding-top: 34px; }
    .stats-img { aspect-ratio: 4 / 3; }
    .stats-img .cap { font-size: 15px; padding: 14px 16px; }
    .page-title { font-size: 40px; }
    .lookup-row { grid-template-columns: 1fr; gap: 12px; }
    .lookup-row .btn { width: 100%; }

    .td-status { flex-direction: row; align-items: center; flex-wrap: nowrap; }
    .td-status h2 { font-size: 30px; line-height: 1.3; }
    .td-num { font-size: 14px; word-break: break-all; }
    .td-date { font-size: 26px; line-height: 1.5; text-wrap: wrap; }
    /* Progress turns vertical and fills upward: Label Created at the bottom, Delivery at the top.
       Every row has the same height and draws its own connector, so line and dots always line up. */
    .steps { display: flex; flex-direction: column-reverse; gap: 0; margin: 26px 0 12px; padding: 0 4px; }
    .steps::before, .steps .fill { display: none; }
    .steps .s { position: relative; display: grid; grid-template-columns: 32px 1fr; column-gap: 18px; align-items: center; min-height: 68px; text-align: left; font-size: 17px; padding: 0; }
    .steps .s i { grid-column: 1; margin: 0; justify-self: center; width: 20px; height: 20px; border-width: 3px; position: relative; z-index: 1; box-sizing: border-box; }
    .steps .s.now i { width: 30px; height: 30px; margin: 0; border-width: 5px; }
    .steps .s + .s::before { content: ""; position: absolute; left: 14.5px; top: 50%; width: 3px; height: 100%; background: #9a9a9a; z-index: 0; }
    .steps .s.done + .s::before { background: var(--teal); width: 5px; left: 13.5px; }
    .hist-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .hist li { grid-template-columns: 1fr; gap: 6px; padding-top: 18px; }
    .hist .d { line-height: 1.5; }
    .pay dl { grid-template-columns: 1fr; gap: 0; }
    .pay dd { margin-bottom: 8px; }
    .td-actions .btn { width: 100%; }
    .safe { grid-template-columns: 28px 1fr; }
    .safe .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Create a Shipment (matches the reference layout) ---------- */
.ship { padding: 40px 0 72px; background: linear-gradient(#f2f1ef 0, #f7f6f5 260px); }
.ship-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.ship .page-title { font-size: 44px; }
.link-chev { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: var(--link); text-decoration: none; margin-top: 30px; }
.link-chev::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.link-chev:hover { text-decoration: underline; }
.req { font-size: 19px; color: var(--ink); margin: 26px 0 30px; }
.ship-grid { display: grid; grid-template-columns: 200px minmax(0, 620px) minmax(280px, 1fr); gap: 0 34px; align-items: start; }
.ship-steps-wrap { position: sticky; top: 24px; }
.steps-m { display: none; }
.ship-steps { list-style: none; margin: 0; padding: 0 0 0 34px; font-size: 14px; font-weight: 500; }
.ship-steps li { list-style: none; position: relative; padding: 0 0 26px 26px; }
.ship-steps li::before { content: ""; position: absolute; left: -2px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid #7a7a7a; z-index: 1; }
.ship-steps li::after { content: ""; position: absolute; left: 2px; top: 14px; bottom: -4px; width: 3px; background: #7a7a7a; }
.ship-steps li:last-child::after { display: none; }
.ship-steps li.on::before { width: 16px; height: 16px; left: -5px; top: 1px; border: 3px solid var(--teal); }
.ship-steps li.done::before { background: var(--teal); border-color: var(--teal); }
.ship-steps a { color: var(--ink); text-decoration: none; }
.ship-steps li.on a { font-weight: 700; }
.ship-main { min-width: 0; }
.sc { background: #fff; border-radius: 3px; box-shadow: var(--shadow); padding: 26px 27px 22px; margin-bottom: 24px; }
.sc h2 { font-size: 20px; font-weight: 500; margin-bottom: 20px; }
.sc-note { font-size: 15.5px; color: var(--body); margin: -6px 0 18px; }
.summary { position: sticky; top: 24px; padding-bottom: 26px; }
.summary h2 { padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.summary-empty { font-style: italic; color: var(--muted); font-size: 15px; }
.summary-list { margin: 0; }
.summary-list div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; padding: 7px 0; font-size: 15px; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }

/* floating-label fields */
.fl { position: relative; margin-bottom: 14px; }
.fl-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.fl-row3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fl-row:has(.fl:only-child) { grid-template-columns: 1fr; }
.fl-input { width: 100%; height: 54px; padding: 22px 14px 6px; border: 1px solid #757575; border-radius: 3px; font: 16px Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: #fff; appearance: none; -webkit-appearance: none; }
textarea.fl-input { height: auto; padding-top: 24px; resize: vertical; min-height: 96px; }
.fl label { position: absolute; left: 15px; top: 17px; font-size: 16px; color: #6b6b6b; pointer-events: none; transition: top .12s, font-size .12s; font-weight: 400; margin: 0; }
.fl-input:focus + label, .fl-input:not(:placeholder-shown) + label { top: 7px; font-size: 12px; }
.fl-select label { top: 7px; font-size: 12px; }
.fl-select::after { content: ""; position: absolute; right: 18px; top: 20px; width: 8px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
.fl-select .fl-input { padding-top: 24px; padding-right: 40px; }
.fl-input:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 1px var(--link); }
.fl-input.is-bad { border-color: #b42318; }
.fl-unit { position: absolute; right: 14px; top: 17px; font-size: 15px; color: #444; pointer-events: none; }
.fl .err { margin-top: 4px; }
.fl-input[type=number] { -moz-appearance: textfield; }
.box-art { display: flex; justify-content: center; margin: 4px 0 18px; }
.box-art svg { width: min(320px, 80%); height: auto; }

.ship-submit { margin: 4px 0 0; }
.ship-submit .btn { min-width: 220px; height: 52px; font-size: 17px; }
.ship-submit .hint { margin-top: 12px; }

.ship .service-pick label { border-radius: 3px; border: 1px solid #b9b9b9; }
.ship .service-pick label:has(input:checked) { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); background: #fff; }
.ship .service-pick input { accent-color: var(--teal); }
.ship .service-pick .t { color: var(--ink); }

@media (max-width: 1100px) {
    .ship-grid { grid-template-columns: 160px minmax(0, 1fr); }
    .summary { grid-column: 2; position: static; }
    .ship-steps { padding-left: 20px; }
}
@media (max-width: 760px) {
    .ship { padding-top: 28px; }
    .ship .page-title { font-size: 32px; }
    .ship-top { flex-direction: column; gap: 0; }
    .link-chev { margin: 18px 0 0 0; align-self: center; }
    .req { font-size: 16px; margin: 20px 0; }
    .ship-grid { grid-template-columns: 1fr; }
    .ship-steps-wrap { position: static; margin-bottom: 26px; }
    .ship-steps { display: flex; justify-content: space-between; padding: 14px 44px 0; margin: 0 0 18px; }
    .ship-steps li { flex: 1; padding: 0; height: 22px; }
    .ship-steps li:last-child { flex: 0 0 14px; }
    .ship-steps li::before { left: 0; top: 4px; width: 12px; height: 12px; border-width: 3px; }
    .ship-steps li::after { display: block; left: 14px; right: 0; top: 8px; bottom: auto; width: auto; height: 4px; }
    .ship-steps li:last-child::after { display: none; }
    .ship-steps li.on::before { width: 24px; height: 24px; left: -6px; top: -2px; border-width: 4px; }
    .ship-steps li.done::before { background: #fff; border-color: #7a7a7a; }
    .ship-steps a { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .steps-m { display: block; text-align: center; }
    .steps-m p { color: #555; font-size: 17px; }
    .steps-m h2 { font-size: 21px; font-weight: 700; margin-top: 12px; }
    .ship-main { order: 2; }
    .summary { grid-column: 1; order: 3; }
    .sc { margin-left: calc(var(--pad) * -.5); margin-right: calc(var(--pad) * -.5); }
    .fl-row, .fl-row3 { grid-template-columns: 1fr; }
    .fl-row3.keep3 { grid-template-columns: 1fr; }
    .ship-submit .btn { width: 100%; }
}
.summary-list div[hidden] { display: none; }

/* ---------- Products & Services (matches the reference layout) ---------- */
.svc-hero { background: linear-gradient(#f2f1ef, #f2f1ef) ; position: relative; overflow: hidden; padding: 28px 0 0; }
.svc-hero::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 70px; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.svc-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; min-height: 380px; position: relative; z-index: 1; padding-bottom: 70px; }
.crumbs-d { font-size: 14px; color: var(--muted); margin-bottom: 34px; display: flex; gap: 8px; }
.crumbs-d a { color: var(--muted); }
.svc-hero .page-title { font-size: clamp(32px, 3.6vw, 48px); }
.svc-lead { font-size: 20px; margin: 26px 0 28px; max-width: 560px; }
.svc-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.svc-hero-img { width: 100%; height: 320px; object-fit: cover; border-radius: 4px; }

.svc-tabs { border-bottom: 1px solid var(--line); background: #fff; }
.svc-tabs .wrap { display: flex; justify-content: center; gap: 8px; }
.svc-tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 16px 24px 13px; font: 400 15px Roboto, Arial, sans-serif; color: #555; cursor: pointer; }
.svc-tabs button:hover { color: var(--ink); }
.svc-tabs button.on { color: var(--teal); border-bottom-color: var(--teal); font-weight: 500; }

.svc-panel { padding: 56px 0 72px; text-align: center; }
.svc-panel[hidden] { display: none; }
.svc-panel h2, .svc-block h2 { font-size: 32px; font-weight: 500; }
.svc-panel h2.title-rule::after, .svc-block h2.title-rule::after { margin-left: auto; margin-right: auto; }
.svc-intro { font-size: 19px; margin: 24px auto 0; max-width: 760px; }
.svc-center { text-align: center; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; text-align: left; }
.svc-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 940px; margin-left: auto; margin-right: auto; }
.svc-card { background: #fff; box-shadow: var(--shadow); border-radius: 3px; padding: 30px 32px 28px; display: flex; flex-direction: column; scroll-margin-top: 90px; }
.svc-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 14px; }
.svc-card p { font-size: 16.5px; line-height: 1.55; }
.svc-time { margin-top: auto; padding-top: 18px; font-weight: 700; color: var(--ink); font-size: 15px; }

.svc-offer { background: var(--brand); color: #fff; padding: 46px 0; }
.svc-offer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.svc-offer h2 { color: #fff; font-size: 32px; font-weight: 400; }
.svc-offer p { margin-top: 12px; font-size: 17px; max-width: 680px; color: rgba(255,255,255,.92); }

.svc-block { padding: 64px 0 40px; }
.svc-two { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; margin-top: 44px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.svc-side { display: flex; flex-direction: column; }
.svc-side button { text-align: left; background: #fff; border: 0; border-bottom: 3px solid transparent; padding: 18px 22px; font: 400 15px Roboto, Arial, sans-serif; color: #555; cursor: pointer; }
.svc-side button.on { color: var(--teal); font-weight: 500; border-bottom-color: var(--teal); box-shadow: var(--shadow); }
.svc-side-body h3 { font-size: 19px; font-weight: 700; margin-bottom: 18px; }
.svc-side-body h4 { font-size: 15.5px; font-weight: 700; color: var(--ink); margin-top: 14px; }
.svc-side-body p { font-size: 15.5px; margin-top: 2px; max-width: 760px; }
.svc-side-body [hidden] { display: none; }

.svc-tool-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; max-width: 980px; margin: 44px auto 0; }
.svc-tool { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; }
.svc-tool .art, .svc-tool .ico { width: 96px; height: 96px; object-fit: contain; }
.svc-tool h3 { font-size: 24px; font-weight: 500; margin-bottom: 10px; }
.svc-tool p { font-size: 16.5px; margin-bottom: 20px; }
.svc-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.svc-links { list-style: none; margin: 40px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; max-width: 1100px; }
.svc-links li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.svc-res { padding-bottom: 72px; }

@media (max-width: 960px) {
    .svc-hero .wrap { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
    .svc-hero-img { height: 220px; order: 2; }
    .svc-grid, .svc-three { grid-template-columns: 1fr 1fr; }
    .svc-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .svc-hero { padding-top: 18px; }
    .svc-hero::after { height: 40px; }
    .svc-lead { font-size: 18px; margin: 20px 0; }
    .svc-hero-btns .btn { width: 100%; }
    .svc-hero .wrap { padding-bottom: 56px; }
    .svc-tabs .wrap { justify-content: flex-start; overflow-x: auto; gap: 0; padding: 0; scrollbar-width: none; }
    .svc-tabs button { white-space: nowrap; padding: 15px 16px 12px; }
    .svc-panel { text-align: left; padding: 36px 0 44px; }
    .svc-panel h2.title-rule::after, .svc-block h2.title-rule::after { margin-left: 0; }
    .svc-block h2.title-center { text-align: left; }
    .svc-center { text-align: left; }
    .svc-intro { margin-left: 0; }
    .svc-grid, .svc-grid-4, .svc-three, .svc-links { grid-template-columns: 1fr; }
    .svc-grid { gap: 18px; margin-top: 28px; }
    .svc-offer .wrap { flex-direction: column; align-items: flex-start; }
    .svc-offer .btn { align-self: center; }
    .svc-offer h2 { font-size: 28px; }
    .svc-two { grid-template-columns: 1fr; gap: 26px; }
    .svc-tool-row { grid-template-columns: 1fr; gap: 34px; }
    .svc-tool { grid-template-columns: 72px 1fr; }
    .svc-tool .art, .svc-tool .ico { width: 72px; height: 72px; }
    .svc-block { padding-top: 44px; }
}

.step-nav { display: flex; gap: 14px; flex-direction: row-reverse; justify-content: flex-end; margin: 4px 0 30px; flex-wrap: wrap; }
.step-nav .btn { min-width: 200px; height: 52px; font-size: 17px; }
.review { margin: 0; }
.review > div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.review > div:first-child { border-top: 0; padding-top: 0; }
.review dt { font-weight: 700; color: var(--ink); }
.review dd { margin: 0; color: var(--ink); }
.review dd span { display: block; }
[data-step][hidden] { display: none; }
.ship-steps li { cursor: default; }
.ship-steps li.done { cursor: pointer; }
@media (max-width: 760px) {
    .step-nav { flex-direction: column; }
    .step-nav .btn { width: 100%; }
    .review > div { grid-template-columns: 1fr; gap: 4px; }
}

.service-pick .price { display: block; font-size: 17px; font-weight: 700; color: var(--ink); text-align: right; }
.service-pick .price:empty { display: none; }
.due { display: flex; justify-content: space-between; align-items: baseline; border: 1px solid var(--line); border-left: 4px solid var(--teal); padding: 16px 18px; background: #fafafa; }
.due b { font-size: 28px; font-weight: 700; color: var(--ink); }
.pay-box { border: 1px solid var(--line); padding: 16px 18px; margin-bottom: 12px; }
.pay-box h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.pay-box dl { margin: 0; display: grid; grid-template-columns: 170px 1fr; gap: 6px 14px; font-size: 15.5px; }
.pay-box dt { color: var(--muted); }
.pay-box dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: 0 0 auto; }
.check.is-bad { outline: 2px solid #b42318; outline-offset: 6px; }
@media (max-width: 760px) { .pay-box dl { grid-template-columns: 1fr; gap: 0; } .pay-box dd { margin-bottom: 8px; } }

.service-pick .price.muted-price { font-size: 13px; font-weight: 500; color: var(--muted); }

/* Track a Package, UPS style */
.lookup-field { min-width: 0; }
.lookup-field textarea.input { width: 100%; min-height: 58px; padding: 14px 16px; resize: vertical; font: inherit; line-height: 1.4; }
.lookup-count { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.lookup-count.over { color: #c62828; }
.lookup-row { align-items: start; }
.lookup-row label { padding-top: 14px; }
.lookup-row .btn { margin-top: 6px; }
.lookup-links { align-items: center; }
.lookup-help { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; }
.lookup-help svg { width: 18px; height: 18px; }
.recent-title { text-align: center; font-size: 17px; font-weight: 500; margin: 44px 0 14px; }
.recent-title span { display: inline-block; color: var(--teal); padding: 0 6px 8px; border-bottom: 3px solid var(--teal); }
.help-card.recent { margin-top: 0; }
.help-card.recent h3 { font-size: 21px; color: #555; font-weight: 500; margin-bottom: 12px; }
.recent-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.td-update { font-size: 24px; color: var(--ink); margin-top: 6px; }
.td-gap { margin-top: 26px; }
.td-date { font-size: 24px; }
.td-toggle { text-align: center; margin-top: 8px; }
.link-btn { background: none; border: 0; cursor: pointer; color: var(--link); font: inherit; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; padding: 12px 8px; }
.link-btn:hover { text-decoration: underline; }
.link-btn .chev { width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.link-btn[aria-expanded="true"] .chev { transform: rotate(-135deg) translateY(-2px); }
.details dt { font-weight: 600; }
.tl-rows { list-style: none; margin: 0; padding: 0; }
.tl-rows li { display: grid; grid-template-columns: 210px 160px 1fr auto; gap: 16px; align-items: center; padding: 18px 22px; border-top: 1px solid var(--line); }
.tl-rows li:first-child { border-top: 0; }
.tl-num { font-weight: 500; word-break: break-all; }
.tl-status { font-weight: 600; color: #064e4e; }
.tl-update { color: var(--ink); font-size: 14.5px; }
.tl-update span { display: block; color: var(--muted); margin-top: 2px; }
@media (max-width: 760px) {
    .lookup-help { margin-left: 0; }
    .lookup-row label { padding-top: 0; }
    .lookup-row .btn { margin-top: 0; }
    .td-update, .td-date { font-size: 20px; }
    .tl-rows li { grid-template-columns: 1fr; gap: 6px; }
}
.lookup-help::after { display: none; }
.lookup-links { align-items: baseline; }
.td-num { white-space: nowrap; }
@media (max-width: 760px) {
    .td-status { flex-direction: column; align-items: flex-start; gap: 6px; }
    .td-status h2 { font-size: 26px; }
    .lookup-links { flex-direction: column; align-items: flex-start; gap: 18px; }
}
.td-card.tl { margin-top: 28px; }
.tl-rows li > a.link-chev { align-self: center; }
.lookup-help { margin-left: 0; }

/* Footer sized to match the UPS footer (14px links, 20px headings, 60px sides) */
@media (min-width: 761px) {
    .footer { padding: 24px 0 48px; }
    .footer > .wrap { max-width: none; padding-left: 60px; padding-right: 60px; }
    .footer-cols { gap: 0; }
    .footer h4, .foot-head { font-size: 20px; line-height: 30px; margin: 0 0 72px; }
    .footer ul { gap: 22px; font-size: 14px; line-height: 21px; padding-left: 20px; }
    .footer-social { gap: 22px; }
    .footer-social li, .footer-social a { gap: 16px; }
    .footer-social .soc { width: 22px; height: 22px; }
    .footer-social .soc svg { width: 12px; height: 12px; }
    .footer-note { font-size: 12px; margin: 14px 0 0 20px; }
    .footer-contact { font-size: 14px; margin: 32px 0 0 20px; }
    .footer-legal { margin-top: 60px; padding-top: 16px; font-size: 14px; row-gap: 20px; }
    .footer .copy { font-size: 14px; margin: 20px 0 0; }
}

/* Products & Services sized to the UPS Shipping Services page */
@media (min-width: 1000px) {
    .svc-hero .page-title { font-size: 48px; line-height: 56px; }
}
.svc-panel h2 { font-size: 20px; line-height: 30px; font-weight: 500; }
.svc-block h2 { font-size: 40px; line-height: 48px; font-weight: 400; }
.svc-intro { font-size: 20px; line-height: 30px; margin-top: 20px; }
.svc-grid { gap: 32px; margin-top: 48px; }
.svc-card { padding: 32px; border-radius: 4px; min-height: 216px; box-shadow: 0 4px 12px -3px rgba(0,0,0,.05), 0 0 0 1px rgba(0,0,0,.04), 0 2px 6px rgba(0,0,0,.1); }
.svc-card h3 { font-size: 20px; line-height: 30px; margin-bottom: 12px; }
.svc-card p { font-size: 16px; line-height: 24px; color: #121212; }
.svc-time { font-size: 14px; font-weight: 500; color: var(--muted); padding-top: 16px; }
.svc-offer { background: var(--teal); padding: 48px 0; }
.svc-offer .wrap { padding-left: 64px; padding-right: 64px; }
.svc-offer h2 { font-size: 32px; line-height: 40px; }
.svc-offer p { font-size: 18px; line-height: 27px; }
.svc-side-body h3 { font-size: 20px; line-height: 30px; }
.svc-side-body h4 { font-size: 16px; line-height: 24px; margin-top: 12px; }
.svc-side-body p { font-size: 16px; line-height: 24px; }
.svc-tool p, .svc-tool h3 { color: #121212; }
.svc-tool p { font-size: 16px; line-height: 24px; }
@media (max-width: 760px) {
    .svc-panel h2 { font-size: 20px; }
    .svc-block h2 { font-size: 30px; line-height: 38px; }
    .svc-intro { font-size: 17px; line-height: 26px; }
    .svc-grid { gap: 20px; margin-top: 32px; }
    .svc-card { padding: 24px; min-height: 0; }
    .svc-offer .wrap { padding-left: 20px; padding-right: 20px; }
}

/* Support, legal and not-found pages */
.sup-tiles { margin-top: 40px; }
a.sup-tile { text-decoration: none; color: inherit; }
a.sup-tile:hover { box-shadow: 0 6px 18px rgba(0,0,0,.14); }
a.sup-tile .link { margin-top: auto; padding-top: 16px; }
.sup-h { font-size: 32px; line-height: 40px; font-weight: 400; margin: 64px 0 0; text-align: center; }
.sup-h.title-rule::after { margin-left: auto; margin-right: auto; }
.sup-contact { margin: 40px 0 72px; }
.sup-contact .svc-card { min-height: 0; }
.sup-contact .svc-card p + p { margin-top: 6px; }
.legal { max-width: 860px; margin: 28px 0 72px; }
.legal-intro { font-size: 20px; line-height: 30px; margin-bottom: 12px; }
.legal h2 { font-size: 24px; line-height: 32px; font-weight: 500; margin: 36px 0 10px; }
.legal p { font-size: 16px; line-height: 26px; }
.nf .page-title { max-width: 520px; }
.nf-links { padding-top: 56px; text-align: center; }
.nf-links .svc-links { text-align: left; }
@media (max-width: 760px) {
    .sup-h { font-size: 26px; line-height: 34px; margin-top: 48px; }
    .legal-intro { font-size: 17px; line-height: 26px; }
}

/* Top utility bar, as on the UPS site */
.util { font-size: 14px; }
.util .wrap { min-height: 56px; }
.util-item { position: relative; }
.util-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.util-loc { font-size: 16px; gap: 12px; }
.util-loc svg { width: 24px; height: 24px; }
.util .u { text-decoration: underline; text-underline-offset: 2px; }
.util .chev { width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.util-right { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.util-ico { position: relative; display: inline-grid; }
.util-ico svg { width: 22px; height: 22px; }
.util-ico .badge { position: absolute; left: 10px; top: -8px; width: 15px; height: 15px; border-radius: 50%; background: #f00; color: #fff; font-size: 10px; font-weight: 500; line-height: 15px; text-align: center; }
.util-menu { position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; width: 320px; background: #fff; box-shadow: 0 6px 22px rgba(0,0,0,.18); border-radius: 4px; padding: 18px 20px; font-size: 14.5px; line-height: 22px; color: var(--ink); text-align: left; }
.util-menu-r { left: auto; right: 0; }
.util-menu[hidden] { display: none; }
.util-menu h3 { font-size: 16px; font-weight: 500; margin: 0 0 8px; }
.util-menu p { margin: 0 0 6px; }

.util-loc-menu { width: 360px; }
.util .loc-row { display: flex; gap: 8px; margin: 4px 0 12px; }
.util .loc-input { flex: 1; min-width: 0; height: 40px; border: 1px solid #8d8d8d; border-radius: 4px; padding: 0 12px; font: inherit; color: var(--ink); }
.util .loc-input:focus { outline: 2px solid #0a5fb4; outline-offset: 1px; }
.util .loc-row .btn { height: 40px; padding: 0 18px; }
.util .loc-list { max-height: 180px; overflow: auto; margin-bottom: 6px; }
.util .loc-list p[hidden] { display: none; }
.util .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.svc-banner { display: block; width: 100%; height: 320px; object-fit: cover; border-radius: 4px; margin: 0 0 28px; }
@media (max-width: 720px) { .svc-banner { height: 190px; margin-bottom: 20px; } }
