@import url("https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,700&display=swap");

:root {
  color-scheme: light;
  --purple: #7557f6;
  /* Card stat tuning variables keep the refinement easy to adjust. */
  --stat-accent: #3e74d4;
  --stat-overlay-opacity: 0.24;
  --stat-shadow-opacity: 0.22;
  --stat-value-weight: 650;
  --black: #050505;
  --white: #ffffff;
  --soft-white: rgba(255, 255, 255, 0.78);
  --glass-white: rgba(255, 255, 255, 0.16);
  --nav-height: 56px;
  --frame-gutter: 7px;
  --hero-scale-x: 1;
  --hero-scale-y: 1;
  --hero-radius: 28px;
  --trace-scale-x: 0.948;
  --trace-scale-y: 0.992;
  --trace-radius: 34px;
  --trace-progress: 0;
  --trace-focus-y: 16%;
  --trace-focus-opacity: 0.08;
  --trace-stage-shift: 0px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--white);
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

html.lenis,
html.lenis body {
  height: auto;
}

html.lenis.lenis-smooth {
  scroll-behavior: auto;
}

html.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

html.lenis.lenis-stopped {
  overflow: hidden;
}

html.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--white);
  color: #111111;
  font-family: "Inter", Arial, sans-serif;
}

body.is-loading {
  overflow: hidden;
}

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

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: var(--white);
  opacity: 1;
  visibility: visible;
  transition: opacity 520ms ease, visibility 0s linear 520ms;
}

body:not(.is-loading) .site-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.site-loader-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #151515;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-loader-logo {
  display: block;
  width: clamp(42px, 4vw, 58px);
  height: clamp(42px, 4vw, 58px);
  object-fit: contain;
}

.site-loader-line {
  position: relative;
  width: clamp(92px, 10vw, 136px);
  height: 3px;
  border-radius: 999px;
  background: rgba(117, 87, 246, 0.14);
  overflow: hidden;
}

.site-loader-line::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(117, 87, 246, 0) 0%, rgba(117, 87, 246, 0.98) 50%, rgba(117, 87, 246, 0) 100%);
  content: "";
  transform: translateX(-100%);
  animation: loaderSweep 1.3s ease-in-out infinite;
}

@keyframes loaderSweep {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(360px, 2fr) minmax(88px, 1fr);
  align-items: center;
  height: var(--nav-height);
  padding: 0 44px;
  background: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 6px;
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.brand-mark {
  display: block;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  font-size: 16px;
  font-weight: 700;
}

.nav-links a {
  line-height: 1;
  white-space: nowrap;
}

.nav-accent {
  justify-self: end;
  width: 70px;
  height: 2px;
  background: var(--purple);
}

.page-shell {
  min-height: 150svh;
  padding: var(--nav-height) var(--frame-gutter) var(--frame-gutter);
  background: var(--white);
}

.hero-panel {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--nav-height) - var(--frame-gutter));
}

.hero-surface {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  border: 1px solid var(--white);
  border-radius: var(--hero-radius);
  background: #f2c1dd;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(var(--hero-scale-x), var(--hero-scale-y));
  transform-origin: top center;
  backface-visibility: hidden;
  will-change: transform, border-radius;
}

.shader-background {
  display: block;
  width: 100%;
  height: 100%;
  background: #f2c1dd;
}

.webgl-fallback .shader-background {
  display: none;
}

.hero-panel > :not(.hero-surface) {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.74fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100svh - var(--nav-height) - var(--frame-gutter));
  padding: 78px 66px 70px;
  padding-bottom: max(70px, var(--hero-carousel-clearance, 132px));
  color: var(--white);
}

.hero-copy {
  max-width: 880px;
}

.hero-social-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
}

.hero-avatar-stack {
  display: flex;
  align-items: center;
  isolation: isolate;
  padding-left: 6px;
}

.hero-avatar-card {
  display: block;
  width: 40px;
  height: 40px;
  margin-left: -14px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 18px 32px rgba(8, 8, 16, 0.2);
  object-fit: cover;
  object-position: center;
  background: rgba(255, 255, 255, 0.14);
  transform: rotate(var(--avatar-tilt, 0deg));
}

.hero-avatar-card:first-child {
  margin-left: 0;
}

.hero-avatar-card:nth-child(1) {
  --avatar-tilt: -5deg;
}

.hero-avatar-card:nth-child(2) {
  --avatar-tilt: -1deg;
}

.hero-avatar-card:nth-child(3) {
  --avatar-tilt: 4deg;
  object-position: center 28%;
}

.hero-avatar-card:nth-child(4) {
  --avatar-tilt: 2deg;
  object-position: center 24%;
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #ffcf24;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 10px 18px rgba(255, 187, 0, 0.14);
}

