:root {
  --navy: #061334;
  --ink: #17233a;
  --muted: #5d6b82;
  --blue: #075bd8;
  --blue-2: #0c46a0;
  --orange: #ff4b12;
  --orange-dark: #dc3e0c;
  --surface: #ffffff;
  --soft: #f4f8fd;
  --soft-blue: #eaf3ff;
  --line: #dce6f2;
  --shadow: 0 24px 54px rgba(18, 48, 90, .13);
  --shadow-soft: 0 12px 34px rgba(18, 48, 90, .09);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1370px, calc(100% - 72px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(214, 225, 239, .9);
  box-shadow: 0 10px 28px rgba(18, 48, 90, .06);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 176px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  color: #0d1729;
  font-size: 15px;
  font-weight: 700;
}

.nav-menu > a,
.nav-item > button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
  font-weight: 700;
}

.nav-menu a:hover,
.nav-item > button:hover {
  color: var(--blue);
}

.nav-calculator {
  padding: 0 14px;
  border: 1px solid #cddbea;
  border-radius: var(--radius);
  color: var(--blue);
}

.nav-item {
  position: relative;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: -18px;
  width: 240px;
  display: grid;
  gap: 4px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.menu-panel.right {
  left: auto;
  right: -18px;
}

.nav-item.open .menu-panel,
.nav-item:focus-within .menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 7px;
  color: #17233a;
}

.menu-panel a:hover {
  background: var(--soft-blue);
}

.menu-panel i {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #d7e2f0;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}


.primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 18px 34px rgba(255, 75, 18, .25);
}

.primary:hover {
  background: var(--orange-dark);
}

.secondary {
  color: #fff;
  background: var(--blue);
  min-height: 46px;
  box-shadow: 0 14px 28px rgba(7, 91, 216, .2);
}

.quiet {
  color: var(--blue);
  background: #fff;
  border-color: #bfd1e8;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff 0%, #f8fbff 72%, #fff 100%);
}

.hero-grid {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(610px, 720px) minmax(560px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 58px 0 22px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 16px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(50px, 4vw, 60px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 900;
}

h1 span {
  color: var(--blue);
}

.hero-copy p {
  max-width: 650px;
  margin-bottom: 0;
  color: #40506a;
  font-size: 20px;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--blue-2);
  font-weight: 800;
}

.text-link:hover {
  color: var(--blue);
}

.quick-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
  color: #14233c;
}

.quick-trust > div {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.quick-trust i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  border: 2px solid rgba(7, 91, 216, .25);
  border-radius: 50%;
  background: #fff;
  font-size: 23px;
  flex: 0 0 auto;
}

.quick-trust strong {
  display: block;
  font-size: 13px;
  line-height: 1.18;
}

