/* SME credit line page. Builds on the Scale-up base styles (styles.css). */

.page-offer {
  --offer-navy: #12354a;
  --offer-muted: rgba(18, 53, 74, 0.72);
  --offer-line: rgba(18, 53, 74, 0.1);
  --offer-green: #24c260;
  --offer-green-deep: #159a4c;
  --offer-green-soft: rgba(36, 194, 96, 0.1);
  --offer-surface: #fff;
  --offer-bg: #f6f9fb;
}

@media (max-width: 767.98px) {
  .page-offer {
    --page-gutter: 28px;
  }
}

@media (max-width: 479.98px) {
  .page-offer {
    --page-gutter: 20px;
  }
}

.page-offer main .section {
  color: var(--offer-navy);
}

.page-offer main h2 {
  text-wrap: balance;
}

.page-offer .section-kicker {
  margin-bottom: 14px;
}

.page-offer .scaleup-section-head .section-title {
  color: var(--offer-navy);
}

.page-offer .section:nth-of-type(even) {
  background: var(--offer-surface);
}

.page-offer .section.offer-credit-line {
  background: var(--offer-bg);
}

.page-offer .section.offer-benefits {
  background: var(--offer-surface);
}

/* ---------- Hero ---------- */

.offer-hero__kicker {
  margin: 0 0 18px;
}

@media (min-width: 1024px) {
  .offer-hero .hero-title.hero-title--long {
    font-size: clamp(36px, 3.7vw, 54px);
  }
}

.page-offer .section-intro,
.page-offer .scaleup-section-head .section-intro,
.page-offer .offer-final .cta-copy,
.page-offer .offer-check #start-container .simulator-text,
.page-offer .offer-highlight {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.offer-hero__visual {
  margin: 0;
  background: #eef3f7;
}

.offer-hero__visual .hero-visual-img {
  object-fit: cover;
  object-position: 68% 40%;
}

@media (min-width: 1024px) {
  .offer-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 48px;
  }

  .offer-hero .hero-right {
    justify-content: center;
  }

  /* Fixed shape so longer headlines in DE/FR/IT don't stretch and zoom the photo. */
  .offer-hero__visual {
    flex: none;
    aspect-ratio: 5 / 6;
  }
}

/* Stacked hero through tablet: photo on top, tall enough to show her face and the amounts. */
@media (max-width: 1023.98px) {
  .offer-hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .offer-hero .hero-right,
  .offer-hero.hero--fit-no-image .hero-right {
    display: flex;
    order: -1;
    padding: 16px var(--page-gutter) 8px;
  }

  .offer-hero .hero-left {
    padding: 12px var(--page-gutter) 36px;
  }

  .offer-hero .hero-copy-block {
    max-width: 640px;
  }

  .offer-hero .hero-visual {
    flex: none;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 2400 / 1563;
    border-radius: 20px;
  }

  .offer-hero__visual .hero-visual-img {
    object-position: center center;
  }
}

@media (min-width: 640px) and (max-width: 1023.98px) {
  .offer-hero .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .offer-hero .hero-actions .km-primary-btn,
  .offer-hero .hero-actions .hero-secondary {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
}

/* ---------- Credit line layout ---------- */

.offer-line-layout {
  display: grid;
  justify-items: stretch;
  gap: 28px;
}

.offer-line-layout__head {
  max-width: 36rem;
}

.offer-line-layout__text {
  margin: 14px 0 0;
  color: var(--offer-muted);
  font-size: 16px;
  line-height: 1.5;
}

.offer-line-layout__benefit {
  margin: 12px 0 0;
  color: var(--offer-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

@media (min-width: 768px) {
  .offer-line-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
    align-items: center;
    gap: 32px 48px;
  }

  .offer-line-layout__head {
    order: 2;
    max-width: none;
  }

  .offer-line-layout .offer-line-card {
    order: 1;
  }
}

.offer-line-layout .offer-line-card {
  width: 100%;
  max-width: 490px;
  justify-self: center;
  margin-inline: auto;
}

.offer-footnote {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--offer-muted);
  font-size: 14px;
  line-height: 1.55;
}

.offer-footnote svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

.offer-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--offer-green);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.offer-text-link:hover {
  color: var(--offer-green-deep);
}

