@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");

:root {
  --bg: #050608;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f7f8fb;
  --muted: rgba(247, 248, 251, 0.66);
  --dim: rgba(247, 248, 251, 0.42);
  --blue: #83c5ff;
  --green: #82f0bd;
  --amber: #ffd89c;
  --radius: 8px;
  --max: 1280px;
  --home-max: 1500px;
  --page-gutter: clamp(18px, 3.6vw, 54px);
  --content-edge: max(var(--page-gutter), calc((100vw - var(--home-max)) / 2 + var(--page-gutter)));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 48% -12%, rgba(131, 197, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 92% 22%, rgba(130, 240, 189, 0.09), transparent 30rem),
    linear-gradient(180deg, #07080b 0%, var(--bg) 42%, #06070a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, black 0%, transparent 72%);
  pointer-events: none;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

#ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 14px var(--content-edge);
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.96), rgba(5, 6, 8, 0.64) 72%, rgba(5, 6, 8, 0));
  backdrop-filter: blur(22px);
}

.brand,
.site-header nav,
.header-cta {
  display: flex;
  align-items: center;
}

.site-header nav {
  grid-column: 1;
  justify-self: start;
}

.brand {
  grid-column: 2;
  justify-self: center;
}

.brand-logo {
  display: block;
  width: clamp(156px, 13vw, 210px);
  aspect-ratio: 1380 / 360;
  background: rgba(255, 255, 255, 0.96);
  mask-image: url("assets/shipmetry-logo.png?v=20260701");
  mask-mode: luminance;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-image: url("assets/shipmetry-logo.png?v=20260701");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.site-header nav {
  gap: 28px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 720;
}

.site-header nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(131, 197, 255, 0), rgba(131, 197, 255, 0.9), rgba(130, 240, 189, 0));
  opacity: 0;
  transform: scaleX(0.42);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-header a {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-header a:hover,
.site-header nav a:hover {
  color: var(--text);
}

.site-header nav a:hover {
  background: transparent;
}

.site-header nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta {
  grid-column: 3;
  justify-self: end;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 780;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 48px rgba(0, 0, 0, 0.24);
}

.header-cta:hover {
  border-color: rgba(130, 240, 189, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
}

.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(76px, 9.6vw, 138px) var(--page-gutter);
}

/* Keep every homepage block on one shared left/right content line. */
#top > .hero,
#top > .problem,
#top > .motions,
#top > .network-section,
#top > .scale,
#top > .final-cta {
  width: 100%;
  max-width: var(--home-max);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.78fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: center;
  max-width: 1440px;
  min-height: 100vh;
  padding-top: 112px;
}

.hero-copy {
  min-width: 0;
  width: 100%;
  max-width: 1420px;
}

.parcel-stage {
  position: relative;
  align-self: stretch;
  min-height: clamp(420px, 46vw, 680px);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 100%);
}

.parcel-stage::before {
  position: absolute;
  inset: 12% 0 12% 6%;
  content: "";
  background:
    radial-gradient(circle at 48% 50%, rgba(131, 197, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 64% 74%, rgba(130, 240, 189, 0.12), transparent 15rem);
  filter: blur(12px);
}

.parcel-rail {
  --stack-shift: 0px;
  position: absolute;
  right: clamp(8px, 1.8vw, 32px);
  bottom: 18%;
  width: min(100%, 620px);
  height: 68%;
  transform: translateX(var(--stack-shift));
  transition: transform 2600ms cubic-bezier(0.55, 0, 0.2, 1);
}

.parcel-rail.is-resetting {
  transition: none;
}

.parcel-stack {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(250px, 24vw, 360px);
  height: 100%;
}

.parcel-stack-b {
  right: calc(clamp(210px, 23vw, 330px) + clamp(26px, 3.4vw, 56px));
}

.parcel-box {
  --box-x: 0px;
  --box-y: 0px;
  --box-rotate: 0deg;
  --box-scale: 1;
  --box-drift: 0px;
  position: absolute;
  right: calc(50% - clamp(50px, 5.2vw, 74px) + var(--box-x));
  bottom: var(--box-y);
  width: clamp(118px, 11.4vw, 164px);
  aspect-ratio: 1;
  background: url("assets/koli.png") center / contain no-repeat;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.36));
  opacity: 0;
  transform: translate3d(var(--box-drift), -210%, 0) rotate(calc(var(--box-rotate) - 7deg)) scale(0.96);
  animation: parcelDrop 1250ms cubic-bezier(0.22, 1, 0.28, 1) forwards;
}

.parcel-box::before,
.parcel-box::after {
  display: none;
}

.parcel-box.is-leaving {
  animation: none;
}

.parcel-box:nth-child(1) {
  --box-x: 54px;
  --box-y: 0px;
  --box-rotate: 1deg;
  --box-scale: 1;
  --box-drift: -430px;
}

.parcel-box:nth-child(2) {
  --box-x: -58px;
  --box-y: 0px;
  --box-rotate: -1deg;
  --box-scale: 1;
  --box-drift: -380px;
}

.parcel-box:nth-child(3) {
  --box-x: 54px;
  --box-y: 88px;
  --box-rotate: -1deg;
  --box-scale: 1;
  --box-drift: -460px;
}

.parcel-box:nth-child(4) {
  --box-x: -58px;
  --box-y: 88px;
  --box-rotate: 1deg;
  --box-scale: 1;
  --box-drift: -410px;
}

.parcel-box:nth-child(5) {
  --box-x: 54px;
  --box-y: 176px;
  --box-rotate: 1deg;
  --box-scale: 1;
  --box-drift: -440px;
}

.parcel-box:nth-child(6) {
  --box-x: -58px;
  --box-y: 176px;
  --box-rotate: -1deg;
  --box-scale: 1;
  --box-drift: -390px;
}

.parcel-floor {
  position: absolute;
  right: 2%;
  bottom: 15%;
  width: min(92%, 620px);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  box-shadow: 0 0 44px rgba(131, 197, 255, 0.22);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif;
}

h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(45px, 6.7vw, 109px);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 0.94;
}

.sketch-underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.sketch-underline::after {
  position: absolute;
  right: -0.02em;
  bottom: -0.065em;
  left: -0.015em;
  height: 0.055em;
  border-radius: 999px;
  content: "";
  background: var(--green);
  filter: drop-shadow(0 0 18px rgba(130, 240, 189, 0.28));
  pointer-events: none;
  transform: rotate(-0.8deg) scaleX(0.98);
  transform-origin: left center;
}

h2 {
  margin-bottom: 0;
  max-width: 900px;
  font-size: clamp(42px, 5.8vw, 94px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.92;
}

h3 {
  margin-bottom: 0;
  font-size: clamp(21px, 2.4vw, 35px);
  font-weight: 720;
  line-height: 1;
}

.hero-subhead {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.42;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 780;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #06100d;
  background: linear-gradient(135deg, #ffffff 0%, #d6ecff 56%, #a8ffd5 100%);
  box-shadow: 0 22px 80px rgba(131, 197, 255, 0.22);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.04);
}

.commerce-system {
  min-width: 0;
}

.system-shell,
.network-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.1), transparent 12rem),
    radial-gradient(circle at 32% 18%, rgba(131, 197, 255, 0.2), transparent 18rem),
    radial-gradient(circle at 72% 78%, rgba(130, 240, 189, 0.13), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.026));
  box-shadow: 0 42px 130px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.system-shell::before,
.network-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 44%, black 0%, transparent 76%);
}

.system-shell::after,
.network-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.11) 49%, transparent 56% 100%);
  opacity: 0.28;
  animation: scan 7s ease-in-out infinite;
}

.commerce-svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 640px;
}

.route {
  fill: none;
  stroke: rgba(255, 255, 255, 0.13);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 2 15;
  animation: routeDash 8s linear infinite;
}

.route-soft {
  stroke: url("#routeGradient");
  stroke-width: 9;
  stroke-dasharray: none;
  opacity: 0.42;
  filter: blur(2px);
}

.flow-node rect,
.flow-node circle {
  fill: rgba(5, 8, 12, 0.72);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1.2;
}

.flow-node text {
  fill: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  font-weight: 760;
  text-anchor: middle;
  dominant-baseline: middle;
}

.node-network text {
  transform: translateY(54px);
  font-size: 15px;
}

