:root {
  color-scheme: light;
  --paper: #f7f5f2;
  --white: #fff;
  --ink: #1c1d1f;
  --muted: #777878;
  --line: #e3e1de;
  --red: #d62b32;
  --red-dark: #a91f27;
  --red-pale: #fff0ef;
  --teal: #176c68;
  --mono: "DM Mono", monospace;
  --sans: "Space Grotesk", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.shell { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }
.topbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 700; white-space: nowrap; }
.brand-mark { color: var(--red); font-size: 18px; }
.brand-slash { color: var(--red); }
.topnav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.topnav a, .site-footer > a:last-child { color: #555; font-size: 13px; font-weight: 600; text-decoration: none; transition: color 160ms ease; }
.topnav a:hover, .site-footer > a:last-child:hover { color: var(--red); }
.topnav .reference-link { color: var(--red-dark); }
.connection { display: flex; align-items: center; gap: 9px; padding-left: 24px; border-left: 1px solid var(--line); color: #575858; font-size: 11px; white-space: nowrap; }
.connection code { color: var(--muted); font: 11px var(--mono); }
.pulse, .status-dot, .footer-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.pulse { box-shadow: 0 0 0 4px rgb(23 108 104 / 12%); }
.intro { display: grid; grid-template-columns: 1fr 0.83fr; align-items: center; gap: 70px; padding: 76px 0 72px; }
.eyebrow, .section-kicker { margin: 0; color: var(--red-dark); font: 500 11px var(--mono); text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow-rule { display: inline-block; width: 25px; height: 2px; background: var(--red); }
.eyebrow-version { color: #86827e; }
h1 { margin: 22px 0 18px; font-size: 58px; line-height: 0.99; font-weight: 600; letter-spacing: 0; }
h1 em, .about-heading h2 em { color: var(--red); font-style: normal; }
.lede { max-width: 475px; margin: 0; color: #646565; font-size: 15px; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 13px; margin-top: 25px; color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.text-link span { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #ccc8c4; border-radius: 50%; color: var(--red); transition: transform 160ms ease; }
.text-link:hover span { transform: translateY(3px); }
.intro-art { position: relative; min-height: 280px; overflow: hidden; background: var(--red); color: var(--white); }
.intro-art::before { position: absolute; inset: 0; background: linear-gradient(122deg, transparent 0 46%, rgb(117 13 22 / 18%) 46% 100%); content: ""; }
.art-grid { position: absolute; inset: 0; opacity: 0.2; background-image: linear-gradient(rgb(255 255 255 / 28%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 28%) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(90deg, black, transparent 90%); }
.art-route { position: absolute; z-index: 1; height: 2px; background: rgb(255 255 255 / 78%); transform-origin: left; }
.route-one { top: 55%; left: 17%; width: 62%; transform: rotate(-24deg); }
.route-two { top: 31%; left: 37%; width: 50%; transform: rotate(36deg); opacity: 0.58; }
.art-node { position: absolute; z-index: 2; width: 12px; height: 12px; border: 3px solid var(--red); border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px rgb(255 255 255 / 82%); }
.node-one { top: 52%; left: 15%; }.node-two { top: 26%; left: 60%; }.node-three { top: 62%; right: 13%; }
.art-label { position: absolute; z-index: 3; right: 24px; bottom: 22px; display: flex; align-items: flex-end; gap: 28px; }
.art-label span, .art-index { font: 10px var(--mono); letter-spacing: 0; }
.art-label strong { font-size: 25px; line-height: 0.95; }
.art-index { position: absolute; top: 22px; left: 24px; color: rgb(255 255 255 / 76%); }
.workspace { display: grid; grid-template-columns: 285px minmax(0, 1fr); border: 1px solid var(--line); background: var(--white); box-shadow: 0 16px 44px rgb(37 31 27 / 5%); scroll-margin-top: 20px; }
.endpoint-list { display: flex; flex-direction: column; min-width: 0; padding: 24px 0 0; border-right: 1px solid var(--line); }
.list-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 22px 16px; color: #5a5b5c; font: 500 11px var(--mono); text-transform: uppercase; }
.endpoint-count { color: #aaa5a1; }
.endpoint { display: grid; grid-template-columns: 39px minmax(0, 1fr) 14px; align-items: center; gap: 10px; width: 100%; min-height: 69px; padding: 0 18px 0 22px; border: 0; border-top: 1px solid #f0eeeb; background: transparent; color: inherit; text-align: left; cursor: pointer; transition: background 140ms ease; }
.endpoint:hover { background: #faf8f6; }
.endpoint.active { background: var(--red-pale); box-shadow: inset 3px 0 var(--red); }
.method { display: inline-grid; min-width: 36px; height: 21px; place-items: center; background: #e8f2ef; color: #176c58; font: 500 9px var(--mono); }
.endpoint-info { display: grid; gap: 5px; min-width: 0; }
.endpoint-info strong { font-size: 13px; font-weight: 600; }
.endpoint-info small { overflow: hidden; color: #8b8986; font: 10px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.arrow { color: #aaa4a0; font-size: 14px; }
.active .arrow { color: var(--red); }
.list-footer { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 20px 22px; border-top: 1px solid var(--line); color: #777; font-size: 10px; }
.footer-dot { width: 6px; height: 6px; background: var(--red); }
.tester { min-width: 0; padding: 27px 30px 30px; }
.tester-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-kicker { color: #898581; font-size: 10px; }
.tester-top h2 { margin: 5px 0 0; font-size: 22px; font-weight: 600; }
.status-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid #e8e5e2; color: #666; font-size: 10px; }
.status-dot { width: 6px; height: 6px; }
.request-line { display: flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 21px; padding: 0 13px; border: 1px solid var(--line); background: #fbfaf9; }
.request-line code { overflow: hidden; color: #414344; font: 11px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.field-group { min-height: 83px; padding: 18px 0 16px; }
.field-group label { display: block; margin-bottom: 7px; color: #676766; font-size: 11px; font-weight: 600; }
.field-group input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #dcd9d6; border-radius: 0; outline: none; background: var(--white); color: var(--ink); font: 11px var(--mono); }
.field-group input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgb(214 43 50 / 10%); }
.field-group input[aria-invalid="true"] { border-color: var(--red); }
.field-hint { display: block; margin-top: 6px; color: #92908d; font: 10px var(--mono); }
.run-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-width: 158px; height: 42px; padding: 0 13px 0 16px; border: 0; background: var(--red); color: var(--white); font: 600 12px var(--sans); cursor: pointer; transition: background 140ms ease; }
.run-button:hover { background: var(--red-dark); }
.run-icon { font-size: 16px; }
.response-header { display: flex; align-items: center; justify-content: space-between; margin-top: 29px; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
#response-time { color: #83817e; font: 10px var(--mono); }
.response-output { min-height: 174px; max-height: 330px; overflow: auto; margin: 0; padding: 17px 16px; background: #202325; color: #d7e5df; font: 11px/1.75 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.response-output.placeholder { display: flex; align-items: center; gap: 10px; color: #929998; }
.placeholder-mark { color: #f06b68; font-size: 18px; }
.response-output.error { color: #ffaaa6; }
.about { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 70px; padding: 90px 0 82px; scroll-margin-top: 20px; }
.about-heading h2 { margin: 19px 0 0; font-size: 42px; line-height: 1.02; font-weight: 600; }
.about-lede { max-width: 650px; margin: 0 0 24px; color: #535556; font-size: 17px; line-height: 1.55; }
.about-points { border-top: 1px solid var(--line); }
.about-point { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.point-number { padding-top: 3px; color: var(--red); font: 11px var(--mono); }
.about-point h3 { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.about-point p { max-width: 560px; margin: 0; color: #777878; font-size: 12px; line-height: 1.65; }
.about-note { margin: 15px 0 0; color: #918d89; font-size: 10px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; border-top: 1px solid var(--line); }
.footer-brand { font-size: 14px; }
.footer-brand .brand-mark { font-size: 14px; }
.site-footer p { margin: 0; color: #888580; font-size: 10px; }
.site-footer > a:last-child { font-size: 11px; }

@media (max-width: 900px) {
  .shell { width: min(100% - 40px, 720px); }
  .topbar { flex-wrap: wrap; padding: 18px 0; }
  .topnav { order: 3; width: 100%; justify-content: center; padding-top: 13px; border-top: 1px solid var(--line); }
  .connection { margin-left: auto; }
  .intro { grid-template-columns: 1fr 0.72fr; gap: 30px; padding: 58px 0; }
  h1 { font-size: 48px; }
  .intro-art { min-height: 250px; }
  .workspace { grid-template-columns: 240px minmax(0, 1fr); }
  .tester { padding: 24px 22px; }
  .about { grid-template-columns: 0.72fr 1.28fr; gap: 38px; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .topbar { min-height: auto; gap: 14px; }
  .brand { font-size: 16px; }
  .connection { padding-left: 12px; font-size: 10px; }
  .topnav { gap: 24px; justify-content: flex-start; overflow: auto; }
  .topnav a { font-size: 12px; }
  .intro { grid-template-columns: 1fr; gap: 27px; padding: 48px 0 42px; }
  h1 { margin-top: 18px; font-size: 45px; }
  .lede { font-size: 14px; }
  .intro-art { min-height: 190px; }
  .workspace { grid-template-columns: 1fr; }
  .endpoint-list { border-right: 0; }
  .list-heading { padding-top: 20px; }
  .endpoint { min-height: 58px; }
  .list-footer { display: none; }
  .tester { padding: 25px 18px 20px; border-top: 1px solid var(--line); }
  .tester-top h2 { font-size: 20px; }
  .response-output { min-height: 150px; }
  .about { grid-template-columns: 1fr; gap: 28px; padding: 64px 0; }
  .about-heading h2 { font-size: 38px; }
  .about-lede { font-size: 15px; }
  .site-footer { flex-wrap: wrap; justify-content: flex-start; padding: 19px 0; gap: 9px 20px; }
  .site-footer p { order: 3; width: 100%; }
}

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

/* Shipment tracking experience */
:root { --red: #d62b32; --red-dark: #a91f27; }
.shell { width: min(1180px, calc(100% - 64px)); }
.topbar { min-height: 76px; }
.brand { gap: 11px; font-size: 19px; }
.brand-mark { display: grid; width: 31px; height: 31px; place-items: center; background: var(--red); color: white; font-size: 18px; font-weight: 700; }
.brand-light { font-weight: 400; }
.topnav { margin-left: auto; }
.header-action { display: inline-flex; align-items: center; gap: 14px; min-height: 39px; padding: 0 13px; background: var(--red); color: white; font-size: 12px; font-weight: 600; text-decoration: none; transition: background 150ms ease; }
.header-action:hover, .track-button:hover, .carrier-button:hover { background: var(--red-dark); }
.intro { grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.85fr); gap: 64px; padding: 78px 0 82px; }
h1 { font-size: 60px; line-height: 1.02; }
.lede { max-width: 440px; }
.trust-line { display: flex; align-items: center; gap: 9px; margin-top: 24px; color: #686968; font-size: 11px; }
.trust-mark, .handoff-check { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: #e4f0ec; color: #176c58; font-size: 11px; font-weight: 700; }
.tracking-panel { min-width: 0; padding: 29px; border-top: 3px solid var(--red); background: white; box-shadow: 0 16px 48px rgb(37 31 27 / 8%); }
.tracking-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.tracking-heading h2 { margin: 6px 0 0; font-size: 22px; font-weight: 600; }
.parcel-symbol { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); color: var(--red); font-size: 21px; }
.tracking-panel form > label { display: block; margin-bottom: 8px; color: #4e5050; font-size: 11px; font-weight: 600; }
.tracking-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.tracking-input-row input { min-width: 0; height: 48px; padding: 0 13px; border: 1px solid #d9d7d4; border-radius: 0; outline: none; background: white; color: var(--ink); font: 13px var(--mono); text-transform: uppercase; }
.tracking-input-row input::placeholder { color: #a09d99; text-transform: none; }
.tracking-input-row input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgb(214 43 50 / 10%); }
.tracking-input-row input[aria-invalid="true"] { border-color: var(--red); }
.track-button, .carrier-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 48px; padding: 0 14px; border: 0; background: var(--red); color: white; font: 600 12px var(--sans); text-decoration: none; cursor: pointer; transition: background 150ms ease; }
.input-help, .input-error { margin: 8px 0 0; font-size: 10px; line-height: 1.5; }
.input-help { color: #85817d; }
.input-error { color: var(--red-dark); }
.input-error[hidden], .handoff[hidden] { display: none; }
.carrier-note { display: flex; align-items: center; gap: 9px; margin-top: 22px; padding-top: 17px; border-top: 1px solid #efedeb; color: #777; font-size: 10px; }
.carrier-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.handoff { margin-top: 18px; padding: 15px; border: 1px solid #e5e2df; background: #fbfaf9; }
.handoff-copy { display: flex; align-items: center; gap: 10px; }
.handoff-copy strong { display: block; font-size: 12px; }
.handoff-copy p { margin: 3px 0 0; color: #686968; font: 10px var(--mono); }
.handoff-check { flex: none; }
.carrier-button { width: 100%; min-height: 42px; margin-top: 14px; }
.handoff-help { margin: 10px 0 0; color: #777; font-size: 10px; line-height: 1.5; }
.how-it-works { display: grid; grid-template-columns: minmax(220px, 0.7fr) 1.3fr; gap: 72px; padding: 68px 0 75px; border-top: 1px solid var(--line); }
.section-intro h2 { margin: 15px 0 0; font-size: 34px; line-height: 1.08; font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; flex-direction: column; gap: 20px; padding-top: 3px; border-top: 2px solid var(--red); }
.step-number { padding-top: 13px; color: var(--red); font: 11px var(--mono); }
.steps h3 { margin: 0 0 7px; font-size: 13px; font-weight: 600; }
.steps p { margin: 0; color: #777878; font-size: 11px; line-height: 1.6; }
.site-footer { min-height: 72px; }
.footer-brand { font-size: 15px; }
.footer-brand .brand-mark { width: 26px; height: 26px; font-size: 15px; }
.site-footer p { max-width: 490px; line-height: 1.5; }

@media (max-width: 900px) {
  .shell { width: min(100% - 40px, 720px); }
  .intro { grid-template-columns: 1fr 0.9fr; gap: 28px; padding: 58px 0; }
  h1 { font-size: 47px; }
  .tracking-panel { padding: 23px; }
  .tracking-input-row { grid-template-columns: 1fr; }
  .track-button { width: 100%; }
  .how-it-works { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .topbar { min-height: auto; gap: 13px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 28px; height: 28px; }
  .topnav { order: 3; gap: 20px; justify-content: flex-start; overflow: auto; }
  .topnav a { flex: none; font-size: 11px; }
  .header-action { min-height: 34px; gap: 9px; padding: 0 10px; font-size: 10px; }
  .intro { grid-template-columns: 1fr; gap: 28px; padding: 46px 0 48px; }
  h1 { margin-top: 18px; font-size: 43px; }
  .lede { font-size: 14px; }
  .tracking-panel { padding: 22px 18px; }
  .tracking-heading { margin-bottom: 22px; }
  .tracking-heading h2 { font-size: 20px; }
  .how-it-works { gap: 28px; padding: 51px 0 58px; }
  .section-intro h2 { font-size: 31px; }
  .steps { grid-template-columns: 1fr; gap: 17px; }
  .steps li { display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 8px; padding: 12px 0 0; }
  .step-number { padding-top: 1px; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 18px 0; gap: 11px; }
  .site-footer p { order: 3; }
}