.quick-trust small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.hero-art {
  position: relative;
  min-width: 0;
  margin-left: -132px;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.hero-art img {
  width: 108%;
  max-width: none;
  margin-left: -20px;
  object-fit: contain;
  filter: saturate(1.02) contrast(1.02);
}

.service-strip {
  position: relative;
  z-index: 3;
  margin-top: -8px;
  padding: 0 0 26px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 42% 1fr;
  align-items: center;
  gap: 16px;
  min-height: 190px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.service-media {
  min-width: 0;
  aspect-ratio: 1.12 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(180deg, #f5f9ff, #fff);
}

.service-media img {
  width: 114%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.service-body {
  min-width: 0;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  border-radius: 50%;
  background: var(--soft-blue);
  font-size: 25px;
  margin-bottom: 6px;
}

.service-card h3 {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.08;
  font-weight: 850;
}

.service-card p {
  color: #4b5b72;
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.service-card ul {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0 0 14px;
  list-style: none;
  color: #2d3d55;
  font-size: 13px;
}

.service-card li {
  position: relative;
  padding-left: 20px;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: inset 0 0 0 2px #fff;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-2);
  font-weight: 800;
  font-size: 14px;
}

.calculator-preview,
.tracking {
  padding: 76px 0;
  background: #f3f7fc;
  border-top: 1px solid #e2eaf4;
  border-bottom: 1px solid #e2eaf4;
}

.calculator-grid,
.tracking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 46px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  color: var(--blue);
  background: #eaf3ff;
  border: 1px solid #d3e4fa;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.calculator-preview h2,
.pricing h2,
.tracking h2,
.support-band h2 {
  color: var(--navy);
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
  margin: 14px 0 14px;
}

.calculator-preview p,
.section-head p,
.tracking p {
  color: #4c5d74;
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 0;
}

.route-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.route-tabs button {
  min-height: 42px;
  padding: 0 14px;
  color: #22334c;
  background: #fff;
  border: 1px solid #cfddeb;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.route-tabs button.active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.route-copy {
  max-width: 620px;
  margin-top: 12px;
  padding: 13px 15px;
  color: #33465f;
  background: #fff;
  border: 1px solid #d8e4f1;
  border-radius: 8px;
}

.quote-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.quote-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #e4ebf4;
}

.quote-head strong {
  color: var(--navy);
  font-size: 20px;
}

.quote-head span {
  color: var(--blue);
  font-weight: 800;
}

.quote-row,
.quote-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  border-bottom: 1px solid #ecf1f6;
}

.quote-row span,
.quote-price span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.quote-row b {
  color: var(--navy);
}

.quote-price {
  align-items: flex-end;
  padding: 18px 0;
  border-bottom: 0;
}

.quote-price strong {
  color: var(--navy);
  font-size: 44px;
  line-height: .9;
}

.quote-card .btn {
  width: 100%;
}

.pricing {
  padding: 76px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.benefit-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(18, 48, 90, .06);
}

.benefit-card i {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--soft-blue);
  border-radius: 50%;
  font-size: 24px;
  margin-bottom: 18px;
}

.benefit-card h3 {
  color: var(--navy);
  font-size: 21px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.benefit-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.tracking {
  background: linear-gradient(180deg, #f5f9ff, #edf4fb);
}

.tracking-grid {
  grid-template-columns: minmax(420px, 560px) minmax(0, 1fr);
}

.tracking-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.tracking-panel img {
  width: 100%;
  height: auto;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.check-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #17233a;
  font-weight: 800;
}

.check-list i {
  color: var(--blue);
}

.support-band {
  padding: 58px 0;
  background: #fff;
}

.support-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 34px;
  background: linear-gradient(135deg, #071536, #0d2e68);
  border-radius: 14px;
  color: #fff;
  box-shadow: var(--shadow);
}

.support-inner h2 {
  color: #fff;
  max-width: 780px;
  margin-bottom: 0;
}

.support-inner .eyebrow {
  color: #d9e8ff;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .18);
}

.support-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tracking-result {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.tracking-result.ok {
  border-color: #b9dcc8;
  background: #f5fbf7;
}

.tracking-result.err {
  border-color: #ffc2b8;
  background: #fff6f4;
}

.tracking-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.tracking-result-head span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.tracking-result-head strong {
  color: var(--navy);
  font-size: 15px;
}

.tracking-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.tracking-status-grid div {
  padding: 12px;
  border: 1px solid #dce6f2;
  border-radius: 7px;
  background: rgba(255, 255, 255, .72);
}

.tracking-status-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tracking-status-grid b {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
}

/* Tracking timeline: newest-first carrier scan events (Release 3). */
.tracking-timeline {
  list-style: none;
  margin: 14px 0 0;
  padding: 2px 0 2px 6px;
  display: grid;
  gap: 0;
}
.tracking-timeline .tt-row {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 0 0 16px 18px;
}
.tracking-timeline .tt-row::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: -2px;
  width: 2px;
  background: #dbe5f0;
}
.tracking-timeline .tt-row:last-child::before { display: none; }
.tracking-timeline .tt-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #9fb1c6;
  box-shadow: 0 0 0 3px #fff;
}
.tracking-timeline .tt-done .tt-dot { background: #169b53; }
.tracking-timeline .tt-move .tt-dot { background: #1261a0; }
.tracking-timeline .tt-alert .tt-dot { background: #d64545; }
.tracking-timeline .tt-row:first-child .tt-body b { font-size: 15px; }
.tracking-timeline .tt-done:first-child .tt-body b { color: #169b53; }
.tracking-timeline .tt-alert .tt-body b { color: #d64545; }
.tracking-timeline .tt-body { display: grid; gap: 2px; min-width: 0; }
.tracking-timeline .tt-body b { color: var(--ink); font-size: 13.5px; }
.tracking-timeline .tt-body span { color: var(--muted); font-size: 12.5px; line-height: 1.4; overflow-wrap: anywhere; }
.tracking-timeline .tt-body small { color: var(--muted); font-size: 11.5px; }

.tracking-timeline-note {
  margin-top: 12px;
  padding: 12px;
  border-left: 3px solid var(--blue);
  color: var(--muted);
  background: #fff;
  border-radius: 0 7px 7px 0;
}

.footer {
  padding: 38px 0;
  background: #061334;
  color: #d8e4f4;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(160px, .5fr));
  gap: 32px;
}

.footer strong {
  display: block;
  color: #fff;
  margin-bottom: 10px;
}

.footer p,
.footer a {
  display: block;
  color: #c4d3e6;
  margin: 0 0 6px;
}

.page-main {
  background: #fff;
}

.page-hero {
  padding: 72px 0 44px;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .92) 42%, rgba(235, 244, 255, .72) 100%);
  border-bottom: 1px solid #e2eaf4;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 560px);
  align-items: center;
  gap: 54px;
}

.page-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(44px, 4.4vw, 68px);
}

.page-hero .lead {
  max-width: 780px;
  color: #40506a;
  font-size: 20px;
  line-height: 1.55;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  margin-bottom: 16px;
  padding: 6px 10px;
  color: var(--blue);
  background: #eaf3ff;
  border: 1px solid #d3e4fa;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.page-proof {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.page-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: #15305b;
  background: #fff;
  border: 1px solid #d9e5f2;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(18, 48, 90, .06);
}

.page-art {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.page-art img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.page-art .art-caption {
  padding: 18px 20px 20px;
  border-top: 1px solid #e1ebf5;
}

.page-art strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 4px;
}

.page-art p {
  margin: 0;
  color: var(--muted);
}

.page-section {
  padding: 72px 0;
}

.page-section.soft {
  background: #f4f8fd;
  border-top: 1px solid #e2eaf4;
  border-bottom: 1px solid #e2eaf4;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 24px;
  align-items: start;
}

.page-card {
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(18, 48, 90, .08);
}

.page-card.tint {
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.page-card h2,
.page-card h3 {
  color: var(--navy);
  line-height: 1.12;
}

.page-card h2 {
  font-size: clamp(30px, 3vw, 44px);
}

.page-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.page-card p {
  color: #53657c;
}

.icon-chip {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--soft-blue);
  border-radius: 50%;
  font-size: 25px;
  margin-bottom: 18px;
}

.numbered-list,
.plain-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.numbered-list li,
.plain-list li {
  padding: 16px;
  background: #f8fbff;
  border: 1px solid #dce8f6;
  border-radius: 10px;
}

.numbered-list strong,
.plain-list strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.form-card {
  padding: 26px;
}

.smk-form {
  display: grid;
  gap: 12px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.smk-form input,
.smk-form select,
.smk-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfddea;
  border-radius: 8px;
  outline: none;
}

.smk-form textarea {
  min-height: 126px;
  resize: vertical;
}

.smk-form input:focus,
.smk-form select:focus,
.smk-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 91, 216, .12);
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #4d5f77;
  font-size: 13px;
  line-height: 1.45;
}

.consent-line input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  margin-top: 2px;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: #53657c;
  font-size: 13px;
}

.form-status.ok {
  color: #0f7a42;
}

.form-status.err {
  color: #af2d1b;
}

.block {
  width: 100%;
}

.legal-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.legal-card {
  padding: 34px;
}

.legal-card h2,
.legal-card h3 {
  color: var(--navy);
}

.legal-card h3 {
  margin: 28px 0 8px;
  font-size: 22px;
}

.legal-card p,
.legal-card li {
  color: #4d5f77;
}

.legal-card ul {
  padding-left: 20px;
}

.success-shell {
  min-height: calc(100vh - 230px);
  display: grid;
  place-items: center;
  padding: 78px 0;
  background: linear-gradient(180deg, #fff 0%, #f4f8fd 100%);
}

.success-card {
  width: min(760px, calc(100% - 32px));
  padding: 42px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.success-icon {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 34px;
}

.success-card h1 {
  font-size: clamp(38px, 4vw, 58px);
}

.success-card p {
  color: #53657c;
  font-size: 18px;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (max-width: 1180px) {
  .container {
    width: min(100% - 44px, 1060px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-top: 44px;
  }

  .hero-art {
    margin-left: 0;
    min-height: 360px;
  }

  .hero-art img {
    width: 100%;
    margin-left: 0;
  }

  .service-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 280px 1fr;
  }

  .calculator-grid,
  .tracking-grid {
    grid-template-columns: 1fr;
  }

  .tracking-panel {
    max-width: 620px;
  }

  .page-hero-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .tracking-status-grid {
    grid-template-columns: 1fr;
  }

  .tracking-result-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-art {
    max-width: 680px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, 620px);
  }

  .nav {
    min-height: 70px;
  }

  .brand img {
    width: 126px;
    height: auto;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 14px;
    right: 14px;
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-menu {
    display: grid;
  }

  .nav-menu > a,
  .nav-item > button,
  .nav-calculator {
    width: 100%;
    justify-content: space-between;
    min-height: 46px;
    padding: 0 10px;
  }

  .menu-panel,
  .menu-panel.right {
    position: static;
    width: 100%;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin: 2px 0 8px;
  }

  .nav-item.open .menu-panel {
    display: grid;
  }

  .hero-grid {
    min-height: 0;
    padding: 34px 0 22px;
  }

  h1 {
    font-size: clamp(42px, 11vw, 58px);
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-actions {
    gap: 12px;
  }

  .btn {
    min-height: 50px;
    padding: 0 18px;
  }

  .quick-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quick-trust > div {
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .hero-art {
    min-height: 260px;
    align-items: flex-start;
    margin-top: 4px;
  }

  .service-strip {
    margin-top: 0;
  }

  .service-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-media {
    aspect-ratio: 16 / 9;
  }

  .service-media img {
    width: 100%;
  }

  .calculator-preview,
  .pricing,
  .tracking {
    padding: 52px 0;
  }

  .page-hero {
    padding: 48px 0 34px;
  }

  .page-section {
    padding: 52px 0;
  }

  .content-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .page-art img {
    height: 260px;
  }

  .calculator-preview h2,
  .pricing h2,
  .tracking h2,
  .support-band h2 {
    font-size: 34px;
  }

  .quote-price strong {
    font-size: 36px;
  }

  .support-inner {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .support-actions {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .success-card,
  .legal-card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 20px);
  }

  .hero-grid {
    padding-top: 24px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-actions .primary,
  .support-actions .primary,
  .support-actions .quiet {
    width: 100%;
  }

  .hero-art {
    min-height: 218px;
  }

  .service-card {
    padding: 12px;
  }

  .route-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quote-head,
  .quote-row,
  .quote-price {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* Unified public footer */
.footer {
  padding: 42px 0 34px;
  background: #061334;
  color: #d8e4f4;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(0, .85fr));
  gap: 28px 38px;
  align-items: start;
}

.footer-brand,
.footer-col {
  min-width: 0;
}

.footer-brand p {
  max-width: 32rem;
}

.footer strong {
  display: block;
  color: #fff;
  margin: 0 0 10px;
  font-weight: 900;
}

.footer p {
  color: #c4d3e6;
  line-height: 1.65;
  margin: 0;
}

.footer-col {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  color: #d8e8fb;
  line-height: 1.35;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer a:hover {
  color: #fff;
}

.footer-contact a {
  color: #fff;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(216, 232, 251, .14);
  color: #9db0c8;
  font-size: 13px;
}

@media (max-width: 760px) {
  .footer {
    padding: 34px 0 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-col {
    gap: 10px;
  }

  .footer a {
    display: flex;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
    margin-top: 24px;
  }
}

/* Final navigation cleanup: no dropdowns, no fake menu items */
.nav-menu .nav-item,
.nav-menu .has-menu,
.menu-panel {
  display: none !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-menu > a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: #17233a;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-menu > a:hover {
  color: var(--blue);
}

.nav-menu > .nav-calculator {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 75, 18, .22);
}

.nav-menu > .nav-calculator:hover {
  background: var(--orange-dark);
  color: #fff;
}

/* Final compact footer */
.footer.footer-compact,
.calc-trust-footer.footer-compact {
  padding: 24px 0;
  background: #061334 !important;
  color: #d8e4f4;
}

.footer-compact .footer-compact-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) auto minmax(340px, 1.4fr);
  gap: 22px 30px;
  align-items: center;
}

.footer-compact .footer-brand {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.footer-compact .footer-brand strong {
  color: #fff;
  margin: 0;
  font-size: 14px;
  font-weight: 900;
}

.footer-compact .footer-brand span {
  color: #b8c8da;
  font-size: 13px;
  line-height: 1.35;
}

.footer-compact .footer-contact-line {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-compact .footer-contact-line a {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.footer-compact .footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 12px 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-compact .footer-links a {
  color: #c4d3e6;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

.footer-compact .footer-links a:hover,
.footer-compact .footer-contact-line a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .nav {
    min-height: 74px;
  }

  .nav-menu {
    gap: 16px;
  }

  .nav-menu > a {
    font-size: 14px;
  }

  .nav-menu > .nav-calculator {
    padding: 0 14px;
  }

  .footer-compact .footer-compact-row {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .footer-compact .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  body.nav-open {
    overflow: auto;
  }

  .nav {
    min-height: 66px;
  }

  .brand img {
    width: 126px;
    height: auto;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 18px 14px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(18, 48, 90, .12);
  }

  body.nav-open .nav-menu {
    display: grid;
  }

  .nav-menu > a {
    width: 100%;
    min-height: 42px;
    border-bottom: 1px solid #edf3f8;
  }

  .nav-menu > .nav-calculator {
    justify-content: center;
    margin-top: 10px;
    border-bottom: 0;
  }

  .footer.footer-compact,
  .calc-trust-footer.footer-compact {
    padding: 18px 0 22px;
  }

  .footer-compact .footer-brand span,
  .footer-compact .footer-contact-line a,
  .footer-compact .footer-links a {
    font-size: 12px;
  }

  .footer-compact .footer-contact-line {
    gap: 8px 14px;
  }

  .footer-compact .footer-links {
    gap: 8px 12px;
  }
}


/* Mobile-only homepage rollout. Desktop homepage sections remain unchanged. */
.mobile-home {
  display: none;
}

@media (max-width: 760px) {
  .home-main {
    background:
      radial-gradient(circle at 50% -10%, rgba(14, 92, 240, .1), transparent 34%),
      linear-gradient(180deg, #fff 0%, #f7faff 100%);
  }

  .home-main > section:not(.mobile-home) {
    display: none !important;
  }

  .mobile-home {
    display: block;
    width: calc(100% - 20px);
    margin: 0 auto;
    padding: 18px 0 30px;
  }

  .mobile-home-hero {
    position: relative;
    padding: 26px 8px 24px;
    border: 1px solid rgba(220, 230, 242, .86);
    border-radius: 8px;
    text-align: center;
    isolation: isolate;
    overflow: hidden;
  }

  .mobile-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .96) 58%, #fff 100%),
      url("./images/hero-logistics.webp") center top / 128% auto no-repeat;
  }

  .mobile-home-hero::after {
    content: "";
    position: absolute;
    right: 9px;
    bottom: 14px;
    z-index: -1;
    width: 142px;
    height: 82px;
    border-radius: 8px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, .58), rgba(255, 255, 255, .2)),
      url("./images/calculator-signal.webp") center / cover no-repeat;
    opacity: .18;
  }

  .mobile-home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 0 11px;
    color: var(--blue);
    background: var(--soft-blue);
    border: 1px solid #d5e7ff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
  }

  .mobile-home h1 {
    max-width: 350px;
    margin: 17px auto 0;
    color: var(--navy);
    font-size: clamp(38px, 11.5vw, 52px);
    line-height: .97;
    letter-spacing: 0;
    font-weight: 900;
  }

  .mobile-home h1 span {
    color: var(--blue);
  }

  .mobile-home-hero p {
    max-width: 320px;
    margin: 18px auto 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
  }

  .mobile-home-cta {
    width: min(100%, 330px);
    min-height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(180deg, var(--orange), var(--orange-dark));
    box-shadow: 0 18px 30px rgba(255, 75, 18, .24);
    font-size: 19px;
    font-weight: 900;
  }

  .mobile-home-cta i {
    font-size: 22px;
  }

  .mobile-home-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px 13px;
    margin: 18px auto 0;
    color: #52617a;
    font-size: 13px;
    font-weight: 760;
  }

  .mobile-home-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }

  .mobile-home-trust i {
    color: var(--blue);
    font-size: 16px;
  }

  .mobile-home-signal,
  .mobile-home-routes,
  .mobile-home-tracking-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
  }

  .mobile-home-signal {
    position: relative;
    margin-top: 30px;
    box-shadow: var(--shadow);
    isolation: isolate;
  }

  .mobile-home-signal::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    z-index: -1;
    height: 154px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .97)),
      url("./images/hero-logistics.webp") center / cover no-repeat;
    opacity: .42;
  }

  .mobile-home-signal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-home-signal-head strong {
    color: var(--navy);
    font-size: 15px;
    font-weight: 900;
  }

  .mobile-home-signal-head span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
  }

  .mobile-home-path {
    display: grid;
  }

  .mobile-home-path-step {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 15px 14px;
    border-bottom: 1px solid #edf2f8;
  }

  .mobile-home-path-step:last-child {
    border-bottom: 0;
  }

  .mobile-home-path-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 37px;
    bottom: -11px;
    width: 2px;
    height: 22px;
    background: #c9defc;
  }

  .mobile-home-step-icon,
  .mobile-home-route-icon {
    display: grid;
    place-items: center;
    color: var(--blue);
    background: var(--soft-blue);
  }

  .mobile-home-step-icon {
    width: 48px;
    height: 48px;
    border: 1px solid #d7e8ff;
    border-radius: 8px;
    font-size: 24px;
  }

  .mobile-home-step-copy strong {
    display: block;
    color: var(--navy);
    font-size: 17px;
    font-weight: 900;
  }

  .mobile-home-step-copy span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
  }

  .mobile-home-pill {
    min-width: 74px;
    padding: 7px 9px;
    border-radius: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
  }

  .mobile-home-pill.green {
    color: #10752d;
    background: #effaf1;
    border: 1px solid #b9e8c3;
  }

  .mobile-home-pill.amber {
    color: #b76300;
    background: #fff6e8;
    border: 1px solid #ffd6a1;
  }

  .mobile-home-pill.blue {
    color: var(--blue);
    background: #f3f7ff;
    border: 1px solid #cce0ff;
  }

  .mobile-home-signal-foot {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    color: var(--navy);
    background: linear-gradient(180deg, #fbfdff, #f3f8ff);
    border-top: 1px solid var(--line);
    font-size: 13px;
    font-weight: 850;
  }

  .mobile-home-signal-foot i {
    color: var(--blue);
    font-size: 18px;
  }

  .mobile-home-routes {
    margin-top: 26px;
  }

  .mobile-home-route-row {
    min-height: 92px;
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-bottom: 1px solid #e7eef7;
    background-position: right -34px center;
    background-repeat: no-repeat;
    background-size: 132px auto;
  }

  .mobile-home-route-row.parcel {
    background-image:
      linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 58%, rgba(255, 255, 255, .64) 100%),
      url("./images/service-parcel.webp");
  }

  .mobile-home-route-row.pallet {
    background-image:
      linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 58%, rgba(255, 255, 255, .64) 100%),
      url("./images/service-pallet.webp");
  }

  .mobile-home-route-row.review {
    background-image:
      linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 58%, rgba(255, 255, 255, .64) 100%),
      url("./images/service-review.webp");
  }

  .mobile-home-route-row:last-child {
    border-bottom: 0;
  }

  .mobile-home-route-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 25px;
  }

  .mobile-home-route-copy strong {
    display: block;
    color: var(--navy);
    font-size: 22px;
    line-height: 1.05;
    font-weight: 900;
  }

  .mobile-home-route-copy span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
  }

  .mobile-home-route-row .bi-chevron-right {
    color: var(--navy);
    font-size: 22px;
  }

  .mobile-home-section-title {
    margin: 27px 0 12px;
    color: var(--navy);
    font-size: 24px;
    line-height: 1.08;
    font-weight: 900;
  }

  .mobile-home-tracking-card {
    display: block;
    box-shadow: 0 12px 28px rgba(20, 54, 98, .06);
  }

  .mobile-home-tracking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 104px;
  }

  .mobile-home-track-stage {
    position: relative;
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 10px;
    padding: 15px 13px;
  }

  .mobile-home-track-stage + .mobile-home-track-stage {
    border-left: 1px solid #e7eef7;
  }

  .mobile-home-track-stage::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -18px;
    width: 36px;
    height: 2px;
    background: var(--blue);
    transform: translateY(-50%);
  }

  .mobile-home-track-stage:last-child::after {
    display: none;
  }

  .mobile-home-track-dot {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #22a447;
    font-size: 20px;
  }

  .mobile-home-track-dot.blue {
    background: var(--blue);
  }

  .mobile-home-track-stage strong {
    display: block;
    color: var(--navy);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 900;
  }

  .mobile-home-track-stage span span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
  }

  .mobile-home-bottom-cta {
    margin-top: 30px;
    text-align: center;
  }

  .mobile-home-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 15px;
    color: #53637d;
    font-size: 13px;
    font-weight: 700;
  }

  .mobile-home-secure-note i {
    color: var(--navy);
  }
}

