:root {
  --primary:#6e36ea;
  --primary-dark:#5b28ca;
  --green:#00c505;
  --green-dark:#009f04;
  --orange:#f47b20;
  --text:#131722;
  --muted:#4d5565;
  --bg:#f6f8fc;
  --surface:#fff;
  --surface-2:#f2f5fb;
  --line:#e5eaf3;
  --shadow:0 12px 35px rgba(83,35,111,.12);
  --radius:10px;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
}

body {
  margin:0;
  font-family:"Roboto", Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

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

img {
  max-width:100%;
  height:auto;
}

.container {
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
}

.topbar {
  background:#6b2c91;
  color:#fff4c8;
  font-size:13px;
  padding:8px 0;
}

.topbar .container {
  display:flex;
  gap:12px;
  justify-content:space-between;
  align-items:center;
}

.topbar a {
  text-decoration:underline;
}

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

.nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}

.logo {
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  font-size:22px;
  color:#2b173a;
}

.logo-img {
  height:auto;
  width:200px;
  display:block;
  object-fit:contain;
}

.menu {
  display:flex;
  align-items:center;
  gap:18px;
  font-size:14px;
  color:#304258;
}

.menu a:hover {
  color:var(--primary);
}

.menu-toggle {
  display:none;
  border:1px solid var(--line);
  background:#fff;
  border-radius:10px;
  padding:9px 11px;
  font-size:20px;
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:10px;
  border:0;
  background:var(--primary);
  color:#fff;
  font-weight:700;
  padding:12px 18px;
  cursor:pointer;
  transition:.2s;
}

.btn:hover {
  background:var(--primary-dark);
  transform:translateY(-1px);
}

.btn.secondary {
  background:#e7f0ff;
  color:var(--primary);
}

.btn.green {
  background:var(--green);
}

.btn.green:hover {
  background:var(--green-dark);
}

.btn.outline {
  background:#fff;
  color:var(--primary);
  border:1px solid #bcd2f0;
}

.btn.full {
  width:100%;
}

.hero {
  padding:56px 0 28px;
  background:radial-gradient(circle at top right,#ffe08a 0,#fff7df 32%,#faf7ff 72%);
}

.hero-grid {
  display:grid;
  grid-template-columns:1fr .9fr;
  gap:28px;
  align-items:center;
}

.hero h1 {
  font-size:clamp(32px,5vw,50px);
  line-height:1.05;
  margin:18px 0 16px;
}

.lead {
  font-size:18px;
  color:var(--muted);
  max-width:760px;
}

.hero-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 10px;
  line-height: 0;
}

.hero-card img {
  border-radius: 8px;
}

.section {
  padding:54px 0;
}

main > .section:nth-of-type(odd) {
  background: var(--bg);
}

main > .section:nth-of-type(even) {
  background: #ffffff;
}

main > .section.section-soft {
  background: var(--bg);
}

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

.section-title h2 {
  font-size:32px;
  line-height:1.15;
  margin:0;
}

.section-title p {
  color:var(--muted);
  margin:8px 0 0;
  max-width:720px;
}

.card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.filter-card {padding:22px;}
@media (max-width:640px) { .filter-card {padding:12px;}}

.filter-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.field label {
  display:block;
  font-weight:700;
  margin-bottom:7px;
}

.field input[type=range] {
  width:100%;
  accent-color:var(--primary);
}

.field select,
.field input[type=number]
{
  width:100%;
  border:1px solid var(--line);
  border-radius:10px;
  padding:12px;
  background:#fff;
  color:var(--text);
}

.range-value {
  font-weight:800;
  color:var(--primary);
}

.checks {
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:16px;
  justify-content: space-around;
}

.check-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}

.check-pill input { accent-color:var(--primary);
}
@media (max-width: 640px) { .check-pill {  font-size: 12px;}}

.filter-actions {
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  margin-top:18px;
  flex-wrap:wrap;
}

.result-count {
	color:var(--muted);
	font-weight:500;
	font-size:14px;
}

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

.offer-card {
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:14px;
  position:relative;
  align-self:start;
}