.hero-eyebrow {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-headline {
  max-width: 820px;
  margin: 0;
  color: var(--white);
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-headline span {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 700;
}

.hero-subheadline {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--soft-white);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.hero-button-primary {
  background: var(--white);
  color: #15111f;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.hero-button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.hero-trust {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.hero-logo-carousel {
  --logo-height: clamp(26px, 1.9vw, 32px);
  --logo-gap: clamp(14px, 1.2vw, 18px);
  --logo-scroll-speed: 34;
  --logo-scroll-duration: 56s;
  --logo-fade-edge: 3%;
  --logos-visible-desktop: 8;
  --logos-visible-tablet: 6;
  --logos-visible-mobile: 3;
  --logos-visible: var(--logos-visible-desktop);
  container-type: inline-size;
  position: absolute;
  left: clamp(20px, 3.4vw, 66px);
  right: clamp(20px, 3.4vw, 66px);
  bottom: clamp(18px, 4.2svh, 44px);
  z-index: 1;
  width: auto;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 var(--logo-fade-edge),
    #000 calc(100% - var(--logo-fade-edge)),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 var(--logo-fade-edge),
    #000 calc(100% - var(--logo-fade-edge)),
    transparent 100%
  );
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: logo-marquee-scroll var(--logo-scroll-duration) linear infinite;
}

.logo-marquee-group {
  display: flex;
  align-items: center;
  gap: var(--logo-gap);
  margin: 0;
  padding: 0 var(--logo-gap) 0 0;
  list-style: none;
}

.logo-marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 clamp(68px, 9vw, 110px);
  min-width: clamp(68px, 9vw, 110px);
  height: calc(var(--logo-height) + clamp(10px, 0.95vw, 16px));
}

@supports (width: 1cqi) {
  .logo-marquee-item {
    flex-basis: calc((100cqi - (var(--logos-visible) - 1) * var(--logo-gap)) / var(--logos-visible));
    min-width: calc((100cqi - (var(--logos-visible) - 1) * var(--logo-gap)) / var(--logos-visible));
  }
}

.logo-marquee-item img {
  display: block;
  max-width: 100%;
  max-height: var(--logo-height);
  width: auto;
  height: auto;
  opacity: 0.82;
  object-fit: contain;
}

@keyframes logo-marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.hero-visual {
  --hero-diagram-top: 22px;
  --hero-diagram-min-height: 352px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: var(--hero-diagram-top);
  min-height: max(520px, calc(var(--hero-diagram-top) + var(--hero-diagram-min-height) + 24px));
}

.workflow-diagram {
  position: relative;
  width: min(440px, 100%);
}

.workflow-diagram-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0;
  min-height: var(--hero-diagram-min-height);
  padding: 16px 20px 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.82) 0%, rgba(6, 6, 6, 0.68) 100%);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
}

.workflow-diagram-shell::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(82% 54% at 74% 24%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 30%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.22) 100%);
  content: "";
  pointer-events: none;
}

.workflow-diagram-rule,
.workflow-stage-preview,
.workflow-diagram-output {
  position: relative;
  z-index: 1;
}

.workflow-diagram-rule {
  height: 1px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.workflow-diagram-fill {
  display: block;
  width: 36%;
  height: 100%;
  background: rgba(255, 255, 255, 0.58);
}

.workflow-stage-preview {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-stage-preview-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-stage-preview-index {
  padding-top: 4px;
  color: rgba(255, 255, 255, 0.28);
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.workflow-stage-preview-copy strong,
.workflow-stage-preview-copy span {
  display: block;
}

.workflow-stage-preview-copy strong {
  color: rgba(249, 248, 243, 0.34);
  font-family: "Inter", Arial, sans-serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.04;
}

.workflow-stage-preview-copy span {
  margin-top: 7px;
  color: rgba(241, 239, 233, 0.52);
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.workflow-stage-preview-item.is-active .workflow-stage-preview-index {
  color: rgba(255, 255, 255, 0.72);
}

.workflow-stage-preview-item.is-active .workflow-stage-preview-copy strong {
  color: rgba(249, 248, 243, 0.95);
}

.workflow-stage-preview-item.is-active .workflow-stage-preview-copy span {
  color: rgba(241, 239, 233, 0.84);
}

.workflow-diagram-output {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-self: end;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.38);
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.workflow-diagram-output span {
  color: rgba(245, 244, 239, 0.74);
}

.trace-section {
  position: relative;
  min-height: 300svh;
  padding: 8px 0 112px;
  background: var(--white);
}

.trace-panel {
  position: relative;
  isolation: isolate;
  height: calc(100svh - var(--nav-height) - var(--frame-gutter));
  min-height: calc(100svh - var(--nav-height) - var(--frame-gutter));
  overflow: hidden;
  border-radius: var(--trace-radius);
}

.trace-panel::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid var(--white);
  border-radius: inherit;
  content: "";
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(var(--trace-scale-x), var(--trace-scale-y));
  transform-origin: top center;
  will-change: transform, border-radius;
}

.trace-surface {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--trace-radius);
  background: #060606;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(var(--trace-scale-x), var(--trace-scale-y));
  transform-origin: top center;
  backface-visibility: hidden;
  will-change: transform, border-radius;
}

.trace-surface::before,
.trace-surface::after {
  position: absolute;
  inset: 0;
  content: "";
}

.trace-surface::before {
  background:
    radial-gradient(72% 44% at 58% 17%, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018) 28%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, rgba(1, 1, 1, 0.22) 0%, rgba(1, 1, 1, 0.08) 28%, rgba(1, 1, 1, 0.16) 100%);
  opacity: 0.96;
}

.trace-surface::after {
  background:
    radial-gradient(120% 86% at 50% 18%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0.34) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.18) 28%, rgba(0, 0, 0, 0.3) 100%);
}

