/* FedExSans is proprietary — falls back to Arial until you add licensed files (see @font-face below). */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    font-family: FedExSans, Arial, Helvetica, sans-serif;
    background-color: white;
    overflow-x: hidden;
}
button,
input,
select,
textarea {
    font: inherit;
}
img {
    max-width: 100%;
    height: auto;
}

/* Local utility shim for the small Tailwind subset used by the static pages.
   This keeps localhost/offline loads from depending on cdn.tailwindcss.com. */
.fixed { position: fixed; }
.bottom-4 { bottom: 1rem; }
.right-4 { right: 1rem; }
.z-50 { z-index: 50; }
.flex { display: flex; }
.hidden { display: none !important; }
.inline-flex { display: inline-flex; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-x-4 { column-gap: 1rem; }
.gap-y-1 { row-gap: 0.25rem; }
.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-5 { margin-top: 1.25rem; }
.mt-20 { margin-top: 5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.ml-2 { margin-left: 0.5rem; }
.w-full { width: 100%; }
.max-w-\[1200px\] { max-width: 1200px; }
.overflow-x-auto { overflow-x: auto; }
.rounded { border-radius: 0.25rem; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.border { border: 1px solid #d1d5db; }
.border-b { border-bottom: 1px solid #e5e7eb; }
.border-2 { border-width: 2px; border-style: solid; }
.border-white { border-color: #fff; }
.bg-white { background-color: #fff; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-green-600 { background-color: #16a34a; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-blue-600 { background-color: #2563eb; }
.bg-purple-600 { background-color: #9333ea; }
.bg-purple-700 { background-color: #7e22ce; }
.bg-red-500 { background-color: #ef4444; }
.bg-red-600 { background-color: #dc2626; }
.bg-\[\#4D148C\] { background-color: #4D148C; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-8 { padding-bottom: 2rem; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-\[12px\] { font-size: 12px; }
.text-\[13px\] { font-size: 13px; }
.text-\[14px\] { font-size: 14px; }
.text-\[1\.8rem\] { font-size: 1.8rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; }
.text-white { color: #fff; }
.text-gray-600 { color: #4b5563; }
.text-gray-800 { color: #1f2937; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-purple-800 { color: #6b21a8; }
.text-\[\#007AB7\] { color: #007AB7; }
.no-underline { text-decoration: none; }
.underline { text-decoration: underline; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.cursor-pointer { cursor: pointer; }
.h-12 { height: 3rem; }
.hover\:underline:hover { text-decoration: underline; }
@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
    .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
    .sm\:flex-row { flex-direction: row; }
    .sm\:items-center { align-items: center; }
    .sm\:justify-between { justify-content: space-between; }
}
@media (min-width: 1024px) {
    .lg\:flex { display: flex !important; }
}

/* Uncomment and point `src` at your licensed .woff2 files (e.g. place under /fonts/) when you have them.
@font-face {
    font-family: FedExSans;
    src: url("../fonts/FedExSans-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: FedExSans;
    src: url("../fonts/FedExSans-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: FedExSans;
    src: url("../fonts/FedExSans-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: FedExSans;
    src: url("../fonts/FedExSans-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
*/
.tracking-main { max-width: 1120px; }

/* Full-width purple bar; inner aligns with .tracking-main */
.site-footer {
    background-color: #4D148C;
    color: #fff;
}
.site-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    padding: 15px 0;
    font-size: 0.8125rem; /* 13px */
    line-height: 1.35;
}
.site-footer-copy {
    margin: 0;
    font-weight: 400;
}
.site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem 0.5rem;
    font-weight: 400;
}
.site-footer-nav a {
    color: #fff;
    text-decoration: none;
}
.site-footer-nav a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.site-footer-sep {
    color: rgba(255, 255, 255, 0.85);
    user-select: none;
}
@media (max-width: 640px) {
    .site-footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .site-footer-nav {
        justify-content: center;
    }
}

/* Home tracking page — grey mega footer (aligned with .tracking-main + px-6 like cards above) */
.home-mega-footer {
    background: #f5f5f5;
    color: #333;
    border-top: 1px solid #e0e0e0;
}
.home-mega-footer-grid-wrap {
    padding-top: clamp(2.25rem, 5vw, 3.25rem);
    padding-bottom: clamp(1.75rem, 4vw, 2.5rem);
    box-sizing: border-box;
}
.home-mega-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}
.home-mega-footer-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 12px;
    color: #4D148C;
    line-height: 1.25;
}
.home-mega-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.65;
}
.home-mega-footer-list a {
    color: #333;
    text-decoration: none;
}
.home-mega-footer-list a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}
/* Second company column: no heading — offset so first link lines up with column 1 */
.home-mega-footer-col--continuation {
    padding-top: calc(11px * 1.25 + 12px);
}
.home-mega-footer-col--lang .home-mega-lang {
    max-width: 100%;
}
.home-mega-footer-region {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.4;
}
.home-mega-footer-globe {
    flex-shrink: 0;
    color: #333;
}
.home-mega-footer-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* Custom language dropdown (FedEx-style: grey idle, light blue border + chevron up when open) */
.home-mega-lang {
    text-align: left;
}
.home-mega-lang-dropdown {
    position: relative;
    width: 100%;
    max-width: 220px;
}
.home-mega-lang-trigger {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 12px 11px 14px;
    margin: 0;
    border: 1px solid #b0b0b0;
    border-radius: 2px;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    outline: none;
}
.home-mega-lang-trigger:focus-visible {
    outline: 2px solid #4d90fe;
    outline-offset: 1px;
}
.home-mega-lang-dropdown.is-open .home-mega-lang-trigger {
    border: 2px solid #4d90fe;
    padding: 10px 11px 10px 13px;
}
.home-mega-lang-value {
    flex: 1;
    min-width: 0;
}
.home-mega-lang-chevron {
    flex-shrink: 0;
    color: #333;
    transition: transform 0.15s ease;
}
.home-mega-lang-dropdown.is-open .home-mega-lang-chevron {
    transform: rotate(180deg);
}
.home-mega-lang-panel {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 1px);
    z-index: 30;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #c8c8c8;
    border-radius: 0 0 2px 2px;
}
.home-mega-lang-option {
    margin: 0;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 400;
    color: #333;
    line-height: 1.35;
    cursor: pointer;
}
.home-mega-lang-option:hover,
.home-mega-lang-option.is-highlighted {
    background: #f0f0f0;
}
.home-mega-lang-option[aria-selected="true"] {
    font-weight: 500;
}
.home-mega-footer-rule-wrap {
    box-sizing: border-box;
    padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
}
.home-mega-footer-rule {
    margin: 0;
    border: 0;
    border-top: 1px solid #d8d8d8;
}
/* FedEx-style: “FOLLOW …” left, wide gap, then seven black ring icons on one line */
.home-mega-footer-social-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(2.25rem, 6vw, 4.75rem);
    padding-bottom: clamp(2rem, 4vw, 2.75rem);
    box-sizing: border-box;
}
.home-mega-footer-follow {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    align-self: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4D148C;
    line-height: 1;
}
.home-mega-footer-social {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}
.home-mega-footer-social li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}
.home-mega-social-link {
    width: 36px;
    height: 36px;
    box-sizing: border-box;
    border: 1px solid #000;
    border-radius: 50%;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #fff;
    flex-shrink: 0;
    transition: opacity 0.15s ease, background 0.15s ease;
}
.home-mega-social-link:hover {
    opacity: 0.88;
    background: #fafafa;
    border-color: #000;
    color: #000;
}
.home-mega-social-icon {
    display: block;
}
@media (max-width: 900px) {
    .home-mega-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 520px) {
    .home-mega-footer-grid {
        grid-template-columns: 1fr;
    }
    .home-mega-footer-col--continuation {
        padding-top: 0;
    }
    .home-mega-footer-social-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.25rem 1.5rem;
        text-align: center;
    }
    .home-mega-footer-follow {
        width: 100%;
        text-align: center;
    }
    .home-mega-footer-social {
        flex-wrap: wrap;
        justify-content: center;
    }
    .home-mega-lang-dropdown {
        max-width: none;
    }
}

.Afadu-purple-bg { background-color: #4D148C; }
.Afadu-logo { font-weight: 900; font-size: 1.5rem; letter-spacing: -1.5px; cursor: pointer; }

/* Home tracking — FedEx-style header, breadcrumbs, tabs */
.home-track-header {
    width: 100%;
}
.home-track-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    min-height: 56px;
    padding-top: 12px;
    padding-bottom: 12px;
    box-sizing: border-box;
}
.home-track-logo {
    flex-shrink: 0;
    line-height: 1;
}
.home-track-nav {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 2px;
    min-width: 0;
}
.home-track-nav-item {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 2px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.home-track-nav-item:hover {
    background: rgba(255, 255, 255, 0.12);
}
.home-track-nav-chev {
    font-size: 10px;
    opacity: 0.9;
}
.home-track-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px 20px;
    flex-shrink: 0;
    margin-left: auto;
}
.home-track-signin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 0;
    white-space: nowrap;
}
.home-track-signin:hover {
    opacity: 0.92;
}
.home-track-user-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 9999px;
    flex-shrink: 0;
}
.home-track-icon-btn {
    background: none;
    border: none;
    color: #fff;
    padding: 6px;
    cursor: pointer;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.home-track-icon-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}
@media (max-width: 900px) {
    .home-track-header-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo actions"
            "nav nav";
        align-items: center;
    }
    .home-track-logo {
        grid-area: logo;
    }
    .home-track-header-actions {
        grid-area: actions;
        margin-left: 0;
        justify-self: end;
    }
    .home-track-nav {
        grid-area: nav;
        flex-basis: auto;
        justify-content: flex-start;
    }
}
@media (max-width: 600px) {
    .home-track-header-inner {
        gap: 10px 12px;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .home-track-header-actions {
        gap: 8px;
    }
    .home-track-signin {
        min-height: 40px;
    }
    .home-track-icon-btn {
        min-width: 40px;
        min-height: 40px;
    }
    .home-track-nav {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-inline: -1rem;
        padding-inline: 1rem;
    }
    .home-track-nav::-webkit-scrollbar {
        display: none;
    }
    .home-track-nav-item {
        flex: 0 0 auto;
        padding: 6px 8px;
        font-size: 12px;
        min-height: 40px;
    }
}
@media (max-width: 420px) {
    .home-track-signin-text {
        display: none;
    }
}

.home-breadcrumbs {
    padding: 12px 0 8px;
    font-size: 12px;
    color: #9a9a9a;
    line-height: 1.4;
    text-align: left;
}
.home-bc-sep {
    margin: 0 8px;
    color: #b5b5b5;
}
.home-bc-current {
    color: #6d6d6d;
}

.tracking-page-title {
    font-weight: 300;
    font-size: clamp(1.85rem, 4.2vw, 2.65rem);
    color: #333;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0 auto 1.75rem;
    max-width: 48rem;
    text-align: center;
}
.tracking-page-reg {
    font-size: 0.52em;
    vertical-align: super;
    font-weight: 300;
}
.tracking-form-shell {
    width: 100%;
    max-width: 42.5rem;
    margin: 0 auto;
    text-align: center;
}
.tracking-tabs {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 1px;
    margin-bottom: 1.35rem;
    background: #fff;
}
.tracking-tab {
    flex: 1 1 auto;
    min-width: min(100%, 7rem);
    padding: 13px 10px;
    border: none;
    border-radius: 0;
    margin: 0;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    background: #e8e8e8;
    color: #333;
    text-align: center;
    transition: background 0.15s ease, color 0.15s ease;
}
@media (min-width: 640px) {
    .tracking-tab {
        font-size: 14px;
        padding: 14px 14px;
        min-width: 7.5rem;
    }
}
.tracking-tab:hover:not(.tracking-tab--active) {
    background: #dbd9d9;
}
.tracking-tab--active {
    background: #4D148C;
    color: #fff;
}
.tracking-tab:focus-visible {
    outline: 2px solid #4d90fe;
    outline-offset: 2px;
    position: relative;
    z-index: 1;
}
.tracking-instructions {
    max-width: 35rem;
    margin: 0 auto 1.1rem;
    font-size: 20px;
    line-height: 1.3;
    color: #555;
    text-align: center;
    padding: 0;
    text-wrap: balance;
}
.tracking-tab-panel {
    max-width: 42.5rem;
    margin: 0 auto;
    text-align: center;
}
.tracking-tab-panel .tracking-error-msg {
    text-align: left;
}
.tracking-help-row {
    text-align: left;
    margin-top: 0.25rem;
}
.tracking-help-btn {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #007AB7;
    cursor: pointer;
}
.tracking-help-btn:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.tracking-submit-wrap {
    margin-top: 1.5rem;
    text-align: center;
}
.tracking-submit-btn {
    min-width: 9.75rem;
    min-height: 3.25rem;
    font-size: 15px;
    letter-spacing: 0.035em;
}
.tracking-form-shell .tracking-field-wrap {
    text-align: left;
}

.heading-thin { font-weight: 300; color: #333; font-size: 2.2rem; }
.label-style { color: #333; font-size: 12px; font-weight: 700; margin-bottom: 4px; display: block; }
.input-box { border: 1px solid #757575; border-radius: 2px; padding: 12px; width: 100%; outline-color: #4D148C; }
.tracking-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.tracking-row .input-box.tracking-input {
    flex: 1;
    min-width: 0;
}
.clear-input-btn {
    position: static;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: none;
    opacity: 0.72;
    align-self: center;
}
.clear-input-btn.visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.clear-input-btn svg {
    width: 40px;
    height: 38px;
    display: block;
}
.tracking-error-msg {
    margin: 8px 0 0;
    color: #b00020;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}
.btn-track {
    background-color: #E6E6E6;
    border: 2px solid transparent;
    color: #757575;
    font-weight: 700;
    border-radius: 2px;
    outline: none;
    transition: 0.2s;
}
.btn-track.active {
    background-color: #FF6200;
    border-color: #FF6200;
    color: white;
    cursor: pointer;
}
.btn-track:focus,
.btn-track:focus-visible {
    outline: none;
    box-shadow: none;
}

@media (max-width: 640px) {
    .home-breadcrumbs,
    main.tracking-main {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    main.tracking-main {
        padding-top: 2rem !important;
        padding-bottom: 2.5rem !important;
    }
    .tracking-page-title {
        font-size: clamp(1.75rem, 9vw, 2.15rem);
        margin-bottom: 1.35rem;
    }
    .tracking-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-inline: -1rem;
        padding-inline: 1rem;
    }
    .tracking-tabs::-webkit-scrollbar {
        display: none;
    }
    .tracking-tab {
        flex: 0 0 auto;
        min-width: 9.5rem;
        min-height: 44px;
    }
    .tracking-row {
        gap: 4px;
    }
    .tracking-row .input-box.tracking-input {
        font-size: 16px;
    }
    .tracking-submit-btn {
        width: min(100%, 20rem);
        min-height: 44px;
    }
    .heading-thin {
        font-size: clamp(1.55rem, 7vw, 1.9rem);
        line-height: 1.25;
    }
}

/* Three-up marketing strip (Take control section) — white gutters between panels */
.delivery-showcase {
    width: 100%;
    max-width: 100%;
    background: #fff;
}
.delivery-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* Uniform vertical gutters like reference (clean white space, no touching edges) */
    column-gap: clamp(14px, 2.8vw, 28px);
    row-gap: clamp(24px, 4vw, 36px);
    border-radius: 0;
    overflow: visible;
    align-items: start;
}
.delivery-showcase-card {
    text-align: center;
}
.delivery-showcase-card-title {
    margin: 14px 0 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}
.delivery-showcase-card-text {
    margin: 10px 0 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #333;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}
.delivery-showcase-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.delivery-showcase-link:hover {
    color: #007AB7;
}
/* Match FedEx-style tile proportion (e.g. POD_MobileApp_727x463) */
.delivery-showcase-item {
    position: relative;
    width: 100%;
    min-height: 0;
    aspect-ratio: 727 / 463;
    background: #e8e8e8;
    border-radius: 2px;
    overflow: hidden;
}
.delivery-showcase-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 768px) {
    .delivery-showcase-grid {
        grid-template-columns: 1fr;
    }
}

/* Help & resources (below image cards)
   --------------------------------------------------------------------------
   Quick tuning (1:1 with reference = strong step up from line 1 → line 2):
   • First question  — .help-resources-lead-title     → change `font-size` clamp() max; wraps cleanly on phones
   • Second heading  — .help-resources-section-title   → change `font-size`
   • Space above 2nd block — .help-resources-more      → change `margin-top`
   -------------------------------------------------------------------------- */
.help-resources {
    margin-top: clamp(2.5rem, 6vw, 4rem);
    padding-top: clamp(2rem, 5vw, 3rem);
    border-top: 1px solid #e8e8e8;
    text-align: center;
}
/* Full width of `.tracking-main` so long question has room before wrapping. */
.help-resources-status {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding-inline: 0;
}
/* Line 1: fluid size on small viewports
   Font-weight: was 300 for a “thin” marketing look; Arial often has no real 300, so the
   browser may fake it or snap to 400 — use 400–600 here for predictable results. */
h2.help-resources-lead-title {
    margin: 0 0 1.125rem;
    font-size: clamp(1.5rem, 4.8vw, 2.4375rem);
    font-weight: 300;
    color: #333;
    line-height: 1.25;
    letter-spacing: -0.01em;
    white-space: normal;
    text-wrap: balance;
}
@media (max-width: 400px) {
    h2.help-resources-lead-title {
        font-size: 1.35rem;
    }
}
/* Pill: thin outline, compact caps — moderate gap from title above */
.help-resources-outline-btn {
    display: inline-block;
    padding: 0.5625rem 1.25rem;
    border: 1px solid #007ab7;
    border-radius: 9999px;
    background: transparent;
    color: #007ab7;
    font-size: 1.0875rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.25;
}
.help-resources-outline-btn:hover {
    background: rgba(0, 124, 140, 0.08);
}
/* Much larger gap than title→button so second heading feels like a new section */
.help-resources-more {
    margin-top: 3.375rem;
}
@media (min-width: 768px) {
    .help-resources-more {
        margin-top: 3.625rem;
    }
}
/* Line 2: “Need additional help?…” — clearly larger + lighter (FedEx-style hierarchy) */
.help-resources-section-title {
    margin: 0 auto 1.625rem;
    max-width: 38rem;
    font-size: clamp(1.5rem, 2.35vw, 1.875rem); /* ~24px → 30px — main knob for “bigger second line” */
    font-weight: 300;
    color: #333;
    line-height: 1.32;
    letter-spacing: -0.025em;
}
@media (max-width: 480px) {
    .help-resources-lead-title {
        font-size: 1.35rem;
    }
    .help-resources-section-title {
        font-size: 1.4375rem; /* 23px — still a clear jump over line 1 */
    }
    .help-resources-more {
        margin-top: 2.75rem;
    }
}
.help-resources-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.5rem);
    max-width: 900px;
    margin: 0 auto;
    align-items: stretch;
}
/* Each card: centered stack; same row height + margin-top:auto on CTA = links align */
.help-resources-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    padding: 0 0.75rem;
    text-align: center;
}
/* FAQ card: title full width; body line-height / width only (keep icon+title spacing same as left) */
.help-resources-card--faqs .help-resources-card-title {
    max-width: none;
    width: 100%;
}
.help-resources-card-text--faqs {
    max-width: 19.5rem;
    line-height: 1.55;
}
/* Icon size (incl. images/Purple_Customer_Service_Icon_Large_v2.svg) — change width/height here */
.help-resources-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}
.help-resources-card-icon svg,
.help-resources-card-icon-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
.help-resources-card-title {
    margin: 0 auto 0.625rem;
    max-width: 22rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: rgb(51, 51, 51);
    line-height: 1.35;
}
.help-resources-card-text {
    margin: 0 auto 1rem;
    max-width: 22rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #666;
    text-align: center;
    flex-shrink: 0;
}
.help-resources-card-cta {
    display: inline-block;
    margin-top: auto;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #007AB7;
    text-decoration: none;
}
.help-resources-card-cta:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}
@media (max-width: 640px) {
    .help-resources {
        margin-top: 2.5rem;
        padding-top: 2rem;
    }
    .help-resources-outline-btn {
        width: min(100%, 21rem);
        padding-inline: 1rem;
        font-size: 0.95rem;
    }
    .help-resources-grid {
        grid-template-columns: 1fr;
    }
    .help-resources-card {
        padding-inline: 0;
    }
}

.result-card { background: #fff; border: 1px solid #d8d8d8; border-radius: 2px; }
.delivered-result-card { overflow: hidden; }

.tracking-id-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 14px 20px 16px;
    border-bottom: 1px solid #e8e8e8;
    background: #fff;
}
.tracking-id-bar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
}
.tracking-id-label,
.tracking-id-value {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    letter-spacing: -0.02em;
}
.tracking-id-icon-btn {
    border: none;
    background: transparent;
    padding: 6px;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    line-height: 0;
}
.tracking-id-icon-btn:hover { background: #f0f0f0; }
.tracking-id-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.scan-time-wrap {
    position: relative;
    display: inline-block;
}
.scan-time-select {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #b0b0b0;
    border-radius: 2px;
    padding: 8px 30px 8px 10px;
    font-size: 13px;
    color: #333;
    background: #fff;
    min-width: 168px;
    cursor: pointer;
    font-family: inherit;
}
.scan-time-chevron {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 11px;
    color: #555;
    line-height: 1;
}

.delivery-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px 32px;
    padding: 22px 20px 26px;
    flex-wrap: wrap;
}
.delivery-status { display: flex; align-items: flex-start; gap: 12px; flex: 1 1 240px; min-width: 200px; }
.delivery-dot {
    width: 22px;
    height: 22px;
    border-radius: 9999px;
    background: #008A00;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    margin-top: 4px;
    flex-shrink: 0;
}
.delivery-status-text { text-align: left; }
.delivery-status-title {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 700;
    color: #333 !important;
    line-height: 1.15;
}

/* Keep status text black for every tracking state. */
.status-label,
.delivery-status-title.status-label,
.delivery-status-title.delivered-status,
.delivery-status-title.in-transit-status,
.delivery-status-title.label-created-status {
    color: #333 !important;
}
.delivery-status-time {
    margin: 0 0 8px;
    font-size: 15px;
    color: #333;
    line-height: 1.35;
}
.delivery-status-signed {
    margin: 0;
    font-size: 13px;
    color: #333;
    line-height: 1.35;
}

.delivery-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 200px;
}
.action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #007ab7;
    font-size: 13px;
    text-decoration: none;
    line-height: 1.35;
    padding: 2px 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}
