/* ==========================================================================
   Allo Send — product page design system
   Loaded after allora.css by content/send.html only. Markup lives in
   content/fragments/send/*.html, behaviour in send.js. Every class is prefixed
   sx- (page) or ui- (the in-phone interface kit) so nothing leaks to other pages.

   Contents
   01 Tokens                   09 Booking walkthrough
   02 Type & shared pieces     10 South Africa map
   03 Illustration             11 Parcel size calculator
   04 Hero & scene             12 Tracking board
   05 In-phone interface kit   13 Documents
   06 Facts & on-page nav      14 Business
   07 Delivery journey         15 Guidelines, cancellations, support
   08 Courier comparison       16 FAQ & download panel
                               17 Motion     18 Responsive
   ========================================================================== */

/* 01 Tokens --------------------------------------------------------------- */
/* Allo Send uses the Allora brand orange as its accent on this page. The three
   selectors match the specificity of the per-product blocks in allora.css. */
body.send-page,
:root[data-theme="dark"] body.send-page,
:root:not([data-theme="light"]) body.send-page {
    --p: #F94D00;
    --p-strong: #D94200;
    --p-text: var(--accent-text);
    --p-soft: rgba(249, 77, 0, .1);
    --p-grad: var(--brand-grad);
}
body.send-page .on-dark { --p-text: var(--accent-text); --p-soft: rgba(249, 77, 0, .16); }

/* .sx-tokens gives the same tokens to a Send block on another page (the homepage hero). */
body.send-page,
.sx-tokens {
    --display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ink: #0A0C11;              /* hero, business band and download panel */
    --ink-2: #12141B;
    --subnav-h: 52px;

    /* Status tones: text / soft background pairs that pass AA on their surface. */
    --info: #1D4FD7;   --info-soft: rgba(47, 111, 237, .12);
    --ok: #0A7A54;     --ok-soft: rgba(18, 163, 107, .14);   --ok-solid: #12A36B;
    --warn: #8F5600;   --warn-soft: rgba(217, 119, 6, .16);
    --danger: #C0262C; --danger-soft: rgba(217, 48, 54, .12);

    /* Motion: three durations and one easing (allora.css --ease) for everything. */
    --t-fast: .18s;
    --t-base: .4s;
    --t-slow: .8s;
}
body.send-page .on-dark,
:root[data-theme="dark"] body.send-page {
    --info: #9DBCFF; --ok: #4ED8A6; --warn: #FBBF24; --danger: #FF9A9A;
    --info-soft: rgba(110, 160, 255, .16); --ok-soft: rgba(78, 216, 166, .14);
    --warn-soft: rgba(251, 191, 36, .14); --danger-soft: rgba(255, 120, 120, .14);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) body.send-page {
        --info: #9DBCFF; --ok: #4ED8A6; --warn: #FBBF24; --danger: #FF9A9A;
        --info-soft: rgba(110, 160, 255, .16); --ok-soft: rgba(78, 216, 166, .14);
        --warn-soft: rgba(251, 191, 36, .14); --danger-soft: rgba(255, 120, 120, .14);
    }
}

/* 02 Type & shared pieces -------------------------------------------------- */
.sx-display, .sx-h2, .sx-h3 { font-family: var(--display); text-wrap: balance; }
.sx-display { font-size: clamp(2.7rem, 6.1vw, 5rem); line-height: .98; letter-spacing: -.045em; font-weight: 700; }
.sx-display em { font-style: normal; color: var(--brand-light); }
.sx-h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 700; }
.sx-h2--sm { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.sx-h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.15; letter-spacing: -.025em; font-weight: 600; }

.sx-kicker {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--p-text, var(--accent-text));
}
/* A small route glyph: a line that ends in a stop. */
.sx-kicker__mark { position: relative; width: 26px; height: 2px; border-radius: 2px; background: currentColor; flex: none; }
.sx-kicker__mark::after { content: ""; position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.sx-section[id] { scroll-margin-top: var(--subnav-h); }
.sx-head { max-width: 780px; margin: 0 0 clamp(36px, 5vw, 64px); }
.sx-head .sx-kicker { margin-bottom: 18px; }
.sx-head .lead { margin-top: 18px; max-width: 640px; }
.sx-head__action { margin-top: 24px; }
.sx-head .lead a, .sx-example a { color: var(--p-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.sx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.sx-split .sx-kicker { margin-bottom: 18px; }
.sx-split .lead { margin-top: 18px; }

.sx-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.sx-list li { display: flex; gap: 16px; align-items: flex-start; font-size: 15.5px; color: var(--text-2); }
.sx-list li > .icon { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--p-soft); color: var(--p-text); }
.sx-list strong { display: block; font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: var(--text); }

/* "This is an example" note, used under every mockup. */
.sx-example { position: relative; padding-left: 24px; font-size: 13.5px; line-height: 1.45; color: var(--text-3); }
.sx-example .icon { position: absolute; left: 0; top: 2px; width: 16px; height: 16px; }
.sx-example--center { width: fit-content; max-width: min(720px, 100%); margin: 24px auto 0; }

.sx-mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--text-3); }
.sx-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--chip-bg); color: var(--text-2); }
.sx-tag { font-style: normal; display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-family: var(--font); font-size: 11.5px; font-weight: 700; letter-spacing: 0; background: var(--p-soft); color: var(--p-text); vertical-align: 1px; }
.sx-tag--fast { background: var(--info-soft); color: var(--info); }

/* Status pill; the tone comes from data-tone on the pill or an ancestor. */
.sx-pill { --tone: var(--info); --tone-soft: var(--info-soft); display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 700; white-space: nowrap; background: var(--tone-soft); color: var(--tone); }
.sx-pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.sx-pill[data-tone="ok"] { --tone: var(--ok); --tone-soft: var(--ok-soft); }
.sx-pill[data-tone="warn"] { --tone: var(--warn); --tone-soft: var(--warn-soft); }
.sx-pill[data-tone="danger"] { --tone: var(--danger); --tone-soft: var(--danger-soft); }
.sx-pill[data-tone="neutral"] { --tone: var(--text-2); --tone-soft: var(--chip-bg); }

/* Segmented control */
.sx-seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--chip-bg); max-width: 100%; }
.sx-seg button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.sx-seg button:hover { color: var(--text); }
.sx-seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

/* 03 Illustration ---------------------------------------------------------- */
/* Line art that follows the theme. Symbol parts are styled by class; custom
   properties set on .sx-art inherit into <use> instances. */
.sx-art {
    --sx-line: var(--text); --sx-fill: var(--surface); --sx-glass: var(--surface-2); --sx-accent: var(--brand);
    fill: none; stroke: var(--sx-line); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible;
}
.sx-f { fill: var(--sx-fill); }
.sx-g { fill: var(--sx-glass); }
.sx-a { fill: var(--sx-accent); stroke: none; }
.sx-k { fill: none; stroke: #fff; stroke-width: 2; }
.sx-w { fill: #1B1B22; }
.sx-ok { fill: var(--ok-solid); stroke: none; }
.sx-ground { stroke: var(--line-strong); }
.sx-dash { stroke-dasharray: 3 7; opacity: .7; }
.sx-dash--accent { stroke: var(--sx-accent); stroke-width: 2.2; opacity: 1; }
.sx-scan { stroke: var(--sx-accent); stroke-width: 2.4; opacity: .85; }

/* 04 Hero & scene ---------------------------------------------------------- */
.sx-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); padding-top: clamp(32px, 5vw, 64px); }
.sx-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(46% 54% at 80% 36%, rgba(249, 77, 0, .2), transparent 70%),
        radial-gradient(40% 50% at 0% 100%, rgba(47, 111, 237, .12), transparent 70%);
}
.sx-hero--home { padding-bottom: clamp(48px, 7vw, 96px); }
.sx-hero--home .hero__explore { margin-top: 32px; justify-content: flex-start; }
.sx-hero__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.sx-hero .breadcrumb { margin-bottom: 22px; }
.sx-hero .breadcrumb a { display: inline-block; padding-block: 4px; }
.sx-hero .sx-kicker { margin-bottom: 22px; }
.sx-hero .lead { margin-top: 26px; max-width: 520px; }
.sx-hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.sx-hero__cta--after-launch { margin-top: 24px; }

