@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --bg: #f1f5f9;
  --bg-dark: #0f172a;
  --card: #ffffff;
  --text: #0f172a;
  --text2: #475569;
  --text3: #64748b;
  --border: #e2e8f0;
  --accent: #059669;
  --accent-hover: #047857;
  --accent-soft: rgba(5, 150, 105, 0.12);
  --gold: #d97706;
  --gold-soft: rgba(217, 119, 6, 0.12);
  --blue: #2563eb;
  --blue-soft: rgba(37, 99, 235, 0.1);
  --danger: #dc2626;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1);
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --sidebar: 300px;
  --gap: 28px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .logo, .nav a, .btn, .calc-label, .section-kicker { font-family: var(--font-display); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.logo:hover { text-decoration: none; color: var(--accent); }
.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}
.logo-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.nav > a {
  padding: 10px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text2);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.nav > a:hover { background: var(--accent-soft); color: var(--accent); text-decoration: none; }
.nav > a.active { background: var(--accent-soft); color: var(--accent); }

.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  padding: 10px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text2);
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-btn:hover, .nav-dropdown.open .nav-dropdown-btn {
  background: var(--accent-soft);
  color: var(--accent);
}
.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  min-width: 260px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
}
.nav-dropdown.open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-panel a {
  display: block;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.nav-dropdown-panel a:hover { background: var(--accent-soft); color: var(--accent); text-decoration: none; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .burger { display: flex; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
    box-shadow: var(--shadow-lg);
  }
  body.nav-open .nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav > a { padding: 14px 12px; border-radius: var(--radius-sm); }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-btn { width: 100%; justify-content: space-between; }
  .nav-dropdown-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 8px;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-panel { display: block; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 45%, #0f172a 100%);
  color: #f8fafc;
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5eead4;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin-bottom: 16px;
}
.hero-lead {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 640px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(5, 150, 105, 0.45); }
.btn-ghost {
  background: rgba(248, 250, 252, 0.1);
  color: #e2e8f0;
  border: 1px solid rgba(248, 250, 252, 0.2);
}
.btn-ghost:hover { color: #fff; background: rgba(248, 250, 252, 0.15); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  max-width: 560px;
  list-style: none;
}
.hero-stats li {
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}
.hero-stats strong { display: block; font-size: 1.5rem; font-weight: 800; color: #6ee7b7; }
.hero-stats span { font-size: 0.8rem; color: #94a3b8; }

/* Layout main + sidebar */
.layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar);
  gap: var(--gap);
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 64px;
  align-items: start;
}
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
}

.main-content { min-width: 0; }

.section-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}

/* Ad banners */
.promo-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 92px; }
@media (max-width: 960px) {
  .promo-sidebar { position: static; order: -1; flex-direction: row; flex-wrap: wrap; }
}
.promo-card {
  background: linear-gradient(145deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #fbbf24;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.promo-card--blue {
  background: linear-gradient(145deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #60a5fa;
}
.promo-card--dark {
  background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
  border-color: #475569;
  color: #f1f5f9;
}
.promo-note__tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.7;
  margin-bottom: 8px;
}
.promo-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}
.promo-card p { font-size: 0.85rem; opacity: 0.9; margin-bottom: 12px; }
.promo-card .btn { width: 100%; padding: 10px; font-size: 0.85rem; }
.promo-card--dark .btn-primary { background: #10b981; }

.promo-inline {
  margin: 28px 0;
  padding: 24px;
  background: var(--card);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
  color: var(--text3);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}
.promo-inline::before {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0) 70%);
}
.promo-inline--img {
  padding: 0;
  border: none;
  background: transparent;
}
.promo-inline--img::before { display: none; }
.promo-inline--img a { display: block; border-radius: var(--radius); overflow: hidden; }
.promo-inline--img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.promo-inline--img a:hover img {
  transform: scale(1.015);
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
}

