/* Strony kategorii i ofert. */
.static-category-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.static-category-nav a { display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px; border: 1px solid #dcdce6; border-radius: 999px; background: #fff; color: #333546; font: 700 .84rem Manrope, sans-serif; text-decoration: none; transition: border-color .2s, transform .2s; }
.static-category-nav a:hover { border-color: #8c7df5; transform: translateY(-2px); }
:root[data-theme="dark"] .static-category-nav a { border-color: #373947; background: #1d1f29; color: #ececf4; }
.static-page .site-shell { max-width: 1240px; }
.static-page .static-topbar { align-items: center; }
.static-page .static-topbar .brand { font-size: clamp(2.2rem, 4vw, 2.8rem); }
.static-page .static-topbar .brand-description { margin-top: 6px; font-size: .84rem; }
.static-main { padding: 27px 0 82px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 34px; color: #818693; font-size: .8rem; line-height: 1.5; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: #7767f8; text-decoration: underline; }
.static-main h1 { margin: 0; font: 800 clamp(2.25rem, 4.7vw, 4.6rem)/1.08 Manrope, sans-serif; letter-spacing: -.065em; text-wrap: balance; }
.static-eyebrow { color: #8170f8; font: 800 .7rem Manrope, sans-serif; letter-spacing: .1em; }
.static-intro { max-width: 1020px; }
.static-intro .static-eyebrow { margin-bottom: 12px; }
.static-intro > p:not(.static-eyebrow) { max-width: 800px; margin-top: 18px; color: #60666f; font-size: 1.05rem; line-height: 1.65; }
.static-intro .static-date { font-size: .81rem !important; color: #868b97 !important; }
.static-category-nav { margin: 32px 0 24px; }
.static-category-nav a[aria-current="page"] { border-color: #7767f8; background: #7767f8; color: #fff; }
.static-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.static-card { display: flex; flex-direction: column; min-width: 0; min-height: 310px; padding: 25px; border: 1px solid #e0e2e8; border-radius: 22px; background: #fff; box-shadow: 0 12px 35px rgba(25, 28, 43, .035); }
.static-card-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #777e8a; font: 700 .76rem Manrope, sans-serif; }
.static-logo { max-width: 150px; max-height: 52px; width: auto; height: 44px; padding: 5px; border-radius: 9px; background: #fff; object-fit: contain; object-position: left center; }
.static-card h2 { margin: 20px 0 9px; font: 800 clamp(1.25rem, 2.1vw, 1.55rem)/1.24 Manrope, sans-serif; letter-spacing: -.035em; }
.static-card h2 a { color: inherit; text-decoration: none; }
.static-card h2 a:hover { color: #7767f8; text-decoration: underline; text-underline-offset: 4px; }
.static-card > p { color: #60666f; font-size: .91rem; line-height: 1.6; }
.static-card-foot { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin-top: auto; padding-top: 22px; }
.static-card-foot strong { font: 800 1.2rem Manrope, sans-serif; white-space: nowrap; }
.static-card-foot a { color: #5a47c9; font: 800 .84rem Manrope, sans-serif; text-decoration: none; white-space: nowrap; }
.static-card-foot a:hover { text-decoration: underline; }
.static-disclosure { max-width: 820px; margin: 26px 0 0; color: #777e8a; font-size: .82rem; line-height: 1.6; }
.static-disclosure a { color: inherit; text-underline-offset: 3px; }

.static-offer { max-width: 1000px; margin: 0 auto; }
.static-offer-hero { padding: clamp(27px, 4vw, 50px); border-radius: 26px; background: radial-gradient(circle at 88% 5%, rgba(149, 127, 255, .31), transparent 42%), linear-gradient(130deg, #232534, #191b25 73%); color: #fff; }
.static-offer-bank { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; font: 800 .9rem Manrope, sans-serif; }
.static-offer-bank .static-logo { padding: 5px; border-radius: 9px; background: #fff; }
.static-offer-hero .static-eyebrow { margin-bottom: 12px; color: #c8fa69; }
.static-offer-hero h1 { max-width: 800px; color: #fff; }
.static-offer-hero .offer-summary { max-width: 760px; margin-top: 20px; color: #d3d4df; font-size: 1.08rem; line-height: 1.65; }
.offer-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.offer-facts span { padding: 10px 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; color: #d4d6e2; font-size: .85rem; }
.offer-facts strong { color: #fff; }
.static-cta { display: inline-flex; align-items: center; gap: 20px; margin-top: 29px; padding: 15px 20px; border-radius: 13px; background: #c8fa69; color: #1b1d26; font: 800 .95rem Manrope, sans-serif; text-decoration: none; }
.static-cta:hover { background: #ddffa6; }
.static-partner-note { margin-top: 13px; color: #adb0c0; font-size: .79rem; line-height: 1.5; }
.static-ended { margin-top: 25px; color: #ffd1b4; font-weight: 700; }
.static-offer-body { max-width: 850px; margin: 0 auto; }
.static-section { padding: 30px 0; border-bottom: 1px solid #e0e2e8; }
.static-section h2 { margin: 0 0 16px; font: 800 clamp(1.35rem, 2.3vw, 1.8rem)/1.22 Manrope, sans-serif; letter-spacing: -.035em; }
.static-section h3 { margin: 0 0 8px; font: 800 1.06rem/1.35 Manrope, sans-serif; }
.static-section p, .static-section li { color: #4b515d; font-size: .96rem; line-height: 1.7; }
.static-section p + p { margin-top: 12px; }
.static-section ul { margin: 0; padding-left: 23px; }
.static-section li { margin-top: 7px; }
.static-steps { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.static-steps > li { position: relative; margin: 0; padding: 20px 22px 20px 68px; border: 1px solid #e1e2e9; border-radius: 17px; background: #fff; counter-increment: step; }
.static-steps > li::before { content: counter(step); position: absolute; top: 20px; left: 20px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #eae6ff; color: #5d49d3; font: 800 .9rem Manrope, sans-serif; }
.static-steps .step-meta { margin-top: 10px; color: #777e8a; font-size: .84rem; }
.static-checks { margin-top: 10px !important; }
.static-rewards { padding: 0 !important; list-style: none; }
.static-rewards li { display: flex; gap: 18px; padding: 11px 0; border-bottom: 1px solid #e9eaf0; }
.static-rewards strong { min-width: 100px; color: #191b25; }
.static-rewards em { margin-left: 6px; color: #975125; font-size: .8rem; font-style: normal; }
.static-warning { padding: 25px; border: 1px solid #f1c4a7; border-radius: 18px; background: #fff4ec; }
.static-warning h2 { color: #8a3a0e; }
.static-sources a, .static-back a { color: #604cd2; text-underline-offset: 3px; }
.static-back { margin-top: 27px; font-weight: 700; }
.static-not-found { max-width: 700px; min-height: 55vh; padding-top: 80px; }
.static-not-found h1 { margin-top: 12px; }
.static-not-found > p:not(.static-eyebrow) { margin-top: 18px; color: #60666f; line-height: 1.6; }

:root[data-theme="dark"] .static-intro > p:not(.static-eyebrow), :root[data-theme="dark"] .static-card > p, :root[data-theme="dark"] .static-section p, :root[data-theme="dark"] .static-section li { color: #c3c6d1; }
:root[data-theme="dark"] .static-card, :root[data-theme="dark"] .static-steps > li { border-color: #343747; background: #1b1d27; }
:root[data-theme="dark"] .static-category-nav a[aria-current="page"] { border-color: #7767f8; background: #7767f8; color: #fff; }
:root[data-theme="dark"] .static-card-head, :root[data-theme="dark"] .static-disclosure, :root[data-theme="dark"] .static-steps .step-meta { color: #a1a5b3; }
:root[data-theme="dark"] .static-card-foot a, :root[data-theme="dark"] .static-sources a, :root[data-theme="dark"] .static-back a { color: #c0b4ff; }
:root[data-theme="dark"] .static-section { border-bottom-color: #343747; }
:root[data-theme="dark"] .static-rewards li { border-bottom-color: #343747; }
:root[data-theme="dark"] .static-rewards strong { color: #f4f5fa; }
:root[data-theme="dark"] .static-warning { border-color: #764a34; background: #2b201b; }
:root[data-theme="dark"] .static-warning h2 { color: #ffd1b4; }
:root[data-theme="dark"] .static-steps > li::before { background: #332b54; color: #d4c8ff; }
:root[data-theme="dark"] .static-not-found > p:not(.static-eyebrow) { color: #c3c6d1; }

@media (max-width: 760px) {
  .static-page .static-topbar .brand-description { display: none; }
  .static-main { padding: 22px 0 60px; }
  .breadcrumbs { margin-bottom: 24px; }
  .static-list { grid-template-columns: 1fr; }
  .static-card { min-height: 0; }
  .static-offer-hero { border-radius: 20px; }
  .static-offer-hero .offer-summary { font-size: .96rem; }
  .static-steps > li { padding-left: 60px; }
  .static-steps > li::before { left: 16px; }
}
@media (max-width: 420px) {
  .static-card-head { align-items: flex-start; }
  .static-card-head .static-logo { max-width: 100px; }
  .static-card-foot { flex-wrap: wrap; }
  .static-rewards li { flex-direction: column; gap: 0; }
}

/* Strony zbiorcze banków i kategorii: kafelki w stylu kart ze strony głównej */
.static-hub-heading { margin: 46px 0 0; font: 800 clamp(1.25rem, 2.1vw, 1.55rem)/1.24 Manrope, sans-serif; letter-spacing: -.035em; }
.static-hub-heading + .static-category-nav { margin-top: 16px; }
.static-empty { margin: 0 0 16px; }
.hub-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  overflow: hidden;
  border: 4px solid #343747;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 83% 8%, rgba(145, 124, 255, .13), transparent 36%),
    radial-gradient(circle at 18% 85%, rgba(200, 250, 105, .035), transparent 39%),
    linear-gradient(120deg, #20222d 0%, #191b24 67%, #1d1c29 100%);
  transition: transform .25s ease, box-shadow .25s ease, opacity .45s ease;
}
/* Wejście kafelka bez animacji keyframes: po zjechaniu myszką nic się nie odtwarza od nowa. */
@starting-style { .hub-card { opacity: 0; transform: translateY(14px); } }
.hub-card::before {
  content: "";
  position: absolute;
  inset: -40% -15% auto auto;
  width: 75%;
  height: 190%;
  transform: rotate(26deg);
  background: linear-gradient(90deg, transparent, rgba(114, 93, 238, .13), rgba(200, 250, 105, .045), transparent);
  pointer-events: none;
}
.hub-card > * { position: relative; }
.hub-card:is(:hover, :focus-within, .is-in-view) {
  border-color: transparent;
  background:
    radial-gradient(circle at 83% 8%, rgba(145, 124, 255, .19), transparent 39%) padding-box,
    linear-gradient(120deg, #222431, #1a1c27 67%, #221f31) padding-box,
    conic-gradient(from var(--orbit-angle), #73689f 0deg 225deg, #aa94ff 262deg, #dfceff 288deg, #e2ff97 317deg, #bb9dff 342deg, #73689f 360deg) border-box;
  box-shadow: 0 22px 48px rgba(26, 22, 56, .25), 0 0 0 1px rgba(180, 159, 255, .55), 0 0 40px rgba(149, 122, 255, .37);
  transform: translateY(-3px);
  animation: border-orbit 2.5s linear infinite;
}
.hub-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; color: #c8c8d5; font: 700 .76rem Manrope, sans-serif; letter-spacing: .06em; }
.hub-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .04); color: #e3e4ee; letter-spacing: 0; white-space: nowrap; }
.hub-meter { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.hub-meter i { display: block; width: 4px; border-radius: 2px; background: rgba(255, 255, 255, .22); }
.hub-meter i:nth-child(1) { height: 4px; }
.hub-meter i:nth-child(2) { height: 7px; }
.hub-meter i:nth-child(3) { height: 10px; }
.hub-meter i:nth-child(4) { height: 12px; }
.hub-meter[data-level="1"] i:nth-child(-n+1), .hub-meter[data-level="2"] i:nth-child(-n+2), .hub-meter[data-level="3"] i:nth-child(-n+3) { background: #c8fa69; }
.hub-meter[data-level="4"] i { background: #ff9a6b; }
.hub-card .bank-logo { width: auto; max-width: 190px; height: 54px; }
.hub-card .bank-logo img { width: auto; max-width: 100%; }
.hub-card .hub-logo-light { display: none; }
.hub-card h2 { margin: 18px 0 0; color: #b7b8c5; font: 700 1.05rem/1.35 Manrope, sans-serif; letter-spacing: -.01em; }
.hub-card h2 a { color: inherit; text-decoration: none; }
.hub-card h2 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hub-card h2 a:focus-visible { outline: none; }
.hub-amount { display: flex; align-items: baseline; gap: 9px; margin: 4px 0 0; }
.hub-amount span { color: #c8fa69; font: 800 .72rem Manrope, sans-serif; letter-spacing: .1em; }
.hub-amount strong { position: relative; font: 800 clamp(3rem, 6vw, 4.6rem)/1.05 Manrope, sans-serif; letter-spacing: -.07em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hub-amount strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 4px;
  border-radius: 10px;
  background: linear-gradient(90deg, #c8fa69, #d9ff99 45%, #a895ff);
  box-shadow: 0 0 16px rgba(200, 250, 105, .34);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform .6s cubic-bezier(.2, .75, .2, 1), opacity .2s ease;
}
.hub-card:is(:hover, :focus-within, .is-in-view) .hub-amount strong::after { transform: scaleX(1); opacity: 1; }
.hub-amount small { font: 800 1.35rem Manrope, sans-serif; }
.hub-summary { margin: 20px 0 24px; color: #c8c8d5; font-size: .95rem; line-height: 1.6; }
.hub-cta {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  margin-top: auto;
  padding: 14px 20px;
  border: 2px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(#20222d, #20222d) padding-box,
    linear-gradient(115deg, #776caf 0%, #a996ff 35%, #e2ff97 68%, #a996ff 100%) border-box;
  color: #f7f7fb;
  font: 800 1.05rem Manrope, sans-serif;
  text-align: center;
  text-decoration: none;
  transition: box-shadow .22s ease, transform .22s ease;
}
.hub-cta span { transition: transform .22s ease; }
.hub-cta:hover, .hub-card:is(:hover, .is-in-view) .hub-cta { box-shadow: 0 10px 28px rgba(155, 132, 255, .18), 0 0 0 1px rgba(226, 255, 151, .12); }
.hub-cta:hover { transform: translateY(-2px); }
.hub-card:is(:hover, .is-in-view) .hub-cta span { transform: translateX(5px); }
.hub-cta:focus-visible { outline: 3px solid #9d8bff; outline-offset: 4px; }

:root[data-theme="light"] .hub-card {
  color: #20232d;
  border-color: #e2e0eb;
  background:
    radial-gradient(circle at 83% 8%, rgba(155, 135, 245, .19), transparent 38%),
    radial-gradient(circle at 18% 85%, rgba(190, 227, 125, .14), transparent 42%),
    linear-gradient(120deg, #ffffff 0%, #faf9fe 67%, #f4f1fc 100%);
  box-shadow: 0 14px 32px rgba(35, 31, 79, .055);
}
:root[data-theme="light"] .hub-card::before { background: linear-gradient(90deg, transparent, rgba(132, 108, 230, .06), rgba(184, 221, 113, .065), transparent); }
:root[data-theme="light"] .hub-card:is(:hover, :focus-within, .is-in-view) {
  border-color: transparent;
  background:
    radial-gradient(circle at 83% 8%, rgba(151, 126, 248, .21), transparent 40%) padding-box,
    linear-gradient(120deg, #ffffff 0%, #f9f8ff 67%, #f1edfc 100%) padding-box,
    conic-gradient(from var(--orbit-angle), #d8d1f2 0deg 225deg, #a18bfa 262deg, #7964e9 288deg, #b7dc78 317deg, #a88ff6 342deg, #d8d1f2 360deg) border-box;
  box-shadow: 0 22px 48px rgba(43, 33, 105, .12), 0 0 0 1px rgba(149, 119, 236, .35), 0 0 34px rgba(149, 122, 255, .18);
}
:root[data-theme="light"] .hub-card-top { color: #697082; }
:root[data-theme="light"] .hub-chip { border-color: #e3e0ef; background: #fff; color: #414a5c; }
:root[data-theme="light"] .hub-meter i { background: #dcd8ea; }
:root[data-theme="light"] .hub-meter[data-level="1"] i:nth-child(-n+1), :root[data-theme="light"] .hub-meter[data-level="2"] i:nth-child(-n+2), :root[data-theme="light"] .hub-meter[data-level="3"] i:nth-child(-n+3) { background: #7964e9; }
:root[data-theme="light"] .hub-meter[data-level="4"] i { background: #d9480f; }
:root[data-theme="light"] .hub-card .hub-logo-dark { display: none; }
:root[data-theme="light"] .hub-card .hub-logo-light { display: block; }
:root[data-theme="light"] .hub-card h2 { color: #545d6d; }
:root[data-theme="light"] .hub-amount span { color: #6a53cf; }
:root[data-theme="light"] .hub-amount strong::after { background: linear-gradient(90deg, #755bd7, #a692f2 53%, #91c84b); box-shadow: 0 0 14px rgba(137, 105, 221, .2); }
:root[data-theme="light"] .hub-summary { color: #414a5c; }
:root[data-theme="light"] .hub-cta {
  color: #25283a;
  background:
    linear-gradient(#fbfaff, #fbfaff) padding-box,
    linear-gradient(115deg, #9587cf 0%, #a996ff 35%, #b3d76e 68%, #a996ff 100%) border-box;
}
:root[data-theme="light"] .hub-cta:hover, :root[data-theme="light"] .hub-card:hover .hub-cta { box-shadow: 0 10px 28px rgba(111, 86, 194, .16), 0 0 0 1px rgba(128, 108, 210, .18); }

@media (max-width: 860px) { .hub-list { grid-template-columns: minmax(0, 1fr); } .hub-card { padding: 22px; border-radius: 22px; } }
@media (prefers-reduced-motion: reduce) {
  .hub-card, .hub-card:is(:hover, :focus-within, .is-in-view) { animation: none; transition: none; transform: none; }
  @starting-style { .hub-card { opacity: 1; transform: none; } }
  .hub-amount strong::after, .hub-cta, .hub-cta span { transition: none; }
}

/* Tekst „Którą promocję wybrać?” na stronie banku */
.static-about { max-width: 820px; }
.static-about p { margin: 14px 0 0; color: #4b515d; font-size: 1rem; line-height: 1.7; }
:root[data-theme="dark"] .static-about p { color: #c3c6d1; }
.static-about a { color: var(--ns-sky); text-underline-offset: 3px; }
