/* ================================
   NOVA BANK — HOME PAGE
   ================================ */

:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-soft: #eef0f3;
  --text: #101115;
  --muted: #6f747d;
  --line: rgba(16, 17, 21, 0.09);
  --accent: #7c5cff;
  --accent-2: #a99bff;
  --lime: #dfff59;
  --dark: #111217;
  --radius-xl: 38px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --shadow: 0 22px 70px rgba(15, 17, 22, 0.09);
  --container: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
}

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

.topbar {
  background: #eceef1;
  border-bottom: 1px solid rgba(0, 0, 0, .03);
}

.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar__switch {
  border: 0;
  padding: 0;
  background: transparent;
  color: #777c84;
  cursor: pointer;
}

.topbar__switch.is-active {
  color: #111217;
  font-weight: 700;
}

.topbar__right a {
  color: #777c84;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__mark {
  position: relative;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: var(--dark);
  overflow: hidden;
}

.logo__mark > span:first-child {
  position: absolute;
  width: 19px;
  height: 19px;
  left: 5px;
  top: 6px;
  border-radius: 50%;
  border: 5px solid var(--accent);
}

.logo__mark > span:last-child {
  position: absolute;
  width: 15px;
  height: 7px;
  right: -2px;
  bottom: 4px;
  background: var(--lime);
  transform: rotate(-24deg);
  border-radius: 5px;
}

.logo__text {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -.03em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-right: auto;
}

.nav a {
  color: #2f3238;
  font-size: 14px;
  font-weight: 600;
  transition: color .2s ease;
}

.nav a:hover {
  color: var(--accent);
}

.chevron {
  color: #9b9ea5;
  margin-left: 3px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #f2f3f5;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.btn {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--small {
  min-height: 44px;
  padding-inline: 18px;
  border-radius: 14px;
}

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

.btn--white {
  color: #111217;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.btn--glass {
  color: #fff;
  border-color: rgba(255, 255, 255, .27);
  background: rgba(255, 255, 255, .11);
  backdrop-filter: blur(14px);
}

.btn--accent {
  color: #111217;
  background: var(--lime);
}

.btn--wide {
  width: 100%;
}

.burger {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #f2f3f5;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.burger span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #111217;
}

.search-panel {
  position: absolute;
  inset: 100% 0 auto;
  padding: 16px 0;
  background: rgba(255, 255, 255, .98);
  border-top: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0,0,0,.07);
  transform: translateY(-15px);
  opacity: 0;
  visibility: hidden;
  transition: .2s ease;
}

.search-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-panel__inner {
  display: flex;
  gap: 10px;
}

.search-panel input {
  flex: 1;
  height: 54px;
  border: 1px solid var(--line);
  background: #f5f6f8;
  padding: 0 18px;
  border-radius: 16px;
  outline: none;
}

.search-close {
  width: 54px;
  border: 0;
  border-radius: 16px;
  background: #f1f2f4;
  font-size: 28px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
}

.hero {
  padding: 26px 0 0;
}

.hero__card {
  min-height: 610px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 78% 30%, rgba(225, 255, 89, .15), transparent 33%),
    radial-gradient(circle at 56% 85%, rgba(116, 92, 255, .4), transparent 36%),
    linear-gradient(125deg, #14151d 0%, #1b1535 44%, #372285 100%);
  box-shadow: 0 28px 80px rgba(42, 27, 95, .22);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: .4;
  z-index: -1;
}

.hero__glow--one {
  width: 280px;
  height: 280px;
  right: 7%;
  top: -10%;
  background: #dfff59;
}

.hero__glow--two {
  width: 360px;
  height: 360px;
  right: 32%;
  bottom: -35%;
  background: #8e78ff;
}

.hero__content {
  width: 54%;
  padding: 74px 0 64px 68px;
  position: relative;
  z-index: 3;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: #717680;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgba(255,255,255,.58);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(223,255,89,.12);
}

.hero h1,
.section h2,
.product-card h3,
.story-card h3,
.exchange-card h3 {
  margin: 0;
  letter-spacing: -.055em;
}

