:root {
  --postal-yellow: #ffcd00;
  --postal-yellow-deep: #e5b800;
  --postal-blue: #002e6d;
  --ink: #17243a;
  --muted: #627086;
  --paper: #f3f5f7;
  --white: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--paper); }
a { color: inherit; }
button, input { font: inherit; }
button, a { cursor: pointer; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--postal-blue);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 44px;
  min-height: 82px;
  padding: 0 clamp(20px, 5vw, 76px);
  background: var(--postal-yellow);
  color: var(--postal-blue);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; letter-spacing: .04em; text-decoration: none; }
.brand svg { width: 38px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.site-header nav { display: flex; justify-content: center; gap: clamp(18px, 4vw, 52px); }
.site-header nav a { padding: 12px 2px; font-size: 15px; font-weight: 700; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.office-button { min-height: 44px; padding: 0 18px; border: 2px solid var(--postal-blue); border-radius: 4px; background: transparent; color: inherit; font-weight: 800; }

.hero {
  position: relative;
  min-height: 610px;
  padding: clamp(76px, 10vw, 138px) clamp(20px, 7vw, 108px) 96px;
  overflow: hidden;
  background: var(--white);
}
.hero-copy { position: relative; z-index: 1; max-width: 760px; }
.eyebrow { margin: 0 0 20px; color: var(--postal-blue); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 0; font-family: "Arial Narrow", Arial, sans-serif; font-size: clamp(48px, 7.1vw, 104px); font-weight: 800; letter-spacing: -.065em; line-height: .88; }
h1 em { color: var(--postal-blue); font-style: normal; }
.intro { max-width: 470px; margin: 30px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }

.tracking-card {
  position: relative;
  z-index: 3;
  width: min(430px, calc(100% - 40px));
  margin: 70px 0 -180px auto;
  padding: 28px;
  border: 0;
  border-radius: 6px;
  background: var(--postal-blue);
  color: var(--white);
  box-shadow: 0 24px 60px rgba(0, 46, 109, .24);
}
.card-index { display: block; margin-bottom: 24px; color: #9cb4d4; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.tracking-card label { display: block; margin-bottom: 18px; font-size: 25px; font-weight: 800; }
.tracking-control { display: grid; grid-template-columns: 1fr 54px; background: var(--white); }
.tracking-control input { min-width: 0; min-height: 54px; padding: 0 16px; border: 0; color: var(--ink); font-size: 16px; }
.tracking-control button { display: grid; min-width: 54px; border: 0; place-items: center; background: var(--postal-yellow); color: var(--postal-blue); }
.tracking-control svg { width: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }
.tracking-card p { margin: 16px 0 0; color: #c4d3e7; font-size: 13px; line-height: 1.5; }

.route-mark { position: absolute; right: -90px; top: 70px; width: 48vw; height: 340px; transform: rotate(-8deg); }
.route-line { position: absolute; inset: 40% 0 auto; height: 86px; border-radius: 999px; background: var(--postal-yellow); }
.parcel { position: absolute; right: 25%; top: 20%; display: grid; width: 112px; height: 132px; padding: 18px; align-content: space-between; border: 3px solid var(--postal-blue); background: var(--postal-yellow); color: var(--postal-blue); font-size: 13px; font-weight: 800; box-shadow: 12px 12px 0 var(--postal-yellow-deep); }
.parcel strong { font-size: 32px; }

.services { padding: 240px clamp(20px, 7vw, 108px) 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading .eyebrow { margin: 0; }
h2 { margin: 0; color: var(--postal-blue); font-size: clamp(32px, 4vw, 56px); letter-spacing: -.04em; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #c8ced6; border-left: 1px solid #c8ced6; }
.service-grid a { display: grid; min-height: 210px; padding: 24px; align-content: space-between; border-right: 1px solid #c8ced6; border-bottom: 1px solid #c8ced6; background: transparent; text-decoration: none; transition: background 180ms ease, color 180ms ease; }
.service-grid a:hover { background: var(--white); color: var(--postal-blue); }
.service-icon { width: 30px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.service-grid strong { align-self: end; font-size: 19px; }
.service-grid small { color: var(--muted); font-size: 13px; }
.notice { padding: 28px clamp(20px, 7vw, 108px) 150px; color: var(--muted); font-size: 13px; }

pi-copilot-widget {
  position: fixed;
  z-index: 20;
  left: max(20px, env(safe-area-inset-left));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: min(430px, calc(100vw - 40px));
  --pi-widget-color-accent: var(--postal-yellow);
  --pi-widget-color-on-accent: var(--postal-blue);
  --pi-widget-color-background: var(--paper);
  --pi-widget-color-surface: var(--white);
  --pi-widget-color-text: var(--ink);
  --pi-widget-color-border: #aeb7c4;
  --pi-widget-radius: 8px;
}

:focus-visible { outline: 3px solid #1769d2; outline-offset: 3px; }

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; gap: 16px; min-height: 70px; }
  .site-header nav { display: none; }
  .office-button { padding: 0 12px; font-size: 13px; }
  .hero { min-height: auto; padding-top: 76px; }
  .route-mark { top: 235px; right: -160px; width: 75vw; opacity: .5; }
  .tracking-card { margin-top: 210px; margin-bottom: -160px; }
  .services { padding-top: 230px; }
  .section-heading { display: block; }
  .section-heading .eyebrow { margin-bottom: 16px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .brand span { font-size: 14px; }
  .brand svg { width: 30px; }
  .office-button { border: 0; padding: 0; text-decoration: underline; }
  h1 { font-size: 54px; }
  .intro { font-size: 16px; }
  .tracking-card { width: 100%; margin-top: 170px; padding: 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid a { min-height: 160px; }
}

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