.trace-shader-background {
  display: block;
  width: 100%;
  height: 100%;
  background: #070707;
}

.trace-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--trace-radius);
  transform: translate3d(0, 0, 0) scale(var(--trace-scale-x), var(--trace-scale-y));
  transform-origin: top center;
  backface-visibility: hidden;
  will-change: transform, border-radius;
}

.trace-content::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.62) 0%, rgba(5, 5, 5, 0.52) 34%, rgba(5, 5, 5, 0.34) 100%);
  content: "";
  pointer-events: none;
}

.trace-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 35%) minmax(0, 65%);
  gap: clamp(44px, 5vw, 88px);
  width: min(1360px, calc(100% - 88px));
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: clamp(42px, 5vw, 72px) 0 clamp(40px, 4vw, 58px);
}

.trace-rail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: visible;
}

.trace-eyebrow {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.58);
  font-family: "Satoshi", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.trace-headline {
  margin: 0;
  max-width: 12ch;
  color: rgba(249, 248, 243, 0.97);
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(42px, 4vw, 72px);
  font-weight: 600;
  line-height: 0.96;
}

.trace-copy {
  margin: 24px 0 0;
  max-width: 34rem;
  color: rgba(226, 224, 218, 0.78);
  font-family: "Satoshi", Arial, sans-serif;
  font-size: clamp(17px, 1.32vw, 21px);
  font-weight: 500;
  line-height: 1.45;
}

.trace-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.trace-proof-strip span {
  color: rgba(239, 237, 232, 0.72);
  font-family: "Satoshi", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trace-letters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: clamp(6px, 0.8vw, 14px);
  width: 100%;
  margin-top: auto;
  padding-top: clamp(12px, 2.4vh, 18px);
}

.trace-letter {
  display: block;
  color: rgba(245, 244, 239, 0.28);
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(38px, 5.4vw, 78px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0.02em;
  opacity: 1;
  text-align: center;
  transform: translate3d(0, 0, 0) scale(1);
  transition: color 220ms ease;
}

.trace-letter.is-active {
  color: rgba(245, 244, 239, 0.94);
}

.trace-stage-region {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding-top: 2px;
  --trace-focus-y: 18%;
  --trace-focus-opacity: 0.08;
}

.trace-stage-region::before {
  position: absolute;
  inset: 56px -6% 74px 14%;
  background:
    radial-gradient(70% 22% at 70% var(--trace-focus-y), rgba(255, 255, 255, var(--trace-focus-opacity)), rgba(255, 255, 255, 0.03) 34%, rgba(255, 255, 255, 0) 72%);
  content: "";
  pointer-events: none;
}

.trace-progress-rule,
.trace-stage-list,
.trace-closing {
  position: relative;
  z-index: 1;
}

.trace-progress-rule {
  flex: 0 0 auto;
  height: 1px;
  margin-bottom: 26px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.trace-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.62);
  transform: scaleX(var(--trace-progress));
  transform-origin: left center;
}

.trace-stage-viewport {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.trace-stage-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transform: translate3d(0, var(--trace-stage-shift, 0px), 0);
  will-change: transform;
}

.trace-stage {
  display: grid;
  gap: 0;
  padding: clamp(14px, 1.4vw, 20px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: padding 260ms ease, opacity 260ms ease;
}

.trace-stage-topline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}

.trace-stage-index {
  padding-top: 4px;
  color: rgba(255, 255, 255, 0.3);
  font-family: "Satoshi", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: color 240ms ease;
}

.trace-stage-heading {
  min-width: 0;
}

.trace-stage-title {
  margin: 0;
  color: rgba(249, 248, 243, 0.34);
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(21px, 1.85vw, 32px);
  font-weight: 600;
  line-height: 1.02;
  transition: color 240ms ease;
}

.trace-stage-body {
  display: grid;
  gap: 18px;
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  transform: translate3d(0, -10px, 0);
  transform-origin: top center;
  transition: max-height 320ms ease, margin-top 320ms ease, opacity 220ms ease, transform 320ms ease;
}

.trace-stage.is-active {
  padding: clamp(18px, 1.7vw, 24px) 0;
}

.trace-stage.is-active .trace-stage-index {
  color: rgba(255, 255, 255, 0.72);
}