.hero h1 {
  max-width: 620px;
  color: #fff;
  font-size: clamp(52px, 5.6vw, 82px);
  line-height: .96;
  font-weight: 800;
}

.hero h1 span {
  color: var(--lime);
}

.hero__content > p {
  max-width: 520px;
  margin: 27px 0 0;
  color: rgba(255,255,255,.67);
  font-size: 18px;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  gap: 11px;
  margin-top: 34px;
}

.hero__meta {
  display: flex;
  gap: 34px;
  margin-top: 50px;
}

.hero__meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__meta strong {
  color: #fff;
  font-size: 20px;
  letter-spacing: -.03em;
}

.hero__meta span {
  color: rgba(255,255,255,.48);
  font-size: 12px;
}

.hero__visual {
  position: absolute;
  inset: 0 0 0 48%;
  z-index: 2;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
}

.orbit--one {
  width: 570px;
  height: 570px;
  right: -6%;
  top: 5%;
}

.orbit--two {
  width: 400px;
  height: 400px;
  right: 8%;
  top: 20%;
}

.phone {
  position: absolute;
  width: 250px;
  height: 506px;
  top: 58px;
  right: 100px;
  padding: 10px;
  border-radius: 41px;
  background: #0b0c10;
  box-shadow: 0 40px 70px rgba(0, 0, 0, .35);
  transform: rotate(5deg);
}

.phone__screen {
  height: 100%;
  overflow: hidden;
  border-radius: 32px;
  padding: 24px 17px;
  background: #f4f5f7;
}

.phone__speaker {
  position: absolute;
  z-index: 4;
  top: 16px;
  left: 50%;
  width: 70px;
  height: 16px;
  border-radius: 0 0 12px 12px;
  background: #0b0c10;
  transform: translateX(-50%);
}

.phone__top,
.activity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone__top {
  font-size: 11px;
  font-weight: 700;
}

.avatar {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #181a20;
}

.phone__balance-label {
  margin-top: 26px;
  color: #8b9098;
  font-size: 9px;
}

.phone__balance {
  margin-top: 3px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.05em;
}

.mini-card {
  position: relative;
  height: 102px;
  margin-top: 17px;
  padding: 14px;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 110%, #9d84ff, transparent 38%),
    linear-gradient(135deg, #1a1b20, #2b2542);
}

.mini-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -55px;
  top: -30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
}

.mini-card__logo {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #15171b;
  background: var(--lime);
  font-weight: 900;
}

.mini-card__type {
  position: absolute;
  right: 14px;
  top: 15px;
  color: rgba(255,255,255,.56);
  font-size: 8px;
  font-weight: 800;
}

.mini-card__number {
  position: absolute;
  left: 14px;
  bottom: 13px;
  font-size: 10px;
  font-weight: 700;
}

.quick-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.quick-icons div {
  text-align: center;
}

.quick-icons span {
  width: 34px;
  height: 34px;
  margin: 0 auto 5px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 12px rgba(0,0,0,.05);
  font-size: 14px;
  font-weight: 900;
}

.quick-icons small {
  color: #777c85;
  font-size: 7px;
}

.phone__activity {
  margin-top: 20px;
}

.activity-head strong {
  font-size: 10px;
}

.activity-head span {
  color: #8670ff;
  font-size: 8px;
}

.activity-row {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.activity-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  font-size: 9px;
  font-weight: 900;
}

.activity-row div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.activity-row b,
.activity-row > strong {
  font-size: 8px;
}

.activity-row small {
  color: #9b9fa6;
  font-size: 6px;
}

.positive {
  color: #5f9e2a;
}

