/* =========================================
   PeonyWolf — Depósito Prelanding ES
   ========================================= */

:root {
  --blue:       #0f7d68;
  --blue-dark:  #0b5f4f;
  --blue-light: #e4f4ee;
  --green:      #2f9e64;
  --green-bg:   #eaf7ee;
  --orange:     #c26a12;
  --red:        #c0342b;
  --gray-50:    #f8f9f7;
  --gray-100:   #f0f2ef;
  --gray-200:   #e2e6e1;
  --gray-300:   #cdd3cb;
  --gray-400:   #9aa295;
  --gray-500:   #6c7469;
  --gray-600:   #545c50;
  --gray-700:   #38403a;
  --gray-900:   #131813;
  --white:      #ffffff;
  --radius:     14px;
  --shadow:     0 2px 6px rgba(18,30,20,.08), 0 6px 20px rgba(18,30,20,.06);
  --shadow-lg:  0 10px 36px rgba(18,30,20,.14);
  --font:       'Sora', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ---- AD LABEL ---- */
.promo-tag {
  background: var(--gray-900);
  color: var(--white);
  font-size: 11px;
  text-align: center;
  padding: 4px 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---- HEADER ---- */
.masthead {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.masthead-row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brandmark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  color: var(--gray-900);
  text-decoration: none;
  flex-shrink: 0;
}
.brandmark-dot { color: var(--blue); font-size: 14px; }
.brandmark-suffix { color: var(--blue); }

.navlinks {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.navlinks a {
  color: var(--gray-700);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.navlinks a:hover { color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background .15s;
}
.nav-cta:hover { background: var(--blue-dark); }

/* ---- HERO ---- */
.intro {
  position: relative;
  color: var(--white);
  padding: 60px 0 64px;
  text-align: center;
  overflow: hidden;
}
.intro-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-color: #0d2b24;
  z-index: 0;
}
.intro-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,43,36,.95) 0%, rgba(13,68,58,.85) 55%, rgba(15,125,104,.7) 100%);
}
.intro .shell { position: relative; z-index: 1; }

.intro-tag {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: .02em;
}

.intro-heading {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.intro-heading .accent-word {
  color: #f2b134;
}

.intro-sub {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  max-width: 620px;
  margin: 0 auto 12px;
}
.intro-fineprint {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  max-width: 620px;
  margin: 0 auto 28px;
}

/* HERO CALC */
.calc-panel {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 32px 24px;
  max-width: 700px;
  margin: 0 auto 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
  text-align: left;
}

.calc-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.calc-cell label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
}

.calc-cell input,
.calc-cell select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 16px;
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color .15s;
}
.calc-cell input:focus,
.calc-cell select:focus { border-color: var(--blue); }

.calc-output {
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
  padding-top: 4px;
}

/* BUTTONS */
.cta-solid {
  display: inline-block;
  background: var(--blue);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .15s, transform .1s;
  white-space: nowrap;
}
.cta-solid:hover { background: var(--blue-dark); transform: translateY(-1px); }

.cta-full { display: block; width: 100%; text-align: center; }
.cta-lg { font-size: 18px; padding: 16px 40px; }

.intro-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255,255,255,.8);
}

/* ---- STATS BAR ---- */
.metrics-bar {
  background: var(--gray-900);
  color: var(--white);
  padding: 20px 0;
}

.metrics-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}

.metric {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.metric strong { font-size: 22px; font-weight: 800; color: #f2b134; }
.metric span { font-size: 12px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .04em; }

/* ---- SECTIONS ---- */
.block { padding: 76px 0; }
.block-tint { background: var(--gray-50); }

.block-heading {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}

.block-subheading {
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 32px;
}

/* ---- FILTER ---- */
.tabs-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--gray-500);
}

.tab-btn {
  padding: 6px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  font-family: var(--font);
  color: var(--gray-700);
}
.tab-btn:hover,
.tab-btn.is-current {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* ---- OFFER CARDS ---- */
.deal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deal-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .15s;
}
.deal-card:hover { box-shadow: var(--shadow-lg); }

.deal-card.deal-card-top {
  border-color: var(--blue);
  border-width: 2px;
}

.deal-card.deal-card-bank {
  opacity: .95;
}

.deal-ribbon {
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 20px;
  letter-spacing: .04em;
}

.deal-sponsor-tag {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 20px;
  letter-spacing: .03em;
}

.deal-row {
  display: grid;
  grid-template-columns: 190px 140px 168px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 22px 26px;
}