/* Send launcher: the two big "Send a parcel" / "Send in bulk" buttons into Allora on the web */
.sx-launch { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 16px; max-width: 640px; }
.sx-launch__btn {
    position: relative; display: flex; align-items: center; gap: 16px;
    min-height: 128px; padding: 22px 22px 22px 20px; border-radius: 24px;
    color: #fff; text-decoration: none; border: 1.5px solid transparent;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.sx-launch__btn--single { background: var(--brand-grad); box-shadow: 0 22px 48px -18px rgba(249, 77, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .25); }
.sx-launch__btn--bulk { background: rgba(255, 255, 255, .07); border-color: rgba(255, 122, 61, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.sx-launch__btn:hover { transform: translateY(-3px); }
.sx-launch__btn--single:hover { box-shadow: 0 28px 56px -18px rgba(249, 77, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .25); }
.sx-launch__btn--bulk:hover { background: rgba(255, 122, 61, .14); border-color: #FF7A3D; }
.sx-launch__btn:active { transform: translateY(-1px) scale(.985); }
.sx-launch__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 24px; }
.sx-launch__icon { flex: none; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); }
.sx-launch__btn--bulk .sx-launch__icon { background: rgba(255, 122, 61, .18); color: #FF7A3D; }
.sx-launch__icon .icon { width: 30px; height: 30px; }
.sx-launch__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sx-launch__title { font-size: clamp(20px, 2vw, 24px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.sx-launch__sub { font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, .82); }
.sx-launch__arrow { flex: none; width: 22px; height: 22px; margin-left: auto; transition: transform .25s var(--ease); }
.sx-launch__btn:hover .sx-launch__arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
    .sx-launch__btn, .sx-launch__arrow { transition: none; }
    .sx-launch__btn:hover, .sx-launch__btn:hover .sx-launch__arrow { transform: none; }
}
@media (max-width: 640px) {
    .sx-launch { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
    .sx-launch__btn { min-height: 104px; padding: 18px; }
    .sx-launch__icon { width: 52px; height: 52px; border-radius: 16px; }
}

.sx-hero__links { display: inline-flex; flex-wrap: wrap; gap: 4px 28px; }
.sx-hero__how, .sx-hero__track { min-height: 44px; font-size: 16px; }
.sx-hero__how .icon { transform: rotate(90deg); }
.sx-hero__how:hover .icon { transform: rotate(90deg) translateX(3px); }

.sx-scene { position: relative; container-type: inline-size; width: 100%; max-width: 620px; aspect-ratio: 620 / 600; margin-inline: auto; }
.sx-scene__map { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, .16); }
.sx-scene__contours { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 1.5; }
.sx-route { fill: none; stroke-linecap: round; }
.sx-route--base { stroke: rgba(255, 255, 255, .3); stroke-width: 3; stroke-dasharray: 1 11; }
.sx-route--live { stroke: var(--brand); stroke-width: 4.5; stroke-dasharray: 1; stroke-dashoffset: .4; }
.sx-scene__origin circle:first-child { fill: rgba(249, 77, 0, .22); }
.sx-scene__origin circle:last-child { fill: var(--brand); }
.sx-scene__dest .sx-art { --sx-accent: #fff; }
.sx-scene__dest .sx-k, .sx-scene__dest circle { stroke: var(--ink); }
.sx-route__parcel rect { fill: #fff; }
.sx-route__parcel path { fill: none; stroke: var(--brand); stroke-width: 2.5; }
.sx-route__parcel { transform: translate(214px, 222px); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
@supports (offset-path: path("M0 0L1 1")) {
    .sx-route__parcel { transform: none; offset-path: path("M70 404C150 380 60 290 150 250S290 190 262 96"); offset-distance: 60%; offset-rotate: 0deg; }
}

.sx-scene__device { --w: 280px; --w: 45.2cqw; position: absolute; left: 51.3%; top: 3.3%; z-index: 2; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 0 0 .2em #050507, 0 40px 90px -30px rgba(0, 0, 0, .9), 0 30px 120px -40px rgba(249, 77, 0, .5); }
.sx-scene__van { --sx-fill: #F4F5F7; --sx-line: #0A0C11; --sx-glass: #A9BCDD; position: absolute; left: 0; top: 71.5%; width: 41%; z-index: 1; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .5)); }
.sx-scene__parcel { position: absolute; left: 36.5%; top: 71%; width: 24.5%; z-index: 3; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .55)); }
.sx-scene::after { content: ""; position: absolute; left: -4%; right: 46%; top: 90.6%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22) 20%, rgba(255, 255, 255, .22) 80%, transparent); }

.sx-float {
    position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
    padding: 10px 14px 10px 10px; border-radius: 16px; width: max-content; max-width: 62%;
    background: rgba(24, 26, 34, .82); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8);
    font-size: 12.5px; line-height: 1.3; color: #B6B6C0;
}
.sx-float strong { display: block; font-size: 14px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.sx-float__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; }
.sx-float__icon .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.sx-float--a { left: 0; top: 14%; }
.sx-float--b { right: -2%; top: 60%; }
.sx-float--b .sx-float__icon { background: #fff; color: var(--ink); }
.sx-scene__note { position: absolute; left: 0; bottom: 0; font-size: 11.5px; color: rgba(255, 255, 255, .62); }

/* 05 In-phone interface kit ------------------------------------------------ */
/* Sized in em so every screen scales with .device (allora.css section 07). */
.ui-nav { display: flex; align-items: center; gap: .5em; padding: .3em .2em .8em; }
.ui-nav .icon { width: 1em; height: 1em; transform: rotate(180deg); }
.ui-nav strong { flex: 1; font-size: 1.05em; font-weight: 700; letter-spacing: -.02em; }
.ui-nav > span { font-size: .56em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3em .7em; border-radius: 1em; background: rgba(255, 255, 255, .1); color: #B6B6C0; }
.ui-ship { display: flex; flex-direction: column; gap: .5em; padding: .95em 1em; margin-bottom: .9em; border-radius: 1.05em; background: linear-gradient(150deg, #20222E, #15161E); border: 1px solid rgba(255, 255, 255, .08); }
.ui-ship b { display: flex; align-items: center; gap: .35em; font-size: .95em; font-weight: 700; letter-spacing: -.02em; }
.ui-ship b .icon { width: .9em; height: .9em; color: #FF8A4C; }
.ui-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: .5em; padding: .3em .75em; border-radius: 1em; font-size: .6em; font-weight: 700; background: rgba(249, 77, 0, .2); color: #FF8A4C; }
.ui-pill i { width: .55em; height: .55em; border-radius: 50%; background: currentColor; }
.ui-mono { font-family: var(--mono); font-size: .56em; letter-spacing: .05em; color: #9C9CA8; }
.ui-steps { display: flex; gap: .25em; margin-top: .3em; }
.ui-steps i { flex: 1; height: .36em; border-radius: 1em; background: rgba(255, 255, 255, .14); }
.ui-steps .is-done { background: #F94D00; }
.ui-steps .is-now { background: linear-gradient(90deg, #F94D00 55%, rgba(255, 255, 255, .14) 55%); }
.ui-steps__labels { display: flex; justify-content: space-between; font-size: .46em; font-weight: 600; color: #9C9CA8; }
.ui-label { margin: .55em .2em .6em; font-size: .58em; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #9C9CA8; }
.ui-events { list-style: none; margin: 0; padding: 0 0 0 .3em; display: flex; flex-direction: column; gap: .8em; }
.ui-events li { position: relative; padding-left: 1.5em; display: flex; flex-direction: column; line-height: 1.25; }
.ui-events li::before { content: ""; position: absolute; left: 0; top: .25em; width: .6em; height: .6em; border-radius: 50%; background: #4A4A58; }
.ui-events li:not(:last-child)::after { content: ""; position: absolute; left: .26em; top: 1.05em; bottom: -.75em; width: 1.5px; background: rgba(255, 255, 255, .14); }
.ui-events .is-now::before { background: #F94D00; box-shadow: 0 0 0 .25em rgba(249, 77, 0, .28); }
.ui-events strong { font-size: .74em; font-weight: 650; }
.ui-events span { font-size: .6em; color: #9C9CA8; }
.ui-btn { margin-top: auto; margin-bottom: 1.2em; padding: .85em; border-radius: .95em; text-align: center; font-size: .74em; font-weight: 700; background: #F94D00; color: #fff; }
.ui-btn--ghost { background: rgba(255, 255, 255, .08); }

.ui-wizard { display: flex; flex-direction: column; gap: .1em; padding: .2em .2em .9em; }
.ui-wizard > span:first-child { font-size: .58em; font-weight: 600; color: #9C9CA8; }
.ui-wizard strong { font-size: 1.3em; font-weight: 800; letter-spacing: -.03em; }
.ui-progress { position: relative; height: .3em; margin-top: .55em; border-radius: 1em; background: rgba(255, 255, 255, .12); overflow: hidden; }
.ui-progress::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) / 6 * 100%); border-radius: inherit; background: #F94D00; }
.ui-field { display: flex; flex-direction: column; gap: .25em; padding: .65em .8em; margin-bottom: .45em; border-radius: .85em; background: rgba(255, 255, 255, .06); }
.ui-field small, .ui-dims small, .ui-summary small { font-size: .54em; font-weight: 600; color: #9C9CA8; }
.ui-field b { display: flex; align-items: center; gap: .4em; font-size: .74em; font-weight: 650; }
.ui-field b .icon { width: 1em; height: 1em; color: #FF8A4C; }
.ui-field--split { flex-direction: row; gap: 1.4em; }
.ui-field--split span { display: flex; flex-direction: column; gap: .25em; }
.ui-field b.ui-muted { color: #8E8E99; font-weight: 500; }
.ui-chips { display: flex; gap: .3em; margin-top: .15em; }
.ui-chips i { font-style: normal; padding: .25em .75em; border-radius: 1em; font-size: .54em; font-weight: 600; background: rgba(255, 255, 255, .08); color: #B6B6C0; }
.ui-chips .is-on { background: rgba(249, 77, 0, .22); color: #FF8A4C; }
.ui-row { display: flex; align-items: center; gap: .65em; padding: .45em .6em; font-size: .7em; font-weight: 600; line-height: 1.3; }
.ui-row .icon { width: 1.15em; height: 1.15em; color: #9C9CA8; }
.ui-row small { display: block; font-size: .8em; font-weight: 500; color: #9C9CA8; }
.ui-row--add, .ui-row--add .icon { color: #FF8A4C; }
.ui-row--person .icon { margin-left: auto; color: #3CCB7F; }
.ui-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .35em; margin-bottom: .45em; }
.ui-tiles i { font-style: normal; padding: .75em .5em; border-radius: .8em; text-align: center; font-size: .64em; font-weight: 650; background: rgba(255, 255, 255, .06); }
.ui-tiles .is-on { background: rgba(249, 77, 0, .16); box-shadow: inset 0 0 0 1.5px #F94D00; }
.ui-dims { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3em; margin-bottom: .2em; }
.ui-dims span { display: flex; flex-direction: column; padding: .5em .2em; border-radius: .7em; text-align: center; background: rgba(255, 255, 255, .06); }
.ui-dims small { font-size: .46em; }
.ui-dims b { font-size: .62em; }
.ui-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: .3em; margin-bottom: .3em; }
.ui-days i { font-style: normal; display: flex; flex-direction: column; align-items: center; padding: .5em 0 .55em; border-radius: .8em; font-size: .82em; font-weight: 700; background: rgba(255, 255, 255, .06); }
.ui-days small { font-size: .56em; font-weight: 600; color: #9C9CA8; }
.ui-days .is-on { background: #F94D00; }
.ui-days .is-on small { color: rgba(255, 255, 255, .88); }
.ui-rate { display: flex; align-items: center; gap: .6em; padding: .55em .6em; margin-bottom: .4em; border-radius: .85em; font-size: .66em; font-weight: 650; line-height: 1.3; background: rgba(255, 255, 255, .06); }
.ui-rate > span:nth-child(2) { flex: 1; min-width: 0; }
.ui-rate em { font-style: normal; margin-left: .4em; padding: .1em .5em; border-radius: 1em; font-size: .76em; font-weight: 700; background: rgba(249, 77, 0, .22); color: #FF8A4C; white-space: nowrap; }
.ui-rate small { display: block; font-size: .82em; font-weight: 500; color: #9C9CA8; }
.ui-rate b { font-size: 1.05em; }
.ui-rate.is-on { box-shadow: inset 0 0 0 1.5px #F94D00; }
.ui-rate__logo { width: 2.1em; height: 2.1em; border-radius: .65em; display: grid; place-items: center; flex: none; background: var(--c); color: #fff; font-weight: 800; }
.ui-note { margin: .35em 0; text-align: center; font-size: .54em; color: #9C9CA8; }
.ui-avatar, .ui-people i { font-style: normal; width: 2.7em; height: 2.7em; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: .8em; font-weight: 700; background: rgba(255, 255, 255, .1); }
.ui-people { display: flex; gap: .5em; padding: 0 .3em; font-size: .7em; }
.ui-summary { display: flex; flex-direction: column; padding: .2em .8em; margin-bottom: .5em; border-radius: .9em; background: rgba(255, 255, 255, .06); }
.ui-summary span { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; padding: .6em 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ui-summary span:last-child { border-bottom: 0; }
.ui-summary b { font-size: .64em; font-weight: 650; text-align: right; }
.ui-total { display: flex; justify-content: space-between; align-items: center; padding: .3em .5em; }
.ui-total span { font-size: .76em; font-weight: 700; }
.ui-total small { display: block; font-size: .72em; font-weight: 500; color: #9C9CA8; }
.ui-total b { font-size: 1.55em; font-weight: 800; letter-spacing: -.03em; }

/* 06 Facts & on-page nav --------------------------------------------------- */
.sx-facts { list-style: none; margin: clamp(28px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.sx-facts li { display: flex; gap: 14px; align-items: flex-start; padding: 24px 20px 28px; font-size: 14px; line-height: 1.4; color: var(--text-2); }
.sx-facts li + li { border-left: 1px solid var(--line); }
.sx-facts li:first-child { padding-left: 0; }
.sx-facts .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--brand-light); }
.sx-facts strong { display: block; font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: var(--text); }

.sx-subnav {
    position: sticky; top: var(--header-h); z-index: 90;
    background: var(--header-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line);
}
.sx-subnav__inner { display: flex; align-items: center; gap: 12px; height: var(--subnav-h); }
ul.sx-subnav__list {
    flex: 1; min-width: 0; display: flex; gap: 2px; list-style: none; margin: 0 0 0 -12px; padding: 0 12px 0 0;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
}
.sx-subnav__list::-webkit-scrollbar { display: none; }
.sx-subnav__list a { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--text-2); transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.sx-subnav__list a:hover { color: var(--text); }
.sx-subnav__list a[aria-current="true"] { color: var(--text); background: var(--chip-bg); font-weight: 600; }
.sx-subnav__list a:focus-visible { outline-offset: -2px; }
/* The header already carries a Download button above 640px. */
.sx-subnav__cta { flex: none; display: none; }

/* 07 Delivery journey ------------------------------------------------------ */
.sx-journey { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.sx-journey__bar { --pad: clamp(12px, 3vw, 36px); position: relative; padding: 62px var(--pad) 0; border-bottom: 1px solid var(--line); }
.sx-rail { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.sx-stop { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 4px 20px; border: 0; background: none; color: var(--text-3); border-radius: 12px; }
.sx-stop__node { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line-strong); font-family: var(--display); font-size: 14px; font-weight: 600; transition: background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease), color var(--t-base) var(--ease), transform var(--t-fast) var(--ease); }
.sx-stop__label { font-size: 14px; font-weight: 600; text-align: center; transition: color var(--t-fast) var(--ease); }
.sx-stop:hover { color: var(--text); }
.sx-stop:hover .sx-stop__node { transform: scale(1.08); }
.sx-stop.is-past .sx-stop__node { border-color: var(--p); color: var(--p-text); }
.sx-stop[aria-pressed="true"] { color: var(--text); }
.sx-stop[aria-pressed="true"] .sx-stop__node { background: var(--p-strong); border-color: var(--p-strong); color: #fff; }
.sx-rail__track { position: absolute; top: 79px; left: calc(var(--pad) + (100% - var(--pad) * 2) / 12); right: calc(var(--pad) + (100% - var(--pad) * 2) / 12); height: 2px; background: var(--line-strong); }
.sx-rail__fill { position: absolute; inset: 0; background: var(--p); transform-origin: left; transform: scaleX(calc(var(--i) / 5)); transition: transform var(--t-slow) var(--ease); }
.sx-rail__parcel { position: absolute; left: 0; top: 0; width: 100%; height: 0; transform: translateX(calc(var(--i) * 20%)); transition: transform var(--t-slow) var(--ease); }
.sx-rail__parcel svg { position: absolute; left: -16px; top: -55px; width: 32px; height: 29px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .18)); }

.sx-stage { display: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(20px, 3vw, 40px); }
.sx-stage.is-active { display: grid; }
.sx-stage__art { border-radius: var(--radius); background: var(--bg-alt); padding: clamp(8px, 2vw, 20px); }
.sx-stage__art svg { width: 100%; height: auto; }
.sx-stage__step { font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--p-text); margin-bottom: 12px; }
.sx-stage__copy p:not([class]) { margin-top: 14px; color: var(--text-2); max-width: 46ch; }
.sx-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--info-soft); color: var(--info); font-size: 13.5px; font-weight: 500; }
.sx-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sx-status--ok { background: var(--ok-soft); color: var(--ok); }
.sx-journey__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 14px clamp(20px, 3vw, 40px); border-top: 1px solid var(--line); }
.sx-tour { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: none; color: var(--text-2); font-size: 13.5px; font-weight: 600; }
.sx-tour:hover { color: var(--text); }
.sx-tour .icon { width: 18px; height: 18px; }

/* 08 Courier comparison ---------------------------------------------------- */
.sx-quote { display: grid; gap: 16px; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.sx-quote > * { min-width: 0; }
.sx-quote__head { display: grid; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sx-quote__route { display: flex; align-items: flex-end; gap: 14px; font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.sx-quote__route small { display: block; font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--text-3); margin-bottom: 2px; }
.sx-quote__route .icon { width: 20px; height: 20px; margin-bottom: 3px; color: var(--p); }
.sx-quote__meta { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.sx-quote__meta .icon { width: 16px; height: 16px; }
.sx-quote__list { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.sx-opt { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.sx-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sx-opt:hover { border-color: var(--line-strong); }
.sx-opt:has(input:checked), .sx-opt.is-on { border-color: var(--p); background: var(--p-soft); }
.sx-opt:focus-within { outline: 2.5px solid var(--brand); outline-offset: 2px; }
.sx-opt__logo { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--c); color: #fff; font-family: var(--display); font-weight: 700; }
.sx-opt__name strong { display: block; font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.sx-opt__name small { display: block; font-size: 13px; color: var(--text-3); }
.sx-opt__price { font-family: var(--display); font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sx-quote__plot { position: relative; height: 92px; margin: 2px 10px 20px 26px; border-left: 1.5px solid var(--line-strong); border-bottom: 1.5px solid var(--line-strong); }
.sx-quote__plot i { position: absolute; left: var(--x); bottom: var(--y); width: 12px; height: 12px; margin: 0 0 -6px -6px; border-radius: 50%; background: var(--text-3); opacity: .55; transition: transform var(--t-base) var(--ease), background-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), opacity var(--t-base) var(--ease); }
.sx-quote__plot i.is-on { background: var(--p); opacity: 1; transform: scale(1.25); box-shadow: 0 0 0 7px var(--p-soft); }
.sx-quote__plot i.is-dim { opacity: .18; }
.sx-quote__axis { position: absolute; font-size: 11.5px; font-weight: 600; color: var(--text-3); display: inline-flex; align-items: center; gap: 4px; }
.sx-quote__axis .icon { width: 13px; height: 13px; }
.sx-quote__axis--y { left: -22px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); }
.sx-quote__axis--x { right: 0; bottom: -20px; }
.sx-quote__total { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.sx-quote__total small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.sx-quote__total strong { font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sx-quote__total em { font-style: normal; margin-left: 6px; font-size: 13px; color: var(--text-3); }
.sx-quote__pick { text-align: right; font-size: 13.5px; color: var(--text-3); }
.sx-quote__pick b { display: block; font-size: 15px; color: var(--text); }

/* 09 Booking walkthrough --------------------------------------------------- */
.sx-booking-band { background: var(--ink); overflow: hidden; }
ol.sx-booking { position: relative; list-style: none; margin: 0 auto; padding: 0 420px 0 0; max-width: 1080px; min-height: 660px; display: grid; align-content: center; gap: 4px; }
.sx-step__btn { width: 100%; display: flex; gap: 20px; align-items: flex-start; padding: 16px 20px; border-radius: 18px; border: 1px solid transparent; background: none; color: inherit; text-align: left; transition: background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.sx-step__btn:hover { background: rgba(255, 255, 255, .035); }
.sx-step__num { font-family: var(--display); font-size: 15px; font-weight: 600; line-height: 28px; color: var(--text-3); font-variant-numeric: tabular-nums; transition: color var(--t-base) var(--ease); }
.sx-step__text strong { display: block; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 28px; }
.sx-step__text > span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--text-3); transition: color var(--t-base) var(--ease); }
.sx-step.is-active .sx-step__btn { background: rgba(255, 255, 255, .06); border-color: var(--line-strong); }
.sx-step.is-active .sx-step__num { color: var(--p-text); }
.sx-step.is-active .sx-step__text > span { color: var(--text-2); }
.sx-step__screen { position: absolute; right: 44px; top: 50%; opacity: 0; visibility: hidden; transform: translateY(calc(-50% + 14px)) scale(.985); transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility 0s linear var(--t-base); }
.sx-step.is-active .sx-step__screen { opacity: 1; visibility: visible; transform: translateY(-50%); transition-delay: 0s; }
.sx-step__screen .device { --w: 300px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 0 0 .2em #050507, 0 40px 90px -30px #000, 0 30px 140px -40px rgba(249, 77, 0, .45); }

/* 10 South Africa map ------------------------------------------------------ */
.sx-split--map { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.sx-map__svg { width: 100%; height: auto; overflow: visible; }
#sx-map-dots circle { fill: var(--text-3); opacity: .5; }
.sx-map__border { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-linejoin: round; }
.sx-map__enclave { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 3 4; stroke-linejoin: round; }
.sx-map__route { fill: none; stroke: var(--text-3); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: .006 .022; opacity: .7; }
.sx-map__city circle:not(.sx-map__halo) { fill: var(--text-2); stroke: var(--bg); stroke-width: 2; transition: fill var(--t-base) var(--ease); }
.sx-map__halo { fill: var(--p); opacity: 0; transform: scale(.4); transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.sx-map__city text { font-family: var(--display); font-size: 14px; font-weight: 600; fill: var(--text-2); stroke: var(--bg); stroke-width: 5px; stroke-linejoin: round; paint-order: stroke; transition: fill var(--t-base) var(--ease); }
.sx-map[data-route="jhb-cpt"] [data-route-path="jhb-cpt"],
.sx-map[data-route="dbn-jhb"] [data-route-path="dbn-jhb"],
.sx-map[data-route="cpt-gqe"] [data-route-path="cpt-gqe"],
.sx-map[data-route="pta-bfn"] [data-route-path="pta-bfn"] { stroke: var(--p); stroke-width: 3.5; stroke-dasharray: 1; opacity: 1; animation: sx-draw 1.1s var(--ease) both; }
.sx-map[data-route="jhb-cpt"] :is([data-city="jhb"], [data-city="cpt"]) circle:not(.sx-map__halo),
.sx-map[data-route="dbn-jhb"] :is([data-city="dbn"], [data-city="jhb"]) circle:not(.sx-map__halo),
.sx-map[data-route="cpt-gqe"] :is([data-city="cpt"], [data-city="gqe"]) circle:not(.sx-map__halo),
.sx-map[data-route="pta-bfn"] :is([data-city="pta"], [data-city="bfn"]) circle:not(.sx-map__halo) { fill: var(--p); }
.sx-map[data-route="jhb-cpt"] :is([data-city="jhb"], [data-city="cpt"]) .sx-map__halo,
.sx-map[data-route="dbn-jhb"] :is([data-city="dbn"], [data-city="jhb"]) .sx-map__halo,
.sx-map[data-route="cpt-gqe"] :is([data-city="cpt"], [data-city="gqe"]) .sx-map__halo,
.sx-map[data-route="pta-bfn"] :is([data-city="pta"], [data-city="bfn"]) .sx-map__halo { opacity: .2; transform: none; }
.sx-map[data-route="jhb-cpt"] :is([data-city="jhb"], [data-city="cpt"]) text,
.sx-map[data-route="dbn-jhb"] :is([data-city="dbn"], [data-city="jhb"]) text,
.sx-map[data-route="cpt-gqe"] :is([data-city="cpt"], [data-city="gqe"]) text,
.sx-map[data-route="pta-bfn"] :is([data-city="pta"], [data-city="bfn"]) text { fill: var(--text); }
.sx-map__note { margin-top: 8px; }
.sx-routes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.sx-route-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-2); font-size: 14.5px; font-weight: 600; transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.sx-route-chip .icon { width: 15px; height: 15px; color: var(--text-3); }
.sx-route-chip:hover { color: var(--text); border-color: var(--text-3); }
.sx-route-chip[aria-pressed="true"] { border-color: var(--p); background: var(--p-soft); color: var(--p-text); }
.sx-route-chip[aria-pressed="true"] .icon { color: currentColor; }

/* 11 Parcel size calculator ------------------------------------------------ */
/* The hooks [data-size-tool], .size-preset, [data-dim] and [data-out] belong to allora.js. */
.sx-size { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.sx-size__presets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.sx-size .sx-preset { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 18px 18px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: var(--surface); color: var(--text); text-align: left; box-shadow: none; transition: background-color var(--t-fast) var(--ease); }
.sx-size .sx-preset:last-child { border-right: 0; }
.sx-size .sx-preset svg { width: 60px; height: 45px; margin: 0 0 8px -4px; color: var(--text-3); transition: transform var(--t-base) var(--ease); }
.sx-size .sx-preset strong { font-size: 15.5px; font-weight: 650; }
.sx-size .sx-preset span { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.sx-size .sx-preset:hover { background: var(--bg-alt); }
.sx-size .sx-preset:hover svg { transform: translateY(-3px); }
.sx-size .sx-preset[aria-pressed="true"] { background: var(--p-soft); box-shadow: inset 0 -3px 0 var(--p); }
.sx-size .sx-preset:focus-visible { outline: 2.5px solid var(--brand); outline-offset: -3px; }
.sx-size__body { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 48px); padding: clamp(20px, 3.4vw, 40px); align-items: center; }
.sx-size__figure { margin: 0; border-radius: var(--radius); background: var(--bg-alt); padding: 8px 8px 14px; text-align: center; }
.sx-size__figure figcaption { font-size: 12.5px; color: var(--text-3); }
.sx-boxdraw { width: 100%; height: auto; max-height: 300px; }
.sx-boxdraw polygon { stroke: rgba(60, 36, 10, .35); stroke-width: 1; stroke-linejoin: round; transition: opacity var(--t-fast) var(--ease); }
.sx-boxdraw text { font-family: var(--mono); font-size: 12px; font-weight: 600; fill: var(--text-2); }
.sx-boxdraw__shadow { fill: rgba(11, 11, 16, .12); }
.sx-size__fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sx-field { position: relative; display: flex; flex-direction: column; gap: 6px; }
.sx-field span { font-size: 13px; font-weight: 600; color: var(--text-2); }
.sx-field input { width: 100%; height: 52px; padding: 0 36px 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.sx-field input::-webkit-outer-spin-button, .sx-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sx-field input:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 3px var(--p-soft); }
.sx-field input[aria-invalid="true"] { border-color: var(--danger); }
.sx-field em { position: absolute; right: 13px; bottom: 16px; font-style: normal; font-size: 13px; color: var(--text-3); pointer-events: none; }
.sx-size__result { display: grid; gap: 12px; margin-top: 24px; }
.sx-meter { display: grid; grid-template-columns: 138px minmax(0, 1fr) 68px; align-items: center; gap: 14px; font-size: 14px; color: var(--text-2); }
.sx-meter__bar { height: 10px; border-radius: 999px; background: var(--chip-bg); overflow: hidden; }
.sx-meter__bar i { display: block; width: var(--v, 0%); height: 100%; border-radius: inherit; background: var(--text-3); transition: width var(--t-base) var(--ease), background-color var(--t-base) var(--ease); }
.sx-meter__bar i.is-key { background: var(--p); }
.sx-meter b { text-align: right; font-size: 16px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.sx-size__charge { display: flex; align-items: center; gap: 20px; margin-top: 6px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--p-soft); }
.sx-size__charge small { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.sx-size__charge b { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--p-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sx-size__msg { margin: 0; font-size: 14.5px; color: var(--text-2); }
.sx-size__msg.is-warn { color: var(--danger); font-weight: 600; }
.sx-size__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px clamp(20px, 4vw, 48px); padding: 22px clamp(20px, 3.4vw, 40px) 26px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--text-2); }
.sx-size__foot strong { color: var(--text); }

/* 12 Tracking board -------------------------------------------------------- */
.sx-track__states { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin-inline: -4px; }
.sx-track__states::-webkit-scrollbar { display: none; }
.sx-track__states button { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-2); font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.sx-track__states button:hover { color: var(--text); border-color: var(--text-3); }
.sx-track__states button[aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.sx-track__sep { flex: none; width: 1px; height: 22px; margin: 0 6px; background: var(--line-strong); }

.sx-board { --tone: var(--p); padding: clamp(20px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.sx-board[data-tone="ok"] { --tone: var(--ok-solid); }
.sx-board[data-tone="warn"] { --tone: #D97706; }
.sx-board[data-tone="danger"] { --tone: #D93036; }
.sx-board:focus-visible { outline-offset: 4px; border-radius: var(--radius-lg); }
.sx-board__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sx-board__ref { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.sx-board__route { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.sx-board__route .icon { width: 22px; height: 22px; color: var(--p); }
.sx-board__meta { margin-top: 4px; font-size: 14.5px; color: var(--text-3); }
.sx-progress { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.sx-progress li { display: flex; flex-direction: column; gap: 9px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.sx-progress i { height: 6px; border-radius: 999px; background: var(--chip-bg); transition: background-color var(--t-base) var(--ease); }
.sx-board[data-step="1"] .sx-progress li:nth-child(-n+1),
.sx-board[data-step="2"] .sx-progress li:nth-child(-n+2),
.sx-board[data-step="3"] .sx-progress li:nth-child(-n+3),
.sx-board[data-step="4"] .sx-progress li:nth-child(-n+4),
.sx-board[data-step="5"] .sx-progress li:nth-child(-n+5) { color: var(--text); }
.sx-board[data-step="1"] .sx-progress li:nth-child(-n+1) i,
.sx-board[data-step="2"] .sx-progress li:nth-child(-n+2) i,
.sx-board[data-step="3"] .sx-progress li:nth-child(-n+3) i,
.sx-board[data-step="4"] .sx-progress li:nth-child(-n+4) i,
.sx-board[data-step="5"] .sx-progress li:nth-child(-n+5) i { background: var(--tone); }
.sx-board__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.sx-board__headline { font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.sx-board__detail { margin-top: 10px; color: var(--text-2); font-size: 15.5px; max-width: 52ch; }
.sx-board__eta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 0; }
.sx-board__eta div { padding: 14px 16px; border-radius: 14px; background: var(--bg-alt); }
.sx-board__eta dt { font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.sx-board__eta dd { margin: 3px 0 0; font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.sx-board__label { margin: 24px 0 12px; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.sx-board__side .sx-board__label:first-child { margin-top: 0; }
.sx-actions { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sx-actions li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: var(--bg-alt); font-size: 14px; font-weight: 600; color: var(--text-2); }
.sx-actions .icon { width: 16px; height: 16px; color: var(--text-3); }
.sx-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.sx-events li { position: relative; padding-left: 26px; display: flex; flex-direction: column; line-height: 1.35; }
.sx-events li::before { content: ""; position: absolute; left: 0; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.sx-events li:not(:last-child)::after { content: ""; position: absolute; left: 4px; top: 19px; bottom: -14px; width: 2px; background: var(--line); }
.sx-events .is-now::before { background: var(--tone); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone) 22%, transparent); }
.sx-events strong { font-size: 15px; font-weight: 650; }
.sx-events span { font-size: 13.5px; color: var(--text-3); }
.sx-notif { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 12px 14px; border-radius: 16px; background: var(--bg-alt); border: 1px solid var(--line); }
.sx-notif__icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; background: linear-gradient(145deg, #FF7A3D, #F94D00 55%, #DC4000); color: #fff; font-weight: 800; }
.sx-notif__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: 13.5px; line-height: 1.4; color: var(--text-2); }
.sx-notif__text strong { font-size: 14.5px; color: var(--text); }
.sx-notif__app { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.sx-board.is-swapping .sx-board__grid { animation: sx-fade var(--t-base) var(--ease) both; }
.sx-honest { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 32px; }
.sx-honest li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); padding-top: 18px; border-top: 1px solid var(--line); }
.sx-honest .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--p-text); }
.sx-honest strong { display: block; color: var(--text); }

/* 13 Documents ------------------------------------------------------------- */
.sx-split--docs { margin-bottom: clamp(36px, 5vw, 64px); }
.sx-docstack { position: relative; height: 22em; font-size: clamp(11px, 1.25vw, 15px); }
.sx-doc { position: absolute; display: flex; flex-direction: column; gap: .7em; width: 13.5em; padding: 1.2em 1.1em; border-radius: .5em; background: #FFFDF9; color: #15151D; box-shadow: 0 1px 2px rgba(11, 11, 16, .08), 0 22px 44px -18px rgba(11, 11, 16, .4); transition: transform var(--t-base) var(--ease); }
.sx-doc b { font-size: .7em; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #B83A00; }
.sx-doc i { display: block; height: .45em; border-radius: .3em; background: #E4E4EA; }
.sx-doc i.is-short { width: 58%; }
.sx-doc small { font-size: .56em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #696973; }
.sx-doc em { font-style: normal; font-size: .72em; font-weight: 700; }
.sx-doc__cols { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; }
.sx-doc__cols span, .sx-doc__to { display: flex; flex-direction: column; gap: .4em; }
.sx-doc__row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: baseline; gap: .5em; padding: .5em 0; border-block: 1px solid #E4E4EA; }
.sx-doc__bars { height: 2.2em; background: repeating-linear-gradient(90deg, #15151D 0 2px, transparent 2px 4px, #15151D 4px 5px, transparent 5px 8px, #15151D 8px 11px, transparent 11px 13px, #15151D 13px 14px, transparent 14px 17px); }
.sx-doc__bars--tall { height: 3.6em; }
.sx-doc__ref { font-family: var(--mono); font-size: .66em; font-weight: 600; letter-spacing: .12em; text-align: center; }
.sx-doc__sign { margin-top: .6em; padding-bottom: .2em; width: 62%; border-bottom: 1.5px solid #9C9CA8; }
.sx-doc__sign em { font-family: 'Snell Roundhand', 'Brush Script MT', cursive; font-size: 1.1em; font-weight: 400; color: #2F3FBF; }
.sx-doc__check { width: 2.4em; height: 2.4em; border-radius: 50%; display: grid; place-items: center; background: #12A36B; color: #fff; }
.sx-doc__check .icon { width: 1.3em; height: 1.3em; stroke-width: 3; }
.sx-doc--letter { left: 2%; top: 3.6em; transform: rotate(-8deg); }
.sx-doc--waybill { left: 22%; top: .4em; width: 15em; transform: rotate(-2deg); z-index: 1; }
.sx-doc--label { left: 50%; top: 3em; transform: rotate(5deg); z-index: 2; }
.sx-doc--pod { left: 70%; top: 11.6em; width: 11.5em; transform: rotate(-4deg); z-index: 3; }
.sx-docstack:hover .sx-doc--letter { transform: rotate(-11deg) translate(-.6em, -.3em); }
.sx-docstack:hover .sx-doc--label { transform: rotate(7deg) translate(.5em, -.3em); }
.sx-docstack:hover .sx-doc--pod { transform: rotate(-2deg) translate(.4em, .4em); }

.sx-ledger { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-strong); }
.sx-ledger li { display: grid; grid-template-columns: 220px repeat(3, minmax(0, 1fr)); gap: 12px 32px; padding: 22px 0; border-top: 1px solid var(--line-strong); font-size: 15px; color: var(--text-2); }
.sx-ledger small { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.sx-ledger__name { display: flex; align-items: center; gap: 12px; align-self: start; }
.sx-ledger__name .icon { width: 22px; height: 22px; color: var(--p-text); }
.sx-ledger__name strong { font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: var(--text); }
.sx-next { margin-top: clamp(48px, 7vw, 88px); }
.sx-next__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.sx-next__list li { position: relative; display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 2px solid var(--line-strong); font-size: 15px; color: var(--text-2); }
.sx-next__list li > span { position: absolute; top: -15px; left: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--p-strong); color: #fff; font-family: var(--display); font-size: 13.5px; font-weight: 600; box-shadow: 0 0 0 6px var(--bg-alt); }
.sx-next__list strong { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: var(--text); }

/* 14 Business -------------------------------------------------------------- */
.sx-business { background: var(--ink); isolation: isolate; overflow: hidden; }
.sx-business::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(40% 60% at 92% 20%, rgba(249, 77, 0, .2), transparent 70%); }
.sx-audience { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sx-audience li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.sx-business .business__actions { margin-top: 34px; }
.sx-ops { border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); overflow: hidden; }
.sx-ops__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 22px; }
.sx-ops__head strong { display: block; font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.sx-ops__head small { font-size: 12.5px; color: var(--text-3); }
.sx-ops__filters { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.sx-ops__filters i { font-style: normal; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.sx-ops__filters .is-on { background: rgba(255, 255, 255, .12); color: var(--text); }
.sx-ops__row { display: grid; grid-template-columns: minmax(0, 1fr) auto 84px; align-items: center; gap: 14px; padding: 14px 22px; border-top: 1px solid var(--line); }
.sx-ops__dest b { display: block; font-size: 15.5px; font-weight: 650; }
.sx-ops__dest small { font-size: 12.5px; color: var(--text-3); }
.sx-ops .sx-pill { padding: 5px 11px; font-size: 12.5px; }
.sx-ops__bar { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--brand) calc(var(--v) * 20%), rgba(255, 255, 255, .12) 0); }
.sx-ops__foot { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 16px 22px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.sx-ops__foot span { display: inline-flex; align-items: center; gap: 7px; }
.sx-ops__foot .icon { width: 16px; height: 16px; color: var(--p-text); }

/* 15 Guidelines, cancellations, support ----------------------------------- */
.sx-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.sx-rules__col { padding: clamp(22px, 3vw, 34px); }
.sx-rules__col + .sx-rules__col { border-left: 1px solid var(--line); }
.sx-rules__col .sx-h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 1.2rem; }
.sx-rules__mark { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.sx-rules__mark .icon { width: 17px; height: 17px; stroke-width: 2.4; }
.sx-rules__col--no .sx-rules__mark { background: var(--danger-soft); color: var(--danger); }
.sx-rules__col--check .sx-rules__mark { background: var(--warn-soft); color: var(--warn); }
.sx-rules__col--pack .sx-rules__mark { background: var(--ok-soft); color: var(--ok); }
.sx-rules ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.sx-rules li { position: relative; padding-left: 20px; font-size: 15.5px; color: var(--text-2); }
.sx-rules li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 2px; border-radius: 2px; background: var(--line-strong); }

.sx-fine { margin-top: clamp(48px, 7vw, 88px); }
.sx-fine__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 56px); margin-top: 16px; align-items: start; }
.sx-fine__item { border-bottom: 1px solid var(--line-strong); }
.sx-fine__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 2px; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; border-radius: 8px; }
.sx-fine__item summary::-webkit-details-marker { display: none; }
.sx-fine__item summary .icon { width: 20px; height: 20px; color: var(--text-3); transition: transform var(--t-base) var(--ease); }
.sx-fine__item[open] summary .icon { transform: rotate(45deg); }
.sx-fine__item p { padding: 0 2px 20px; font-size: 15.5px; color: var(--text-2); max-width: 60ch; }

.sx-cancel { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(56px, 8vw, 104px); align-items: start; }
.sx-cancel__intro .sx-kicker { margin-bottom: 16px; }
.sx-cancel__line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sx-cancel__line li { position: relative; padding: 30px 28px 0 0; border-top: 2px solid var(--line-strong); }
.sx-cancel__line li::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--p); box-shadow: 0 0 0 5px var(--bg); }
.sx-cancel__tag { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--p-text); }
.sx-cancel__line strong { display: block; font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.sx-cancel__line p { margin-top: 8px; font-size: 15px; color: var(--text-2); }

.sx-support { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; margin-top: clamp(48px, 7vw, 88px); padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg); background: var(--bg-alt); border: 1px solid var(--line); }
.sx-support p { margin-top: 6px; font-size: 15.5px; color: var(--text-2); max-width: 46ch; }
.sx-support__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sx-support .btn--secondary { background: var(--surface); border-color: var(--line-strong); }
.sx-support .btn--secondary:hover { border-color: var(--text-3); }

/* 16 FAQ & download panel -------------------------------------------------- */
.sx-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.sx-faq .sx-head { margin: 0; position: sticky; top: calc(var(--header-h) + var(--subnav-h) + 32px); }
.sx-faq .faq-list { max-width: none; margin: 0; }

.sx-cta { padding-top: clamp(40px, 6vw, 80px); }
.sx-cta__panel { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(48px, 8vw, 104px) clamp(24px, 6vw, 80px); background: var(--ink); border: 1px solid var(--line-strong); }
.sx-cta__panel::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(50% 80% at 85% 100%, rgba(249, 77, 0, .34), transparent 70%); }
.sx-cta__route { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; fill: rgba(255, 255, 255, .5); }
.sx-cta__parcel { position: absolute; right: clamp(16px, 7vw, 96px); bottom: clamp(-30px, -2vw, -12px); width: clamp(120px, 20vw, 240px); z-index: -1; transform: rotate(6deg); filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .55)); }
.sx-cta__panel .sx-kicker { margin-bottom: 20px; }
.sx-cta__panel .lead { margin-top: 18px; max-width: 520px; }
.sx-cta__panel .store-buttons { margin-top: 34px; }

/* 17 Motion ---------------------------------------------------------------- */
/* Hero: one entrance. The route draws, the parcel follows it, the van arrives,
   then the cards appear. Nothing loops except a slow drift on the two cards.
   allora.css collapses every animation for prefers-reduced-motion. */
@keyframes sx-draw { from { stroke-dashoffset: 1; } }
@keyframes sx-fade { from { opacity: 0; transform: translateY(10px); } }
@keyframes sx-rise { from { opacity: 0; transform: translateY(30px); } }
@keyframes sx-drive { from { opacity: 0; transform: translateX(-46%); } }
@keyframes sx-drop { from { opacity: 0; transform: translateY(-22px) rotate(-4deg); } }
@keyframes sx-travel { from { offset-distance: 0%; } }
@keyframes sx-drift { 50% { transform: translateY(-7px); } }
@keyframes sx-pop { from { opacity: 0; transform: translateY(12px) scale(.96); } }

.sx-route--live { animation: sx-draw 2.2s var(--ease) .5s backwards; }
.sx-route__parcel { animation: sx-travel 2.2s var(--ease) .5s backwards; }
.sx-scene__device { animation: sx-rise .9s var(--ease) both; }
.sx-scene__van { animation: sx-drive 1.2s var(--ease) .35s both; }
.sx-scene__parcel { animation: sx-drop .7s var(--ease) 1.1s both; }
.sx-float { animation: sx-pop .6s var(--ease) both, sx-drift 7s ease-in-out infinite; }
.sx-float--a { animation-delay: 1.5s, 2.2s; }
.sx-float--b { animation-delay: 1.9s, 4s; }
.sx-scene.is-idle .sx-float { animation-play-state: running, paused; }
.sx-stage.is-active { animation: sx-fade var(--t-base) var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
    .sx-stop:hover .sx-stop__node, .sx-size .sx-preset:hover svg { transform: none; }
}

/* 18 Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
    ol.sx-booking { padding-right: 360px; }
    .sx-step__screen { right: 20px; }
    .sx-step__screen .device { --w: 280px; }
    .sx-size__presets { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; scrollbar-width: none; }
    .sx-ledger li { grid-template-columns: 180px repeat(3, minmax(0, 1fr)); gap: 12px 22px; }
}

@media (max-width: 960px) {
    .sx-hero__grid, .sx-split, .sx-split--map, .sx-faq, .sx-cancel { grid-template-columns: minmax(0, 1fr); }
    .sx-hero__grid { gap: 28px; }
    .sx-scene { max-width: 560px; }
    .sx-facts { grid-template-columns: 1fr 1fr; }
    .sx-facts li { padding: 20px 16px; }
    .sx-facts li:nth-child(odd) { padding-left: 0; border-left: 0; }
    .sx-facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
    .sx-faq .sx-head { position: static; }
    .sx-split--docs > :first-child { order: 2; }

    /* Journey: every stop is visible as a vertical timeline, so the rail and tour are not needed. */
    .sx-journey { border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
    .sx-journey__bar, .sx-tour { display: none !important; }
    .sx-stages { position: relative; display: grid; gap: 14px; }
    .sx-stage, .sx-stage.is-active { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px 16px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); animation: none; }
    .sx-journey__foot { border: 0; padding: 16px 0 0; }

    /* Booking: the list stays readable; the selected step shows its screen in place. */
    ol.sx-booking { padding-right: 0; min-height: 0; max-width: 620px; }
    .sx-step__screen { position: static; display: none; opacity: 1; visibility: visible; transform: none; transition: none; padding: 10px 0 22px; }
    .sx-step.is-active .sx-step__screen { display: grid; place-items: center; transform: none; animation: sx-fade var(--t-base) var(--ease) both; }
    .sx-step__screen .device { --w: 272px; }

    .sx-size__body { grid-template-columns: minmax(0, 1fr); }
    .sx-size__figure { max-width: 420px; width: 100%; margin-inline: auto; }
    .sx-size__foot { grid-template-columns: 1fr; }
    .sx-board__grid { grid-template-columns: minmax(0, 1fr); }
    .sx-honest { grid-template-columns: 1fr; }
    .sx-ledger li { grid-template-columns: 1fr; gap: 12px; padding: 22px 0; }
    .sx-next__list { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .sx-rules { grid-template-columns: 1fr; }
    .sx-rules__col + .sx-rules__col { border-left: 0; border-top: 1px solid var(--line); }
    .sx-fine__grid { grid-template-columns: 1fr; }
    .sx-cancel__line { grid-template-columns: 1fr; }
    .sx-cancel__line li { padding: 0 0 28px 30px; border-top: 0; border-left: 2px solid var(--line-strong); }
    .sx-cancel__line li:last-child { padding-bottom: 0; }
    .sx-cancel__line li::before { left: -7px; top: 2px; }
    .sx-cta__parcel { opacity: .5; }
    .sx-map__city text { font-size: 19px; }
}

@media (max-width: 640px) {
    body.send-page { --subnav-h: 56px; }
    .sx-subnav__list a { height: 40px; }
    .sx-subnav__cta { display: inline-flex; }
    .sx-hero__cta { flex-direction: column; align-items: stretch; gap: 8px; }
    .sx-hero__cta .store-buttons { justify-content: flex-start; }
    .sx-hero__how { justify-content: flex-start; }
    /* Phone composition: a larger handset, with the route to its left. */
    .sx-scene { aspect-ratio: 1 / 1.3; margin-bottom: 30px; }
    .sx-scene__device { --w: 226px; --w: 60cqw; left: 38%; top: 2%; }
    .sx-scene__van { width: 52%; top: 77.5%; left: -4%; }
    .sx-scene__parcel { width: 27%; left: 24%; top: 79%; }
    .sx-scene::after { top: 95%; right: 36%; }
    .sx-float { padding: 8px 12px 8px 8px; font-size: 11.5px; border-radius: 14px; }
    .sx-float strong { font-size: 12.5px; }
    .sx-float__icon { width: 28px; height: 28px; border-radius: 8px; }
    .sx-float--a { top: 6%; left: -2%; max-width: 48%; }
    .sx-float--b { top: 60%; right: -1%; max-width: 54%; }
    .sx-scene__note { bottom: -26px; }

    .sx-quote__route { font-size: 1.1rem; gap: 10px; flex-wrap: wrap; }
    .sx-seg { display: flex; }
    .sx-seg button { flex: 1 1 auto; padding: 0 8px; }
    .sx-opt { padding: 10px 12px; gap: 10px; }
    .sx-opt__name strong { font-size: 14.5px; }
    .sx-opt__name .sx-tag { margin-left: 0; display: table; margin-top: 2px; }
    .sx-quote__total { flex-direction: column; align-items: flex-start; gap: 8px; }
    .sx-quote__pick { text-align: left; }
    .sx-step__btn { gap: 14px; padding: 14px; }
    .sx-step__text strong { font-size: 18px; }

    .sx-size__presets { grid-template-columns: repeat(5, 136px); scroll-snap-type: x proximity; }
    .sx-size .sx-preset { scroll-snap-align: start; padding: 14px 14px 16px; }
    .sx-size__fields { grid-template-columns: 1fr 1fr; }
    .sx-meter { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
    .sx-meter__bar { grid-column: 1 / -1; grid-row: 2; }
    .sx-size__charge { flex-direction: column; align-items: flex-start; gap: 8px; }

    .sx-progress li span { font-size: 11px; line-height: 1.25; }
    .sx-board__eta { grid-template-columns: 1fr; }
    .sx-docstack { height: 19em; font-size: 10.5px; margin-inline: -4px; }
    .sx-doc--waybill { left: 18%; }
    .sx-doc--label { left: 48%; }
    .sx-doc--pod { left: 62%; }
    .sx-next__list { grid-template-columns: 1fr; gap: 34px; }
    .sx-ops__row { grid-template-columns: minmax(0, 1fr) auto; }
    .sx-ops__bar { grid-column: 1 / -1; }
    .sx-support__actions { width: 100%; }
    .sx-support__actions .btn { flex: 1 1 auto; }
    .sx-cta__panel .store-buttons { justify-content: flex-start; }
    .sx-cta__parcel { display: none; }
    .sx-map__city text { font-size: 23px; }
    .sx-route-chip { flex: 1 1 100%; justify-content: center; }
}

@media (max-width: 360px) {
    .sx-display { font-size: 2.35rem; }
    .sx-facts { grid-template-columns: 1fr; }
    .sx-facts li, .sx-facts li:nth-child(odd) { padding: 16px 0; border-left: 0; }
    .sx-facts li + li { border-top: 1px solid var(--line); }
    .sx-subnav__cta { display: none; }
    .sx-step__screen .device { --w: 248px; }
}

/* Large displays: hold the measure rather than scaling type further. */
@media (min-width: 1600px) {
    .sx-display { font-size: 5rem; }
    .sx-scene { max-width: 660px; }
}
