* {
  box-sizing: border-box;
}

:root {
  --page: #f2f1f1;
  --ink: #202124;
  --muted: #8a8a8a;
  --orange: #f35f00;
  --card: rgba(255, 255, 255, 0.36);
  --background-art-width: 2560px;
  color-scheme: light;
  background: var(--page);
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
  /* Clip the 2560px background bleed. `clip` (not `hidden`) so no scroll
     container is created — ScrollTrigger pins .proof-page (dash beat) and
     pinned elements must not sit in an overflow context. */
  overflow-x: clip;
}

body {
  background: var(--page);
}

.google-sans-flex-proof {
  font-family: "Google Sans Flex", Arial, Helvetica, sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "slnt" 0,
    "wdth" 100,
    "GRAD" 0,
    "ROND" 0;
}

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

p,
h1,
h2,
h3,
dl,
dd,
ol,
ul {
  margin: 0;
}

.proof-page {
  display: flex;
  justify-content: center;
  width: 100%;
  background: var(--page);
}

.proof-frame {
  isolation: isolate;
  position: relative;
  width: 1440px;
  min-width: 1440px;
  min-height: 9258px;
}

.proof-frame::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 50%;
  width: var(--background-art-width);
  height: 9258px;
  pointer-events: none;
  /* Old baked background removed — rebuilding from Figma 21:4000 (clean slate). */
  background: none;
  transform: translateX(-50%);
}

.proof-frame > * {
  z-index: 1;
}

/* Layered background rebuilt from Figma 21:4000 "Background and assets". */
.proof-frame > .proof-bg {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 50%;
  width: 2560px;
  height: 9258px;
  transform: translateX(-50%);
  overflow: hidden;
  isolation: isolate;
  background: #f2f1f1;
  pointer-events: none;
}
/* The static art (gradient blobs, bottom globe, fade bands) baked to one flat
   image — live blend modes + backdrop blurs were unusably slow outside Chrome.
   Regenerate via scripts/proof-bg-bake.html. */
.proof-bg .bg-baked {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 2560px;
  height: 9258px;
}

/* Background review mode: keep the foreground markup intact, but hide it
   (the rebuilt .proof-bg layer stays visible). */
.proof-frame--background-only > *:not(.proof-bg) {
  display: none !important;
}

.top-nav {
  position: fixed;
  top: 40px;
  /* Centre to the 1440px content stage, matching the core-capabilities inset
     (73px). Holds for any viewport width since the stage is always at 50%. */
  left: calc(50% - 647px);
  width: 1294px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 48px;
}

.brand-pill,
.nav-pill,
.button,
.status-pill,
.event-badge {
  border-radius: 999px;
}