.trace-stage.is-active .trace-stage-title {
  color: rgba(249, 248, 243, 0.96);
}

.trace-stage.is-active .trace-stage-body {
  max-height: 34rem;
  margin-top: 14px;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.trace-stage-doctrine {
  margin: 0;
  color: rgba(243, 241, 236, 0.88);
  font-family: "Satoshi", Arial, sans-serif;
  font-size: clamp(16px, 1.08vw, 18px);
  font-weight: 500;
  line-height: 1.35;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 220ms ease 60ms, transform 260ms ease 60ms;
}

.trace-stage.is-active .trace-stage-doctrine {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.trace-stage-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px clamp(20px, 2.2vw, 34px);
  padding-left: clamp(27px, 3vw, 48px);
}

.trace-stage-detail {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 220ms ease 100ms, transform 260ms ease 100ms;
}

.trace-stage.is-active .trace-stage-detail {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.trace-detail-label {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.48);
  font-family: "Satoshi", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.trace-detail-copy {
  margin: 0;
  color: rgba(226, 224, 219, 0.76);
  font-family: "Satoshi", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.38;
}

.trace-stage-output {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding-left: clamp(27px, 3vw, 48px);
  color: rgba(255, 255, 255, 0.36);
  font-family: "Satoshi", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 220ms ease 130ms, transform 260ms ease 130ms;
}

.trace-stage.is-active .trace-stage-output {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.trace-stage-output span {
  color: rgba(245, 244, 239, 0.74);
}

.trace-closing {
  flex: 0 0 auto;
  margin-top: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trace-closing-line {
  margin: 0;
  max-width: 24ch;
  color: rgba(248, 246, 241, 0.96);
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 500;
  line-height: 1.08;
}

.trace-bridge-line {
  margin: 14px 0 0;
  max-width: 34ch;
  color: rgba(228, 226, 220, 0.58);
  font-family: "Satoshi", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.trace-section--static {
  min-height: auto;
}

.trace-section--static .trace-progress-fill {
  transform: scaleX(1);
  opacity: 0.28;
}

.trace-section--static .trace-stage {
  opacity: 1;
}

.trace-section--static .trace-stage {
  padding: clamp(20px, 1.8vw, 26px) 0;
}

.trace-section--static .trace-stage-index {
  color: rgba(255, 255, 255, 0.72);
}

.trace-section--static .trace-stage-title {
  color: rgba(249, 248, 243, 0.96);
}

.trace-section--static .trace-stage-body {
  max-height: none;
  margin-top: 14px;
  opacity: 1;
  overflow: visible;
  transform: none;
}

.trace-section--static .trace-stage-doctrine,
.trace-section--static .trace-stage-detail,
.trace-section--static .trace-stage-output {
  opacity: 1;
  transform: none;
}

.trace-section--static .trace-letter {
  color: rgba(245, 244, 239, 0.22);
}

.trace-section--static .trace-letter.is-active {
  color: rgba(241, 239, 233, 0.52);
}

.next-section {
  padding: 118px 0 96px;
  background: var(--white);
}

.section-shell {
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto;
}

.work-intro {
  max-width: 860px;
}

.section-headline {
  margin: 0;
  color: #1c1b20;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0;
}

.section-headline span {
  color: #3e74d4;
}

.section-copy {
  max-width: 520px;
  margin: 28px 0 0;
  color: #4f4b57;
  font-size: 16px;
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.5;
}

.scroll-heading,
.scroll-subheading {
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
}

.case-study-list {
  display: grid;
  gap: 24px;
  margin-top: 56px;
}

.case-study-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  isolation: isolate;
  min-height: 420px;
  overflow: hidden;
  border-radius: 24px;
  background: #f3f3f4;
}

.case-study-card--hidden {
  display: none;
}

.case-study-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1);
  filter: blur(0);
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.case-study-image--lower {
  object-position: center 60%;
}

.case-study-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.04) 40%, rgba(0, 0, 0, 0) 70%);
  transition:
    background 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.case-study-logo {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  right: auto;
  width: clamp(140px, 18vw, 220px);
  max-width: 42%;
  transform: translate(-50%, -50%);
  transform-origin: center;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.18));
  transition:
    top 460ms cubic-bezier(0.22, 1, 0.36, 1),
    left 460ms cubic-bezier(0.22, 1, 0.36, 1),
    width 460ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 460ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease;
}

.case-study-copy {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(160px, 0.88fr) minmax(0, 1.92fr);
  column-gap: clamp(28px, 4vw, 56px);
  padding: 34px;
  border-radius: inherit;
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 260ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

/* Full-layer feathered contrast field so the fade follows the card corners exactly. */
.case-study-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(
      122% 146% at 100% 50%,
      rgba(8, 10, 20, calc(var(--stat-overlay-opacity) * 0.92)) 0%,
      rgba(8, 10, 20, calc(var(--stat-overlay-opacity) * 0.46)) 42%,
      rgba(8, 10, 20, 0) 82%
    ),
    linear-gradient(
      90deg,
      rgba(8, 10, 20, 0) 0%,
      rgba(8, 10, 20, 0) 28%,
      rgba(8, 10, 20, calc(var(--stat-overlay-opacity) * 0.08)) 48%,
      rgba(8, 10, 20, calc(var(--stat-overlay-opacity) * 0.38)) 72%,
      rgba(8, 10, 20, calc(var(--stat-overlay-opacity) * 0.86)) 100%
    );
}