.deal-brand {}
.deal-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.mark-xtb    { background: #ff0000; color: var(--white); }
.mark-tr     { background: #0b0b0b; color: var(--white); font-size: 13px; }
.mark-etoro  { background: #6dc849; color: var(--white); }
.mark-bank   { background: var(--gray-200); color: var(--gray-700); font-size: 12px; }
.mark-ing    { background: #ff6200; color: var(--white); font-size: 12px; }
.mark-bbva   { background: #004481; color: var(--white); font-size: 11px; }
.mark-caixa  { background: #007bc4; color: var(--white); font-size: 12px; }
.mark-sant   { background: #ec0000; color: var(--white); font-size: 11px; }

.deal-brand-name { font-size: 15px; font-weight: 700; color: var(--gray-900); }
.deal-brand-sub  { font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.deal-brand-tag  { font-size: 11px; color: var(--blue); font-weight: 600; margin-top: 4px; }

.deal-rate { text-align: center; }
.deal-rate-num {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}
.deal-rate-label { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.deal-rate-sub   { font-size: 11px; color: var(--gray-400); margin-top: 2px; }

.deal-safety { text-align: center; }
.deal-safety-sub { font-size: 11px; color: var(--gray-500); margin-top: 4px; }

.deal-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.deal-perks li {
  font-size: 13px;
  color: var(--gray-700);
  padding-left: 18px;
  position: relative;
}
.deal-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.deal-cta {
  display: inline-block;
  background: var(--green);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 8px;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background .15s, transform .1s;
  flex-shrink: 0;
}
.deal-cta:hover { background: #1f7a49; transform: translateY(-1px); }

.deal-cta-ghost {
  background: var(--white) !important;
  color: var(--gray-700) !important;
  border: 1.5px solid var(--gray-300);
}
.deal-cta-ghost:hover { border-color: var(--blue); color: var(--blue) !important; background: var(--white) !important; transform: none; }

.deal-foot {
  border-top: 1px solid var(--gray-100);
  display: flex;
  flex-wrap: wrap;
}

.deal-panel {
  flex: 1;
  min-width: 200px;
  border-right: 1px solid var(--gray-100);
}
.deal-panel:last-child { border-right: none; }

.deal-panel summary {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600, #4b5563);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  transition: background .1s;
}
.deal-panel summary:hover { background: var(--gray-50); }
.deal-panel summary::-webkit-details-marker { display: none; }
.deal-panel summary::after {
  content: '▾';
  font-size: 12px;
  color: var(--gray-400);
  margin-left: auto;
  transition: transform .2s;
}
.deal-panel[open] summary::after { transform: rotate(180deg); }

.deal-panel-body {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--gray-100);
}

.deal-panel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.deal-panel-table tr { border-bottom: 1px solid var(--gray-100); }
.deal-panel-table tr:last-child { border-bottom: none; }
.deal-panel-table td { padding: 7px 8px; vertical-align: top; }
.deal-panel-table td:first-child { color: var(--gray-500); width: 44%; }

.deal-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}
.deal-score {}
.deal-score-label { font-size: 12px; color: var(--gray-500); margin-bottom: 4px; }
.deal-score-track {
  height: 5px;
  background: var(--gray-200);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 3px;
}
.deal-score-fill {
  height: 100%;
  background: var(--green);
  border-radius: 100px;
}
.deal-score-value { font-size: 12px; font-weight: 700; color: var(--gray-700); }
.deal-score-total {
  margin-top: 14px;
  font-size: 14px;
  color: var(--gray-700);
  border-top: 1px solid var(--gray-100);
  padding-top: 10px;
}
.deal-score-note {
  font-size: 11px;
  color: var(--gray-400);
  margin-bottom: 12px;
  font-style: italic;
}

.deal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-400);
}
.deal-divider::before,
.deal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

/* ---- TABLE ---- */
.rate-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 15px;
}

.rate-table thead th {
  background: var(--gray-50);
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-500);
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}

.rate-table tbody tr {
  border-bottom: 1px solid var(--gray-100);
  transition: background .1s;
}
.rate-table tbody tr:last-child { border-bottom: none; }
.rate-table tbody tr:hover { background: var(--gray-50); }

.rate-table tbody td {
  padding: 16px;
  vertical-align: middle;
}

/* TOP rows highlight */
.row-hi { background: #fffbeb; }
.row-hi:hover { background: #fff7d6 !important; }

.row-cell { display: flex; flex-direction: column; gap: 3px; }
.row-name { font-weight: 700; font-size: 15px; }
.row-sub { font-size: 12px; color: var(--gray-500); }

.row-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--gray-200);
  color: var(--gray-700);
  width: fit-content;
}
.row-badge.is-top { background: #f2b134; color: #7a5c00; }
.row-badge.is-hot { background: #e8491f; color: var(--white); }

.rate-fig {
  font-size: 22px;
  font-weight: 800;
}
.rate-fig-top { color: var(--green); }
.rate-fig-high { color: #059669; }
.rate-fig-normal { color: var(--blue); }
.rate-fig-low { color: var(--gray-500); }

.safety-chip {
  font-size: 12px;
  background: var(--green-bg);
  color: var(--green);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}

.link-cta {
  display: inline-block;
  background: var(--green);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 7px;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background .15s, transform .1s;
}
.link-cta:hover { background: #1f7a49; transform: translateY(-1px); }

.link-cta-ghost {
  display: inline-block;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-700) !important;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 7px;
  white-space: nowrap;
  text-decoration: none !important;
  transition: all .15s;
}
.link-cta-ghost:hover { border-color: var(--blue); color: var(--blue) !important; }

.rate-table-note {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 12px;
  text-align: center;
}

/* ---- EXPLAINER ---- */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.reason-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.reason-card-hi {
  border-color: var(--blue);
  background: var(--blue-light);
  position: relative;
}

.reason-icon { font-size: 32px; margin-bottom: 12px; }

.reason-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.reason-card p { font-size: 14px; color: var(--gray-700); line-height: 1.6; }

/* ---- STEPS ---- */
.howto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 52px;
}

.howto-step {
  text-align: center;
}

.howto-num {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--blue);
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.howto-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.howto-step p { font-size: 14px; color: var(--gray-500); }

/* ---- FAQ ---- */
.qa-list {
  max-width: 760px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qa-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.qa-item summary {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform .2s;
}
.qa-item[open] summary::after {
  content: '−';
}

.qa-item p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
  border-top: 1px solid var(--gray-100);
  padding-top: 14px;
}

/* ---- CTA BANNER ---- */
.closer-banner {
  background: linear-gradient(90deg, #0d2b24, #0f7d68);
  color: var(--white);
  padding: 56px 0;
}

.closer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.closer-row h2 {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
  margin-bottom: 8px;
}
.closer-row p { color: rgba(255,255,255,.8); font-size: 16px; }

/* ---- FOOTER ---- */
.bottom {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding: 56px 0 32px;
}

.bottom-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.bottom-brand .brandmark-text,
.bottom-brand .brandmark-dot { color: var(--white); }
.bottom-brand .brandmark-suffix { color: var(--blue); }

.bottom-desc {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.5);
}

.bottom strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--white);
  margin-bottom: 12px;
}

.bottom ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bottom ul a {
  color: rgba(255,255,255,.6);
  font-size: 14px;
  text-decoration: none;
}
.bottom ul a:hover { color: var(--white); }

.fine-print-box {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,.45);
  margin-bottom: 24px;
}

.bottom-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.3);
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .reason-grid,
  .howto-grid { grid-template-columns: 1fr; }

  .bottom-grid { grid-template-columns: 1fr 1fr; }

  .calc-grid { grid-template-columns: 1fr 1fr; }
  .calc-output-wrap { grid-column: 1 / -1; }
}

/* ---- COOKIE BANNER ---- */
.consent-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gray-900);
  color: rgba(255,255,255,.85);
  padding: 16px 20px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}