.action-link:hover { text-decoration: underline; }
.action-link .action-link-icon { flex-shrink: 0; color: #007ab7; }
.details-toggle-btn.action-link { margin: 0; padding: 2px 0; }

.route-meta {
    min-width: 90px;
    font-size: 14px;
    color: #333;
    text-align: left;
    line-height: 1.4;
}
.route-line { margin: 0; }
.route-line-to { margin-top: 12px; }
.route-label { font-weight: 700; margin-right: 4px; }

.tracking-details-panel { padding: 0 20px 24px; }
.tracking-details-panel.hidden { display: none; }
.timeline-group { display: grid; grid-template-columns: 170px 80px 22px 1fr; gap: 0; padding: 22px 0; }
.timeline-group:nth-child(odd) { background: #f5f5f5; }
.timeline-date { font-size: 17px; color: #333; padding: 0 10px 0 18px; text-align: left; }
.timeline-events { grid-column: 2 / span 3; }
.timeline-event {
    display: grid;
    grid-template-columns: 80px 22px 1fr;
    align-items: start;
    margin-bottom: 16px;
    padding-bottom: 2px;
}
.timeline-event:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}
.timeline-time { font-size: 13px; color: #333; text-align: right; padding-right: 8px; line-height: 1.45; }
.timeline-marker {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 26px;
}
.timeline-marker::before {
    content: "";
    width: 2px;
    background: #b5b5b5;
    position: absolute;
    top: -18px;
    bottom: -18px;
}
.timeline-event:first-child .timeline-marker::before { top: 10px; }
.timeline-event:last-child .timeline-marker::before { bottom: 10px; }
.timeline-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: #333;
    margin-top: 4px;
    z-index: 1;
}
.timeline-dot.delivered {
    width: 14px;
    height: 14px;
    background: #fff;
    border: 2px solid #808080;
    position: relative;
}
.timeline-dot.delivered::after {
    content: "✓";
    position: absolute;
    top: -6px;
    left: 1px;
    font-size: 11px;
    color: #555;
}
.timeline-text { font-size: 16px; color: #222; text-align: left; line-height: 1.45; }
.timeline-note { font-size: 13px; color: #444; margin-top: 8px; line-height: 1.4; }
.facts-title {
    font-size: 36px;
    font-weight: 300;
    color: #222;
    margin: 24px 0 10px;
    text-align: left;
    letter-spacing: -0.01em;
}
.facts-section-title {
    font-size: 35px;
    font-weight: 300;
    color: #222;
    margin: 14px 0 8px;
    text-align: left;
    letter-spacing: -0.012em;
}
.facts-section-title-inner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.facts-section-icon {
    width: 30px;
    height: 30px;
    color: #4D148C;
    flex-shrink: 0;
    transform: translateY(1px);
}
.fact-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
    table-layout: fixed;
}
.fact-table tr:nth-child(odd) { background: #ececec; }
.fact-table td {
    padding: 7px 16px;
    font-size: 13px;
    text-align: left;
    line-height: 1.25;
    color: #333;
}
.fact-label {
    font-weight: 600;
    text-transform: uppercase;
    width: 33%;
    max-width: 42%;
    letter-spacing: 0.11em;
    color: #3f3f3f;
    vertical-align: top;
}
.fact-value {
    color: #3a3a3a;
    font-weight: 400;
    vertical-align: top;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Admin UI Styles */
#adminPanel { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 100; overflow-y: auto; color: white; }
.admin-card { background: #fff; color: #333; max-width: 960px; margin: 50px auto; padding: 20px; border-radius: 8px; }
.admin-create-tracking {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}
.admin-create-message {
    margin: -8px 0 14px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}
.admin-create-message--success {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #166534;
}
.admin-create-message--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.admin-action-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.admin-action-btn {
    min-width: 56px;
    text-align: center;
}
.timeline-editor {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    background: #fafafa;
}
.timeline-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.timeline-editor-add {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 2fr auto;
    gap: 8px;
    margin-bottom: 12px;
}
.timeline-editor-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 380px;
    overflow-y: auto;
}
.timeline-editor-group {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
}
.timeline-editor-date-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}
.timeline-editor-date-label {
    font-size: 11px;
    font-weight: 700;
    color: #374151;
    flex-shrink: 0;
}
.timeline-editor-date-input {
    min-width: 10rem;
    flex: 1 1 140px;
}
.timeline-save-date-btn {
    border: none;
    border-radius: 4px;
    background: #4b5563;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    cursor: pointer;
    flex-shrink: 0;
}
.timeline-save-date-btn:hover {
    filter: brightness(1.06);
}
.timeline-editor-date {
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #374151;
}
.timeline-editor-row {
    display: grid;
    grid-template-columns: 110px 1.5fr 1.5fr auto auto;
    gap: 8px;
    margin-bottom: 8px;
}
.timeline-editor-row:last-child {
    margin-bottom: 0;
}
.facts-editor {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    background: #fafafa;
}
.facts-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.facts-editor-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.facts-editor-section {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
}
.facts-editor-section-title {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
}
.facts-editor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.facts-editor-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #374151;
}
.facts-editor-field input {
    font-weight: 400;
    color: #333;
}
.facts-editor-message {
    margin: 12px 0 0;
    padding: 9px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}
.facts-editor-message--success {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #166534;
}
.facts-editor-message--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.facts-editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

/* Standalone tracking result page */
.result-page-body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    margin: 0;
}
/* Result page uses same header as home (.home-track-header); keep bar from shrinking in flex layout */
.result-page-body > .home-track-header {
    flex-shrink: 0;
}
.result-page-main { flex: 1 0 auto; }
.result-page-shell { box-sizing: border-box; }
.result-page-separator {
    margin: 2.5rem 0;
    border: 0;
    border-top: 1px solid #e5e7eb;
}
.result-page-empty { padding: 2rem 0; text-align: center; }

.result-site-footer {
    background: #f5f5f5;
    color: #333;
    flex-shrink: 0;
    border-top: 1px solid #e0e0e0;
}
.result-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 32px;
}
@media (max-width: 900px) {
    .result-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .result-footer-grid { grid-template-columns: 1fr; }
}
.result-footer-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 12px;
    color: #333;
}
.result-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.7;
}
.result-footer-list a {
    color: #333;
    text-decoration: none;
}
.result-footer-list a:hover { text-decoration: underline; }
.result-footer-lang { margin: 0; font-size: 13px; }
.result-footer-follow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 10px;
    color: #333;
}
.result-social-icons { display: flex; flex-wrap: wrap; gap: 10px; }
.result-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: #4D148C;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.result-social-btn:hover { filter: brightness(1.08); }

