/* v19 — company work image treatment and price-page typography alignment */

/* Company: present the way of working as one calm, centered statement. */
body.page-company .company-work {
  position: relative;
  isolation: isolate;
  padding: 132px 0 138px;
  background:
    linear-gradient(rgba(57, 119, 157, .70), rgba(57, 119, 157, .78)),
    url("../photos/0059.webp") center 48% / cover no-repeat !important;
}

body.page-company .company-work::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(0, 0, 0, .04), rgba(0, 0, 0, .28));
  content: "";
}

body.page-company .company-work::after {
  content: none;
}

body.page-company .company-work__inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 112px));
  margin: 0 auto;
}

body.page-company .company-work__intro {
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

body.page-company .company-work .company-kicker,
body.page-company .company-work .company-kicker-jp,
body.page-company .company-work__title,
body.page-company .company-work__lead {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .26);
}

body.page-company .company-work .company-kicker {
  color: rgba(255, 255, 255, .68);
}

body.page-company .company-work .company-kicker-jp {
  color: rgba(255, 255, 255, .88);
}

body.page-company .company-work__title {
  margin: 46px auto 0;
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.72;
  letter-spacing: .095em;
}

body.page-company .company-work__lead {
  width: min(900px, 100%);
  margin: 46px auto 0;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 2.15;
  letter-spacing: .045em;
  text-align: center;
}

body.page-company .company-work__lead--expanded p + p {
  margin-top: 19px;
}

/* Price: the hero and all content below share the same 1240px grid. */
body.page-price .hero__content {
  left: max(48px, calc((100vw - 1240px) / 2)) !important;
  width: min(760px, calc(100vw - max(96px, calc(100vw - 1240px)))) !important;
  padding-inline: 0 !important;
}

body.page-price .hero__eyebrow {
  font-size: 15px;
}

body.page-price .hero__desc {
  font-size: clamp(15px, 1.12vw, 17px) !important;
  line-height: 2.1;
}

body.page-price .sec-head__title {
  font-size: clamp(32px, 2.45vw, 40px);
}

body.page-price .sec-head__note {
  font-size: 15px;
  line-height: 1.85;
}

body.page-price .price-unit-table thead th {
  font-size: 16px;
}

body.page-price .price-unit-table tbody th {
  font-size: 19px;
}

body.page-price .price-unit-table td span {
  font-size: 14px;
}

body.page-price .price-unit-table-note,
body.page-price .price-separate-notes,
body.page-price .included-detail-note,
body.page-price .funding__note {
  color: #647782;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: .035em;
}

body.page-price .price-separate-notes {
  margin-top: 8px;
  padding: 16px 20px;
  border-left: 2px solid rgba(57, 119, 157, .46);
  background: rgba(236, 242, 246, .58);
}

body.page-price .price-separate-notes p {
  margin: 0;
}

body.page-price .price-separate-notes p + p {
  margin-top: 3px;
}

body.page-price .price-included-compact {
  margin-top: 58px;
}

body.page-price .compact-head__eyebrow {
  font-size: 13px;
}

body.page-price .compact-head h3 {
  font-size: clamp(27px, 2.25vw, 36px);
}

body.page-price .compact-head > p {
  font-size: 15px;
  line-height: 1.85;
}

body.page-price .price-included-compact .included-detail-list strong {
  font-size: 15px;
}

body.page-price .price-included-compact .included-detail-list span {
  font-size: 13px;
  line-height: 1.75;
}

body.page-price .plan-card__label {
  font-size: 13px;
}

body.page-price .plan-card__title {
  font-size: clamp(22px, 1.65vw, 28px);
  line-height: 1.75;
}

body.page-price .plan-card__desc {
  font-size: 15px;
  line-height: 2.05;
}

body.page-price .funding__intro {
  font-size: 15px;
  line-height: 1.85;
}

body.page-price .funding__total-kicker,
body.page-price .funding__total-label,
body.page-price .funding__total-caption,
body.page-price .funding__item-label,
body.page-price .funding__item-desc {
  font-size: 13px;
}

