/* ReviewMore — cookie consent banner + legal page styles */
.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  max-width: 560px; margin: 0 auto;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--rule); border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px -12px rgba(16, 40, 36, .35);
  padding: 20px 22px;
  font-family: var(--font); font-size: 15px; line-height: 1.5;
}
.cc-banner[hidden] { display: none; }
.cc-title { font-size: 17px; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.01em; }
.cc-text { margin: 0; color: var(--ink-2); }
.cc-text a { color: var(--green-dark); font-weight: 600; }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cc-btn {
  font-family: var(--font); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  padding: 13px 16px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--ink); background: var(--white); color: var(--ink);
}
.cc-btn:hover { background: var(--ink); color: var(--white); }
.cc-btn:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.cc-btn-accept { background: var(--green); border-color: var(--green); color: var(--white); }
.cc-btn-accept:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
@media (min-width: 900px) { .cc-banner { left: 24px; right: auto; bottom: 24px; margin: 0; } }

/* Footer cookie settings link (styled like the other footer links) */
.footer-link-button {
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--white); text-align: inherit;
}
.footer-link-button:hover { color: #4cc96c; }

/* Legal pages (privacy & cookies) */
.legal { padding: clamp(40px, 6vw, 80px) 0; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 36px; }
.legal h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 40px 0 12px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; letter-spacing: -0.01em; }
.legal p { margin: 0 0 14px; color: var(--ink-2); font-size: 17px; }
.legal ul { margin: 0 0 16px; padding-left: 1.2em; color: var(--ink-2); font-size: 17px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--green-dark); font-weight: 600; }
.legal a.btn { color: var(--white); font-weight: 700; }
.legal a.btn-outline { color: var(--ink); }
.legal a.btn-outline:hover { color: var(--white); }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 15px; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.legal th { background: var(--tint); color: var(--ink); font-weight: 700; }
.legal .table-scroll { overflow-x: auto; }
.legal .table-scroll table { min-width: 560px; }

/* Small cookie tab, fixed bottom-left, to reopen the settings */
.cc-tab {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  width: 44px; height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--rule); border-radius: 50%;
  box-shadow: 0 8px 22px -8px rgba(16, 40, 36, .35);
  cursor: pointer;
}
.cc-tab[hidden] { display: none; }
.cc-tab svg { width: 24px; height: 24px; fill: currentColor; }
.cc-tab:hover { background: var(--green-soft); color: var(--green-dark); }
.cc-tab:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
@media (max-width: 720px) {
  /* sit above the sticky "Get my free card" bar on mobile */
  .cc-tab { bottom: calc(86px + env(safe-area-inset-bottom)); width: 40px; height: 40px; }
}

/* Pages without the sticky mobile button: keep the tab in the corner */
@media (max-width: 720px) { .cc-tab.cc-tab-low { bottom: calc(16px + env(safe-area-inset-bottom)); } }