.offer-text-link:focus-visible,
.page-offer main a:focus-visible,
.page-offer main summary:focus-visible {
  outline: 2px solid var(--offer-green-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Credit line concept ---------- */

.offer-highlight {
  margin: 16px 0 0;
  color: rgba(18, 53, 74, 0.5);
}

.page-offer .offer-highlight {
  font-size: 14px;
  line-height: 22px;
}

.offer-line-card {
  position: relative;
  margin: 0;
  padding: 36px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: var(--offer-navy);
  font-variant-numeric: tabular-nums;
}

.offer-line-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  text-align: left;
}

.offer-line-card__label-row {
  display: flex;
  align-items: center;
  gap: 2px;
  color: rgba(18, 53, 74, 0.55);
}

.offer-line-card__label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(18, 53, 74, 0.55);
}

.offer-line-amount {
  margin: 0;
  font-family: Alaska, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.offer-line-draw {
  margin: 26px 0 0;
}

.offer-line-draw__title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.offer-line-draw__amount {
  margin: 6px 0 0;
}

@media (min-width: 768px) {
  .offer-line-draw {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 16px;
  }

  .offer-line-draw__amount {
    margin: 0;
  }

  .offer-line-range {
    grid-column: 1 / -1;
  }
}

.offer-line-draw__amount strong {
  font-family: Alaska, Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  white-space: nowrap;
}

.offer-line-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.offer-line-range {
  position: relative;
  margin: 14px 0 0;
}

.offer-line-slider {
  --thumb: 18px;
  --track: var(--thumb);
  /* Ends under the thumb centre so the round thumb always hides the fill edge. */
  --fill-size: calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--fill-ratio, 0));
  /*
   * Brand green (--offer-green) fading in over a light green base. Its strength at the
   * thumb (--fill-strength, set by credit-line-card.js) grows with the amount but stays
   * below the thumb colour, so the thumb remains visible at the maximum. Plain rgba
   * layers on purpose: color-mix() would leave the track empty on iOS 15 / Chrome < 111.
   */
  --fill-gradient: linear-gradient(90deg, rgba(36, 194, 96, 0), rgba(36, 194, 96, var(--fill-strength, 0.3)));
  --fill-base: #b9edcc;
  --thumb-color: #1fb055;
  display: block;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
  -webkit-appearance: none;
  appearance: none;
}

.offer-line-slider::-webkit-slider-runnable-track {
  height: var(--track);
  border-radius: 999px;
  background:
    var(--fill-gradient) left center / var(--fill-size) 100% no-repeat,
    linear-gradient(var(--fill-base), var(--fill-base)) left center / var(--fill-size) 100% no-repeat,
    #e6eef2;
}

.offer-line-slider::-moz-range-track {
  height: var(--track);
  border-radius: 999px;
  background: #e6eef2;
}

.offer-line-slider::-moz-range-progress {
  height: var(--track);
  border-radius: 999px;
  background: var(--fill-gradient), var(--fill-base);
}

.offer-line-slider::-webkit-slider-thumb {
  box-sizing: border-box;
  width: var(--thumb);
  height: var(--thumb);
  margin-top: calc((var(--track) - var(--thumb)) / 2);
  border: 0;
  border-radius: 50%;
  background: var(--thumb-color);
  box-shadow: 0 1px 4px rgba(18, 53, 74, 0.18);
  -webkit-appearance: none;
  appearance: none;
}

.offer-line-slider::-moz-range-thumb {
  box-sizing: border-box;
  width: var(--thumb);
  height: var(--thumb);
  border: 0;
  border-radius: 50%;
  background: var(--thumb-color);
  box-shadow: 0 1px 4px rgba(18, 53, 74, 0.18);
}

.offer-line-slider:focus-visible {
  outline: none;
}

.offer-line-slider:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--offer-green-deep);
}

.offer-line-slider:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--offer-green-deep);
}

.offer-line-range__bounds {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 0;
  color: var(--offer-muted);
  font-size: 12px;
}

.offer-line-range__bounds span {
  white-space: nowrap;
}

.offer-line-range__min {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.offer-line-range__bounds .offer-tip__bubble {
  white-space: normal;
}

.offer-line-payout {
  margin: 24px 0 0;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--offer-navy);
  color: #fff;
}

.offer-line-payout__rows {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 14px;
}

.offer-line-payout__rows div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.offer-line-payout__rows dt {
  color: rgba(255, 255, 255, 0.72);
}

.offer-line-payout__rows dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.offer-line-payout__rows .offer-line-payout__draw {
  font-weight: 700;
}

.offer-line-payout__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.offer-line-payout__label {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.offer-line-payout__value {
  margin: 0;
  white-space: nowrap;
  color: #2ee878;
  font-family: Alaska, Arial, Helvetica, sans-serif;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.15;
}

.offer-line-available {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 0;
  color: var(--offer-muted);
  font-size: 14px;
}

.offer-line-available__label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin: 0;
}

