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

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

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

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

:root {
  --page: #f3f1eb;
  --paper: #ffffff;
  --paper-soft: #faf9f6;
  --ink: #12182a;
  --ink-soft: #626978;
  --line: #dcded9;
  --brand: #2f64f5;
  --brand-dark: #1747ca;
  --brand-pale: #e9efff;
  --lime: #ceff58;
  --coral: #ff725e;
  --dark: #252b63;
  --shadow: 0 22px 60px rgba(18, 24, 42, 0.1);
  --shadow-small: 0 12px 32px rgba(18, 24, 42, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(18, 24, 42, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 24, 42, 0.028) 1px, transparent 1px),
    var(--page);
  background-size: 48px 48px;
  font-family: "Gilroy", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

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

.site-header {
  position: relative;
  z-index: 20;
  padding: 18px 0;
  background: rgba(243, 241, 235, 0.86);
  border-bottom: 1px solid rgba(18, 24, 42, 0.08);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
}

.site-logo,
.site-footer__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.site-logo img {
  width: 184px;
  height: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(18, 24, 42, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.site-header__nav a {
  padding: 10px 17px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.site-header__nav a:hover,
.site-header__nav a:focus-visible {
  color: #fff;
  background: var(--dark);
  outline: none;
}

.site-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--dark);
  cursor: pointer;
}

.site-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-menu-toggle.is-open span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.site-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.site-menu-toggle.is-open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: 32px 0 64px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 86px;
  right: max(-180px, calc((100vw - var(--container)) / 2 - 260px));
  width: 490px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
  filter: blur(1px);
}

.hero::after {
  content: "₴";
  position: absolute;
  top: 98px;
  right: max(38px, calc((100vw - var(--container)) / 2 + 30px));
  display: grid;
  place-items: center;
  width: 158px;
  height: 158px;
  border: 1px solid rgba(18, 24, 42, 0.15);
  border-radius: 50%;
  color: var(--ink);
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.52) 34%, rgba(206, 255, 88, 0.38) 100%);
  box-shadow:
    inset 0 0 0 16px rgba(255, 255, 255, 0.3),
    0 22px 46px rgba(18, 24, 42, 0.18);
  font-size: 76px;
  font-weight: 700;
  line-height: 1;
  transform: rotate(8deg);
  transform-origin: center;
  animation: coinFloat 4.8s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.hero__intro {
  position: relative;
  min-height: 350px;
  padding: clamp(54px, 6vw, 74px) clamp(28px, 7vw, 92px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(206, 255, 88, 0.26), transparent 24%),
    radial-gradient(circle at 4% 96%, rgba(255, 114, 94, 0.38), transparent 30%),
    var(--brand);
  box-shadow: var(--shadow);
}

.hero__intro::before {
  content: "Аналізуйте • Порівнюйте • Обирайте";
  position: absolute;
  top: 34px;
  right: -54px;
  padding: 11px 80px;
  color: var(--ink);
  background: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transform: rotate(6deg);
}

