/* PostBridge landing — evidence-first reframe.
   Postmark Modern: ink on paper, hairlines carry structure, JetBrains Mono is
   the postal-system voice, postmark red = live state only, green = delivered/
   paid status only. Tokens come from /assets/pb-tokens.css. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:root {
  /* Postmark Modern motion constitution: one curve, three durations. */
  --mo-ease: cubic-bezier(0.2, 0, 0, 1);
  --mo-fast: 120ms;
  --mo-med: 180ms;
  --mo-slow: 240ms;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--fg-1);
  background: var(--bg-canvas);
  line-height: var(--lh-base);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p a, li a, td a { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--pb-ink); outline-offset: 2px; }
.dark :focus-visible { outline-color: #ffffff; }

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  transform: translateY(-160%);
  background: var(--pb-ink); color: #ffffff;
  padding: 8px 12px; border-radius: var(--radius-sm); text-decoration: none;
}
.skip:focus { transform: translateY(0); }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

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

/* ---- Type primitives ---- */
.mono {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow, .card-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pb-gray-6); margin: 0 0 14px;
}
h1, h2, h3 { margin: 0; color: var(--pb-ink); text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.06; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 700; letter-spacing: -0.015em; }
.lead { font-size: 18px; color: var(--pb-gray-7); max-width: 62ch; margin: 18px 0 0; }
.section { padding: 84px 0; }
.section.tint { background: var(--pb-gray-1); }
.section-head { max-width: 900px; }