.case-study-meta {
  position: relative;
  z-index: 1;
  align-self: start;
  max-width: 220px;
  padding-top: 92px;
  text-align: left;
}

.case-study-industry-label {
  margin: 0;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  opacity: 0.74;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-study-industry {
  margin: 10px 0 0;
  color: var(--white);
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  position: relative;
  align-self: stretch;
  align-content: center;
  gap: clamp(20px, 2.4vw, 30px) clamp(18px, 2vw, 28px);
  min-width: 0;
  isolation: isolate;
}

.case-study-stat {
  position: relative;
  z-index: 1;
  max-width: 240px;
}

.case-study-stat-value {
  margin: 0;
  color: var(--stat-accent);
  font-size: clamp(38px, 4.3vw, 68px);
  font-weight: var(--stat-value-weight);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 1px 2px rgba(8, 10, 20, var(--stat-shadow-opacity));
}

.case-study-stat-label {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.32;
}

.case-study-card:hover .case-study-image,
.case-study-card.is-active .case-study-image {
  transform: scale(1.08);
  filter: blur(12px);
}

.case-study-card:hover .case-study-overlay,
.case-study-card.is-active .case-study-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.22) 52%, rgba(0, 0, 0, 0.08) 100%);
}

.case-study-card:hover .case-study-logo,
.case-study-card.is-active .case-study-logo {
  top: 34px;
  left: 34px;
  width: 118px;
  max-width: none;
  transform: translate(0, 0);
}

.case-study-card:hover .case-study-copy,
.case-study-card.is-active .case-study-copy {
  opacity: 1;
  transform: translateY(0);
}

.contact-section {
  padding: 0 0 104px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbf6f2 42%, #f4ece7 100%);
}

.contact-shell {
  padding-top: 8px;
}

.contact-intro {
  max-width: 860px;
}

.contact-eyebrow {
  margin: 0 0 18px;
  color: #756d7d;
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: start;
  margin-top: 56px;
}

.contact-brief {
  display: grid;
  gap: 24px;
}

.contact-proof-list {
  display: grid;
  gap: 18px;
}

.contact-proof-card {
  padding: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(17, 14, 24, 0.06);
}

