/* Unshakable deliverability (ManyWarm) product page */

/* ---------- Hero ---------- */
/* On desktop the dashboard and logo ticker hang below the hero (their own sections);
   on tablet and phone they sit inside it, as on the source. */
.ud-hero {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  margin-bottom: calc(100% * 747 / 1400 + 141px);
}
.ud-hero__inner { box-sizing: border-box; width: 100%; max-width: 1000px; padding: 60px 20px; display: flex; flex-direction: column; align-items: center; }
.ud-hero__below { position: absolute; top: 100%; left: 0; right: 0; text-align: left; }
.ud-logos { box-sizing: border-box; height: 140px; }
.ud-hero .tag { margin-bottom: 20px; }
.ud-hero__title { max-width: 920px; padding: 0 20px; }
.ud-hero__title .ink { display: block; }
.ud-hero__lead { max-width: 745px; margin-top: 16px; padding: 0 20px; }
.ud-hero__cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ud-hero__note { font-size: 14px; line-height: 19px; letter-spacing: -0.28px; font-weight: 400; color: var(--muted); }

/* ---------- Dashboard visual ---------- */
.ud-visual { border-top: 1px solid var(--line); overflow: hidden; }
.ud-visual img { width: 100%; height: auto; aspect-ratio: 1400 / 747; object-fit: cover; }

