/* =========================================================
   CDM – responsive implementation of the Figma "CDM SITE" frame
   Headings: Bricolage Grotesque (SemiBold, opsz 14 / wdth 100)
   Body:     Google Sans
   ========================================================= */
.nav { 
    width: -webkit-fill-available;
}

:root {
  --bg: #090909;
  --surface: #171717;
  --surface-2: #1a1a1a;
  --surface-3: #242424;
  --red: #e35050;

  --font-heading: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Google Sans', 'Google Sans Flex', 'Product Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* Italic accent words + case-study numerals (swap here to change them everywhere) */
  --font-accent: 'Instrument Serif', 'Times New Roman', serif;
  /* Stat / step numerals */
  --font-num: 'Unbounded', var(--font-heading);

  --gutter: clamp(16px, 5.556vw, 80px);
  --container: 1280px;
  --section-gap: clamp(72px, 8.9vw, 128px);

  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: var(--font-body)!important;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.page { position: relative; overflow-x: clip; }
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
main, .page > * { position: relative; }

/* ---------- Heading + text primitives ---------- */
.display {
  font-family: var(--font-heading)!important;
  font-weight: 600;
  font-variation-settings: "opsz" 14, "wdth" 100;
  letter-spacing: -0.02em;
  line-height: 1;
}
.h2 { font-size: clamp(34px, 3.612vw, 52px); }   /* 52px @ 1440 */

.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: normal;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 18px;
  line-height: normal;
  text-transform: uppercase;
  color: #b0b0b0;
  white-space: nowrap;
}
.eyebrow--hero { color: #c3c3c3; }
.eyebrow img { flex: none; }

.lead { color: #c2c2c2; font-weight: 400; }
.lead--medium { font-weight: 500; }

/* ---------- Buttons ---------- */
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 6px 6px 6px 16px;
  border-radius: 8px;
  background: #fff;
  color: #101136;
  font-weight: 500;
  text-align: center;
  width: fit-content;
}
.btn-light__icon {
  display: flex;
  padding: 10px;
  border-radius: 8px;
  background: var(--red);
}
.btn-light__icon img,
.icon-btn img,
.nav__cta-icon img,
.post__more-icon img { transition: transform .3s var(--ease-out); }
.btn-light:hover .btn-light__icon img,
.icon-btn:hover img,
.nav__cta:hover .nav__cta-icon img,
.post__more:hover .post__more-icon img { transform: translate(2px, -2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: #e8e8e8;
  font-weight: 500;
  white-space: nowrap;
  transition: background .25s ease;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

.icon-btn {
  flex: none;
  display: flex;
  padding: 10px;
  border-radius: 8px;
  background: var(--red);
}
.icon-btn--dark { background: #451a08; }

/* ---------- Background decoration ---------- */
.glow { position: absolute; pointer-events: none; z-index: 0; }
.glow::before {
  content: "";
  position: absolute;
  inset: -34.75% -33.91%;
  background: no-repeat center / 100% 100%;
}
.glow--hero { left: -433px; top: -152px; width: 578px; height: 564px; }
.glow--hero::before { background-image: url("assets/hero-glow.svg"); }

.tiles {
  position: absolute;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(3, 116px);
  gap: 8px;
  opacity: .16;
  pointer-events: none;
}
.tiles--left { left: -46px; top: 107px; }
.tiles--right { right: -58px; top: 102px; }

/* ---------- Navbar ---------- */
.site-header {
  position: sticky;
  top: 24px;
  z-index: 50;
  margin-top: 24px;
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  padding: 6px 16px;
  border-radius: 16px;
  background: var(--surface);
}
.nav__logo img { width: 82px; height: 40px; object-fit: contain; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  white-space: nowrap;
}
.nav__link img { transition: transform .25s var(--ease-out); }
.nav__link:hover img { transform: translateY(2px); }
.nav__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 500;
  white-space: nowrap;
}
.nav__cta-icon { display: flex; padding: 8px; border-radius: 8px; background: var(--red); }

.nav__toggle { display: none; width: 36px; height: 36px; border-radius: 8px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease-out), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 6.1vw, 88px); z-index: 1; }
.hero__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.hero__copy {
  width: min(731px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero__title {
  width: 100%;
  font-size: clamp(42px, 5.556vw, 80px);      /* 80px @ 1440, letter-spacing -1.6px */
  color: #fff;
}
.hero__lead {
  width: min(652px, 100%);
  font-size: clamp(17px, 1.389vw, 20px);
  color: #b0b0b0;
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* inline image pill inside the H1 */
.pill {
  position: relative;
  display: inline-block;
  vertical-align: -0.15em;
  width: 2.2125em;
  height: .975em;
  border-radius: .4125em;
  overflow: hidden;
  margin-left: .05em;
}
.pill__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pill__play {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -20px 0 0 -20px;
}

/* ---------- Trusted by ---------- */
.trusted {
  margin-top: clamp(64px, 8.33vw, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  z-index: 1;
}
.trusted__title { font-weight: 500; }
.marquee {
  position: relative;
  width: 100%;
  height: 40px;
  overflow: hidden;
}
.marquee .carouselTicker__wrap { height: 40px; margin: 0; }
.marquee__list { display: flex; align-items: center; width: max-content; height: 40px; margin: 0; padding: 0; }
.marquee__list > li { display: flex; align-items: center; flex: none; width: auto; height: 40px; margin: 0 30px; border: 0; line-height: normal; }
.marquee__list > li img { width: auto; height: 40px; filter: brightness(1.6); }


/* ---------- Metrics ---------- */
.metrics {
  margin-top: var(--section-gap);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: end;
  z-index: 1;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 8px;
  background: var(--surface-2);
  overflow: hidden;
}
.stat:nth-child(-n+2) { padding-inline: 16px; }
.stat__num {
  display: flex;
  align-items: center;
  height: 62px;
  font-family: var(--font-num);
  font-weight: 500;
  font-size: clamp(34px, 3.89vw, 56px);
  line-height: 1;
  white-space: nowrap;
}
.stat__num span { color: rgba(255, 255, 255, .21); }
.stat:nth-child(2) .stat__num span { color: rgba(255, 255, 255, .24); }
.stat__label { font-weight: 500; color: #858585; line-height: normal; }

/* ---------- Section headers ---------- */
.head { display: grid; }
.head__body { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

/* eyebrow left, content offset on the right (Solutions / Case studies) */
.head--offset { grid-template-columns: 281px minmax(0, 564px); column-gap: 113px; }
.head--offset .eyebrow { align-self: start; }

/* heading left, copy + CTA right (Plans / Testimonials / Blog) */
.head--split { grid-template-columns: minmax(0, 511px) minmax(0, 406px); column-gap: 64px; }
.head__left { display: flex; flex-direction: column; gap: 8px; }
.head__right { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 40px; }

/* ---------- Solutions ---------- */
.solutions { margin-top: var(--section-gap); padding-block: 24px; }
.bento { display: flex; align-items: flex-start; gap: 72px; margin-top: 64px; }
.bento__media { position: relative; flex: 0 0 325px; height: 432px; }
.bento__photo { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.bento__triangles { position: absolute; left: -56px; top: -48px; }
.bento__grid {
  flex: 1;
  min-width: 0;
  height: 432px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 16px;
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}
.tile--wide { grid-column: span 2; }
.tile__title {
  font-family: var(--font-heading)!important;
  font-weight: 600;
  font-variation-settings: "opsz" 14, "wdth" 100;
  font-size: 22px;
  line-height: 24px;
  letter-spacing: -0.01em;
}
.tile__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 4px; position: relative; z-index: 1; }
.tile__text { flex: 1; font-size: 14px; line-height: 20px; color: #848484; }
.tile__text--narrow { max-width: 390px; }
.ticks { display: none; flex: 1; flex-wrap: wrap; gap: 8px 16px; max-width: 304px; opacity: .8; font-size: 14px; }
.ticks li { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.tile__badge { position: absolute; right: -22px; top: -56px; width: 168px; height: 168px; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease-out); }
.tile__badge-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: .75;
  background: radial-gradient(circle at 50% 50%, rgba(255, 91, 25, .29) 0, rgba(255, 91, 25, 0) 100%);
}
.tile__badge-icon {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 144px;
  height: 144px;
  -webkit-mask: url("assets/users-four-mask.svg") -12px -12px / 168px 168px no-repeat;
          mask: url("assets/users-four-mask.svg") -12px -12px / 168px 168px no-repeat;
}
.tile__badge-icon img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Service-card hover state */
.tile__text,
.tile .icon-btn { transition: opacity .2s var(--ease-out), background-color .2s var(--ease-out); }
.tile:hover .tile__text,
.tile:focus-within .tile__text { display: none; }
.tile:hover .ticks,
.tile:focus-within .ticks { display: flex; }
.tile:hover .icon-btn,
.tile:focus-within .icon-btn { background: #451a08; }
.tile:hover .tile__badge,
.tile:focus-within .tile__badge { opacity: .2; }

@media (hover: none) {
  .tile .tile__text { display: none; }
  .tile .ticks { display: flex; }
  .tile .icon-btn { background: #451a08; }
  .tile .tile__badge { opacity: .2; }
}

/* ---------- Plans ---------- */
.plans {
  margin-top: clamp(48px, 7.15vw, 103px);
  padding-block: clamp(48px, 5.07vw, 73px) clamp(56px, 5.9vw, 85px);
  background: #111;
  z-index: 1;
}
.plans .head { padding-block: 24px 0; }
.plans__body { display: flex; align-items: center; gap: 64px; margin-top: 64px; }
.steps { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.step {
  width: 100%;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 40px 24px;
  border-radius: 16px;
  background: #030303;
  overflow: hidden;
}
.step__num {
  flex: none;
  display: flex;
  align-items: center;
  width: 46px;
  height: 49px;
  font-family: var(--font-num);
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
  color: rgba(255, 255, 255, .3);
}
.step__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.step__text p { color: #c2c2c2; }
.step__title {
  font-family: var(--font-heading)!important;
  font-weight: 600;
  font-variation-settings: "opsz" 14, "wdth" 100;
  font-size: 30px;
  line-height: 24px;
  letter-spacing: -0.01em;
}
.step--active { align-items: center; border: 1px solid var(--red); }
.step:not(.step--active) .step__glow,
.step:not(.step--active) .step__pieces,
.step:not(.step--active) .step__check { display: none; }
.step--active .step__title { background-image: linear-gradient(131deg, #e35050 .64%, #f56f21 99.13%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.step:focus-visible { outline: 2px solid #f56f21; outline-offset: 3px; }
.step__title--gradient {
  background-image: linear-gradient(131deg, #e35050 .64%, #f56f21 99.13%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.step__check { flex: none; position: relative; z-index: 1; }
.step__glow { position: absolute; left: 293px; top: -114px; width: 300px; height: 165px; pointer-events: none; }
.step__glow::before {
  content: "";
  position: absolute;
  inset: -89.7% -49.33%;
  background: url("assets/plan-glow.svg") no-repeat center / 100% 100%;
}
.step__pieces { position: absolute; right: -31px; top: -18px; width: 185px; height: 138px; opacity: .5; pointer-events: none; overflow: hidden; }
.piece {
  position: absolute;
  inset: var(--inset);
  opacity: .2;
  -webkit-mask: url("assets/piece-mask.svg") -0.039px -1.187px / 43.976px 43.978px no-repeat;
          mask: url("assets/piece-mask.svg") -0.039px -1.187px / 43.976px 43.978px no-repeat;
}
.piece img { position: absolute; inset: 0; width: 100%; height: 100%; }

.features { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-self: stretch; }
.feature {
  display: none;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border-radius: 8px;
  background: #030303;
}
.features[data-active-stage="build"] .feature[data-stage="build"],
.features[data-active-stage="scale"] .feature[data-stage="scale"],
.features[data-active-stage="accelerate"] .feature[data-stage="accelerate"] { display: flex; }
.feature--wide { grid-column: span 2; }
.feature__icon { display: flex; align-self: flex-start; padding: 12px; border-radius: 6px; background: rgba(245, 59, 33, .09); }
.feature > div { display: flex; flex-direction: column; gap: 4px; }
.feature__title {
  font-family: var(--font-heading)!important;
  font-weight: 500;
  font-variation-settings: "opsz" 14, "wdth" 100;
  font-size: 18px;
  line-height: 24px;
}
.feature p { font-size: 14px; line-height: 20px; color: #707070; }

/* ---------- Case studies ---------- */
.cases { margin-top: clamp(40px, 4.65vw, 67px); padding-top: 48px; }
.cases .lead--short { max-width: 399px; }
.cases__rail {
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
  position: relative;
  margin-top: 48px;
}
.case-line { position: absolute; left: var(--edge); top: 75px; z-index: 3; transform: translateX(-50%) rotate(90deg); pointer-events: none; }
.cases__scroller {
  display: flex;
  gap: 54px;
  padding: 0 var(--edge) 48px;
  scroll-padding-inline: var(--edge);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.cases__scroller::-webkit-scrollbar { display: none; }

.case {
  position: relative;
  flex: none;
  display: flex;
  justify-content: space-between;
  height: 452px;
  padding: 32px;
  border-radius: 8px;
  overflow: hidden;
  scroll-snap-align: start;
}
.case--one { width: 1091px; background: var(--surface-3); }
.case--two { width: 1200px; background: #6e2dff;  }
.case__main { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; width: 678px; max-width: 100%; }
.case__top { display: flex; flex-direction: column; gap: 16px; height: 120px; }
.case__title { font-weight: 500; font-size: 24px; line-height: 1.2; max-width: 465px; }
.case__stats { display: flex; gap: 24px; width: 415px; max-width: 100%; }
.case__stats > div { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.case__num { font-family: var(--font-accent); font-size: 40px; line-height: 1; }
.case__stats dd { font-weight: 500; color: rgba(255, 255, 255, .54); line-height: normal; }
.case__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 12px 24px;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.case__btn img { transition: transform .25s var(--ease-out); }
.case__btn:hover img { transform: translateX(3px); }
.case--two .case__btn { background: #fff; }

.case__media { position: absolute; right: 0; top: -96px; width: 489px; height: 733px; z-index: 1; }
.case__media img { width: 100%; height: 100%; object-fit: cover; }
.case__media::after { content: ""; position: absolute; inset: 0; background: rgba(36, 36, 36, .84); mix-blend-mode: screen; }
.case__media--rect { top: 0; width: 590px; height: 452px; overflow: hidden; }
.case__media--rect::after { display: none; }
.case__media--rect img { position: absolute; left: 0; top: -31.27%; width: 100%; height: 195.66%; }
.case__block { position: absolute; right: 412px; width: 77px; height: 75px; z-index: 2; }
.case__block--a { top: 0; background: var(--surface-3); }
.case__block--b { top: 75px; background: rgba(36, 36, 36, .46); }
.case__block--c { top: 0; background: #6E2DFF; }
.case__block--d { top: 75px; background: rgba(112, 45, 255, .46); }
.case__checker {
  position: absolute;
  right: 401px;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 44px);
  grid-auto-rows: 44px;
}
.case__checker i { background: rgba(255, 255, 255, .47); opacity: var(--o, 1); }
.case__checker i.gap { background: none; }

/* ---------- Testimonials ---------- */
.testimonials { margin-top: var(--section-gap); }
.quotes { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px; margin-top: 64px; }
.quotes::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 240px;
  height: 190px;
  pointer-events: none;
  background: linear-gradient(to left, #090909 0%, rgba(9, 9, 9, .83) 35.131%, rgba(9, 9, 9, 0) 100%);
}
.quote { display: flex; flex-direction: column; gap: 16px; }
.quote__logo { height: auto; }
.quote blockquote { font-weight: 500; font-size: 18px; line-height: 24px; }
.quote__author { display: flex; align-items: flex-start; gap: 16px; margin-top: auto; }
.quote__author img { flex: none; width: 40px; height: 40px; border-radius: 80px; object-fit: cover; }
.quote__author span { display: flex; flex-direction: column; justify-content: center; font-size: 14px; line-height: 20px; color: #707070; }
.quote__author strong { font-weight: 700; }

/* ---------- Blog ---------- */
.blog { margin-top: var(--section-gap); padding-block: 24px; }
.posts { display: flex; gap: 16px; height: 394px; margin-top: 64px; }
.post { position: relative; border-radius: 8px; overflow: hidden; }
.post--feature { flex: 0 0 64.53%; display: flex; background: var(--surface); }
.post__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.post__meta { font-weight: 500; font-size: 18px; line-height: normal; text-transform: uppercase; color: #b0b0b0; }
.post__title {
  flex: 1;
  font-family: var(--font-heading)!important;
  font-weight: 600;
  font-variation-settings: "opsz" 14, "wdth" 100;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.post__more { display: inline-flex; align-items: center; gap: 16px; width: fit-content; font-weight: 500; }
.post__more-icon { display: flex; padding: 8px; border-radius: 8px; background: var(--red); }
.post__img { position: relative; flex: 0 0 431px; max-width: 50%; }
.post__img img,.recent-posts article img, .blog article img, .post-card img { width: 100%!important; height: 100%!important; object-fit: cover!important; object-position: right center!important; }
.post--card { flex: 1; min-width: 0; display: flex; align-items: flex-end; padding: 8px; background: var(--surface); }
.post__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post__panel {
  position: relative;
  flex: 1;
  height: 224px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: 8px;
  background: var(--surface);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  margin-top: var(--section-gap);
  padding-top: clamp(56px, 6.67vw, 96px);
  border-radius: 48px 48px 0 0;
  background: var(--surface);
  overflow: hidden;
}
.glow--footer { left: 50%; top: -410px; width: 578px; height: 564px; margin-left: -289px; }
.glow--footer::before { background-image: url("assets/footer-glow.svg"); }
.footer__cta {
  position: relative;
  z-index: 1;
  width: min(790px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer__headline { font-size: clamp(36px, 4.444vw, 64px); line-height: .9; }
.footer__lead { color: #c2c2c2; }
.footer__stage { position: relative; margin: clamp(72px, 8.9vw, 128px) clamp(8px, 3.06vw, 44px) 0; }
.footer__triangles {
  position: absolute;
  left: calc(50% - 13px);
  top: -146px;
  z-index: 3;
  transform: scaleY(-1) rotate(180deg);
  pointer-events: none;
}
.footer__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 583px;
  padding: 24px;
  border-radius: 16px 16px 0 0;
  background: rgba(241, 241, 241, .96);
  overflow: hidden;
}
.footer__mark { position: absolute; left: 24px; right: 24px; top: 212px; width: calc(100% - 48px); height: 429px; object-fit: 100%; object-position: bottom; opacity: .1; pointer-events: none; }
.footer__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 210px; background: linear-gradient(to bottom, rgba(241, 241, 241, 0), #f1f1f1); pointer-events: none; }
.footer__top { position: relative; z-index: 1; display: flex; gap: 64px; padding-right: 48px; justify-content: space-between;}
.footer__title { flex: 1; min-width: 0; max-width: 435px; font-size: clamp(32px, 3.056vw, 44px); color: #090909; }
.footer__links { display: flex; flex-direction: column; justify-content: left; gap: 2px; font-weight: 500; font-size: 18px; text-transform: uppercase; color: #4f4f4f; white-space: nowrap; }
.footer__links a:hover { color: #090909; }
.footer__bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #474747; }
.footer__legal { display: flex; gap: 16px; font-weight: 500; font-size: 18px; text-transform: uppercase; }

/* =========================================================
   ENTRY ANIMATIONS
   ========================================================= */

/* Heading: JS wraps every rendered line, then each line slides up from behind a mask, staggered */
.js [data-split] { visibility: hidden; }
.js [data-split].is-split { visibility: visible; }
.split-line { display: block; overflow: hidden; padding-block: .1em; margin-block: -.1em; }
.split-line__inner {
  display: block;
  white-space: nowrap;
  transform: translateY(115%);
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0ms) + var(--i, 0) * 100ms);
}
.is-in .split-line__inner { transform: none; }
.no-anim .split-line__inner { transition: none !important; }

/* Other text: soft fade + rise */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-split] { visibility: visible; }
  .split-line__inner { transform: none; transition: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {
  .head--offset { grid-template-columns: 200px minmax(0, 1fr); column-gap: 48px; }
  .bento { gap: 40px; }
  .bento__media { flex-basis: 260px; }
  .plans__body { gap: 32px; }
  .step { padding-block: 32px; }
  .quotes { gap: 32px; }
  .tiles--right { right: -140px; }
  .tiles--left { left: -120px; }
}

@media (max-width: 1000px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

  .bento { flex-direction: column; align-items: stretch; gap: 32px; }
  .bento__media { flex: none; height: auto; aspect-ratio: 4 / 3; max-height: 420px; }
  .bento__triangles { left: -12px; top: -40px; width: 140px; height: auto; }
  .bento__grid { height: auto; grid-template-rows: none; }
  .tile { min-height: 212px; }

  .plans__body { flex-direction: column; align-items: stretch; }
  .features { align-self: auto; }

  .quotes { grid-template-columns: 1fr; gap: 40px; }
  .quotes::after { display: none; }
  .quote blockquote { max-width: 560px; }

  .case-line { display: none; }
}

@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 16px;
    border-radius: 16px;
    background: var(--surface);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .3s var(--ease-out), visibility .25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links li { width: 100%; }
  .nav__link { padding-block: 10px; justify-content: space-between; }
  .nav { gap: 16px; }
  .nav__cta { margin-left: auto; }

  .head--offset,
  .head--split { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .head--offset .head__body { max-width: 564px; }
  .head__right { padding-top: 0; max-width: 406px; }
  .head--split .head__left { gap: 16px; }

  .cases__scroller { gap: 16px; }
  .case { flex-direction: column; justify-content: flex-start; gap: 24px; width: min(88vw, 520px) !important; height: auto; padding: 24px; }
  .case__main { width: 100%; gap: 32px; }
  .case__top { height: auto; }
  .case__media,
  .case__media--rect { position: relative; order: -1; top: auto; right: auto; width: calc(100% + 48px); height: 220px; margin: -24px -24px 0; }
  .case__block, .case__checker { display: none; }
  .case__stats { width: 100%; }
  .case--one .case__title,
  .case--two .case__title { font-size: 22px; }
  .case--two .case__top img { max-width: 100%; height: auto; }

  .posts { flex-direction: column; height: auto; margin-top: 40px; }
  .post--feature { flex: none; flex-direction: column; }
  .post__img { order: -1; flex: none; max-width: none; height: 240px; }
  .post__body { gap: 16px; }
  .post__title { flex: none; }
  .post--card { min-height: 380px; }
  .post__panel { height: auto; min-height: 224px; }

  .plans__body { margin-top: 40px; }
  .bento { margin-top: 40px; }
  .quotes { margin-top: 40px; }

  .footer__top { flex-wrap: wrap; gap: 32px 48px; padding-right: 0; }
  .footer__title { flex: 1 1 100%; max-width: none; }
  .footer__triangles { display: none; }
}

@media (max-width: 640px) {
  .nav__cta span:first-child { display: none; }
  .tiles { display: none; }
  .hero__actions { flex-direction: column; align-items: stretch;  }
  .hero__actions .btn-light { justify-content: space-between;}
  .hero__actions .btn-ghost { width: 100%; }
  .pill__play { transform: scale(.7); }

  .eyebrow { font-size: 16px; }
  .metrics { gap: 12px; display: block;}
 
  .stat { padding: 16px !important;  margin-bottom: 8px;}
  .stat__num { height: 48px; }
  .stat__label { font-size: 14px; }

  .head__right .btn-light,
  .head__body .btn-light {  justify-content: space-between; }

  .bento__grid { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .tile__badge { right: -50px; }

  .step { gap: 16px; padding: 24px 16px; flex-wrap: wrap; }
  .step__num { font-size: 44px; width: 32px; height: 36px; }
  .step__title { font-size: 26px; }
  .step__check { width: 32px; height: 32px; }
  .step__glow, .step__pieces { display: none; }
  .features { grid-template-columns: 1fr; }

  .case { width: 75vw !important; }
  .case__stats { gap: 16px; }
  .case__num { font-size: 34px; }
    .case__main { padding:0px; }

  .footer { border-radius: 32px 32px 0 0; }
  .footer__card { min-height: 480px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__legal { font-size: 14px; }
  .footer__links { font-size: 15px; }
  .footer__mark { top: auto; bottom: 0; height: 220px; }
} .nav { 
    width: -webkit-fill-available;
}  body.home a {
    color: inherit;
}.case__btn,.btn-light { 
    color: #101136!important;}html body h1, html body h2, html body h3, html body h4, html body h5, html body h6, html body .elementor-heading-title, html body .elementor-button, html body .elementor-button-text, html body, html body button, html body input, html body textarea, html body select, html body .elementor-widget-text-editor, html body .elementor-icon-list-text, html body .elementor-nav-menu a, html body p, html body li {
   font-family: var(--font-body)!important;
}button.step.is-in:hover{background:none;}button.step.is-in.step--active {
    background: none;
}.recent-posts article, .blog article, .post-card {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
}.page { 
    margin-bottom: -100px;
}.wp-call-button{display:none!important;}