.bank-card {
  position: absolute;
  width: 285px;
  height: 178px;
  right: 245px;
  bottom: 38px;
  z-index: 4;
  padding: 22px;
  border-radius: 24px;
  color: #15171b;
  background:
    radial-gradient(circle at 83% 20%, rgba(255,255,255,.75), transparent 24%),
    linear-gradient(135deg, #dfff59 0%, #c8f33c 55%, #b6df2f 100%);
  box-shadow: 0 30px 50px rgba(0,0,0,.28);
  transform: rotate(-10deg);
}

.bank-card__top,
.bank-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bank-card__top {
  font-size: 13px;
  font-weight: 900;
}

.bank-card__logo {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: #111217;
}

.bank-card__chip {
  width: 37px;
  height: 28px;
  margin-top: 20px;
  border-radius: 7px;
  background: linear-gradient(135deg, #e0d59d, #b6a966);
}

.bank-card__number {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
}

.bank-card__bottom {
  margin-top: 16px;
  color: rgba(17,18,23,.6);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
}

.floating-badge {
  position: absolute;
  z-index: 5;
  min-width: 195px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
}

.floating-badge--top {
  top: 90px;
  right: 320px;
}

.floating-badge--bottom {
  right: 28px;
  bottom: 84px;
}

.floating-badge__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--lime);
  font-size: 13px;
  font-weight: 900;
}

.floating-badge__icon--soft {
  background: #ece8ff;
  color: #7056e9;
}

.floating-badge div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.floating-badge b {
  font-size: 10px;
}

.floating-badge small {
  color: #81858e;
  font-size: 9px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.quick-action {
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 23px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.035);
  transition: transform .2s ease, box-shadow .2s ease;
}

.quick-action:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,.06);
}

.quick-action__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #f0efff;
  color: #6952de;
  font-size: 18px;
  font-weight: 900;
}

.quick-action > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quick-action strong {
  font-size: 14px;
}

.quick-action small {
  color: #858a93;
  font-size: 10px;
  line-height: 1.4;
}

.section {
  padding: 98px 0 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.section h2 {
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1;
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 7px;
  font-size: 13px;
  font-weight: 800;
}

.text-link span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8e9ec;
}

.products-grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  grid-template-rows: repeat(2, minmax(280px, auto));
  gap: 14px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.product-card--main {
  grid-row: 1 / span 2;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  background: #fff;
}

.product-card__content {
  position: relative;
  z-index: 2;
  padding: 54px 0 52px 52px;
}

.product-card__tag,
.story-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  color: #6a6f78;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,0,0,.05);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.product-card--main h3 {
  margin-top: 28px;
  font-size: clamp(39px, 4vw, 58px);
  line-height: 1.02;
}

.product-card--main p {
  max-width: 400px;
  color: #747983;
  font-size: 15px;
  line-height: 1.65;
}

.product-card__benefits {
  display: flex;
  gap: 32px;
  margin: 34px 0;
}

.product-card__benefits div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card__benefits strong {
  font-size: 24px;
  letter-spacing: -.04em;
}

.product-card__benefits span {
  color: #8b9098;
  font-size: 10px;
}

.product-card__visual {
  position: relative;
  min-width: 0;
  background:
    radial-gradient(circle at 65% 30%, rgba(223,255,89,.45), transparent 35%),
    linear-gradient(160deg, #eceafd, #d7d0ff);
}

.card-stack {
  position: absolute;
  width: 330px;
  height: 208px;
  padding: 26px;
  border-radius: 28px;
  box-shadow: 0 34px 58px rgba(34, 25, 80, .18);
}

.card-stack--back {
  right: -80px;
  top: 180px;
  background: rgba(255,255,255,.55);
  transform: rotate(16deg);
  backdrop-filter: blur(4px);
}

.card-stack--front {
  right: -14px;
  top: 205px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(223,255,89,.28), transparent 23%),
    linear-gradient(135deg, #14151a, #27202f 58%, #5e45bd);
  transform: rotate(-13deg);
}

.card-stack__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-stack__head span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #111217;
  background: var(--lime);
  font-weight: 900;
}

.card-stack__head b {
  font-size: 15px;
  letter-spacing: .06em;
}

.card-stack__chip {
  width: 43px;
  height: 31px;
  margin-top: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg,#e8d99d,#ad9d5d);
}

.card-stack__number {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .08em;
}