@media (max-width: 360px) {
  .mobile-home {
    width: calc(100% - 16px);
  }

  .mobile-home h1 {
    font-size: 38px;
  }

  .mobile-home-route-copy strong {
    font-size: 20px;
  }

  .mobile-home-path-step {
    grid-template-columns: 44px 1fr;
  }

  .mobile-home-pill {
    grid-column: 2;
    width: fit-content;
  }
}

/* Accuracy explainer page cards */
.accuracy-card { border-left: 4px solid #d7e2ee; }
.accuracy-card h3 { display: flex; align-items: center; gap: 9px; }
.accuracy-dot { width: 13px; height: 13px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.accuracy-green { border-left-color: #178a4c; } .dot-green { background: #35d07f; }
.accuracy-amber { border-left-color: #d99100; } .dot-amber { background: #ffc043; }
.accuracy-red { border-left-color: #d64545; } .dot-red { background: #ff5a5a; }

/* Rate tables on phones. Each /lp/ page sets .lp-rate-table{min-width:520px}
   in its own <style>, which on a 390px screen hid the last column behind an
   invisible scroll — iOS draws no scrollbar, so a reader saw prose cut
   mid-word with no hint it could be swiped. Two selectors deep so this beats
   the page-level rule regardless of source order. */
@media (max-width: 620px) {
  .lp-rate-table-wrap { position: relative; }
  .lp-rate-table-wrap .lp-rate-table { min-width: 0; width: 100%; }
  .lp-rate-table-wrap .lp-rate-table th,
  .lp-rate-table-wrap .lp-rate-table td { padding: 10px 9px; font-size: 14px; }
  .lp-rate-table-wrap .lp-rate-price { white-space: nowrap; }
  /* If a table still overflows, say so instead of hiding it. */
  .lp-rate-table-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 26px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.92));
    border-radius: 0 12px 12px 0;
  }
}