.offer-line-available__label > span:first-child {
  min-width: 0;
}

.offer-line-available__value {
  flex: none;
  margin: 0;
  color: var(--offer-navy);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

.offer-line-repay {
  margin: 22px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(18, 53, 74, 0.12);
  color: var(--offer-navy);
  container-type: inline-size;
}

.offer-line-repay__title {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.offer-line-repay__toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  /* Default (phones, narrow tablet column): the amount gets the full row below the pill. */
  grid-template-areas:
    "label term"
    "value value";
  align-items: center;
  column-gap: 12px;
  row-gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.offer-line-repay__toggle:focus-visible {
  outline: 2px solid var(--offer-green);
  outline-offset: 3px;
  border-radius: 8px;
}

.offer-line-repay__summary {
  display: contents;
}

.offer-line-repay__label {
  grid-area: label;
  color: rgba(18, 53, 74, 0.62);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.offer-line-repay__value {
  grid-area: value;
  color: var(--offer-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.offer-line-repay__value span {
  white-space: nowrap;
}

.offer-line-repay__term {
  grid-area: term;
  justify-self: end;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px 10px 14px;
  border-radius: 10px;
  background: #eef3f6;
  color: rgba(18, 53, 74, 0.72);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.offer-line-repay__toggle:hover .offer-line-repay__term,
.offer-line-repay.is-open .offer-line-repay__term {
  background: #e3ebf0;
}

/*
 * The pill moves beside the amount only where the widest amount
 * ("CHF 14’012 – 14’583 / Monat") still fits on one line next to it.
 */
@container (min-width: 376px) {
  .offer-line-repay__toggle {
    grid-template-areas:
      "label term"
      "value term";
    row-gap: 6px;
  }
}

.offer-line-repay__chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.35s ease;
}

.offer-line-repay.is-open .offer-line-repay__chevron {
  transform: rotate(180deg);
}

.offer-line-repay__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.offer-line-repay.is-open .offer-line-repay__panel {
  grid-template-rows: 1fr;
}

.offer-line-repay__panel-inner {
  min-height: 0;
  overflow: hidden;
}

.offer-line-repay__term-label {
  margin: 14px 0 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(18, 53, 74, 0.12);
  color: rgba(18, 53, 74, 0.55);
  font-size: 14px;
  line-height: 1.3;
}

.offer-line-repay__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.offer-line-repay__options button {
  margin: 0;
  padding: 14px 12px;
  border: 1px solid rgba(18, 53, 74, 0.16);
  border-radius: 14px;
  background: #fff;
  color: var(--offer-navy);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.offer-line-repay__options button[aria-selected="true"] {
  font-weight: 700;
}

.offer-line-repay__options button:hover,
.offer-line-repay__options button:focus-visible {
  border-color: rgba(18, 53, 74, 0.32);
  outline: none;
}

.offer-line-repay__options button:focus-visible {
  outline: 2px solid var(--offer-green);
  outline-offset: 2px;
}

.offer-line-repay__note {
  margin: 14px 0 0;
  color: rgba(18, 53, 74, 0.62);
  font-size: 14px;
  line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
  .offer-line-slider::-webkit-slider-runnable-track,
  .offer-line-repay__chevron,
  .offer-line-repay__panel {
    transition: none;
  }
}

.offer-tip {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}

.offer-tip__btn {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: -3px 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
}

.offer-tip__btn:hover,
.offer-tip.is-open .offer-tip__btn {
  opacity: 1;
}

.offer-tip__btn:focus-visible {
  outline: 2px solid var(--offer-green);
  outline-offset: 1px;
  opacity: 1;
}

.offer-tip__btn svg {
  width: 15px;
  height: 15px;
}

.offer-tip__bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  z-index: 5;
  width: max-content;
  max-width: 260px;
  padding: 10px 12px;
  border: 1px solid var(--offer-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 53, 74, 0.16);
  color: var(--offer-navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(calc(-50% + var(--tip-shift, 0px)), 4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.offer-tip:hover .offer-tip__bubble,
.offer-tip:focus-within .offer-tip__bubble,
.offer-tip.is-open .offer-tip__bubble {
  opacity: 1;
  visibility: visible;
  transform: translate(calc(-50% + var(--tip-shift, 0px)), 0);
}

.offer-tip--below .offer-tip__bubble {
  top: calc(100% + 8px);
  bottom: auto;
  transform: translate(calc(-50% + var(--tip-shift, 0px)), -4px);
}

@media (max-width: 479.98px) {
  .offer-line-card {
    padding: 24px 20px;
  }

  .offer-line-payout {
    padding-right: 14px;
    padding-left: 14px;
  }
}

/* ---------- Benefits ---------- */

.offer-benefits__layout {
  display: grid;
  gap: 48px;
  align-items: center;
}

.offer-benefits__visual {
  position: relative;
  margin: 32px 0 0;
  padding-bottom: 56px;
}

.offer-benefits__media {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.offer-benefits__media img {
  display: block;
  width: 100%;
  height: auto;
}

.offer-benefits__media .offer-benefits__alt {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.offer-benefits__media .offer-benefits__alt.is-active {
  opacity: 1;
}

.offer-product-card {
  position: absolute;
  bottom: 0;
  left: 20px;
  display: grid;
  gap: 10px;
  width: min(300px, calc(100% - 40px));
  padding: 18px 20px;
  border: 1px solid var(--offer-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(18, 53, 74, 0.14);
  color: var(--offer-navy);
}

.offer-product-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--offer-muted);
}

.offer-product-card__check {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--offer-green);
  color: #fff;
}

.offer-product-card__check svg {
  width: 12px;
  height: 12px;
}

.offer-product-card__amount {
  font-family: Alaska, Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
}

.offer-product-card__bar {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #e3e9ee;
  overflow: hidden;
}

.offer-product-card__bar span {
  display: block;
  width: 58%;
  height: 100%;
  border-radius: inherit;
  background: var(--offer-green);
}

.offer-product-card__rows {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.offer-product-card__rows > span {
  display: grid;
  gap: 2px;
}

.offer-product-card__rows > span + span {
  text-align: right;
}

.offer-product-card__rows small {
  font-size: 12px;
  color: var(--offer-muted);
}

.offer-product-card__rows b {
  font-size: 15px;
}

.offer-benefits__grid {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer-benefit {
  padding: 26px 24px;
  border-radius: 20px;
  background: #004b59;
}

html.js .offer-benefits__grid .offer-benefit {
  transition:
    opacity var(--motion-in-duration) var(--motion-in-ease),
    transform var(--motion-in-duration) var(--motion-in-ease),
    background-color 0.25s ease;
}

@media (hover: hover) {
  .offer-benefits__grid .offer-benefit:hover {
    background: #0a5c6b;
  }
}

.offer-benefit__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 16px;
  background: #004b59;
}

.offer-benefit__icon picture {
  display: contents;
}

.offer-benefit__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.offer-benefit h3,
.offer-step h3 {
  margin: 14px 0 6px;
  font-family: Alaska, Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 450;
  line-height: 1.3;
  color: var(--offer-navy);
}

.offer-benefit p,
.offer-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--offer-muted);
}

.offer-benefit h3 {
  color: #fff;
}

.offer-benefit p {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 639.98px) {
  .offer-benefits__visual {
    padding-bottom: 120px;
  }
}

@media (min-width: 640px) {
  .offer-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 40px;
  }

  .offer-benefit:nth-child(even) {
    position: relative;
    top: 40px;
  }
}

/* Full-width photo, before it sits beside the benefit cards. */
@media (min-width: 640px) and (max-width: 1023.98px) {
  .offer-benefits__media {
    aspect-ratio: 2 / 1;
    max-height: 400px;
  }

  .offer-benefits__media > img:not(.offer-benefits__alt) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .offer-benefits__media img {
    object-position: center 8%;
  }
}

@media (min-width: 1024px) {
  .offer-benefits__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
}

.trustmark-logo--forvis-mazars { --trustmark-h: 34px; }
.trustmark-logo--ukb { --trustmark-h: 40px; }
.trustmark-logo--swisscom { --trustmark-h: 26px; }

/* ---------- Use cases ---------- */

.offer-use-cases {
  margin-top: clamp(48px, 6vw, 72px);
}

.offer-use-cases__title {
  margin: 0;
  font-family: Alaska, Arial, Helvetica, sans-serif;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 450;
  line-height: 1.3;
  color: var(--offer-navy);
}

.offer-use-cases .finance-marquee {
  margin-top: 20px;
}

.offer-use-cases .finance-option {
  gap: 8px;
  border: 1px solid var(--offer-line);
}

.offer-use-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
  border-radius: 11px;
  background: #eef2f5;
  color: var(--offer-navy);
}

.offer-use-icon svg {
  width: 20px;
  height: 20px;
}

/* ---------- Credit check ---------- */

.page-offer .section.offer-check {
  padding: 0;
  background: none;
}

.offer-check #credit-check {
  margin-top: 0;
}

.offer-check-apply {
  width: 100%;
  max-width: 420px;
  margin: 20px auto 16px;
  text-align: left;
}

.offer-check-apply__summary,
.offer-check-apply__list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.offer-check-apply__summary {
  justify-content: center;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.4;
}

.offer-check-apply__summary::before,
.offer-check-apply__list li::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324c260' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.offer-check-apply__details {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.offer-check-apply__details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  color: #fff;
  font-family: Alaska, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 450;
  cursor: pointer;
  list-style: none;
}

.offer-check-apply__details summary::-webkit-details-marker {
  display: none;
}

.offer-check-apply__details summary:focus-visible {
  outline: 2px solid var(--offer-green);
  outline-offset: 2px;
  border-radius: 12px;
}

.offer-check-apply__chev {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.offer-check-apply__details[open] .offer-check-apply__chev {
  transform: rotate(180deg);
}

.offer-check-apply__body {
  overflow: hidden;
}

.offer-check-apply__list {
  display: grid;
  gap: 12px;
  margin: 0 18px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.4;
}

.offer-check-apply__note {
  margin: 14px 18px 0;
  padding-bottom: 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  line-height: 1.45;
}

/* ---------- Process ---------- */

.offer-steps {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.offer-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border-radius: 20px;
  background: #004b5a;
  color: #fff;
}

.offer-step__label {
  color: #7eeaa6;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.offer-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.offer-step h3 {
  margin: 0 0 8px;
  color: #fff;
}

.offer-step p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.offer-step__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.offer-step__meta svg {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
}

@media (min-width: 768px) {
  .offer-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Costs ---------- */

.offer-costs .scaleup-section-head,
.offer-costs .section-intro {
  max-width: none;
}

.offer-costs__grid {
  display: grid;
  gap: 16px;
  margin: 40px 0 0;
}

.offer-cost {
  margin: 0;
  padding: 26px;
  border-radius: 20px;
  background: var(--offer-surface);
}

.offer-cost dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--offer-muted);
}

.offer-cost__value {
  margin: 10px 0 0;
  font-family: Alaska, Arial, Helvetica, sans-serif;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.1;
  color: var(--offer-navy);
}

.offer-cost__text {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--offer-muted);
}

.offer-cost--accent {
  background: #eef2f5;
}

.offer-cost--accent .offer-cost__value {
  color: var(--offer-green-deep);
}

.offer-costs__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 20px;
}

.offer-costs__footer .offer-footnote {
  margin: 0;
}

@media (min-width: 768px) {
  .offer-costs__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Trust ---------- */

.offer-trust__layout {
  display: grid;
  gap: 36px;
  align-items: center;
}

.offer-trust__facts {
  display: grid;
  gap: 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.offer-trust__facts li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.offer-trust__facts li > div {
  display: grid;
  gap: 4px;
}

.offer-trust__icon {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: #eef2f5;
  color: var(--offer-navy);
}

.offer-trust__facts strong {
  font-family: Alaska, Arial, Helvetica, sans-serif;
  font-weight: 450;
  font-size: 17px;
  color: var(--offer-navy);
}

.offer-trust__facts span {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--offer-muted);
}

.offer-trust__media {
  margin: 0;
  max-width: 420px;
  border-radius: 24px;
  overflow: hidden;
  justify-self: center;
}

.offer-trust__media img {
  width: 100%;
  height: auto;
}

.offer-partners {
  padding-top: 100px;
  padding-bottom: 100px;
}

@media (min-width: 900px) {
  .offer-trust__layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 72px;
  }
}

/* ---------- Testimonial ---------- */

.section.offer-quote {
  --offer-quote-mark-w: 80px;
  --offer-quote-mark-h: 66px;
  --offer-quote-indent: calc(var(--offer-quote-mark-w) + 2.25rem);
  padding-top: 96px;
  padding-bottom: 96px;
  background: #17242f;
}

/*
 * Keeps the quote dark when it lands on an even section. `main` makes this strictly more
 * specific than `.page-offer .section:nth-of-type(even)`, so it holds wherever either rule sits.
 */
.page-offer main .section.offer-quote {
  background: #17242f;
}

.offer-quotes__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.offer-quotes__track::-webkit-scrollbar {
  display: none;
}

/* Set by quotes.js while a mouse drags the track: it has to follow the pointer freely. */
.offer-quotes__track.is-dragging {
  scroll-snap-type: none;
  -webkit-user-select: none;
  user-select: none;
}

.offer-quotes__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.offer-quote__avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
}

