/* CryptoWagerIndex — single stylesheet, no images, no scripts, no web fonts. */
:root {
  --bg: #ffffff; --fg: #15202b; --muted: #5b6b7b; --line: #e3e8ee; --soft: #f5f7fa;
  --accent: #0b6e4f; --accent-fg: #ffffff; --pill: #e6f4ee; --pill-fg: #0b6e4f;
  --warn: #fff6e5; --warn-fg: #7a4b00; --max: 840px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1720; --fg: #e6edf3; --muted: #9fb0c0; --line: #233140; --soft: #16212c;
    --accent: #4fc08d; --accent-fg: #0f1720; --pill: #173326; --pill-fg: #7fe0b3;
    --warn: #2a2110; --warn-fg: #f1c27d;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1720; --fg: #e6edf3; --muted: #9fb0c0; --line: #233140; --soft: #16212c;
  --accent: #4fc08d; --accent-fg: #0f1720; --pill: #173326; --pill-fg: #7fe0b3;
  --warn: #2a2110; --warn-fg: #f1c27d;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-fg); padding: .5rem 1rem; }
.skip:focus { left: 1rem; z-index: 10; }

/* top disclosure bar */
.disclosure-bar { margin: 0; padding: .45rem 1rem; font-size: .85rem; text-align: center; background: var(--soft); border-bottom: 1px solid var(--line); color: var(--muted); }

/* header */
.site-header { max-width: var(--max); margin: 0 auto; padding: .9rem 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; border-bottom: 1px solid var(--line); }
.wordmark { font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; text-decoration: none; color: var(--fg); margin-right: auto; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
.site-header nav a { text-decoration: none; color: var(--fg); font-size: .95rem; }
.site-header nav a:hover { text-decoration: underline; }
.site-header nav li.has-sub { position: relative; }
.site-header nav li.has-sub > ul { display: none; position: absolute; left: 0; top: 100%; background: var(--bg); border: 1px solid var(--line); padding: .5rem .8rem; min-width: 15rem; flex-direction: column; gap: .3rem; z-index: 5; }
.site-header nav li.has-sub:hover > ul, .site-header nav li.has-sub:focus-within > ul { display: flex; }
.verified { font-size: .8rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) {
  .site-header nav li.has-sub > ul { display: none !important; } /* ranking pages are one tap away on the homepage and in the footer */
  .verified { width: 100%; }
}

/* main */
main { max-width: var(--max); margin: 0 auto; padding: 1rem 1rem 3rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .3rem; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: .3rem; }
h1 { font-size: 2rem; line-height: 1.15; letter-spacing: -.02em; margin: .4rem 0 .6rem; }
h2 { font-size: 1.45rem; line-height: 1.25; margin: 2.4rem 0 .8rem; letter-spacing: -.01em; }
h3 { font-size: 1.12rem; margin: 1.8rem 0 .5rem; }
h4 { font-size: 1rem; margin: 1.2rem 0 .4rem; }
p { margin: 0 0 1rem; }
.byline { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.lead { font-size: 1.15rem; line-height: 1.55; border-left: 3px solid var(--accent); padding-left: .9rem; margin: 1rem 0 1.4rem; }
small { color: var(--muted); font-size: .85em; }
ul, ol { padding-left: 1.3rem; }
li { margin: .25rem 0; }
.takeaways { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: .9rem 1.1rem .9rem 2.2rem; margin: 0 0 1rem; }
code { font-size: .9em; background: var(--soft); padding: .1em .35em; border-radius: 3px; }
pre { background: var(--soft); border: 1px solid var(--line); padding: 1rem; overflow-x: auto; font-size: .85rem; border-radius: 6px; }

/* tables */
table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: .92rem; display: block; overflow-x: auto; }
table caption { text-align: left; font-size: .85rem; color: var(--muted); caption-side: top; padding: 0 0 .4rem; }
th, td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--line); }
thead th { position: sticky; top: 0; background: var(--soft); font-weight: 600; white-space: nowrap; }
tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--soft) 55%, var(--bg)); }
table.facts th[scope="row"] { width: 32%; color: var(--muted); font-weight: 600; background: var(--soft); }
table.ranking td:first-child { font-weight: 700; }
table.scores td:nth-child(3) { font-weight: 600; }
.brand { font-weight: 600; }
.score { display: inline-block; min-width: 2.6rem; text-align: center; padding: .05rem .45rem; border-radius: 999px; background: var(--pill); color: var(--pill-fg); font-weight: 700; font-variant-numeric: tabular-nums; }

/* profiles */
dl.facts { display: grid; grid-template-columns: 9rem 1fr; gap: .3rem 1rem; margin: 0 0 .9rem; font-size: .95rem; }
dl.facts dt { color: var(--muted); font-weight: 600; }
dl.facts dd { margin: 0; }
@media (max-width: 560px) { dl.facts { grid-template-columns: 1fr; } dl.facts dd { margin-bottom: .4rem; } }
.pros-cons { font-size: .95rem; }
.links { margin-bottom: 1.6rem; }
.note { background: var(--warn); color: var(--warn-fg); padding: .7rem 1rem; border-radius: 6px; font-size: .92rem; }
.table-note { font-size: .88rem; color: var(--muted); margin-top: -.6rem; }

/* article footer */
.article-foot { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.author-box { color: var(--fg); }
.rg { font-size: .88rem; color: var(--muted); }

/* site footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 2rem; background: var(--soft); }
.site-footer .cols { max-width: var(--max); margin: 0 auto; padding: 1.6rem 1rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.site-footer section h2 { font-size: .9rem; margin: 0 0 .5rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.site-footer li { margin: .2rem 0; }
.site-footer p { max-width: var(--max); margin: .8rem auto; padding: 0 1rem; font-size: .83rem; color: var(--muted); }
.site-footer .copy { padding-bottom: 1.6rem; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* redirect page */
.go { text-align: center; padding: 4rem 1rem; }

@media print { .site-header nav, .disclosure-bar, .site-footer .cols { display: none; } body { font-size: 11pt; } }