.card-stack__owner {
  margin-top: 15px;
  color: rgba(255,255,255,.55);
  font-size: 9px;
  letter-spacing: .1em;
}

.product-card--saving,
.product-card--credit {
  min-height: 302px;
  padding: 34px;
}

.product-card--saving {
  background:
    radial-gradient(circle at 85% 85%, rgba(255,255,255,.5), transparent 26%),
    linear-gradient(135deg, #dfff59, #c8ef43);
}

.product-card--saving h3,
.product-card--credit h3,
.exchange-card h3 {
  margin-top: 19px;
  font-size: 34px;
  line-height: 1.02;
}

.product-card--saving p,
.product-card--credit p {
  max-width: 360px;
  color: rgba(17,18,23,.6);
  font-size: 12px;
  line-height: 1.55;
}

.big-rate {
  position: absolute;
  right: 32px;
  bottom: 33px;
  font-size: 60px;
  font-weight: 900;
  letter-spacing: -.07em;
}

.big-rate span {
  font-size: 32px;
}

.product-card__footer {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 33px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__footer > span {
  color: rgba(17,18,23,.5);
  font-size: 10px;
}

.circle-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #111217;
  font-size: 16px;
}

.product-card--credit {
  color: #fff;
  background:
    radial-gradient(circle at 75% 60%, rgba(135,110,255,.4), transparent 30%),
    #17181e;
}

.product-card--credit p {
  color: rgba(255,255,255,.5);
}

.product-card--credit .product-card__tag {
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.08);
}

.circle-link--dark {
  position: absolute;
  left: 34px;
  bottom: 32px;
  color: #111217;
  background: #fff;
}

.credit-visual {
  position: absolute;
  right: 21px;
  bottom: 18px;
  width: 190px;
  height: 160px;
}

.credit-visual__coin {
  position: absolute;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #16171c;
  background: var(--lime);
  box-shadow: 0 20px 36px rgba(0,0,0,.28);
  font-size: 34px;
  font-weight: 900;
  transform: rotate(-12deg);
}

.credit-visual__coin--two {
  width: 68px;
  height: 68px;
  right: 0;
  bottom: 12px;
  background: #8872ff;
  color: #fff;
  font-size: 25px;
  transform: rotate(13deg);
}

.credit-visual__coin--three {
  width: 48px;
  height: 48px;
  right: 35px;
  top: 0;
  background: #fff;
  font-size: 19px;
  transform: rotate(5deg);
}

.calculator-shell {
  min-height: 590px;
  display: grid;
  grid-template-columns: 1fr .88fr;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 20% 20%, rgba(130,101,255,.35), transparent 34%),
    linear-gradient(135deg, #15161c, #211940 90%);
}

.calculator-copy {
  padding: 68px;
  color: #fff;
}

.calculator-copy h2 {
  color: #fff;
}

.calculator-copy > p {
  max-width: 500px;
  margin-top: 22px;
  color: rgba(255,255,255,.55);
  font-size: 15px;
  line-height: 1.65;
}

.calculator-copy ul {
  list-style: none;
  padding: 0;
  margin: 38px 0 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.calculator-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.76);
  font-size: 13px;
}

.calculator-copy li span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #111217;
  background: var(--lime);
  font-size: 11px;
  font-weight: 900;
}

.loan-box {
  align-self: center;
  margin: 34px;
  padding: 34px;
  border-radius: 29px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0,0,0,.24);
}

.loan-box__field + .loan-box__field {
  margin-top: 31px;
}