/* Cards grid */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.card-link {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card-link:hover {
  text-decoration: none;
  border-color: rgba(5, 150, 105, 0.35);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card-link h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.card-link p { font-size: 0.9rem; color: var(--text2); margin-bottom: 12px; }
.card-link .more { font-size: 0.85rem; font-weight: 700; color: var(--accent); }

/* Prose */
.prose { font-size: 1rem; color: var(--text2); }
.prose p { margin-bottom: 1em; }
.prose h2 { font-size: 1.35rem; font-weight: 800; color: var(--text); margin: 2em 0 0.75em; }
.prose h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 1.5em 0 0.5em; }
.prose ul, .prose ol { margin: 0 0 1em 1.25em; }
.prose li { margin-bottom: 0.35em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 1.5em 0; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.prose th { background: #f8fafc; font-weight: 700; color: var(--text); }
.prose .note {
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5em 0;
  font-size: 0.9rem;
}

/* Generic table overflow wrapper (about.html etc.) */
.table-wrap { overflow-x: auto; margin: 1.5em 0; border-radius: var(--radius-sm); }
.table-wrap table { margin: 0; }

/* Bank table (banks page) */
.bank-table-wrap { overflow-x: auto; margin: 20px 0; border-radius: var(--radius); border: 1px solid var(--border); }
.bank-table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 0.875rem; }
.bank-table th, .bank-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.bank-table th { background: #f8fafc; font-weight: 700; white-space: nowrap; }
.bank-table tr:last-child td { border-bottom: none; }
.bank-table .rate { font-weight: 800; color: var(--accent); }

/* Calculator */
.calc-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 28px 0;
  box-shadow: var(--shadow);
}
.calc-section h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.calc-section .calc-desc { font-size: 0.9rem; color: var(--text3); margin-bottom: 24px; }

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.calc-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 6px;
}
.calc-field input, .calc-field select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-body);
  background: #fff;
}
.calc-field input:focus, .calc-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.calc-results { margin-top: 24px; }
.calc-results h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.calc-sort-hint { font-size: 0.8rem; font-weight: 600; color: var(--text3); margin-bottom: 12px; }

.result-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.result-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}
.result-card--best {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(5, 150, 105, 0.2);
}
.result-card__bank { font-weight: 800; font-size: 1rem; color: var(--text); }
.result-card__product { font-size: 0.8rem; color: var(--text3); margin-top: 2px; }
.result-card__nums { text-align: right; }
.result-card__pay { font-size: 1.25rem; font-weight: 800; color: var(--accent); }
.result-card__sub { font-size: 0.75rem; color: var(--text3); }
.badge-best {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--accent);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.calc-disclaimer {
  font-size: 0.75rem;
  color: var(--text3);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text3);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text2); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }

/* Page header (inner pages) */
.page-hero {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border);
  padding: 36px 0 32px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(16, 185, 129, 0) 70%);
}
.page-hero::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.17) 0%, rgba(59, 130, 246, 0) 72%);
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.page-hero .lead { color: var(--text2); max-width: 720px; }

/* Footer */
.footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 40px 0 28px;
  font-size: 0.875rem;
}
.footer a { color: #cbd5e1; }
.footer a:hover { color: #6ee7b7; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}
.footer h4 { color: #f1f5f9; font-size: 0.85rem; font-weight: 700; margin-bottom: 12px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Logo list banks */
.bank-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.bank-pill {
  padding: 10px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text2);
}

/* Modal capture form */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 16px;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
}
.modal__dialog {
  position: relative;
  width: min(100%, 460px);
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  z-index: 1;
}
.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.modal__dialog h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.modal__lead {
  color: var(--text2);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.capture-form { display: grid; gap: 8px; }
.capture-form label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text2);
}
.capture-form input {
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 0.95rem;
}
.capture-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.capture-form .btn { margin-top: 8px; }
.capture-note { color: var(--text3); font-size: 0.75rem; }
.capture-success { color: var(--accent); font-weight: 700; font-size: 0.88rem; }
body.modal-open { overflow: hidden; }

