:root {
  color-scheme: light;
  --ink: #08284a;
  --ink-soft: #46627d;
  --blue: #0878e8;
  --blue-dark: #0459ad;
  --sky: #eaf5ff;
  --mint: #e9f8f2;
  --line: #d9e5ef;
  --surface: #ffffff;
  --canvas: #f5f8fb;
  --danger: #b42318;
  --success: #067647;
  --warning: #8a5a00;
  --shadow: 0 20px 60px rgba(8, 40, 74, 0.12);
  --radius: 24px;
  --header-height: 76px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "PingFang TC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { max-width: 100%; margin: 0; overflow-x: clip; color: var(--ink); background: var(--canvas); font-size: 16px; line-height: 1.6; }
body.tracking-page { background: #eaf0f5; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
[hidden] { display: none !important; }
.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; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-140%); padding: 10px 16px; border-radius: 10px; color: #fff; background: var(--ink); }
.skip-link:focus { transform: none; }
.page-width { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; min-height: var(--header-height); display: flex; align-items: center; gap: 24px; padding: 10px max(20px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid rgba(217, 229, 239, .85); background: rgba(255, 255, 255, .94); backdrop-filter: blur(18px); }
.site-header > * { min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; text-decoration: none; min-width: 250px; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand span { display: grid; line-height: 1.2; }
.brand strong { font-size: 1.02rem; letter-spacing: -.02em; }
.brand small { margin-top: 4px; color: var(--ink-soft); font-size: .73rem; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { text-decoration: none; font-weight: 650; font-size: .92rem; color: #274866; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--blue); }
.language-menu { position: relative; flex: 0 0 auto; }
.language-trigger { min-width: 145px; min-height: 44px; display: grid; grid-template-columns: 20px minmax(0, 1fr) 11px; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.96); box-shadow: 0 9px 24px rgba(8,40,74,.08); font-weight: 760; text-align: left; }
.language-globe { position: relative; width: 20px; height: 20px; display: grid; place-items: center; border: 1.7px solid currentColor; border-radius: 50%; color: var(--blue-dark); font-size: 0; }
.language-globe::before, .language-globe::after { content: ""; position: absolute; width: 12px; height: 1px; background: currentColor; }
.language-globe::after { width: 1px; height: 12px; }
.language-chevron { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .18s ease; }
.language-menu.open .language-chevron { transform: translateY(2px) rotate(225deg); }
.language-popover { position: absolute; top: calc(100% + 8px); right: 0; z-index: 80; width: 188px; padding: 7px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: 0 22px 55px rgba(8,40,74,.18); backdrop-filter: blur(20px); }
.language-option { width: 100%; min-height: 44px; display: grid; grid-template-columns: 1fr 20px; align-items: center; gap: 10px; padding: 9px 12px; border: 0; border-radius: 12px; color: var(--ink); background: transparent; font-weight: 730; text-align: left; }
.language-option:hover, .language-option:focus-visible { color: var(--blue-dark); background: var(--sky); }
.language-check { color: var(--blue); opacity: 0; font-weight: 900; }
.language-option[aria-selected="true"] .language-check { opacity: 1; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--sky); place-content: center; gap: 4px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 20px; height: 2px; border-radius: 4px; background: var(--ink); }

.hero { position: relative; min-height: min(760px, calc(100svh - var(--header-height))); display: grid; align-items: center; overflow: hidden; color: #fff; background: #08284a; }
.hero-image, .hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-scrim { background: linear-gradient(90deg, rgba(5, 31, 60, .94) 0%, rgba(5, 31, 60, .7) 47%, rgba(5, 31, 60, .2) 100%); }
.hero-content { position: relative; z-index: 2; padding-block: 80px; }
.hero-content h1 { max-width: 760px; margin: 12px 0 20px; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.055em; }
.hero-content > p:not(.eyebrow) { max-width: 660px; margin: 0 0 30px; font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.87); }
.eyebrow { margin: 0 0 8px; color: var(--blue); font-size: .78rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: #8fd1ff; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: 15px; text-decoration: none; font-weight: 780; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--blue); box-shadow: 0 10px 25px rgba(8, 120, 232, .28); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.button.glass { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.12); backdrop-filter: blur(12px); }
.button.light { color: var(--blue-dark); background: #fff; }
.button.danger { color: #fff; background: var(--danger); }
.button:disabled { cursor: not-allowed; opacity: .55; transform: none; box-shadow: none; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 18px 30px; margin: 36px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.82); font-size: .92rem; }
.hero-facts li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; color: #fff; background: rgba(29, 190, 129, .8); font-weight: 900; }

.section { padding-block: 96px; }
.section-tint { background: #eaf3fb; }
.section-heading { max-width: 700px; margin-bottom: 38px; }
.section-heading h2, .app-copy h2, .contact-strip h2, .page-hero h1 { margin: 8px 0 14px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.045em; }
.page-hero h1 { overflow-wrap: anywhere; }
.section-heading p:last-child, .app-copy > p:not(.eyebrow), .page-hero p { color: var(--ink-soft); font-size: 1.05rem; }
.card-grid { display: grid; gap: 18px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.service-card, .content-card, .form-card, .legal-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 28px rgba(8,40,74,.05); }
.service-card h3 { margin: 22px 0 8px; font-size: 1.22rem; }
.service-card p { margin: 0; color: var(--ink-soft); }
.icon-chip { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 14px; color: var(--blue); background: var(--sky); font-weight: 850; }
.split-callout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.step-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.step-list li { display: flex; gap: 18px; padding: 22px; border-radius: 20px; background: rgba(255,255,255,.82); }
.step-list li > span { flex: 0 0 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--blue); font-weight: 800; }
.step-list strong { font-size: 1.08rem; }
.step-list p { margin: 4px 0 0; color: var(--ink-soft); }
.app-panel { display: grid; grid-template-columns: 1fr .72fr; gap: 68px; align-items: center; }
.app-copy > p:not(.eyebrow) { max-width: 620px; }
.app-visual { display: grid; place-items: center; min-height: 480px; border-radius: 38px; background: linear-gradient(145deg, #dff2ff, #ddf8ed); overflow: hidden; }
.phone-shell { width: min(270px, 78%); aspect-ratio: .52; display: flex; flex-direction: column; align-items: center; padding: 18px; border: 9px solid #08284a; border-radius: 44px; color: var(--ink); background: linear-gradient(#f8fbff, #e9f7f1); box-shadow: var(--shadow); }
.phone-island { width: 72px; height: 18px; border-radius: 20px; background: var(--ink); }
.phone-shell img { width: 74px; margin: 80px 0 24px; }
.phone-shell span { font-weight: 800; text-align: center; }
.phone-shell small { color: var(--ink-soft); }
.mock-route { width: 80%; display: flex; align-items: center; gap: 5px; margin: 26px 0 16px; }
.mock-route i { width: 13px; height: 13px; border: 3px solid var(--blue); border-radius: 50%; background: #fff; }
.mock-route b { flex: 1; height: 3px; border-radius: 4px; background: var(--blue); }
.contact-strip { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 96px; padding: 42px; border-radius: 30px; color: #fff; background: linear-gradient(120deg, #063b6e, #0878e8); }
.contact-strip h2 { margin: 6px 0 8px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.contact-strip p:last-child { max-width: 700px; margin: 0; color: rgba(255,255,255,.82); }

.page-hero { padding: 72px 0 34px; }
.page-hero.compact { padding-bottom: 16px; }
.page-hero h1 { max-width: 780px; }
.page-hero > p:last-child { max-width: 720px; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: start; padding-bottom: 92px; }
.form-card { padding: 30px; }
.form-section + .form-section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.form-section h2 { margin: 0 0 18px; font-size: 1.25rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field > span { font-weight: 720; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 1px solid #cbd9e5; border-radius: 13px; padding: 11px 13px; color: var(--ink); background: #fbfdff; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(8,120,232,.18); border-color: var(--blue); }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0; color: var(--ink-soft); }
.checkbox-field input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue); }
.notice { padding: 16px 18px; border-radius: 15px; color: var(--warning); background: #fff7df; border: 1px solid #f2dfa3; }
.status-message { min-height: 25px; margin-top: 14px; font-weight: 700; color: var(--success); }
.status-message.error { color: var(--danger); }
.side-note { position: sticky; top: calc(var(--header-height) + 24px); }
.side-note h2 { margin-top: 0; font-size: 1.25rem; }
.side-note ul { padding-left: 20px; color: var(--ink-soft); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.tracking-shell { width: min(1180px, calc(100% - 32px)); min-height: calc(100svh - var(--header-height) - 32px); display: grid; grid-template-columns: minmax(0, 1.5fr) 390px; margin: 16px auto; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.route-canvas { position: relative; min-height: 660px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 20% 30%, #d8f2df 0 5%, transparent 6%), radial-gradient(circle at 72% 24%, #dbeeff 0 8%, transparent 9%), linear-gradient(145deg, #edf7f1, #e5f0fa); }
.route-canvas::before, .route-canvas::after { content: ""; position: absolute; width: 130%; height: 2px; background: rgba(8,40,74,.08); transform: rotate(-18deg); }
.route-canvas::after { transform: rotate(27deg); }
.route-visual { position: relative; z-index: 2; width: min(620px, 76%); height: 250px; }
.safe-map-shell { position: absolute; inset: 0; z-index: 3; background: #e8f3ee; }
.safe-map-shell canvas { width: 100%; height: 100%; display: block; }
.safe-map-note { position: absolute; top: 18px; left: 18px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.88); backdrop-filter: blur(14px); font-size: .78rem; font-weight: 800; box-shadow: 0 7px 20px rgba(8,40,74,.1); }
.route-line { position: absolute; inset: 50% 8% auto; height: 6px; border-radius: 8px; background: linear-gradient(90deg, #07946b, var(--blue)); transform: rotate(-8deg); transform-origin: center; }
.route-dot { position: absolute; top: calc(50% - 15px); width: 30px; height: 30px; display: grid; place-items: center; border: 6px solid #fff; border-radius: 50%; box-shadow: 0 6px 16px rgba(8,40,74,.18); }
.route-dot.start { left: 3%; background: #07946b; }
.route-dot.end { right: 3%; background: var(--blue); }
.vehicle-marker { position: absolute; top: 40%; left: 50%; width: 58px; height: 58px; display: grid; place-items: center; border: 5px solid #fff; border-radius: 50% 50% 50% 12px; color: #fff; background: var(--blue); box-shadow: 0 10px 25px rgba(8,120,232,.35); transform: rotate(-8deg); transition: left .5s ease, top .5s ease; }
.vehicle-marker span { transform: rotate(8deg); font-size: 1.4rem; }
.vehicle-marker[data-progress="10"] { left: 10%; }
.vehicle-marker[data-progress="20"] { left: 20%; }
.vehicle-marker[data-progress="30"] { left: 30%; }
.vehicle-marker[data-progress="40"] { left: 40%; }
.vehicle-marker[data-progress="50"] { left: 50%; }
.vehicle-marker[data-progress="60"] { left: 60%; }
.vehicle-marker[data-progress="70"] { left: 70%; }
.vehicle-marker[data-progress="80"] { left: 80%; }
.vehicle-marker[data-progress="90"] { left: 90%; }
.tracking-side { display: flex; flex-direction: column; padding: 28px; border-left: 1px solid var(--line); }
.tracking-side h1 { margin: 8px 0; font-size: 1.9rem; line-height: 1.1; }
.tracking-side > p { color: var(--ink-soft); }
.tracking-state { display: grid; gap: 18px; margin-top: 16px; }
.status-pill { width: fit-content; padding: 7px 12px; border-radius: 999px; color: var(--blue-dark); background: var(--sky); font-weight: 800; }
.tracking-fields { display: grid; gap: 0; margin: 0; }
.tracking-fields div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tracking-fields dt { color: var(--ink-soft); }
.tracking-fields dd { margin: 0; font-weight: 720; overflow-wrap: anywhere; }
.tracking-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 20px; }
.privacy-note { margin-top: 20px; padding: 13px; border-radius: 12px; background: #f2f7fb; color: var(--ink-soft); font-size: .82rem; }
.empty-state { margin: auto 0; padding: 34px 20px; text-align: center; }
.empty-state .state-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 20px; color: var(--blue); background: var(--sky); font-size: 1.7rem; }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding-bottom: 92px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.faq-list summary { cursor: pointer; font-weight: 780; }
.faq-list p { margin-bottom: 0; color: var(--ink-soft); }
.contact-details { display: grid; gap: 12px; margin-top: 20px; }
.contact-details a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.legal-wrap { padding-bottom: 96px; }
.legal-toolbar { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.legal-card { max-width: 920px; margin: 0 auto; padding: clamp(24px, 5vw, 54px); }
.legal-card h2 { margin-top: 38px; font-size: 1.45rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { margin-top: 30px; }
.legal-card p, .legal-card li { color: #365570; }
.legal-card li + li { margin-top: 8px; }
.deletion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 92px; }
.deletion-grid .content-card:first-child { grid-row: span 2; }
.numbered { margin: 20px 0 0; padding-left: 24px; }
.numbered li + li { margin-top: 12px; }

.account-action-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 12% 8%, rgba(8, 120, 232, .13), transparent 32rem),
    radial-gradient(circle at 88% 88%, rgba(7, 148, 107, .12), transparent 34rem),
    linear-gradient(145deg, #f7fbff, #eef7f4);
}
.account-action-header {
  width: min(1120px, calc(100% - 40px));
  max-width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-inline: auto;
  padding-top: max(12px, env(safe-area-inset-top));
}
.account-action-header > * { min-width: 0; }
.account-action-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 820;
  letter-spacing: -.025em;
}
.account-action-home img { width: 54px; height: 54px; object-fit: contain; }
.account-action-main {
  width: 100%;
  min-height: calc(100svh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 34px 20px max(56px, calc(28px + env(safe-area-inset-bottom)));
}
.account-action-card {
  width: 100%;
  max-width: 580px;
  min-width: 0;
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid rgba(203, 217, 229, .85);
  border-radius: 34px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 28px 90px rgba(8, 40, 74, .15);
  backdrop-filter: blur(20px);
  text-align: center;
}
.account-action-logo {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  margin: -4px auto 22px;
  border: 1px solid rgba(217, 229, 239, .9);
  border-radius: 34px;
  background: linear-gradient(145deg, #fff, #eef7ff);
  box-shadow: 0 18px 45px rgba(8, 120, 232, .16);
}
.account-action-logo img { width: 112px; height: 112px; object-fit: contain; }
.account-action-card .eyebrow { margin-bottom: 10px; }
.account-action-card h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1.04;
  letter-spacing: -.05em;
  overflow-wrap: anywhere;
}
.account-action-copy {
  max-width: 440px;
  margin: 16px auto 0;
  color: var(--ink-soft);
  font-size: 1.03rem;
}
.account-action-progress {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 0;
  padding: 13px 16px;
  border: 1px solid #cfe5f8;
  border-radius: 16px;
  color: var(--blue-dark);
  background: var(--sky);
  font-weight: 740;
}
.account-action-progress.error { color: var(--danger); border-color: #f1c8c4; background: #fff3f2; }
.activity-ring {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  border: 3px solid rgba(8, 120, 232, .22);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: account-ring .8s linear infinite;
}
@keyframes account-ring { to { transform: rotate(360deg); } }
.account-action-form { min-width: 0; display: grid; gap: 17px; margin-top: 30px; text-align: left; }
.account-action-form .field input { min-height: 58px; padding-inline: 16px; background: #f8fbfe; }
.field-guidance { margin: -4px 0 0; color: var(--ink-soft); font-size: .86rem; }
.account-action-submit { width: 100%; margin-top: 4px; }
.account-action-buttons { justify-content: center; margin-top: 24px; }
.account-action-security { margin: 24px 0 0; color: #61798f; font-size: .8rem; }

button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(8, 120, 232, .32);
  outline-offset: 3px;
}

.site-footer { padding: 46px 0; color: #cadbea; background: #061f38; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; align-items: start; }
.footer-grid strong { color: #fff; }
.footer-grid p { margin: 7px 0 0; font-size: .88rem; }
.footer-grid nav { display: grid; gap: 7px; }
.footer-grid nav a { text-decoration: none; }
.footer-grid nav a:hover { color: #fff; }

@media (max-width: 980px) {
  .menu-toggle { display: grid; }
  .language-menu { order: 2; }
  .menu-toggle { order: 3; }
  .main-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; padding: 14px 20px 22px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 14px 24px rgba(8,40,74,.09); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 9px 4px; }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .app-panel, .split-callout { grid-template-columns: 1fr; gap: 38px; }
  .app-visual { min-height: 420px; }
  .page-layout { grid-template-columns: 1fr; }
  .side-note { position: static; }
  .tracking-shell { grid-template-columns: 1fr; }
  .route-canvas { min-height: 390px; }
  .tracking-side { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 680px) {
  :root { --header-height: 68px; }
  .page-width { width: min(100% - 28px, 1180px); }
  .site-header { padding: 8px 14px; gap: 10px; }
  .brand { min-width: 0; }
  .brand img { width: 46px; height: 46px; }
  .brand small { display: none; }
  .brand strong { max-width: 150px; font-size: .91rem; }
  .language-trigger { min-width: 0; width: 48px; grid-template-columns: 20px 10px; gap: 4px; padding-inline: 9px; }
  .language-trigger [data-language-current] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .language-popover { width: min(188px, calc(100vw - 28px)); }
  .hero { min-height: 650px; }
  .hero-scrim { background: linear-gradient(90deg, rgba(5,31,60,.93), rgba(5,31,60,.62)); }
  .hero-content { padding-block: 60px; }
  .hero-content h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .hero-facts { display: grid; gap: 12px; }
  .section { padding-block: 68px; }
  .card-grid.four, .field-grid, .support-grid, .deletion-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-card { padding: 21px; }
  .contact-strip { align-items: flex-start; flex-direction: column; margin-bottom: 68px; padding: 28px; }
  .app-visual { min-height: 390px; }
  .tracking-shell { width: 100%; min-height: calc(100svh - var(--header-height)); margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .route-canvas { min-height: 330px; }
  .tracking-side { padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); }
  .tracking-fields div { grid-template-columns: 100px 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .account-action-header { width: calc(100% - 28px); min-height: 72px; }
  .account-action-home span { max-width: 170px; font-size: .9rem; line-height: 1.15; }
  .account-action-home img { width: 48px; height: 48px; }
  .account-action-main { min-height: calc(100svh - 72px); padding: 18px 14px max(34px, calc(20px + env(safe-area-inset-bottom))); }
  .account-action-card { padding: 28px 20px; border-radius: 26px; }
  .account-action-logo { width: 116px; height: 116px; border-radius: 30px; }
  .account-action-logo img { width: 98px; height: 98px; }
  .account-action-buttons { display: grid; }
  .account-action-buttons .button { width: 100%; }
}

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

@media (prefers-reduced-transparency: reduce) {
  .account-action-card, .site-header, .safe-map-note { background: #fff; backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  :root { --line: #7d93a8; --ink-soft: #274866; }
  .button, .field input, .field select, .field textarea { border-width: 2px; }
}

/* The tracking invitation is one spatial surface: map first, one summary
   sheet, and compact oval actions. This intentionally avoids nested cards. */
.tracking-page .tracking-shell {
  position: relative;
  width: 100%;
  min-height: calc(100svh - var(--header-height));
  display: block;
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 18%, rgba(7,148,107,.12), transparent 34rem),
    linear-gradient(145deg, #edf7f2, #dfeef8);
  box-shadow: none;
}

.tracking-page .route-canvas {
  position: absolute;
  inset: 0;
  min-height: 100%;
  display: block;
}

.tracking-page .safe-map-note {
  top: 16px;
  left: 16px;
  border-radius: 999px;
}

.tracking-page .route-visual {
  position: absolute;
  inset: 16% 8% auto;
  width: 84%;
  height: 48%;
}

.tracking-summary {
  position: absolute;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 10;
  width: min(920px, calc(100% - 36px));
  max-height: calc(100% - 42px);
  overflow: auto;
  padding: 22px 24px 18px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 30px;
  color: var(--ink);
  background: rgba(255,255,255,.88);
  box-shadow: 0 22px 70px rgba(8,40,74,.2);
  backdrop-filter: blur(24px) saturate(1.18);
  transform: translateX(-50%);
}

.tracking-summary-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.tracking-summary-heading > div {
  min-width: 0;
}

.tracking-summary .eyebrow {
  margin-bottom: 4px;
}

.tracking-summary h1 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.tracking-summary [data-tracking-intro] {
  margin: 7px 0 0;
  color: var(--ink-soft);
}

.tracking-summary .status-pill {
  flex: 0 0 auto;
  white-space: nowrap;
}

.tracking-summary .tracking-state {
  margin-top: 18px;
}

.tracking-summary .tracking-fields {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.tracking-summary .tracking-fields div {
  min-width: 0;
  display: block;
  padding: 2px 14px;
  border: 0;
  border-left: 1px solid rgba(70,98,125,.19);
}

.tracking-summary .tracking-fields div:first-child {
  padding-left: 0;
  border-left: 0;
}

.tracking-summary .tracking-fields dt {
  margin-bottom: 2px;
  font-size: .76rem;
}

.tracking-summary .tracking-fields dd {
  font-size: .92rem;
  line-height: 1.35;
}

.tracking-summary .tracking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
  padding: 0;
}

.tracking-summary .tracking-actions .button {
  min-height: 44px;
  border-radius: 999px;
  padding: 9px 17px;
}

.tracking-summary .privacy-note {
  margin: 14px 0 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: .75rem;
}

.tracking-summary .empty-state {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  text-align: left;
}

.tracking-summary .empty-state p {
  margin: 0;
  color: var(--ink-soft);
}

.language-popover .language-option,
.language-popover .language-option.active {
  width: 100%;
  height: auto;
  min-height: 44px;
  color: var(--ink);
}

.language-popover .language-option:hover,
.language-popover .language-option:focus-visible,
.language-popover .language-option.active {
  color: var(--blue-dark);
}

@media (max-width: 760px) {
  .tracking-page .site-header {
    background: rgba(255,255,255,.88);
  }

  .tracking-page .route-visual {
    inset: 11% 5% auto;
    width: 90%;
    height: 44%;
  }

  .tracking-summary {
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100% - 28px);
    max-height: 64%;
    padding: 18px 18px 14px;
    border-radius: 25px;
  }

  .tracking-summary-heading {
    gap: 10px;
  }

  .tracking-summary .tracking-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 13px;
  }

  .tracking-summary .tracking-fields div,
  .tracking-summary .tracking-fields div:first-child {
    padding: 0 12px 0 0;
    border: 0;
  }

  .tracking-summary .tracking-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .tracking-summary .tracking-actions [data-open-in-app] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 390px) {
  .tracking-summary {
    width: calc(100% - 20px);
    padding-inline: 15px;
  }

  .tracking-summary .privacy-note {
    display: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .tracking-summary,
  .language-popover {
    background: #fff;
    backdrop-filter: none;
  }
}
