@font-face {
  font-family: Gilroy;
  src: url(../fonts/Gilroy-Regular.woff2) format("woff2");
  font-weight: 400;
  font-display: swap
}

@font-face {
  font-family: Gilroy;
  src: url(../fonts/Gilroy-Medium.woff2) format("woff2");
  font-weight: 500;
  font-display: swap
}

@font-face {
  font-family: Gilroy;
  src: url(../fonts/Gilroy-SemiBold.woff2) format("woff2");
  font-weight: 600;
  font-display: swap
}

@font-face {
  font-family: Gilroy;
  src: url(../fonts/Gilroy-Bold.woff2) format("woff2");
  font-weight: 700;
  font-display: swap
}

:root {
  --ink: #16324f;
  --ink-2: #234a70;
  --blue: #2563eb;
  --blue-soft: #eaf2ff;
  --coral: #f97316;
  --coral-dark: #ea580c;
  --lime: #ffd166;
  --lime-dark: #e4af38;
  --peach: #ffd8c7;
  --cream: #f6f9fc;
  --paper: #fff;
  --muted: #64748b;
  --line: #d9e2ec;
  --soft: #f2f6fa;
  --shadow: 0 16px 36px rgba(22, 50, 79, .1);
  --container: 1240px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Gilroy, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased
}

body,
button,
input {
  font-family: Gilroy, Arial, sans-serif
}

button,
input {
  font: inherit
}

button {
  color: inherit
}

a {
  color: inherit;
  text-decoration: none
}

img {
  display: block;
  max-width: 100%
}

[hidden] {
  display: none !important
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto
}

.section {
  padding: 92px 0;
  scroll-margin-top: 86px
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  transform: translateY(-160%)
}

.skip-link:focus {
  transform: none
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  color: #fff;
  background: rgba(22, 50, 79, .97);
  backdrop-filter: blur(12px)
}

.site-header__inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 42px
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none
}

.maxkredit-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap
}

.maxkredit-logo>b {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: var(--coral);
  box-shadow: 0 7px 16px rgba(249, 115, 22, .25);
  font-size: 22px;
  font-weight: 700;
  line-height: 1
}

.maxkredit-logo>span {
  color: #fff;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1
}

.maxkredit-logo>span strong {
  color: #ff9b54;
  font-weight: 700
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  font-weight: 600;
  transition: color .18s ease
}

.site-nav a:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transition: transform .18s ease
}

.site-nav a:hover {
  color: #fff
}

.site-nav a:hover:after {
  transform: scaleX(1)
}

.header-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: .18s ease
}

.header-action:hover {
  border-color: var(--coral);
  color: #fff;
  background: var(--coral)
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: transparent;
  cursor: pointer
}

.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: #fff;
  transition: .18s ease
}

.menu-button.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg)
}

.menu-button.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg)
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease
}

.button span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 18px
}

.button--lime {
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 10px 24px rgba(160, 199, 50, .22)
}

.button--lime span {
  background: rgba(17, 25, 54, .1)
}

.button--lime:hover {
  background: #d6ff70;
  box-shadow: 0 14px 28px rgba(160, 199, 50, .28);
  transform: translateY(-2px)
}

.button--coral {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 11px 24px rgba(244, 111, 82, .24)
}

.button--coral span {
  background: rgba(255, 255, 255, .16)
}

.button--coral:hover {
  background: var(--coral-dark);
  box-shadow: 0 15px 30px rgba(244, 111, 82, .3);
  transform: translateY(-2px)
}

.button--dark {
  color: #fff;
  background: var(--ink)
}

.button--dark span {
  background: rgba(255, 255, 255, .1)
}

.button--dark:hover {
  background: var(--blue);
  transform: translateY(-2px)
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 76px;
  color: var(--ink);
  background: linear-gradient(125deg, #e8f2ff 0%, #f8fbff 58%, #eef6ff 100%)
}

.hero:before,
.hero:after {
  content: "";
  position: absolute;
  pointer-events: none
}

.hero:before {
  inset: 0;
  background-image: linear-gradient(rgba(37, 99, 235, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .72), transparent)
}

.hero:after {
  display: none
}

.hero__grid {
  position: relative;
  z-index: 1;
  min-height: 320px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center
}

.hero__copy {
  max-width: 940px
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue)
}

.eyebrow span {
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--coral)
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(52px, 5.7vw, 78px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .94
}

.hero h1 em {
  color: var(--coral);
  font-style: normal
}

.hero__lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: #5c7187;
  font-size: 18px;
  line-height: 1.5
}

