/* ABAQK.com — site-wide stylesheet.
   Design rules: ONE accent color (--cta) reserved exclusively for CTA buttons;
   navy/ink palette for everything else; comparison table above the fold;
   trust badges up top; mobile-first. No build step — this file is final CSS. */

:root {
  --ink: #101828;
  --ink-2: #344054;
  --ink-3: #667085;
  --navy: #0b1f3a;
  --navy-2: #12294b;
  --line: #e4e7ec;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --gold: #c9a227;          /* rank/star accents only, never CTAs */
  --cta: #16834a;           /* the ONLY green on the site — CTA buttons */
  --cta-hover: #106538;
  --max: 1120px;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--navy-2); }

h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); margin: 1.4em 0 .5em; }
h1 { font-size: 2rem; margin-top: .4em; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
@media (min-width: 760px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.7rem; }
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* ---------- header ---------- */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 58px;
}
.brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: .04em;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand .tld { color: var(--gold); }
.nav-toggle {
  margin-left: auto;
  background: none;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 6px;
  color: #fff;
  font-size: 1.2rem;
  padding: 4px 10px;
  cursor: pointer;
  display: block;
}
.site-nav { display: none; width: 100%; }
.site-nav.open { display: block; }
.site-nav .nav-list, .site-nav .nav-submenu { list-style: none; margin: 0; }
.site-nav > .nav-list { padding: 8px 0 14px; }
.site-nav a {
  display: block;
  color: #e7ecf3;
  text-decoration: none;
  padding: 9px 4px;
  font-weight: 600;
  font-size: .95rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav .nav-group-head { display: flex; align-items: center; }
.site-nav .nav-group-head > a { flex: 1; min-width: 0; }
.site-nav .nav-subtoggle {
  width: 44px; min-width: 44px; height: 44px;
  border: 0; border-radius: 6px; background: transparent;
  color: inherit; cursor: pointer;
}
.site-nav .nav-subtoggle::after {
  content: ""; display: inline-block; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.site-nav .nav-subtoggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.site-nav .nav-subtoggle:focus-visible { outline: 3px solid var(--navy-2); outline-offset: -3px; }
.site-nav .nav-submenu { display: none; padding: 3px 0 9px 12px; border-left: 2px solid var(--line); }
.site-nav .nav-group.is-open > .nav-submenu { display: block; }
html:not(.nav-js) .site-nav .nav-group:focus-within > .nav-submenu { display: block; }
.site-nav .nav-submenu a { font-size: .86rem; font-weight: 500; padding: 7px 12px; }
.site-nav .nav-subheading { padding: 10px 12px 3px; color: var(--ink-3); font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-nav .nav-group.is-section > .nav-group-head > a { color: var(--navy); }
@media (max-width: 899px) {
  .site-nav { max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; }
  html:not(.nav-js) .site-header:focus-within .site-nav { display: block; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; margin-left: auto; width: auto; }
  .site-nav > .nav-list { display: flex; gap: 4px; align-items: center; padding: 0; }
  .site-nav > .nav-list > li { position: relative; }
  .site-nav > .nav-list > li > a, .site-nav .nav-group-head > a { border: 0; padding: 8px 9px; }
  .site-nav .nav-subtoggle { width: 28px; min-width: 28px; height: 38px; }
  .site-nav .nav-submenu {
    position: absolute; top: calc(100% + 7px); left: 0; z-index: 60;
    min-width: 230px; max-height: min(70vh, 560px); overflow-y: auto;
    background: #fff; border: 1px solid var(--line); border-radius: 9px;
    padding: 6px; box-shadow: 0 14px 30px rgba(16,24,40,.16);
  }
  .site-nav .nav-submenu a { color: var(--ink); border: 0; border-radius: 6px; padding: 9px 12px; line-height: 1.25; }
  .site-nav .nav-submenu a:hover, .site-nav .nav-submenu a[aria-current="page"] { background: var(--bg-soft); color: var(--navy); }
  .site-nav .nav-subheading { border-top: 1px solid var(--line); margin-top: 4px; }
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 26px 0 22px;
}
.hero h1 { color: #fff; margin: 0 0 .35em; }
.hero p { color: #cbd5e4; margin: 0; max-width: 760px; font-size: 1.02rem; }
.hero .byline { margin-top: 10px; font-size: .85rem; color: #9fb0c8; }
.hero .byline a { color: #d7e1ef; }
.byline-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; object-position: center 35%; vertical-align: middle; margin-right: 5px; }

/* trust badge strip — directly under hero, above the toplist */
.trust-strip {
  background: var(--navy-2);
  color: #cbd5e4;
  font-size: .82rem;
  padding: 8px 0;
}
.trust-strip .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.trust-strip span { display: inline-flex; align-items: center; gap: 6px; }
.trust-strip b { color: #fff; font-weight: 700; }

/* ---------- toplist (cards on mobile, table feel on desktop) ---------- */
.toplist { margin: 22px 0 10px; padding: 0; list-style: none; }
.toplist li.op-row {
  display: grid;
  grid-template-columns: 44px 108px 1fr;
  grid-template-areas: "rank logo name" "rank logo offer" "cta cta cta";
  gap: 4px 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}
.toplist li.op-row.top-pick { border: 2px solid var(--gold); position: relative; }
.top-pick-flag {
  position: absolute;
  top: -11px;
  left: 14px;
  background: var(--gold);
  color: #231a02;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 2px 8px;
}
.op-rank {
  grid-area: rank;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink-3);
  text-align: center;
}
.op-logo {
  grid-area: logo;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  min-height: 56px;
}
.op-logo img { max-height: 44px; width: auto; max-width: 92px; object-fit: contain; }
.op-name { grid-area: name; font-weight: 700; font-size: 1.05rem; }
.op-name a { text-decoration: none; }
.op-offer { grid-area: offer; font-size: .92rem; color: var(--ink-2); }
.op-offer b { color: var(--ink); }
.op-meta { font-size: .8rem; color: var(--ink-3); display: block; }
.op-cta { grid-area: cta; }
@media (min-width: 760px) {
  .toplist li.op-row {
    grid-template-columns: 44px 120px 1.4fr 1.6fr 170px;
    grid-template-areas: "rank logo name offer cta";
  }
  .op-cta { text-align: right; }
}

/* ---------- CTA buttons — the only --cta usage on the site ---------- */
.btn-cta {
  display: inline-block;
  background: var(--cta);
  color: #fff !important;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border-radius: 8px;
  padding: 12px 22px;
  width: 100%;
  letter-spacing: .01em;
}
.btn-cta:hover { background: var(--cta-hover); color: #fff; }
.btn-cta small { display: block; font-weight: 500; font-size: .72rem; opacity: .9; }
@media (min-width: 760px) { .btn-cta { width: auto; min-width: 150px; } }

/* ---------- comparison table ---------- */
.table-scroll { overflow-x: auto; margin: 18px 0; -webkit-overflow-scrolling: touch; }
table.compare {
  border-collapse: collapse;
  width: 100%;
  min-width: 720px;
  font-size: .9rem;
  background: #fff;
}
table.compare th, table.compare td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
}
table.compare thead th {
  background: var(--navy);
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
table.compare tbody tr:nth-child(even) { background: var(--bg-soft); }
table.compare .t-logo img { max-height: 30px; max-width: 86px; object-fit: contain; }
table.compare .t-logo { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; display: inline-flex; }
table.compare .btn-cta { padding: 8px 14px; font-size: .85rem; min-width: 0; width: auto; white-space: nowrap; }

/* generic info table (operator fact boxes, tax tables, state tables) */
table.info {
  border-collapse: collapse;
  width: 100%;
  font-size: .92rem;
  margin: 14px 0;
}
table.info th, table.info td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
table.info th { background: var(--bg-soft); width: 38%; font-weight: 700; }
table.info td { overflow-wrap: anywhere; }
.fact-source { font-size: .78rem; line-height: 1.5; color: var(--ink-3); margin: -4px 0 18px; }
.fact-source a { color: var(--navy); }
.operator-unavailable { display: inline-block; padding: .45rem .6rem; border-radius: .35rem; background: #fff2f0; color: #8b2b20; font-size: .82rem; font-weight: 700; line-height: 1.35; }
.operator-unavailable a { color: inherit; text-decoration: underline; }
.btn-cta + .operator-unavailable { display: block; margin-top: 6px; }

/* ---------- mini reviews ---------- */
.review { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 30px; }
.review-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.review-head .op-logo { min-width: 110px; }
.rating { color: var(--gold); font-weight: 800; font-size: 1rem; white-space: nowrap; }
.pros-cons { display: grid; gap: 14px; margin: 16px 0; }
@media (min-width: 700px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros, .cons {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: var(--bg-soft);
}
.pros h4, .cons h4 { margin: 0 0 8px; font-size: .95rem; }
.pros ul, .cons ul { margin: 0; padding-left: 20px; font-size: .92rem; }
.pros li { margin: 4px 0; }
.cons li { margin: 4px 0; }

/* ---------- content helpers ---------- */
.breadcrumbs { font-size: .82rem; color: var(--ink-3); padding: 12px 0 0; }
.breadcrumbs a { color: var(--ink-3); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line); }

.callout {
  border-left: 4px solid var(--navy);
  background: var(--bg-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: .95rem;
}
.callout.rg { border-left-color: var(--gold); }
.callout b { color: var(--ink); }

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 10px 0;
  background: #fff;
}
.faq summary {
  font-weight: 700;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
}
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 12px; font-size: 1.2rem; color: var(--ink-3); }
.faq details[open] summary::after { content: "–"; }
.faq .faq-a { padding: 0 16px 14px; font-size: .95rem; color: var(--ink-2); }

.author-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin: 26px 0;
  background: var(--bg-soft);
  font-size: .92rem;
}
.author-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem; flex: none;
}
img.author-avatar { object-fit: cover; object-position: center 35%; display: block; }
.author-box .author-avatar-large { width: 112px; height: 112px; }
.author-box b a { color: var(--ink); }

.updated { font-size: .82rem; color: var(--ink-3); }

/* steps (how to register / deposit / withdraw) */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 16px 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 14px 46px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #b9c6d8; margin-top: 48px; font-size: .88rem; }
.site-footer .cols { display: grid; gap: 22px; padding: 30px 0 10px; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: #b9c6d8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.rg-bar {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 16px 0 22px;
  font-size: .8rem;
  color: #93a5bd;
}
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold);
  font-weight: 800; font-size: .8rem; margin-right: 10px; flex: none;
}
.rg-bar .row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* misc */
.center { text-align: center; }
.muted { color: var(--ink-3); }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin: 20px 0; font-size: .92rem; background: var(--bg-soft); }
.toc ul { margin: 6px 0 0; padding-left: 20px; }