.result-legal-bar { flex-shrink: 0; }
.result-legal-links a {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}
.result-legal-links a:hover { text-decoration: underline; }

.result-ask-Afadu { z-index: 40; }

@media (max-width: 640px) {
    .tracking-id-bar,
    .delivery-summary,
    .tracking-details-panel {
        padding-left: 14px;
        padding-right: 14px;
    }
    .tracking-id-bar {
        align-items: flex-start;
    }
    .tracking-id-bar-left,
    .tracking-id-bar-right,
    .scan-time-wrap,
    .scan-time-select {
        width: 100%;
    }
    .tracking-id-label,
    .tracking-id-value {
        font-size: clamp(1.05rem, 5.4vw, 1.35rem);
        overflow-wrap: anywhere;
    }
    .tracking-id-icon-btn {
        min-width: 40px;
        min-height: 40px;
    }
    .scan-time-select {
        min-width: 0;
        min-height: 42px;
        font-size: 16px;
    }
    .delivery-summary {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .delivery-status,
    .delivery-actions,
    .route-meta {
        min-width: 0;
        width: 100%;
    }
    .delivery-status-title {
        font-size: clamp(1.35rem, 7vw, 1.75rem);
    }
    .action-link {
        min-height: 36px;
    }
    .route-line-to {
        margin-top: 6px;
    }
    .clear-input-btn svg {
        width: 30px;
        height: 30px;
    }
    .timeline-group {
        display: block;
        padding: 18px 0;
    }
    .timeline-date {
        padding: 0 12px 10px;
        font-size: 15px;
        font-weight: 700;
    }
    .timeline-event {
        grid-template-columns: 68px 18px 1fr;
        padding: 0 8px 0 4px;
        margin-bottom: 14px;
    }
    .timeline-event:last-child {
        margin-bottom: 0;
    }
    .timeline-time {
        font-size: 12px;
    }
    .timeline-text {
        font-size: 14px;
        overflow-wrap: anywhere;
    }
    .timeline-note {
        overflow-wrap: anywhere;
    }
    .facts-title,
    .facts-section-title {
        font-size: clamp(1.55rem, 8vw, 2rem);
        line-height: 1.18;
    }
    .facts-section-title-inner {
        align-items: flex-start;
    }
    .facts-section-icon {
        width: 24px;
        height: 24px;
    }
    .fact-table td {
        padding: 8px 10px;
        font-size: 12px;
    }
    .fact-label {
        width: 40%;
        max-width: none;
    }
    .result-footer-social {
        padding-bottom: 5rem !important;
    }
    .result-social-icons {
        justify-content: flex-start;
    }
    .result-legal-links {
        row-gap: 0.35rem;
    }
    .result-ask-Afadu {
        right: max(0.75rem, env(safe-area-inset-right));
        bottom: max(0.75rem, env(safe-area-inset-bottom));
        padding: 0.6rem 0.8rem !important;
    }
    .timeline-editor-add {
        grid-template-columns: 1fr;
    }
    .admin-create-tracking {
        grid-template-columns: 1fr;
    }
    .timeline-editor-row {
        grid-template-columns: 1fr;
    }
    .facts-editor-grid {
        grid-template-columns: 1fr;
    }
    .facts-editor-actions {
        justify-content: stretch;
    }
    .facts-editor-actions button {
        flex: 1;
    }
}