.finder-wrap {
  position: relative;
  z-index: 4;
  margin-top: -48px
}

.finder {
  display: grid;
  grid-template-columns: 190px 1fr 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 23px 25px;
  border: 1px solid rgba(22, 50, 79, .18);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow)
}

.finder__title small,
.finder__title strong {
  display: block
}

.finder__title small {
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase
}

.finder__title strong {
  font-size: 18px
}

.range-field {
  min-width: 0
}

.range-field>span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 12px
}

.range-field b {
  color: var(--muted);
  font-weight: 500
}

.range-field output {
  font-weight: 700;
  white-space: nowrap
}

.range-field input {
  width: 100%;
  height: 5px;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) var(--range-progress, 50%), #e7e9ef var(--range-progress, 50%));
  appearance: none;
  cursor: pointer
}

.range-field input::-webkit-slider-thumb {
  width: 19px;
  height: 19px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 2px 7px rgba(17, 25, 54, .25);
  appearance: none
}

.range-field input::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 2px 7px rgba(17, 25, 54, .25)
}

.finder__button {
  min-width: 200px
}

.section-heading {
  display: block;
  margin-bottom: 34px
}

.section-heading h2 {
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1
}

.section-kicker {
  margin-bottom: 12px
}

.offers-section {
  padding-top: 78px
}

.finder-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: -8px 0 22px;
  padding: 14px 17px;
  border: 1px solid #bad9cd;
  border-radius: 14px;
  color: var(--ink);
  background: var(--blue-soft);
  font-size: 14px;
  font-weight: 600
}

.finder-result button {
  padding: 7px 11px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-size: 11px;
  cursor: pointer
}

.empty-state {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--muted);
  background: #fff;
  text-align: center
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px
}

.offer-card {
  min-width: 0;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #d6e1ec;
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(22, 50, 79, .055);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease
}

.offer-card:hover,
.offer-card:focus-within {
  z-index: 2;
  border-color: #93b7df;
  box-shadow: var(--shadow);
  transform: translateY(-3px)
}

.offer-card.is-extra {
  display: none
}

.offers-grid.expanded .offer-card.is-extra {
  display: flex
}

.offer-card.is-filtered-out {
  display: none !important
}

.offer-card__head {
  padding: 13px 14px 15px;
  border-bottom: 1px dashed #bacde0;
  background: #eaf2ff
}

.offer-card:nth-child(3n+2) .offer-card__head {
  border-bottom-color: #f0c6aa;
  background: #fff1e6
}

.offer-card:nth-child(3n+3) .offer-card__head {
  border-bottom-color: #bedfd1;
  background: #eaf8f2
}

.offer-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px
}

.offer-rank {
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em
}

.offer-rank:before {
  content: "№ ";
  color: var(--muted);
  font-weight: 500
}

.lender-logo {
  width: 100%;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid rgba(22, 50, 79, .08);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(22, 50, 79, .035)
}

.lender-logo img {
  width: auto;
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
  transition: transform .2s ease
}

.offer-card:hover .lender-logo img {
  transform: scale(1.04)
}

.lender-logo strong {
  font-size: 16px;
  text-align: center
}

.offer-label {
  padding: 5px 8px;
  border: 1px solid rgba(22, 50, 79, .1);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, .65);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap
}

.offer-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 16px 10px
}

.offer-primary span,
.offer-primary strong {
  display: block
}

.offer-primary span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase
}

.offer-primary strong {
  margin-top: 2px;
  font-size: 31px;
  letter-spacing: -.045em;
  line-height: 1.08
}

.offer-conditions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 15px 0 11px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.offer-conditions>div {
  min-width: 0;
  padding: 11px 10px 11px 0
}

.offer-conditions>div+div {
  padding-right: 0;
  padding-left: 12px;
  border-left: 1px solid var(--line)
}

.offer-conditions span,
.offer-conditions strong {
  display: block
}

.offer-conditions span {
  color: var(--muted);
  font-size: 9px
}

.offer-conditions strong {
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.2;
  text-wrap: balance
}

.offer-apr {
  display: block;
  padding: 10px 11px;
  border-left: 3px solid var(--blue);
  border-radius: 0 9px 9px 0;
  color: var(--ink);
  background: #f3f7fc
}

.offer-apr span,
.offer-apr strong {
  display: block;
  text-align: left
}

.offer-apr span {
  color: var(--muted);
  font-size: 9px
}

.offer-apr strong {
  margin-top: 3px;
  font-size: 10px
}

.offer-legal-links {
  min-height: 37px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 9px;
  flex-wrap: wrap
}