.contact-proof-label {
  margin: 0 0 14px;
  color: #6b6374;
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-proof-card h3 {
  margin: 0;
  color: #18151f;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 600;
  line-height: 1.02;
}

.contact-proof-card p:last-child {
  margin: 18px 0 0;
  color: #554f5f;
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.contact-direct-card {
  padding: 32px;
  border-radius: 28px;
  background:
    radial-gradient(84% 120% at 10% 0%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 62%),
    linear-gradient(145deg, #17121d 0%, #08070b 100%);
  color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 80px rgba(8, 7, 11, 0.24);
}

.contact-direct-kicker {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.54);
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-direct-card h3 {
  margin: 0;
  max-width: 14ch;
  color: #f9f7f2;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(28px, 2.9vw, 40px);
  font-weight: 600;
  line-height: 0.98;
}

.contact-direct-copy {
  margin: 20px 0 0;
  max-width: 34rem;
  color: rgba(235, 232, 226, 0.72);
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.contact-checklist {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

.contact-checklist li {
  position: relative;
  padding-left: 18px;
  color: rgba(244, 242, 237, 0.84);
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.contact-checklist li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f2c1dd;
  content: "";
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 32px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 100%);
  box-shadow: 0 28px 80px rgba(17, 14, 24, 0.08);
}

.contact-form-head {
  max-width: 36rem;
}

.contact-form-kicker {
  margin: 0 0 12px;
  color: #756d7d;
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-form-head h3 {
  margin: 0;
  color: #18151f;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 600;
  line-height: 0.98;
}

.contact-form-head p:last-child {
  margin: 16px 0 0;
  color: #555061;
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-field {
  display: grid;
  gap: 10px;
}

.contact-field span {
  color: #393446;
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 18px;
  padding: 16px 18px;
  background: #fcf8f4;
  color: #18151f;
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #8f8896;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(62, 116, 212, 0.58);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(62, 116, 212, 0.12);
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  background: #17121d;
  color: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  box-shadow: 0 18px 44px rgba(23, 18, 29, 0.2);
}

.contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 52px rgba(23, 18, 29, 0.24);
}

.contact-submit:focus-visible {
  outline: 2px solid rgba(62, 116, 212, 0.58);
  outline-offset: 3px;
}

.contact-form-note {
  margin: 0;
  color: #625b69;
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.contact-form-note.is-success {
  color: #244f96;
}

.site-footer {
  padding: 44px 0 34px;
  background:
    radial-gradient(110% 160% at 10% 0%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 48%),
    linear-gradient(160deg, #17121d 0%, #09080c 100%);
  color: rgba(255, 255, 255, 0.82);
}

.footer-shell {
  display: grid;
  gap: 30px;
}

.footer-brand-block {
  max-width: 460px;
}

.footer-brand {
  color: #ffffff;
}

.footer-copy {
  margin: 18px 0 0;
  color: rgba(236, 233, 227, 0.64);
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

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

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-heading {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.48);
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: rgba(244, 242, 237, 0.82);
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.footer-column a {
  transition: color 180ms ease;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-meta {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-meta p {
  margin: 0;
  color: rgba(236, 233, 227, 0.5);
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .site-loader-brand {
    font-size: 28px;
  }

  .site-loader-logo {
    width: 40px;
    height: 40px;
  }

  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 0 20px;
  }

  .nav-links {
    display: flex;
    justify-content: flex-end;
    gap: clamp(10px, 1.8vw, 18px);
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    font-size: 14px;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 8px 0;
  }

  .nav-accent {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 54px 28px 40px;
    padding-bottom: max(48px, var(--hero-carousel-clearance, 110px));
  }

  .hero-social-proof {
    gap: 16px;
    margin-bottom: 16px;
  }

  .hero-avatar-card {
    width: 36px;
    height: 36px;
    margin-left: -12px;
    border-radius: 50%;
  }

  .hero-rating {
    gap: 4px;
    font-size: 18px;
  }

  .hero-headline {
    max-width: 680px;
    font-size: 54px;
  }

  .hero-subheadline {
    max-width: 650px;
    font-size: 17px;
    line-height: 1.5;
  }

  .hero-logo-carousel {
    --logos-visible: var(--logos-visible-tablet);
    --logo-height: clamp(22px, 2.6vw, 28px);
    --logo-gap: clamp(12px, 1.8vw, 16px);
    left: 28px;
    right: 28px;
    bottom: 18px;
  }

  .hero-visual {
    --hero-diagram-top: 0px;
    --hero-diagram-min-height: 320px;
    justify-content: center;
    min-height: auto;
    padding-top: 0;
  }

  .workflow-diagram {
    width: min(420px, 100%);
    transform: none;
  }

  .next-section {
    padding: 88px 0 76px;
  }

  .trace-section {
    min-height: 255svh;
    padding: 8px 0 88px;
  }

  .trace-panel {
    height: calc(100svh - var(--nav-height) - var(--frame-gutter));
    min-height: calc(100svh - var(--nav-height) - var(--frame-gutter));
  }

  .trace-content {
    position: absolute;
    inset: 0;
    min-height: 0;
    overflow: hidden;
  }

  .trace-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 28px;
    width: min(100%, calc(100% - 56px));
    height: 100%;
    min-height: 0;
    padding: 38px 0 42px;
  }

  .trace-rail {
    max-width: min(100%, 720px);
    overflow: visible;
  }

  .trace-headline {
    max-width: 11ch;
    font-size: clamp(38px, 6vw, 58px);
  }

  .trace-copy {
    max-width: 38rem;
    font-size: 16px;
  }

  .trace-proof-strip {
    gap: 10px 18px;
  }

  .trace-letters {
    gap: 8px;
    width: 100%;
    margin-top: 24px;
    padding-top: 4px;
  }

  .trace-letter {
    font-size: clamp(28px, 5.2vw, 46px);
  }

  .trace-stage-region {
    min-height: 0;
    padding-top: 0;
  }

  .trace-stage-region::before {
    inset: 54px -8% 58px 6%;
  }

  .trace-stage-viewport {
    min-height: 0;
    overflow: hidden;
  }

  .trace-progress-rule {
    margin-bottom: 18px;
  }

  .trace-stage-list {
    transform: translate3d(0, var(--trace-stage-shift, 0px), 0);
  }

  .trace-stage {
    padding: 24px 0;
  }

  .trace-stage-topline {
    gap: 14px 18px;
  }

  .trace-stage-title {
    font-size: clamp(24px, 3.8vw, 32px);
  }

  .trace-stage-doctrine {
    font-size: 18px;
  }

  .trace-stage-details {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-left: 30px;
  }

  .trace-stage-output {
    padding-left: 30px;
  }

  .trace-closing {
    padding-top: 18px;
  }

  .trace-closing-line {
    max-width: 24ch;
    font-size: clamp(22px, 3.7vw, 32px);
  }

  .section-shell {
    width: min(100%, calc(100% - 48px));
  }

  .section-copy {
    max-width: 460px;
    font-size: 15px;
  }

  .case-study-list {
    margin-top: 44px;
  }

  .case-study-card {
    min-height: 340px;
  }

  .case-study-copy {
    grid-template-columns: minmax(132px, 0.8fr) minmax(0, 1.7fr);
    column-gap: 22px;
    padding: 28px;
  }

  .case-study-meta {
    max-width: 180px;
    padding-top: 82px;
  }

  .case-study-logo {
    width: clamp(128px, 24vw, 190px);
  }

  .case-study-card:hover .case-study-logo,
  .case-study-card.is-active .case-study-logo {
    top: 28px;
    left: 28px;
    width: 106px;
    transform: translate(0, 0);
  }

  .case-study-stats {
    gap: 18px 16px;
  }

  .case-study-stat-value {
    font-size: clamp(34px, 4.8vw, 54px);
  }

  .case-study-stat-label {
    font-size: 14px;
  }

  .contact-section {
    padding-bottom: 88px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .contact-proof-card,
  .contact-direct-card,
  .contact-form {
    padding: 28px;
  }

  .contact-direct-card h3 {
    max-width: 16ch;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  :root {
    --nav-height: 54px;
  }

  .site-loader-inner {
    gap: 14px;
  }

  .site-loader-brand {
    gap: 10px;
    font-size: 24px;
  }

  .site-loader-logo {
    width: 34px;
    height: 34px;
  }

  .site-loader-line {
    width: 88px;
  }

  .site-header {
    gap: 10px;
    padding: 0 14px;
  }

  .brand {
    gap: 5px;
    font-size: 18px;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
  }

  .nav-links {
    gap: 10px;
    font-size: 13px;
  }

  .nav-links a {
    padding: 6px 0;
  }

  .page-shell {
    --frame-gutter: 5px;
  }

  .hero-panel {
    min-height: calc(100svh - var(--nav-height) - var(--frame-gutter));
  }

  .hero-content {
    min-height: calc(100svh - var(--nav-height) - var(--frame-gutter));
    gap: 24px;
    padding: 36px 18px 28px;
    padding-bottom: max(32px, var(--hero-carousel-clearance, 88px));
  }

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

  .hero-social-proof {
    gap: 14px;
    margin-bottom: 14px;
  }

  .hero-avatar-stack {
    padding-left: 2px;
  }

  .hero-avatar-card {
    width: 28px;
    height: 28px;
    margin-left: -10px;
    border-width: 1.5px;
    border-radius: 50%;
  }

  .hero-rating {
    gap: 3px;
    font-size: 13px;
  }

  .hero-eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .hero-headline {
    font-size: clamp(34px, 10vw, 40px);
    line-height: 1;
  }

  .hero-subheadline {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .hero-button {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    font-size: 14px;
  }

  .hero-trust {
    margin-top: 18px;
    font-size: 13px;
  }

  .hero-logo-carousel {
    --logos-visible: var(--logos-visible-mobile);
    --logo-height: clamp(18px, 4.8vw, 22px);
    --logo-gap: 10px;
    --logo-fade-edge: 8%;
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .logo-marquee-item {
    height: calc(var(--logo-height) + 10px);
  }

  .hero-visual {
    --hero-diagram-top: 0px;
    --hero-diagram-min-height: 0px;
    min-height: auto;
  }

  .workflow-diagram {
    width: min(390px, 100%);
    transform: none;
  }

  .workflow-diagram-shell {
    min-height: 0;
    padding: 14px 16px 16px;
    border-radius: 20px;
  }

  .workflow-stage-preview-item {
    gap: 10px;
    padding: 10px 0;
  }

  .workflow-stage-preview-index {
    padding-top: 3px;
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .workflow-stage-preview-copy strong {
    font-size: clamp(18px, 5.8vw, 22px);
    line-height: 1.08;
  }

  .workflow-stage-preview-copy span {
    margin-top: 5px;
    font-size: 12px;
  }

  .workflow-diagram-output {
    gap: 8px;
    margin-top: 12px;
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .next-section {
    padding: 68px 0 56px;
  }

  .trace-section {
    min-height: auto;
    padding: 0 0 60px;
  }

  .trace-panel {
    height: auto;
    min-height: auto;
  }

  .trace-content {
    position: relative;
    inset: auto;
    min-height: auto;
    overflow: visible;
  }

  .trace-shell {
    grid-template-rows: none;
    height: auto;
    min-height: auto;
    width: min(100%, calc(100% - 24px));
    gap: 28px;
    padding: 28px 0 34px;
  }

  .trace-eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .trace-headline {
    font-size: 34px;
    line-height: 1;
  }

  .trace-copy {
    margin-top: 18px;
    font-size: 16px;
  }

  .trace-proof-strip {
    gap: 10px 14px;
    margin-top: 26px;
    padding-top: 14px;
  }

  .trace-proof-strip span {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .trace-letters {
    gap: 6px;
    width: 100%;
    margin-top: 18px;
  }

  .trace-letter {
    font-size: clamp(18px, 5.8vw, 28px);
  }

  .trace-stage-region::before {
    inset: 70px -10% 84px -6%;
  }

  .trace-stage-viewport {
    overflow: visible;
  }

  .trace-progress-rule {
    margin-bottom: 18px;
  }

  .trace-stage-list {
    transform: none;
  }

  .trace-stage {
    gap: 16px;
    padding: 20px 0;
  }

  .trace-stage-topline {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trace-stage-index {
    padding-top: 0;
  }

  .trace-stage-title {
    font-size: 24px;
  }

  .trace-stage-doctrine {
    margin-top: 10px;
    font-size: 16px;
  }

  .trace-stage-details {
    padding-left: 0;
  }

  .trace-detail-copy {
    font-size: 13px;
  }

  .trace-stage-output {
    gap: 8px;
    padding-left: 0;
    font-size: 9px;
  }

  .trace-closing {
    padding-top: 20px;
  }

  .trace-closing-line {
    font-size: 22px;
  }

  .trace-bridge-line {
    margin-top: 12px;
    font-size: 14px;
  }

  .section-shell {
    width: min(100%, calc(100% - 20px));
  }

  .section-headline {
    font-size: 36px;
    line-height: 1;
  }

  .section-copy {
    margin-top: 18px;
    font-size: 16px;
  }

  .case-study-list {
    gap: 16px;
    margin-top: 32px;
  }

  .case-study-card {
    min-height: 440px;
    border-radius: 20px;
  }

  .case-study-copy {
    grid-template-columns: 1fr;
    row-gap: 18px;
    padding: 20px 18px;
  }

  .case-study-meta {
    max-width: none;
    padding-top: 58px;
  }

  .case-study-industry {
    font-size: 20px;
  }

  .case-study-logo {
    width: min(136px, 48%);
  }

  .case-study-card:hover .case-study-image,
  .case-study-card.is-active .case-study-image {
    transform: scale(1.05);
    filter: blur(8px);
  }

  .case-study-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .case-study-stat {
    max-width: 100%;
  }

  .case-study-stat-value {
    font-size: clamp(30px, 8vw, 34px);
  }

  .case-study-stat-label {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.28;
  }

  .case-study-card:hover .case-study-logo,
  .case-study-card.is-active .case-study-logo {
    top: 20px;
    left: 20px;
    width: 88px;
    transform: translate(0, 0);
  }

  .contact-section {
    padding-bottom: 60px;
  }

  .contact-eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .contact-grid {
    margin-top: 32px;
  }

  .contact-proof-card,
  .contact-direct-card,
  .contact-form {
    padding: 22px 20px;
    border-radius: 22px;
  }

  .contact-proof-card h3,
  .contact-direct-card h3,
  .contact-form-head h3 {
    font-size: 28px;
    line-height: 1;
  }

  .contact-proof-card p:last-child,
  .contact-direct-copy,
  .contact-form-head p:last-child {
    margin-top: 14px;
    font-size: 14px;
  }

  .contact-checklist {
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
  }

  .contact-checklist li {
    font-size: 13px;
  }

  .contact-form {
    gap: 16px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-field span {
    font-size: 10px;
  }

  .contact-field input,
  .contact-field textarea {
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 14px;
  }

  .contact-submit {
    width: 100%;
    min-height: 54px;
    font-size: 14px;
  }

  .contact-form-note {
    font-size: 13px;
  }

  .site-footer {
    padding: 34px 0 28px;
  }

  .footer-shell {
    gap: 24px;
  }

  .footer-copy {
    margin-top: 14px;
    font-size: 14px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-column {
    gap: 8px;
  }

  .footer-column a,
  .footer-column span,
  .footer-meta p {
    font-size: 13px;
  }
}

@media (max-width: 390px) {
  .workflow-diagram-shell {
    padding: 12px 14px 14px;
  }

  .workflow-stage-preview-item {
    gap: 8px;
    padding: 9px 0;
  }

  .workflow-stage-preview-copy strong {
    font-size: clamp(16px, 5.4vw, 20px);
  }

  .workflow-stage-preview-copy span {
    font-size: 11px;
  }

  .workflow-diagram-output {
    font-size: 8px;
  }

  .case-study-card {
    min-height: 520px;
  }

  .case-study-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 860px) and (min-width: 901px) {
  .hero-logo-carousel {
    --logo-height: clamp(22px, 1.6vw, 28px);
    --logo-gap: clamp(12px, 1vw, 16px);
    bottom: clamp(14px, 3svh, 26px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader,
  .site-loader-line::before {
    transition: none;
    animation: none;
  }

  .hero-surface {
    transform: none;
    will-change: auto;
  }

  .logo-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: none;
  }

  .logo-marquee::-webkit-scrollbar {
    display: none;
  }

  .logo-marquee-track {
    width: max-content;
    animation: none;
    will-change: auto;
  }

  .logo-marquee-group[aria-hidden="true"] {
    display: none;
  }

  .scroll-heading,
  .scroll-subheading {
    transform: none;
    opacity: 1;
    will-change: auto;
  }
}