.loan-box__label {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.loan-box__label span {
  color: #777c85;
  font-size: 11px;
}

.loan-box__label strong {
  font-size: 21px;
  letter-spacing: -.03em;
}

.loan-box input[type="range"] {
  width: 100%;
  margin-top: 22px;
  accent-color: #765be9;
}

.loan-box__minmax {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: #a0a4ab;
  font-size: 9px;
}

.loan-box__summary {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 10px;
  margin: 33px 0 18px;
}

.loan-box__summary div {
  padding: 17px;
  border-radius: 17px;
  background: #f1f2f4;
}

.loan-box__summary span {
  display: block;
  color: #858a92;
  font-size: 9px;
}

.loan-box__summary strong {
  display: block;
  margin-top: 6px;
  font-size: 19px;
  letter-spacing: -.04em;
}

.loan-box__note {
  display: block;
  margin-top: 11px;
  color: #a0a4ac;
  text-align: center;
  font-size: 8px;
}

.app-shell {
  min-height: 660px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
}

.app-shell__copy {
  padding: 70px 0 65px 68px;
}

.app-shell__copy > p {
  max-width: 520px;
  margin: 24px 0 0;
  color: #747983;
  font-size: 15px;
  line-height: 1.65;
}

.app-feature-list {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.app-feature-list > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.feature-icon {
  width: 41px;
  height: 41px;
  flex: 0 0 41px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f0efff;
  color: #6b54dc;
  font-weight: 900;
}

.app-feature-list div > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.app-feature-list strong {
  font-size: 12px;
}

.app-feature-list small {
  color: #8f939b;
  font-size: 9px;
}

.app-download {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 34px;
}

.qr {
  width: 62px;
  height: 62px;
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  border-radius: 14px;
  background: #111217;
}

.qr span {
  background: #fff;
  border-radius: 3px;
}

.qr span:nth-child(2),
.qr span:nth-child(3) {
  transform: scale(.58);
}


.app-download strong {
  font-size: 11px;
}

.app-download small {
  color: #8c9199;
  font-size: 9px;
}

.app-shell__visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 36%, rgba(223,255,89,.52), transparent 24%),
    linear-gradient(145deg, #eae6ff, #bbaeff);
}

.app-phone {
  position: absolute;
  width: 260px;
  height: 526px;
  padding: 9px;
  border-radius: 42px;
  background: #111217;
  box-shadow: 0 38px 70px rgba(39,28,93,.26);
}

.app-phone--front {
  left: 44%;
  top: 68px;
  z-index: 3;
  transform: rotate(5deg);
}

.app-phone--back {
  left: 11%;
  top: 137px;
  z-index: 2;
  transform: rotate(-9deg);
}

.app-phone__notch {
  position: absolute;
  z-index: 4;
  top: 13px;
  left: 50%;
  width: 78px;
  height: 18px;
  border-radius: 0 0 12px 12px;
  background: #111217;
  transform: translateX(-50%);
}

.app-phone__content {
  height: 100%;
  padding: 25px 17px;
  border-radius: 34px;
  background: #f4f5f7;
}

.app-topline {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  font-weight: 800;
}

.app-greeting {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 800;
}

.app-phone__content > small {
  display: block;
  margin-top: 22px;
  color: #8e9299;
  font-size: 8px;
}

.app-balance {
  margin-top: 3px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.05em;
}

.app-mini-card {
  height: 113px;
  margin-top: 16px;
  padding: 15px;
  border-radius: 19px;
  color: #fff;
  background: linear-gradient(135deg, #16171c, #4f3f8d);
}

.app-mini-card div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-mini-card div b {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #111217;
  background: var(--lime);
}

.app-mini-card div span {
  font-size: 9px;
  font-weight: 900;
}

.app-mini-card strong {
  display: block;
  margin-top: 18px;
  font-size: 14px;
}

.app-mini-card small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.55);
  font-size: 8px;
}

.app-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 13px;
}

.app-actions > span {
  height: 54px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 15px;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 7px 15px rgba(0,0,0,.04);
}

.app-actions small {
  display: block;
  margin-top: 2px;
  color: #90949c;
  font-size: 6px;
}

.app-list {
  margin-top: 19px;
}

.app-list > strong {
  font-size: 10px;
}

.app-list div {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 8px;
}

.app-phone__content--chart {
  padding-top: 60px;
  background: #17181e;
  color: #fff;
}

.app-phone__content--chart small {
  color: rgba(255,255,255,.5);
}

.app-phone__content--chart > strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.chart {
  height: 190px;
  display: flex;
  align-items: end;
  gap: 9px;
  margin-top: 38px;
}