.hero h1,
.policy-page h1 {
  margin: 0;
  font-size: clamp(48px, 6.6vw, 82px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.hero h1 {
  max-width: 800px;
}

.hero__subtitle {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero__mobile-cta {
  display: none;
}

.offers-section {
  position: relative;
  z-index: 2;
  padding: 0 0 88px;
}

.offers-section::before {
  content: "Каталог пропозицій";
  display: block;
  width: min(100% - 40px, var(--container));
  margin: 0 auto 24px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.empty-state {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink-soft);
  background: var(--paper);
  text-align: center;
}

.offer-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: 16px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(18, 24, 42, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(233, 239, 255, 0.62), rgba(255, 255, 255, 0) 42%),
    var(--paper);
  box-shadow: 0 8px 24px rgba(18, 24, 42, 0.06);
  cursor: pointer;
  isolation: isolate;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.offer-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 20px;
  left: 20px;
  width: auto;
  height: 6px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--brand), #7e9fff, var(--brand));
  background-size: 200% 100%;
  transition: background-position 520ms ease;
}

.offer-card:nth-child(3n + 2)::after {
  background: linear-gradient(90deg, var(--coral), #ffb1a5, var(--coral));
  background-size: 200% 100%;
}

.offer-card:nth-child(3n)::after {
  background: linear-gradient(90deg, #8fcf20, var(--lime), #8fcf20);
  background-size: 200% 100%;
}

.offer-card:hover,
.offer-card:focus-visible,
.offer-card:focus-within {
  z-index: 1;
  border-color: rgba(47, 100, 245, 0.52);
  box-shadow: 0 24px 54px rgba(34, 63, 136, 0.18);
  outline: none;
  transform: translateY(-8px) scale(1.01);
}

.offer-card:hover::after,
.offer-card:focus-visible::after,
.offer-card:focus-within::after {
  background-position: 100% 0;
}

.offer-card:first-child {
  border-color: var(--dark);
  color: #fff;
  background:
    radial-gradient(circle at 86% 12%, rgba(206, 255, 88, 0.13), transparent 31%),
    linear-gradient(145deg, #343d87, var(--dark) 62%);
}

/* .offer-card:first-child::before {
  content: "Зверніть увагу";
  position: absolute;
  top: 9px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
} */

.offer-card__logo-wrap,
.offer-card__logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-card__logo-wrap {
  position: relative;
  min-height: 112px;
  margin-bottom: 6px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(47, 100, 245, 0.12);
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.74), 0 8px 22px rgba(18, 24, 42, 0.05);
}

.offer-card__logo-wrap::after {
  content: "";
  position: absolute;
  inset: -45% auto -45% -45%;
  width: 34%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.92), transparent);
  filter: blur(2px);
  pointer-events: none;
  transform: translateX(-180%) rotate(10deg);
  animation: logoShimmer 4.6s ease-in-out infinite;
}

.offer-card:first-child .offer-card__logo-wrap {
  /* margin-top: 18px; */
  background: #fff;
}

.offer-card__logo-link {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 72px;
}

.offer-card__logo {
  width: auto;
  max-width: 230px;
  max-height: 70px;
  object-fit: contain;
  transition: filter 240ms ease, transform 240ms ease;
}

.offer-card:hover .offer-card__logo,
.offer-card:focus-within .offer-card__logo {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.055);
}

.offer-card__body {
  margin-top: 6px;
}

.offer-card__stats {
  display: grid;
  margin: 0;
  gap: 5px;
}

.offer-card__stats > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(18, 24, 42, 0.07);
  border-radius: 12px;
  background: rgba(247, 248, 251, 0.94);
}

.offer-card:first-child .offer-card__stats > div {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.065);
}

.offer-card__stats dt,
.offer-card__stats dd {
  margin: 0;
}

.offer-card__stats dt {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}

.offer-card:first-child .offer-card__stats dt {
  color: rgba(255, 255, 255, 0.62);
}

.offer-card__stats dd {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  text-align: right;
}

.offer-card:first-child .offer-card__stats dd {
  color: #fff;
}

.offer-present {
  margin-top: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(47, 100, 245, 0.12);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-pale), #f5f7ff);
}

.offer-card:first-child .offer-present {
  color: var(--ink);
  border-color: transparent;
  background: var(--lime);
}

.offer-present-text {
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

.offer-card:first-child .offer-present-text {
  color: rgba(18, 24, 42, 0.62);
}

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

.offer-present-inner div {
  font-size: 13px;
  font-weight: 700;
}

.offer-links {
  display: flex;
  margin-top: 8px;
  flex-direction: column;
  gap: 3px;
}

.offer-links a {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.35;
  text-underline-offset: 2px;
}

.offer-card:first-child .offer-links a {
  color: rgba(255, 255, 255, 0.62);
}

.offer-card__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 20px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #3975ff, var(--brand-dark));
  box-shadow: 0 12px 26px rgba(47, 100, 245, 0.25);
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.28) 47%, transparent 74%);
  pointer-events: none;
  transform: translateX(-130%);
  transition: transform 520ms ease;
}

.button::after {
  content: "↗";
  margin-left: 10px;
  font-size: 18px;
  line-height: 1;
}

.button:hover {
  background: var(--brand-dark);
  box-shadow: 0 16px 32px rgba(47, 100, 245, 0.34);
  transform: translateY(-3px);
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateX(130%);
}

.button:focus-visible {
  outline: 3px solid rgba(47, 100, 245, 0.28);
  outline-offset: 3px;
}

.offer-card__footer .button {
  width: 100%;
}

.offer-card:first-child .button {
  color: var(--ink);
  background: linear-gradient(135deg, #ddff89, var(--lime));
  box-shadow: 0 12px 26px rgba(206, 255, 88, 0.14);
}

.offer-card:first-child .button:hover {
  background: #dcff87;
  box-shadow: 0 12px 24px rgba(206, 255, 88, 0.16);
}

.button--header {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--dark);
}

