:root {
  color-scheme: light;
  --bg: #f5f3ef;
  --bg-strong: #ebe7df;
  --surface: #fffdfa;
  --surface-muted: #f9f7f1;
  --ink: #171615;
  --ink-soft: #514d47;
  --muted: #7b746b;
  --line: #dfd8cc;
  --line-strong: #cfc4b4;
  --accent: #b97319;
  --accent-strong: #8b5413;
  --accent-soft: #f4dfbd;
  --green: #376a58;
  --blue: #3d5f87;
  --red: #985044;
  --radius-sm: 6px;
  --radius-md: 8px;
  --shadow: 0 24px 70px rgba(54, 45, 34, 0.11);
  --font-sans: "Manrope", "Aptos", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.74), rgba(245, 243, 239, 0.92) 38rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(23, 22, 21, 0.12) 1px, transparent 0);
  background-size: 18px 18px;
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  vertical-align: middle;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  transform: translateY(-150%);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--surface);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.shell {
  width: calc(100% - 2rem);
  max-width: 1240px;
  margin-inline: auto;
}

.section-pad {
  padding: 6.25rem 0;
}

.section-tight {
  padding-top: 3rem;
}

.muted-band {
  background: rgba(235, 231, 223, 0.72);
  border-block: 1px solid rgba(207, 196, 180, 0.7);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 243, 239, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-elevated {
  border-color: rgba(207, 196, 180, 0.75);
  box-shadow: 0 12px 28px rgba(54, 45, 34, 0.06);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(139, 84, 19, 0.28);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #f5d299, #d2943e);
  color: #241606;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-nav a {
  position: relative;
  padding: 0.4rem 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  content: "";
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  padding: 0.62rem 0.8rem;
}

.hero {
  min-height: calc(100dvh - 78px);
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(560px, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy {
  padding-top: 2rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.3rem;
  font-size: clamp(3rem, 6.2vw, 5.7rem);
  font-weight: 850;
  overflow-wrap: normal;
  text-wrap: balance;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 820;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.hero-lede,
.split-heading p,
.method-copy p,
.feature-block p,
.article-stack p {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 2.2rem;
}

.button,
.table-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:active,
.table-cta:active,
.filter-chip:active,
.nav-toggle:active {
  transform: translateY(1px);
}

.button-primary,
.table-cta {
  background: var(--accent);
  color: #fffaf2;
}

.button-primary {
  padding: 0.88rem 1.15rem;
}

.button-primary:hover,
.table-cta:hover {
  background: var(--accent-strong);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 0.82rem 1rem;
}

.button-secondary:hover {
  border-color: var(--accent);
}

.text-link,
.mini-link {
  color: var(--accent-strong);
  font-weight: 800;
}

.mini-muted {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.text-link:hover,
.mini-link:hover,
.back-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.trust-strip span,
.guide-kicker,
.risk {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.68);
  padding: 0.34rem 0.58rem;
}

.hero-panel,
.coin-snapshot,
.methodology-card,
.score-card,
.source-card,
.filter-panel,
.feature-block {
  border: 1px solid rgba(207, 196, 180, 0.8);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 250, 0.82);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: clamp(1rem, 2.8vw, 1.6rem);
}

.panel-heading,
.table-toolbar,
.split-heading,
.snapshot-top,
.footer-grid,
.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.panel-heading {
  margin-bottom: 1rem;
}

.panel-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.table-card {
  overflow: auto;
  border: 1px solid rgba(207, 196, 180, 0.82);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(54, 45, 34, 0.08);
}

.table-card-compact {
  max-height: 420px;
}

.exchange-table th,
.coin-table th {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.exchange-table th,
.exchange-table td,
.coin-table th,
.coin-table td {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0.9rem;
}

.exchange-table tbody tr,
.coin-table tbody tr {
  transition: background 160ms ease;
}

.exchange-table tbody tr:hover,
.coin-table tbody tr:hover {
  background: var(--surface-muted);
}

.exchange-table tbody tr:last-child td,
.coin-table tbody tr:last-child td {
  border-bottom: 0;
}

.exchange-name,
.coin-name {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  min-width: max-content;
  font-weight: 850;
}

.exchange-name small,
.coin-name small {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
}

.logo-badge {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(207, 196, 180, 0.9);
  border-radius: var(--radius-sm);
  background: #fff;
}

.logo-badge img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.table-cta {
  min-height: 36px;
  padding-inline: 0.72rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.affiliate-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.split-heading {
  align-items: end;
  margin-bottom: 2rem;
}

.split-heading > div {
  max-width: 760px;
}

.split-heading p {
  max-width: 430px;
  margin-bottom: 0.6rem;
}

.database-layout,
.buy-layout,
.content-grid,
.guide-grid,
.method-grid,
.faq-layout,
.coin-hero-grid {
  display: grid;
  gap: 1.2rem;
  min-width: 0;
}

.database-layout {
  grid-template-columns: 290px minmax(0, 1fr);
}

.filter-panel {
  align-self: start;
  padding: 1rem;
}

.filter-panel label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 850;
}

.filter-panel input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  padding: 0.82rem;
  outline: 0;
}

.filter-panel input:focus,
.filter-chip:focus-visible,
.button:focus-visible,
.table-cta:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(185, 115, 25, 0.28);
  outline-offset: 3px;
}

.filter-stack,
.table-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0.48rem 0.68rem;
  font-size: 0.85rem;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: rgba(185, 115, 25, 0.45);
  background: var(--accent-soft);
  color: #3a2208;
}

.coin-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: contain;
}