.chart i {
  flex: 1;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(#dfff59, #7b61ff);
}

.chart-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: rgba(255,255,255,.4);
  font-size: 7px;
}

.app-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.app-orb--1 {
  width: 120px;
  height: 120px;
  right: -30px;
  top: 45px;
  background: rgba(223,255,89,.6);
}

.app-orb--2 {
  width: 210px;
  height: 210px;
  left: -70px;
  bottom: -80px;
  background: rgba(255,255,255,.42);
}

.rates__time {
  color: #8d929a;
  font-size: 11px;
}

.rates-grid {
  display: grid;
  grid-template-columns: 1.55fr .75fr;
  gap: 14px;
}

.rates-card,
.exchange-card {
  border-radius: var(--radius-lg);
  background: #fff;
}

.rates-card {
  padding: 14px 30px 25px;
}

.rates-card__head,
.rate-row {
  display: grid;
  grid-template-columns: 1.5fr .7fr .7fr;
  align-items: center;
}

.rates-card__head {
  min-height: 53px;
  border-bottom: 1px solid var(--line);
  color: #999da4;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.rate-row {
  min-height: 90px;
  border-bottom: 1px solid var(--line);
}

.rate-name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flag {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f1f2f4;
  font-size: 19px;
}

.rate-name > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rate-name strong,
.rate-row > strong {
  font-size: 14px;
}

.rate-name small {
  color: #969aa2;
  font-size: 8px;
}

.rates-card .text-link {
  margin-top: 18px;
}

.exchange-card {
  padding: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(126,99,255,.22), transparent 28%),
    #fff;
}

.exchange-input {
  display: block;
  margin-top: 26px;
  padding: 14px 16px;
  border-radius: 17px;
  background: #f1f2f4;
}

.exchange-input > span,
.exchange-result > span {
  display: block;
  color: #8e939b;
  font-size: 9px;
}

.exchange-input > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.exchange-input input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 20px;
  font-weight: 800;
}

.exchange-input strong {
  font-size: 11px;
}

.exchange-swap {
  width: 34px;
  height: 34px;
  margin: 10px auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #111217;
  color: #fff;
}

.exchange-result {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.exchange-result strong {
  display: block;
  margin-top: 5px;
  font-size: 22px;
  letter-spacing: -.04em;
}

.exchange-result small {
  display: block;
  margin-top: 4px;
  color: #a0a4ab;
  font-size: 8px;
}

.exchange-card .btn {
  margin-top: 14px;
}

.stories-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 14px;
}

.story-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  padding: 34px;
  border-radius: var(--radius-lg);
}

.story-card h3 {
  position: relative;
  z-index: 2;
  max-width: 380px;
  margin-top: 20px;
  font-size: 30px;
  line-height: 1.06;
}

.story-card__arrow {
  position: absolute;
  left: 34px;
  bottom: 31px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.8);
  color: #111217;
  font-weight: 900;
}

.story-card--dark {
  color: #fff;
  background: #17181e;
}

.story-card--dark .story-card__tag {
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.07);
}

.story-card--lime {
  background: var(--lime);
}

.story-card--soft {
  background: #ded8ff;
}

.story-graphic {
  position: absolute;
  right: -25px;
  bottom: -35px;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 70px;
  font-weight: 900;
}

.story-graphic--shield {
  color: #111217;
  background: var(--lime);
  border-radius: 55% 55% 70% 70%;
  transform: rotate(-12deg);
}

.story-graphic--coin {
  color: #fff;
  background: #111217;
  box-shadow: 0 25px 35px rgba(0,0,0,.16);
}

.story-graphic--bars {
  width: 200px;
  height: 150px;
  right: -15px;
  border-radius: 0;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  background: transparent;
  transform: rotate(-7deg);
}

.story-graphic--bars i {
  width: 48px;
  border-radius: 15px 15px 0 0;
  background: #7861e8;
}

.story-graphic--bars i:nth-child(1) { height: 55%; }
.story-graphic--bars i:nth-child(2) { height: 80%; }
.story-graphic--bars i:nth-child(3) { height: 100%; }

