:root {
  color-scheme: light;
  --ink: #172b4d;
  --muted: #71819a;
  --blue: #2563eb;
  --line: #e1e9f4;
  --page: #f5f8fd;
  --white: #fff;
  --shadow: 0 10px 26px rgba(27, 54, 92, .08);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
.page-shell { width: min(1220px, calc(100% - 48px)); margin: 44px auto 58px; }
.hero {
  position: relative; min-height: 440px; overflow: hidden; display: flex; align-items: center;
  padding: 72px 66px; border-radius: 30px;
  background: linear-gradient(112deg, #e7f0ff 0%, #edf2ff 54%, #f0eaff 100%);
}
.hero-copy { position: relative; z-index: 2; max-width: 670px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #42618e; font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: .065em; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #33b581; box-shadow: 0 0 0 4px #33b58122; }
h1, h2, p { margin-top: 0; }
.hero h1 { max-width: 680px; margin: 17px 0 12px; font-size: clamp(40px, 5.2vw, 62px); line-height: 1.05; letter-spacing: -.045em; }
.hero p { max-width: 540px; margin-bottom: 28px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 15px; padding: 0 23px; font-size: 15px; font-weight: 800; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 8px 18px #2563eb2a; }
.button-primary:hover { background: #174fc9; box-shadow: 0 10px 22px #2563eb40; }
.hero-art { position: absolute; z-index: 1; top: 42px; right: 34px; width: 340px; height: 290px; }
.hero-card { position: absolute; width: 190px; height: 132px; border-radius: 20px; box-shadow: 0 16px 34px #274d8420; }
.back-card { top: 39px; right: 98px; transform: rotate(-12deg); background: #fff; }
.middle-card { top: 62px; right: 72px; transform: rotate(8deg); background: #d5e5ff; }
.front-card { top: 89px; right: 50px; background: #fff; transform: rotate(-3deg); }
.front-card span { position: absolute; top: 22px; left: 18px; width: 154px; height: 23px; border-radius: 7px; background: #3d72cf; }
.front-card i, .front-card b { position: absolute; top: 66px; left: 20px; width: 31px; height: 21px; border-radius: 6px; background: #d7e4f8; }
.front-card b { top: 101px; width: 58px; height: 7px; border-radius: 9px; background: #e1e8f1; }
.hero-orbit, .hero-coin, .hero-book, .hero-spark { position: absolute; display: grid; place-items: center; border-radius: 18px; box-shadow: 0 12px 25px #274d8417; }
.orbit-one { top: 20px; right: 1px; width: 46px; height: 46px; color: #3977ce; background: #fff; font-size: 24px; transform: rotate(10deg); }
.orbit-two { left: 5px; bottom: 44px; width: 70px; height: 70px; color: #189b6d; background: #def5eb; font-size: 32px; }
.hero-coin { right: 50px; bottom: 18px; width: 62px; height: 62px; color: #fff; background: #ffbd50; border-radius: 50%; font-size: 24px; font-weight: 800; }
.hero-book { left: 49px; top: 28px; width: 42px; height: 42px; color: #8664c3; background: #f2eaff; font-size: 20px; }
.hero-spark { top: 2px; right: 68px; width: 34px; height: 34px; color: #8c6ac4; background: #f2eaff; }
.verticals-section { padding-top: 58px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 20px; }
.section-heading h2 { margin-bottom: 6px; font-size: 36px; letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 16px; }
.vertical-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.vertical-card { display: flex; min-height: 118px; align-items: center; gap: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.vertical-card:hover { transform: translateY(-2px); border-color: #c9d9f1; box-shadow: var(--shadow); }
.vertical-icon { display: grid; width: 60px; height: 60px; flex: none; place-items: center; border-radius: 15px; color: var(--blue); font-size: 24px; }
.vertical-svg { width: 29px; height: 29px; overflow: visible; }
.vertical-copy { display: grid; flex: 1; gap: 5px; min-width: 0; }
.vertical-title { font-size: 20px; font-weight: 800; }
.vertical-desc { color: var(--muted); font-size: 15px; line-height: 1.5; }
.vertical-arrow { color: #8094b1; font-size: 16px; transition: transform .18s ease, color .18s ease; }
.vertical-card:hover .vertical-arrow { color: var(--blue); transform: translate(2px, -2px); }
.site-footer { padding: 34px 20px 36px; color: #d7e1ef; background: #172b4d; }
.footer-inner { width: min(1100px, 100%); margin: 0 auto; }
.site-footer p { margin: 0 0 17px; font-size: 12px; line-height: 1.65; }
.site-footer .footer-intro { color: #eef3f9; }
.site-footer h2 { margin: 20px 0 10px; color: #fff; font-size: 16px; }
.site-footer p:last-child { margin-bottom: 0; }

/* Category page */
.category-page { margin-top: 32px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; color: #4d6e9e; font-size: 14px; font-weight: 700; }
.back-link:hover { color: var(--blue); }
.category-intro { display: flex; min-height: 205px; align-items: center; justify-content: space-between; margin-bottom: 26px; padding: 34px 40px; overflow: hidden; border-radius: 24px; background: linear-gradient(112deg, #e7f0ff, #f0eaff); }
.category-intro h1 { margin: 13px 0 7px; font-size: clamp(38px, 4.2vw, 52px); letter-spacing: -.04em; }
.category-intro p { max-width: 620px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.category-illustration { display: grid; width: 140px; height: 140px; flex: none; place-items: center; margin-right: 30px; border-radius: 36px; color: #3972c9; background: #ffffffa8; transform: rotate(5deg); box-shadow: 0 16px 34px #274d8417; }
.category-svg { width: 62px; height: 62px; overflow: visible; transform: rotate(-5deg); }
.offer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill { min-height: 34px; border: 1px solid #d8e2f0; border-radius: 999px; padding: 0 13px; color: #536987; background: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }
.filter-pill[aria-pressed="true"] { color: #fff; border-color: var(--ink); background: var(--ink); }
.sort-control { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.sort-control select { max-width: 170px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; font-weight: 700; }
.offer-list { display: grid; gap: 13px; }
.offer-card { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; gap: 30px; min-height: 232px; padding: 30px 34px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 5px 13px rgba(28, 49, 80, .04); }
.offer-art { position: relative; display: grid; min-height: 180px; place-items: center; overflow: hidden; border-radius: 16px; background: linear-gradient(145deg, color-mix(in srgb, var(--offer-color), white 82%), #f5f2ff); }
.offer-art .mini-card { position: relative; width: 98px; height: 63px; border-radius: 12px; background: linear-gradient(135deg, var(--offer-color), #f5cddd); box-shadow: 0 11px 19px #9b568133; transform: rotate(-8deg); }
.offer-product-image { display: block; width: 100%; height: 100%; min-height: inherit; padding: 8px; object-fit: contain; mix-blend-mode: multiply; }
.offer-product-image.offer-logo { padding: 22px 16px; mix-blend-mode: normal; }
.offer-product-image.offer-loan-logo { width: 164px; height: 100px; min-height: 0; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 8px 22px #1e355014; }
.offer-product-image.offer-large-logo { width: 190px; height: 122px; padding: 12px 14px; }
.offer-category-icon { position: absolute; bottom: 8px; left: 9px; z-index: 1; display: grid; width: 37px; height: 37px; place-items: center; border: 2px solid #fff; border-radius: 13px; color: var(--blue); background: #ffffffed; box-shadow: 0 5px 12px #243e5e20; }
.offer-svg { width: 23px; height: 23px; }
.art-spark { position: absolute; top: 12px; right: 18px; color: #d89b36; font-size: 18px; }
.mini-card::before { position: absolute; top: 11px; left: 10px; width: 22px; height: 14px; border-radius: 4px; background: #ffd577; content: ""; }
.mini-card::after { position: absolute; right: 10px; bottom: 10px; width: 22px; height: 7px; border-radius: 5px; background: #ffffffa8; content: ""; }
.offer-content { min-width: 0; }
.offer-badge { display: inline-flex; margin-bottom: 10px; border-radius: 999px; padding: 7px 11px; color: #52709b; background: #eef4ff; font-size: 13px; font-weight: 800; }
.offer-content h2 { margin: 0 0 9px; font-size: 27px; letter-spacing: -.02em; }
.offer-content p { margin: 0 0 16px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.offer-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 15px; }
.offer-metric { display: grid; gap: 6px; min-width: 0; border-radius: 12px; padding: 12px 13px; background: #f7f9fc; }
.offer-metric small { color: #8491a5; font-size: 12px; }
.offer-metric strong { overflow: hidden; color: #304460; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.offer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.offer-tag { border-radius: 9px; padding: 7px 10px; color: #5f6d81; background: #f1f4f8; font-size: 12px; font-weight: 700; }
.offer-action { align-self: end; margin-bottom: 2px; white-space: nowrap; }
.offer-action .button { min-height: 54px; padding: 0 22px; font-size: 16px; }
.partner-note { margin: 17px 0 0; color: #8a97a9; text-align: center; font-size: 10px; line-height: 1.5; }
.partner-note a { color: #4d6e9e; text-decoration: underline; text-underline-offset: 2px; }
.offer-dialog { width: min(420px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 22px; padding: 26px; color: var(--ink); box-shadow: 0 24px 70px #102a4a35; }
.offer-dialog::backdrop { background: #11284977; backdrop-filter: blur(3px); }
.dialog-close-row { display: flex; justify-content: end; margin: -10px -10px 15px; }
.icon-button { width: 34px; height: 34px; border: 0; border-radius: 50%; color: #5c6f8a; background: #f0f4f9; font-size: 22px; cursor: pointer; }
.offer-dialog h2 { margin: 12px 0 8px; font-size: 22px; }
.offer-dialog p { margin-bottom: 20px; color: var(--muted); font-size: 13px; line-height: 1.6; }

@media (max-width: 760px) {
  .page-shell { width: min(100% - 28px, 600px); margin: 18px auto 34px; }
  .hero { min-height: 440px; align-items: flex-start; padding: 30px 23px; border-radius: 23px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { max-width: 470px; font-size: clamp(34px, 10vw, 46px); }
  .hero p { max-width: 400px; font-size: 14px; }
  .hero-art { top: auto; right: 10px; bottom: 0; transform: scale(.78); transform-origin: right bottom; opacity: .92; }
  .verticals-section { padding-top: 32px; }
  .section-heading h2 { font-size: 24px; }
  .vertical-grid { gap: 9px; }
  .vertical-card { min-height: 87px; gap: 10px; padding: 12px; border-radius: 15px; }
  .vertical-icon { width: 40px; height: 40px; border-radius: 12px; font-size: 20px; }
  .vertical-title { font-size: 16px; }
  .vertical-desc { font-size: 12px; }
  .site-footer { padding: 27px 16px; }
  .site-footer p { font-size: 10px; }
  .category-page { margin-top: 18px; }
  .back-link { margin-bottom: 16px; }
  .category-intro { min-height: 175px; padding: 26px 24px; border-radius: 20px; }
  .category-illustration { width: 78px; height: 78px; margin-right: 0; border-radius: 25px; font-size: 37px; }
  .offer-toolbar { align-items: flex-start; flex-direction: column; }
  .sort-control { align-self: flex-end; }
  .offer-card { grid-template-columns: 112px minmax(0, 1fr); gap: 18px; min-height: 188px; padding: 20px; border-radius: 16px; }
  .offer-art { min-height: 126px; }
  .offer-product-image.offer-loan-logo { width: min(100%, 100px); height: 72px; padding: 8px; }
  .offer-product-image.offer-large-logo { width: min(100%, 108px); height: 86px; padding: 7px; }
  .offer-art .mini-card { transform: scale(.8) rotate(-8deg); }
  .offer-content h2 { font-size: 21px; }
  .offer-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-metric strong { font-size: 13px; }
  .offer-action { grid-column: 2; justify-self: start; align-self: auto; margin-top: -2px; }
  .offer-content p { margin-bottom: 14px; font-size: 16px; }
  .offer-tag { font-size: 11px; }
}
@media (max-width: 420px) {
  .vertical-grid { grid-template-columns: 1fr; }
  .hero-art { right: -12px; transform: scale(.68); }
  .category-illustration { display: none; }
  .offer-card { grid-template-columns: 88px minmax(0, 1fr); }
  .offer-product-image.offer-loan-logo { width: min(100%, 76px); height: 56px; padding: 6px; }
  .offer-product-image.offer-large-logo { width: min(100%, 84px); height: 64px; padding: 6px; }
  .offer-art { min-height: 96px; }
  .offer-art .mini-card { transform: scale(.65) rotate(-8deg); }
}

.cookie-notice a { color: #b9d1ff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice a:hover { color: #fff; }
.cookie-dialog { width: min(780px, calc(100% - 32px)); max-height: 86vh; overflow: auto; border: 1px solid var(--line); border-radius: 24px; padding: 34px 38px; color: var(--ink); box-shadow: 0 24px 80px #102a4a40; }
.cookie-dialog::backdrop { background: #1027479c; backdrop-filter: blur(4px); }
.cookie-dialog-close { position: sticky; top: 0; display: flex; justify-content: end; margin: -16px -18px 8px; }
.cookie-close { display: grid; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 50%; color: #536987; background: #f0f4f9; font-size: 26px; cursor: pointer; }
.cookie-dialog h2 { margin: 0 0 18px; font-size: 28px; line-height: 1.2; }
.cookie-dialog h3 { margin: 22px 0 8px; font-size: 18px; }
.cookie-dialog p, .cookie-dialog li { color: #536987; font-size: 15px; line-height: 1.7; }
.cookie-dialog ol { padding-left: 24px; }
.cookie-dialog li { margin: 0 0 8px; }
@media (max-width: 600px) {
  .cookie-dialog { padding: 26px 22px; border-radius: 20px; }
  .cookie-dialog h2 { font-size: 23px; }
  .cookie-dialog h3 { font-size: 16px; }
  .cookie-dialog p, .cookie-dialog li { font-size: 14px; }
}
@media (max-width: 760px) {
  .offer-card { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 18px; }
  .offer-art { min-height: 132px; max-height: 132px; }
  .offer-product-image.offer-loan-logo { width: 164px; height: 100px; padding: 12px 14px; }
  .offer-product-image.offer-large-logo { width: min(100%, 158px); height: 104px; padding: 9px; }
  .offer-action { grid-column: 1; justify-self: stretch; margin-top: 0; }
  .offer-action .button { width: 100%; }
}
@media (max-width: 420px) {
  .offer-card { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 15px; }
  .offer-art { min-height: 120px; max-height: 120px; }
  .offer-product-image.offer-large-logo { width: min(100%, 146px); height: 96px; }
}.offer-art-link { text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.offer-art-link:hover { transform: translateY(-2px); box-shadow: 0 12px 26px #2139581c; }
.offer-art-link:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
/* CSS-only cookie policy popup */
.cookie-dialog { display: none; position: fixed; inset: 0; z-index: 1000; width: 100%; max-width: 100%; max-height: 100vh; overflow: visible; border: 0; border-radius: 0; padding: 24px; color: var(--ink); background: transparent; box-shadow: none; }
.cookie-dialog:target { display: grid; place-items: center; }
.cookie-dialog-backdrop { position: fixed; inset: 0; background: #112849b8; backdrop-filter: blur(4px); }
.cookie-dialog-panel { position: relative; z-index: 1; width: min(780px, 100%); max-height: 86vh; overflow: auto; border: 1px solid var(--line); border-radius: 24px; padding: 38px; color: var(--ink); background: #fff; box-shadow: 0 24px 80px #102a4a40; }
.cookie-dialog-panel .cookie-close { position: absolute; top: 12px; right: 12px; z-index: 2; }
@media (max-width: 600px) { .cookie-dialog { padding: 16px; } .cookie-dialog-panel { padding: 54px 22px 26px; border-radius: 20px; } }

/* Single-page category navigation and sections */
.catalog-nav { width: min(1100px, 100%); margin: 28px auto 4px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.catalog-nav h2 { margin: 0 0 14px; font-size: 21px; }
.catalog-nav-list { display: flex; flex-wrap: wrap; gap: 9px; }
.catalog-nav-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #f8faff; font-size: 14px; font-weight: 700; text-decoration: none; }
.catalog-nav-link:hover { border-color: #a9c3ed; color: var(--blue); background: #eef4ff; }
.onepage-category { width: min(1100px, 100%); margin: 64px auto 0; scroll-margin-top: 22px; }
.onepage-heading { align-items: end; margin-bottom: 18px; }
.onepage-heading h2 { margin: 9px 0 4px; font-size: clamp(30px, 4vw, 40px); }
.onepage-heading p { margin: 0; }
.category-top-link { flex: none; color: var(--blue); font-size: 14px; font-weight: 700; }
.cookie-dialog.is-open { display: grid; place-items: center; }
@media (max-width: 680px) { .catalog-nav { padding: 18px; } .onepage-category { margin-top: 44px; } .onepage-heading { align-items: start; } .category-top-link { margin-top: 5px; } }

/* Larger category links with distinct icons */
.catalog-nav { padding: 25px; }
.catalog-nav h2 { margin-bottom: 17px; font-size: 23px; }
.catalog-nav-list { gap: 11px; }
.catalog-nav-link { min-height: 52px; gap: 10px; padding: 0 17px 0 12px; border-radius: 16px; background: #fff; box-shadow: 0 3px 10px rgba(31, 63, 110, .045); font-size: 15px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.catalog-nav-link:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(31, 63, 110, .09); }
.catalog-nav-icon { display: block; width: 29px; height: 29px; flex: none; padding: 5px; overflow: visible; border-radius: 9px; color: #2864ce; background: var(--nav-icon-bg, #e5f1ff); }
@media (max-width: 680px) { .catalog-nav { padding: 19px; } .catalog-nav-list { gap: 9px; } .catalog-nav-link { min-height: 48px; gap: 8px; padding: 0 13px 0 10px; font-size: 14px; } .catalog-nav-icon { width: 27px; height: 27px; } }