.offer-head {
  display:flex;
  gap:12px;
  align-items:center;
}

.offer-logo {
  max-width:140px;
  height:auto;
  border-radius:10px;
  background:#fff8df;
  border:1px solid var(--line);
  display:grid;
  place-items:center;
  overflow:hidden;
  flex:0 0 auto;
}

.offer-logo img {
  width:100%;
  height:100%;
  object-fit:contain;
  padding:5px;
  box-sizing:border-box;
}

.offer-name h3 {
  margin:0;
  font-size:18px;
font-weight: 400;
}

.rating {
  color:#f6a700;
  font-weight:800;
  font-size:14px;
}

.rating span {
  color:var(--muted);
  font-weight:600;
}

.badges {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}

.badge-zero {
  background:#e7fff4;
  color:var(--green-dark);
  border-color:#bdebd7;
}

.badge-special {
  background:#fff5e3;
  color:#995c00;
  border-color:#ffd99a;
}

.badge.green {
  background:#e7fff4;
  color:var(--green-dark);
  border-color:#bdebd7;
}

.badge.orange {
  background:#fff5e3;
  color:#995c00;
  border-color:#ffd99a;
}

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

.fact {
  background:#f7faff;
  border:1px solid var(--line);
  border-radius:10px;
  padding:4px;
}

.fact small {
  display:block;
  color:var(--muted);
  font-size:12px;
}

.fact b {
  font-size:14px;
}

.offer-actions {
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  align-items:center;
}

.compare-label {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:700;
  color:var(--muted);
}

.details-toggle {
  background:none;
  border:0;
  color:var(--primary-dark);
  cursor:pointer;
  padding:0;
  text-align:left;
  display:inline-flex;
  align-items:center;
  gap:7px;
justify-content: center;
}

.details-toggle::after {
  content:"";
  width:7px;
  height:7px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg);
  transition:transform .18s ease;
  margin-top:-4px;
}

.details-toggle.is-open::after {
  transform:rotate(225deg);
  margin-top:4px;
}

.details {
  display:none;
  background:#fbfdff;
  border:1px solid var(--line);
  border-radius:10px;
  padding:12px;
  font-size:14px;
  color:#304258;
}

.details.open {
  display:block;
}

.details p {
  margin:0 0 8px;
}

.details p:last-child {
  margin-bottom:0;
}

.hidden {
  display:none!important;
}

