.inner-container {
  max-width: 1140px;
  margin-inline: auto;
}
@font-face {
  font-family: "DM Sans Calculator";
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/calculator-dm-sans.woff2") format("woff2");
}
.rich-text p {
  margin: 0 0 15px;
}
.rich-text p:last-child {
  margin-bottom: 0;
}
.rich-text ul,
.rich-text ol {
  margin: 0 0 15px;
  padding-left: 24px;
}
.rich-text ul {
  list-style: disc;
}
.rich-text ol {
  list-style: decimal;
}
.rich-text strong {
  font-weight: 700;
}
.rich-text a {
  color: var(--color-brand);
  text-decoration: underline;
}
.section-heading h2 {
  font-size: 45px;
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 25px;
}
.section-description {
  font-size: 16px;
  line-height: 24px;
}
.eyebrow {
  color: var(--color-brand);
  font: 600 16px/1.1 var(--font-body);
  margin: 0 0 20px;
}
.eyebrow span {
  display: inline-flex;
  vertical-align: top;
  align-items: center;
  gap: 20px;
}
.eyebrow span::before,
.eyebrow span::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.brand-glyph {
  font-family: "MaxCredit icons";
  font-weight: 900;
  line-height: 1;
}
.home-hero {
  position: relative;
  overflow-x: clip;
  background: white;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/baner-bg-2.png.webp") center/cover no-repeat;
  opacity: 0.8;
  pointer-events: none;
}
.home-hero-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 49.81% 1fr;
  gap: 20px;
}
.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 30px 0 0;
}
.home-hero h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 25px;
}
.home-hero-copy .rich-text {
  font-size: 23px;
  line-height: 34.5px;
  font-weight: 600;
}
.home-hero-copy .site-button {
  margin-top: 30px;
}
.home-hero-art {
  position: relative;
  container-type: inline-size;
  width: 100%;
  align-self: end;
  margin-top: 50px;
}
.home-hero-art::before,
.hero-symbols {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  aspect-ratio: 570 / 423;
  transform: translateX(-50%);
  pointer-events: none;
}
.home-hero-art::before {
  content: "";
  background: url("/images/bg-shape-4-1.png.webp") center/100% 100% no-repeat;
  opacity: 0.14;
  clip-path: inset(0 max(0px, calc((100% - 100cqw) / 2)));
}
.home-hero-art > img {
  position: relative;
  width: 90%;
  height: auto;
  margin-left: auto;
}
@font-face {
  font-family: "MaxCredit outline icons";
  src: url("/fonts/elementskit-subset.woff") format("woff");
  font-display: block;
}
.hero-symbol {
  position: absolute;
  left: calc(var(--arc-x) / 570 * 100%);
  top: calc(var(--arc-y) / 423 * 100%);
  transform: translate(-50%, -50%);
  width: 15%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: url("/images/shape-3-1.png.webp") center/contain no-repeat;
  color: white;
  font: clamp(16px, 5cqw, 30px)/1 "MaxCredit outline icons";
}
.hero-symbol-0 {
  --arc-x: 94;
  --arc-y: 150;
}
.hero-symbol-1 {
  --arc-x: 58;
  --arc-y: 280;
}
.hero-symbol-2 {
  --arc-x: 83;
  --arc-y: 405;
}
.hero-symbol-3 {
  --arc-x: 166;
  --arc-y: 65;
  background-image: url("/images/shape-3-3.png.webp");
}
.calculator-wrap {
  position: relative;
  padding-bottom: 28px;
}
.calculator {
  --font-body: "DM Sans Calculator", sans-serif;
  font-family: var(--font-body);
  line-height: normal;
  display: flex;
  gap: 40px;
  padding: 20px;
  background: white;
  border-radius: 25px;
  box-shadow: 0 0 20px oklch(0% 0 0 / 10%);
  color: black;
  min-height: 0;
}
.calculator-inputs,
.repayment-summary {
  width: calc(50% - 20px);
  padding: 20px;
  border-radius: 25px;
}
.calculator h2 {
  font: 700 34px/1.2 var(--font-body);
  margin: 22.78px 0 10px;
  color: oklch(21.77865% 0 0);
}
.calculator-intro {
  font-size: 16px;
  line-height: normal;
  color: oklch(44.95% 0 0);
  margin: 16px 0 30px;
}
.calculator label,
.calculator .rate-label {
  display: block;
  font: 600 14px/normal var(--font-body);
  margin: 20px 0 8px;
}
.calculator label span,
.calculator .rate-label span {
  color: oklch(63% 0.25 29);
}
.calculator input:not([type="range"]) {
  display: block;
  width: 92%;
  box-sizing: content-box;
  padding: 18px 20px;
  border-radius: 15px;
  border: 1px solid oklch(83% 0 0);
  background: white;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  color: inherit;
}
.amount-slider {
  display: block;
  width: 100%;
  height: 50px;
  margin: 0;
  appearance: none;
  background: transparent;
  accent-color: var(--color-brand);
}
.amount-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 4px;
  transform: translateY(10px);
  background: linear-gradient(
    to right,
    var(--color-brand) var(--slider-fill),
    oklch(85% 0 0) var(--slider-fill)
  );
}
.amount-slider::-webkit-slider-thumb {
  appearance: none;
  height: 26px;
  width: 26px;
  background: white;
  border: 4px solid var(--color-brand);
  border-radius: 50%;
  margin-top: -10px;
  box-shadow: 0 1px 3px oklch(46% 0.14 260 / 40%);
}
.calculator-options {
  display: flex;
  gap: 92px;
}
.calculator-options > div {
  width: 50%;
  min-width: 0;
}
.calculator-options label,
.calculator .rate-label {
  font-size: 14px;
  white-space: nowrap;
}
.rate-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.rate-buttons button {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 2px solid oklch(30% 0 0);
  border-radius: 50%;
  font-size: 20px;
  background: white;
  color: inherit;
  padding: 0;
}
.rate-buttons button.active {
  background: oklch(21.77865% 0 0);
  color: white;
}
.repayment-summary {
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 36px;
  color: white;
  background:
    radial-gradient(circle at 100% 0, oklch(100% 0 0 / 12%), transparent 40%),
    linear-gradient(155deg, var(--color-brand), var(--color-step-overlay));
  box-shadow: 0 18px 40px oklch(46% 0.14 260 / 25%);
}
.repayment-summary h3 {
  margin: 0;
  font: 700 14px/normal var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
}
.repayment-summary dl {
  margin: 0;
}
.repayment-summary dd {
  margin: 0;
}
.summary-headline dt {
  font-size: 16px;
  font-weight: 600;
  color: oklch(100% 0 0 / 90%);
}
.repayment-summary .monthly-repayment {
  margin-top: 4px;
  font: 800 clamp(20px, 12cqi, 60px)/1.1 var(--font-body);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.repayment-summary .summary-terms {
  margin-top: 6px;
  font-size: 15px;
  color: oklch(100% 0 0 / 90%);
}
.summary-split-bar {
  display: flex;
  justify-content: flex-end;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  background: white;
}
.summary-split-bar span {
  width: var(--interest-share);
  background: oklch(84% 0.15 80);
  box-shadow: -2px 0 0 var(--color-brand);
}
.summary-split p {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 600;
}
.summary-split p span::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: white;
}
.summary-split p span:last-child::before {
  background: oklch(84% 0.15 80);
}
.summary-totals > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 2px 16px;
  padding: 11px 0;
  border-top: 1px solid oklch(100% 0 0 / 18%);
}
.summary-totals dt {
  font-size: 15px;
  font-weight: 500;
  color: oklch(100% 0 0 / 90%);
}
.summary-totals dd {
  margin-left: auto;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}