/* ---------- Logo ticker ---------- */
.ud-logos { display: flex; align-items: center; border-top: 1px solid var(--line); }
.ud-logos__title {
  flex: none; width: 240px; padding: 48px; border-right: 1px solid var(--line);
  font-size: 16px; line-height: 21px; letter-spacing: -0.16px; font-weight: 400; color: var(--ink);
}
.ud-logos__track {
  flex: 1; min-width: 0; overflow: hidden; padding: 48px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ud-logos__shift { will-change: transform; }
.ud-logos__marquee { display: flex; align-items: center; gap: 96px; will-change: transform; }
.ud-logos__marquee img { flex: none; height: auto; }
.ud-logos__photo { object-fit: cover; }

/* ---------- Customer story ---------- */
.ud-story { position: relative; display: flex; min-height: 342px; border-top: 1px solid var(--line); overflow: hidden; }
.ud-story__media { position: relative; flex: none; width: 340px; overflow: hidden; }
.ud-story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ud-story__body { flex: 1; padding: 60px; display: flex; flex-direction: column; justify-content: center; gap: 32px; }
.ud-story__label { font-size: 12px; line-height: 14px; letter-spacing: -0.12px; font-weight: 500; color: var(--ink); text-transform: uppercase; margin-bottom: 13px; }
.ud-story__quote { max-width: 940px; font-size: 28px; line-height: 36px; letter-spacing: -1px; font-weight: 500; color: var(--ink); }
.ud-story__person { display: flex; align-items: center; gap: 10px; }
.ud-story__person img { width: 44px; height: 46px; border-radius: 90px; object-fit: cover; }
.ud-story__name { font-size: 16px; line-height: 25px; font-weight: 500; color: var(--ink); }
.ud-story__role { font-size: 14px; line-height: 19px; font-weight: 400; color: var(--muted); }

/* ---------- Section heading blocks ---------- */
.page > .ud-head, .ud-section { border-top: 1px solid var(--line); }
.ud-head .title-wrapper__row .t-h2 { max-width: 640px; }
.ud-head .title-wrapper__row .t-lead { max-width: 512px; text-align: left; }
.ud-head--narrow .title-wrapper__row .t-lead { max-width: 450px; }
.ud-head .t-h2 .ink { display: block; }
.ud-testimonials .t-h2 { color: var(--ink-60); }
.ud-testimonials .t-h2 .ink { color: var(--ink); }
.ud-testimonials .title-wrapper__row .t-lead { max-width: 400px; }
.ud-head .t-h2 .dim { color: var(--ink-60); }

/* ---------- Feature cards ---------- */
.ud-signals { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.ud-signal { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); background: var(--white); }
.ud-signal:nth-child(odd) { border-right: 1px solid var(--line); }
.ud-signal:nth-last-child(-n+2) { border-bottom: 0; }
.ud-signal img { width: 100%; height: auto; aspect-ratio: 700 / 438; object-fit: cover; }
.ud-signal__text { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.ud-signal__title { font-size: 28px; line-height: 36px; letter-spacing: -1px; font-weight: 500; color: var(--ink); }
.ud-signal__desc { max-width: 580px; font-size: 16px; line-height: 22px; letter-spacing: -0.16px; font-weight: 400; color: var(--ink); }

/* ---------- Comparison chart ---------- */
.ud-compare__chart { border-top: 1px solid var(--line); }
.ud-compare__chart img { width: 100%; height: auto; aspect-ratio: 1400 / 736; object-fit: contain; }

/* ---------- Deliverability stack ---------- */
.ud-stack { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.ud-stack__item { min-height: 260px; padding: 32px; display: flex; flex-direction: column; gap: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ud-stack__item:nth-child(3n) { border-right: 0; }
.ud-stack__item:nth-last-child(-n+3) { border-bottom: 0; }
.ud-stack__icon { width: 30px; height: 30px; animation: ud-pop 0.3s linear both; }
.ud-stack__text { display: flex; flex-direction: column; gap: 12px; }
.ud-stack__title { font-size: 24px; line-height: 32px; letter-spacing: -1px; font-weight: 500; color: var(--ink); }
.ud-stack__desc { font-size: 14px; line-height: 19px; letter-spacing: -0.28px; font-weight: 400; color: var(--muted); }
@keyframes ud-pop { from { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); } to { opacity: 1; transform: none; } }

/* ---------- Testimonials ---------- */
.ud-testimonials__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.ud-people { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ud-people img { width: 102px; height: 30px; object-fit: cover; }
.ud-testimonials .title-wrapper__row .t-lead { text-align: right; }
.ud-slider { border-top: 1px solid var(--line-2); }
.ud-slide { display: grid; grid-template-columns: 1fr 629px; }
.ud-slide__content { display: flex; flex-direction: column; border-right: 1px solid var(--line-2); }
.ud-slide__quote-wrap { padding: 34px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.ud-slide__mark { font-size: 48px; line-height: 54px; font-weight: 500; color: var(--ink-60); height: 40px; }
.ud-slide__quote { font-size: 32px; line-height: 43px; letter-spacing: -0.64px; font-weight: 500; color: var(--ink); max-width: 700px; }
.ud-slide__person { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.ud-slide__person img { width: 26px; height: 26px; border-radius: 999px; object-fit: cover; }
.ud-slide__name { font-size: 16px; line-height: 18px; font-weight: 500; color: var(--ink); }
.ud-slide__role { font-size: 14px; line-height: 15px; font-weight: 400; color: var(--muted); }
.ud-slide__stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 24px 34px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.ud-slide__stats li { display: flex; flex-direction: column; gap: 4px; padding-left: 24px; border-left: 1px solid var(--line-2); }
.ud-slide__stats li:first-child { padding-left: 0; border-left: 0; }
.ud-slide__num { font-size: 36px; line-height: 36px; letter-spacing: -0.72px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.ud-slide__label { font-size: 16px; line-height: 18px; font-weight: 400; color: var(--ink-60); }
.ud-slide__link { display: flex; align-items: center; gap: 12px; padding: 28px 34px; font-size: 14px; line-height: 15px; font-weight: 500; color: var(--ink); }
.ud-slide__arrow { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--white); border: 1px solid var(--line-2); transition: background-color 0.2s var(--ease); }
.ud-slide__arrow img { width: 16px; height: 16px; }
.ud-slide__link:hover .ud-slide__arrow { background: var(--surface); }
.ud-slide__visual { position: relative; aspect-ratio: 1 / 1; background: #dde3ea; overflow: hidden; }
.ud-slide__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.ud-slide__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(49, 75, 92, 0.22), rgba(140, 88, 163, 0.12), rgba(217, 138, 84, 0.1)); }
.ud-slider__controls { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; border-top: 1px solid var(--line-2); }
.ud-slider__dots { display: flex; gap: 6px; align-items: center; }
.ud-slider__dot { width: 4px; height: 4px; border-radius: 999px; background: var(--ink-60); transition: width 0.3s var(--ease), background-color 0.3s var(--ease); }
.ud-slider__dot.is-active { width: 18px; background: var(--ink); }
.ud-slider__buttons { display: flex; gap: 8px; }
.ud-slider .icon-box:hover { background: rgba(0, 0, 0, 0.02); }

/* ---------- Product range carousel ---------- */
.ud-range .title-wrapper__row .t-lead { text-align: right; }
.ud-range .ud-head .title-wrapper__row .t-h2 { max-width: 400px; }
.ud-range__ink { color: var(--ink); }
.ud-range__frame { border-top: 1px solid var(--line-2); }
.ud-range__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.ud-range__track::-webkit-scrollbar { display: none; }
.ud-card { flex: 0 0 calc(100% / 3); scroll-snap-align: start; display: flex; flex-direction: column; border-right: 1px solid var(--line-2); background: var(--white); }
.ud-card__media { background: #f9fafb; border-bottom: 1px solid var(--line-2); }
.ud-card__media img { width: 100%; height: auto; aspect-ratio: 465 / 302; object-fit: fill; }
.ud-card__body { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 20px; }
.ud-card__text { display: flex; flex-direction: column; gap: 6px; max-width: 306px; }
.ud-card__title { font-size: 20px; line-height: 20px; letter-spacing: -0.4px; font-weight: 500; color: var(--ink); }
.ud-card__desc { font-size: 14px; line-height: 19px; font-weight: 400; color: var(--muted); }
.ud-card__btn {
  flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; min-height: 38px;
  background: var(--white); border: 1px solid var(--line-2);
  font-size: 14px; line-height: 17px; font-weight: 500; color: var(--ink); white-space: nowrap;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.ud-card__btn:hover { border-color: var(--ink); }
.ud-card__btn:active { background: var(--surface); }
.ud-range__controls { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-top: 1px solid var(--line-2); }
.ud-range__dots { display: flex; gap: 8px; align-items: center; }
.ud-range__dots span { width: 8px; height: 8px; border-radius: 4px; background: var(--line-2); transition: width 0.3s var(--ease), background-color 0.3s var(--ease); }
.ud-range__dots span.is-active { width: 24px; background: var(--ink); }
.ud-range__buttons { display: flex; gap: 12px; }
.ud-range__buttons .icon-box img { width: 18px; height: 18px; }
.ud-range__buttons .icon-box:disabled { opacity: 0.4; cursor: default; }

/* ---------- FAQ ---------- */
.ud-faq { display: grid; grid-template-columns: 520px 1fr; border-top: 1px solid var(--line); }
.ud-faq__intro { padding: 80px 60px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ud-faq__title { max-width: 400px; }
.ud-faq__title .ink { display: block; }
.ud-faq__list { border-left: 1px solid var(--line); }
.ud-faq__item { border-bottom: 1px solid var(--line); }
.ud-faq__item:last-child { border-bottom: 0; }
.ud-faq__item h5 { font: inherit; }
.ud-faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px; text-align: left;
  font-size: 18px; line-height: 29px; font-weight: 500; color: var(--ink);
  transition: background-color 0.2s var(--ease);
}
.ud-faq__q:hover { background: var(--surface); }
.ud-faq__icon { width: 14px; height: 14px; flex: none; transition: transform 0.3s var(--ease); }
.ud-faq__q[aria-expanded="true"] .ud-faq__icon { transform: rotate(45deg); }
.ud-faq__a { padding: 0 32px 32px; max-width: 760px; font-size: 16px; line-height: 25px; font-weight: 400; color: var(--ink-60); }

/* ---------- Banner ---------- */
.ud-banner { position: relative; overflow: hidden; padding: 120px 60px; display: flex; justify-content: center; border-top: 1px solid var(--line); }
.ud-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.ud-banner__inner { position: relative; max-width: 500px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ud-banner__title { font-size: 44px; line-height: 48px; letter-spacing: -1.76px; font-weight: 500; color: var(--ink); }
.ud-banner__text { margin-top: 12px; font-size: 16px; line-height: 22px; font-weight: 400; color: var(--ink); }
.ud-banner .btn { margin-top: 32px; }

/* ================= Tablet ================= */
@media (max-width: 1199px) {
  .ud-hero { margin-bottom: 0; }
  .ud-hero__inner { padding: 119px 20px 60px; }
  .ud-hero__below { position: static; width: 100%; }
  .ud-hero .tag { margin-bottom: 28px; }
  .ud-hero__lead { max-width: 864px; margin-top: 14px; padding: 0; text-wrap: pretty; }
  .ud-hero__cta { gap: 10px; }
  .ud-logos { height: auto; }
  .ud-logos__title { width: 194px; padding: 32px; }
  .ud-logos__track { padding: 45px 0; }

  .ud-head--how { padding-left: 20px; padding-right: 20px; }
  .ud-head--how .title-wrapper__row { gap: 12px; }
  .ud-head--how .title-wrapper__row .t-lead { max-width: none; }

  .ud-story { flex-direction: column; }
  .ud-story__media { width: 100%; aspect-ratio: 1 / 1; }
  .ud-story__body { padding: 48px 28px; }
  .ud-story__quote { font-size: 24px; line-height: 31px; }

  .ud-signals { grid-template-columns: 1fr; }
  .ud-signal, .ud-signal:nth-child(odd) { border-right: 0; }
  .ud-signal:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .ud-signal__text { padding: 28px 28px 30px; }
  .ud-signal__title { font-size: 24px; line-height: 31px; }
  .ud-signal__desc { max-width: 810px; }
  .ud-usecase .title-wrapper { padding-left: 20px; padding-right: 20px; padding-bottom: 40px; }
  .ud-usecase .title-wrapper__row .t-lead { max-width: 380px; }
  .ud-stack { grid-template-columns: 1fr; }
  .ud-stack__item, .ud-stack__item:nth-child(3n) { border-right: 0; min-height: 0; padding: 20px; gap: 40px; }
  .ud-stack__item:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .ud-stack__item:last-child { border-bottom: 0; }
  .ud-stack__title { font-size: 20px; line-height: 24px; letter-spacing: -0.6px; }

  .ud-slide { grid-template-columns: 1fr; }
  .ud-slide__visual { order: -1; }
  .ud-slide__content { border-right: 0; }
  .ud-slide__quote { font-size: 18px; line-height: 24px; letter-spacing: -0.2px; }
  .ud-slide__name { font-size: 13px; line-height: 14px; }
  .ud-slide__role { font-size: 11px; line-height: 12px; }
  .ud-slide__label { font-size: 12px; line-height: 13px; }
  .ud-testimonials .title-wrapper__row .t-lead, .ud-range .title-wrapper__row .t-lead { text-align: left; }

  .ud-card { flex-basis: 50%; }

  .ud-faq { grid-template-columns: 1fr; }
  .ud-faq__intro { padding: 40px 20px; }
  .ud-faq__list { border-left: 0; border-top: 1px solid var(--line); }
  .ud-faq__q { padding: 19px 20px; }
  .ud-faq__a { padding: 0 20px 20px; }

  .ud-banner__title { font-size: 36px; line-height: 40px; letter-spacing: -1.4px; }
}

/* ================= Phone ================= */
@media (max-width: 809px) {
  .ud-hero__inner { padding: 120px 12px 62px; }
  .ud-hero .tag { margin-bottom: 26px; }
  .ud-hero__title { padding: 0; margin: 0 -8px; font-size: 40px; line-height: 44px; letter-spacing: -1.8px; text-wrap: wrap; }
  .ud-hero__lead { margin-top: 20px; font-size: 14px; line-height: 19px; }
  .ud-hero__cta { width: 100%; margin-top: 32px; }
  .ud-hero__btn { width: 100%; max-width: 298px; }
  .ud-hero__note { font-size: 12px; line-height: 18px; letter-spacing: -0.2px; }
  .ud-visual img { aspect-ratio: 356 / 190; }

  .ud-logos { flex-direction: column; align-items: stretch; }
  .ud-logos__title { width: auto; padding: 32px 20px 0; border-right: 0; text-align: center; }
  .ud-logos__track { padding: 24px 0 32px; }
  .ud-logos__marquee { gap: 56px; }

  .ud-story__media { aspect-ratio: 356 / 361; }
  .ud-story__body { padding: 40px 20px; gap: 42px; }
  .ud-story__label { margin-bottom: 14px; }
  .ud-story__quote { font-size: 17px; line-height: 23.4px; letter-spacing: -0.5px; }

  .ud-signal__text { padding: 24px 20px 28px; gap: 8px; }
  .ud-signal__title { font-size: 20px; line-height: 29px; letter-spacing: -0.6px; }
  .ud-signal__desc { font-size: 14px; line-height: 19px; color: var(--ink-60); }

  .ud-stack__item, .ud-stack__item:nth-child(3n) { padding: 20px 20px 28px; gap: 48px; }
  .ud-stack__title { font-size: 20px; line-height: 27px; }

  .ud-testimonials__top { align-items: flex-end; }
  .ud-people .t-small { font-size: 14px; line-height: 19px; }
  .ud-slide__quote-wrap { padding: 24px; }
  .ud-slide__stats { grid-template-columns: 1fr; padding: 0; }
  .ud-slide__stats li { padding: 24px; border-left: 0; border-top: 1px solid var(--line-2); }
  .ud-slide__stats li:first-child { padding-left: 24px; border-top: 0; }
  .ud-slide__link { padding: 24px; font-size: 16px; }

  .ud-card { flex-basis: 100%; }
  .ud-card__body { padding: 20px; }
  .ud-card__btn { font-size: 16px; }
  .ud-range__dots { gap: 6px; }
  .ud-range__dots span { width: 6px; height: 6px; }
  .ud-range__dots span.is-active { width: 24px; }

  .ud-faq__intro { padding: 32px 20px 40px; }
  .ud-faq__q { padding: 20px; font-size: 16px; line-height: 19px; }
  .ud-faq__a { padding: 0 20px 20px; font-size: 14px; line-height: 21px; }

  .ud-banner { padding: 36px 20px 40px; }
  .ud-banner__title { font-size: 36px; line-height: 39px; }
  .ud-banner__text { margin-top: 16px; font-size: 16px; line-height: 22px; }
  .ud-banner .btn { margin-top: 28px; }
}

/* ---------- Footer spacing on this page (desktop and tablet) ---------- */
@media (min-width: 810px) {
  .site-footer .footer__col { gap: 10px; }
  .site-footer .footer__links { gap: 12px; }
  .site-footer .site-footer__legal { margin-top: 80px; }
}
@media (min-width: 810px) and (max-width: 1199px) {
  .site-footer .site-footer__top { grid-template-columns: 300px 1fr; gap: 0; }
  .site-footer .site-footer__inner { padding: 60px; }
  .site-footer .footer__nav { justify-content: flex-end; flex-wrap: wrap; gap: 48px 40px; }

  /* Comparison: compact heading, chart shown at a fixed height */
  .ud-compare .title-wrapper { padding: 40px 20px; gap: 24px; }
  .ud-compare .title-wrapper__row .t-lead { max-width: 390px; }
  .ud-compare__chart { border-top: 0; }
  .ud-compare__chart img { aspect-ratio: auto; height: 400px; object-fit: contain; }
}

@media (prefers-reduced-motion: reduce) {
  .ud-stack__icon { animation: none; }
  .ud-range__track { scroll-behavior: auto; }
}