.brand-pill,
.nav-pill {
  display: flex;
  align-items: center;
  height: 48px;
  background: rgba(255, 255, 255, 0.7);
  /* Same frosted blur as the cards (blur the content scrolling behind). */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand-pill {
  justify-content: center;
  gap: 8px;
  width: 205px;
  padding: 0 24px;
  /* Same background as the nav-pill (shared rule above sets 0.7). */
  letter-spacing: 1.4px;
  font-size: 14px;
  font-weight: 500;
}

.nav-pill {
  gap: 0;
  width: 343px;
  padding: 5px;
}

.nav-pill a {
  padding: 10px 20px;
  color: #404040;
  font-size: 14px;
}

/* Request-a-Demo CTA: pushed to the right, fades in once you scroll past the
   hero (proof-route.js toggles .is-visible). visibility keeps layout stable. */
.nav-cta {
  margin-left: auto;
  height: 48px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero {
  position: absolute;
  top: 382px;
  left: 192px;
  width: 672px;
}

.eyebrow,
.card-label {
  color: rgba(32, 33, 36, 0.7);
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.14px;
  text-transform: uppercase;
}

.hero h1,
.section-intro h2,
.timeline-copy h2,
.demo-section h2 {
  color: #000;
  font-size: 60px;
  font-weight: 500;
  /* 64px (matches the hero) — at 56px the masked line-reveal clipped ascenders. */
  line-height: 64px;
  letter-spacing: 0;
}

.hero h1 {
  width: 672px;
  margin-top: 16px;
}

.hero-copy {
  width: 460px;
  margin-top: 16px;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
}

.button-row {
  display: flex;
  gap: 10px;
  margin-top: 66px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.button-primary {
  background: var(--orange);
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: #1a1a1a;
}

.button-dark {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
}

.full {
  width: 100%;
}

.deficit-section {
  position: absolute;
  top: 1391px;
  left: 192px;
  display: grid;
  grid-template-columns: 426px 426px;
  gap: 204px;
}

.deficit-copy {
  padding-top: 66px;
}

.stat-line {
  margin-top: 14px;
  font-size: 140px;
  font-weight: 700;
  /* line-height must be >= the font size, otherwise background-clip:text clips
     the bottom of the glyphs (the text paint box does the cutting). */
  line-height: 1.1;
  letter-spacing: -5.6px;
  /* Figma: gradient runs light (top-left) -> dark, clipped to the text. */
  background-image: linear-gradient(
    78.3847deg,
    rgba(26, 26, 26, 0.2) 2.9656%,
    rgb(26, 26, 26) 76.555%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* The "+" is solid ink, not part of the gradient. */
.stat-line span {
  -webkit-text-fill-color: #1a1a1a;
  color: #1a1a1a;
}

.stat-labels {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 4px 0 48px 12px;
  color: #6a6a6a;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.stat-labels span:nth-child(2) {
  width: 1px;
  height: 16px;
  background: #b0b0b0;
}

.deficit-copy p:not(.eyebrow) {
  width: 426px;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
}

.deficit-copy small {
  display: block;
  width: 410px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 12px;
  line-height: 19.2px;
}

.problem-stack {
  display: grid;
  gap: 8px;
}

.info-card,
.capability-card,
.pricing-card,
.site-footer,
.shortage-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Short divider line between a card's copy and its check list (Figma). */
.card-divider {
  width: 60px;
  height: 1px;
  margin: 18px 0 22px;
  background: #000;
  opacity: 0.1;
  border-radius: 9999px;
}

.card-divider + .check-list,
.pricing-card .card-divider + .check-list {
  margin-top: 0;
}

.info-card {
  width: 426px;
  min-height: 208px;
  padding: 24px;
}

.card-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.card-heading h2,
.card-heading h3,
.pricing-card h3 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.24px;
}

.info-card p:not(.card-label),
.capability-card p,
.pricing-card p {
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
}

.info-card .card-heading + p,
.capability-card .card-heading + p {
  margin-top: 24px;
}

.icon-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  color: var(--orange);
}

/* Inline line-icons (Lucide-style) referenced from the #icon-sprite via <use>. */
.ic {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.muted-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: -5px;
  margin-right: 8px;
  color: #202124;
  opacity: 0.5;
}

.muted-icon .ic {
  width: 24px;
  height: 24px;
}

.event-check .ic {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.proof-dashboard {
  position: absolute;
  top: 2291px;
  left: 123px;
  width: 1194px;
  height: 834px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

/* Dashboard story beat: the box opens on the intro (wave + title) and the
   reveal sends the cards from the centre to their places. All state/motion is
   GSAP-driven (proof-route.js) — keep transitions out of these elements. */
.dash-intro {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.dash-wave {
  position: absolute;
  left: 393px;
  top: 213px;
  width: 408px;
  height: 408px;
  pointer-events: none;
}
.dash-wave img {
  position: absolute;
  inset: -10.87%;
  width: 121.74%;
  height: 121.74%;
  display: block;
  max-width: none;
}
/* Connector lines around the marker (Figma 51:1287/51:1288, final state). */
.dash-connectors {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.dash-connectors img {
  position: absolute;
  width: 163px;
  height: 166px;
  display: block;
}
.dash-conn-a {
  left: 434px;
  top: 417px;
  transform: rotate(180deg);
}
.dash-conn-b {
  left: 597px;
  top: 251px;
}
.dash-intro-title {
  position: absolute;
  left: 596.5px;
  top: 264px;
  transform: translate(-50%, -50%);
  color: #000;
  font-size: 60px;
  font-weight: 500;
  line-height: 56px;
  text-align: center;
  white-space: nowrap;
}

.shortage-card {
  position: absolute;
  top: 60px;
  left: 36px;
  width: 394px;
  height: 220px;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(
    257.489deg,
    rgba(37, 255, 179, 0.3) 2.0407%,
    rgba(171, 255, 37, 0.15) 55.512%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.shortage-top {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.shortage-top strong,
.detail-grid h2,
.event-card h2 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.14px;
  text-transform: uppercase;
}

/* Title is clamped to one line / 146px with an ellipsis (matches Figma). */
.shortage-title {
  width: 146px;
  height: 24px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 8px 16px;
  border-radius: 12px;
  background: rgba(88, 203, 0, 0.4);
}

.status-pill .ic {
  width: 24px;
  height: 24px;
  color: #202124;
  opacity: 0.7;
}

.status-pill .label {
  color: #202124;
  opacity: 0.7;
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.14px;
  text-transform: uppercase;
}

.shortage-metrics {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 72px;
  color: rgba(32, 33, 36, 0.5);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
}

.shortage-row {
  position: absolute;
  left: 24px;
  right: 24px;
  white-space: nowrap;
}

.shortage-row.sev { top: 100px; }
.shortage-row.rep { top: 128px; }

.shortage-row .muted {
  color: rgba(32, 33, 36, 0.5);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.shortage-row .val {
  margin-left: 8px;
  color: #202124;
  font-size: 16px;
  line-height: 16px;
}

.shortage-row .val.name {
  color: #333;
}

.shortage-resolution {
  position: absolute;
  left: 24px;
  top: 184px;
  width: 348px;
  transform: translateY(-50%);
  color: #202124;
  font-size: 16px;
  line-height: 24px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sep,
.event-time span,
.event-badge span {
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0 8px;
  background: rgba(32, 33, 36, 0.3);
}

.truncate {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.detail-grid {
  position: absolute;
  width: 370px;
}

.shipment-details {
  top: 60px;
  left: 800px;
}

.partner-details {
  top: 470px;
  left: 60px;
}

.detail-grid h2 {
  display: flex;
  align-items: center;
  height: 24px;
  margin-bottom: 24px;
  color: rgba(32, 33, 36, 0.7);
}

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

.detail-grid dt {
  margin-bottom: 8px;
  color: rgba(32, 33, 36, 0.5);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.detail-grid dd {
  color: #333;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.event-card {
  position: absolute;
  left: 769px;
  top: 506px;
  width: 267px;
  height: 105px;
}

.event-check {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(
    210deg,
    rgba(0, 195, 255, 0) 2.83%,
    rgba(0, 255, 161, 0.5) 81.7%
  );
  color: #16855a;
}

.event-check .ic {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.event-body {
  position: absolute;
  left: 56px;
  top: 3px;
  width: 211px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.event-card h2 {
  color: #202124;
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.14px;
  text-transform: uppercase;
}

.event-time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(32, 33, 36, 0.5);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.event-loc {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
}

.ev-ic {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: rgba(32, 33, 36, 0.55);
}

.capabilities-section {
  position: absolute;
  top: 3265px;
  left: 73px;
  width: 1294px;
  height: 1034px;
}

.section-intro.left {
  position: absolute;
  top: 0;
  left: 7px;
  width: 620px;
}

.section-intro h2 {
  margin-top: 30px;
}

.section-intro p:not(.eyebrow) {
  margin-top: 24px;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
}

.capability-grid {
  position: absolute;
  inset: 0;
}

.capability-card {
  position: absolute;
  width: 426px;
  min-height: 208px;
  padding: 24px;
}

.cap-a { top: 330px; left: 0; }
.cap-b { top: 330px; left: 434px; }
.cap-c { top: 82px; right: 0; }
.cap-d { top: 578px; left: 434px; }
.cap-e { top: 578px; right: 0; }
.cap-f { top: 826px; left: 434px; }

/* Section spans the timeline band; children use frame coordinates so the step
   chips land exactly on the curved route baked into the background art. */
.timeline-section {
  position: absolute;
  top: 4559px;
  left: 0;
  width: 1440px;
  height: 810px;
}

.timeline-copy {
  position: absolute;
  top: 256px;
  left: 80px;
  width: 553px;
}

.timeline-copy h2 {
  margin-top: 0;
  width: 553px;
}

.timeline-copy p:not(.eyebrow) {
  width: 427px;
  margin-top: 13px;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
}

.timeline-list {
  list-style: none;
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
}

.timeline-list li {
  position: absolute;
  width: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(32, 33, 36, 0.2); /* upcoming/not-yet-reached */
  font-size: 24px;
  line-height: 32px;
  white-space: nowrap;
  transition: color 0.35s ease;
}

/* Steps at equal 93px vertical spacing, centered as a group in the section
   (tops 9..753). Lefts solved so each circle centre sits on the route; the
   marker waypoints (STEP_T in proof-route.js) are derived from the same
   solve — keep them in sync. */
/* Positions only — colour comes from the upcoming/active/visited state rules. */
.timeline-list li:nth-child(1) { left: 815px; top: 9px;   }
.timeline-list li:nth-child(2) { left: 899px; top: 102px; }
.timeline-list li:nth-child(3) { left: 949px; top: 195px; }
.timeline-list li:nth-child(4) { left: 975px; top: 288px; }
.timeline-list li:nth-child(5) { left: 982px; top: 381px; }
.timeline-list li:nth-child(6) { left: 972px; top: 474px; }
.timeline-list li:nth-child(7) { left: 941px; top: 567px; }
.timeline-list li:nth-child(8) { left: 886px; top: 660px; }
.timeline-list li:nth-child(9) { left: 808px; top: 753px; }

.timeline-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  opacity: 0.8;
  transition: width 0.3s ease, height 0.3s ease, flex-basis 0.3s ease,
    color 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

/* `li.active` matches the nth-child specificity so the selected step's label
   actually turns orange (not just step 4). */
.timeline-list li.active {
  color: var(--orange);
  font-weight: 500;
}

/* Once the marker has passed a step it stays at 50% (visited), vs 20% upcoming. */
.timeline-list li.visited {
  color: rgba(32, 33, 36, 0.5);
}

/* The marker becomes the highlighted node here, so hide the step's own circle
   (its label still lights orange via .timeline-list .active above). */
.timeline-list .active span {
  opacity: 0;
}

/* Frosted halo behind the highlighted "Destination Port" step. */
.step-halo {
  position: absolute;
  left: 945px;
  top: 336px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(200, 199, 200, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* Position + visibility are driven by proof-route.js (follows the active step). */
  opacity: 0;
  transition: left 0.35s ease, top 0.35s ease, opacity 0.3s ease;
}

.stakeholder-section {
  position: absolute;
  top: 5657px;
  left: 54px;
  width: 1332px;
}

.section-intro.centered {
  width: 546px;
  margin: 0 auto;
  text-align: center;
}

.section-intro.centered p {
  width: 380px;
  margin: 30px auto 0;
}

.three-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 428px);
  gap: 24px;
}

.stakeholder-grid {
  margin-top: 70px;
}

.info-card.tall {
  width: 428px;
  min-height: 480px;
}

.featured-soft {
  background: rgba(255, 255, 255, 0.42);
}

.card-label {
  margin-bottom: 30px;
  opacity: 0.5;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: #000;
  font-size: 16px;
  line-height: 26px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%231a1a1a'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%206%209%2017l-5-5'/%3E%3C/svg%3E")
    no-repeat center / contain;
}

.pricing-section {
  position: absolute;
  top: 6727px;
  left: 54px;
  width: 1332px;
}

.pricing-grid {
  margin-top: 70px;
}

.pricing-card {
  position: relative;
  width: 428px;
  min-height: 610px;
  padding: 24px;
}

.pricing-featured {
  border-color: #ffa063;
}

.pricing-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pricing-title-row span {
  padding: 9px 15px;
  border-radius: 12px;
  background: rgba(168, 168, 168, 0.3);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.card-subtitle {
  margin-top: 4px;
  color: var(--muted) !important;
  font-size: 12px !important;
  line-height: 19.2px !important;
}

.pricing-card > p:not(.card-subtitle) {
  min-height: 72px;
  margin-top: 24px;
}

.pricing-card .check-list {
  margin-top: 38px;
}

.pricing-card .button {
  position: absolute;
  left: 24px;
  bottom: 35px;
}

.pricing-card .button.full {
  right: 24px;
  width: auto;
}

/* Closing call-to-action (Figma 51:1658): centred heading + copy + one CTA. */
.demo-section {
  position: absolute;
  top: 8271px;
  left: 460.5px;
  width: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.demo-section p {
  margin-top: 16px;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
}

.demo-section .button {
  margin-top: 16px;
  font-size: 14px;
  white-space: nowrap;
}

.site-footer {
  position: absolute;
  /* 30px margin on the left, right and bottom (frame is 9258px tall). */
  top: 8829px;
  left: 30px;
  right: 30px;
  height: 399px;
  background: rgba(255, 255, 255, 0.3);
  border: 0;
  overflow: hidden;
  padding: 0;
}

.footer-column {
  position: absolute;
  top: 102px;
}

.footer-brand {
  left: 70px;
  width: 212.512px;
}

.footer-nav {
  left: 510.499px;
  width: 126.889px;
}

.footer-legal {
  left: 871.564px;
  width: 126.889px;
}

.footer-part-of {
  left: 1232.629px;
  width: 77.371px;
}

.footer-column h2 {
  margin-bottom: 24px;
  color: rgba(32, 33, 36, 0.7);
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0.14px;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  display: block;
  margin-bottom: 8px;
  color: rgba(32, 33, 36, 0.5);
  font-size: 16px;
  line-height: 24px;
}

.footer-brand p {
  width: 206px;
  margin: 0;
  line-height: 25.6px;
}

.footer-brand p span {
  color: var(--ink);
}

.footer-bottom {
  position: absolute;
  left: 70px;
  top: 356px;
  width: 1240px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  line-height: 19.2px;
}

/* Three equal thirds: left / centre / right. */
.footer-bottom span {
  flex: 1 1 0;
}

.footer-bottom span:nth-child(2) {
  text-align: center;
}

.footer-bottom span:last-child {
  text-align: right;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.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;
}

/* Scroll route overlay: shares the background's 2560-wide coordinate space and
   sits in the background layer (above the art, behind the foreground cards). */
.proof-frame > .route-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--background-art-width);
  height: 9258px;
  transform: translateX(-50%);
  pointer-events: none;
  overflow: visible;
}

/* The dotted trail sits in the background layer (behind the foreground cards). */
.proof-frame > .route-overlay--trail {
  z-index: 0;
}

/* The marker layer defaults to the background (behind the foreground cards).
   proof-route.js lifts it above the cards while the marker is at centre stage. */
.proof-frame > .route-overlay--marker {
  z-index: 0;
}

/* Hidden until proof-route.js places it on the path (avoids a top-left flash). */
#proof-marker {
  opacity: 0;
}

/* The marker has two looks: a travelling dot, and the highlighted timeline node
   (a frosted circle showing the live step number). proof-route.js toggles
   .is-node while the marker is inside the pinned 0–8 timeline, crossfading. */
.marker-dot,
.marker-node {
  transition: opacity 0.3s ease;
}
/* Once scrolling starts the marker grows 25% and stays grown (.is-moving is
   sticky). The group's own origin is the marker centre, so scale() stays centred. */
.marker-dot {
  transition: opacity 0.3s ease, transform 0.25s ease;
}
#proof-marker.is-moving .marker-dot {
  transform: scale(1.25);
}
/* At the final waypoint the marker grows to the design's 126px (126/82). */
#proof-marker.is-final .marker-dot {
  transform: scale(1.5366);
}

/* The travelling marker is grey until it reaches the dashboard midpoint, where
   it turns orange (proof-route.js toggles .is-orange by route position). */
.marker-dot .skin-grey,
.marker-dot .skin-orange {
  transition: opacity 0.35s ease;
}
.marker-dot .skin-orange {
  opacity: 0;
}
#proof-marker.is-orange .skin-orange {
  opacity: 1;
}
#proof-marker.is-orange .skin-grey {
  opacity: 0;
}
/* Dashed sonar pulse stays hidden until the marker turns orange, then loops. */
.marker-pulse-wrap {
  opacity: 0;
  transition: opacity 0.4s ease;
}
#proof-marker.is-orange .marker-pulse-wrap {
  opacity: 1;
}
.marker-node {
  opacity: 0;
}
#proof-marker.is-node .marker-dot {
  opacity: 0;
}
#proof-marker.is-node .marker-node {
  opacity: 1;
}
/* Outer 120px solid #C8C7C8 @15% behind the highlighted badge — replaces the
   old blurred drop-shadow halo. Expands from the marker centre on .is-node. */
.marker-halo {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#proof-marker.is-node .marker-halo {
  transform: scale(1);
}
.marker-node-num {
  fill: #f35f00;
  font-family: "Google Sans Flex", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14px;
}

/* ===================================================================
   Mobile menu chrome. The hamburger is hidden on desktop; the overlay
   can only be opened by it, so these are inert above the breakpoint.
   =================================================================== */
.nav-burger {
  display: none; /* shown by the @media (max-width:1023px) block below */
}
.nav-burger .ic,
.mobile-menu-close .ic {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(242, 241, 241, 0.96);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overscroll-behavior: contain;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
/* display:none while [hidden]; flex once JS removes the attribute. */
.mobile-menu:not([hidden]) {
  display: flex;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Never render on desktop, even if .is-open is somehow set. */
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.mobile-menu-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 500;
}
.mobile-menu-nav a.button {
  font-size: 16px;
  margin-top: 16px;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #404040;
  cursor: pointer;
}

/* ===================================================================
   MOBILE  (<=1023px). Single breakpoint, kept in sync with the JS
   matchMedia("(max-width: 1023px)") guard in proof-route.js. Below it
   the absolute 1440px stage becomes vertical flow, the 2560px
   background + scroll-route overlays are hidden, and the nav collapses
   to a logo pill + hamburger with a full-screen menu.
   =================================================================== */
@media (max-width: 1023px) {
  /* --- Foundation: unlock the stage, drop the desktop background --- */
  .proof-frame {
    width: 100%;
    min-width: 0;
    min-height: auto;
    padding: 96px 20px 0;
    /* Contain the scaled 2560-wide globe/trail layers so they can't widen the
       page (which would inflate vw and blow up the clamp() font sizes). */
    overflow-x: clip;
  }
  .proof-frame::before { display: none; }

  /* Every section/footer drops out of absolute positioning into flow, with
     generous spacing + padding so each reads as a distinct section. Positioned
     so they sit ABOVE the static globe/markers backdrop. */
  .proof-frame > section,
  .proof-frame > footer {
    position: relative;
    z-index: 1;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    height: auto;
    margin: 0 0 96px;
    padding: 8px 0;
  }

  /* Static globe + location trackers behind the hero. The bg globe layer and
     the trail (dotted arcs + markers) share the same 2560-wide design space, so
     the SAME transform scales them together to fit the phone. No animation. */
  .proof-frame > .proof-bg,
  .proof-frame > .route-overlay--trail {
    display: block;
    left: 0;
    transform-origin: 0 0;
    /* globe ~512px wide (1440 * 0.356), centred, top flush to the screen top */
    transform: translate(-260px, 0px) scale(0.356);
  }
  .proof-frame > .proof-bg {
    background: transparent;
    z-index: 0;
  }
  /* Show only the top globe + origin dot from the bg layer. */
  .proof-bg > *:not(.mobile-bg-keep) { display: none; }
  /* Trail: the arc dots + grey markers show fully (parked, no animation); the
     travelling marker overlay stays off. The main trail's dot run is only
     built on desktop (defensive hide here). */
  .proof-frame > .route-overlay--marker { display: none; }
  .route-overlay--trail .trail-dots { display: none; }

  /* Native anchor jumps land sections clear of the fixed header (top 16px +
     48px pills). Desktop overrides anchors in JS (the scroll holds shift
     every section's document position), so this only matters here. */
  .proof-frame > section {
    scroll-margin-top: 80px;
  }

  /* Null every fixed pixel width so nothing forces horizontal scroll. */
  .hero,
  .hero h1,
  .hero-copy,
  .section-intro.left,
  .section-intro.centered,
  .section-intro.centered p,
  .timeline-copy,
  .timeline-copy h2,
  .timeline-copy p,
  .deficit-copy p:not(.eyebrow),
  .deficit-copy small,
  .detail-grid,
  .info-card,
  .info-card.tall,
  .pricing-card,
  .footer-bottom,
  .footer-brand p {
    width: 100%;
    max-width: 100%;
  }

  /* --- Nav: compact logo pill + hamburger --- */
  .top-nav {
    left: 0;
    right: 0;
    width: auto;
    top: 16px;
    padding: 0 16px;
    gap: 12px;
    justify-content: space-between;
  }
  .nav-pill,
  .nav-cta,
  .brand-word { display: none; }
  .brand-pill {
    width: 48px;
    padding: 0;
    gap: 0;
  }
  .nav-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    color: #404040;
    cursor: pointer;
  }

  /* --- 1. Hero --- */
  /* All section titles share the hero size on mobile. */
  .hero h1,
  .section-intro h2,
  .timeline-copy h2,
  .demo-section h2,
  .dash-intro-title {
    font-size: clamp(34px, 9vw, 48px);
    line-height: 1.1;
  }
  .hero-copy { font-size: 16px; }
  .button-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 32px;
  }
  .button-row .button {
    width: 100%;
    justify-content: center;
  }

  /* --- 2. Deficit / stats --- */
  .deficit-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* Centre the +20B stat block. */
  .deficit-copy {
    padding-top: 0;
    text-align: center;
  }
  .stat-line {
    font-size: clamp(56px, 18vw, 120px);
    letter-spacing: -2px;
  }
  .stat-labels {
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
  }
  .info-card { min-height: auto; }

  /* --- 3. Dashboard (#how): mobile shows ONLY the "You need proof. Not
     promises." statement. The full data-card mockup (shortage/shipment/
     donor/event) is desktop-only. --- */
  /* Short section: centre it vertically in the viewport. */
  .proof-dashboard {
    background: none;
    border-radius: 0;
    overflow: visible;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .dash-wave,
  .dash-connectors,
  .shortage-card,
  .shipment-details,
  .partner-details,
  .event-card { display: none; }
  .dash-intro {
    position: static;
    display: block;
  }
  .dash-intro-title {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    white-space: normal;
    text-align: center;
  }

  /* --- 4. Capabilities --- */
  .capabilities-section { height: auto; }
  .section-intro.left { position: static; }
  .capability-grid {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .capability-card {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    min-height: auto;
  }

  /* --- 5. Timeline 0-8: flatten the curve to a vertical list --- */
  .timeline-copy { position: static; }
  .step-halo { display: none; }
  .timeline-list {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
  }
  .timeline-list li {
    position: static;
    left: auto;
    top: auto;
    white-space: normal;
    /* colour cycles 20% -> orange (active) -> 50% (visited) as you scroll,
       driven by proof-route.js activate() — same states as desktop, no marker */
  }
  /* No marker on mobile: keep every number chip visible, incl. the active step
     (desktop hides the active chip because the marker replaces it). */
  .timeline-list span { opacity: 1; }
  .timeline-list li.active span { opacity: 1; }

  /* --- 6. Stakeholders + 7. Pricing share .three-card-grid --- */
  .three-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .info-card.tall { min-height: auto; }
  .stakeholder-grid,
  .pricing-grid { margin-top: 40px; }
  .pricing-card {
    min-height: auto;
    padding: 24px;
  }
  .pricing-card .button,
  .pricing-card .button.full {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 24px;
  }

  /* --- 8. Demo / CTA: short section, centre it vertically --- */
  .demo-section {
    align-items: center;
    justify-content: center;
    min-height: 70vh;
  }
  .demo-section .button {
    width: 100%;
    max-width: 360px;
  }

  /* --- 9. Footer --- */
  .site-footer {
    overflow: visible;
    padding: 40px 20px;
  }
  .footer-column {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    margin-bottom: 24px;
  }
  .footer-bottom {
    position: static;
    left: auto;
    top: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 24px;
  }
  .footer-bottom span {
    flex: none;
    text-align: left;
  }
}