.summary-totals .summary-interest dt {
  font-size: 14px;
}
.summary-totals .summary-interest dd {
  font-size: 15px;
  font-weight: 600;
  color: oklch(100% 0 0 / 90%);
}
.summary-totals .summary-total dt {
  font-weight: 700;
  color: white;
}
.summary-totals .summary-total dd {
  font-size: 20px;
  font-weight: 800;
}
.form-error {
  color: oklch(45% 0.18 28);
  font-size: 14px;
  margin: 12px 0;
}
.home-intro {
  padding: 150px 15px;
  background: oklch(99% 0.006 240);
}
.home-intro-inner {
  max-width: 1140px;
  margin: auto;
  display: grid;
  grid-template-columns: 530px minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}
.value-cards {
  display: grid;
  gap: 55px;
}
.value-card {
  position: relative;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  background: white;
  padding: 20px 20px 20px 150px;
  min-height: 125px;
  display: flex;
  align-items: center;
}
.value-card h2 {
  font-size: 22px;
  line-height: 26.4px;
  font-weight: 600;
  margin: 0 0 10px;
}
.value-card p {
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}
.value-ribbon {
  position: absolute;
  left: 20px;
  top: -20px;
  width: 95px;
  height: 125px;
  border-radius: 20px 0 20px 20px;
  background: var(--color-brand);
  display: grid;
  place-items: center;
}
.value-ribbon::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 0;
  border-bottom: 20px solid oklch(29% 0.07 266);
  border-right: 20px solid transparent;
}
.value-ribbon img {
  width: 65px;
  height: 65px;
}
.home-intro-copy .eyebrow {
  font-size: 17px;
}
.home-intro-copy .eyebrow span::after {
  display: none;
}
.home-intro-copy > img {
  width: 100%;
  height: 308px;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
  margin-top: 30px;
  box-shadow: var(--shadow-card);
}
.steps-section {
  position: relative;
  color: white;
  padding: 100px 15px;
  background:
    linear-gradient(
      color-mix(in oklch, var(--color-step-overlay) 90%, transparent),
      color-mix(in oklch, var(--color-step-overlay) 90%, transparent)
    ),
    url("/images/max_shake.webp") center/cover;
}
.steps-section .section-heading {
  text-align: center;
}
.steps-section .eyebrow {
  font-size: 14px;
  color: white;
}
.steps-section h2,
.steps-section h3 {
  color: white;
}
.steps-section h2 {
  margin-bottom: 0;
}
.steps-grid {
  list-style: none;
  padding: 0;
  margin: 50px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.steps-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-art {
  width: 58%;
  aspect-ratio: 1;
  padding: 20px;
  border: 1px solid oklch(77.6% 0 0 / 33%);
  border-radius: 50%;
  margin: 0 auto 25px;
}
.step-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 50%;
}
.step-number {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 56.4px;
  height: 56.4px;
  border-radius: 50%;
  background: var(--color-brand);
  font: 600 22px/1.2 var(--font-heading);
  margin-bottom: 25px;
}
.steps-grid li:not(:last-child) .step-number::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 354px;
  border-top: 2px dashed oklch(100% 0 0 / 10%);
}
.steps-grid h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 26.4px;
  margin: 0 0 15px;
}
.steps-grid .rich-text {
  max-width: 320px;
  font-size: 16px;
  line-height: 24px;
}
.services-section {
  padding: 100px 15px 50px;
  background: var(--color-surface-muted);
  position: relative;
}
.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/bg-shape-3.png.webp");
  opacity: 0.5;
  pointer-events: none;
}
.services-section > .site-container {
  position: relative;
}
.services-section .section-heading,
.testimonials .section-heading {
  text-align: center;
}
.services-section .section-description,
.testimonials .section-description {
  max-width: 700px;
  margin: auto;
}
.carousel {
  margin-top: 30px;
  --cards: 3;
  --carousel-gap: 30px;
}
.carousel-window {
  overflow: hidden;
  padding: 0 10px;
  touch-action: pan-y;
}
.carousel-track {
  display: flex;
  gap: var(--carousel-gap);
}
.carousel-slide {
  flex: 0 0
    calc((100% - (var(--cards) - 1) * var(--carousel-gap)) / var(--cards));
  min-width: 0;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-block: 20px;
}
.carousel-dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  padding: 0;
  border: 0;
  background: oklch(75% 0 0);
}
.carousel-dots button.active {
  background: oklch(25% 0 0);
}
.service-card {
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 20px;
}
.service-image {
  position: relative;
  width: 85%;
  margin: 0 auto;
}
.service-image > img {
  width: 100%;
  height: auto;
}
.service-icon {
  position: relative;
  margin: -50px auto 0;
  width: 82px;
  height: 82px;
  background: var(--color-brand);
  color: white;
  border: 20px solid white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 12px 24px 30px;
}
.service-card h3 {
  font: 600 22px/1.2 var(--font-heading);
  margin: 0 0 15px;
}
.service-card p {
  font-size: 17px;
  line-height: 24px;
  margin: 0 auto 25px;
}
.service-body > a {
  color: var(--color-brand);
  font: 700 15px/1.4 var(--font-body);
  margin-top: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.testimonials {
  position: relative;
  padding: 100px 30px;
  background: var(--color-surface-muted);
}
.testimonials:not(.embedded)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/bg-shape-3.png.webp");
  opacity: 0.5;
}
.testimonials > .site-container {
  position: relative;
  max-width: 1170px;
}
.testimonials.embedded {
  padding: 100px 15px 70px;
  background: none;
}
.testimonials .carousel {
  margin-top: 20px;
}
.testimonials .section-description {
  max-width: 670px;
}
.testimonial {
  padding: 20px 10px;
}
.testimonial blockquote {
  position: relative;
  background: white;
  border-radius: 20px;
  margin: 0 0 32px;
  padding: 74px 30px 45px;
  min-height: 239px;
}
.testimonial blockquote::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 25px;
  border-top: 20px solid white;
  border-right: 20px solid transparent;
}
.quote-mark {
  position: absolute;
  top: 4px;
  left: 25px;
  font:
    100px Georgia,
    serif;
  color: oklch(96% 0.025 285);
}
.review-stars {
  position: absolute;
  top: 25px;
  right: 30px;
  color: var(--color-brand);
  letter-spacing: 3px;
  font-size: 16px;
}
.testimonial blockquote .rich-text {
  font-size: 16px;
  line-height: 24px;
}
.testimonial h3 {
  font-size: 22px;
  line-height: 26.4px;
  font-weight: 600;
  margin: 0 0 8px 45px;
}
.testimonial > p {
  font-size: 14px;
  line-height: 1.1;
  margin: 0 0 0 45px;
}
.why-section {
  padding: 130px 30px 10px;
}
.why-section .eyebrow {
  font-size: 17px;
}
.why-section .eyebrow span::after {
  display: none;
}
.home-benefits {
  padding: 10px 30px 20px;
}
.home-benefits .benefit-grid {
  row-gap: 54px;
}
.benefit-grid {
  max-width: 1140px;
  padding-inline: 10px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 60px;
}
.benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-brand);
  color: white;
  font-size: 24px;
  margin-bottom: 22px;
}
.benefit h3 {
  font: 600 22px/1.2 var(--font-heading);
  margin: 0 0 12px;
}
.benefit p {
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}
.cta-section {
  padding: 60px 0;
}
.cta-panel {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1180px;
  margin: auto;
  padding: 40px;
  border-radius: 30px;
  background: var(--color-brand);
  color: white;
}
.cta-panel h2 {
  margin: 0;
  font: 700 32px/1.3 var(--font-body);
  color: white;
  flex: 1;
}
.cta-spacer {
  flex: 1;
}
.testimonials:not(.embedded) .carousel-dots {
  padding-block: 7px;
}
.cta-panel .site-button {
  flex-shrink: 0;
  color: var(--color-brand);
  background: white;
  border-radius: 15px;
}
.apply-badge {
  position: fixed;
  z-index: 20;
  right: 0;
  top: 300px;
  display: block;
  border-radius: 30px 0 0 30px;
  overflow: hidden;
}
.apply-badge img {
  display: block;
  width: 142px;
  height: auto;
}
@media (max-width: 1023px) {
  .apply-badge {
    display: none;
  }
}
@media (min-width: 1024px) and (max-width: 1439px) {
  .cta-panel {
    padding-right: clamp(40px, 748px - 50vw, 134px);
  }
  .services-section {
    padding-inline: clamp(15px, (1335px - 100vw) / 4, 78px);
  }
  .calculator {
    padding-right: clamp(20px, 724px - 50vw, 104px);
  }
}
@media (max-width: 1230px) {
  .home-hero-row,
  .calculator-wrap {
    margin-inline: 20px;
  }
  .home-intro-inner {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  .cta-panel {
    margin-inline: 30px;
  }
}
@media (max-width: 1024px) {
  .calculator-wrap {
    width: 100%;
    margin: 0;
  }
  .calculator-options {
    gap: 20px;
  }
  .rate-buttons {
    gap: 8px;
  }
  .calculator-options label,
  .calculator .rate-label {
    white-space: normal;
  }
  .rate-buttons button {
    width: 30px;
    height: 30px;
  }
  .repayment-summary {
    padding: 28px;
  }
}
@media (max-width: 1023px) {
  .carousel {
    --cards: 2;
  }
  .benefit-grid {
    column-gap: 40px;
  }
}
@media (max-width: 767px) {
  .section-heading h2 {
    font-size: 28px;
    line-height: 1.1;
  }
  .home-hero-copy .rich-text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    padding: 0 20px;
  }
  .home-hero-copy .site-button {
    font-size: 18px;
    padding: 16px 32px;
  }
  .calculator-wrap {
    margin-top: 0;
    padding: 0 10px;
  }
  .home-intro {
    padding: 80px 10px;
  }
  .home-intro-inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 98.75px;
  }
  .value-cards {
    width: 100%;
    gap: 48.75px;
    padding: 0;
  }
  .value-card {
    padding: 115px 30px 30px;
    min-height: 227px;
  }
  .value-card h2 {
    font-size: 20px;
    line-height: 24px;
  }
  .value-ribbon {
    width: 95px;
    height: 108.75px;
    left: 30px;
    top: -18.75px;
  }
  .value-ribbon img {
    width: 48.75px;
    height: 48.75px;
  }
  .home-intro-copy {
    width: 100%;
  }
  .home-intro-copy {
    text-align: center;
  }
  .home-intro-copy .eyebrow span::after {
    display: block;
  }
  .steps-section {
    padding: 100px 15px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .step-art {
    width: 70%;
    margin-bottom: 25px;
  }
  .step-number {
    font-size: 20px;
    width: 54px;
    height: 54px;
  }
  .steps-grid .rich-text {
    max-width: 285px;
  }
  .steps-grid li:not(:last-child) .step-number::after {
    display: none;
  }
  .steps-grid h3 {
    font-size: 20px;
    line-height: 24px;
  }
  .services-section {
    padding: 100px 15px 50px;
  }
  .testimonials {
    padding: 80px 10px;
  }
  .testimonials.embedded {
    padding-top: 100px;
  }
  .testimonial {
    padding: 0 5px;
  }
  .testimonial blockquote {
    padding: 70px 25px 35px;
  }
  .why-section {
    padding: 50px 30px 20px;
    text-align: center;
  }
  .why-section .eyebrow {
    font-size: 14px;
  }
  .why-section .eyebrow span::after {
    display: block;
  }
  .home-benefits {
    padding: 20px;
  }
  .home-benefits .benefit-grid {
    row-gap: 30px;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .benefit h3 {
    font-size: 20px;
    line-height: 24px;
  }
  .cta-section {
    padding: 30px;
  }
  .cta-panel {
    padding: 40px;
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .cta-panel h2 {
    font-size: 17px;
    line-height: 22.1px;
  }
  .cta-panel .site-button {
    font-size: 19px;
  }
  .apply-badge {
    top: 300px;
    font-size: 12px;
  }
}
@media (max-width: 766px) {
  .carousel {
    --cards: 1;
  }
}
@media (max-width: 600px) {
  .calculator {
    flex-direction: column;
    gap: 1px;
    min-height: 0;
    padding: 20px;
  }
  .calculator-inputs,
  .repayment-summary {
    width: 100%;
    padding: 20px;
  }
  .calculator h2 {
    font-size: 20px;
    margin-top: 13px;
  }
  .desktop-break {
    display: none;
  }
  .calculator label,
  .calculator .rate-label {
    margin: 14px 0 7px;
  }
  .calculator input:not([type="range"]) {
    padding: 7px 20px;
    font-size: 15px;
  }
  .calculator-options {
    flex-direction: column;
    gap: 10px;
  }
  .calculator-options > div {
    width: 100%;
  }
  .calculator-intro {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .rate-buttons {
    margin: 11px 0 0 5px;
    gap: 15px;
  }
  .rate-buttons button {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .testimonials:not(.embedded) {
    padding: 60px 10px;
  }
  .testimonials:not(.embedded) .carousel {
    position: relative;
    --carousel-gap: 10px;
  }
  .testimonials:not(.embedded) .testimonial {
    padding: 20px;
  }
  .testimonials:not(.embedded) .testimonial-featured {
    padding: 0;
  }
  .testimonials:not(.embedded) .testimonial blockquote {
    padding: 74px 30px 45px;
    min-height: 0;
  }
  .testimonials:not(.embedded) .testimonial h3 {
    font-size: 20px;
    line-height: 24px;
    margin-left: calc(10% + 20px);
  }
  .testimonials:not(.embedded) .testimonial > p {
    margin-left: calc(10% + 20px);
  }
  .testimonials:not(.embedded) .carousel-dots {
    padding: 0;
  }
}

.outline-glyph {
  font-family: "MaxCredit outline icons";
  font-weight: 400;
  line-height: 1;
}

@media (max-width: 767px) {
  .home-hero-copy .rich-text {
    font-size: 14px;
    line-height: 19.59375px;
  }
  .home-hero-copy .site-button {
    margin-top: 31.40625px;
  }
  .calculator-wrap {
    padding-inline: 0;
  }
}

@media (max-width: 600px) {
  .calculator input:not([type="range"]) {
    width: 82%;
  }
  .calculator h2 {
    margin-top: 13.4px;
  }
  .amount-slider {
    margin-top: -15px;
  }
  .calculator-wrap {
    padding-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .home-benefits {
    padding-bottom: 30px;
  }
  .home-benefits .benefit-icon {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }
  .home-benefits .benefit-icon svg {
    width: 16px;
    height: 16px;
  }
}

.testimonials.embedded .carousel-dots {
  padding-block: 17.5px;
}
@media (max-width: 767px) {
  .service-card h3 {
    font-size: 20px;
    line-height: 24px;
  }
  .testimonials.embedded .testimonial {
    padding: 20px 10px;
  }
  .testimonials.embedded .testimonial blockquote {
    padding: 74px 30px 45px;
    min-height: 0;
  }
  .testimonials.embedded .testimonial h3 {
    font-size: 20px;
    line-height: 24px;
    margin-left: calc(10% + 20px);
  }
  .testimonials.embedded .testimonial > p {
    margin-left: calc(10% + 20px);
    max-width: 55%;
  }
}
@media (max-width: 766px) {
  .carousel {
    --carousel-gap: 10px;
  }
}

@media (min-width: 1025px) {
  .value-cards {
    gap: 30px;
  }
  .value-card {
    min-height: 0;
    margin-top: 23px;
    padding-left: 28%;
  }
  .value-ribbon {
    top: -23px;
  }
}
@media (min-width: 768px) {
  .services-section > .site-container > .carousel .carousel-dots {
    padding-block: 17.5px;
  }
  .testimonials.embedded .carousel-dots {
    padding-block: 20px;
  }
  .testimonial h3,
  .testimonial > p {
    margin-left: calc(7.5% + 20px);
  }
}
.calculator-options label,
.calculator .rate-label {
  white-space: normal;
}
.calculator:has(.form-error) {
  height: auto;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .calculator-wrap {
    width: 100%;
    min-width: 0;
    padding: 0 20px 28px;
  }
  .calculator-options {
    flex-direction: column;
    gap: 10px;
  }
  .calculator-options > div {
    width: 100%;
  }
  .rate-buttons {
    gap: 15px;
  }
  .rate-buttons button {
    width: 40px;
    height: 40px;
  }
  .home-intro-inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 80px;
  }
  .home-intro-copy,
  .value-cards {
    width: 100%;
  }
  .home-intro-copy {
    text-align: center;
  }
  .value-cards {
    gap: 30px;
  }
  .value-card {
    min-height: 0;
    margin-top: 23px;
    padding-left: 22%;
  }
  .value-ribbon {
    top: -23px;
  }
  .home-intro-copy .eyebrow span::after {
    display: block;
  }
}
@media (min-width: 601px) and (max-width: 1024px) {
  .calculator input:not([type="range"]) {
    width: 100%;
    box-sizing: border-box;
  }
  .calculator-options {
    flex-direction: column;
    gap: 10px;
  }
  .calculator-options > div {
    width: 100%;
  }
  .rate-buttons {
    flex-wrap: wrap;
  }
}

.home-hero-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.home-hero-copy {
  padding-block: 64px;
  min-width: 0;
}
.home-hero h1 {
  font-size: clamp(32px, 3.6vw, 52px);
  text-wrap: balance;
}
.home-hero-art {
  min-width: 0;
}
.home-intro-copy > img {
  height: auto;
  aspect-ratio: 16 / 10;
  object-position: center;
  border: 4px solid white;
}
.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.step-art {
  width: min(100%, 220px);
}
.steps-grid li {
  position: relative;
  min-width: 0;
}
.steps-grid li:not(:last-child) .step-number::after {
  display: none;
}
.steps-grid li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 273px;
  left: calc(50% + 29px);
  width: calc(100% - 28px);
  border-top: 2px dashed rgb(255 255 255 / 15%);
}
.calculator {
  height: auto;
}
.calculator input:not([type="range"]) {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
}
.calculator-options {
  gap: 24px;
}
.rate-buttons {
  flex-wrap: wrap;
  gap: 10px;
}
.rate-buttons button {
  width: 44px;
  height: 44px;
}
.carousel-dots {
  gap: 0;
}
.carousel-dots button {
  width: 28px;
  height: 44px;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
}
.carousel-dots button::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: oklch(60% 0 0);
}
.carousel-dots button.active {
  background: transparent;
}
.carousel-dots button.active::after {
  background: var(--color-heading);
}
.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.carousel-arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid oklch(85% 0 0);
  border-radius: 50%;
  background: white;
  color: var(--color-heading);
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .carousel-arrow:hover {
    border-color: var(--color-brand);
    color: var(--color-brand);
  }
}
@media (max-width: 1100px) and (min-width: 768px) {
  .home-hero-row {
    margin-inline: 24px;
  }
  .home-hero-copy {
    padding: 48px 0;
  }
  .home-hero-copy .rich-text {
    font-size: 18px;
    line-height: 1.6;
  }
  .home-hero-copy .site-button {
    font-size: 18px;
    padding-inline: 24px;
  }
  .home-intro {
    padding: 80px 24px;
  }
  .home-intro-inner {
    gap: 64px;
  }
  .home-intro-copy > img {
    max-width: 720px;
    margin-inline: auto;
  }
  .steps-grid {
    gap: 24px;
  }
  .steps-grid h3 {
    font-size: 20px;
  }
  .steps-grid li::after {
    display: none;
  }
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .home-hero {
    padding-top: 32px;
  }
  .home-hero-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-inline: 20px;
  }
  .home-hero-copy {
    text-align: center;
    align-items: center;
    padding: 0;
  }
  .home-hero h1 {
    margin: 0 0 20px;
    line-height: 1.15;
  }
  .home-hero-copy .rich-text {
    padding: 0;
    font-size: 16px;
    line-height: 1.5;
  }
  .home-hero-art {
    width: min(calc(100% - 16px), 460px);
    margin: 0 auto;
    align-self: center;
  }
  .home-hero-art > img {
    width: 90%;
  }
  .calculator-wrap {
    padding: 0 16px 24px;
  }
  .calculator {
    flex-direction: column;
    min-height: 0;
    gap: 20px;
    padding: 20px;
  }
  .calculator-inputs,
  .repayment-summary {
    width: 100%;
    min-width: 0;
    padding: 12px;
  }
  .calculator h2 {
    font-size: 26px;
  }
  .calculator input:not([type="range"]) {
    font-size: 16px;
  }
  .amount-slider {
    margin-top: 0;
  }
  .repayment-summary {
    gap: 20px;
    padding: 24px 20px;
  }
  .home-intro {
    padding-inline: 20px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid li::after {
    display: none;
  }
  .cta-section {
    padding-inline: 20px;
  }
  .cta-panel {
    padding: 28px;
  }
  .cta-panel .site-button {
    max-width: 100%;
    font-size: 17px;
    padding-inline: 24px;
  }
}

.repayment-summary dd {
  font-variant-numeric: tabular-nums;
}
.calculator-accessible-value {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.google-reviews {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 440px;
  margin: 12px auto 0;
  text-align: center;
}
.google-reviews .google-rating {
  gap: 6px 10px;
}
.google-reviews .google-rating svg {
  width: 22px;
  height: 22px;
}
.google-reviews .google-rating-score {
  font-size: 22px;
}
.google-reviews .rating-stars {
  font-size: 18px;
}
.google-reviews .google-rating-count {
  font-size: 14px;
  font-weight: 400;
}
.google-rating {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 12px;
  min-height: 44px;
  color: var(--color-heading);
}
.google-rating svg {
  flex: none;
}
.google-rating-figures {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.google-rating-score {
  font: 700 28px/1 var(--font-heading);
}
.rating-stars {
  position: relative;
  display: inline-block;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 2px;
  color: oklch(86% 0 0);
}
.rating-stars-fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  white-space: nowrap;
  color: #fbbc04;
}
.google-rating-count {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-copy);
}
.google-rating:hover .google-rating-count,
.google-rating:focus-visible .google-rating-count {
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.google-reviews-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 20px;
  margin: 0;
}
.google-reviews-actions a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  color: var(--color-brand);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.google-reviews-actions a:hover,
.google-reviews-actions a:focus-visible {
  color: var(--color-heading);
}
.google-reviews-date {
  margin: 2px 0 0;
  font-size: 12px;
  color: #716e80;
}
.google-rating-compact {
  gap: 6px 10px;
}
.google-rating-compact .google-rating-score {
  font-size: 18px;
}
.google-rating-compact .rating-stars {
  font-size: 16px;
}
.google-rating-compact .google-rating-count {
  font-size: 14px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 24px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-heading);
}
.hero-licence {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--color-copy);
}
@media (max-width: 767px) {
  .hero-trust {
    justify-content: center;
    margin-top: 20px;
  }
}