/* Conversion and visual upgrades */
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: center;
}
.hero-visual {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
  min-width: 0;
  overflow: hidden;
}
.hero-visual picture {
  display: block;
  width: 100%;
}
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}
.hero-quick-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.hero-proof-item {
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  padding: 10px;
  font-size: 0.78rem;
  color: #dbeafe;
}

.trust-bar {
  margin: 20px 0 28px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #c7d2fe;
  background: linear-gradient(90deg, #eef2ff 0%, #ecfeff 100%);
  color: #1e293b;
  font-size: 0.86rem;
  font-weight: 600;
}

.messenger-dock {
  position: fixed;
  right: 14px;
  bottom: 16px;
  z-index: 260;
  display: grid;
  gap: 8px;
}
.messenger-dock a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24);
}
.messenger-dock__wa { background: #16a34a; }
.messenger-dock__tg { background: #0284c7; }
.messenger-dock__max { background: #7c3aed; }

.quick-capture {
  margin: 16px 0 28px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.quick-capture::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 10px;
  width: 120px;
  height: 36px;
  background: url("img/messenger-strip.svg") no-repeat center / contain;
  opacity: 0.14;
  pointer-events: none;
}
.quick-capture h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}
.quick-capture p {
  margin-bottom: 12px;
  color: var(--text2);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}
.quick-capture .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}

/* ── 960px ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 8px; }

  /* result-card: stack vertically so numbers don't crowd */
  .result-card {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .result-card__nums { text-align: left; }

  /* messenger-dock: compact */
  .messenger-dock { right: 10px; bottom: 10px; }
  .messenger-dock a { padding: 9px 11px; font-size: 0.72rem; }

  /* prevent messenger-dock from covering footer content */
  .footer { padding-bottom: 88px; }
}

/* ── 480px ─────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Layout */
  .layout { padding: 24px 14px 48px; }
  .wrap { padding: 0 14px; }

  /* Hero */
  .hero { padding: 32px 0 40px; }
  .hero h1 { font-size: 1.6rem; }
  .hero-lead { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-quick-proof { grid-template-columns: 1fr; }

  /* Page hero inner pages */
  .page-hero { padding: 24px 0 20px; }
  .page-hero h1 { font-size: 1.4rem; }

  /* Cards grid */
  .cards-3 { grid-template-columns: 1fr; }

  /* Calculator */
  .calc-section { padding: 18px 14px; }
  .calc-grid { grid-template-columns: 1fr; }
  .result-card__pay { font-size: 1.05rem; }
  .result-card__sub { font-size: 0.7rem; }

  /* Quick capture buttons */
  .quick-capture .actions { flex-direction: column; }
  .quick-capture .actions .btn { width: 100%; text-align: center; justify-content: center; }

  /* Ad sidebar — single column on mobile */
  .promo-sidebar { flex-direction: column !important; }

  /* Messenger dock — stack icons only on very small screens */
  .messenger-dock { right: 8px; bottom: 8px; gap: 6px; }
  .messenger-dock a { padding: 10px; font-size: 0; width: 44px; height: 44px; justify-content: center; border-radius: 50%; }
  .messenger-dock a::before { font-size: 0.7rem; font-weight: 800; }
  .messenger-dock__wa::before { content: "WA"; font-size: 0.65rem; }
  .messenger-dock__tg::before { content: "TG"; font-size: 0.65rem; }
  .messenger-dock__max::before { content: "MAX"; font-size: 0.55rem; }

  /* Footer */
  .footer { padding-bottom: 72px; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Prose */
  .prose h2 { font-size: 1.15rem; }
  .calc-section h2 { font-size: 1.1rem; }

  /* Trust bar */
  .trust-bar { font-size: 0.8rem; padding: 10px 12px; }

  /* Section title */
  .section-title { font-size: 1.3rem; }

  /* Ad inline banner images */
  .promo-inline--img { margin: 16px 0; }
}