.risk {
  display: inline-flex;
  min-width: 64px;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 850;
}

.risk-medium {
  color: #725014;
}

.risk-high {
  color: var(--red);
}

.guide-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  align-items: start;
}

.feature-block {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.guide-list {
  display: grid;
  gap: 0.8rem;
}

.guide-list article {
  border-top: 1px solid rgba(207, 196, 180, 0.9);
  padding: 1.2rem 0 0.9rem;
}

.guide-list h3 {
  max-width: 19ch;
  margin-bottom: 0.45rem;
}

.guide-list p {
  max-width: 58ch;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.guide-kicker {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 850;
}

.method-grid {
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
}

.score-card,
.methodology-card {
  padding: 1.2rem;
}

.score-row {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

.score-row:first-of-type {
  padding-top: 0;
}

.score-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.score-row span {
  color: var(--ink-soft);
}

.score-row strong {
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--line-strong);
  background: #24211d;
  color: #f8f4ed;
  padding: 2.6rem 0;
}

.footer-grid {
  align-items: start;
}

.footer-grid p {
  max-width: 60ch;
  margin: 1rem 0 0;
  color: rgba(248, 244, 237, 0.7);
}

.footer-grid nav {
  display: grid;
  gap: 0.62rem;
  min-width: 220px;
  color: rgba(248, 244, 237, 0.74);
}

.footer-grid a:hover {
  color: #fff;
}

.footer-brand .brand-mark {
  box-shadow: none;
}

.footer-brand .brand-copy small {
  color: rgba(248, 244, 237, 0.62);
}

.coin-hero {
  padding-bottom: 3rem;
}

.coin-hero-grid {
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: end;
}

.coin-title-block h1 {
  max-width: 13ch;
}

.coin-title-block,
.hero-copy {
  min-width: 0;
}

.back-link {
  display: inline-flex;
  margin-bottom: 2rem;
  color: var(--accent-strong);
  font-weight: 850;
}

.disclosure-strip {
  max-width: 720px;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  background: rgba(244, 223, 189, 0.58);
  color: #463018;
  padding: 1rem 1.1rem;
}

.coin-snapshot {
  padding: 1.2rem;
}

.coin-emblem {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #f7dcae, #c98222);
  color: #2b1905;
  font-family: var(--font-mono);
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.coin-emblem img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.snapshot-top p {
  margin-bottom: 0.22rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.snapshot-top strong {
  display: block;
  line-height: 1.14;
}

.fact-list {
  display: grid;
  margin: 1.3rem 0 0;
}

.fact-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
}

.fact-list dt {
  color: var(--muted);
  font-weight: 750;
}

.fact-list dd {
  margin: 0;
  text-align: right;
  font-weight: 850;
}

.buy-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.table-toolbar {
  justify-content: flex-start;
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 0.85rem;
}

.exchange-table-wide td,
.exchange-table-wide th {
  padding: 1.05rem 0.9rem;
}

.table-note {
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 0.85rem 0.9rem;
}

.content-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.article-stack {
  display: grid;
  gap: 3.5rem;
}

.article-stack section {
  max-width: 780px;
}

.legacy-article {
  gap: 2.4rem;
}

.legacy-article h2 {
  margin-bottom: 0.85rem;
}

.editor-note {
  border-left: 3px solid var(--accent);
  background: rgba(255, 253, 250, 0.76);
  padding: 0.9rem 1rem;
}

.article-figure {
  margin: 1.5rem 0 0;
}

.article-figure img {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  background: var(--surface);
}

.article-figure figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.article-hero {
  padding-bottom: 3rem;
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: end;
}

.article-hero-grid h1 {
  max-width: 14ch;
}

.article-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.numbered-list {
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
  margin: 1.1rem 0 0;
  padding-left: 1.3rem;
  color: var(--ink-soft);
}

.numbered-list li::marker {
  color: var(--accent-strong);
  font-weight: 850;
}

.side-note {
  color: var(--ink-soft);
}

.full-button {
  width: 100%;
  margin-top: 0.8rem;
}

.facts-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 250, 0.72);
  padding: 1rem;
}

.facts-grid span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.facts-grid strong {
  display: block;
  line-height: 1.15;
}

.risk-list {
  display: grid;
  gap: 0.8rem;
  max-width: 760px;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.risk-list li {
  border-left: 3px solid var(--red);
  background: rgba(255, 253, 250, 0.72);
  padding: 0.9rem 1rem;
}

.source-card {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 0.72rem;
  padding: 1.1rem;
}

.source-card h3 {
  margin-bottom: 0.35rem;
}

.source-card a {
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  padding-top: 0.72rem;
}

.source-card a:hover {
  color: var(--accent-strong);
}

.side-link {
  display: block;
  margin-top: 0.85rem;
}

.legal-page code {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 253, 250, 0.8);
  padding: 0.08rem 0.28rem;
  font-size: 0.92em;
}

.contact-line {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 250, 0.78);
  padding: 1rem;
}