body.page-price .funding__total-price .unit,
body.page-price .funding__item-price .unit {
  font-size: 14px;
}

body.page-price .funding__breakdown-title {
  font-size: 24px;
}

body.page-price .estimate__desc {
  font-size: 15px;
  line-height: 1.95;
}

@media (max-width: 1024px) {
  body.page-company .company-work {
    padding: 112px 0 118px;
    background-position: 54% center;
  }

  body.page-company .company-work__inner {
    width: min(920px, calc(100% - 64px));
  }

  body.page-company .company-work__lead {
    font-size: 14px;
  }

  body.page-price .hero__content {
    left: max(28px, calc((100vw - 920px) / 2)) !important;
    width: min(760px, calc(100% - (2 * max(28px, calc((100vw - 920px) / 2))))) !important;
  }

  body.page-price .plan-card__body {
    padding: 44px 34px 48px;
  }
}

@media (max-width: 700px) {
  body.page-company .company-work {
    padding: 82px 0 88px;
    background-position: 57% center;
  }

  body.page-company .company-work__inner {
    width: calc(100% - 40px);
  }

  body.page-company .company-work__title {
    margin-top: 34px;
    font-size: clamp(27px, 8vw, 34px);
    line-height: 1.65;
    letter-spacing: .07em;
  }

  body.page-company .company-work__lead {
    margin-top: 34px;
    font-size: 13px;
    line-height: 2.05;
    letter-spacing: .035em;
  }

  body.page-company .company-work__lead--expanded p + p {
    margin-top: 17px;
  }

  body.page-price .hero__content {
    left: 16px !important;
    width: calc(100% - 32px) !important;
  }

  body.page-price .hero__eyebrow {
    font-size: 12px;
  }

  body.page-price .hero__desc {
    font-size: 14px !important;
    line-height: 1.95;
  }

  body.page-price .sec-head__title {
    font-size: clamp(26px, 7.5vw, 31px);
  }

  body.page-price .sec-head__note {
    font-size: 13px;
  }

  body.page-price .price-unit-table tbody th {
    font-size: 17px;
  }

  body.page-price .price-unit-table tbody td::before,
  body.page-price .price-unit-table td span {
    font-size: 12px;
  }

  body.page-price .price-unit-table-note,
  body.page-price .price-separate-notes,
  body.page-price .included-detail-note,
  body.page-price .funding__note {
    font-size: 12px;
    line-height: 1.85;
  }

  body.page-price .price-separate-notes {
    margin-top: 10px;
    padding: 14px 15px;
  }

  body.page-price .price-included-compact {
    margin-top: 44px;
  }

  body.page-price .compact-head__eyebrow {
    font-size: 11px;
  }

  body.page-price .compact-head h3 {
    font-size: 24px;
  }

  body.page-price .compact-head > p {
    font-size: 13px;
  }

  body.page-price .price-included-compact .included-detail-list strong {
    font-size: 14px;
  }

  body.page-price .price-included-compact .included-detail-list span {
    font-size: 12px;
  }

  body.page-price .plan-card__label {
    font-size: 12px;
  }

  body.page-price .plan-card__title {
    font-size: 23px;
  }

  body.page-price .plan-card__desc {
    font-size: 14px;
    line-height: 2;
  }

  body.page-price .funding__intro,
  body.page-price .estimate__desc {
    font-size: 13px;
  }

  body.page-price .funding__total-kicker,
  body.page-price .funding__total-label,
  body.page-price .funding__total-caption,
  body.page-price .funding__item-label,
  body.page-price .funding__item-desc {
    font-size: 12px;
  }

  body.page-price .funding__breakdown-title {
    font-size: 20px;
  }
}

@media (max-width: 430px) {
  body.page-price .price-unit-table td {
    font-size: clamp(22px, 6.4vw, 25px);
  }

  body.page-price .price-included-compact .included-detail-list span {
    font-size: 11.5px;
  }
}
