/* Reviewed Why Wallit / How It Works layouts. Loaded only on these two pages. */
.custom-page-why,
.custom-page-how {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #171a51;
  line-height: 1.5;
  background: white;
}
.marketing-container {
  width: calc(100% - 64px);
  max-width: 1080px;
  margin: auto;
  position: relative;
  z-index: 1;
}
.custom-page-why h1,
.custom-page-how h1,
.custom-page-why h2,
.custom-page-how h2,
.custom-page-why h3,
.custom-page-how h3 {
  margin: 0;
  color: inherit;
}
.marketing-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #fd285a, #f93b3e);
  color: white;
  border-radius: 0 0 0 80px;
}
.marketing-hero .marketing-container {
  padding: 64px 0;
}
.marketing-hero .hero-copy {
  width: 50%;
  padding: 0 16px 16px;
}
.marketing-hero h1 {
  font-size: 53px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0.01em;
}
.marketing-hero .hero-body {
  margin-top: 16px;
  max-width: 384px;
  font-size: 20px;
  line-height: 1.5;
}
.widget-whyHero .hero-body {
  padding: 28px 0;
}
.widget-howHero .hero-body {
  font-size: 21px;
}
.marketing-art {
  display: block;
  object-fit: contain;
}
.marketing-hero > .marketing-art {
  position: absolute;
  width: 50%;
  height: 100%;
  right: 0;
  top: 0;
  object-fit: cover;
}
.marketing-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
  align-items: center;
}
.marketing-button {
  display: inline-block;
  padding: 12px 24px;
  background: #fff;
  color: #171a51;
  border-radius: 30px;
  font:
    600 14px/24px "Helvetica Neue",
    sans-serif;
  text-decoration: none;
  text-align: center;
}
.marketing-button:hover {
  filter: brightness(0.94);
}
.marketing-button:focus-visible {
  outline: 3px solid #ff005d;
  outline-offset: 4px;
}
.marketing-button.button-1 {
  background: #171a51;
  color: white;
}
.marketing-hero .marketing-button {
  padding: 16px 32px;
}
.marketing-hero .marketing-buttons {
  padding: 4px 8px;
}
.marketing-split {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  display: flex;
  align-items: center;
  border-radius: 0 0 0 80px;
}
.marketing-split h2 {
  font-size: 46px;
  line-height: 1;
  font-weight: 400;
  margin: 0 0 24px;
}
.marketing-split p {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 16px;
}
.marketing-split p:last-child {
  margin-bottom: 0;
}
.marketing-split .split-copy {
  padding: 0 16px;
  width: 58.333333%;
}
.marketing-split > .marketing-art {
  position: absolute;
  right: 0;
  top: 0;
  width: 58.333333%;
  height: 100%;
  object-position: right center;
}
.widget-whySolution .marketing-split {
  background: #171a51;
  color: white;
  min-height: 578px;
}
.widget-whySolution p {
  padding-right: 50px;
}
.widget-whySolution .intro {
  font-weight: 700;
}
.widget-whyReimburse .marketing-split {
  background: #fbf7f7;
  min-height: 504px;
  border-radius: 0 0 80px 0;
}
.widget-whyReimburse .split-copy {
  margin-left: auto;
}
.widget-whyReimburse .marketing-art {
  left: max(32px, calc((100% - 1080px) / 2));
  width: min(35.16%, 450px);
  padding-right: 32px;
  object-position: left center;
}
.widget-whyFinance .marketing-split {
  min-height: 693px;
}
.widget-whyFinance .split-copy {
  width: 41.666667%;
  margin-left: auto;
}
.widget-whyFinance .marketing-art {
  left: 0;
  right: auto;
  object-position: left center;
}
.widget-whyFinance blockquote {
  margin: 16px 40px;
  font-style: italic;
}
.widget-whyFinance blockquote p {
  font-size: 18px;
  line-height: 28px;
}
.widget-whyFinance cite {
  display: block;
  text-align: right;
  font-size: 18px;
}
.widget-whyFinance cite span {
  display: block;
}
.marketing-metrics {
  padding: 100px 0;
  background: #171a51;
  color: white;
}
.marketing-metrics .marketing-container {
  padding: 0 16px;
}
.marketing-metrics h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 70px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.metric-grid p {
  font-size: 14px;
  margin: 0 0 16px;
}
.metric-grid .metric-value {
  font-size: 50px;
  font-weight: 700;
  white-space: nowrap;
}
.metric-grid .metric-label {
  font-size: 18px;
  font-weight: 700;
}
.marketing-metrics small {
  font-size: 10px;
  font-style: italic;
  opacity: 0.35;
}
.marketing-testimonials {
  padding: 24px 4vw 0;
  color: #171a51;
}
.marketing-testimonials h2 {
  text-align: center;
  font-size: 32px;
  line-height: 38px;
  font-weight: 400;
  margin-bottom: 80px;
}
.marketing-testimonials > div {
  display: flex;
  align-items: center;
  justify-content: center;
}
.marketing-testimonials figure {
  width: 23%;
  margin: 12px 1% 112px;
}
.marketing-testimonials img {
  width: 85px;
  max-height: 85px;
  object-fit: contain;
  margin-bottom: 16px;
}
.marketing-testimonials blockquote {
  margin: 0 0 16px;
  font:
    italic 18px/28px "Helvetica Neue",
    sans-serif;
  letter-spacing: 0.3px;
}
.marketing-testimonials figcaption {
  font-size: 18px;
  line-height: 26px;
  font-style: italic;
}
.marketing-testimonials figcaption strong,
.marketing-testimonials figcaption span {
  display: block;
}
.marketing-cta {
  text-align: center;
  padding: 64px 24px;
}
.marketing-cta h2 {
  font-size: 46px;
  line-height: 1.1;
  font-weight: 400;
  max-width: 720px;
  margin: auto;
}
.marketing-cta .marketing-buttons {
  justify-content: center;
}
.widget-whyCta .marketing-cta {
  background: #3ae3a0;
  color: white;
}
.widget-whyCta h2 {
  max-width: 650px;
  font-size: 32px;
  font-weight: 700;
}
.widget-howCta .marketing-button {
  background: #ff224a;
  color: white;
}
.marketing-video {
  text-align: center;
  padding: 75px 24px 96px;
}
.marketing-video video {
  display: block;
  width: 100%;
  max-width: 904px;
  height: auto;
  margin: auto;
}
.marketing-video p {
  font-size: 18px;
  line-height: 24px;
  margin: 28px 0 48px;
}
.marketing-video .marketing-buttons {
  justify-content: center;
  margin: 0;
  gap: 10px;
}
.marketing-video .marketing-button {
  border: 1px solid #ff224a;
  border-radius: 4px;
  padding: 18px 40px;
  background: #ff224a;
  color: white;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.marketing-video .button-1 {
  background: transparent;
  color: #ff224a;
}
.marketing-icons {
  padding: 64px 0;
}
.marketing-icons .marketing-container {
  padding: 0 16px;
}
.marketing-icons h2 {
  text-align: center;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 32px;
}
.widget-howSteps h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 0;
}
.marketing-icons .subtitle {
  font-size: 17px;
  line-height: 34px;
  text-align: center;
  margin: 0 0 32px;
}
.icon-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.icon-grid h3 {
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  margin: 20px 0 16px;
}
.icon-grid p {
  font-size: 14px;
  line-height: 21px;
  margin: 0;
}
.icon-grid img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}
.widget-howSteps .icon-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.widget-howSteps .icon-grid article {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
}
.widget-howSteps .icon-grid img {
  width: 110px;
  height: 110px;
}
.widget-howSteps h3 {
  margin-top: 0;
}
.marketing-graphic {
  overflow: hidden;
  height: auto;
}
.marketing-graphic img {
  width: 100%;
  height: auto;
}
.widget-howFeatures .marketing-icons {
  padding-top: 0;
  scroll-margin-top: 24px;
}
.widget-howSplit .marketing-split {
  min-height: 620px;
  background: #3ae3a0;
}
.widget-howSplit .split-copy {
  width: 41.666667%;
}
.widget-howSplit .marketing-art {
  object-position: right bottom;
}
.widget-howSplit p {
  font-size: 19px;
  line-height: 28.5px;
}
@media (max-width: 1100px) {
  .marketing-testimonials figure {
    width: 30%;
  }
  .marketing-container {
    width: calc(100% - 32px);
  }
  .marketing-split h2 {
    font-size: 36px;
  }
  .icon-grid {
    gap: 24px;
  }
  .widget-howSteps .icon-grid article {
    display: block;
  }
}
@media (max-width: 767px) {
  .marketing-container {
    width: 100%;
    padding-inline: 24px !important;
  }
  .marketing-hero {
    border-bottom-left-radius: 48px;
  }
  .marketing-hero .marketing-container {
    padding: 32px 24px;
  }
  .marketing-hero .hero-copy {
    width: 100%;
    padding: 0;
  }
  .marketing-hero h1 {
    font-size: 32px;
    line-height: 1.12;
  }
  .marketing-hero > .marketing-art {
    position: static;
    width: 100%;
    height: auto;
  }
  .marketing-hero .hero-body {
    font-size: 20px;
  }
  .marketing-hero .marketing-button {
    padding: 12px 24px;
  }
  .marketing-split {
    display: block;
    padding: 32px 0 0;
    border-radius: 0 0 48px 0 !important;
    min-height: 0 !important;
  }
  .marketing-split .split-copy {
    width: 100% !important;
    padding: 0;
  }
  .marketing-split h2 {
    font-size: 32px;
    line-height: 1.05;
  }
  .marketing-split p {
    padding-right: 0;
  }
  .marketing-split > .marketing-art {
    position: static;
    width: 100% !important;
    height: auto;
    max-width: none;
    padding: 24px 0 0;
  }
  .widget-whyReimburse .marketing-art {
    padding: 24px;
    max-height: 420px;
  }
  .widget-whyFinance blockquote {
    margin: 16px 24px;
  }
  .marketing-metrics {
    padding: 64px 24px;
  }
  .marketing-metrics .marketing-container {
    padding: 0 !important;
  }
  .marketing-metrics h2 {
    font-size: 28px;
    margin-bottom: 40px;
  }
  .metric-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .metric-grid p {
    margin-bottom: 12px;
  }
  .marketing-testimonials h2 {
    font-size: 25px;
  }
  .marketing-testimonials > div {
    display: none;
  }
  .marketing-testimonials {
    padding-top: 24px;
  }
  .marketing-cta {
    padding: 40px 24px;
  }
  .marketing-cta h2 {
    font-size: 32px;
  }
  .marketing-video {
    padding: 75px 24px 64px;
  }
  .marketing-video .marketing-button {
    padding: 16px 22px;
  }
  .marketing-video p {
    font-size: 18px;
  }
  .marketing-icons {
    padding: 40px 0;
  }
  .marketing-icons h2 {
    font-size: 26px;
  }
  .icon-grid,
  .widget-howSteps .icon-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .icon-grid article,
  .widget-howSteps .icon-grid article {
    display: grid;
    grid-template-columns: 75px 1fr;
    gap: 24px;
  }
  .widget-howSteps .icon-grid img {
    width: 75px;
    height: 75px;
  }
  .icon-grid h3 {
    margin-top: 0;
  }
  .icon-grid p {
    font-size: 16px;
    line-height: 24px;
  }
  .marketing-buttons {
    gap: 12px;
  }
}