.faq-layout {
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 1rem;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

[hidden] {
  display: none !important;
}

@media (max-width: 1080px) {
  .hero-grid,
  .guide-grid,
  .method-grid,
  .coin-hero-grid,
  .article-hero-grid,
  .buy-layout,
  .content-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel,
  .coin-snapshot,
  .source-card {
    position: static;
  }

  h1 {
    max-width: 14ch;
  }
}

@media (max-width: 1080px) {
  .section-pad {
    padding: 4rem 0;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.4rem, 7vw, 4.8rem);
    overflow-wrap: anywhere;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 253, 250, 0.98);
    padding: 0.7rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.8rem;
  }

  .hero-copy {
    padding-top: 1rem;
  }

  .database-layout {
    grid-template-columns: 1fr;
  }

  .split-heading {
    display: grid;
    align-items: start;
  }

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

  .footer-grid {
    display: grid;
  }
}

@media (max-width: 560px) {
  .shell {
    width: calc(100% - 1rem);
  }

  .brand-copy small {
    display: none;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 11.5vw, 2.9rem);
    overflow-wrap: anywhere;
  }

.hero-lede,
.split-heading p,
.method-copy p,
.feature-block p,
.article-stack p {
  font-size: 0.98rem;
  max-width: 100%;
  overflow-wrap: break-word;
}

  .disclosure-strip {
    padding: 0.85rem 0.95rem;
    font-size: 0.92rem;
  }

  .hero-actions,
  .trust-strip,
  .panel-heading,
  .snapshot-top {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .text-link {
    width: 100%;
  }

  .text-link {
    justify-content: center;
    text-align: center;
  }

  .coin-title-block,
  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 1rem);
  }

  .exchange-table,
  .coin-table {
    min-width: 720px;
  }
}