.offer-legal-links a {
  color: #2d6fbe;
  font-size: 9px;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 2px
}

.offer-button {
  width: auto;
  min-height: 50px;
  margin: auto 16px 16px
}

.show-more {
  min-width: 290px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 28px auto 0;
  padding: 0 20px;
  border: 1px solid #cbd0db;
  border-radius: 15px;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  transition: .18s ease
}

.show-more:hover {
  border-color: var(--ink);
  background: #fff
}

.show-more b {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff
}

.show-more[aria-expanded="true"] b {
  transform: rotate(180deg)
}

.creditors-section {
  background: #eef5fb
}

.creditors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px
}

.creditor-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #d4e2ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(22, 50, 79, .055)
}

.creditor-card:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--coral))
}

.creditor-card__head {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 17px;
  border-bottom: 1px solid #e4ebf2;
  background: #fff
}

.creditor-card__head div,
.creditor-card__head small,
.creditor-card__head strong {
  display: block
}

.creditor-card__head small {
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase
}

.creditor-card__head strong {
  margin-top: 3px;
  font-size: 20px
}

.creditor-card__head>span {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #1f5c44;
  background: #e7f7ee;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase
}

.creditor-card__head>span b {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #28a66f;
  font-size: 9px
}

.creditor-card__body {
  padding: 17px 18px 18px
}

.creditor-card__body h3 {
  margin: 0 0 13px;
  padding: 13px 14px;
  border-radius: 11px;
  color: var(--ink);
  background: var(--blue-soft);
  font-size: 14px;
  line-height: 1.35
}

.creditor-card__body dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0
}

.creditor-card__body dl>div {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #e5ebf1;
  border-radius: 10px;
  background: #f9fbfd;
  font-size: 11px
}

.creditor-card__body dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase
}

.creditor-card__body dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 600
}

.faq-section {
  color: var(--ink);
  background: #eaf3fb
}

.faq-section .section-kicker {
  color: var(--ink)
}

.faq-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 50px;
  margin-bottom: 34px
}

.faq-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 4.8vw, 68px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: .98
}

.faq-heading>p {
  max-width: 470px;
  margin: 0;
  color: #5f7182
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px
}

.faq-list details {
  overflow: hidden;
  border: 1px solid #d3e1ed;
  border-radius: 13px;
  background: #fff
}

.faq-list summary {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600
}

.faq-list summary::-webkit-details-marker {
  display: none
}

.faq-list summary span {
  display: flex;
  align-items: center;
  gap: 12px
}

.faq-list summary i {
  color: var(--coral);
  font-size: 10px;
  font-style: normal;
  font-weight: 700
}

.faq-list summary b {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #fff;
  background: var(--ink);
  font-size: 20px;
  transition: transform .18s ease
}

.faq-list details[open] summary b {
  transform: rotate(45deg)
}

.faq-list details p {
  margin: 0;
  padding: 0 70px 20px 51px;
  color: var(--muted);
  font-size: 14px
}

.site-footer {
  padding: 78px 0 26px;
  color: #fff;
  background: #102a43
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 330px;
  align-items: end;
  gap: 80px;
  padding-bottom: 45px
}

.footer-brand h2 {
  max-width: 720px;
  margin: 25px 0 12px;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, .57);
  font-size: 14px
}

.footer-catalog {
  padding: 22px;
  border: 1px solid #d9e2ec;
  border-radius: 15px;
  color: var(--ink);
  background: #fff
}

.footer-catalog span,
.footer-catalog strong,
.footer-catalog small {
  display: block
}

.footer-catalog span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase
}

.footer-catalog strong {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 65px;
  letter-spacing: -.06em;
  line-height: 1
}

.footer-catalog small {
  margin-top: 4px;
  color: #64736e
}

.footer-catalog a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(22, 50, 79, .2);
  font-size: 13px;
  font-weight: 700
}

.footer-catalog a b {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: var(--coral)
}

.footer-links {
  display: grid;
  grid-template-columns: .6fr .8fr 1.6fr;
  gap: 55px;
  padding: 35px 0;
  border-top: 1px solid rgba(255, 255, 255, .13);
  border-bottom: 1px solid rgba(255, 255, 255, .13)
}

.footer-links nav {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 9px
}

.footer-links nav strong {
  margin-bottom: 5px;
  font-size: 12px
}

.footer-links nav a {
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
  transition: color .18s ease
}

.footer-links nav a:hover {
  color: var(--coral)
}

.footer-links>p {
  max-width: 580px;
  justify-self: end;
  margin: 0;
  color: rgba(255, 255, 255, .45);
  font-size: 12px;
  line-height: 1.6
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-top: 22px;
  color: rgba(255, 255, 255, .42);
  font-size: 11px
}

