/* Best Deposit: plain CSS, no framework */
:root {
  --ink: #14212b;
  --muted: #5b6b78;
  --line: #e2e8ee;
  --bg: #ffffff;
  --bg-alt: #f4f7f9;
  --brand: #0f766e;
  --brand-dark: #0b5952;
  --brand-soft: #e6f4f2;
  --accent: #f59e0b;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 33, 43, .06), 0 4px 16px rgba(20, 33, 43, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--brand); }
code { background: var(--bg-alt); padding: .1em .35em; border-radius: 4px; font-size: .9em; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Buttons */
.btn {
  display: inline-block; border: 1px solid var(--brand); background: var(--brand); color: #fff;
  padding: .75em 1.3em; border-radius: 999px; text-decoration: none; font-weight: 600; cursor: pointer;
  font-size: 1rem; transition: background .15s;
}
.btn:hover { background: var(--brand-dark); }
.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--brand-soft); }
.btn--small { padding: .45em .95em; font-size: .875rem; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.topbar__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.logo__mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--brand); color: #fff; font-size: .95rem; }
.logo--light { color: #fff; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--brand); }

/* Hero */
.hero { background: linear-gradient(160deg, var(--brand-soft) 0%, #fff 70%); padding: 72px 0 64px; }
.hero__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--brand); }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.02em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.hero__banks { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.hero__banks li { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .25em .8em; font-size: .85rem; color: var(--muted); }
.hero__card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; border: 1px solid var(--line); }
.hero__card h2 { font-size: 1.1rem; }
.best-list { list-style: none; padding: 0; margin: 0 0 12px; }
.best-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.best-list li:last-child { border-bottom: 0; }
.best-list .cur { font-weight: 700; width: 3.2em; }
.best-list .who { flex: 1; font-size: .9rem; color: var(--muted); }
.best-list .rate { font-size: 1.5rem; font-weight: 800; color: var(--brand); }

/* Sections */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; }
.section__lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 32px; }
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card, .feature, .review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3, .feature h3 { font-size: 1.1rem; }
.card p, .feature p { color: var(--muted); margin: 0; }
.solution { margin-top: 28px; padding: 18px 22px; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 var(--radius) var(--radius) 0; font-weight: 500; }
.feature__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-size: 1.3rem; margin-bottom: 14px; }

/* Top picks */
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: 28px; }
.pick { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.pick__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); font-weight: 700; }
.pick__rate { font-size: 1.9rem; font-weight: 800; }
.pick__name { font-weight: 600; }
.pick__meta { font-size: .85rem; color: var(--muted); }

/* Filters */
.filters { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; display: grid; gap: 14px; }
.filters__row { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.filters__row--bar { align-items: center; border-top: 1px solid var(--line); padding-top: 14px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; font-weight: 600; color: var(--muted); min-width: 150px; flex: 1; }
.field--inline { flex-direction: row; align-items: center; gap: 8px; flex: 0 0 auto; min-width: 0; }
.field input, .field select {
  font: inherit; font-size: .95rem; font-weight: 400; color: var(--ink);
  padding: .55em .7em; border: 1px solid #cfd8e0; border-radius: 8px; background: #fff;
}
.field input:focus, .field select:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips legend { font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: .35em .8em; border: 1px solid #cfd8e0; border-radius: 999px; background: #fff; font-size: .88rem; cursor: pointer; user-select: none; }
.chip:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.chip input { accent-color: var(--brand); margin: 0; }
.spacer { flex: 1; }

/* Results table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.results, .compare__table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.results th, .results td, .compare__table th, .compare__table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.results thead th { background: #fff; position: sticky; top: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.results tbody tr:hover { background: #fafcfd; }
.results .group-row td { background: var(--brand-soft); font-weight: 700; color: var(--brand-dark); }
.results .group-row .muted { font-weight: 400; }
.col-cmp { width: 36px; text-align: center !important; }
.results td.col-cmp input { accent-color: var(--brand); width: 16px; height: 16px; }
.bank { font-weight: 700; }
.product { color: var(--muted); }
.product a { color: inherit; }
.rate-big { font-size: 1.15rem; font-weight: 800; color: var(--brand); white-space: nowrap; }
.rate-split { white-space: nowrap; color: var(--muted); }
.earn { font-weight: 700; white-space: nowrap; }
.tag { display: inline-block; font-size: .72rem; padding: .15em .55em; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); margin: 0 4px 4px 0; white-space: nowrap; }
.tag--on { background: var(--brand-soft); border-color: #b5ddd8; color: var(--brand-dark); }
.tag--warn { background: #fff7e6; border-color: #fcd9a0; color: #8a5300; }
.note { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.empty { padding: 28px; text-align: center; color: var(--muted); margin: 0; }

/* Compare */
.compare { margin-top: 28px; }
.compare__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.compare__head h3 { margin: 0; }
.compare__table th { width: 180px; background: var(--bg-alt); font-weight: 600; }
.compare__table td.best { background: var(--brand-soft); font-weight: 700; }

/* Proof */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat strong { display: block; font-size: 2.2rem; color: var(--brand); }
.stat span { color: var(--muted); font-size: .9rem; }
.sub { font-size: 1.3rem; }
.notice { margin-top: -6px; }
.review { margin: 0; display: flex; flex-direction: column; justify-content: space-between; }
.review blockquote { margin: 0 0 16px; font-size: 1.02rem; }
.review figcaption { font-size: .85rem; color: var(--muted); }
.stars { color: var(--accent); letter-spacing: 2px; display: block; }

/* FAQ */
details { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; margin-bottom: 12px; background: #fff; }
details[open] { box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--brand); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); }

/* Footer */
.footer { background: #0e1a22; color: #c2ccd4; padding: 56px 0 24px; }
.footer a { color: #c2ccd4; }
.footer h4 { color: #fff; font-size: .95rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
.footer__bottom { border-top: 1px solid #22323d; margin-top: 36px; padding-top: 18px; }

/* Responsive */
@media (max-width: 900px) {
  .hero__inner, .grid--3, .footer__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .topbar .btn { margin-left: auto; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .section { padding: 52px 0; }
  .hero { padding: 48px 0; }
}

/* Language switcher */
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { border: 0; background: #fff; color: var(--muted); font: inherit; font-size: .8rem; font-weight: 700; padding: .4em .75em; cursor: pointer; }
.lang button + button { border-left: 1px solid var(--line); }
.lang button:hover { color: var(--brand); }
.lang button[aria-pressed="true"] { background: var(--brand); color: #fff; }
@media (max-width: 900px) { .lang { margin-left: auto; } .topbar .btn { margin-left: 0; } }
@media (max-width: 480px) { .topbar .btn { display: none; } }

/* About page */
.nav a[aria-current="page"] { color: var(--brand); }
.hero--page { padding: 64px 0 56px; }
.section .wrap--narrow > p { font-size: 1.05rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps__num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps h3 { font-size: 1.05rem; }
.contact { text-align: center; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