.support {
  padding-bottom: 98px;
}

.support-shell {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  padding: 52px;
  border-radius: var(--radius-xl);
  background: #fff;
}

.support-shell p {
  margin: 17px 0 0;
  color: #7d828b;
  font-size: 14px;
}

.support-actions {
  display: grid;
  gap: 9px;
}

.support-link {
  min-height: 79px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 12px 16px;
  border-radius: 19px;
  background: #f3f4f6;
  transition: transform .2s ease, background .2s ease;
}

.support-link:hover {
  transform: translateX(4px);
  background: #eeeff2;
}

.support-link__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #fff;
  font-weight: 900;
}

.support-link > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.support-link strong {
  font-size: 12px;
}

.support-link small {
  color: #92969e;
  font-size: 9px;
}

.footer {
  padding: 58px 0 30px;
  color: #fff;
  background: #111217;
}

.logo--footer .logo__mark {
  background: #fff;
}

.logo--footer .logo__text {
  color: #fff;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.footer__contact span {
  color: rgba(255,255,255,.45);
  font-size: 9px;
}

.footer__contact strong {
  font-size: 18px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 42px 0;
}

.footer__grid > div {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__grid strong {
  margin-bottom: 6px;
  font-size: 11px;
}

.footer__grid a {
  color: rgba(255,255,255,.48);
  font-size: 10px;
}

.footer__grid a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.34);
  font-size: 8px;
}

.footer__bottom div {
  display: flex;
  gap: 20px;
}

@media (max-width: 1160px) {
  .nav {
    gap: 18px;
  }

  .nav a {
    font-size: 12px;
  }

  .hero__content {
    width: 56%;
    padding-left: 46px;
  }

  .hero__visual {
    inset-left: 45%;
  }

  .phone {
    right: 30px;
  }

  .bank-card {
    right: 160px;
  }

  .floating-badge--top {
    right: 238px;
  }

  .floating-badge--bottom {
    display: none;
  }

  .product-card--main {
    grid-template-columns: 1fr;
  }

  .product-card__visual {
    position: absolute;
    inset: 0 0 0 55%;
  }

  .product-card__content {
    width: 58%;
  }

  .card-stack {
    width: 280px;
    height: 180px;
  }

  .rates-grid {
    grid-template-columns: 1.35fr .8fr;
  }
}