.mobile-offer-cta {
  display: none
}

/* Legal pages inherited from the shared backend. */
.page.legal-page {
  padding: 24px;
  background: var(--cream)
}

.legal-page .site-card {
  max-width: 1240px;
  margin: auto;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow)
}

.legal-page .header {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 13px 28px;
  color: #fff;
  background: var(--ink)
}

.legal-page .header .logo {
  display: inline-flex;
  align-items: center
}

.legal-page .nav {
  display: flex;
  justify-content: center;
  gap: 26px
}

.legal-page .nav a {
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  font-weight: 600
}

.top-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 12px;
  font-weight: 700
}

.legal-hero {
  padding: 72px 55px;
  color: #fff;
  background: var(--blue)
}

.legal-hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .95
}

.legal-hero>p:last-child {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: 18px
}

.legal-content {
  padding: 55px
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px
}

.legal-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft)
}

.legal-card h2 {
  margin: 0 0 10px;
  font-size: 19px
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65
}

.legal-card a {
  color: var(--blue);
  text-decoration: underline
}

.legal-back {
  display: inline-flex;
  margin-top: 24px;
  padding: 13px 18px;
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  font-weight: 700
}

.legal-page .site-footer {
  padding: 36px 40px 24px
}

.legal-page .footer-main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 35px;
  padding-bottom: 28px
}

.legal-page .footer-main p {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: 13px
}

.legal-page .footer-main nav {
  display: flex;
  flex-direction: row;
  gap: 12px
}

.legal-page .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-top: 20px;
  color: rgba(255, 255, 255, .45);
  font-size: 11px
}

@media(max-width:1050px) {
  .site-nav {
    gap: 20px
  }

  .hero__grid {
    grid-template-columns: 1fr
  }

  .hero h1 {
    font-size: 64px
  }

  .finder {
    grid-template-columns: 160px 1fr 1fr auto;
    gap: 17px
  }

  .finder__button {
    min-width: 170px
  }

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

  .faq-heading {
    gap: 35px
  }
}