/* ---- Dark sections ---- */
.dark { background: #0a0a0a; color: #d8d7d3; }
.dark h2, .dark h3 { color: #f5f4f1; }
.dark .lead { color: #b3b1ac; }
.dark .eyebrow, .dark .card-eyebrow { color: #8f8d88; }

/* ---- Buttons: 2px radius, one filled primary per view ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  padding: 15px 24px; border-radius: var(--radius-sm);
  text-decoration: none; border: 1px solid transparent;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.btn.primary { background: var(--pb-ink); color: #ffffff; }
.btn.primary:hover { background: var(--pb-gray-8); }
.btn.ghost { background: #ffffff; color: var(--pb-ink); border-color: var(--pb-gray-4); }
.btn.ghost:hover { border-color: var(--pb-ink); }
.dark .btn.ghost { background: transparent; color: #f5f4f1; border-color: #4a4a47; }
.dark .btn.ghost:hover { border-color: #f5f4f1; }
.btn.block { width: 100%; }

.text-link {
  font-weight: 700; font-size: 14.5px; color: var(--pb-ink);
  text-decoration: underline; text-underline-offset: 3px;
}

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff; border-bottom: 1px solid var(--pb-gray-3);
}
.nav {
  height: 68px; display: flex; align-items: center; gap: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 17px; letter-spacing: 0.12em;
  color: var(--pb-ink); text-decoration: none; white-space: nowrap;
}
.brand .postmark { width: 9px; height: 9px; background: var(--pb-postmark); border-radius: 1px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--pb-gray-7);
  text-decoration: none; white-space: nowrap;
}
.nav-links a:hover { color: var(--pb-ink); }
.nav .btn { padding: 12px 20px; }
.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 0; padding: 10px; cursor: pointer;
}
.nav-toggle .bar { display: block; width: 20px; height: 2px; background: var(--pb-ink); margin: 5px 0; }

@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 68px;
    background: #ffffff; border-bottom: 1px solid var(--pb-gray-3);
    flex-direction: column; gap: 0; padding: 8px 24px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-top: 1px solid var(--pb-gray-2); font-size: 16px; }
  .nav-links a:first-child { border-top: 0; }
  .nav-toggle { display: block; }
  .nav { gap: 14px; }
}

/* ---- Hero ---- */
.hero { padding: 96px 0 100px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 56px; align-items: start; }
.hero-copy .lead { font-size: 19px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-trust {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em; color: var(--pb-gray-6);
  margin: 22px 0 0; max-width: 60ch; line-height: 1.8;
}
.hero-audience { color: var(--pb-gray-7); font-size: 15.5px; margin: 18px 0 0; max-width: 58ch; }

/* Job-record card (6px sheet radius) */
.job-card {
  border: 1px solid var(--pb-gray-3); border-radius: 6px;
  background: #ffffff; padding: 28px;
}
.job-card h3 { font-size: 24px; margin: 0 0 10px; }
.job-card .card-lead { color: var(--pb-gray-7); font-size: 14.5px; margin: 0 0 18px; }
.doc-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 14px 0 10px; border-top: 1px solid var(--pb-gray-3);
}
.doc-row strong { font-size: 16px; }
.doc-meta { color: var(--pb-gray-6); font-size: 13px; white-space: nowrap; }
.status-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 0; border-top: 1px solid var(--pb-gray-2);
}
.status-label { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--pb-gray-8); }
.status-mark { width: 8px; height: 8px; background: var(--pb-ink); border-radius: 1px; flex: none; }
.status-state {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; color: var(--pb-gray-6); white-space: nowrap;
}
.status-row.live .status-mark { background: var(--pb-postmark); }
.status-row.live .status-state, .status-row.live .status-label { color: var(--pb-postmark); }
.carrier-panel {
  border: 1px solid var(--pb-gray-3); border-radius: 4px;
  background: var(--pb-gray-1); padding: 18px; margin: 18px 0 20px;
}
.carrier-logos { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.carrier-logos .tile {
  flex: 1 1 90px; min-width: 90px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: #ffffff; border: 1px solid var(--pb-gray-3); border-radius: 4px; padding: 8px 12px;
}
.carrier-logos img { max-height: 26px; width: auto; }

/* ---- Decision signals: a ruled ledger row. The postal-system mono
   voice moves onto the figures themselves at display scale; hairlines
   divide the columns like a meter strip. ---- */
.signals { border-top: 1px solid var(--pb-gray-3); border-bottom: 1px solid var(--pb-gray-3); background: var(--pb-gray-1); }
.signals-grid { display: grid; grid-template-columns: repeat(5, 1fr); padding: 56px 0; }
.signal { padding: 0 26px; }
.signal:first-child { padding-left: 0; }
.signal:last-child { padding-right: 0; }
.signal + .signal { border-left: 1px solid var(--pb-gray-3); }
.signal .figure {
  display: flex; align-items: flex-end; gap: 10px; min-height: 54px;
  font-family: var(--font-mono); font-weight: 700; font-size: 54px;
  line-height: 1; letter-spacing: -0.02em; color: var(--pb-ink);
  font-variant-numeric: tabular-nums;
}
.signal .k {
  display: block; margin-top: 16px;
  font-size: 17px; font-weight: 650; letter-spacing: -0.01em; color: var(--pb-ink);
}
.signal p { margin: 8px 0 0; color: var(--pb-gray-7); font-size: 14.5px; }

/* ---- Cards ---- */
.card-grid { display: grid; gap: 18px; margin-top: 40px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
.card {
  border: 1px solid var(--pb-gray-3); border-radius: 4px; background: #ffffff;
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.card h3 { font-size: 20px; }
.card p { margin: 0; color: var(--pb-gray-7); font-size: 14.5px; }
.card .text-link { margin-top: auto; padding-top: 6px; }
.icon-tile {
  width: 40px; height: 40px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pb-gray-2); color: var(--pb-gray-8);
}
.icon-tile svg { width: 20px; height: 20px; }
.step-num {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; color: var(--pb-gray-6);
}
.dark .card { background: #161615; border-color: #33332f; }
.dark .card h3 { color: #f5f4f1; }
.dark .card p { color: #a9a7a2; }
.dark .icon-tile { background: #262623; color: #d8d7d3; }
.section-cta { margin-top: 36px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.section-note { color: var(--pb-gray-6); font-size: 14px; margin: 22px 0 0; max-width: 68ch; }

/* ---- Industries panel + chips ---- */
.industry-panel {
  border: 1px solid var(--pb-gray-3); border-radius: 6px;
  padding: 30px; margin-top: 22px; background: var(--pb-gray-1);
}
.industry-panel h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 20px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--pb-gray-7);
  background: #ffffff; border: 1px solid var(--pb-gray-3); border-radius: 2px;
  padding: 8px 14px; white-space: nowrap;
}

/* ---- Customers ---- */
.customer-card { align-items: flex-start; }
/* Vector logos, tight-cropped: per-mark heights keep the optical
   hierarchy, margins center each in a common 44px zone so the card
   titles align across the row. */
.customer-card img { width: auto; }
.customer-card .logo-malik { height: 36px; margin: 4px 0 8px; }
.customer-card .logo-koffex { height: 22px; margin: 11px 0 15px; }
.customer-card .logo-rudy { height: 27px; margin: 8px 0 13px; }
.customer-card .logo-moz { height: 26px; margin: 9px 0 13px; }
.customer-card .sector {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--pb-gray-6);
}

/* ---- Split section (marketing) ---- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 56px; align-items: start; margin-top: 8px; }
.split .body-copy { color: var(--pb-gray-7); font-size: 16px; max-width: 58ch; margin: 18px 0 0; }
.tool-logos { display: flex; gap: 12px; margin-top: 14px; }
.tool-logos .tile {
  flex: 1; height: 52px; display: flex; align-items: center; justify-content: center;
  background: #ffffff; border: 1px solid var(--pb-gray-3); border-radius: 4px; padding: 10px 14px;
}
.tool-logos img { max-height: 22px; width: auto; }

/* ---- Trust badges ---- */
.badge {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid #3d5c49; color: #6fae8b;
  border-radius: 2px; padding: 3px 8px; align-self: flex-start;
}

/* ---- Pricing ---- */
.price-band {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  background: var(--pb-ink); color: #f5f4f1;
  border-radius: 6px; padding: 30px 34px; margin-top: 34px;
}
.price-band .k {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: #8f8d88;
}
.price-band h3 { color: #ffffff; font-size: clamp(22px, 2.8vw, 32px); margin: 8px 0 6px; font-variant-numeric: tabular-nums; }
.price-band p { margin: 0; color: #b3b1ac; font-size: 14.5px; max-width: 64ch; }
.price-band .btn { flex: none; background: #ffffff; color: var(--pb-ink); }
.price-band .btn:hover { background: var(--pb-gray-2); }

.country-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 8px; }
.country-summary .card h3 { font-size: 19px; }
.scope-note {
  border: 1px solid var(--pb-gray-3); border-radius: 4px; background: var(--pb-gray-1);
  padding: 18px 22px; margin-top: 18px; font-size: 14.5px; color: var(--pb-gray-7);
}
.scope-note .k {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--pb-gray-6);
  display: block; margin-bottom: 6px;
}
.country-block {
  border: 1px solid var(--pb-gray-3); border-radius: 6px; background: #ffffff;
  margin-top: 22px; overflow: hidden;
}
.country-block summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 24px 28px;
}
.country-block summary::-webkit-details-marker { display: none; }
.country-block summary h3 { font-size: 26px; }
.country-block summary .sub {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--pb-gray-6); margin-top: 4px;
}
.country-block summary .services {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--pb-gray-6); white-space: nowrap;
}
.price-table-wrap { overflow-x: auto; padding: 0 28px 24px; }
table.price-table { border-collapse: collapse; width: 100%; min-width: 560px; }
.price-table th {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--pb-gray-6);
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--pb-gray-3);
}
.price-table th.num, .price-table td.num {
  text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.price-table td { padding: 14px; border-bottom: 1px solid var(--pb-gray-2); vertical-align: top; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tr:nth-child(even) td { background: var(--pb-gray-1); }
.price-table .svc { font-weight: 700; color: var(--pb-ink); font-size: 15px; }
.price-table .svc-note { color: var(--pb-gray-6); font-size: 13px; margin-top: 3px; max-width: 58ch; }
.price-table td.num { font-family: var(--font-mono); font-weight: 600; font-size: 14.5px; color: var(--pb-ink); }

.proof-notes { margin-top: 26px; border: 1px solid var(--pb-gray-3); border-radius: 6px; padding: 28px; background: #ffffff; }
.proof-notes h3 { font-size: 21px; margin: 0 0 16px; }
.proof-cols { columns: 2; column-gap: 44px; }
.proof-cols p { break-inside: avoid; margin: 0 0 14px; color: var(--pb-gray-7); font-size: 14.5px; max-width: 68ch; }
.proof-cols strong { color: var(--pb-ink); }

/* ---- Access ---- */
.access-card { align-items: flex-start; justify-content: space-between; min-height: 128px; }
.access-card img { height: 44px; width: auto; }
.access-card.soon { opacity: 0.55; }
.soon-tag {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--pb-gray-6);
}
.wordmark-line { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: 0.12em; font-size: 15px; color: var(--pb-ink); }
.wordmark-line .postmark { width: 8px; height: 8px; background: var(--pb-postmark); border-radius: 1px; }

/* ---- Developer ---- */
.dev-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.dev-hub-card { border: 1px solid #3d5c49; }

/* ---- FAQ ---- */
.faq-list { margin-top: 34px; border-top: 1px solid var(--pb-gray-3); max-width: 900px; }
.faq-item { border-bottom: 1px solid var(--pb-gray-3); padding: 22px 0; }
.faq-item h3 { font-size: 17.5px; margin: 0 0 8px; }
.faq-item p { margin: 0; color: var(--pb-gray-7); font-size: 15px; max-width: 72ch; }

/* ---- Final CTA + footer ---- */
.center { text-align: center; }
.center .lead, .center .hero-actions, .center .micro { margin-left: auto; margin-right: auto; }
.center .hero-actions { justify-content: center; }
.micro {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em; color: var(--pb-gray-6); margin: 22px 0 0;
}
.footer { background: #0a0a0a; color: #a9a7a2; padding: 64px 0 40px; }
.footer a { color: #d8d7d3; text-decoration: none; }
.footer a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h3 {
  color: #f5f4f1; font-size: 13px; font-weight: 700; margin: 0 0 14px;
  letter-spacing: 0.04em;
}
.footer-grid a { display: block; font-size: 14px; padding: 5px 0; }
.footer-grid p { font-size: 14px; margin: 12px 0 0; max-width: 34ch; }
.footer .brand { color: #ffffff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  border-top: 1px solid #262623; margin-top: 44px; padding-top: 24px; font-size: 13px;
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Motion ----------------------------------------------------------
   All motion is gated behind body.motion-ready, which the page script adds
   only when prefers-reduced-motion is NOT set and IntersectionObserver
   exists. Without JS or with reduced motion, everything renders static.
   Properties: transform + opacity only. One curve, 120/180/240ms. */

@keyframes mo-rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@keyframes mo-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
/* The postmark stamp: the record's marks pulse in sequence as the
   live-mail status advances (design spec: "row marks cycle"). */
@keyframes mo-stamp {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.7); background: var(--pb-postmark); }
  100% { transform: scale(1); }
}

/* Scroll reveal for below-the-fold sections */
.motion-ready .reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--mo-slow) var(--mo-ease), transform var(--mo-slow) var(--mo-ease); }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }

/* Staggered child entrances inside a revealed container */
.motion-ready .stagger > * { opacity: 0; transform: translateY(10px); transition: opacity var(--mo-slow) var(--mo-ease), transform var(--mo-slow) var(--mo-ease); }
.motion-ready .reveal.is-visible .stagger > * { opacity: 1; transform: none; }
.motion-ready .reveal.is-visible .stagger > *:nth-child(1) { transition-delay: 0ms; }
.motion-ready .reveal.is-visible .stagger > *:nth-child(2) { transition-delay: 60ms; }
.motion-ready .reveal.is-visible .stagger > *:nth-child(3) { transition-delay: 120ms; }
.motion-ready .reveal.is-visible .stagger > *:nth-child(4) { transition-delay: 180ms; }
.motion-ready .reveal.is-visible .stagger > *:nth-child(5) { transition-delay: 240ms; }
.motion-ready .reveal.is-visible .stagger > *:nth-child(6) { transition-delay: 300ms; }
.motion-ready .reveal.is-visible .stagger > *:nth-child(n+7) { transition-delay: 360ms; }

/* Campaign-card statuses enter top to bottom (design spec) */
.motion-ready .reveal .job-card .status-row { opacity: 0; transform: translateY(-10px); transition: opacity var(--mo-slow) var(--mo-ease), transform var(--mo-slow) var(--mo-ease); }
.motion-ready .reveal.is-visible .job-card .status-row { opacity: 1; transform: none; }
.motion-ready .reveal.is-visible .job-card .status-row:nth-of-type(1) { transition-delay: 80ms; }
.motion-ready .reveal.is-visible .job-card .status-row:nth-of-type(2) { transition-delay: 160ms; }
.motion-ready .reveal.is-visible .job-card .status-row:nth-of-type(3) { transition-delay: 240ms; }
.motion-ready .reveal.is-visible .job-card .status-row:nth-of-type(4) { transition-delay: 320ms; }
.motion-ready .reveal.is-visible .job-card .status-row:nth-of-type(5) { transition-delay: 400ms; }

/* Hero: one orchestrated page-load — copy rises line by line, the job
   record follows, then its statuses file in. Runs once. */
.motion-ready .hero-copy > * { animation: mo-rise var(--mo-slow) var(--mo-ease) both; }
.motion-ready .hero-copy > *:nth-child(1) { animation-delay: 0ms; }
.motion-ready .hero-copy > *:nth-child(2) { animation-delay: 60ms; }
.motion-ready .hero-copy > *:nth-child(3) { animation-delay: 120ms; }
.motion-ready .hero-copy > *:nth-child(4) { animation-delay: 180ms; }
.motion-ready .hero-copy > *:nth-child(5) { animation-delay: 240ms; }
.motion-ready .hero-copy > *:nth-child(6) { animation-delay: 300ms; }
.motion-ready .hero-grid > .job-card { animation: mo-rise var(--mo-slow) var(--mo-ease) 200ms both; }
.motion-ready .hero-grid > .job-card .status-row { animation: mo-rise var(--mo-slow) var(--mo-ease) both; }
.motion-ready .hero-grid > .job-card .status-row:nth-of-type(1) { animation-delay: 320ms; }
.motion-ready .hero-grid > .job-card .status-row:nth-of-type(2) { animation-delay: 380ms; }
.motion-ready .hero-grid > .job-card .status-row:nth-of-type(3) { animation-delay: 440ms; }
.motion-ready .hero-grid > .job-card .status-row:nth-of-type(4) { animation-delay: 500ms; }
.motion-ready .hero-grid > .job-card .status-row:nth-of-type(5) { animation-delay: 560ms; }
.motion-ready .hero-grid > .job-card .carrier-logos .tile { animation: mo-rise var(--mo-slow) var(--mo-ease) both; }
.motion-ready .hero-grid > .job-card .carrier-logos .tile:nth-child(1) { animation-delay: 620ms; }
.motion-ready .hero-grid > .job-card .carrier-logos .tile:nth-child(2) { animation-delay: 680ms; }
.motion-ready .hero-grid > .job-card .carrier-logos .tile:nth-child(3) { animation-delay: 740ms; }

/* Traveling postmark pulse (JS moves .pulse down the marks) */
.motion-ready .status-mark.pulse { animation: mo-stamp 360ms var(--mo-ease); }

/* Customer logo carousel (design spec: "horizontal logo carousel ·
   pauses on hover · reduced-motion shows a static row"). Without JS or
   with reduced motion the clone set stays hidden and the first set
   renders as today's static grid. */
@keyframes mo-drift { to { transform: translateX(-50%); } }
.marquee-set.clone { display: none; }
.motion-ready .customer-marquee { overflow: hidden; margin-top: 40px; }
.motion-ready .marquee-track { display: flex; width: max-content; animation: mo-drift 64s linear infinite; }
.motion-ready .customer-marquee .marquee-set { display: flex; gap: 18px; padding-right: 18px; margin-top: 0; }
.motion-ready .customer-marquee .marquee-set .customer-card { width: 300px; flex: none; }
.motion-ready .customer-marquee .marquee-set.clone { display: flex; }
.motion-ready .customer-marquee:hover .marquee-track,
.motion-ready .customer-marquee:focus-within .marquee-track { animation-play-state: paused; }

/* Header hairline appears only once the page scrolls (JS toggles .at-top) */
.motion-ready .site-header { transition: border-color var(--mo-med) var(--mo-ease); }
.motion-ready .site-header.at-top { border-bottom-color: transparent; }

/* Micro-interactions: mechanical, no lifts */
.btn { transition: background-color var(--mo-fast) var(--mo-ease), border-color var(--mo-fast) var(--mo-ease), transform var(--mo-fast) var(--mo-ease); }
.btn:active { transform: translateY(1px); }
.nav-links a, .text-link, .footer a { transition: color var(--mo-fast) var(--mo-ease); }
.motion-ready details[open] .price-table-wrap { animation: mo-fade var(--mo-med) var(--mo-ease); }
.motion-ready .nav-links.open { animation: mo-fade var(--mo-med) var(--mo-ease); }

/* Reduced motion: hard floor — nothing moves, nothing is hidden. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .stagger > *, .status-row { opacity: 1 !important; transform: none !important; }
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .hero-grid, .split, .dev-grid { grid-template-columns: 1fr; gap: 44px; }
  .cols-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 60px 0; }
  .hero { padding: 64px 0; }
  .cols-3, .cols-4, .cols-5 { grid-template-columns: repeat(2, 1fr); }
  .signals-grid { grid-template-columns: repeat(2, 1fr); padding: 44px 0; }
  .signal { padding: 0 24px; }
  .signal:nth-child(odd) { border-left: 0; padding-left: 0; }
  .signal:nth-child(even) { padding-right: 0; }
  .signal:nth-child(n+3) { border-top: 1px solid var(--pb-gray-3); padding-top: 28px; margin-top: 28px; }
  .signal:nth-child(5) { grid-column: span 2; }
  .signal .figure { font-size: 44px; min-height: 44px; }
  .country-summary { grid-template-columns: 1fr; gap: 12px; }
  .proof-cols { columns: 1; }
  .price-band { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cols-3, .cols-4, .cols-5 { grid-template-columns: 1fr; }
  .signals-grid { grid-template-columns: 1fr; }
  .signal, .signal:nth-child(even) { padding-left: 0; padding-right: 0; border-left: 0; }
  .signal:nth-child(5) { grid-column: auto; }
  .signal:nth-child(n+2) { border-top: 1px solid var(--pb-gray-3); padding-top: 24px; margin-top: 24px; }
  .signal .figure { font-size: 38px; min-height: 38px; }
  .container { width: calc(100% - 40px); }
  .job-card { padding: 20px; }
  .hero-actions .btn { width: 100%; }
  .section-cta .btn { width: 100%; }
  .price-table-wrap { padding: 0 16px 18px; }
  .country-block summary { padding: 20px 16px; }
}
