/* Classes used on the partnership page that the shared stylesheet
   names differently (or not at all). Kept separate so the design system
   file can stay a straight copy. */

:root,
:root[data-theme="light"],
:root[data-theme="dark"],
:root:not([data-theme="light"]) {
  --display: "Inter Tight", "IBM Plex Sans", sans-serif;
  --sans: "IBM Plex Sans", sans-serif;
  --canvas: #0d0f0c;
  --surface: #161814;
  --surface-2: #0d0f0c;
  --surface-3: #1c1f1a;
  --ink: #f4f5f2;
  --ink-2: #d5d8d0;
  --muted: #a3a6ad;
  --muted-2: #8b8f96;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --primary: #f3eee4;
  --primary-ink: #ffffff;
  --on-primary: #14161b;
  --maxw: 960px;
}

.small {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

html {
  scroll-padding-top: 84px;
}

@media (min-width: 1000px) {
  .wrap {
    padding-left: 0;
    padding-right: 0;
  }
}

.section > .wrap > .detail-block:first-child {
  margin-top: 0;
}

.section > .wrap > .detail-block:first-child > h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.15rem);
}

#partners {
  --bg: #0d0f0c;
  --text: #ffffff;
  --muted: #a3a6ad;
  --blue: #E0592A;
  --track: #3a3c42;
  --dot: 64px;
  background: var(--bg);
  color: var(--text);
  padding: 80px 16px;
}

#partners .steps-block {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  font-family: var(--sans);
}

#partners .steps-block__title {
  font-family: "Inter Tight", var(--sans);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 72px;
}

#partners .steps-block__title span { color: var(--blue); }

#partners .timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

#partners .timeline__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

#partners .timeline__svg path {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
}

#partners .timeline__svg .track { stroke: var(--track); }

#partners .timeline__svg .fill {
  stroke: var(--blue);
  transition: stroke-dashoffset 0.7s cubic-bezier(0.45, 0, 0.25, 1);
}

#partners .step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  z-index: 1;
  padding: 0;
  border: 0;
}

#partners .step:nth-child(even) {
  flex-direction: row-reverse;
  text-align: right;
}

#partners .step__dot {
  flex-shrink: 0;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 30px;
  font-weight: 600;
  background: var(--bg);
  border: 3px solid var(--track);
  color: var(--muted);
  transform: scale(0.85);
  transition: background .4s, border-color .4s, color .4s, transform .5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#partners .step.is-active .step__dot {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: scale(1);
}

#partners .step__body {
  max-width: 400px;
  padding-top: 6px;
  opacity: 0.35;
  transform: translateY(8px);
  transition: opacity .5s, transform .5s;
}

#partners .step.is-active .step__body {
  opacity: 1;
  transform: none;
}

#partners .step__name {
  margin: 0 0 10px;
  font-family: "Inter Tight", var(--sans);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text);
}

#partners .step__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 640px) {
  #partners { --dot: 52px; }
  #partners .timeline { gap: 64px; }
  #partners .step:nth-child(even) {
    flex-direction: row;
    text-align: left;
  }
  #partners .step__name { font-size: 20px; }
  #partners .step__text { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  #partners .timeline__svg .fill,
  #partners .step__dot,
  #partners .step__body { transition: none; }
}

.grid-2x2,
.reliability-grid,
.rate-grid {
  margin-top: 32px;
}

.grid-2x2,
.reliability-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reliability-grid .card:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 10px);
}

.rate-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

button.rate-card {
  width: 100%;
  font: inherit;
  text-align: left;
  color: #fff;
  background: #14161b;
  border-color: #14161b;
  cursor: pointer;
}

button.rate-card .small {
  color: #a3a6ad;
}

button.rate-card h3.stat {
  color: #fff;
}

button.rate-card:hover {
  background: #1c2028;
  border-color: #1c2028;
  box-shadow: none;
}

@media (max-width: 800px) {
  .rate-grid,
  .reliability-grid {
    grid-template-columns: 1fr;
  }

  .reliability-grid .card:last-child {
    grid-column: auto;
    width: auto;
  }
}

@media (max-width: 640px) {
  .grid-2x2 {
    gap: 12px;
  }

  .grid-2x2 .card {
    padding: 16px;
  }
}

.section.steps-band {
  background: #f7f1e6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 112px 48px;
}

.why {
  --page: #f2f2f2;
  --block: #3a3a3a;
  --text: #ffffff;
  --muted: #9a9a9a;
  --line: rgba(255, 255, 255, 0.14);
  position: relative;
  width: 100%;
  max-width: 960px;
  background: var(--block);
  color: var(--text);
  border-radius: 28px;
  padding: 44px 36px 48px;
  overflow: hidden;
  font-family: var(--sans);
}

.why * {
  box-sizing: border-box;
}

.why__head {
  text-align: center;
  margin-bottom: 36px;
}

