/* ABAQK's US adaptation of the supplied shelf / glass-case page template. */
:root {
  --ink: #12151c;
  --ink-2: #344153;
  --ink-3: #5a6675;
  --navy: #233b58;
  --navy-2: #304d6f;
  --line: #cfd8e3;
  --bg: #fff;
  --bg-soft: #eef2f6;
  --max: 1160px;
  --radius: 12px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --display: 'Anybody', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
body { font-family: var(--font); line-height: 1.64; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.14; letter-spacing: -.015em; }
h1 { font-size: clamp(1.85rem, 4.2vw, 2.8rem); }
h2 { font-size: clamp(1.45rem, 2.7vw, 2rem); margin-top: 1.75em; }
h3 { font-size: clamp(1.13rem, 2vw, 1.35rem); margin-top: 1.5em; }
.wrap { padding-left: 20px; padding-right: 20px; }
main { padding-bottom: 26px; }
main p, main li:not(.op-row) { max-width: 76ch; }
code { overflow-wrap: anywhere; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #3b638c; outline-offset: 3px; }

/* Age strip and navigation repeat on every served page. */
.site-age { background: #0e1116; color: #fff; font-size: .76rem; text-align: center; padding: 6px 12px; line-height: 1.4; }
.site-age a { color: #fff; text-underline-offset: 2px; }
.site-age strong { color: #ffd783; margin-left: 4px; }
.age-pill { display: inline-block; background: #dc4747; color: #fff; font-family: var(--mono); font-weight: 700; border-radius: 5px; padding: 1px 7px; margin-right: 7px; }
.site-header { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(18,21,28,.04); }
.site-header .wrap { min-height: 64px; }
.brand { font-family: var(--display); color: var(--ink); font-size: 1.19rem; letter-spacing: -.02em; }
.brand .tld { color: var(--navy); }
.site-nav a { color: var(--ink); font-size: .85rem; font-weight: 700; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--navy); text-decoration: underline; text-underline-offset: 5px; }
.nav-toggle { border-color: var(--line); color: var(--ink); width: 44px; height: 44px; padding: 0; }
@media (max-width: 899px) {
  .site-header .wrap { flex-wrap: wrap; }
  .site-nav { order: 3; }
  .site-nav > .nav-list { padding: 0 0 12px; }
  .site-nav a { border-bottom-color: var(--line); padding: 10px 4px; }
}

/* The reference's compact placard and featured pick. */
.hero { background: linear-gradient(180deg, var(--bg-soft), #fff); color: var(--ink); border-bottom: 1px solid var(--line); padding: 25px 0 28px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(260px, .68fr); column-gap: 30px; align-items: center; }
.hero .breadcrumbs { grid-column: 1 / -1; padding: 0 0 12px; }
.hero-copy { min-width: 0; }
.hero h1 { color: var(--ink); max-width: 26ch; margin: 0 0 .25em; }
.hero .byline { color: var(--ink-3); font-size: .78rem; margin: 0 0 14px; }
.hero .byline a { color: var(--navy); font-weight: 700; }
.hero .byline .updated { color: var(--ink-3); }
.hero-copy > p:not(.byline) { color: var(--ink-2); font-size: 1rem; line-height: 1.55; max-width: 62ch; margin: 0; }
.feature-case { background: var(--navy); border-radius: var(--radius); padding: 11px; box-shadow: 0 14px 30px -14px rgba(18,21,28,.5); }
.feature-case-inner { background: linear-gradient(155deg,#f7f9fb,#fff 62%); border-radius: 8px; padding: 15px; position: relative; overflow: hidden; }
.feature-case-inner::after { content: ''; position: absolute; top: -40%; left: -35%; width: 70%; height: 180%; transform: rotate(18deg); background: linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent); pointer-events: none; }
.feature-case-inner > * { position: relative; z-index: 1; }
.case-label { display: inline-block; font: 600 .57rem var(--mono); letter-spacing: .08em; background: var(--navy); color: #fff; border-radius: 999px; padding: 5px 10px; margin-bottom: 10px; }
.case-slot { position: absolute; top: 16px; right: 15px; font: 600 .57rem var(--mono); color: var(--ink-3); }
.case-logo { height: 70px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 11px; padding: 7px; }
.case-logo img { max-height: 54px; width: auto; max-width: 100%; object-fit: contain; }
.case-name { display: block; font: 800 1.04rem var(--display); margin-bottom: 2px; }
.case-offer { color: var(--ink-2); font-size: .85rem; margin: 0 0 12px; }
.hero .case-offer { color: var(--ink-2); }
.case-terms { display: block; margin-top: 6px; text-align: center; color: var(--ink-3); font: .55rem var(--mono); }
.trust-strip { background: #f7f9fb; color: var(--ink-2); border-bottom: 1px solid var(--line); padding: 9px 0; font-size: .7rem; }
.trust-strip .wrap { gap: 7px; }
.trust-strip span { border: 1px solid var(--line); background: #fff; color: var(--ink-3); border-radius: 999px; padding: 4px 10px; font-family: var(--mono); }
.trust-strip b { color: var(--ink); }

/* Ranked shelf rows and their controls. */
.ranking-controls { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0 14px; }
.ranking-controls button, .ranking-more button { background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; font: 600 .68rem var(--mono); padding: 9px 14px; cursor: pointer; min-height: 40px; }
.ranking-controls button[aria-pressed='true'] { background: var(--navy); border-color: var(--navy); color: #fff; }
.ranking-more { text-align: center; margin: 10px 0 18px; }
.ranking-more button { border-color: var(--navy); color: var(--navy); padding: 12px 22px; }
.ranking-more[hidden], .toplist .op-row[hidden] { display: none !important; }
.toplist { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 10px; }
.toplist li.op-row { display: grid; grid-template-columns: 62px 132px minmax(120px,1fr) minmax(180px,1.18fr) 168px; grid-template-areas: 'rank logo name offer cta'; gap: 14px; align-items: center; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 15px; box-shadow: none; }
.toplist li.op-row:nth-child(even) { background: var(--bg-soft); }
.toplist li.op-row.top-pick { background: #fff; border: 2px solid var(--navy); box-shadow: 0 12px 26px -16px rgba(35,59,88,.55); }
.top-pick-flag { position: static; grid-column: 3 / 5; grid-row: 1; justify-self: start; align-self: start; transform: translateY(-23px); background: var(--navy); color: #fff; font: 600 .58rem var(--mono); letter-spacing: .07em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.op-rank { color: #fff; background: var(--navy); font: 600 1.02rem var(--mono); border-radius: 7px; padding: 7px 3px; letter-spacing: .04em; align-self: center; }
.op-rank::after { content: 'SLOT'; display: block; position: absolute; color: var(--ink-3); font: 500 .49rem var(--mono); letter-spacing: .04em; margin-top: 9px; left: 50%; transform: translateX(-50%); }
.op-rank { position: relative; margin-bottom: 16px; }
.op-logo { background: #fff; border: 1px solid var(--line); border-radius: 9px; min-height: 62px; padding: 8px; }
.op-logo img { max-height: 46px; max-width: 108px; }
.op-name { font: 800 1.03rem var(--display); line-height: 1.25; }
.op-offer { font-size: .87rem; line-height: 1.45; color: var(--ink-2); }
.op-offer b { font-family: var(--display); font-weight: 800; color: var(--ink); }
.op-meta { font-size: .77rem; line-height: 1.4; color: var(--ink-3); margin-top: 3px; }
.op-cta { text-align: center; }
.btn-cta { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 46px; border-radius: 9px; font-size: .88rem; font-weight: 700; line-height: 1.25; box-shadow: 0 6px 14px -8px rgba(0,0,0,.4); padding: 12px 15px; }
.btn-cta:hover { background: var(--cta-hover); }
.feature-case .btn-cta, .op-cta .btn-cta { width: 100%; }
.btn-cta small { margin-top: 3px; font-size: .62rem; }

/* Reviews, factual tables, FAQ, author and step-by-step guidance. */
.review { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); padding: 20px; margin-top: 22px; }
.review-head { margin-bottom: 12px; }
.review-head .op-logo { background: #fff; min-width: 120px; }
.review h3 { margin: .25em 0; }
.pros, .cons { background: #fff; border-radius: 9px; }
.pros h4, .cons h4 { font: 600 .64rem var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.table-scroll { border: 1px solid var(--line); border-radius: var(--radius); margin: 18px 0; }
table.compare { font-size: .84rem; }
table.compare thead th { font: 600 .64rem var(--mono); letter-spacing: .04em; background: var(--navy); }
table.compare td, table.compare th { padding: 11px 12px; }
table.compare tbody tr:nth-child(even) { background: var(--bg-soft); }
.callout { border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 9px; background: var(--bg-soft); padding: 15px 17px; }
.faq { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.faq details { background: var(--bg-soft); margin: 0; }
.faq summary { font-family: var(--display); font-size: .94rem; }
.faq .faq-a { color: var(--ink-2); font-size: .86rem; }
.author-box { background: var(--bg-soft); padding: 22px; gap: 20px; }
.author-avatar { width: 70px; height: 70px; border: 3px solid var(--navy-2); font-family: var(--display); }
.steps li::before { background: var(--navy); font-family: var(--mono); border-radius: 7px; }
.toc { background: var(--bg-soft); }

/* Compact informational pages use the same type and surface palette. */
.info-page main > .wrap, .info-page main.wrap { max-width: 900px; }
.info-page main h1 { max-width: 24ch; font-size: clamp(1.9rem,4vw,2.65rem); margin: 28px 0 8px; }
.info-page main > .wrap > p.updated, .info-page main.wrap > p.updated { font: .7rem var(--mono); color: var(--ink-3); }
.info-page main > .wrap > h1::before, .info-page main.wrap > h1::before { content: 'ABAQK / INFORMATION'; display: block; font: 600 .62rem var(--mono); color: var(--navy); letter-spacing: .1em; margin-bottom: 15px; }

/* Dark four-column footer from the reference, with US help information. */
.site-footer { background: #12151c; color: #e4e9f0; margin-top: 44px; }
.site-footer .cols { grid-template-columns: 1.5fr repeat(3,minmax(0,1fr)); gap: 26px; padding: 42px 20px 18px; }
.site-footer h4 { font: 600 .62rem var(--mono); letter-spacing: .09em; text-transform: uppercase; opacity: .8; margin: 0 0 12px; }
.site-footer .cols > div:first-child h4 { font: 800 1.15rem var(--display); letter-spacing: -.01em; text-transform: none; opacity: 1; }
.site-footer .cols > div:first-child p { font-size: .83rem; opacity: .83; }
.site-footer li { margin: 5px 0; }
.site-footer a { color: #e4e9f0; }
.rg-bar { color: #b9c6d8; font-size: .74rem; }
.badge-18 { border-radius: 5px; width: auto; min-width: 36px; height: 29px; padding: 2px 5px; border-color: #dc4747; color: #fff; background: #dc4747; font-family: var(--mono); }

@media (max-width: 1050px) {
  .toplist li.op-row { grid-template-columns: 52px 120px minmax(0,1fr) 160px; grid-template-areas: 'rank logo name cta' 'rank logo offer cta'; }
  .top-pick-flag { grid-column: 3 / 4; }
  .op-rank { margin: 0 0 16px; }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .hero .breadcrumbs { grid-column: 1; }
  .feature-case { display: none; }
  .site-footer .cols { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-age { font-size: .7rem; }
  .site-age strong::before { content: '·'; color: #fff; margin-right: 7px; }
  .age-long { display: none; }
  .hero { padding: 14px 0; }
  .hero h1 { font-size: clamp(1.35rem,5.6vw,1.75rem); line-height: 1.2; margin-bottom: .27em; max-width: none; }
  .has-top .breadcrumbs, .hero-copy > p:not(.byline) { display: none; }
  .hero .byline { margin: 0; font-size: .72rem; }
  .trust-strip { display: none; }
  body.has-top main { padding-top: 0; }
  body.has-top main h2:first-of-type { font-size: 1.18rem; margin-top: 14px; margin-bottom: 6px; }
  body.has-top main p:has(+ .ranking-controls), body.has-top main p:has(+ .toplist) { display: none; }
  .toplist { margin-top: 12px; }
  .toplist li.op-row, .toplist li.op-row.top-pick { grid-template-columns: 52px minmax(0,1fr); grid-template-areas: 'rank logo' 'name name' 'offer offer' 'cta cta'; gap: 8px 12px; padding: 12px; }
  .top-pick-flag { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; transform: translateY(-23px); }
  .op-logo { width: 160px; max-width: 100%; min-height: 58px; justify-self: start; }
  .op-name { font-size: 1.06rem; }
  .op-cta .btn-cta { min-height: 48px; }
  .ranking-controls { display: none; }
  .ranking-controls button { flex: 0 0 auto; }
  .faq { grid-template-columns: minmax(0,1fr); }
  .site-footer .cols { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .author-box { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