@media(max-width:820px) {
  .container {
    width: min(var(--container), calc(100% - 28px))
  }

  .section {
    padding: 70px 0
  }

  .site-header__inner {
    height: 68px;
    gap: 12px
  }

  .maxkredit-logo>b {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 20px
  }

  .maxkredit-logo>span {
    font-size: 24px
  }

  .header-action {
    margin-left: auto
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 14px;
    left: 14px;
    display: none;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 15px;
    background: var(--ink);
    box-shadow: var(--shadow)
  }

  .site-nav.is-open {
    display: flex
  }

  .site-nav a {
    padding: 12px
  }

  .site-nav a:after {
    display: none
  }

  .hero {
    padding: 22px 0 70px
  }

  .hero__grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 38px
  }

  .hero h1 {
    font-size: clamp(52px, 10vw, 76px)
  }

  .finder {
    grid-template-columns: 1fr 1fr;
    gap: 18px
  }

  .finder__title {
    grid-column: 1/-1
  }

  .finder__button {
    grid-column: 1/-1
  }

  .creditors-grid {
    grid-template-columns: 1fr
  }

  .faq-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 15px
  }

  .faq-list {
    grid-template-columns: 1fr
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 35px
  }

  .footer-catalog {
    max-width: 430px
  }

  .footer-links {
    grid-template-columns: 1fr 1fr
  }

  .footer-links>p {
    grid-column: 1/-1;
    justify-self: start
  }

  .legal-page .header {
    grid-template-columns: auto 1fr
  }

  .legal-page .header-actions {
    justify-self: end
  }

  .legal-page .nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: flex-start
  }

  .legal-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:620px) {
  body {
    padding-bottom: 72px
  }

  .container {
    width: calc(100% - 20px)
  }

  .section {
    padding: 56px 0
  }

  .header-action {
    display: none
  }

  .maxkredit-logo {
    gap: 8px
  }

  .maxkredit-logo>b {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 18px
  }

  .maxkredit-logo>span {
    font-size: 22px
  }

  .hero {
    padding: 18px 0 62px
  }

  .hero h1 {
    font-size: 44px
  }

  .hero__lead {
    font-size: 16px
  }

  .finder-wrap {
    margin-top: -38px
  }

  .finder {
    grid-template-columns: 1fr;
    padding: 18px;
    border-radius: 13px
  }

  .finder__title,
  .finder__button {
    grid-column: auto
  }

  .section-heading {
    margin-bottom: 24px
  }

  .section-heading h2 {
    font-size: 38px
  }

  .offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px
  }

  .offer-card {
    border-radius: 14px
  }

  .offer-card:hover,
  .offer-card:focus-within {
    transform: none
  }

  .offer-card__head {
    padding: 8px 8px 10px
  }

  .offer-card__meta {
    margin-bottom: 6px
  }

  .offer-rank {
    font-size: 7px
  }

  .offer-label {
    padding: 3px 5px;
    font-size: 6px
  }

  .lender-logo {
    height: 70px;
    padding: 4px 7px;
    border-radius: 9px
  }

  .lender-logo img {
    max-height: 60px
  }

  .offer-card__body {
    padding: 10px 9px 7px
  }

  .offer-primary span {
    font-size: 7px
  }

  .offer-primary strong {
    font-size: 18px;
    line-height: 1.05
  }

  .offer-conditions {
    margin: 9px 0 7px
  }

  .offer-conditions>div {
    padding: 7px 4px 7px 0
  }

  .offer-conditions>div+div {
    padding-right: 0;
    padding-left: 6px
  }

  .offer-conditions span {
    font-size: 6px;
    line-height: 1.2
  }

  .offer-conditions strong {
    font-size: 9px
  }

  .offer-apr {
    min-height: 51px;
    padding: 7px;
    border-left-width: 2px;
    border-radius: 0 7px 7px 0
  }

  .offer-apr span,
  .offer-apr strong {
    display: block;
    text-align: left
  }

  .offer-apr span {
    font-size: 7px;
    line-height: 1.2
  }

  .offer-apr strong {
    margin-top: 4px;
    font-size: 8px;
    line-height: 1.25
  }

  .offer-legal-links {
    min-height: 0;
    display: grid;
    gap: 3px;
    margin: 6px 0 0
  }

  .offer-legal-links a {
    font-size: 7px;
    line-height: 1.15
  }

  .offer-button {
    width: auto;
    min-height: 40px;
    margin: auto 8px 8px;
    padding: 0 7px;
    border-radius: 9px;
    gap: 5px;
    font-size: 10px;
    line-height: 1.1
  }

  .offer-button span {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 7px;
    font-size: 13px
  }

  .show-more {
    width: 100%;
    min-width: 0
  }

  .faq-heading h2 {
    font-size: 40px
  }

  .creditor-card__head {
    min-height: 76px;
    padding: 16px 14px 13px
  }

  .creditor-card__head strong {
    font-size: 15px
  }

  .creditor-card__head>span {
    padding: 5px 7px;
    font-size: 7px
  }

  .creditor-card__body {
    padding: 13px
  }

  .creditor-card__body h3 {
    font-size: 12px
  }

  .creditor-card__body dl {
    grid-template-columns: 1fr
  }

  .faq-list summary {
    min-height: 64px;
    font-size: 15px
  }

  .faq-list details p {
    padding: 0 18px 18px 48px;
    font-size: 13px
  }

  .site-footer {
    padding-top: 50px
  }

  .footer-brand h2 {
    font-size: 36px
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 25px
  }

  .footer-links>p {
    grid-column: auto
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px
  }

  .mobile-offer-cta {
    position: fixed;
    z-index: 35;
    right: 10px;
    bottom: 10px;
    left: 10px;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 12px 0 18px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 15px;
    color: #fff;
    background: var(--coral);
    box-shadow: 0 12px 35px rgba(22, 50, 79, .28);
    font-size: 13px;
    font-weight: 700;
    transition: transform .2s ease, opacity .2s ease
  }

  .mobile-offer-cta b {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, .16)
  }

  .mobile-offer-cta.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px)
  }

  .page.legal-page {
    padding: 0
  }

  .legal-page .site-card {
    border-radius: 0
  }

  .legal-page .header {
    grid-template-columns: 1fr auto;
    padding: 12px 14px
  }

  .legal-page .nav {
    display: none
  }

  .legal-hero {
    padding: 55px 20px
  }

  .legal-hero h1 {
    font-size: 46px
  }

  .legal-content {
    padding: 30px 14px
  }

  .legal-card {
    padding: 19px
  }

  .legal-page .site-footer {
    padding: 30px 18px 22px
  }

  .legal-page .footer-main {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .legal-page .footer-main nav {
    grid-column: auto;
    flex-direction: column
  }

  .legal-page .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px
  }
}

@media(max-width:380px) {
  .hero h1 {
    font-size: 43px
  }

  .lender-logo {
    height: 66px
  }

  .offer-primary strong {
    font-size: 17px
  }

  .offer-button {
    font-size: 9px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }
}