.mini-stack rect,
.shelf-lines path,
.box-line path,
.network-core path,
.handoff {
  fill: none;
  stroke: rgba(130, 240, 189, 0.72);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-stack rect,
.network-core circle {
  fill: rgba(131, 197, 255, 0.26);
  stroke: rgba(255, 255, 255, 0.24);
}

.network-core {
  transform-origin: center;
  animation: corePulse 4.8s ease-in-out infinite;
}

.stage.storage {
  animation: nodeFloat 5.8s ease-in-out infinite;
}

.stage.pack {
  animation: nodeFloat 6.6s ease-in-out infinite reverse;
}

.handoff {
  stroke: url("#routeGradient");
  stroke-width: 3;
  stroke-dasharray: 10 12;
  animation: routeDash 2.6s linear infinite;
}

.packet {
  fill: #ffffff;
  opacity: 0.96;
}

.packet-two {
  fill: var(--green);
}

.packet-three {
  fill: var(--blue);
}

.section-heading {
  display: grid;
  gap: 0;
  margin-bottom: clamp(42px, 6vw, 74px);
}

.problem {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: clamp(30px, 4vw, 72px);
  align-items: center;
  max-width: 1440px;
  min-height: min(860px, calc(100vh - 72px));
  padding-top: clamp(88px, 8vw, 116px);
  padding-bottom: clamp(54px, 6vw, 86px);
}

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

.problem-copy {
  max-width: 720px;
}

.problem-copy h2 {
  margin: 24px 0 28px;
  font-size: clamp(58px, 6.1vw, 94px);
  line-height: 0.9;
  letter-spacing: -0.068em;
  text-wrap: balance;
}

.problem-copy h2 em {
  color: transparent;
  background: linear-gradient(112deg, #f7f8fb 0%, #b9dfff 42%, #82f0bd 92%);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.problem-copy p {
  max-width: 630px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.5;
}

.section-kicker,
.problem-footnote {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(131, 197, 255, 0.28);
  border-radius: 50%;
  color: var(--blue);
  background: rgba(131, 197, 255, 0.06);
}

.problem-footnote {
  margin-top: 38px;
  letter-spacing: 0.08em;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff9c78;
  box-shadow: 0 0 0 5px rgba(255, 156, 120, 0.08), 0 0 20px rgba(255, 156, 120, 0.52);
  animation: debtPulse 2.4s ease-in-out infinite;
}

.absorb-system {
  position: relative;
  min-height: clamp(560px, 48vw, 680px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    radial-gradient(circle at 50% 46%, rgba(131, 197, 255, 0.1), transparent 17rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.012));
  background-size: 62px 62px, 62px 62px, auto, auto;
  box-shadow: 0 54px 160px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  isolation: isolate;
}

.absorb-system::before,
.absorb-system::after {
  position: absolute;
  z-index: 4;
  pointer-events: none;
}

.absorb-system::before {
  top: 16px;
  right: 16px;
  width: 9px;
  height: 9px;
  content: "";
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.absorb-system::after {
  bottom: 16px;
  left: 16px;
  width: 9px;
  height: 9px;
  content: "";
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.system-aura {
  position: absolute;
  inset: 13%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 240, 189, 0.14), rgba(131, 197, 255, 0.08) 28%, transparent 68%);
  filter: blur(20px);
  animation: auraBreathe 6s ease-in-out infinite;
}

.absorb-routes {
  position: absolute;
  inset: 3% 2%;
  width: 96%;
  height: 90%;
  overflow: visible;
}

.absorb-routes path {
  fill: none;
  stroke: url("#absorbLine");
  stroke-width: 1.25;
  stroke-dasharray: 5 11;
  animation: absorbFlow 4s linear infinite;
}

.absorb-routes path:nth-child(even) {
  animation-duration: 5.2s;
  animation-direction: reverse;
}

.debt-signal {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 4px;
  min-width: 112px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.82);
  box-shadow: 0 15px 44px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  animation: signalFloat 5s ease-in-out infinite;
}

.debt-signal span {
  color: rgba(255, 255, 255, 0.36);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.debt-signal strong {
  font-size: 17px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.signal-orders { top: 8%; left: 3%; }
.signal-skus { top: 29%; left: -2%; animation-delay: -1.3s; }
.signal-nodes { bottom: 16%; left: 5%; animation-delay: -2.4s; }
.signal-returns { top: 9%; right: 3%; animation-delay: -0.8s; }
.signal-carriers { top: 31%; right: -1%; animation-delay: -3.1s; }
.signal-exceptions { right: 5%; bottom: 14%; animation-delay: -1.8s; }

.signal-orders strong,
.signal-returns strong,
.signal-exceptions strong {
  color: #ffad8f;
}

.absorb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  width: clamp(238px, 22vw, 286px);
  aspect-ratio: 0.86;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(210, 236, 255, 0.25);
  border-radius: 14px;
  background:
    radial-gradient(circle at 74% 12%, rgba(130, 240, 189, 0.2), transparent 11rem),
    linear-gradient(155deg, rgba(28, 43, 52, 0.96), rgba(7, 11, 15, 0.98));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 46px 90px rgba(0, 0, 0, 0.6),
    0 0 90px rgba(131, 197, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translate(-50%, -50%) rotate(-1.5deg);
}

.core-topline,
.core-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.43);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.core-topline i {
  color: var(--green);
  font-style: normal;
}

.core-mark {
  display: grid;
  gap: 4px;
  width: 25px;
  margin-top: 34px;
  transform: skewY(-28deg);
}

.core-mark span {
  height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  box-shadow: 0 0 18px rgba(130, 240, 189, 0.32);
}

.absorb-core > strong {
  margin-top: 18px;
  font-size: clamp(28px, 2.6vw, 37px);
  font-weight: 720;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.core-stream {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 38px;
  margin-top: auto;
  padding: 0 2px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.core-stream i {
  width: 100%;
  height: 22%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--green), rgba(130, 240, 189, 0.1));
  animation: streamLevel 2.8s ease-in-out infinite;
}

.core-stream i:nth-child(2) { height: 52%; animation-delay: -0.5s; }
.core-stream i:nth-child(3) { height: 82%; animation-delay: -1.2s; }
.core-stream i:nth-child(4) { height: 44%; animation-delay: -1.8s; }
.core-stream i:nth-child(5) { height: 68%; animation-delay: -2.2s; }

.core-bottom {
  padding-top: 13px;
}

.core-bottom span:last-child {
  color: rgba(130, 240, 189, 0.74);
}

.system-caption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 10px;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-caption strong {
  color: rgba(255, 255, 255, 0.72);
}

@keyframes absorbFlow {
  to { stroke-dashoffset: -96; }
}

@keyframes signalFloat {
  50% { transform: translateY(-7px); }
}

@keyframes auraBreathe {
  50% { opacity: 0.58; transform: scale(1.08); }
}

@keyframes streamLevel {
  50% { transform: scaleY(0.42); opacity: 0.54; }
}

@keyframes debtPulse {
  50% { opacity: 0.45; transform: scale(0.82); }
}

.motion-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.motion-card {
  position: relative;
  display: grid;
  min-height: 420px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  overflow: hidden;
  transition: background 180ms ease;
}

.motion-card:last-child {
  border-right: 0;
}

.motion-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 50% 72%, rgba(131, 197, 255, 0.14), transparent 16rem);
  opacity: 0;
  transition: opacity 180ms ease;
}

.motion-card:hover::before,
.motion-card.is-active::before {
  opacity: 1;
}

.motion-index {
  color: var(--dim);
  font-size: 13px;
  font-weight: 720;
}

.motion-card h3 {
  align-self: end;
  margin-bottom: 12px;
}

.motion-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.motion-visual {
  position: absolute;
  right: 24px;
  bottom: 28px;
  left: 24px;
  height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.receive-visual span {
  position: absolute;
  top: 34px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: rgba(131, 197, 255, 0.2);
  animation: receiveDrop 3.8s ease-in-out infinite;
}

.receive-visual span:nth-child(1) {
  left: 22%;
}

.receive-visual span:nth-child(2) {
  left: 43%;
  animation-delay: -1.3s;
}

.receive-visual span:nth-child(3) {
  left: 64%;
  animation-delay: -2.5s;
}

.store-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 22px;
}

.store-visual span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  animation: shelfGlow 4.6s ease-in-out infinite;
}

.store-visual span:nth-child(2n) {
  animation-delay: -1.4s;
}

.store-visual span:nth-child(3n) {
  animation-delay: -2.8s;
}

.pack-visual span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
}

.pack-visual span:nth-child(1) {
  left: 30px;
  top: 42px;
  width: 54px;
  height: 30px;
  background: rgba(131, 197, 255, 0.16);
  animation: packMoveA 4s ease-in-out infinite;
}

.pack-visual span:nth-child(2) {
  right: 28px;
  bottom: 28px;
  width: 70px;
  height: 46px;
  background: rgba(130, 240, 189, 0.16);
}

.pack-visual span:nth-child(3) {
  left: 48%;
  top: 26px;
  width: 2px;
  height: 80px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: packScan 2.8s ease-in-out infinite;
}

.ship-visual span {
  position: absolute;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.ship-visual span:nth-child(1) {
  left: 12%;
  width: 76%;
}

.ship-visual span:nth-child(2),
.ship-visual span:nth-child(3) {
  top: calc(50% - 6px);
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--green);
  box-shadow: 0 0 24px rgba(130, 240, 189, 0.5);
  animation: shipDot 3.6s linear infinite;
}

.ship-visual span:nth-child(3) {
  animation-delay: -1.8s;
}

.network-section {
  max-width: 1680px;
}

.network-panel svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 520px;
}

.network-lines path {
  fill: none;
  stroke: url("#networkLine");
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 2 18;
  animation: routeDash 8s linear infinite;
}

.network-nodes circle {
  fill: rgba(5, 8, 12, 0.78);
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.4;
  filter: drop-shadow(0 0 18px rgba(131, 197, 255, 0.18));
}

.network-nodes .brand-node {
  fill: rgba(131, 197, 255, 0.22);
}

.network-nodes .customer-node {
  fill: rgba(130, 240, 189, 0.2);
}

.customer-points circle {
  fill: rgba(255, 255, 255, 0.75);
  animation: customerBlink 4s ease-in-out infinite;
}

.customer-points circle:nth-child(2n) {
  animation-delay: -1.7s;
}

.network-labels text {
  fill: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  font-weight: 720;
  text-anchor: middle;
}

.network-packet {
  fill: white;
  filter: drop-shadow(0 0 15px rgba(130, 240, 189, 0.72));
}

.packet-a {
  animation: networkMoveA 7s ease-in-out infinite;
}

.packet-b {
  animation: networkMoveB 6.4s ease-in-out infinite;
  animation-delay: -2s;
}

.packet-c {
  animation: networkMoveC 7.8s ease-in-out infinite;
  animation-delay: -4.1s;
}

.scale {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.8fr);
  gap: clamp(42px, 7vw, 108px);
  align-items: start;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.comparison-column {
  min-height: 520px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.04);
}

.comparison-column h3 {
  margin-bottom: 42px;
  font-size: clamp(25px, 2.4vw, 36px);
}

.comparison-column ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comparison-column li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.25;
}

.comparison-column li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--dim);
}

.shipmetry-column {
  background:
    radial-gradient(circle at 60% 76%, rgba(130, 240, 189, 0.15), transparent 14rem),
    rgba(255, 255, 255, 0.062);
}

.shipmetry-column li {
  color: rgba(255, 255, 255, 0.86);
}

.shipmetry-column li::before {
  background: var(--green);
  box-shadow: 0 0 18px rgba(130, 240, 189, 0.5);
}

.shipmetry-column strong {
  display: block;
  margin-top: 68px;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.9;
}

.certainty-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.certainty-card {
  display: grid;
  min-height: 360px;
  align-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.026));
  overflow: hidden;
}

.certainty-card h3 {
  max-width: 260px;
  font-size: clamp(24px, 2vw, 34px);
}

.certainty-visual {
  position: relative;
  min-height: 160px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.visibility-visual span {
  position: absolute;
  bottom: 34px;
  width: 44px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, rgba(131, 197, 255, 0.65), rgba(131, 197, 255, 0.12));
  animation: barPulse 4s ease-in-out infinite;
}

.visibility-visual span:nth-child(1) {
  left: 8%;
  height: 72px;
}

.visibility-visual span:nth-child(2) {
  left: 38%;
  height: 104px;
  animation-delay: -1.2s;
}

.visibility-visual span:nth-child(3) {
  left: 68%;
  height: 86px;
  animation-delay: -2.4s;
}

.accuracy-visual {
  display: grid;
  grid-template-columns: repeat(2, 52px);
  grid-auto-rows: 52px;
  gap: 12px;
  align-content: center;
  justify-content: center;
}

.accuracy-visual span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  animation: checkGlow 4.2s ease-in-out infinite;
}

.accuracy-visual span:nth-child(3) {
  background: rgba(130, 240, 189, 0.18);
}