.table-wrap {
  overflow:auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

table {
  border-collapse:collapse;
  width:100%;
  min-width:920px;
}

th,
td
{
  text-align:left;
  border-bottom:1px solid var(--line);
  padding:14px;
  vertical-align:middle;
}

th {
  background:#f0f6ff;
  font-size:13px;
  white-space:nowrap;
  cursor:pointer;
}

td {
  font-size:14px;
}

tr:last-child td {
  border-bottom:0;
}

.mini-logo {
  display:flex;
  align-items:center;
  gap:9px;
  font-weight:800;
}

.mini-logo span {
  width:30px;
  height:30px;
  border-radius:8px;
  background:linear-gradient(135deg,var(--primary),var(--green));
  color:#fff;
  display:grid;
  place-items:center;
  font-size:12px;
}

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

.info-card {
  padding:22px;
}

.info-card h3 {
  margin-top:0;
}

.info-card p {
  color:var(--muted);
  margin-bottom:0;
}

.faq-item {
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  margin-bottom:10px;
  overflow:hidden;
}

.faq-q {
  width:100%;
  background:#fff;
  border:0;
  text-align:left;
  padding:18px;
  font-weight:600;
  font-size:18px;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  gap:16px;
}

.faq-q span {color: #00c770;}

.faq-a {
  display:none;
  padding:0 18px 18px;
  color:var(--muted);
}

.faq-item.open .faq-a {
  display:block;
}

.seo-text {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px;
  box-shadow:var(--shadow);
}

.seo-text h2,
.seo-text h3
{
  line-height:1.2;
}

.seo-text p {
  color:#405066;
}

.compare-bar {
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  background:#6b2c91;
  color:#fff;
  border-radius:999px;
  padding:10px 12px 10px 18px;
  box-shadow:0 12px 40px rgba(0,0,0,.22);
  display:none;
  gap:14px;
  align-items:center;
  z-index:70;
}

.compare-bar.show {
  display:flex;
}

.modal {
  position:fixed;
  inset:0;
  background:rgba(6,17,31,.58);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:90;
  padding:16px;
}

.modal.show {
  display:flex;
}

.footer-grid {
  display:grid;
  grid-template-columns:1.4fr repeat(3,1fr);
  gap:24px;
}

.blog-card {
  padding:20px;
}

.blog-card h3 {
  margin-top:0;
}

.blog-card p {
  color:var(--muted);
}

@media (max-width:980px) {
  .hero-grid,
  .offers-grid,
  .info-grid,
  .footer-grid
  {
    grid-template-columns:1fr;
  }
  .filter-grid {
    grid-template-columns:repeat(2,1fr);
  }
  
  .menu {
    display:none;
    position:absolute;
    left:16px;
    right:16px;
    top:68px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:14px;
    box-shadow:var(--shadow);
    padding:14px;
    flex-direction:column;
    align-items:flex-start;
  }
  .menu.open {
    display:flex;
  }
  .menu-toggle {
    display:block;
  }
  .topbar .container {
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width:640px) {
  .container {
    width:min(100% - 22px,1180px);
  }
  .hero {
    padding:34px 0 18px;
  }
  .hero-actions,
  .filter-actions
  {
    flex-direction:column;
    align-items:stretch;
  }
  .filter-grid{
    grid-template-columns:1fr;
  }
  .facts {
    grid-template-columns:1fr 1fr;
  }
  .section-title {
    display:block;
  }
  
  .offer-actions {
    grid-template-columns:1fr;
  }
  .compare-bar {
    border-radius:14px;
    left:12px;
    right:12px;
    transform:none;
    justify-content:space-between;
  }
  .footer-grid {
    grid-template-columns:1fr;
  }
  .section {
    padding:30px 0;
  }
  .section-title h2 {
    font-size:26px;
  }
  .checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.logo span:not(.logo-mark) {
  display:none;
}

.fallback-logo::before {
  content:attr(data-name);
  font-weight:900;
  color:#6b2c91;
  font-size:14px;
}

.offer-logo img {
  object-fit:contain;
}

.logo span:not(.logo-mark) {
  display:none;
}

.offer-card.not-matched {
  background:#fbfbfc;
  border-color:#e7e2eb;
  box-shadow:0 8px 24px rgba(55,40,70,.08);
  opacity:.72;
  filter:saturate(.45);
}

.offer-card.not-matched .offer-logo img {
  filter:grayscale(1);
  opacity:.75;
}

.offer-card.not-matched .badge {
  background:#f3f3f3;
  color:#7b7480;
  border-color:#ddd;
}

.offer-card.not-matched .fact {
  background:#f7f7f8;
}

.match-notice {
  background:#fff6d8;
  border:1px solid #f0dda1;
  color:#000;
  border-radius:10px;
  padding:9px 11px;
  font-weight:700;
  font-size:13px;
}

.btn.muted {
  background:#777;
  color:#fff;
}

.btn.muted:hover {
  background:#666;
}

.not-matched-row {
  opacity:.62;
  filter:saturate(.5);
}

.view-switch {
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  padding:5px;
  box-shadow:0 6px 18px rgba(83,35,111,.08);
}

.view-switch span {
  font-weight:800;
  color:var(--muted);
  padding:0 6px;
}

.view-btn {
  border:0;
  background:transparent;
  color:var(--primary);
  border-radius:999px;
  padding:8px 12px;
 /*  font-weight:900;*/
  cursor:pointer;
  transition:.2s;
}

.view-btn:hover {
  background:#f5edf9;
}

.view-btn.active {
  background:var(--primary);
  color:#fff;
}

.view-table .cards-panel {
  display:none;
}

.view-cards .table-panel {
  display:none;
}

.table-hint {
  background:#fff8df;
  border:1px solid #f0dda1;
  color:#65522c;
  border-radius:12px;
  padding:12px 14px;
  margin-bottom:12px;
  font-size:14px;
}

.tooltip {
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    border: 1px solid #cdb3dc;
    font-size: 11px;
    font-weight: 900;
    position: relative;
    line-height: 1.5;
    cursor: help;
}

.tooltip:hover::after,
.tooltip:focus::after
{
  content:attr(data-tip);
  position:absolute;
  z-index:5;
  left:50%;
  bottom:130%;
  transform:translateX(-50%);
  width:230px;
  background:#241531;
  color:#fff;
  border-radius:10px;
  padding:9px 10px;
  font-size:12px;
  line-height:1.35;
  white-space:normal;
  box-shadow:0 8px 25px rgba(0,0,0,.18);
}

th[data-sort] {
  cursor:pointer;
  user-select:none;
}

th[data-sort]::after {
  content:" ↕";
  opacity:.42;
}

th[data-sort].active-sort::after {
  content:attr(data-dir);
  font-size:0;
}

th[data-sort].active-sort[data-dir="asc"]::after {
  content:" ↑";
  font-size:13px;
  opacity:1;
}

th[data-sort].active-sort[data-dir="desc"]::after {
  content:" ↓";
  font-size:13px;
  opacity:1;
}

.method-chip {
  display:inline-flex;
  align-items:center;
  gap:4px;
  background:#f7faff;
  border:1px solid var(--line);
  border-radius:999px;
  padding:5px 8px;
  margin:2px 4px 2px 0;
  font-weight:800;
  font-size:12px;
  color:#4c3f58;
}

.mini-logo img {
  width:34px;
  height:24px;
  object-fit:contain;
  background:#fff;
  border:1px solid var(--line);
  border-radius:6px;
  padding:2px;
}

.mini-logo {
  min-width:150px;
}

.row-note {
  display:inline-flex;
  margin-top:6px;
  color:#8b7b94;
  background:#f7f3fa;
  border:1px solid #eadff2;
  border-radius:999px;
  padding:2px 7px;
  font-weight:800;
}

.table-panel .btn.secondary {
  padding:8px 11px;
}

.not-matched-row .btn.secondary {
  background:#eee;
  color:#6f607a;
}

@media (max-width:640px) {
  .view-switch {
    width:100%;
    justify-content:center;
  }
  .view-switch span {
    display:none;
  }
  .view-btn {
    flex:1;
  }
  .table-hint {
    font-size:13px;
  }
}

.table-panel {
  display:none;
}

.cards-panel {
  display:block;
}

.view-table .table-panel {
  display:block;
}

.view-table .cards-panel {
  display:none;
}

.view-cards .cards-panel {
  display:block;
}

.table-wrap .tooltip {
  overflow:visible;
  z-index:30;
}

.table-wrap .tooltip:hover::after,
.table-wrap .tooltip:focus::after
{
  left:50% !important;
  right:auto !important;
  top:28px !important;
  bottom:auto !important;
  transform:translateX(-50%) !important;
  width:260px !important;
  max-width:260px;
  text-align:left;
  z-index:100;
}

.table-wrap .tooltip:hover::before,
.table-wrap .tooltip:focus::before
{
  content:"";
  position:absolute;
  left:50%;
  top:22px;
  transform:translateX(-50%);
  border:6px solid transparent;
  border-bottom-color:#241531;
  z-index:101;
}

@media (max-width:640px) {
  .table-wrap .tooltip:hover::after,
  .table-wrap .tooltip:focus::after
  {
    left:0 !important;
    transform:none !important;
    width:220px !important;
  }
  .table-wrap .tooltip:hover::before,
  .table-wrap .tooltip:focus::before
  {
    left:9px;
    transform:none;
  }
}

.legal-page .seo-text {
  max-width:920px;
  margin:0 auto;
}

.legal-page h1 {
  font-size:clamp(32px,4vw,46px);
  line-height:1.1;
  margin-top:0;
}

.legal-page h2 {
  margin-top:28px;
}

.legal-page ul {
  padding-left:22px;
}

.legal-page li {
  margin:8px 0;
  color:#405066;
}

.loan-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: min(300px, calc(100vw - 40px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid rgba(110, 47, 179, 0.18);
  border-left: 5px solid var(--green);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(29, 10, 61, 0.18);
  color: var(--text);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.loan-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.loan-toast__icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--green));
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(110, 47, 179, 0.24);
}

.loan-toast__text {
  font-size: 12px;
  line-height: 1.35;
}

.loan-toast__text b {
  color: var(--primary-dark);
}

.loan-toast__amount {
  color: var(--green-dark);
  font-weight: 800;
  white-space: nowrap;
}

.loan-toast__close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(110, 47, 179, 0.08);
  color: var(--primary-dark);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.loan-toast__close:hover,
.loan-toast__close:focus
{
  background: rgba(110, 47, 179, 0.16);
  transform: scale(1.04);
  outline: none;
}

@media (max-width: 360px) {
  .loan-toast {
    width: calc(100vw - 40px);
    max-width: none;
    padding: 10px;
  }

  .loan-toast__icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  .loan-toast__text {
    font-size: 12px;
  }
}

.editorial-rating {
  position:relative;
  align-items:center;
  gap:4px;
  flex-wrap:wrap;
  cursor:help;
  line-height:1.35;
}

.editorial-rating .rating-stars {
  color:#f6a700;
  letter-spacing:.5px;
}

.editorial-rating .rating-label {
  color:var(--muted);
  font-weight:700;
}

.editorial-rating .rating-tooltip {
  position:absolute;
  left:0;
  top:calc(100% + 9px);
  z-index:50;
  width:min(280px,calc(100vw - 48px));
  padding:10px 12px;
  border-radius:10px;
  background:#101828;
  color:#fff;
  font-size:12px;
  font-weight:600;
  line-height:1.45;
  box-shadow:0 16px 34px rgba(16,24,40,.24);
  opacity:0;
  visibility:hidden;
  transform:translateY(-4px);
  transition:.18s ease;
  pointer-events:none;
}

.editorial-rating .rating-tooltip:before {
  content:"";
  position:absolute;
  left:18px;
  top:-6px;
  width:12px;
  height:12px;
  background:#101828;
  transform:rotate(45deg);
}

.editorial-rating:hover .rating-tooltip,
.editorial-rating:focus-within .rating-tooltip
{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.table-rating {
  font-weight:800;
  color:#f6a700;
  white-space:nowrap;
}

@media (max-width: 640px) {
  .editorial-rating .rating-tooltip {
    left: 10%;
    right: auto;
    top: calc(100% + 10px);
    width: min(240px, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
    transform: translateX(-50%) translateY(-4px);
    text-align: left;
    z-index: 300;
  }

  .editorial-rating .rating-tooltip:before {
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
  }

  .editorial-rating:hover .rating-tooltip,
  .editorial-rating:focus-within .rating-tooltip {
    transform: translateX(-50%) translateY(0);
  }

}

.offers-updated {
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:12px;
  padding:6px 12px;
  border:1px solid rgba(255,184,0,.55);
  border-radius:999px;
  background:#fff8db;
  color:#6b4b00;
  font-size:13px;
  font-weight:800;
  letter-spacing:.02em;
}

.offers-updated span {
  color:#2b0b3f;
}

@media (max-width:640px) {
  .offers-updated {
    font-size:12px;
    padding:5px 10px;
  }
}

.legal-disclosure-section {
  padding-top: 18px;
  padding-bottom: 18px;
}

.legal-hub {
  margin: 0;
  border: 1px solid rgba(86, 37, 122, .18);
  border-radius: 18px;
  background: linear-gradient(135deg, #5b217a 0%, #3f115f 100%);
  color: #fff;
  overflow: visible;
  box-shadow: 0 18px 45px rgba(64, 17, 95, .16);
}

.legal-hub summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
  font-size: 18px;
  list-style: none;
}

.legal-hub summary::-webkit-details-marker {
  display: none;
}

.legal-hub summary::after {
  content: "+";
  float: right;
  font-size: 24px;
  line-height: 1;
}

.legal-hub[open] summary::after {
  content: "–";
}

.legal-hub-body {
  padding: 0 20px 20px;
  color: rgba(255,255,255,.88);
}

.legal-risk-box {
  margin: 18px 0;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 190, 0, .12);
  border: 1px solid rgba(255, 190, 0, .35);
}

.legal-companies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.legal-company {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}

.legal-company h4 {
  margin: 0 0 8px;
  color: #fff;
}

.legal-company p {
  margin: 5px 0;
  font-size: 13px;
  line-height: 1.45;
}

.legal-company a,
.legal-hub a
{
  color: #ffd35a;
  text-decoration: none;
}

.legal-company a:hover,
.legal-hub a:hover
{
  text-decoration: underline;
}

@media (max-width: 760px) {
  .legal-disclosure-section {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .legal-companies {
    grid-template-columns: 1fr;
    max-height: none;
    overflow: visible;
  }
  .legal-hub summary {
    font-size: 16px;
  }
}

.seo-text blockquote {
  margin:18px 0;
  padding:16px 18px;
  border-left:4px solid var(--accent);
  border-radius:12px;
  background:#fff8db;
  color:#2b0b3f;
  line-height:1.65;
}

.blog-index-intro {
  margin-bottom:28px;
}

.blog-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin-top:24px;
}

.blog-card {
  padding:24px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
}

.blog-card h2 {
  font-size:22px;
  line-height:1.2;
  margin:0;
}

.blog-card h2 a {
  color:var(--ink);
  text-decoration:none;
}

.blog-card h2 a:hover {
  color:var(--primary);
}

.blog-card p {
  margin:0;
  color:var(--muted);
  line-height:1.6;
  font-size: 14px;
}

.blog-card__tag {
  display:inline-flex;
  align-items:center;
  border:1px solid var(--border);
  border-radius:999px;
  padding:6px 12px;
  font-weight:700;
  color:var(--primary);
  background:#fff7df;
  font-size:13px;
}

.blog-card .btn {
  margin-top:auto;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns:1fr;
  }
}
.fact .tooltip:hover::after,
.fact .tooltip:focus::after {
  bottom: auto;
  top: 24px;
  width: 260px;
  text-align: left;
  z-index: 120;
}
@media (max-width: 640px) {
  .fact .tooltip:hover::after,
  .fact .tooltip:focus::after {
    left: -80px;
    transform: none;
    width: 230px;
  }
}

.offer-features {
  margin-left:auto;
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:92px;
  font-size:13px;
  line-height:1.25;
  color:var(--muted);
}

.offer-feature {
  display:flex;
  align-items:center;
  gap:4px;
  white-space:nowrap;
}

.offer-feature.is-inactive {
  color:#9aa0ad;
  opacity:.68;
}

.feature-mark {
  display:inline-flex;
  width:12px;
  justify-content:center;
  font-weight:800;
}

.offer-feature.is-active .feature-mark {
  color:#1f7a30;
}

.offer-feature.is-inactive .feature-mark {
  color:#6f8da8;
}

.offer-features .tooltip:hover::after,
.offer-features .tooltip:focus::after {
  bottom:auto;
  top:22px;
  left:auto;
  right:0;
  transform:none;
  width:260px;
  text-align:left;
  z-index:150;
}

@media (max-width:640px) {
  .offer-head {
    display: grid;
        grid-template-columns: 1fr 1fr;
  }

  .offer-features {
    width:100%;
    margin-left:0;
    display:grid;
    grid-template-columns:repeat(3, max-content);
    column-gap:12px;
    row-gap:4px;
    padding-top:2px;
  }

  .offer-features .tooltip:hover::after,
  .offer-features .tooltip:focus::after {
    right:auto;
    left:0;
    width:230px;
  }
}

.blog-card__image {
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  overflow:hidden;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fff8df;
  margin-bottom:12px;
}

.blog-card__image img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.article-hero-image {
  margin:18px 0 22px;
  width:100%;
  max-width:760px;
}

.article-hero-image img {
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  display:block;
  border-radius:10px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.topbar{background:#131722;color:#dff7e6;}
.hero{background:radial-gradient(circle at top right,rgba(0,197,5,.18) 0,rgba(110,54,234,.10) 38%,#f6f8fc 78%);}
.btn.green{color:#fff;}
.logo-img{max-height:52px; width:220px; object-fit:contain;}

.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.blog-card{padding:18px;}
.blog-card h3{margin-top:0;font-size: 16px;margin-bottom: 0px;}
.legal-links{display:flex;gap:12px;flex-wrap:wrap;}

.footer-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;}

@media (max-width:900px){.blog-grid, .footer-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:640px){.blog-grid, .footer-grid{grid-template-columns:1fr;}.logo-img{width:180px;}}

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

.offer-card {
  display: grid;
  grid-template-columns: minmax(250px, 1.1fr) minmax(320px, 1.4fr) minmax(190px, .7fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.offer-card .offer-head {
  grid-column: 1;
  align-items: center;
}

.offer-card .offer-logo {
  width: 150px;
  min-height: 74px;
}

.offer-card .badges {
  grid-column: 1 / 3;
  grid-row: 2;
}

.offer-card .facts {
  grid-column: 2;
  grid-row: 1;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  align-items: stretch;
}

.offer-card .details-toggle {
  grid-column: 2;
  grid-row: 3;
}

.offer-card .details {
  grid-column: 1 / -1;
}

.offer-card .offer-actions {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.offer-card .btn.full {
  width: 100%;
}

.badge {
    font-size: 11px;
    border-radius: 6px;
    padding: 2px;
    background: #f7faff;
    color: #9e60c9;
    border: 1px solid #eadff2;
}

.section-heading,
.section-title {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 24px;
}

.section-heading h2, .section-title h2 {
	margin-top: 0;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1.15;
}

.eyebrow,
.kicker {
display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 12px;
    background: #00c770;
    border-radius: 6px;
    padding: 6px 10px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.point-card,
.info-card,
.seo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.point-card {
  padding: 18px;
  min-height: 190px;
}

.point-card strong {
  display: block;
  font-size: 17px;
  margin: 12px 0 10px;
}

.point-card span {
  color: var(--muted);
  line-height: 1.65;
}

.ico-img {
  max-width: 100px;
  height: auto;
  display: block;
  margin: 0 auto 12px;
}

.benefits-grid,
.seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.info-cards {
  display: grid;
  gap: 16px;
}

.info-cards .info-card {
  padding: 24px;
}

.seo-card {
  padding: 14px;
}

.seo-card img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.result-box-accent {
  background: linear-gradient(135deg, #f1fbf6 0%, #f1edff 100%);
}

.seo-text {
  max-height: none !important;
  overflow: visible !important;
  padding: 22px !important;
  line-height: 1.7;
}

.seo-text h2,
.seo-text h3 {
  margin-top: 24px;
}

.stars {
  display: block;
  color: #ff7a00 !important;
  font-weight: 900;
  letter-spacing: 1px;
  margin-top: 4px;
}

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

.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 24px;
  min-height: 370px;
}

.step-number {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 17px;
  top: 24px;
  left: 24px;
}

.step-card .ico-img {
  margin-top: 26px;
  max-width: 120px;
}

.step-card h3 {
  margin: 20px 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .offer-card,
  .section-heading,
  .section-title,
  .benefits-grid,
  .seo-grid {
    grid-template-columns: 1fr;
  }
  .offer-card .offer-head,
  .offer-card .badges,
  .offer-card .facts,
  .offer-card .details-toggle,
  .offer-card .details,
  .offer-card .offer-actions {
    grid-column: auto;
    grid-row: auto;
  }
  .offer-card .facts,
  .hero-points,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-points,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) { .offer-card .facts {grid-template-columns: 1fr 1fr;}}

.filter-grid {
  grid-template-columns: repeat(3, 1fr);
}
.compact-checks .check-pill {}

.filter-tooltip {
  flex: 0 0 auto;
}

.tooltip:hover::after,
.tooltip:focus::after {
  content: attr(data-tooltip) attr(data-tip);
}

.filter-tooltip:hover::after,
.filter-tooltip:focus::after {
  width: min(360px, calc(100vw - 48px));
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 300;
  white-space: normal;
  line-height: 1.45;
  text-align: left;
}

.filter-tooltip:hover::before,
.filter-tooltip:focus::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  width: 10px;
  height: 10px;
  background: #241531;
  transform: translateX(-50%) rotate(45deg);
  z-index: 299;
}

.testimonials-section .point-card {
  padding: 18px;
  min-height: auto;
}

.testimonials-section .offer-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.testimonials-section .ico-img {
  width: 100px;
  max-width: 100px;
  margin: 0;
}

.testimonials-section .offer-name strong {
  display: block;
  margin: 0 0 4px;
  font-size: 17px;
  color: var(--text);
}

.testimonials-section .stars {
  margin-top: 0;
  font-size: 20px;
  line-height: 1;
}

.testimonials-section .point-card > span {
  display: block;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .filter-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .filter-tooltip:hover::after,
  .filter-tooltip:focus::after {
    left: auto;
    right: -12px;
    transform: none;
    width: min(300px, calc(100vw - 32px));
  }
  .filter-tooltip:hover::before,
  .filter-tooltip:focus::before {
    left: auto;
    right: 2px;
    transform: rotate(45deg);
  }
  .testimonials-section .offer-top {
    gap: 12px;
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fbfcff;
  padding: 52px 0;
  color: var(--text);
}
.footer-gost-grid {
  display: grid;
  grid-template-columns: 0.5fr 1.8fr;
  gap: 28px;
  align-items: start;
}
.site-footer h3 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
line-height: 1.2;
    font-size: 14px;
}
.site-footer li + li { margin-top: 8px; }
.site-footer a {
  color: var(--text);
  text-decoration: none;
}
.site-footer a:hover { color: var(--primary); }
.site-footer .muted-link { color: #999; }
.footer-brand {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text);
}
.footer-small-text {
  font-size: 12px;
  line-height: 1.7;
  color: #344054;
  margin: 0 0 16px;
}
.footer-company-label {
  color: #777;
  font-size: 12px;
  margin: 8px 0 18px;
}
.flagsblock {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 12px;
}
.flags {
  color: #999;
  font-size: 10px;
  text-align: center;
}
.flags a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #999;
}
.flags img {
  width: 54px;
  height: 34px;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 4px;
}
@media (max-width: 1080px) {
  .footer-gost-grid { grid-template-columns: 1fr; }
  .flagsblock { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .flagsblock { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

#evaluation .info-card img{object-fit:contain;}
#evaluation .offer-head{align-items:center;gap:16px;}

/* v12: move filter result counter to the far right and bottom of the heading area */
#filter .section-title {
  align-items: end;
}

#filter .section-title #resultCount {
  justify-self: end;
  align-self: end;
  text-align: right;
  margin-top: auto;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  #filter .section-title #resultCount {
    justify-self: start;
    text-align: left;
    margin-top: 10px;
  }
}

.brand-subtitle {
    font-size: 12px;
    color: #6f7788;
    margin-top: 2px;
}

.disclaimer-box {
    border-radius: 10px;
    background: #fff8e6;
    border-color: #f2de9c;
    padding: 28px;
}

/* v27: compact offer action area with visible details link */
.offer-card .offer-actions {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "button button"
    "compare details";
  align-items: center;
  column-gap: 14px;
  row-gap: 10px;
  min-width: 240px;
  padding: 0 2px;
}

.offer-card .offer-actions .btn.full {
  grid-area: button;
  width: 100%;
  min-height: 50px;
  font-size: 16px;
}

.offer-card .offer-actions .compare-label {
  grid-area: compare;
  justify-content: flex-start;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.offer-card .offer-actions .action-details-toggle {
  grid-area: details;
  display: inline-flex;
  justify-content: flex-end;
  text-align: right;
  white-space: nowrap;
  color: var(--primary);
  font-weight: 700;
}

.offer-card > .details-toggle:not(.action-details-toggle) {
  display: none;
}

@media (max-width: 980px) {
  .offer-card .offer-actions {
    grid-column: auto;
    grid-row: auto;
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .offer-card .offer-actions {
    grid-template-columns: 1fr 1fr;
  }
}