@media (max-width: 920px) {
  .topbar,
  .nav,
  .search-toggle {
    display: none;
  }

  .header__inner {
    min-height: 66px;
  }

  .header__actions {
    margin-left: auto;
  }

  .burger {
    display: flex;
  }

  .mobile-menu {
    position: fixed;
    inset: 66px 0 0;
    display: block;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    transform: translateY(-10px);
    transition: .2s ease;
  }

  .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu__inner {
    padding-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 7px;
  }

  .mobile-menu a:not(.btn) {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
  }

  .mobile-menu .btn {
    margin-top: 13px;
  }

  .hero__card {
    min-height: 860px;
  }

  .hero__content {
    width: 100%;
    padding: 55px 42px 0;
  }

  .hero__content > p {
    max-width: 600px;
  }

  .hero__visual {
    inset: auto 0 0 0;
    height: 430px;
  }

  .phone {
    top: -70px;
    right: 70px;
    transform: rotate(5deg) scale(.83);
    transform-origin: bottom right;
  }

  .bank-card {
    right: 270px;
    bottom: 70px;
    transform: rotate(-10deg) scale(.82);
  }

  .floating-badge--top {
    top: 15px;
    right: 280px;
  }

  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .product-card--main {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 560px;
  }

  .product-card__visual {
    inset-left: 54%;
  }

  .calculator-shell {
    grid-template-columns: 1fr;
  }

  .calculator-copy {
    padding-bottom: 20px;
  }

  .loan-box {
    margin-top: 0;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-shell__copy {
    padding: 60px;
  }

  .app-shell__visual {
    min-height: 560px;
  }

  .rates-grid {
    grid-template-columns: 1fr;
  }

  .stories-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-card:first-child {
    grid-column: 1 / -1;
  }

  .support-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .header__inner {
    min-height: 62px;
  }

  .header__actions .btn {
    display: none;
  }

  .logo__text {
    font-size: 18px;
  }

  .hero {
    padding-top: 12px;
  }

  .hero__card {
    min-height: 775px;
    border-radius: 28px;
  }

  .hero__content {
    padding: 38px 24px 0;
  }

  .hero h1 {
    font-size: 47px;
  }

  .hero__content > p {
    margin-top: 20px;
    font-size: 15px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__meta {
    gap: 22px;
    justify-content: space-between;
    margin-top: 31px;
  }

  .hero__meta strong {
    font-size: 16px;
  }

  .hero__meta span {
    font-size: 9px;
  }

  .hero__visual {
    height: 350px;
  }

  .phone {
    width: 220px;
    height: 445px;
    top: -38px;
    right: -8px;
    transform: rotate(5deg) scale(.74);
  }

  .bank-card {
    width: 250px;
    height: 156px;
    left: -23px;
    right: auto;
    bottom: 62px;
    transform: rotate(-10deg) scale(.75);
  }

  .floating-badge {
    display: none;
  }

  .quick-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quick-action {
    min-height: 84px;
  }

  .section {
    padding-top: 72px;
  }

  .section-head {
    align-items: flex-start;
  }

  .section-head .text-link,
  .rates__time {
    display: none;
  }

  .section h2 {
    font-size: 40px;
  }

  .products-grid {
    display: flex;
    flex-direction: column;
  }

  .product-card--main {
    min-height: 720px;
    display: block;
  }

  .product-card__content {
    width: auto;
    padding: 36px 26px;
  }

  .product-card--main h3 {
    font-size: 41px;
  }

  .product-card__visual {
    inset: auto 0 0 0;
    height: 330px;
  }

  .card-stack--front {
    right: 3%;
    top: 70px;
  }

  .card-stack--back {
    right: -20%;
    top: 45px;
  }

  .product-card--saving,
  .product-card--credit {
    min-height: 315px;
    padding: 27px;
  }

  .product-card__footer {
    left: 27px;
    right: 27px;
    bottom: 27px;
  }

  .big-rate {
    right: 25px;
  }

  .calculator-shell {
    border-radius: 28px;
  }

  .calculator-copy {
    padding: 42px 25px 20px;
  }

  .loan-box {
    margin: 19px;
    padding: 24px;
  }

  .loan-box__label {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .loan-box__summary {
    grid-template-columns: 1fr;
  }

  .app-shell {
    border-radius: 28px;
  }

  .app-shell__copy {
    padding: 42px 26px;
  }

  .app-shell__visual {
    min-height: 490px;
  }

  .app-phone--front {
    left: 31%;
    top: 45px;
    transform: rotate(5deg) scale(.82);
    transform-origin: top left;
  }

  .app-phone--back {
    left: -7%;
    top: 105px;
    transform: rotate(-9deg) scale(.76);
    transform-origin: top left;
  }

  .rates-card {
    padding: 10px 16px 20px;
    overflow-x: auto;
  }

  .rates-card__head,
  .rate-row {
    min-width: 560px;
  }

  .exchange-card {
    padding: 27px;
  }

  .stories-grid {
    grid-template-columns: 1fr;
  }

  .story-card:first-child {
    grid-column: auto;
  }

  .story-card {
    min-height: 335px;
    padding: 27px;
  }

  .story-card__arrow {
    left: 27px;
    bottom: 27px;
  }

  .support {
    padding-bottom: 72px;
  }

  .support-shell {
    padding: 34px 23px;
    border-radius: 28px;
  }

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

  .footer__contact {
    text-align: left;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__bottom div {
    flex-direction: column;
    gap: 8px;
  }
}


.block-download {
  display: flex;
  border: 1px solid black;
  padding: 20px 20px;
  border-radius: 10px 10px;
}

.text-block-download {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
}