.offer-quote__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
}

.offer-quote__stars {
  display: inline-flex;
  gap: 2px;
  color: #f5b82e;
}

.offer-quotes__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.offer-quotes__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.offer-quotes__dot[aria-current="true"] {
  width: 24px;
  background: #2fcb63;
}

.offer-quotes__dot:focus-visible {
  outline: 2px solid #2fcb63;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .offer-quotes__dot {
    transition: none;
  }
}

.offer-quote__figure {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 3.125rem 0;
}

.offer-quote__figure::before {
  content: "";
  position: absolute;
  top: 3.125rem;
  left: 0;
  width: var(--offer-quote-mark-w);
  height: var(--offer-quote-mark-h);
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='66' viewBox='0 0 80 66' fill='none'%3E%3Cpath d='M0 66V39.6C0 24.2 4.4 12.65 13.2 4.95 22 1.65 31.333 0 41 0v13.2c-7.7 0-13.75 2.2-18.15 6.6C18.45 24.2 16.5 30.8 16.5 39.6H33V66H0zm47 0V39.6c0-15.4 4.4-26.95 13.2-34.65C69 1.65 78.333 0 88 0v13.2c-7.7 0-13.75 2.2-18.15 6.6C65.45 24.2 63.5 30.8 63.5 39.6H80V66H47z' fill='%23fff'/%3E%3C/svg%3E");
  opacity: 0.2;
}