.why__label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
}

.why__title {
  font-family: "Inter Tight", var(--sans);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.why .feature {
  padding: 0 20px;
  border-left: 1px solid var(--line);
}

.why .feature:first-child {
  border-left: none;
  padding-left: 0;
}

.why .feature:last-child { padding-right: 0; }

.feature__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  color: #d9d9d9;
  transition: color .25s ease, transform .25s ease;
}

.why .feature:hover .feature__icon {
  color: #E0592A;
  transform: translateY(-3px);
}

.feature__name {
  font-family: "Inter Tight", var(--sans);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.feature__text {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }
  .why .feature:nth-child(3) { border-left: none; padding-left: 0; }
  .why .feature:nth-child(2) { padding-right: 0; }
}

@media (max-width: 560px) {
  .why { padding: 36px 20px 32px; border-radius: 22px; }
  .features { grid-template-columns: 1fr; row-gap: 0; }
  .why .feature,
  .why .feature:nth-child(n) {
    border-left: none;
    padding: 20px 0;
    border-top: 1px solid var(--line);
  }
  .why .feature:first-child { border-top: none; padding-top: 0; }
}

.process-band {
  background: #0d0f0c;
  padding: 40px 16px;
}

.process {
  --bg: #0d0f0c;
  --lime: #e9dfc9;
  --card: #f7f1e6;
  --text-dark: #14161b;
  --muted: #5c564c;
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: 36px;
  padding: 72px 0 56px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  font-family: var(--sans);
}

.process::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 460px;
  height: 340px;
  background: radial-gradient(ellipse at 60% 50%, #f3eee4 0%, rgba(233, 223, 201, 0.55) 35%, rgba(180, 156, 110, 0) 70%);
  filter: blur(30px);
  transform: rotate(-18deg);
  z-index: -1;
}

.process::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 70px;
  width: 260px;
  height: 150px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.02) 60%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  transform: skewX(-28deg) rotate(-8deg);
  backdrop-filter: blur(6px);
  z-index: -1;
}

h2.process__title {
  font-family: "Inter Tight", var(--sans);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 440px;
  margin: 0 0 56px;
  color: #fff;
}

h2.process__title span {
  color: #e0592a;
}

.process .steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.process .step {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 24px;
  background: var(--card);
  color: var(--text-dark);
  border: 0;
  border-radius: 28px;
  padding: 28px 36px;
  min-height: 180px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.process .step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.process .step:hover .step__num {
  color: #e0592a;
}

.process .step--accent {
  background: var(--lime);
}

.process .step__num {
  font-family: var(--sans);
  font-size: clamp(80px, 14vw, 140px);
  font-weight: 100;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.process .step__body {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  gap: 20px;
}

.process .step__name {
  margin: 0;
  font-family: "Inter Tight", var(--sans);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-dark);
}

.process .step__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  opacity: 1;
}

.process .step--accent .step__text {
  color: #4a4032;
}

.process .step:last-child .step__text {
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .process {
    padding: 56px 20px 24px;
  }

  .process .step {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .process .step__num {
    font-size: 88px;
  }

  .process .step:last-child .step__text {
    margin-bottom: 0;
  }
}

.step-number {
  display: block;
  margin-bottom: 12px;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
}

h3.stat {
  background: transparent;
  padding: 8px 0 0;
  text-align: left;
  border-radius: 0;
  font-family: "Inter Tight", var(--sans);
  font-size: clamp(2rem, 4vw, 2.55rem);
  font-weight: 660;
  letter-spacing: -0.04em;
  line-height: 1;
}

h3.stat + p {
  margin-top: 10px;
  color: var(--muted);
}

.notice {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  color: var(--ink-2);
}

.notice strong {
  color: var(--ink);
}

#faq {
  --page: #f7f1e6;
  --card: #ffffff;
  --text: #121212;
  --muted: #74747c;
  --border: #e7e7ec;
  --violet: #E0592A;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--page);
  color: var(--text);
  padding: 80px 16px;
  font-family: var(--sans);
}

#faq .faq {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
  border: 0;
}

#faq .faq__intro {
  position: sticky;
  top: 80px;
  padding-top: 80px;
}

#faq .faq__title {
  margin: 0;
  font-family: "Inter Tight", var(--sans);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

#faq .faq__title span { color: var(--violet); }

#faq .faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#faq .faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}

#faq .faq-item:hover { border-color: #f0c2b0; }

#faq .faq-item.is-open {
  box-shadow: 0 12px 32px rgba(224, 89, 42, 0.12);
}

#faq .faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

#faq .faq-item__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--violet);
  display: grid;
  place-items: center;
  transition: transform .35s var(--ease);
}

#faq .faq-item__icon svg { width: 14px; height: 14px; }

#faq .faq-item.is-open .faq-item__icon { transform: rotate(180deg); }

