/* ManyWarm product page */

/* ---------- Hero ---------- */
.mw-hero { padding: 60px 20px; display: flex; justify-content: center; text-align: center; }
.mw-hero__inner { display: flex; flex-direction: column; align-items: center; max-width: 960px; }
.mw-hero .tag { margin-bottom: 20px; }
.mw-hero__title { max-width: 920px; padding: 0 20px; }
.mw-hero__title .ink { display: block; }
.mw-hero__lead { max-width: 745px; margin-top: 16px; padding: 0 20px; }
.mw-hero__cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mw-hero__note { font-size: 14px; line-height: 19px; letter-spacing: -0.28px; font-weight: 400; color: var(--muted); }
.mw-hero__visual { display: none; }

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

/* ---------- Logo ticker ---------- */
.logos { display: flex; align-items: center; border-top: 1px solid var(--line); }
.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);
}
.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);
}
.logos__shift { will-change: transform; }
.logos__marquee { display: flex; align-items: center; gap: 96px; will-change: transform; }
.logos__marquee img { flex: none; height: auto; }
.logos__photo { object-fit: cover; }

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

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

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

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

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

/* ---------- Testimonials ---------- */
.testimonials__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.people-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.people-stack img { width: 102px; height: 30px; object-fit: cover; }
.testimonials .title-wrapper__row .t-lead { text-align: right; }
.slider { border-top: 1px solid var(--line-2); }
.slide { display: grid; grid-template-columns: 1fr 629px; }
.slide__content { display: flex; flex-direction: column; border-right: 1px solid var(--line-2); }
.slide__quote-wrap { padding: 34px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.slide__mark { font-size: 48px; line-height: 54px; font-weight: 500; color: var(--ink-60); height: 40px; }
.slide__quote { font-size: 32px; line-height: 43px; letter-spacing: -0.64px; font-weight: 500; color: var(--ink); max-width: 700px; }
.slide__person { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.slide__person img { width: 26px; height: 26px; border-radius: 999px; object-fit: cover; }
.slide__name { font-size: 16px; line-height: 18px; font-weight: 500; color: var(--ink); }
.slide__role { font-size: 14px; line-height: 15px; font-weight: 400; color: var(--muted); }
.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); }
.slide__stats li { display: flex; flex-direction: column; gap: 4px; padding-left: 24px; border-left: 1px solid var(--line-2); }
.slide__stats li:first-child { padding-left: 0; border-left: 0; }
.slide__num { font-size: 36px; line-height: 36px; letter-spacing: -0.72px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.slide__label { font-size: 16px; line-height: 18px; font-weight: 400; color: var(--ink-60); }
.slide__link { display: flex; align-items: center; gap: 12px; padding: 28px 34px; font-size: 14px; line-height: 15px; font-weight: 500; color: var(--ink); }
.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); }
.slide__arrow img { width: 16px; height: 16px; }
.slide__link:hover .slide__arrow { background: var(--surface); }
.slide__visual { position: relative; aspect-ratio: 1 / 1; background: #dde3ea; overflow: hidden; }
.slide__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.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)); }
.slider__controls { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; border-top: 1px solid var(--line-2); }
.slider__dots { display: flex; gap: 6px; align-items: center; }
.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); }
.slider__dot.is-active { width: 18px; background: var(--ink); }
.slider__buttons { display: flex; gap: 8px; }
.slider .icon-box:hover { background: rgba(0, 0, 0, 0.02); }

/* ---------- Product range carousel ---------- */
.range .title-wrapper__row .t-lead { text-align: right; }
.range .mw-head .title-wrapper__row .t-h2 { max-width: 400px; }
.range__ink { color: var(--ink); }
.range__frame { border-top: 1px solid var(--line-2); }
.range__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.range__track::-webkit-scrollbar { display: none; }
.range-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); }
.range-card__media { background: #f9fafb; border-bottom: 1px solid var(--line-2); }
.range-card__media img { width: 100%; height: auto; aspect-ratio: 465 / 302; object-fit: fill; }
.range-card__body { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 20px; }
.range-card__text { display: flex; flex-direction: column; gap: 6px; max-width: 306px; }
.range-card__title { font-size: 20px; line-height: 20px; letter-spacing: -0.4px; font-weight: 500; color: var(--ink); }
.range-card__desc { font-size: 14px; line-height: 19px; font-weight: 400; color: var(--muted); }
.range-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);
}
.range-card__btn:hover { border-color: var(--ink); }
.range-card__btn:active { background: var(--surface); }
.range__controls { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-top: 1px solid var(--line-2); }
.range__dots { display: flex; gap: 8px; align-items: center; }
.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); }
.range__dots span.is-active { width: 24px; background: var(--ink); }
.range__buttons { display: flex; gap: 12px; }
.range__buttons .icon-box img { width: 18px; height: 18px; }
.range__buttons .icon-box:disabled { opacity: 0.4; cursor: default; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 520px 1fr; border-top: 1px solid var(--line); }
.faq__intro { padding: 80px 60px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.faq__title { max-width: 400px; }
.faq__title .ink { display: block; }
.faq__list { border-left: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 0; }
.faq__item h5 { font: inherit; }
.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);
}
.faq__q:hover { background: var(--surface); }
.faq__icon { width: 14px; height: 14px; flex: none; transition: transform 0.3s var(--ease); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 32px 32px; max-width: 760px; font-size: 16px; line-height: 25px; font-weight: 400; color: var(--ink-60); }

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

/* ================= Tablet ================= */
@media (max-width: 1199px) {
  .mw-hero { flex-direction: column; align-items: center; padding: 52px 0 0; }
  .mw-hero__inner { width: 100%; padding: 0 20px; }
  .mw-hero .tag { margin-bottom: 28px; }
  .mw-hero__lead { max-width: 864px; margin-top: 14px; padding: 0; }
  .mw-hero__cta { margin-top: 32px; gap: 10px; }
  .mw-hero__visual { display: block; width: 100%; height: auto; margin-top: 60px; aspect-ratio: 1400 / 747; object-fit: cover; border-top: 1px solid var(--line); }
  .mw-visual { display: none; }
  .logos__title { width: 194px; padding: 32px; }
  .logos__track { padding: 40px 0; }

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

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

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

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

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

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

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

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

  .story { flex-direction: column; }
  .story__media { width: 100%; aspect-ratio: 356 / 361; }
  .story__body { padding: 40px 20px; gap: 42px; }
  .story__label { margin-bottom: 14px; }
  .story__quote { font-size: 17px; line-height: 23.4px; letter-spacing: -0.5px; }
  .story__name { font-size: 16px; }

  .signals { grid-template-columns: 1fr; }
  .signal, .signal:nth-child(odd) { border-right: 0; }
  .signal:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .signal__text { padding: 24px 20px 28px; gap: 8px; }
  .signal__title { font-size: 20px; line-height: 29px; letter-spacing: -0.6px; }
  .signal__desc { font-size: 14px; line-height: 19px; color: var(--ink-60); }

  .stack { grid-template-columns: 1fr; }
  .stack__item, .stack__item:nth-child(3n), .stack__item:nth-child(2n) { border-right: 0; min-height: 0; padding: 20px 20px 28px; gap: 48px; }
  .stack__item:nth-last-child(-n+3), .stack__item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stack__item:last-child { border-bottom: 0; }
  .stack__title { font-size: 20px; line-height: 27px; letter-spacing: -0.6px; }
  .stack__desc { font-size: 14px; line-height: 19px; }

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

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

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

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

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