.carrier-visual span {
  position: absolute;
  left: 14%;
  right: 14%;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.carrier-visual span:nth-child(1) {
  top: 42px;
}

.carrier-visual span:nth-child(2) {
  top: 78px;
}

.carrier-visual span:nth-child(3) {
  top: 114px;
}

.carrier-visual span::after {
  position: absolute;
  top: -5px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  content: "";
  background: #fff;
  box-shadow: 0 0 20px rgba(131, 197, 255, 0.5);
  animation: carrierMove 3.5s linear infinite;
}

.carrier-visual span:nth-child(2)::after {
  animation-delay: -1s;
}

.carrier-visual span:nth-child(3)::after {
  animation-delay: -2s;
}

.capacity-visual {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 12px;
  padding-bottom: 34px;
}

.capacity-visual span {
  width: 24%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px 6px 0 0;
  background: rgba(130, 240, 189, 0.14);
  animation: capacityBreath 4.4s ease-in-out infinite;
}

.capacity-visual span:nth-child(1) {
  height: 58px;
}

.capacity-visual span:nth-child(2) {
  height: 96px;
  animation-delay: -1.1s;
}

.capacity-visual span:nth-child(3) {
  height: 76px;
  animation-delay: -2.2s;
}

.capacity-visual span:nth-child(4) {
  height: 116px;
  animation-delay: -3.3s;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1fr);
  gap: clamp(42px, 7vw, 102px);
  align-items: start;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.proof-grid span {
  display: grid;
  min-height: 112px;
  place-items: center;
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
  font-weight: 820;
  letter-spacing: 0.18em;
  background: rgba(255, 255, 255, 0.04);
}

.quotes {
  grid-column: 2;
  grid-template-columns: 1fr 1fr;
}

.quote {
  min-height: 230px;
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.quote blockquote {
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 650;
  line-height: 1.12;
}

.quote figcaption {
  color: var(--dim);
  font-size: 14px;
}

.final-cta {
  display: grid;
  min-height: 92vh;
  place-items: center;
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 42px;
  max-width: 1220px;
}

.final-cta .actions {
  justify-content: center;
}

/* Section quality pass */
.section:not(.hero) {
  isolation: isolate;
}

.section:not(.hero)::before {
  position: absolute;
  inset: 8% clamp(18px, 3.6vw, 54px) auto;
  z-index: -1;
  height: min(46vw, 520px);
  content: "";
  background:
    radial-gradient(circle at 24% 28%, rgba(131, 197, 255, 0.13), transparent 21rem),
    radial-gradient(circle at 82% 60%, rgba(130, 240, 189, 0.08), transparent 19rem);
  filter: blur(10px);
  opacity: 0.82;
  pointer-events: none;
}

.section > * {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 1120px;
}

.section-heading h2,
.scale-copy h2,
.proof-copy h2 {
  text-wrap: balance;
}

.problem {
  align-content: center;
  min-height: min(860px, calc(100vh - 72px));
}

.motion-timeline,
.comparison,
.certainty-grid,
.proof-grid,
.quotes {
  gap: 12px;
}

.motion-card,
.comparison,
.certainty-card,
.proof-grid,
.quote {
  backdrop-filter: blur(22px);
}

.absorb-system {
  backdrop-filter: blur(22px);
  box-shadow: 0 40px 130px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.motions {
  max-width: 1440px;
}

.motion-timeline {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 24% 18%, rgba(131, 197, 255, 0.16), transparent 18rem),
    radial-gradient(circle at 80% 82%, rgba(130, 240, 189, 0.11), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.022));
  box-shadow: 0 42px 130px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.motion-card {
  min-height: clamp(410px, 35vw, 520px);
  padding: clamp(24px, 2.5vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--radius) - 1px);
  background: rgba(4, 7, 10, 0.42);
}

.motion-card:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.motion-card::before {
  background:
    radial-gradient(circle at 50% 76%, rgba(131, 197, 255, 0.2), transparent 13rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
}

.motion-index {
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.motion-card h3 {
  align-self: start;
  margin-top: clamp(128px, 12vw, 176px);
  font-size: clamp(28px, 2.8vw, 44px);
}

.motion-card p {
  max-width: 12ch;
  font-size: clamp(17px, 1.35vw, 21px);
}

.motion-visual {
  top: clamp(70px, 6vw, 92px);
  right: clamp(20px, 2vw, 32px);
  bottom: auto;
  left: clamp(20px, 2vw, 32px);
  height: clamp(132px, 12vw, 172px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    rgba(255, 255, 255, 0.028);
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.network-section {
  padding-top: clamp(92px, 11vw, 150px);
}

.network-panel {
  min-height: clamp(520px, 52vw, 720px);
  border-color: rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.11), transparent 13rem),
    radial-gradient(circle at 30% 28%, rgba(131, 197, 255, 0.23), transparent 24rem),
    radial-gradient(circle at 76% 70%, rgba(130, 240, 189, 0.15), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.022));
}

.network-panel svg {
  min-height: clamp(520px, 52vw, 720px);
}

.network-lines path {
  stroke-width: 2;
  stroke-dasharray: 3 18;
}

.network-nodes circle {
  stroke-width: 1.8;
  filter: drop-shadow(0 0 24px rgba(131, 197, 255, 0.2));
}

.network-nodes .brand-node,
.network-nodes .customer-node {
  filter: drop-shadow(0 0 34px rgba(130, 240, 189, 0.22));
}

.network-labels text {
  font-size: 18px;
  letter-spacing: 0.03em;
}

.scale {
  max-width: 1440px;
  align-items: stretch;
}

.scale-copy {
  display: grid;
  align-content: center;
  min-height: 520px;
}

.comparison {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 72% 76%, rgba(130, 240, 189, 0.12), transparent 16rem),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 42px 130px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.comparison-column {
  min-height: 600px;
  padding: clamp(30px, 3vw, 46px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.026));
}

.comparison-column h3 {
  max-width: 10ch;
  font-size: clamp(30px, 2.8vw, 44px);
  line-height: 0.98;
}

.comparison-column ul {
  gap: 22px;
}

.comparison-column li {
  padding-left: 28px;
  font-size: clamp(18px, 1.45vw, 22px);
}

.comparison-column li::before {
  top: 0.58em;
  width: 9px;
  height: 9px;
}

.muted-column {
  color: rgba(255, 255, 255, 0.58);
}

.shipmetry-column {
  background:
    radial-gradient(circle at 64% 72%, rgba(130, 240, 189, 0.2), transparent 18rem),
    radial-gradient(circle at 12% 18%, rgba(131, 197, 255, 0.12), transparent 14rem),
    rgba(255, 255, 255, 0.065);
}

.shipmetry-column strong {
  margin-top: clamp(78px, 8vw, 124px);
  color: #f8fffb;
  text-shadow: 0 0 34px rgba(130, 240, 189, 0.2);
}

.certainty {
  max-width: 1440px;
}

.certainty-grid {
  gap: 12px;
}

.certainty-card {
  min-height: clamp(380px, 34vw, 500px);
  padding: clamp(24px, 2.4vw, 34px);
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 50% 22%, rgba(131, 197, 255, 0.12), transparent 13rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.068), rgba(255, 255, 255, 0.024));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.certainty-card h3 {
  font-size: clamp(26px, 2.15vw, 38px);
  line-height: 0.98;
}

.certainty-visual {
  min-height: clamp(170px, 15vw, 220px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.visibility-visual span {
  box-shadow: 0 0 24px rgba(131, 197, 255, 0.16);
}

.proof {
  max-width: 1440px;
  align-items: stretch;
}

.proof-copy {
  display: grid;
  align-content: center;
  min-height: 520px;
}

.proof-grid {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 50% 50%, rgba(131, 197, 255, 0.1), transparent 18rem),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.28);
}

.proof-grid span {
  min-height: clamp(126px, 10vw, 164px);
  color: rgba(255, 255, 255, 0.66);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.066), rgba(255, 255, 255, 0.026));
}

.quote {
  min-height: clamp(250px, 22vw, 330px);
  padding: clamp(28px, 3vw, 42px);
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 18% 14%, rgba(130, 240, 189, 0.1), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.064), rgba(255, 255, 255, 0.024));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.quote blockquote {
  font-size: clamp(25px, 2.35vw, 38px);
}

.final-cta {
  max-width: 1440px;
}