/* Source desktop card geometry and explicit heading breaks. */
.metric-value span {
  font-size: 24px;
}
@media (min-width: 768px) {
  .marketing-metrics {
    padding-bottom: 104px;
  }
  .marketing-testimonials {
    padding-bottom: 4px;
  }
  .widget-whyCta .marketing-cta {
    min-height: 306px;
  }
  .widget-howCta .marketing-cta {
    min-height: 319.6px;
  }
  .marketing-video {
    padding-bottom: 119px;
  }
  .widget-howSteps .marketing-container {
    padding: 0;
  }
  .widget-howSteps h2,
  .widget-howSteps .subtitle {
    margin-left: 64px;
    margin-right: 16px;
  }
  .widget-howSteps h2 {
    line-height: 37.5px;
  }
  .widget-howSteps .subtitle {
    margin-bottom: 48px;
  }
  .widget-howSteps .icon-grid {
    gap: 0;
  }
  .widget-howSteps .icon-grid article {
    padding: 16px;
    grid-template-columns: 35.35% 1fr;
    gap: 24px;
  }
  .widget-howSteps .icon-grid img {
    width: 100%;
    height: 120px;
  }
  .widget-howSteps h3 {
    font-weight: 900;
    line-height: 25px;
  }
  .widget-howSteps .icon-grid p {
    font-size: 16px;
    line-height: 24px;
  }
  .widget-howFeatures h2 {
    max-width: 640px;
    margin: 0 0 24px 48px;
    line-height: 42.5px;
  }
  .widget-howFeatures .icon-grid {
    gap: 0;
  }
  .widget-howFeatures article {
    padding: 16px;
    text-align: center;
  }
  .widget-howFeatures img {
    display: block;
    margin: 0 auto 12px;
  }
  .widget-howFeatures h3 {
    width: 128px;
    margin: 32px auto 16px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
  }
}
@media (min-width: 768px) {
  .widget-howFeatures .marketing-icons {
    padding-bottom: 76px;
  }
  .marketing-video {
    padding-bottom: 129px;
  }
}
@media (max-width: 767px) {
  .marketing-split h2 {
    font-size: 20px;
    line-height: 25px;
  }
  .widget-howSteps .marketing-container {
    padding-inline: 0 !important;
  }
  .widget-howSteps h2 {
    font-size: 30px;
    line-height: 37.5px;
    margin-inline: 16px;
  }
  .widget-howSteps .subtitle {
    margin-inline: 16px;
    margin-bottom: 24px;
  }
  .widget-howSteps .icon-grid {
    gap: 0;
  }
  .widget-howSteps .icon-grid article {
    max-width: 384px;
    margin: auto;
    padding: 16px;
    grid-template-columns: 34% 1fr;
    gap: 24px;
    text-align: center;
  }
  .widget-howSteps .icon-grid img {
    width: 100%;
    height: 120px;
  }
  .widget-howSteps h3 {
    font-size: 20px;
    line-height: 25px;
    font-weight: 900;
  }
  .widget-howFeatures h2 {
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 24px;
  }
  .widget-howFeatures .icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
  .widget-howFeatures article {
    display: block;
    padding: 16px;
    text-align: center;
  }
  .widget-howFeatures img {
    display: block;
    margin: 0 auto 36px;
  }
  .widget-howFeatures h3 {
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    max-width: 128px;
    margin: 0 auto 16px;
  }
  .widget-howFeatures .icon-grid p {
    font-size: 14px;
    line-height: 21px;
  }
  .marketing-video .marketing-buttons {
    flex-direction: column;
    gap: 0;
  }
  .marketing-video .marketing-button {
    padding: 18px 40px;
  }
  .widget-howCta h2 {
    font-size: 24px;
    line-height: 26.4px;
  }
}