#faq .faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}

#faq .faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }

#faq .faq-item__a > div { overflow: hidden; }

#faq .faq-item__a p {
  margin: 0 28px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

#faq .faq-item.is-open .faq-item__a p {
  opacity: 1;
  transition-delay: .1s;
}

@media (max-width: 860px) {
  #faq .faq { grid-template-columns: 1fr; gap: 40px; }
  #faq .faq__intro { position: static; padding-top: 0; }
  #faq .faq-item__q { font-size: 17px; padding: 20px; }
  #faq .faq-item__a p { margin: 0 20px; }
}

.table-wrap {
  overflow-x: auto;
}

.playbook-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.playbook-card td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}

.playbook-card tr:last-child td {
  border-bottom: 0;
}

.playbook-card td:last-child {
  text-align: right;
  white-space: nowrap;
}

.detail-block .playbook-card,
#partners .playbook-card {
  position: static;
}

#partners .playbook-grid {
  grid-template-columns: minmax(0, 42rem);
}

.cta-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.cta-block .eyebrow {
  justify-content: center;
}

.cta-block .lede {
  max-width: 38em;
  margin: 14px auto 0;
}

.cta-block .playbook-list {
  max-width: 26em;
  margin: 22px auto 28px;
  text-align: left;
}

.cta-block .btn {
  margin-top: 28px;
}

.cta-block .small a {
  font-weight: 560;
}

body {
  background: #f7f1e6;
}

.site-header {
  background: rgba(247, 241, 230, 0.42);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  color: #14161b;
  font-family: var(--sans);
}

.site-header .logo {
  font-family: "Inter Tight", var(--sans);
  font-weight: 600;
}

.site-header .nav a,
.site-header .nav-toggle,
.site-header .lang-picker > summary {
  font-family: var(--sans);
  font-weight: 500;
}

.site-header .logo,
.site-header .nav a:not(.btn),
.site-header .nav-toggle,
.site-header .lang-picker > summary {
  color: #14161b;
}

.site-header .nav a:not(.btn):hover,
.site-header .lang-picker > summary:hover {
  background: rgba(20, 22, 27, 0.06);
  color: #14161b;
}

.site-header .nav a:not(.btn)[aria-current="page"] {
  background: #14161b;
  color: #f7f1e6;
}

.site-header .nav-cta {
  background: #e0592a;
  color: #fff;
  border-color: transparent;
}

.site-header .nav-cta:hover {
  background: #c94e24;
  color: #fff;
}

.site-header .lang-picker > summary {
  border-color: rgba(20, 22, 27, 0.16);
}

.hero,
.steps-band,
.process-band,
#terms,
#partners,
#faq {
  border-radius: 40px;
}

.hero,
.steps-band,
.process-band,
#terms,
#partners,
#faq {
  margin-bottom: 16px;
}

.hero {
  margin-top: 16px;
}

#terms {
  background: #f7f1e6;
  color: #121212;
}

#terms h2 {
  font-family: "Inter Tight", var(--sans);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.site-footer {
  border-top: 0;
  border-radius: 0;
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .steps-band,
  .process-band,
  #terms,
  #partners,
  #faq {
    border-radius: 28px;
  }

  .site-header {
    border-radius: 0 0 28px 28px;
  }
}

.hero {
  --hero-accent-1: #e0592a;
  --hero-accent-2: #f08a55;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - 104px);
  padding: 88px 0 72px;
  background: #000;
  overflow: hidden;
}

.hero__visual {
  --w: min(68vw, 880px);
  /* Opaque card edge sits 41/1024 inside the image. Shift the box so that
     edge lands on the wrap's right edge, not the transparent padding. */
  --card-inset: calc(var(--w) * 0.04004);
  position: absolute;
  right: calc(max(22px, (100% - 960px) / 2 + 22px) - var(--card-inset));
  bottom: calc(var(--w) * -0.36);
  width: var(--w);
  z-index: 0;
  pointer-events: none;
}

@media (min-width: 1000px) {
  .hero__visual {
    right: calc((100% - 960px) / 2 - var(--card-inset));
  }
}

.hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  animation: hero-float 7s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(-2deg); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8d8d96;
  margin-bottom: 28px;
}