.button--header:hover {
  background: var(--brand);
}

.offer-card__info-button {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.lender-details-section,
.faq-section,
.seo-text {
  padding: 88px 0;
}

.lender-details-section {
  position: relative;
  color: #fff;
  background: var(--dark);
}

.lender-details-section::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 6%;
  width: 210px;
  height: 42px;
  background: var(--lime);
  clip-path: polygon(0 0, 100% 0, 84% 100%, 16% 100%);
}

.lender-details-section__head,
.faq-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-title {
  max-width: 760px;
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.section-head__label {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head__text {
  max-width: 570px;
  color: var(--ink-soft);
}

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

.lender-details-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.lender-details-card:hover,
.lender-details-card:focus-visible {
  border-color: var(--lime);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
  outline: none;
  transform: translateY(-4px);
}

.lender-details-card__header {
  display: flex;
  padding: 18px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  background: linear-gradient(135deg, #3975ff, var(--brand-dark));
}

.lender-details-card__header::after {
  content: "↗";
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-size: 16px;
  transition: transform 180ms ease;
}

.lender-details-card:hover .lender-details-card__header::after,
.lender-details-card:focus-visible .lender-details-card__header::after {
  transform: rotate(45deg);
}

.lender-details-card:nth-child(3n + 2) .lender-details-card__header {
  background: linear-gradient(135deg, #8068ef, #563bc2);
}

.lender-details-card:nth-child(3n) .lender-details-card__header {
  color: var(--ink);
  background: linear-gradient(135deg, #e5ff9c, var(--lime));
}

.lender-details-card:nth-child(3n) .lender-details-card__header::after {
  color: #fff;
  background: var(--brand);
}

.lender-details-card__name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.lender-details-card__rows {
  padding: 8px 18px 14px;
}

.lender-details-card__row {
  display: grid;
  grid-template-columns: minmax(95px, 0.85fr) minmax(0, 1.15fr);
  gap: 14px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.35;
}

.lender-details-card__row:nth-child(even) {
  background: rgba(233, 239, 255, 0.34);
}

.lender-details-card__row:last-child {
  border-bottom: 0;
}

.lender-details-card__row span {
  color: var(--ink-soft);
}

.lender-details-card__row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 600;
}

.lender-details-card__row a {
  color: var(--brand);
  text-underline-offset: 2px;
}

.lender-details-card__row--full {
  grid-template-columns: 1fr;
}

.faq-section {
  background: #fff;
}

.faq-section__head .section-title {
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list--compact {
  max-width: 980px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-soft);
}

.faq-item[open] {
  border-color: rgba(47, 100, 245, 0.34);
  background: var(--brand-pale);
}

.faq-item__summary {
  position: relative;
  padding: 22px 68px 22px 24px;
  list-style: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: var(--dark);
  font-size: 20px;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-item[open] .faq-item__summary::after {
  content: "−";
  color: var(--ink);
  background: var(--lime);
}

.faq-item__content {
  padding: 0 24px 24px;
  color: var(--ink-soft);
}

.faq-item__content p {
  margin: 0;
}

.seo-text {
  background: var(--page);
}

.seo-text .container {
  position: relative;
  max-width: 950px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-small);
}

.seo-text .container::before {
  content: "Поради";
  position: absolute;
  top: 26px;
  right: 26px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(8deg);
}

.seo-text h2,
.seo-text h3 {
  color: var(--ink);
  letter-spacing: -0.03em;
}

.seo-text h2 {
  max-width: 720px;
  margin: 0 80px 28px 0;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.04;
}

.seo-text h3 {
  margin: 40px 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.seo-text p,
.seo-text li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.seo-text p {
  margin: 0 0 20px;
}

.seo-text ol {
  display: grid;
  margin: 24px 0 0;
  padding: 0;
  gap: 10px;
  list-style: none;
  counter-reset: benefit;
}

.seo-text li {
  position: relative;
  min-height: 52px;
  padding: 14px 18px 14px 64px;
  border-radius: 14px;
  background: var(--paper-soft);
  counter-increment: benefit;
}

.seo-text li::before {
  content: counter(benefit, decimal-leading-zero);
  position: absolute;
  top: 14px;
  left: 16px;
  color: var(--brand);
  font-weight: 700;
}

.site-footer {
  position: relative;
  padding: 24px 0;
  color: #fff;
  background: var(--page);
}

.site-footer > .container {
  position: relative;
  padding: clamp(32px, 5vw, 68px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 92% 5%, rgba(206, 255, 88, 0.28), transparent 24%),
    var(--brand);
  box-shadow: var(--shadow);
}

.site-footer > .container::before {
  content: "₴";
  position: absolute;
  top: -70px;
  right: clamp(-36px, 1vw, 18px);
  color: rgba(206, 255, 88, 0.18);
  font-size: clamp(250px, 31vw, 470px);
  font-weight: 700;
  line-height: 1;
  transform: rotate(10deg);
}

.site-footer > .container > * {
  position: relative;
  z-index: 1;
}

.site-footer__headline {
  padding-bottom: clamp(34px, 5vw, 58px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.site-footer__headline span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.site-footer__headline strong {
  display: block;
  max-width: 960px;
  margin-top: 24px;
  font-size: clamp(48px, 7.2vw, 94px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 0;
}

.site-footer__logo {
  padding: 13px 17px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 24, 42, 0.14);
}

.site-footer__logo img {
  width: 146px;
  height: auto;
}

.site-footer__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer__nav a {
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  border-color: var(--lime);
  color: var(--ink);
  background: var(--lime);
  outline: none;
}

.site-footer__contacts {
  display: grid;
  grid-template-columns: auto auto minmax(220px, 1fr);
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(17, 24, 42, 0.14);
  font-size: 13px;
}

.site-footer__contacts > * {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.09);
}

.site-footer__contacts a {
  color: var(--ink);
  background: var(--lime);
  font-weight: 700;
  text-decoration: none;
}

.site-footer__contacts a:hover {
  background: #dcff87;
}

.site-footer__text {
  margin-top: 18px;
  padding: 24px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(17, 24, 42, 0.18);
  font-size: 12px;
  line-height: 1.65;
}

.site-footer__text p {
  margin: 0;
}

.site-footer__text p + p {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.site-footer__bottom-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.site-footer__bottom a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: var(--lime);
}

/* Policy and terms pages */
.policy-page {
  padding-bottom: 88px;
}

.policy-hero {
  padding: 38px 0 26px;
}

.policy-hero__card {
  position: relative;
  min-height: 350px;
  padding: clamp(38px, 7vw, 84px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #fff;
  background: var(--brand);
  box-shadow: var(--shadow);
}

.policy-hero__card::after {
  content: "§";
  position: absolute;
  right: clamp(20px, 7vw, 90px);
  bottom: -54px;
  color: rgba(206, 255, 88, 0.9);
  font-size: clamp(180px, 24vw, 330px);
  font-weight: 700;
  line-height: 1;
}

.policy-hero__card .section-head__label,
.policy-hero__card h1,
.policy-hero__subtitle {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.policy-hero__card .section-head__label {
  color: var(--lime);
}

.policy-page h1 {
  font-size: clamp(44px, 7vw, 82px);
}

.policy-hero__subtitle {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.6;
}

.policy-content {
  padding: 20px 0 0;
}

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

.policy-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 1px 0 rgba(18, 24, 42, 0.03);
}

.policy-card:first-child {
  grid-column: 1 / -1;
  color: #fff;
  background: var(--dark);
}

.policy-card .section-title {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.policy-card:first-child .section-title {
  color: #fff;
}

.policy-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.policy-card:first-child p {
  color: rgba(255, 255, 255, 0.68);
}

.policy-card a {
  color: var(--brand);
  font-weight: 600;
}

/* Modal styles retained for the existing optional feature */
.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-backdrop__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 28, 0.72);
  backdrop-filter: blur(8px);
}

.offer-modal {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.offer-modal__close {
  position: sticky;
  z-index: 2;
  top: 14px;
  float: right;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 14px 14px -54px 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--dark);
  cursor: pointer;
}

.offer-modal__top-group,
.offer-modal__panel {
  padding: 30px;
}

.offer-modal__brand,
.offer-modal__hero,
.offer-modal__tabs {
  display: flex;
  align-items: center;
  gap: 18px;
}

.offer-modal__logo-badge {
  display: grid;
  place-items: center;
  width: 90px;
  height: 70px;
  padding: 12px;
  border-radius: 14px;
  background: var(--paper-soft);
}

.offer-modal__logo {
  max-width: 100%;
  max-height: 46px;
}

.offer-modal__eyebrow,
.offer-modal__metric span {
  color: var(--ink-soft);
  font-size: 12px;
}

.offer-modal__title {
  font-size: 24px;
  font-weight: 700;
}

.offer-modal__hero {
  margin-top: 26px;
  padding: 20px;
  border-radius: 16px;
  background: var(--brand-pale);
}

.offer-modal__metric {
  display: grid;
  gap: 4px;
}

.offer-modal__cta {
  margin-left: auto;
}

.offer-modal__tabs {
  margin-top: 20px;
  border-bottom: 1px solid var(--line);
}

.offer-modal__tab {
  padding: 12px 4px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--ink-soft);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}

.offer-modal__tab.is-active {
  border-color: var(--brand);
  color: var(--ink);
}

.offer-modal__panel {
  display: none;
  border-top: 1px solid var(--line);
}

.offer-modal__panel.is-active {
  display: block;
}

.offer-modal__panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.offer-modal__list p {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

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

@keyframes coinFloat {
  0%,
  100% {
    box-shadow:
      inset 0 0 0 16px rgba(255, 255, 255, 0.3),
      0 22px 46px rgba(18, 24, 42, 0.18);
    transform: translate3d(0, 0, 0) rotate(8deg);
  }

  48% {
    box-shadow:
      inset 0 0 0 16px rgba(255, 255, 255, 0.36),
      0 34px 62px rgba(18, 24, 42, 0.24);
    transform: translate3d(0, -14px, 0) rotate(-5deg) scale(1.035);
  }
}

@keyframes logoShimmer {
  0%,
  54% {
    transform: translateX(-180%) rotate(10deg);
  }

  76%,
  100% {
    transform: translateX(620%) rotate(10deg);
  }
}

@keyframes mobileCtaShine {
  0%,
  58% {
    transform: translateX(-120%);
  }

  82%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes mobileCtaArrow {
  0%,
  100% {
    transform: translateY(-2px);
  }

  50% {
    transform: translateY(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .offer-card__logo-wrap::after,
  .hero__mobile-cta::before,
  .hero__mobile-cta-icon {
    animation: none;
  }

  .offer-card,
  .offer-card__logo,
  .button,
  .button::before {
    transition-duration: 0.01ms;
  }
}

@media (max-width: 1050px) {
  .hero::after {
    right: 44px;
    width: 126px;
    height: 126px;
    font-size: 62px;
  }

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

  .offer-card:first-child {
    grid-column: 1 / -1;
    min-height: 470px;
  }
}

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

  .site-header {
    padding: 12px 0;
  }

  .site-logo img {
    width: 148px;
  }

  .site-menu-toggle {
    display: flex;
  }

  .site-header__nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    display: none;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-small);
  }

  .site-header__nav.is-open {
    display: flex;
  }

  .site-header__nav a {
    padding: 14px 16px;
    text-align: center;
  }

  .hero {
    padding: 16px 0 40px;
  }

  .hero::before {
    top: 120px;
    right: -260px;
  }

  .hero::after {
    display: none;
  }

  .hero__intro {
    min-height: 0;
    padding: 70px 20px 26px;
    border-radius: 26px;
  }

  .hero__intro::before {
    top: 26px;
    right: -80px;
    padding-inline: 100px;
    font-size: 9px;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 52px);
    line-height: 0.98;
  }

  .hero__subtitle {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.45;
  }

  .hero__mobile-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 52px;
    margin-top: 18px;
    padding: 8px 9px 8px 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 16px;
    color: var(--ink);
    background: var(--lime);
    box-shadow: 0 16px 30px rgba(18, 24, 42, 0.2);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transform: translateZ(0);
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .hero__mobile-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.45) 48%, transparent 72%);
    pointer-events: none;
    transform: translateX(-120%);
    animation: mobileCtaShine 3.8s ease-in-out infinite;
  }

  .hero__mobile-cta:active {
    box-shadow: 0 8px 18px rgba(18, 24, 42, 0.18);
    transform: scale(0.985);
  }

  .hero__mobile-cta:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
  }

  .hero__mobile-cta-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: #fff;
    background: var(--dark);
    font-size: 20px;
    animation: mobileCtaArrow 1.8s ease-in-out infinite;
  }

  .offers-section {
    padding-bottom: 64px;
  }

  .offers-section > .container {
    width: min(100% - 16px, var(--container));
  }

  .offers-section::before {
    width: min(100% - 16px, var(--container));
    margin-bottom: 14px;
  }

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

  .lender-details-grid,
  .policy-grid,
  .offer-modal__panel-grid {
    grid-template-columns: 1fr;
  }

  .offer-card:first-child,
  .policy-card:first-child {
    grid-column: auto;
  }

  .offer-card,
  .offer-card:first-child {
    min-height: 0;
    padding: 10px;
    border-radius: 18px;
  }

  .offer-card::after {
    right: 10px;
    left: 10px;
    height: 4px;
  }

  .offer-card:first-child::before {
    top: 9px;
    right: 8px;
    padding: 5px 6px;
    font-size: 7px;
    letter-spacing: 0.04em;
  }

  .offer-card__logo-wrap {
    min-height: 84px;
    margin-bottom: 6px;
    padding: 8px;
    border-radius: 14px;
  }

  .offer-card:first-child .offer-card__logo-wrap {
    /* margin-top: 18px; */
  }

  .offer-card__logo-link {
    min-height: 60px;
  }

  .offer-card__logo {
    max-width: 120px;
    max-height: 56px;
  }

  .offer-card__body {
    margin-top: 3px;
  }

  .offer-card__stats {
    gap: 4px;
  }

  .offer-card__stats > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 1px;
    padding: 7px 8px;
    border-radius: 9px;
  }

  .offer-card__stats dt {
    font-size: 9px;
    line-height: 1.15;
  }

  .offer-card__stats dd {
    font-size: 13px;
    line-height: 1.1;
    text-align: left;
  }

  .offer-present {
    margin-top: 7px;
    padding: 8px;
    border-radius: 10px;
  }

  .offer-present-text {
    margin-bottom: 4px;
    font-size: 8px;
  }

  .offer-present-inner {
    gap: 3px;
  }

  .offer-present-inner div {
    font-size: 10px;
    line-height: 1.15;
  }

  .offer-links {
    display: none;
  }

  .offer-card__footer {
    padding-top: 9px;
  }

  .offer-card__footer .button {
    min-height: 42px;
    padding: 7px 5px;
    border-radius: 11px;
    font-size: 11px;
    text-align: center;
  }

  .offer-card__footer .button::after {
    margin-left: 4px;
    font-size: 13px;
  }

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

  .lender-details-section,
  .faq-section,
  .seo-text {
    padding: 64px 0;
  }

  .lender-details-section__head,
  .faq-section__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-title {
    font-size: 38px;
  }

  .seo-text .container {
    width: min(100% - 28px, var(--container));
    padding: 28px 22px;
    border-radius: 24px;
  }

  .seo-text .container::before {
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    font-size: 11px;
  }

  .seo-text h2 {
    margin-right: 55px;
    font-size: 34px;
  }

  .seo-text li {
    padding-left: 54px;
  }

  .site-footer {
    padding: 14px 0;
  }

  .site-footer > .container {
    width: min(100% - 28px, var(--container));
    padding: 32px 22px;
    border-radius: 26px;
  }

  .site-footer > .container::before {
    top: 10px;
    right: -52px;
    font-size: 240px;
  }

  .site-footer__headline strong {
    margin-top: 20px;
    font-size: clamp(43px, 13vw, 58px);
    line-height: 0.96;
  }

  .site-footer__top,
  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__nav {
    justify-content: flex-start;
  }

  .site-footer__nav a {
    padding: 10px 12px;
  }

  .site-footer__contacts {
    grid-template-columns: 1fr;
  }

  .site-footer__text {
    padding: 18px;
  }

  .policy-page {
    padding-bottom: 64px;
  }

  .policy-hero {
    padding-top: 20px;
  }

  .policy-hero__card {
    min-height: 390px;
    padding: 44px 24px;
    border-radius: 26px;
  }

  .policy-hero__card::after {
    right: 14px;
    bottom: -30px;
    font-size: 180px;
  }

  .policy-page h1 {
    font-size: 46px;
  }

  .policy-hero__subtitle {
    font-size: 16px;
  }

  .policy-card {
    padding: 24px;
  }

  .offer-modal__hero,
  .offer-modal__brand,
  .offer-modal__tabs {
    align-items: stretch;
    flex-direction: column;
  }

  .offer-modal__cta {
    width: 100%;
    margin-left: 0;
  }
}

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

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