/* Public website styles. Values follow design-system/design-tokens.json. */

:root {
    --site-blue: var(--color-primary, #2563EB);
    --site-blue-hover: var(--color-primary-hover, #1D4ED8);
    --site-lime: var(--color-accent, #B8E45A);
    --site-paper: var(--color-background, #F5F4EF);
    --site-white: var(--color-surface, #FFFFFF);
    --site-raised: var(--color-surface-elevated, #FBFCFA);
    --site-border: var(--color-border, #D9E0DC);
    --site-ink: var(--color-text-primary, #142B38);
    --site-muted: var(--color-text-secondary, #52636D);
    --site-info: var(--color-info, #1D6685);
    --site-success: var(--color-success, #21845A);
    --site-warning: var(--color-warning, #A96212);
    --site-error: var(--color-error, #B33F3F);
    --site-display: var(--font-display, 'Space Grotesk', 'Segoe UI', system-ui, sans-serif);
    --site-body: var(--font-body, 'DM Sans', 'Segoe UI', system-ui, sans-serif);
    --site-mono: var(--font-mono, 'IBM Plex Mono', Consolas, monospace);
    --site-radius-sm: .5rem;
    --site-radius-md: .875rem;
    --site-radius-lg: 1.25rem;
    --site-radius-xl: 1.75rem;
    --site-shadow-card: 0 2px 8px rgba(20, 43, 56, .06);
    --site-shadow-float: 0 24px 60px rgba(20, 43, 56, .14);
}

html { scroll-padding-top: 92px; }
body { color: var(--site-ink); font-family: var(--site-body); -webkit-font-smoothing: antialiased; }
body.landing-page { background: var(--site-paper); overflow-x: hidden; }
body.tracking-page { min-height: 100vh; background: var(--site-paper); display: flex; flex-direction: column; }
a { color: inherit; }
.page-container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

/* Shared navigation and actions */
.site-header { position: sticky; inset-block-start: 0; z-index: 30; background: rgba(251, 252, 250, .92); border-bottom: 1px solid rgba(217, 224, 220, .84); backdrop-filter: blur(14px); }
.site-nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; color: var(--site-ink); font: 700 1rem/1 var(--site-display); letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.brand-mark { position: relative; display: grid; width: 38px; height: 38px; place-items: center; overflow: hidden; border-radius: 13px; background: var(--site-blue); box-shadow: 0 7px 16px rgba(37, 99, 235, .2); }
.brand-mark::before, .brand-mark::after, .brand-mark span { position: absolute; display: block; content: ""; border-radius: 2px; background: white; }
.brand-mark::before { width: 18px; height: 3px; transform: rotate(-45deg); }
.brand-mark::after { width: 3px; height: 18px; transform: rotate(-45deg); }
.brand-mark span { width: 6px; height: 6px; background: var(--site-lime); border-radius: 50%; transform: translate(6px, -6px); }
.nav-links, .nav-actions { display: flex; align-items: center; }
.nav-links { gap: clamp(18px, 2.6vw, 34px); margin-left: auto; }
.nav-links a { color: var(--site-muted); font-size: .88rem; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.nav-links a:hover, .site-footer a:hover { color: var(--site-blue); }
.nav-actions { gap: 9px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font: 600 .94rem/1.2 var(--site-body); text-align: center; text-decoration: none; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .text-link:focus-visible, .site-header a:focus-visible { outline: 3px solid rgba(37, 99, 235, .32); outline-offset: 3px; }
.button-primary { color: #fff; background: var(--site-blue); box-shadow: 0 7px 16px rgba(37, 99, 235, .17); }
.button-primary:hover { color: #fff; background: var(--site-blue-hover); box-shadow: 0 10px 22px rgba(37, 99, 235, .22); }
.button-secondary { color: var(--site-ink); background: var(--site-white); border-color: var(--site-border); }
.button-secondary:hover, .button-quiet:hover { border-color: #b9c8c3; background: var(--site-raised); }
.button-quiet { min-height: 42px; padding-inline: 16px; color: var(--site-ink); background: transparent; border-color: transparent; }
.button-small { min-height: 42px; padding-inline: 17px; font-size: .85rem; }
.button-lime { color: var(--site-ink); background: var(--site-lime); }
.button-lime:hover { background: #c7ed78; }
.section-kicker { display: inline-block; color: var(--site-info); font: 600 .7rem/1.4 var(--site-mono); letter-spacing: .12em; text-transform: uppercase; }

/* Landing page */
.landing-hero { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 108px) 0 clamp(68px, 8vw, 100px); background: radial-gradient(ellipse at 76% 13%, rgba(184, 228, 90, .15), transparent 31%), linear-gradient(180deg, #fbfcfa 0%, var(--site-paper) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(400px, .98fr); align-items: center; gap: clamp(32px, 6vw, 82px); }
.hero-copy { position: relative; z-index: 2; max-width: 630px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 21px; color: var(--site-info); font: 600 .72rem/1.4 var(--site-mono); letter-spacing: .08em; text-transform: uppercase; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--site-lime); box-shadow: 0 0 0 4px rgba(184, 228, 90, .22); }
.hero-copy h1 { margin: 0; color: var(--site-ink); font: 700 clamp(3.4rem, 6.1vw, 5.9rem)/.99 var(--site-display); letter-spacing: -.075em; }
.hero-copy h1 span { color: var(--site-blue); }
.hero-lead { max-width: 535px; margin: 24px 0 0; color: var(--site-muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hero-actions .button { min-height: 52px; }
.hero-footnote { display: flex; max-width: 470px; align-items: flex-start; gap: 10px; margin-top: 23px; color: var(--site-muted); font-size: .82rem; line-height: 1.55; }
.footnote-icon { flex: 0 0 18px; display: grid; width: 18px; height: 18px; place-items: center; border: 1px solid #b5c7c2; border-radius: 50%; color: var(--site-info); font: 600 .7rem/1 var(--site-mono); }
.hero-visual { position: relative; display: grid; min-height: 440px; place-items: center; isolation: isolate; }
.hero-visual::before { position: absolute; z-index: -2; width: min(100%, 470px); aspect-ratio: 1; border: 1px solid rgba(37, 99, 235, .14); border-radius: 50%; background: radial-gradient(circle, rgba(37, 99, 235, .08), rgba(37, 99, 235, .025) 43%, transparent 70%); content: ""; }
.visual-orbit { position: absolute; z-index: -1; width: 84%; height: 61%; border: 1px dashed rgba(29, 102, 133, .2); border-radius: 50%; transform: rotate(-28deg); }
.visual-orbit-two { width: 72%; height: 85%; border-color: rgba(184, 228, 90, .54); transform: rotate(43deg); }
.visual-spark { position: absolute; width: 12px; height: 12px; border: 3px solid var(--site-blue); border-radius: 50%; background: var(--site-paper); }
.visual-spark-one { inset: 22% 11% auto auto; }
.visual-spark-two { inset: auto auto 19% 13%; width: 9px; height: 9px; border-color: #86a52e; }
.visual-device { position: relative; width: min(78%, 365px); filter: drop-shadow(0 22px 22px rgba(20, 43, 56, .16)); transform: rotate(-5deg); }
.device-screen { position: relative; aspect-ratio: 1.26; padding: 14px 14px 0; border: 8px solid #223e4c; border-bottom: 0; border-radius: 21px 21px 5px 5px; background: #142b38; }
.device-camera { position: absolute; z-index: 2; top: 5px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: #6d8791; transform: translateX(-50%); }
.device-screen-content { display: flex; height: 100%; flex-direction: column; padding: 25px 23px 14px; overflow: hidden; border-radius: 8px 8px 0 0; background: #f9fbf7; }
.device-kicker { color: var(--site-info); font: 500 .53rem/1.4 var(--site-mono); letter-spacing: .08em; }
.device-line { display: block; height: 10px; margin-top: 15px; border-radius: 99px; background: #dce6e1; }
.device-line-long { width: 78%; height: 15px; margin-top: 23px; background: #233f4c; }
.device-line-short { width: 52%; margin-top: 8px; }
.device-progress { display: flex; align-items: center; gap: 0; margin-top: 27px; }
.device-progress i { position: relative; width: 19px; height: 19px; border: 4px solid #dce8e8; border-radius: 50%; background: #fff; }
.device-progress i:not(:last-child)::after { position: absolute; inset: 4px auto auto 11px; width: 43px; height: 2px; background: #cddad4; content: ""; }
.device-progress i:first-child, .device-progress i:nth-child(2) { border-color: var(--site-blue); background: var(--site-blue); }
.device-progress i:first-child::after, .device-progress i:nth-child(2)::after { background: var(--site-blue); }
.device-progress i:nth-child(3) { border-color: var(--site-lime); }
.device-screen-caption { margin-top: 14px; color: var(--site-muted); font-size: .7rem; }
.device-base { position: relative; width: 114%; height: 13px; margin-left: -7%; border-radius: 0 0 60% 60%; background: linear-gradient(180deg, #8fa1a1, #526a72); }
.device-base::after { position: absolute; inset: 0 auto auto 42%; width: 16%; height: 5px; border-radius: 0 0 7px 7px; background: #b9c6c3; content: ""; }
.visual-note { position: absolute; display: flex; min-height: 48px; align-items: center; gap: 10px; padding: 0 15px; border: 1px solid rgba(217, 224, 220, .9); border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: var(--site-shadow-card); color: var(--site-ink); font-size: .76rem; font-weight: 600; }
.visual-note-top { top: 17%; right: 1%; }
.visual-note-bottom { bottom: 19%; left: 0; }
.note-check { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: #e8f4e9; color: var(--site-success); font-size: .75rem; }
.note-signal { width: 8px; height: 8px; border-radius: 50%; background: var(--site-lime); box-shadow: 0 0 0 4px rgba(184, 228, 90, .2); }
.visual-caption { position: absolute; right: 9px; bottom: 8px; color: #75858a; font: 500 .57rem/1.3 var(--site-mono); letter-spacing: .1em; }

.tracking-section { position: relative; z-index: 3; padding: 0 0 22px; }
.tracking-layout { display: grid; grid-template-columns: minmax(245px, .7fr) minmax(0, 1.3fr); align-items: center; gap: 36px; padding: 34px 40px 28px; border: 1px solid var(--site-border); border-radius: var(--site-radius-xl); background: var(--site-white); box-shadow: var(--site-shadow-float); }
.tracking-intro h2, .section-heading h2, .contact-copy h2 { margin: 8px 0 9px; color: var(--site-ink); font: 700 clamp(1.55rem, 2.5vw, 2rem)/1.14 var(--site-display); letter-spacing: -.055em; }
.tracking-intro p, .section-heading p, .contact-copy > p { margin: 0; color: var(--site-muted); font-size: .91rem; line-height: 1.65; }
.tracking-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.field-group { min-width: 0; }
.field-group label { display: block; margin: 0 0 7px; color: var(--site-ink); font-size: .78rem; font-weight: 600; }
.field-group input { display: block; width: 100%; min-height: 49px; padding: 0 14px; border: 1px solid var(--site-border); border-radius: var(--site-radius-md); outline: none; background: var(--site-white); color: var(--site-ink); font: 400 .87rem var(--site-body); transition: border-color .18s ease, box-shadow .18s ease; }
.field-group input::placeholder { color: #839196; }
.field-group input:focus { border-color: var(--site-blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .13); }
.tracking-submit { min-height: 49px; padding-inline: 19px; }
.field-help { grid-column: 1 / -1; margin: -3px 0 0; color: var(--site-muted); font-size: .73rem; }
.proof-strip { display: flex; align-items: center; gap: 32px; padding: 30px 4px 54px; }
.proof-strip > div { display: flex; align-items: baseline; gap: 10px; }
.proof-strip strong { color: var(--site-ink); font: 700 1.7rem/1 var(--site-display); letter-spacing: -.06em; }
.proof-strip span, .proof-strip p { color: var(--site-muted); font-size: .78rem; }
.proof-strip > i { width: 1px; height: 33px; background: var(--site-border); }
.proof-strip p { margin: 0 0 0 auto; text-align: right; }

.section-block { padding: 64px 0 78px; }
.section-heading { max-width: 625px; margin-bottom: 32px; }
.section-heading h2 { margin-top: 9px; font-size: clamp(2rem, 3.6vw, 2.85rem); }
.section-heading p { max-width: 580px; font-size: .98rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.service-card { min-height: 202px; padding: 22px; border: 1px solid var(--site-border); border-radius: var(--site-radius-lg); background: var(--site-white); box-shadow: var(--site-shadow-card); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-3px); border-color: #b8c8c2; box-shadow: 0 14px 28px rgba(20, 43, 56, .09); }
.service-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: #eaf0fe; color: var(--site-blue); font-size: 1rem; }
.service-category { max-width: 65%; padding: 5px 9px; overflow: hidden; border-radius: 999px; background: #f0f4f2; color: var(--site-muted); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.service-card h3 { margin: 19px 0 4px; color: var(--site-ink); font: 600 1.03rem/1.3 var(--site-display); letter-spacing: -.025em; }
.service-card p { margin: 0; color: var(--site-muted); font-size: .75rem; }
.service-price { margin-top: 3px; color: var(--site-blue); font: 600 1.17rem/1.35 var(--site-mono); }
.empty-card { padding: 24px; border: 1px dashed #b6c5bf; border-radius: var(--site-radius-lg); background: rgba(255, 255, 255, .58); color: var(--site-muted); }
.service-disclaimer { margin: 16px 0 0; color: var(--site-muted); font-size: .75rem; }
.process-section { background: #fbfcfa; border-block: 1px solid var(--site-border); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--site-border); border-radius: var(--site-radius-lg); background: var(--site-white); overflow: hidden; }
.process-card { display: flex; gap: 15px; min-height: 150px; padding: 24px 20px; border-right: 1px solid var(--site-border); }
.process-card:last-child { border-right: 0; }
.process-number { color: var(--site-blue); font: 500 .72rem/1.4 var(--site-mono); }
.process-card h3 { margin: 0 0 8px; color: var(--site-ink); font: 600 .99rem/1.3 var(--site-display); letter-spacing: -.025em; }
.process-card p { margin: 0; color: var(--site-muted); font-size: .78rem; line-height: 1.6; }

.contact-section { padding: 70px 0 84px; }
.contact-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); overflow: hidden; border: 1px solid var(--site-border); border-radius: var(--site-radius-xl); background: var(--site-white); box-shadow: var(--site-shadow-card); }
.contact-copy { padding: clamp(28px, 5vw, 52px); }
.contact-copy h2 { margin-top: 11px; font-size: clamp(1.8rem, 3vw, 2.55rem); }
.contact-copy > p { max-width: 500px; }
.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 25px; margin-top: 28px; }
.contact-detail { display: flex; align-items: flex-start; gap: 11px; min-width: 0; }
.detail-mark { display: grid; flex: 0 0 31px; width: 31px; height: 31px; place-items: center; border-radius: 10px; background: #f0f4f2; color: var(--site-info); font: 600 .85rem var(--site-mono); }
.contact-detail div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.contact-detail span:not(.detail-mark) { color: var(--site-muted); font-size: .7rem; }
.contact-detail strong { overflow-wrap: anywhere; color: var(--site-ink); font-size: .82rem; font-weight: 600; line-height: 1.55; }
.contact-empty { color: var(--site-muted); font-size: .84rem; }
.contact-action { position: relative; display: flex; min-height: 365px; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(30px, 5vw, 55px); overflow: hidden; background: var(--site-ink); color: #fff; }
.contact-action::before { position: absolute; top: -90px; right: -90px; width: 260px; height: 260px; border: 1px solid rgba(184, 228, 90, .25); border-radius: 50%; box-shadow: 0 0 0 28px rgba(184, 228, 90, .035), 0 0 0 58px rgba(184, 228, 90, .025); content: ""; }
.contact-orbit { position: relative; z-index: 1; display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 20px; border: 1px solid rgba(184, 228, 90, .3); border-radius: 15px; color: var(--site-lime); font-size: 1.45rem; }
.contact-action-label { position: relative; z-index: 1; color: var(--site-lime); font: 500 .67rem var(--site-mono); letter-spacing: .12em; }
.contact-action h3 { position: relative; z-index: 1; max-width: 340px; margin: 12px 0 9px; font: 600 clamp(1.5rem, 2.6vw, 2rem)/1.13 var(--site-display); letter-spacing: -.05em; }
.contact-action p { position: relative; z-index: 1; max-width: 330px; margin: 0 0 25px; color: #c0ccce; font-size: .89rem; line-height: 1.6; }
.contact-unavailable { color: #c0ccce; font-size: .84rem; }
.site-footer { padding: 21px 0; border-top: 1px solid var(--site-border); background: var(--site-raised); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--site-muted); font-size: .75rem; }
.footer-inner a { color: var(--site-muted); text-decoration: none; transition: color .2s ease; }
.brand-lockup-footer { color: var(--site-ink) !important; font-size: .85rem; }
.brand-lockup-footer .brand-mark { width: 29px; height: 29px; border-radius: 10px; }
.brand-lockup-footer .brand-mark::before { width: 14px; height: 2px; }
.brand-lockup-footer .brand-mark::after { width: 2px; height: 14px; }
.brand-lockup-footer .brand-mark span { width: 5px; height: 5px; }

/* Customer tracking page */
.tracking-main { flex: 1; max-width: 1050px; padding-top: 52px; padding-bottom: 68px; }
.tracking-page-heading { max-width: 690px; margin-bottom: 25px; }
.tracking-page-heading h1 { margin: 9px 0 10px; color: var(--site-ink); font: 700 clamp(2.25rem, 5vw, 3.7rem)/1.02 var(--site-display); letter-spacing: -.065em; }
.tracking-page-heading p { max-width: 600px; margin: 0; color: var(--site-muted); font-size: 1rem; line-height: 1.65; }
.lookup-card, .result-card { border: 1px solid var(--site-border); border-radius: var(--site-radius-lg); background: var(--site-white); box-shadow: var(--site-shadow-card); }
.lookup-card { padding: 25px 27px 19px; }
.lookup-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 21px; }
.lookup-icon { display: grid; flex: 0 0 43px; width: 43px; height: 43px; place-items: center; border-radius: 14px; background: #e9efff; color: var(--site-blue); font: 500 1.7rem/1 var(--site-display); }
.lookup-heading h2 { margin: 0 0 4px; color: var(--site-ink); font: 600 1.15rem/1.25 var(--site-display); letter-spacing: -.035em; }
.lookup-heading p { margin: 0; color: var(--site-muted); font-size: .82rem; }
.lookup-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.lookup-submit { min-height: 49px; }
.lookup-help { margin: 12px 0 0; color: var(--site-muted); font-size: .73rem; }
.tracking-alert { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 19px; padding: 14px 16px; border: 1px solid #e9c8c1; border-radius: var(--site-radius-md); background: #fff5f2; color: #783f38; }
.alert-mark { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #f8e2dd; color: var(--site-error); font: 700 .8rem var(--site-mono); }
.tracking-alert strong { font-size: .83rem; }
.tracking-alert p { margin: 2px 0 0; color: #805752; font-size: .8rem; line-height: 1.5; }
.tracking-empty-state { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-top: 20px; padding: 24px 27px; border: 1px solid var(--site-border); border-radius: var(--site-radius-lg); background: rgba(255, 255, 255, .65); }
.empty-state-mark { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--site-border); border-radius: 14px; color: var(--site-info); font: 500 1.65rem var(--site-display); }
.tracking-empty-state h2 { margin: 0 0 5px; color: var(--site-ink); font: 600 1.05rem var(--site-display); letter-spacing: -.03em; }
.tracking-empty-state p { max-width: 560px; margin: 0; color: var(--site-muted); font-size: .81rem; line-height: 1.55; }
.text-link { color: var(--site-blue); font-size: .79rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.text-link:hover { color: var(--site-blue-hover); }
.ticket-overview { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 39px 0 17px; }
.ticket-overview-copy h2 { margin: 5px 0 0; color: var(--site-ink); font: 600 1.45rem var(--site-display); letter-spacing: -.045em; }
.overview-id { color: var(--site-info); font: 500 .8rem var(--site-mono); }
.tracking-results { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .85fr); align-items: start; gap: 18px; }
.tracking-primary-column, .tracking-aside { display: grid; gap: 18px; min-width: 0; }
.ticket-status-card { overflow: hidden; }
.ticket-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 23px 25px; border-bottom: 1px solid var(--site-border); background: linear-gradient(180deg, #fff, #fbfcfa); }
.data-label { display: block; color: var(--site-muted); font: 500 .62rem/1.45 var(--site-mono); letter-spacing: .1em; }
.ticket-number { margin: 6px 0 0; color: var(--site-blue); font: 500 clamp(1.15rem, 2vw, 1.5rem)/1.3 var(--site-mono); letter-spacing: -.03em; overflow-wrap: anywhere; }
.ticket-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.tracking-page .badge { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; font-size: .69rem; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.tracking-page .badge-success { border: 1px solid #bfdfca; background: #e7f3e9; color: #266346; }
.tracking-page .badge-warning { border: 1px solid #ead2a8; background: #faf1df; color: #80521c; }
.tracking-page .badge-danger { border: 1px solid #ecc7c2; background: #fbebea; color: #8e3f38; }
.tracking-page .badge-info { border: 1px solid #c6dce4; background: #eaf3f6; color: #265f76; }
.tracking-page .badge-normal { border: 1px solid var(--site-border); background: #f2f5f3; color: var(--site-muted); }
.tracking-page .badge-express { border: 1px solid #f2d49b; background: #fff4dc; color: #83540d; }
.progress-section { padding: 20px 24px 22px; border-bottom: 1px solid var(--site-border); }
.progress-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 21px; }
.progress-title-row h3 { margin: 0; color: var(--site-ink); font: 600 .91rem var(--site-display); }
.progress-title-row > span { color: var(--site-blue); font-size: .75rem; font-weight: 600; }
.progress-track { display: flex; margin: 0; padding: 0; list-style: none; }
.progress-step { position: relative; display: grid; flex: 1 0 58px; justify-items: center; gap: 8px; min-width: 0; }
.progress-step:not(:first-child)::before { position: absolute; z-index: 0; top: 13px; right: 50%; width: 100%; height: 2px; background: #e3e9e6; content: ""; }
.progress-marker { position: relative; z-index: 1; display: grid; width: 28px; height: 28px; place-items: center; border: 2px solid #dce5e0; border-radius: 50%; background: #fff; color: #78878b; font: 500 .63rem var(--site-mono); }
.progress-label { max-width: 83px; color: #7a898d; font-size: .62rem; line-height: 1.3; text-align: center; }
.progress-step.is-current .progress-marker { border-color: var(--site-blue); background: var(--site-blue); color: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.progress-step.is-current .progress-label { color: var(--site-blue); font-weight: 700; }
.progress-step.is-complete .progress-marker { border-color: var(--site-success); background: var(--site-success); color: #fff; }
.progress-step.is-complete::before { background: #8fc6a5; }
.progress-step.is-complete .progress-label { color: var(--site-success); }
.cancelled-state { display: flex; align-items: flex-start; gap: 12px; margin: 20px 24px; padding: 15px; border: 1px solid #ecc7c2; border-radius: var(--site-radius-md); background: #fbefed; }
.cancelled-mark { display: grid; flex: 0 0 24px; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #f5d9d5; color: var(--site-error); font: 700 .75rem var(--site-mono); }
.cancelled-state strong { color: #843d36; font-size: .85rem; }
.cancelled-state p { margin: 3px 0 0; color: #805752; font-size: .76rem; line-height: 1.5; }
.device-summary { display: flex; align-items: center; gap: 14px; margin: 20px 24px 0; padding: 15px; border: 1px solid #e8ece9; border-radius: var(--site-radius-md); background: var(--site-raised); }
.device-summary-icon { display: grid; flex: 0 0 43px; width: 43px; height: 43px; place-items: center; border-radius: 13px; background: #e9efff; color: var(--site-blue); font: 500 1.5rem var(--site-display); }
.device-summary-copy, .estimate-summary { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.device-summary-copy { flex: 1; }
.device-summary-copy strong, .estimate-summary strong { color: var(--site-ink); font-size: .86rem; font-weight: 600; line-height: 1.4; }
.device-summary-copy > span:last-child { color: var(--site-muted); font-size: .74rem; }
.summary-separator { padding-inline: 3px; }
.estimate-summary { flex: 0 0 auto; max-width: 165px; text-align: right; }
.ticket-detail-block { margin: 23px 24px; }
.ticket-detail-block h3, .aside-subheading { margin: 0 0 9px; color: var(--site-ink); font: 600 .87rem var(--site-display); letter-spacing: -.01em; }
.detail-text { padding: 13px 15px; border-left: 3px solid var(--site-blue); border-radius: 0 var(--site-radius-sm) var(--site-radius-sm) 0; background: #f4f7f5; color: var(--site-ink); font-size: .82rem; line-height: 1.65; overflow-wrap: anywhere; }
.technician-note { margin: 0 24px 23px; padding: 16px; border: 1px solid #c9dfd1; border-radius: var(--site-radius-md); background: #f2f8f3; }
.technician-note-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; color: #286246; font-size: .82rem; }
.technician-note-heading span { color: var(--site-success); }
.technician-note-row + .technician-note-row { margin-top: 10px; padding-top: 10px; border-top: 1px solid #dcebe0; }
.technician-note-row > span { display: block; margin-bottom: 3px; color: #577364; font-size: .69rem; font-weight: 600; }
.technician-note-row p { margin: 0; color: var(--site-ink); font-size: .78rem; line-height: 1.6; overflow-wrap: anywhere; }
.history-card { padding: 22px 24px 10px; }
.result-card-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.result-card-heading h2, .payment-card h2 { margin: 5px 0 0; color: var(--site-ink); font: 600 1.22rem/1.2 var(--site-display); letter-spacing: -.04em; }
.history-count { padding: 5px 9px; border-radius: 999px; background: #f1f5f3; color: var(--site-muted); font-size: .68rem; white-space: nowrap; }
.history-list { margin: 0; padding: 0; list-style: none; }
.history-item { position: relative; display: flex; gap: 13px; min-height: 58px; padding: 0 0 17px; }
.history-item:not(:last-child)::before { position: absolute; top: 13px; bottom: 0; left: 5px; width: 1px; background: #dfe7e2; content: ""; }
.history-dot { position: relative; z-index: 1; flex: 0 0 11px; width: 11px; height: 11px; margin-top: 4px; border: 2px solid #b4c4bd; border-radius: 50%; background: #fff; }
.history-item-latest .history-dot { border-color: var(--site-blue); background: var(--site-blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.history-entry { flex: 1; min-width: 0; }
.history-entry-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.history-entry-top strong { color: var(--site-ink); font-size: .79rem; font-weight: 600; }
.history-entry-top time { color: var(--site-muted); font-size: .68rem; text-align: right; }
.payment-card { padding: 22px; }
.payment-card h2 { margin-bottom: 20px; }
.payment-total { display: flex; flex-direction: column; gap: 7px; padding: 17px; border-radius: var(--site-radius-md); background: var(--site-ink); color: #fff; }
.payment-total span { color: #bdc9cc; font-size: .73rem; }
.payment-total strong { color: #fff; font: 600 1.4rem/1.2 var(--site-mono); letter-spacing: -.04em; overflow-wrap: anywhere; }
.payment-status-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #edf0ed; color: var(--site-muted); font-size: .75rem; }
.payment-status-row > strong { color: var(--site-ink); font-size: .77rem; font-weight: 600; text-align: right; }
.payment-balance { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 12px 13px; border: 1px solid #ead6b5; border-radius: var(--site-radius-sm); background: #fbf5e9; color: #7d581f; font-size: .73rem; }
.payment-balance strong { color: #80521c; font: 600 .87rem var(--site-mono); text-align: right; }
.aside-divider { height: 1px; margin: 18px 0; background: var(--site-border); }
.aside-subheading { margin-bottom: 10px; }
.item-list, .payment-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.item-list li, .payment-list li { display: flex; align-items: flex-start; justify-content: space-between; gap: 11px; }
.item-list li > span, .payment-list li > span { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.item-list li strong, .payment-list li > strong { color: var(--site-ink); font-size: .73rem; font-weight: 600; text-align: right; }
.item-list li > span strong, .payment-list li > span strong { overflow-wrap: anywhere; text-align: left; }
.item-list small, .payment-list small { color: var(--site-muted); font-size: .64rem; line-height: 1.5; }
.mono-value { font-family: var(--site-mono); font-size: .68rem !important; }
.no-payment-note { margin: 0; color: var(--site-muted); font-size: .74rem; line-height: 1.5; }
.help-card { position: relative; padding: 21px; overflow: hidden; border-radius: var(--site-radius-lg); background: #173744; color: #fff; }
.help-card::after { position: absolute; top: -42px; right: -38px; width: 120px; height: 120px; border: 1px solid rgba(184, 228, 90, .23); border-radius: 50%; box-shadow: 0 0 0 17px rgba(184, 228, 90, .04); content: ""; }
.help-card-mark { position: relative; z-index: 1; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: rgba(184, 228, 90, .14); color: var(--site-lime); }
.help-card h2 { position: relative; z-index: 1; margin: 14px 0 5px; color: #fff; font: 600 1.14rem var(--site-display); letter-spacing: -.035em; }
.help-card p { position: relative; z-index: 1; margin: 0 0 17px; color: #c4d0d1; font-size: .77rem; line-height: 1.55; }
.help-button { position: relative; z-index: 1; width: 100%; min-height: 43px; padding-inline: 13px; font-size: .76rem; }
.tracking-footer { margin-top: auto; }

@media (max-width: 1000px) {
    .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr); gap: 25px; }
    .hero-copy h1 { font-size: clamp(3.15rem, 7vw, 5.2rem); }
    .visual-note-top { right: -1%; }
    .visual-note-bottom { left: -2%; }
    .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process-card:nth-child(2) { border-right: 0; }
    .process-card:nth-child(-n+2) { border-bottom: 1px solid var(--site-border); }
    .tracking-results { grid-template-columns: minmax(0, 1.3fr) minmax(270px, .8fr); }
}

@media (max-width: 760px) {
    .page-container { width: min(100% - 36px, 600px); }
    .site-nav { min-height: 68px; gap: 12px; }
    .nav-links { display: none; }
    .nav-actions { margin-left: auto; gap: 4px; }
    .nav-actions .button-small { min-height: 38px; padding-inline: 11px; font-size: .76rem; }
    .brand-lockup { gap: 8px; font-size: .91rem; }
    .brand-mark { width: 34px; height: 34px; border-radius: 11px; }
    .landing-hero { padding-top: 54px; padding-bottom: 35px; }
    .hero-grid { grid-template-columns: 1fr; gap: 16px; }
    .hero-copy { max-width: 590px; }
    .hero-copy h1 { font-size: clamp(3.2rem, 12vw, 5rem); }
    .hero-lead { margin-top: 18px; font-size: 1rem; }
    .hero-actions { margin-top: 24px; }
    .hero-actions .button { min-height: 47px; padding-inline: 17px; font-size: .84rem; }
    .hero-visual { min-height: 340px; margin-top: 2px; }
    .visual-device { width: min(72%, 315px); }
    .visual-note-top { top: 13%; right: 4%; }
    .visual-note-bottom { bottom: 13%; left: 1%; }
    .visual-caption { bottom: 0; right: 0; font-size: .5rem; }
    .tracking-section { padding-bottom: 8px; }
    .tracking-layout { grid-template-columns: 1fr; gap: 21px; padding: 25px 22px 21px; }
    .tracking-intro h2 { font-size: 1.65rem; }
    .tracking-form { grid-template-columns: 1fr 1fr; }
    .tracking-submit { grid-column: 1 / -1; width: 100%; }
    .field-help { grid-column: 1 / -1; }
    .proof-strip { flex-wrap: wrap; gap: 17px 22px; padding: 27px 2px 40px; }
    .proof-strip > div { flex: 1 1 40%; gap: 7px; }
    .proof-strip strong { font-size: 1.45rem; }
    .proof-strip span { font-size: .72rem; }
    .proof-strip > i { display: none; }
    .proof-strip p { flex: 1 1 100%; margin: 0; text-align: left; }
    .section-block { padding: 48px 0 58px; }
    .section-heading { margin-bottom: 24px; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
    .service-card { min-height: 188px; padding: 17px; }
    .service-card h3 { margin-top: 15px; font-size: .93rem; }
    .service-price { font-size: 1rem; }
    .process-card { min-height: 138px; padding: 19px 15px; gap: 10px; }
    .contact-section { padding: 48px 0 56px; }
    .contact-card { grid-template-columns: 1fr; }
    .contact-details { gap: 18px 12px; }
    .contact-action { min-height: 300px; }
    .tracking-main { padding-top: 39px; padding-bottom: 48px; }
    .tracking-page-heading h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
    .lookup-card { padding: 20px 18px 17px; }
    .lookup-form { grid-template-columns: 1fr 1fr; }
    .lookup-submit { grid-column: 1 / -1; width: 100%; }
    .tracking-empty-state { grid-template-columns: auto 1fr; padding: 20px; }
    .tracking-empty-state .text-link { grid-column: 2; }
    .tracking-results { grid-template-columns: 1fr; }
    .tracking-aside { grid-template-columns: 1fr 1fr; align-items: start; }
    .payment-card { grid-row: span 2; }
    .help-card { align-self: start; }
}

@media (max-width: 520px) {
    .page-container { width: min(100% - 30px, 480px); }
    .site-nav { min-height: 63px; }
    .brand-lockup { font-size: .82rem; }
    .brand-mark { width: 31px; height: 31px; }
    .nav-actions .button-quiet { display: none; }
    .nav-actions .button-small { min-height: 37px; padding-inline: 13px; }
    .landing-hero { padding-top: 44px; }
    .eyebrow { margin-bottom: 16px; font-size: .62rem; }
    .hero-copy h1 { font-size: clamp(2.85rem, 13vw, 4rem); }
    .hero-lead { font-size: .94rem; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .hero-footnote { font-size: .75rem; }
    .hero-visual { min-height: 285px; margin-inline: -5px; }
    .visual-note { min-height: 40px; padding-inline: 10px; border-radius: 12px; font-size: .65rem; }
    .visual-note-top { top: 10%; right: 0; }
    .visual-note-bottom { bottom: 10%; left: 0; }
    .note-check { width: 20px; height: 20px; }
    .tracking-layout { padding: 21px 16px 18px; border-radius: 20px; }
    .tracking-form, .lookup-form { grid-template-columns: 1fr; }
    .tracking-submit, .lookup-submit { grid-column: auto; }
    .field-help { grid-column: auto; }
    .proof-strip { padding-top: 24px; }
    .proof-strip > div { flex-direction: column; gap: 4px; }
    .section-heading h2 { font-size: 2rem; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 0; }
    .process-grid { grid-template-columns: 1fr; }
    .process-card, .process-card:nth-child(2) { min-height: 0; padding: 18px; border-right: 0; border-bottom: 1px solid var(--site-border); }
    .process-card:last-child { border-bottom: 0; }
    .contact-details { grid-template-columns: 1fr; }
    .contact-copy { padding: 28px 22px; }
    .footer-inner { flex-wrap: wrap; justify-content: center; gap: 10px 16px; text-align: center; }
    .footer-inner > span { flex-basis: 100%; order: 1; }
    .tracking-main { padding-top: 32px; }
    .tracking-page-heading { margin-bottom: 21px; }
    .tracking-page-heading h1 { font-size: 2.35rem; }
    .tracking-page-heading p { font-size: .91rem; }
    .lookup-heading { align-items: flex-start; gap: 11px; }
    .lookup-heading p { font-size: .76rem; line-height: 1.5; }
    .ticket-overview { align-items: flex-start; flex-direction: column; gap: 7px; margin-top: 31px; }
    .ticket-overview-copy h2 { font-size: 1.25rem; }
    .ticket-card-heading { align-items: flex-start; flex-direction: column; padding: 19px; }
    .ticket-badges { justify-content: flex-start; }
    .progress-section { padding: 18px 14px; }
    .progress-step { flex: 1 1 0; gap: 5px; }
    .progress-step:not(:first-child)::before { top: 11px; }
    .progress-marker { width: 24px; height: 24px; font-size: .58rem; }
    .progress-label { max-width: none; font-size: .58rem; overflow-wrap: anywhere; }
    .device-summary { align-items: flex-start; flex-wrap: wrap; margin: 16px 14px 0; padding: 13px; }
    .device-summary-icon { width: 37px; height: 37px; flex-basis: 37px; }
    .device-summary-copy { flex-basis: calc(100% - 56px); }
    .estimate-summary { flex-basis: 100%; margin-left: 50px; max-width: none; text-align: left; }
    .ticket-detail-block { margin: 20px 14px; }
    .technician-note { margin: 0 14px 18px; padding: 14px; }
    .history-card { padding: 19px 17px 8px; }
    .history-entry-top { flex-direction: column; gap: 3px; }
    .history-entry-top time { text-align: left; }
    .tracking-aside { grid-template-columns: 1fr; }
    .payment-card { grid-row: auto; }
    .tracking-empty-state { grid-template-columns: 1fr; }
    .tracking-empty-state .text-link { grid-column: auto; }
    .empty-state-mark { width: 40px; height: 40px; }
}

@media (max-width: 380px) {
    .progress-section { padding: 16px 10px; }
    .progress-step:not(:first-child)::before { top: 10px; }
    .progress-marker { width: 22px; height: 22px; }
    .progress-label { font-size: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