.hero__title {
  font-family: "Inter Tight", var(--sans);
  font-size: clamp(52px, 7.2vw, 104px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: wrap;
  color: #b9b9c0;
  margin-bottom: 36px;
}

.hero__title b {
  font-weight: 500;
  color: #fff;
}

.hero__title b.hero__accent {
  color: #e0592a;
}

.hero .hero__lead {
  max-width: 340px;
  margin: 0 0 40px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #8d8d96;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 30px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--hero-accent-1), var(--hero-accent-2));
  color: #fff;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(224, 89, 42, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(224, 89, 42, 0.5);
}

@media (max-width: 760px) {
  .hero {
    min-height: 0;
    padding: 56px 0 0;
    justify-content: flex-start;
  }

  .hero__visual {
    --w: 110vw;
    position: relative;
    right: auto;
    bottom: auto;
    margin: -20px 0 calc(var(--w) * -0.36);
    order: 2;
    align-self: center;
  }

  .hero__title {
    font-size: clamp(44px, 12vw, 64px);
  }

  .hero .hero__lead {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__visual img {
    animation: none;
  }
}


.playbook-card .detail-block + .detail-block {
  margin-top: 22px;
}

.playbook-card .detail-block h3 + p {
  margin-top: 8px;
  color: var(--ink-2);
}

/* The mark is a dark tile. Flip it when the canvas is dark so it stays visible. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-mark rect {
    fill: #f2f5fa;
  }
  :root:not([data-theme="light"]) .logo-mark polygon {
    fill: #14161b;
    stroke: #14161b;
  }
}

:root[data-theme="dark"] .logo-mark rect {
  fill: #f2f5fa;
}

:root[data-theme="dark"] .logo-mark polygon {
  fill: #14161b;
  stroke: #14161b;
}

:root[data-theme="dark"] .site-header .logo-mark rect,
:root:not([data-theme="light"]) .site-header .logo-mark rect {
  fill: #14161b;
}

:root[data-theme="dark"] .site-header .logo-mark polygon,
:root:not([data-theme="light"]) .site-header .logo-mark polygon {
  fill: #fff;
  stroke: #fff;
}

@media (max-width: 640px) {
  .cta-block {
    padding: 36px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #faq .faq-item,
  #faq .faq-item__icon,
  #faq .faq-item__a,
  #faq .faq-item__a p { transition: none; }
}

/* ---------- payout calculator ---------- */

.loan {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-top: 48px;
  align-items: stretch;
  font-family: var(--sans);
}

.loan .stats {
  margin: 0;
  height: 100%;
  background: #E0592A;
  color: #14161b;
  border: 0;
  border-radius: 20px;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.loan .stats__label {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  margin-bottom: 8px;
}

.loan .stats__number {
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  font-variant-numeric: tabular-nums;
}

.loan .stats__badge {
  align-self: flex-start;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 20px;
  border: 1.5px solid #14161b;
  border-radius: 999px;
}

.loan .stats__extra {
  margin: 18px 0 0;
  font-size: 16px;
  font-weight: 500;
  color: #14161b;
}

.loan__panel {
  height: 100%;
  background: #14161b;
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.loan .field {
  display: block;
}

.loan .field__box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f3eee4;
  border-radius: 999px;
  height: 56px;
  padding: 0 8px;
}

.loan .field__btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  color: #14161b;
  cursor: pointer;
  border-radius: 50%;
  transition: background .2s;
}

.loan .field__btn:hover { background: rgba(20, 22, 27, 0.07); }

.loan .field__value {
  font-size: 20px;
  font-weight: 600;
  color: #14161b;
  font-variant-numeric: tabular-nums;
}

.loan .field__range {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -1px;
  width: calc(100% - 48px);
  height: 4px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, #14161b 0 var(--fill, 50%), #cfc6b4 var(--fill, 50%) 100%);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

.loan .field__range::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

.loan .field__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border-radius: 50%;
  background: #14161b;
  border: 3px solid #f3eee4;
  box-shadow: 0 0 0 2px #14161b;
  cursor: grab;
}

.loan .field__range::-moz-range-track {
  height: 4px;
  background: transparent;
  border: 0;
}

.loan .field__range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #14161b;
  border: 3px solid #f3eee4;
  box-shadow: 0 0 0 2px #14161b;
  cursor: grab;
}

.loan .field__limits {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #b7b1a6;
  margin-top: 12px;
  padding: 0 6px;
}

.loan__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #f7f1e6;
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}

.loan__check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: #f7f1e6;
}

.loan .submit {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  border: none;
  border-radius: 999px;
  background: #f7f1e6;
  color: #14161b;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.loan .submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 22, 27, 0.2);
  text-decoration: none;
}

@media (max-width: 820px) {
  .loan { grid-template-columns: 1fr; }
  .loan .stats { padding: 40px 28px; }
}

/* Headings are Inter Tight. Every other block is IBM Plex Sans. */
body,
button,
input,
textarea,
select,
summary,
.site-header,
.site-footer,
.hero,
.why,
.process,
.loan,
#terms,
#partners,
#faq {
  font-family: "IBM Plex Sans", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.hero__title,
.why__title,
h2.process__title,
.steps-block__title,
.faq__title,
.feature__name,
.step__name,
h3.stat,
.loan .stats__number,
.process .step__num,
.site-header .logo {
  font-family: "Inter Tight", "IBM Plex Sans", sans-serif;
}