.consent-row {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.consent-row p {
  font-size: 13px;
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}
.consent-row p a { color: #8fd6c5; }

.consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.consent-agree {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
}
.consent-agree:hover { background: var(--blue-dark); }

.consent-decline {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.4);
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
}
.consent-decline:hover { border-color: rgba(255,255,255,.7); }

.consent-manage {
  color: rgba(255,255,255,.6);
  font-size: 13px;
  white-space: nowrap;
  text-decoration: underline;
}

/* ---- CALC NOTE ---- */
.calc-footnote {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 10px;
  text-align: center;
  line-height: 1.5;
}

/* ---- RATE NOTE ---- */
.rate-fig-note {
  display: block;
  font-size: 10px;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: .02em;
}

/* ---- INFO LINK ---- */
.aux-link {
  font-size: 12px;
  color: var(--gray-500);
  white-space: nowrap;
  text-decoration: underline;
}
.aux-link:hover { color: var(--blue); }

/* ---- MODAL ---- */
.sheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
}

.sheet-box {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.sheet-loader-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.sheet-spinner {
  width: 52px;
  height: 52px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.sheet-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.sheet-sub {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.6;
}

.sheet-progress {
  height: 6px;
  background: var(--gray-200);
  border-radius: 100px;
  overflow: hidden;
}

.sheet-progress-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 100px;
  transition: width .1s linear;
  width: 0%;
}

.sheet-success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.sheet-note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: #92400e;
  margin-top: 12px;
  text-align: left;
  line-height: 1.5;
}

.sheet-close {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: none;
  border: none;
  color: var(--gray-500);
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .deal-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }
  .deal-brand { grid-column: 1 / -1; }
  .deal-cta { grid-column: 1 / -1; text-align: center; }
}

@media (max-width: 640px) {
  .navlinks { display: none; }
  .intro { padding: 40px 0 36px; }
  .intro-badges { gap: 12px; }
  .calc-panel { padding: 20px 16px 18px; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-output-wrap { grid-column: auto; }
  .metrics-row { gap: 20px; }
  .metric strong { font-size: 18px; }

  .deal-row {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 14px;
  }
  .deal-rate { text-align: left; }
  .deal-safety { text-align: left; }
  .deal-rate-num { font-size: 24px; }
  .deal-scores { grid-template-columns: 1fr 1fr; }

  .bottom-grid { grid-template-columns: 1fr; }
  .closer-row { flex-direction: column; text-align: center; }
  .closer-row .cta-solid { width: 100%; text-align: center; }
}