.offer-quote__text {
  display: block;
  min-height: var(--offer-quote-mark-h);
  margin: 0;
  padding-left: var(--offer-quote-indent);
  font-family: Alaska, Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 200;
  line-height: 1.58;
  color: #fff;
  overflow-wrap: anywhere;
}

.offer-quote__cite {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2rem;
  padding-left: var(--offer-quote-indent);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.offer-quote__logo {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.offer-quote__person {
  display: flex;
  flex-direction: column;
}

.offer-quote__name {
  color: #fff;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .section.offer-quote {
    --offer-quote-mark-w: 48px;
    --offer-quote-mark-h: 40px;
    --offer-quote-indent: calc(var(--offer-quote-mark-w) + 1.25rem);
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .offer-quote__text {
    font-size: 20px;
  }
}

/* ---------- FAQ ---------- */

.page-offer .section.section--faq {
  background: var(--offer-bg);
}

.offer-faq .scaleup-faq__answer a {
  color: var(--offer-green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Final CTA ---------- */

.page-offer .section.offer-final {
  padding: 0;
  background: #004b59;
}

.offer-final > .section-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.offer-final__card {
  display: grid;
  color: #fff;
}

.offer-final__copy {
  padding: 56px 24px 64px;
}

.page-offer .offer-final .cta-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  color: #fff;
}

.offer-final .cta-copy {
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.78);
}

.offer-final__actions {
  margin-top: 24px;
}

.offer-final__actions.hero-actions > .km-primary-btn,
.offer-final__actions.hero-actions > .hero-secondary {
  justify-content: center;
}

@media (max-width: 767.98px) {
  .offer-final__actions.hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .offer-final__actions.hero-actions > .km-primary-btn,
  .offer-final__actions.hero-actions > .hero-secondary {
    flex: 1 1 auto;
    width: 100%;
  }
}

@media (min-width: 768px) {
  .offer-final__actions.hero-actions {
    flex-wrap: nowrap;
  }

  .offer-final__actions.hero-actions > .km-primary-btn,
  .offer-final__actions.hero-actions > .hero-secondary {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
}

.offer-final__actions .hero-secondary.is-light {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
}

.offer-final__actions .hero-secondary.is-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.offer-final__contact {
  margin: 22px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.offer-final__contact a {
  color: #fff;
  white-space: nowrap;
}

.offer-final__media {
  order: -1;
  margin: 0;
  min-height: 260px;
}

.offer-final__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
}

@media (min-width: 900px) {
  .offer-final__card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 560px;
  }

  .offer-final__copy {
    align-self: center;
    max-width: 600px;
    padding: 96px clamp(40px, 6vw, 96px);
  }

  .offer-final__media {
    position: relative;
    min-height: 0;
  }

  .offer-final__media img {
    position: absolute;
    inset: 0;
  }
}

@media (max-width: 767.98px) {
  .page-offer .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