.final-cta::before {
  inset: 16% clamp(18px, 3.6vw, 54px);
  height: auto;
  background:
    radial-gradient(circle at 50% 48%, rgba(130, 240, 189, 0.14), transparent 22rem),
    radial-gradient(circle at 28% 38%, rgba(131, 197, 255, 0.14), transparent 24rem);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

html.js .reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scan {
  50% {
    transform: translateX(18%);
  }
}

@keyframes routeDash {
  to {
    stroke-dashoffset: -96;
  }
}

@keyframes corePulse {
  50% {
    transform: scale(1.08);
    filter: brightness(1.3);
  }
}

@keyframes nodeFloat {
  50% {
    transform: translateY(-8px);
  }
}

@keyframes receiveDrop {
  50% {
    transform: translateY(42px);
    background: rgba(130, 240, 189, 0.24);
  }
}

@keyframes parcelDrop {
  0% {
    opacity: 0;
    transform: translate3d(var(--box-drift), -210%, 0) rotate(calc(var(--box-rotate) - 7deg)) scale(0.96);
  }

  42% {
    opacity: 1;
    transform: translate3d(calc(var(--box-drift) * 0.44), -86%, 0) rotate(calc(var(--box-rotate) - 3deg)) scale(0.98);
  }

  82% {
    opacity: 1;
    transform: translate3d(0, 3px, 0) rotate(calc(var(--box-rotate) + 0.4deg)) scale(var(--box-scale));
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(var(--box-rotate)) scale(var(--box-scale));
  }
}

@keyframes parcelLeave {
  to {
    transform: translate3d(120vw, 0, 0);
  }
}

@keyframes shelfGlow {
  50% {
    background: rgba(130, 240, 189, 0.18);
    box-shadow: 0 0 24px rgba(130, 240, 189, 0.18);
  }
}

@keyframes packMoveA {
  50% {
    transform: translateX(112px);
    background: rgba(130, 240, 189, 0.2);
  }
}

@keyframes packScan {
  50% {
    transform: translateX(54px);
  }
}

@keyframes shipDot {
  from {
    left: 12%;
  }

  to {
    left: 82%;
  }
}

@keyframes customerBlink {
  50% {
    opacity: 0.36;
    transform: scale(1.5);
  }
}

@keyframes networkMoveA {
  50% {
    transform: translate(444px, 0);
  }

  100% {
    transform: translate(888px, -48px);
  }
}

@keyframes networkMoveB {
  50% {
    transform: translate(558px, -104px);
  }

  100% {
    transform: translate(938px, -126px);
  }
}

@keyframes networkMoveC {
  50% {
    transform: translate(558px, 104px);
  }

  100% {
    transform: translate(926px, 130px);
  }
}

@keyframes barPulse {
  50% {
    transform: scaleY(0.78);
    filter: brightness(1.25);
  }
}

@keyframes checkGlow {
  50% {
    background: rgba(130, 240, 189, 0.2);
  }
}

@keyframes carrierMove {
  to {
    left: calc(100% - 12px);
  }
}

@keyframes capacityBreath {
  50% {
    transform: scaleY(0.72);
    background: rgba(131, 197, 255, 0.18);
  }
}

@media (max-width: 1100px) {
  .hero,
  .scale,
  .proof {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .parcel-stage {
    align-self: auto;
    min-height: 420px;
    margin-top: -28px;
    mask-image: linear-gradient(90deg, black 0%, black 100%);
  }

  .parcel-rail {
    right: auto;
    left: 50%;
    width: min(92vw, 560px);
    transform: translateX(calc(-50% + var(--stack-shift)));
  }

  .commerce-svg {
    min-height: 560px;
  }

  .motion-timeline,
  .certainty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .problem {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .absorb-system {
    width: min(100%, 720px);
    margin: 0 auto;
  }

  .scale-copy,
  .proof-copy {
    min-height: auto;
  }

  .comparison-column {
    min-height: 460px;
  }

  .motion-card:nth-child(2),
  .certainty-card:nth-child(2) {
    border-right: 0;
  }

  .quotes {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto 1fr;
    padding: 16px 18px;
  }

  .site-header nav {
    display: none;
  }

  .brand-logo {
    width: clamp(142px, 42vw, 168px);
  }

  .header-cta {
    grid-column: 3;
    min-height: 38px;
    padding: 0 14px;
  }

  .section {
    padding: 92px 18px;
  }

  .hero {
    padding-top: 118px;
    overflow: hidden;
  }

  .parcel-stage {
    display: none;
  }

  .parcel-rail {
    bottom: 19%;
    width: min(100vw, 430px);
  }

  .parcel-stack {
    right: 50%;
    transform: translateX(50%);
  }

  h1 {
    font-size: clamp(42px, 11.8vw, 50px);
    line-height: 0.98;
  }

  .sketch-underline {
    display: block;
    width: fit-content;
  }

  h2 {
    font-size: clamp(46px, 14vw, 76px);
  }

  .hero-subhead {
    max-width: 32ch;
    font-size: 19px;
  }

  .hero .actions {
    max-width: 340px;
  }

  .commerce-svg,
  .network-panel svg {
    min-height: 500px;
  }

  .motion-timeline,
  .comparison,
  .certainty-grid,
  .proof-grid,
  .quotes {
    grid-template-columns: 1fr;
  }

  .motion-card,
  .motion-card:nth-child(2) {
    min-height: 330px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .motion-timeline {
    padding: 8px;
  }

  .motion-card h3 {
    margin-top: 116px;
  }

  .motion-visual {
    height: 116px;
  }

  .motion-card:last-child {
    border-bottom: 0;
  }

  .comparison-column {
    min-height: 360px;
  }

  .certainty-card {
    min-height: 310px;
  }

  .problem {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 72px;
  }

  .problem-copy h2 {
    margin-bottom: 18px;
    font-size: clamp(42px, 12vw, 62px);
  }

  .absorb-system {
    min-height: 540px;
  }

  .problem-copy h2 {
    font-size: clamp(46px, 12vw, 68px);
  }

  .debt-signal {
    min-width: 94px;
    padding: 9px 10px;
  }

  .debt-signal strong {
    font-size: 14px;
  }

  .signal-skus,
  .signal-carriers {
    display: none;
  }

  .absorb-core {
    width: min(64vw, 250px);
  }

  .system-caption {
    display: grid;
    justify-content: start;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot,
  .system-aura,
  .absorb-routes path,
  .debt-signal,
  .core-stream i {
    animation: none;
  }
}

@media (max-width: 520px) {
  .header-cta {
    display: none;
  }

  .button {
    flex: 1 1 100%;
  }

  .system-shell {
    margin-right: -64px;
    margin-left: -64px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .commerce-svg {
    min-height: 440px;
  }

  .parcel-stage {
    min-height: 300px;
  }

  .parcel-stack {
    width: 204px;
  }

  .parcel-stack-b {
    right: 242px;
  }

  .network-panel {
    margin-right: -18px;
    margin-left: -18px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
}

/* Three-step closing CTA */
.onboarding-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1.18fr);
  gap: clamp(64px, 8vw, 136px);
  align-items: start;
  min-height: auto;
  padding-top: clamp(120px, 12vw, 176px);
  padding-bottom: clamp(120px, 12vw, 176px);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  text-align: left;
}

.onboarding-cta::before {
  inset: 10% 0 4%;
  background:
    radial-gradient(circle at 14% 24%, rgba(131, 197, 255, 0.14), transparent 24rem),
    radial-gradient(circle at 84% 62%, rgba(130, 240, 189, 0.1), transparent 26rem);
}

.onboarding-intro {
  position: sticky;
  top: 132px;
}

.onboarding-cta h2 {
  max-width: 9ch;
  margin: 0 0 30px;
  font-size: clamp(56px, 6.4vw, 102px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.onboarding-steps {
  grid-column: 2;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.onboarding-steps li {
  display: grid;
  grid-template-columns: clamp(76px, 8vw, 112px) 1fr;
  gap: clamp(24px, 3vw, 48px);
  min-height: 214px;
  padding: clamp(34px, 4vw, 54px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.step-number {
  color: rgba(255, 255, 255, 0.2);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 760;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.onboarding-steps li:nth-child(2) .step-number {
  color: rgba(131, 197, 255, 0.42);
}

.onboarding-steps li:nth-child(3) .step-number {
  color: rgba(130, 240, 189, 0.5);
}

.step-copy h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(23px, 2vw, 31px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.step-copy p {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.22vw, 19px);
  line-height: 1.6;
}

.onboarding-action {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  padding-top: 12px;
}

@media (max-width: 980px) {
  .onboarding-cta {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .onboarding-intro {
    position: static;
  }

  .onboarding-cta h2 {
    max-width: 12ch;
  }

  .onboarding-steps,
  .onboarding-action {
    grid-column: 1;
  }
}

@media (max-width: 600px) {
  .onboarding-cta {
    gap: 56px;
    padding-top: 104px;
    padding-bottom: 104px;
  }

  .onboarding-cta h2 {
    font-size: clamp(48px, 14vw, 66px);
  }

  .onboarding-steps li {
    grid-template-columns: 58px 1fr;
    gap: 18px;
    min-height: 0;
    padding: 34px 0 38px;
  }

  .step-number {
    font-size: 38px;
  }

  .onboarding-action {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .onboarding-action .button {
    width: 100%;
  }
}

/* Platform navigation */
.nav-platform {
  position: relative;
  padding-bottom: 8px;
  margin-bottom: -8px;
}

.nav-platform-trigger {
  gap: 7px;
}

.nav-platform-trigger span {
  color: var(--green);
  font-size: 15px;
  transition: transform 180ms ease;
}

.nav-platform:hover .nav-platform-trigger span,
.nav-platform:focus-within .nav-platform-trigger span {
  transform: rotate(180deg);
}

.platform-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  width: min(620px, calc(100vw - 36px));
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(8, 10, 13, 0.96);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(28px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-7px);
  transition: opacity 170ms ease, transform 170ms ease;
}

.platform-menu::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 18px;
  content: "";
}

.nav-platform:hover .platform-menu,
.nav-platform:focus-within .platform-menu,
.nav-platform.is-open .platform-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header .platform-menu a {
  display: grid;
  gap: 5px;
  min-height: 0;
  padding: 14px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
}

.site-header .platform-menu a::after {
  display: none;
}

.site-header .platform-menu a:hover,
.site-header .platform-menu a.is-current {
  border-color: rgba(131, 197, 255, 0.14);
  background: linear-gradient(135deg, rgba(131, 197, 255, 0.1), rgba(130, 240, 189, 0.045));
}

.platform-menu strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
}

.platform-menu span {
  color: rgba(255, 255, 255, 0.43);
  font-size: 10px;
  font-weight: 560;
  line-height: 1.35;
}

.nav-platform-trigger.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Shared platform page template */
.platform-page {
  background:
    radial-gradient(circle at 82% 13%, rgba(130, 240, 189, 0.1), transparent 26rem),
    radial-gradient(circle at 34% -8%, rgba(131, 197, 255, 0.16), transparent 34rem),
    linear-gradient(180deg, #07090c 0%, #050608 60%, #07090b 100%);
}

.platform-page main {
  overflow: hidden;
}

.platform-page .section {
  width: 100%;
  max-width: var(--home-max);
}

.platform-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 0.72fr);
  gap: clamp(56px, 8vw, 128px);
  align-items: center;
  min-height: 100svh;
  padding-top: 132px;
  padding-bottom: 74px;
}

.platform-hero-copy {
  max-width: 760px;
}

.platform-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.platform-kicker span {
  display: inline-grid;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  place-items: center;
  border: 1px solid rgba(131, 197, 255, 0.27);
  border-radius: 50%;
  color: var(--blue);
  background: rgba(131, 197, 255, 0.055);
  letter-spacing: 0;
}

.platform-hero h1 {
  max-width: 840px;
  margin-bottom: 30px;
  font-size: clamp(58px, 6.6vw, 104px);
  font-weight: 720;
  line-height: 0.9;
  letter-spacing: -0.062em;
}

.platform-hero h1 em {
  color: transparent;
  background: linear-gradient(110deg, #f7f8fb 4%, #b9ddff 46%, #82f0bd 94%);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.platform-hero-copy > p:not(.platform-kicker) {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.5;
}

.platform-hero .actions {
  align-items: center;
  gap: 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 720;
}

.text-link span {
  color: var(--green);
}

.platform-system {
  position: relative;
  min-height: clamp(520px, 46vw, 650px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(131, 197, 255, 0.14), transparent 17rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  background-size: 54px 54px, 54px 54px, auto, auto;
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.platform-system::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 26%, rgba(255, 255, 255, 0.08) 50%, transparent 74%);
  opacity: 0.22;
  pointer-events: none;
  animation: scan 8s ease-in-out infinite;
}

.system-status {
  position: absolute;
  top: 22px;
  right: 24px;
  left: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-status strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.system-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(130, 240, 189, 0.8);
}

.system-caption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.system-caption span {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.system-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  line-height: 1.5;
}

.system-orbit,
.integration-map {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(76%, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(131, 197, 255, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -54%);
}

.system-orbit::before,
.system-orbit::after,
.integration-map::before,
.integration-map::after {
  position: absolute;
  inset: 16%;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: inherit;
  content: "";
  animation: orbitSpin 24s linear infinite;
}

.system-orbit::after,
.integration-map::after {
  inset: 34%;
  border-style: solid;
  border-color: rgba(130, 240, 189, 0.14);
  animation-direction: reverse;
}

.system-core,
.integration-core,
.inventory-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 142px;
  aspect-ratio: 1;
  padding: 22px;
  place-content: center;
  border: 1px solid rgba(210, 236, 255, 0.23);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(27, 41, 50, 0.97), rgba(7, 11, 15, 0.98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55), 0 0 70px rgba(131, 197, 255, 0.13);
  transform: translate(-50%, -50%) rotate(-3deg);
}

.system-core span,
.inventory-pulse span {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.system-core strong,
.inventory-pulse strong {
  margin-top: 7px;
  font-size: 26px;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.orbit-node,
.integration-node {
  position: absolute;
  z-index: 3;
  min-width: 82px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(7, 10, 13, 0.88);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  font-size: 9px;
  font-weight: 760;
  text-align: center;
}

.node-a, .int-a { top: -4%; left: 50%; transform: translateX(-50%); }
.node-b, .int-b { top: 24%; right: -9%; }
.node-c, .int-c { right: 5%; bottom: 5%; }
.node-d, .int-d { bottom: 5%; left: 5%; }
.node-e, .int-e { top: 24%; left: -9%; }

.platform-capabilities,
.platform-flow {
  padding-top: clamp(100px, 11vw, 160px);
  padding-bottom: clamp(100px, 11vw, 160px);
}

.platform-capabilities {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.platform-section-head {
  margin-bottom: clamp(54px, 7vw, 88px);
}

.platform-section-head h2 {
  max-width: 1020px;
  font-size: clamp(48px, 6.3vw, 96px);
  letter-spacing: -0.065em;
}

.capability-grid,
.flow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
}

.capability-grid article,
.flow-list li {
  min-height: 280px;
  padding: 26px clamp(20px, 3vw, 42px) 30px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.capability-grid article + article,
.flow-list li + li {
  padding-left: clamp(20px, 3vw, 42px);
}

.capability-grid article:last-child,
.flow-list li:last-child {
  border-right: 0;
}

.capability-grid article > span,
.flow-list li > span {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.capability-grid h3,
.flow-list strong {
  display: block;
  margin-top: 72px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.capability-grid p,
.flow-list p {
  max-width: 330px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.55;
}

.platform-flow {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
}

.platform-next {
  padding-top: 70px;
  padding-bottom: 90px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-next > p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.platform-next a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-top: 34px;
}

.platform-next a span {
  grid-column: 1;
  color: var(--green);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-next a strong {
  grid-column: 1;
  margin-top: 8px;
  font-size: clamp(48px, 8vw, 118px);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.platform-next a i {
  grid-row: 1 / 3;
  grid-column: 2;
  color: var(--green);
  font-size: clamp(38px, 5vw, 72px);
  font-style: normal;
}

/* Storage visual */
.shelf-map,
.order-queue,
.pack-layers,
.route-map {
  position: absolute;
  inset: 76px 24px 112px;
}

.shelf-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: center;
}

.shelf {
  position: relative;
  display: grid;
  height: 60%;
  padding: 16px;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.48);
  background: repeating-linear-gradient(0deg, rgba(131, 197, 255, 0.14) 0 16px, transparent 16px 28px);
  font-size: 9px;
  font-weight: 800;
}

.shelf-b { height: 82%; }
.shelf-c { height: 48%; }
.inventory-pulse { width: 130px; }

/* Fulfillment visual */
.order-queue {
  display: grid;
  align-content: center;
  gap: 10px;
}

.order-queue div {
  display: grid;
  grid-template-columns: 1fr auto 58px;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 7px;
  background: rgba(6, 9, 12, 0.72);
  font-size: 10px;
}

.order-queue b { color: rgba(255, 255, 255, 0.5); font-weight: 650; }
.order-queue i { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.order-queue div:nth-child(2) i { transform: scaleX(0.74); transform-origin: left; }
.order-queue div:nth-child(4) i { transform: scaleX(0.24); transform-origin: left; }

/* Packing visual */
.pack-layers { perspective: 800px; }
.pack-card,
.pack-box {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 210px;
  height: 140px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.42);
  background: rgba(12, 17, 21, 0.88);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-one { transform: translate(-85%, -95%) rotate(-9deg); }
.card-two { transform: translate(-18%, -104%) rotate(7deg); }
.card-three { transform: translate(-78%, -18%) rotate(5deg); }
.pack-box { z-index: 2; gap: 8px; transform: translate(-13%, -16%) rotate(-5deg); color: var(--green); background: linear-gradient(145deg, rgba(28, 43, 52, 0.98), rgba(7, 11, 15, 0.98)); }
.pack-box span { font-size: 28px; }
.pack-box strong { color: white; font-size: 16px; letter-spacing: -0.02em; text-transform: none; }

/* Shipping visual */
.route-map { top: 105px; bottom: 126px; }
.route-start, .route-end, .carrier { position: absolute; z-index: 3; padding: 10px 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; background: rgba(7,10,13,.92); font-size: 9px; font-weight: 760; }
.route-start { top: 48%; left: 0; }
.route-end { top: 48%; right: 0; }
.route-line { position: absolute; top: 53%; left: 12%; width: 76%; height: 1px; background: linear-gradient(90deg, var(--blue), rgba(255,255,255,.2), var(--green)); transform-origin: left; }
.line-one { transform: rotate(-22deg); }
.line-three { transform: rotate(22deg); }
.carrier { left: 46%; color: rgba(255,255,255,.56); }
.carrier-a { top: 17%; }
.carrier-b { top: 48%; border-color: rgba(130,240,189,.4); color: var(--green); }
.carrier-c { bottom: 13%; }

/* Integrations visual */
.integration-map { border-radius: 12px; transform: translate(-50%, -54%) rotate(45deg); }
.integration-map::before, .integration-map::after { border-radius: 12px; }
.integration-core { width: 132px; border-radius: 50%; color: white; font-size: 14px; font-weight: 780; transform: translate(-50%, -50%) rotate(-45deg); }
.integration-node { transform: rotate(-45deg); }
.int-a { transform: translateX(-50%) rotate(-45deg); }

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
  .platform-hero { grid-template-columns: 1fr; }
  .platform-hero-copy { max-width: 880px; }
  .platform-system { width: min(100%, 720px); }
}

@media (max-width: 760px) {
  .site-header nav { display: flex; }
  .site-header { grid-template-columns: 1fr auto auto; gap: 12px; }
  .brand { justify-self: center; }
  .brand-logo { width: clamp(118px, 34vw, 148px); }
  .nav-platform-trigger { font-size: 12px; }
  .platform-menu { position: fixed; top: 68px; right: 12px; left: 12px; grid-template-columns: 1fr; width: auto; max-height: calc(100svh - 82px); overflow-y: auto; }
  .site-header .platform-menu a { padding: 11px 13px; }
  .header-cta { min-height: 36px; padding: 0 11px; font-size: 11px; }
  .platform-hero { gap: 50px; min-height: auto; padding-top: 142px; }
  .platform-hero h1 { font-size: clamp(54px, 16vw, 82px); }
  .platform-system { min-height: 500px; }
  .capability-grid, .flow-list { grid-template-columns: 1fr; }
  .capability-grid article, .flow-list li { min-height: 220px; padding-right: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .capability-grid article + article, .flow-list li + li { padding-left: 0; }
  .capability-grid h3, .flow-list strong { margin-top: 54px; }
  .shelf-map, .order-queue, .pack-layers, .route-map { right: 16px; left: 16px; }
  .pack-card, .pack-box { width: 165px; height: 118px; }
}

@media (max-width: 460px) {
  .site-header { gap: 8px; padding-right: 12px; padding-left: 12px; }
  .brand-logo { width: 112px; }
  .nav-platform-trigger span { display: none; }
  .header-cta { padding: 0 9px; }
  .platform-system { min-height: 460px; }
  .system-orbit, .integration-map { width: 72%; }
  .orbit-node, .integration-node { min-width: 66px; padding: 8px; font-size: 8px; }
  .system-caption { grid-template-columns: 58px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .system-orbit::before, .system-orbit::after, .integration-map::before, .integration-map::after { animation: none; }
}

/* Simple editorial platform pages */
.platform-menu {
  grid-template-columns: 1fr;
  width: 238px;
  padding: 8px;
}

.site-header .platform-menu a {
  display: block;
  padding: 12px 13px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
}

.site-header .platform-menu a:hover,
.site-header .platform-menu a.is-current {
  color: var(--text);
}

.platform-article {
  max-width: 1120px !important;
  min-height: 100svh;
  padding-top: clamp(150px, 18vh, 210px);
  padding-bottom: clamp(100px, 13vw, 180px);
}

.platform-article::before {
  display: none;
}

.article-kicker {
  margin-bottom: 32px;
  color: var(--green);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.platform-article h1 {
  max-width: 900px;
  margin-bottom: 42px;
  font-size: clamp(48px, 5.4vw, 78px);
  font-weight: 710;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.article-lead {
  max-width: 780px;
  margin-bottom: clamp(72px, 10vw, 130px);
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(21px, 2.2vw, 31px);
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.article-body {
  width: min(100%, 660px);
  margin-left: auto;
  padding-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.article-body p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.7;
}

.platform-cta {
  width: 100%;
  max-width: var(--home-max) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.platform-cta h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.cta-logo {
  display: inline-block;
  width: clamp(180px, 22vw, 320px);
  aspect-ratio: 1380 / 360;
  margin-left: 0.08em;
  vertical-align: -0.08em;
  background: var(--green);
  mask-image: url("assets/shipmetry-logo.png?v=20260701");
  mask-mode: luminance;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-image: url("assets/shipmetry-logo.png?v=20260701");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

@media (max-width: 760px) {
  .platform-menu {
    width: auto;
  }

  .site-header nav {
    gap: 14px;
  }

  .platform-article {
    padding-top: 148px;
  }

  .platform-article h1 {
    font-size: clamp(42px, 11.5vw, 58px);
    line-height: 1.06;
  }

  .article-lead {
    margin-bottom: 80px;
  }

  .article-body {
    margin-left: 0;
  }
}

@media (max-width: 380px) {
  .site-header nav {
    gap: 9px;
  }

  .nav-platform-trigger {
    font-size: 11px;
  }

  .brand-logo {
    width: 92px;
  }

  .header-cta {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 10px;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-header nav {
    grid-column: 1;
    min-width: 0;
  }

  .site-header .brand {
    display: none;
  }

  .site-header .header-cta {
    grid-column: 2;
  }
}

@media (max-width: 380px) {
  .site-header nav {
    gap: 7px;
  }

  .nav-platform-trigger {
    font-size: 10px;
  }
}

/* Non-navigating top-level menu controls */
.site-header .nav-platform-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 720;
  cursor: default;
}

.site-header .nav-platform-trigger::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--green);
  box-shadow: 0 0 10px rgba(130, 240, 189, 0.34);
  opacity: 0;
  transform: scaleX(0.48);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-platform:hover .nav-platform-trigger,
.nav-platform:focus-within .nav-platform-trigger,
.site-header .nav-platform-trigger.is-active {
  color: var(--text);
}

.nav-platform:hover .nav-platform-trigger::after,
.nav-platform:focus-within .nav-platform-trigger::after,
.site-header .nav-platform-trigger.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.article-link {
  color: var(--green);
  border-bottom: 1px solid rgba(130, 240, 189, 0.45);
}

@media (max-width: 760px) {
  .site-header .nav-platform-trigger {
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .site-header .nav-platform-trigger {
    font-size: 9px;
  }
}

/* Blog */
.blog-page {
  background:
    radial-gradient(circle at 78% 8%, rgba(130, 240, 189, 0.09), transparent 28rem),
    radial-gradient(circle at 24% -8%, rgba(131, 197, 255, 0.14), transparent 34rem),
    #050608;
}

.blog-page .section {
  width: 100%;
  max-width: var(--home-max);
}

.blog-hero {
  display: flex;
  min-height: 92svh;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 160px;
  padding-bottom: clamp(80px, 9vw, 130px);
}

.blog-hero::before,
.blog-feed::before,
.post-hero::before {
  display: none;
}

.blog-hero h1 {
  max-width: 1120px;
  margin-bottom: clamp(64px, 9vw, 120px);
  font-size: clamp(62px, 8.5vw, 128px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.067em;
}

.blog-hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 620px) auto;
  gap: 48px;
  align-items: end;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.blog-hero-foot p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.5;
}

.blog-hero-foot span,
.blog-feed-head {
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-feed {
  padding-top: clamp(100px, 11vw, 160px);
  padding-bottom: clamp(120px, 13vw, 190px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-feed-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 34px;
}

.blog-feed-head p {
  margin: 0;
  color: var(--green);
}

.featured-post {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.72fr);
  min-height: 560px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.featured-post-copy {
  display: flex;
  max-width: 850px;
  flex-direction: column;
  padding: clamp(48px, 6vw, 84px) clamp(34px, 5vw, 74px) clamp(48px, 6vw, 78px) 0;
}

.post-label {
  margin-bottom: 40px;
  color: var(--green);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-post h2 {
  margin-bottom: 30px;
  font-size: clamp(42px, 4.9vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.052em;
  transition: color 180ms ease;
}

.featured-post:hover h2 {
  color: #c8ffe3;
}

.featured-post-copy > p:not(.post-label) {
  max-width: 640px;
  margin-bottom: 44px;
  color: rgba(255, 255, 255, 0.52);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.55;
}

.read-link {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 740;
}

.read-link i {
  color: var(--green);
  font-size: 18px;
  font-style: normal;
  transition: transform 180ms ease;
}

.featured-post:hover .read-link i {
  transform: translate(3px, -3px);
}

.featured-post-art {
  position: relative;
  min-height: 100%;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(130, 240, 189, 0.14), transparent 17rem),
    rgba(255, 255, 255, 0.018);
  background-size: 54px 54px, 54px 54px, auto, auto;
  overflow: hidden;
}

.featured-post-art strong {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  transform: translate(-50%, -50%);
}

.featured-post-art > i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(130, 240, 189, 0.52), transparent);
  transform-origin: center;
}

.featured-post-art > i:nth-of-type(2) { transform: rotate(120deg); }
.featured-post-art > i:nth-of-type(3) { transform: rotate(240deg); }

.art-node {
  position: absolute;
  z-index: 3;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(6, 9, 11, 0.88);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.art-node-a { top: 17%; left: 12%; }
.art-node-b { top: 19%; right: 10%; }
.art-node-c { right: 17%; bottom: 15%; }

/* Long-form article */
.post-hero {
  max-width: 1180px !important;
  min-height: 92svh;
  padding-top: clamp(160px, 18vh, 220px);
  padding-bottom: clamp(90px, 10vw, 140px);
}

.post-hero h1 {
  max-width: 1080px;
  margin-bottom: 38px;
  font-size: clamp(52px, 6.5vw, 92px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.post-deck {
  max-width: 780px;
  margin-bottom: clamp(70px, 8vw, 110px);
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.48;
  letter-spacing: -0.025em;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-divider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  width: min(calc(100% - 36px), 1280px);
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.34);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-divider i {
  height: 1px;
  background: linear-gradient(90deg, var(--green), rgba(255,255,255,.1));
}

.post-content {
  width: min(calc(100% - 36px), 740px);
  margin: 0 auto;
  padding: clamp(90px, 10vw, 150px) 0 clamp(120px, 13vw, 190px);
}

.post-content p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.78;
}

.post-content .post-intro {
  margin-bottom: clamp(78px, 9vw, 120px);
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.post-content h2 {
  margin: clamp(76px, 9vw, 116px) 0 30px;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.post-content h3 {
  margin: 52px 0 18px;
  font-size: clamp(23px, 2.3vw, 31px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.post-content blockquote {
  margin: clamp(70px, 8vw, 104px) -12vw;
  padding: 10px 0 10px clamp(28px, 4vw, 54px);
  border-left: 2px solid var(--green);
  color: #effff7;
  font-size: clamp(34px, 4.4vw, 62px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.post-endnote {
  margin-top: clamp(90px, 10vw, 130px);
  padding: 32px 0;
  border-top: 1px solid rgba(130, 240, 189, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.post-endnote span {
  color: var(--green);
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-endnote p {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.58;
}

@media (max-width: 900px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-post-art { min-height: 430px; border-top: 1px solid rgba(255,255,255,.1); border-left: 0; }
  .post-content blockquote { margin-right: 0; margin-left: 0; }
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-header nav {
    grid-column: 1;
    gap: 16px;
    min-width: 0;
  }

  .site-header .brand {
    display: none;
  }

  .site-header .header-cta {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .blog-hero { min-height: 82svh; padding-top: 150px; }
  .blog-hero h1 { font-size: clamp(54px, 16vw, 78px); line-height: 0.94; }
  .blog-hero-foot { grid-template-columns: 1fr; gap: 28px; }
  .featured-post-copy { padding-right: 0; }
  .featured-post h2 { font-size: clamp(38px, 11vw, 54px); }
  .post-hero h1 { font-size: clamp(44px, 12vw, 64px); line-height: 1.03; }
  .post-content blockquote { font-size: clamp(31px, 9vw, 45px); }
}

@media (max-width: 380px) {
  .site-header .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr;
  }
}

/* Simplified blog index */
.site-header .nav-blog-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 720;
}

.site-header .nav-blog-link::after {
  background: var(--green);
  box-shadow: 0 0 10px rgba(130, 240, 189, 0.34);
}

.site-header .nav-blog-link.is-active {
  color: var(--text);
}

.site-header .nav-blog-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.blog-page {
  background: #050608;
}

.blog-simple-hero {
  min-height: 520px;
  padding-top: 180px;
  padding-bottom: 90px;
}

.blog-simple-hero::before,
.blog-grid-section::before {
  display: none;
}

.blog-simple-hero h1 {
  margin-bottom: 34px;
  font-size: clamp(58px, 7vw, 94px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
}

.blog-simple-hero > p:last-child {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
}

.blog-grid-section {
  padding-top: 0;
  padding-bottom: clamp(110px, 12vw, 170px);
}

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

.blog-card {
  display: flex;
  aspect-ratio: 1;
  flex-direction: column;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: transparent;
  transition: border-color 160ms ease, background 160ms ease;
}

.blog-card:hover {
  border-color: rgba(130, 240, 189, 0.45);
  background: rgba(130, 240, 189, 0.025);
}

.blog-card > span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-card h2 {
  max-width: 610px;
  margin: clamp(44px, 6vw, 82px) 0 24px;
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.blog-card p {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.55;
}

.blog-card i {
  margin-top: auto;
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 720;
}

/* Quiet article reading layout */
.post-hero {
  min-height: 0;
  padding-top: clamp(170px, 18vw, 230px);
  padding-bottom: clamp(70px, 8vw, 110px);
}

.post-hero h1 {
  max-width: 920px;
  font-size: clamp(48px, 5.3vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.post-deck {
  max-width: 720px;
  margin-bottom: 64px;
  font-size: clamp(18px, 1.7vw, 24px);
}

.post-content {
  width: min(calc(100% - 36px), 720px);
  padding-top: 76px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.post-content .post-intro {
  margin-bottom: 70px;
  font-size: clamp(20px, 1.7vw, 25px);
}

.post-content h2 {
  margin-top: 72px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
}

.post-content blockquote {
  margin: 70px 0;
  padding-left: 26px;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.18;
}

.post-endnote {
  margin-top: 80px;
}

.post-back {
  margin-top: 72px !important;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.post-back a {
  color: var(--green);
  font-size: 12px;
  font-weight: 720;
}

@media (max-width: 760px) {
  .site-header .nav-blog-link {
    font-size: 11px;
  }

  .blog-simple-hero {
    min-height: 420px;
    padding-top: 150px;
    padding-bottom: 70px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    padding: 30px;
  }

  .blog-card h2 {
    font-size: clamp(30px, 9vw, 42px);
  }
}

@media (max-width: 380px) {
  .site-header .nav-blog-link {
    font-size: 9px;
  }
}

/* Compact blog scale */
.blog-simple-hero {
  min-height: 360px;
  padding-top: 138px;
  padding-bottom: 48px;
}

.blog-simple-hero .article-kicker {
  margin-bottom: 18px;
}

.blog-simple-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(46px, 4.6vw, 64px);
  letter-spacing: -0.045em;
}

.blog-simple-hero > p:last-child {
  max-width: 520px;
  font-size: 16px;
}

.blog-grid-section {
  padding-bottom: 96px;
}

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

.blog-card {
  padding: 26px;
}

.blog-card h2 {
  margin: 34px 0 16px;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.12;
}

.blog-card p {
  font-size: 13px;
  line-height: 1.5;
}

.blog-card i {
  font-size: 10px;
}

.post-hero {
  padding-top: 154px;
  padding-bottom: 64px;
}

.post-hero h1 {
  max-width: 820px;
  font-size: clamp(42px, 4.4vw, 62px);
}

.post-content {
  padding-top: 58px;
}

@media (max-width: 1180px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .blog-simple-hero {
    min-height: 320px;
    padding-top: 128px;
    padding-bottom: 38px;
  }

  .blog-simple-hero h1 {
    font-size: 44px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    aspect-ratio: auto;
    min-height: 300px;
  }
}

/* AEO article structure */
.post-answer {
  max-width: 760px;
  margin: 0 0 54px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.55;
}

.post-content > section:not(.faq-section) {
  margin-bottom: 68px;
}

.post-content > section:not(.faq-section) h2 {
  margin-top: 0;
}

.faq-section {
  margin-top: 96px;
  padding-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.faq-section > h2 {
  margin-top: 0;
  margin-bottom: 46px;
}

.faq-item {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 1.8vw, 25px);
}

.faq-item p {
  margin-bottom: 0;
}

.post-source-note {
  margin-top: 72px !important;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.38) !important;
  font-size: 13px !important;
}

/* Site footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: clamp(68px, 8vw, 112px) var(--content-edge) 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #030405;
}

.footer-main,
.footer-bottom {
  width: 100%;
  max-width: var(--home-max);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(4, minmax(150px, 0.78fr));
  gap: clamp(38px, 5vw, 78px);
  align-items: start;
}

.footer-brand {
  display: flex;
  max-width: 320px;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  display: block;
  width: 174px;
  aspect-ratio: 1380 / 360;
  background: rgba(255, 255, 255, 0.94);
  mask-image: url("assets/shipmetry-logo.png?v=20260701");
  mask-mode: luminance;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-image: url("assets/shipmetry-logo.png?v=20260701");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.footer-brand p {
  margin: 28px 0 22px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
  line-height: 1.6;
}

.footer-email {
  color: var(--green);
  font-size: 14px;
  font-weight: 680;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-column h2 {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.2;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
  line-height: 1.4;
  transition: color 150ms ease;
}

.footer-column a:hover {
  color: var(--green);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(66px, 8vw, 110px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
}

.footer-bottom div {
  display: flex;
  gap: 24px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.46);
  transition: color 150ms ease;
}

.footer-bottom a:hover {
  color: var(--green);
}

@media (max-width: 1180px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 22px;
  }
}

@media (max-width: 620px) {
  .site-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 24px;
  }

  .footer-brand {
    max-width: 290px;
  }

  .footer-column a {
    font-size: 12px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Blog: plain editorial index */
.blog-page::before {
  display: none;
}

.blog-simple-hero {
  min-height: 0;
  padding-top: 132px;
  padding-bottom: 38px;
}

.blog-simple-hero h1 {
  margin: 0;
  font-size: clamp(42px, 4vw, 56px);
  font-weight: 650;
  letter-spacing: -0.04em;
}

.blog-grid-section {
  padding-bottom: 80px;
}

.blog-card {
  justify-content: space-between;
  padding: 24px;
  background: transparent;
}

.blog-card:hover {
  border-color: var(--green);
  background: transparent;
}

.blog-card h2 {
  margin: 0;
  font-size: clamp(21px, 1.8vw, 27px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.blog-card time {
  color: rgba(255, 255, 255, 0.34);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 620px) {
  .blog-simple-hero {
    padding-top: 120px;
    padding-bottom: 32px;
  }

  .blog-card {
    min-height: 260px;
  }
}

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

/* Problem section — editorial logistics language */
.problem {
  grid-template-columns: minmax(0, 0.76fr) minmax(560px, 1.24fr);
  gap: clamp(54px, 6vw, 104px);
  max-width: 1500px;
  min-height: min(820px, calc(100vh - 72px));
}

.problem::before {
  opacity: 0.26 !important;
}

.problem-copy {
  max-width: 650px;
}

.problem-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.problem-index span {
  color: rgba(255, 255, 255, 0.82);
  font-variant-numeric: tabular-nums;
}

.problem-copy h2 {
  margin: 34px 0 30px;
  color: #f4f4f2;
  font-size: clamp(56px, 5.5vw, 88px);
  font-weight: 690;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.problem-copy p {
  max-width: 560px;
  color: rgba(247, 248, 251, 0.58);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.5;
}

.debt-flow {
  position: relative;
  min-width: 0;
  min-height: 536px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.flow-head {
  display: flex;
  height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.flow-head span:last-child {
  width: 23%;
  color: rgba(255, 255, 255, 0.7);
}

.flow-row {
  position: relative;
  display: flex;
  width: 72%;
  height: 88px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  overflow: hidden;
}

.flow-number {
  position: relative;
  z-index: 2;
  width: 54px;
  flex: 0 0 54px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.flow-track {
  display: grid;
  width: 100%;
  align-items: center;
  grid-template-columns: minmax(118px, 0.85fr) minmax(150px, 1.2fr) minmax(44px, 0.5fr);
  gap: clamp(12px, 1.3vw, 22px);
}

.flow-track strong {
  color: rgba(245, 246, 244, 0.88);
  font-size: clamp(19px, 1.6vw, 26px);
  font-weight: 620;
  letter-spacing: -0.035em;
}

.flow-track span {
  color: rgba(245, 246, 244, 0.42);
  font-size: 11px;
  font-weight: 560;
  line-height: 1.25;
}

.flow-track i {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(130, 240, 189, 0.72));
  transform-origin: right;
  animation: routeEnter 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.flow-track i::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  content: "";
  border-top: 1px solid rgba(130, 240, 189, 0.82);
  border-right: 1px solid rgba(130, 240, 189, 0.82);
  transform: rotate(45deg);
}

.row-inventory .flow-track i { animation-delay: 80ms; }
.row-warehouses .flow-track i { animation-delay: 160ms; }
.row-carriers .flow-track i { animation-delay: 240ms; }
.row-returns .flow-track i { animation-delay: 320ms; }

.flow-gate {
  position: absolute;
  top: 52px;
  bottom: 0;
  left: 72%;
  z-index: 3;
  width: 1px;
}

.gate-line {
  position: absolute;
  inset: 0;
  width: 1px;
  background: rgba(130, 240, 189, 0.7);
  box-shadow: 0 0 22px rgba(130, 240, 189, 0.18);
}

.gate-name {
  position: absolute;
  top: 18px;
  left: 50%;
  padding: 7px 0;
  color: rgba(130, 240, 189, 0.76);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: #080b0d;
  transform: translateX(-50%) rotate(-90deg) translateX(-100%);
  transform-origin: top left;
}

.gate-mark {
  position: absolute;
  right: 10px;
  bottom: 18px;
  display: grid;
  gap: 3px;
  width: 18px;
  transform: skewY(-28deg);
}

.gate-mark i {
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
}

.flow-result {
  position: absolute;
  top: 50%;
  right: 0;
  width: 23%;
  transform: translateY(-50%);
}

.flow-result span {
  display: block;
  margin-bottom: 12px;
  color: rgba(130, 240, 189, 0.72);
  font-size: 11px;
}

.flow-result strong {
  display: block;
  color: #f4f4f2;
  font-size: clamp(25px, 2.3vw, 36px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.055em;
}

@keyframes debtTrack {
  to { transform: translateX(-34%); }
}

@keyframes routeEnter {
  from { opacity: 0; transform: scaleX(0); }
}

@media (max-width: 1100px) {
  .problem {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .problem-copy {
    max-width: 760px;
  }

  .debt-flow {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .problem {
    gap: 54px;
  }

  .problem-copy h2 {
    font-size: clamp(48px, 13vw, 68px);
  }

  .debt-flow {
    min-height: 472px;
  }

  .flow-head {
    height: 42px;
  }

  .flow-row {
    width: 66%;
    height: 78px;
  }

  .flow-number {
    width: 34px;
    flex-basis: 34px;
  }

  .flow-track {
    grid-template-columns: minmax(78px, 0.8fr) minmax(80px, 1fr) minmax(28px, 0.35fr);
    gap: 9px;
  }

  .flow-track strong {
    font-size: 16px;
  }

  .flow-track span {
    font-size: 9px;
  }

  .flow-gate {
    top: 42px;
    left: 66%;
  }

  .flow-head span:last-child,
  .flow-result {
    width: 28%;
  }

  .flow-result strong {
    font-size: clamp(22px, 6.6vw, 30px);
  }
}

/* Problem section — final stripped-back composition */
.problem {
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(250px, 0.62fr) minmax(340px, 0.78fr);
  gap: 0;
  align-items: center;
  max-width: 1500px;
  min-height: min(760px, calc(100vh - 72px));
}

.problem::before {
  display: none;
}

.problem-copy {
  max-width: none;
}

.problem-copy h2 {
  margin: 0;
  color: #f4f4f2;
  font-size: clamp(60px, 5.8vw, 94px);
  font-weight: 690;
  line-height: 0.93;
  letter-spacing: -0.055em;
}

.problem-arrow {
  position: relative;
  z-index: 2;
  margin: 42px 0 0 -30px;
}

.problem-arrow svg {
  display: block;
  width: 100%;
  overflow: visible;
  transform: rotate(-3deg);
}

.problem-arrow path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arrow-ghost {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 7;
  transform: translate(2px, 3px);
}

.arrow-stroke {
  stroke: rgba(130, 240, 189, 0.86);
  stroke-width: 3;
}

.arrow-stroke {
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
}

.problem-arrow.show .arrow-stroke {
  animation: scribbleArrow 1.4s 120ms cubic-bezier(0.22, 0.7, 0.2, 1) forwards;
}

.problem-answer {
  position: relative;
  z-index: 3;
  padding-left: clamp(42px, 3vw, 62px);
}

.problem-answer strong {
  display: block;
  max-width: 10ch;
  color: #f4f4f2;
  font-size: clamp(42px, 4.35vw, 70px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

@keyframes scribbleArrow {
  to { stroke-dashoffset: 0; }
}

@media (max-width: 1100px) {
  .problem {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 140px;
    padding-bottom: 120px;
  }

  .problem-copy {
    max-width: 760px;
  }

  .problem-arrow {
    width: min(62vw, 500px);
    margin: -16px 0 -12px 28%;
  }

  .problem-arrow svg {
    transform: rotate(24deg);
  }

  .problem-answer {
    justify-self: end;
    width: min(72vw, 620px);
    padding-left: 0;
  }

  .problem-answer strong {
    max-width: 12ch;
  }
}

@media (max-width: 760px) {
  .problem {
    padding-top: 128px;
    padding-bottom: 96px;
  }

  .problem-copy h2 {
    font-size: clamp(48px, 13vw, 68px);
  }

  .problem-arrow {
    width: 82vw;
    margin: -12px 0 -18px 10%;
  }

  .problem-arrow svg {
    transform: rotate(34deg);
  }

  .problem-answer {
    width: 86vw;
  }

  .problem-answer strong {
    font-size: clamp(40px, 11vw, 56px);
  }
}

/* Four motions — one continuous fulfillment line */
.motions {
  max-width: 1440px;
  overflow: hidden;
}

.motions .section-heading {
  margin-bottom: clamp(58px, 7vw, 96px);
}

.motion-rail {
  position: relative;
  height: clamp(330px, 27vw, 400px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.motion-rail::before,
.motion-rail::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 5;
  width: 9%;
  content: "";
  pointer-events: none;
}

.motion-rail::before {
  left: 0;
  background: linear-gradient(90deg, #07090b, transparent);
}

.motion-rail::after {
  right: 0;
  background: linear-gradient(-90deg, #07090b, transparent);
}

.rail-line {
  position: absolute;
  top: 46%;
  right: 0;
  left: 0;
  z-index: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 18px rgba(130, 240, 189, 0.08);
}

.motion-stops {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.motion-stop {
  position: relative;
}

.motion-stop + .motion-stop {
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.motion-stop i {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 12px;
  height: 12px;
  border: 2px solid #07090b;
  border-radius: 50%;
  background: #d7fff0;
  box-shadow: 0 0 0 1px rgba(130, 240, 189, 0.6), 0 0 22px rgba(130, 240, 189, 0.24);
  transform: translate(-50%, -50%);
}

.motion-stop strong {
  position: absolute;
  top: calc(46% + 58px);
  left: 50%;
  color: rgba(245, 246, 244, 0.92);
  font-size: clamp(27px, 2.7vw, 42px);
  font-weight: 640;
  letter-spacing: -0.055em;
  transform: translateX(-50%);
}

.parcel-stream {
  position: absolute;
  inset: 0;
  z-index: 4;
  isolation: isolate;
  pointer-events: none;
}

.moving-parcel {
  position: absolute;
  z-index: 1;
  top: 46%;
  left: -12%;
  width: clamp(112px, 9.5vw, 150px);
  max-width: none;
  mix-blend-mode: normal;
  filter: saturate(0.82) contrast(1.08);
  mask-image: radial-gradient(ellipse 66% 58% at 50% 51%, black 70%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 66% 58% at 50% 51%, black 70%, transparent 95%);
  transform: translate(-50%, -50%);
  animation: parcelAcross 24s linear infinite;
  will-change: left;
}

.parcel-one { animation-delay: 0s; }
.parcel-two { animation-delay: -6s; }
.parcel-three { animation-delay: -12s; }
.parcel-four { animation-delay: -18s; }

@keyframes parcelAcross {
  from { left: -12%; }
  to { left: 112%; }
}

@media (max-width: 760px) {
  .motions .section-heading {
    margin-bottom: 48px;
  }

  .motion-rail {
    height: 330px;
    margin-right: -18px;
    margin-left: -18px;
  }

  .motion-stop strong {
    top: calc(46% + 42px);
    font-size: clamp(19px, 6vw, 25px);
  }

  .moving-parcel {
    width: 104px;
    animation-duration: 18s;
  }

  .parcel-one { animation-delay: 0s; }
  .parcel-two { animation-delay: -4.5s; }
  .parcel-three { animation-delay: -9s; }
  .parcel-four { animation-delay: -13.5s; }
}

@media (prefers-reduced-motion: reduce) {
  .moving-parcel {
    display: none;
    animation: none;
  }

  .moving-parcel.parcel-one {
    left: 50%;
    display: block;
  }
}

/* Network — three stations, three routes */
.network-section {
  max-width: 1440px;
}

.network-panel {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
  pointer-events: none;
}

.network-panel::before,
.network-panel::after {
  display: none;
}

.network-panel svg {
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1200 / 560;
  overflow: visible;
}

.network-routes path {
  fill: none;
  stroke: rgba(238, 244, 242, 0.3);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 3 9;
  vector-effect: non-scaling-stroke;
}

.network-routes #routeUpper,
.network-routes #routeLower {
  stroke: rgba(130, 240, 189, 0.3);
}

.network-routes #routeDirect {
  stroke: rgba(255, 255, 255, 0.38);
}

.network-stations circle {
  fill: #080b0d;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.network-stations .shipmetry-station {
  fill: #080b0d;
  stroke: rgba(130, 240, 189, 0.9);
}

.network-station-labels text {
  fill: rgba(245, 246, 244, 0.86);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 640;
  letter-spacing: -0.04em;
  text-anchor: middle;
}

.network-parcel-image {
  opacity: 1;
  filter: saturate(0.78) contrast(1.08);
  mix-blend-mode: normal;
}

.network-logo-mark {
  fill: rgba(245, 246, 244, 0.92);
}

@media (max-width: 760px) {
  .network-panel {
    margin-right: -8px;
    margin-left: -8px;
  }

  .network-station-labels text {
    font-size: 30px;
  }

  .network-parcel-image {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .network-parcel {
    display: none;
  }
}

/* Scale — operational load trajectory */
.scale {
  display: grid;
  grid-template-columns: minmax(420px, 0.78fr) minmax(580px, 1.22fr);
  gap: clamp(64px, 7vw, 118px);
  align-items: center;
  max-width: 1500px;
  min-height: min(820px, calc(100vh - 72px));
}

.scale::before {
  display: none;
}

.scale-copy {
  min-height: 0;
}

.scale-copy h2 {
  margin: 0;
  color: #f4f4f2;
  font-size: clamp(58px, 5.4vw, 88px);
  font-weight: 690;
  line-height: 0.93;
  letter-spacing: -0.055em;
}

.scale-copy h2 span {
  color: rgba(130, 240, 189, 0.82);
}

.scale-chart {
  position: relative;
  min-width: 0;
  padding: 54px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.scale-chart svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.chart-label {
  position: absolute;
  color: rgba(245, 246, 244, 0.42);
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.03em;
}

.chart-y {
  top: 20px;
  left: 0;
}

.chart-x {
  right: 0;
  bottom: 18px;
}

.chart-x span {
  margin-left: 6px;
  color: rgba(130, 240, 189, 0.72);
}

.chart-grid path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.09);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.traditional-line,
.shipmetry-line {
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.traditional-line {
  stroke: rgba(245, 246, 244, 0.4);
  stroke-width: 2;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
}

.shipmetry-line {
  stroke: rgba(130, 240, 189, 0.92);
  stroke-width: 2.5;
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
}

.scale-chart.show .traditional-line {
  animation: chartLineIn 1.8s 160ms cubic-bezier(0.22, 0.7, 0.2, 1) forwards;
}

.scale-chart.show .shipmetry-line {
  animation: chartLineIn 1.15s 520ms cubic-bezier(0.22, 0.7, 0.2, 1) forwards;
}

.step-labels text,
.trajectory-labels text {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.step-labels text {
  fill: rgba(245, 246, 244, 0.38);
  font-size: 13px;
  font-weight: 570;
}

.trajectory-labels text {
  font-size: 14px;
  font-weight: 650;
  text-anchor: end;
}

.traditional-label {
  fill: rgba(245, 246, 244, 0.54);
}

.shipmetry-label {
  fill: rgba(130, 240, 189, 0.9);
}

.chart-endpoints circle {
  opacity: 0;
}

.traditional-point {
  fill: rgba(245, 246, 244, 0.66);
}

.shipmetry-point {
  fill: #82f0bd;
  filter: drop-shadow(0 0 7px rgba(130, 240, 189, 0.45));
}

.scale-chart.show .chart-endpoints circle {
  animation: chartPointIn 360ms 1.45s ease-out forwards;
}

@keyframes chartLineIn {
  to { stroke-dashoffset: 0; }
}

@keyframes chartPointIn {
  from { opacity: 0; transform: scale(0.5); transform-origin: center; }
  to { opacity: 1; transform: scale(1); transform-origin: center; }
}

@media (max-width: 1100px) {
  .scale {
    grid-template-columns: 1fr;
    gap: 76px;
    padding-top: 132px;
    padding-bottom: 110px;
  }

  .scale-copy {
    max-width: 840px;
  }

  .scale-chart {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .scale {
    gap: 58px;
  }

  .scale-copy h2 {
    font-size: clamp(48px, 12.8vw, 66px);
  }

  .scale-chart {
    padding-top: 40px;
    padding-bottom: 34px;
  }

  .step-labels text {
    font-size: 17px;
  }

  .trajectory-labels text {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .traditional-line,
  .shipmetry-line {
    stroke-dashoffset: 0;
  }

  .chart-endpoints circle {
    opacity: 1;
  }
}

/* Scale — explicit operating layers */
.scale {
  grid-template-columns: minmax(420px, 0.74fr) minmax(620px, 1.26fr);
}

.scale-copy h2 span {
  color: #f4f4f2;
}

.ops-compare {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ops-row {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: clamp(26px, 3vw, 48px);
  min-height: 220px;
  align-items: center;
  padding: 34px 0;
}

.ops-row + .ops-row {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ops-row-label {
  align-self: start;
  padding-top: 4px;
  color: rgba(245, 246, 244, 0.46);
  font-size: 11px;
  font-weight: 620;
}

.ops-build {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.4vw, 20px);
}

.ops-build strong {
  color: rgba(245, 246, 244, 0.72);
  font-size: clamp(18px, 1.55vw, 25px);
  font-weight: 610;
  letter-spacing: -0.035em;
}

.ops-build i {
  color: rgba(245, 246, 244, 0.24);
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
}

.ops-shipmetry {
  position: relative;
}

.ops-shipmetry::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: rgba(130, 240, 189, 0.82);
  transform: scaleX(0);
  transform-origin: left;
}

.ops-compare.show .ops-shipmetry::after {
  animation: opsLineIn 1.1s 360ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ops-one {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.ops-logo {
  display: block;
  width: clamp(128px, 12vw, 172px);
  aspect-ratio: 1380 / 360;
  flex: 0 0 auto;
  background: rgba(245, 246, 244, 0.9);
  mask-image: url("assets/shipmetry-logo.png?v=20260701");
  mask-mode: luminance;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-image: url("assets/shipmetry-logo.png?v=20260701");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.ops-one strong {
  max-width: 10ch;
  color: #f4f4f2;
  font-size: clamp(31px, 3vw, 48px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-align: right;
}

@keyframes opsLineIn {
  to { transform: scaleX(1); }
}

@media (max-width: 1100px) {
  .scale {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ops-row {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    padding: 30px 0 36px;
  }

  .ops-build {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
  }

  .ops-build strong {
    font-size: 18px;
  }

  .ops-one {
    align-items: flex-start;
    flex-direction: column;
  }

  .ops-one strong {
    max-width: 12ch;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ops-shipmetry::after {
    transform: scaleX(1);
  }
}

/* Scale — hand-drawn workload graph */
.hand-chart {
  min-width: 0;
}

.hand-chart svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.hand-axes path,
.hand-trajectories path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.hand-axes path {
  stroke: rgba(245, 246, 244, 0.72);
  stroke-width: 2;
}

.axis-arrow-y,
.axis-arrow-x {
  stroke-width: 2 !important;
}

.traditional-curve,
.shipmetry-curve {
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
}

.traditional-curve {
  stroke: rgba(245, 246, 244, 0.86);
  stroke-width: 2.6;
}

.shipmetry-curve {
  stroke: rgba(130, 240, 189, 0.95);
  stroke-width: 3;
}

.hand-chart.show .traditional-curve {
  animation: handCurveIn 1.7s 160ms cubic-bezier(0.2, 0.65, 0.2, 1) forwards;
}

.hand-chart.show .shipmetry-curve {
  animation: handCurveIn 1.35s 420ms cubic-bezier(0.2, 0.65, 0.2, 1) forwards;
}

.chart-copy text {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.axis-title-x,
.axis-title-y {
  fill: rgba(245, 246, 244, 0.74);
  font-size: 14px;
  font-weight: 640;
  letter-spacing: 0.01em;
}

.axis-title-x {
  text-anchor: end;
}

.traditional-copy,
.shipmetry-prefix {
  font-size: 17px;
  font-weight: 700;
  text-anchor: end;
}

.traditional-copy {
  fill: rgba(245, 246, 244, 0.9);
}

.shipmetry-prefix {
  fill: rgba(130, 240, 189, 0.96);
}

.chart-logo-mark {
  fill: rgba(130, 240, 189, 0.96);
}

.work-note {
  fill: rgba(245, 246, 244, 0.64);
  font-size: 13px;
  font-weight: 620;
}

@keyframes handCurveIn {
  to { stroke-dashoffset: 0; }
}

@media (max-width: 1100px) {
  .hand-chart {
    width: 100%;
    max-width: 860px;
  }
}

@media (max-width: 760px) {
  .hand-chart {
    margin-right: -8px;
    margin-left: -8px;
  }

  .axis-title-x,
  .axis-title-y {
    font-size: 18px;
  }

  .traditional-copy,
  .shipmetry-prefix {
    font-size: 20px;
  }

  .work-note {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .traditional-curve,
  .shipmetry-curve {
    stroke-dashoffset: 0;
  }

}

/* Book demo */
.booking {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(440px, 0.72fr);
  gap: clamp(72px, 9vw, 150px);
  align-items: center;
  max-width: 1440px;
  min-height: 100svh;
  padding-top: 132px;
  padding-bottom: 90px;
}

.booking-copy {
  max-width: none;
}

.booking-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  color: rgba(245, 246, 244, 0.46);
  font-size: 11px;
  font-weight: 640;
}

.booking-kicker::after {
  width: 58px;
  height: 1px;
  content: "";
  background: rgba(130, 240, 189, 0.7);
}

.booking-copy h1 {
  margin: 0;
  color: rgba(130, 240, 189, 0.96);
  font-size: clamp(48px, 5.1vw, 78px);
  font-weight: 690;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.booking-intro {
  display: grid;
  gap: 24px;
  max-width: 640px;
  margin-top: clamp(34px, 4vw, 52px);
}

.booking-intro p {
  margin: 0;
  color: rgba(245, 246, 244, 0.76);
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 430;
  line-height: 1.5;
  letter-spacing: -0.018em;
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.booking-field {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  min-height: 0;
  padding: 20px 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.booking-field:nth-of-type(even) {
  padding-right: 0;
  padding-left: 0;
  border-left: 0;
}

.booking-field > span {
  color: rgba(245, 246, 244, 0.48);
  font-size: 11px;
  font-weight: 630;
}

.booking-field input {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  color: #f4f4f2;
  background: transparent;
  font: inherit;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 560;
  letter-spacing: -0.035em;
}

.booking-field:focus-within {
  border-bottom-color: rgba(130, 240, 189, 0.78);
}

.booking-form .button {
  grid-column: auto;
  justify-self: start;
  margin-top: 30px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.booking-form .button:disabled {
  opacity: 0.6;
  cursor: default;
}

.booking-status {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: #1f7a45;
}

.booking-status.is-error {
  color: #b42318;
}

@media (max-width: 900px) {
  .booking {
    grid-template-columns: 1fr;
    gap: 74px;
    padding-top: 152px;
  }

  .booking-copy h1 {
    font-size: clamp(44px, 11.5vw, 62px);
  }
}

@media (max-width: 520px) {
  .booking {
    gap: 56px;
    padding-top: 132px;
  }

  .booking-field {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .booking-field input {
    font-size: 18px;
  }
}
