:root {
  color-scheme: dark;
  --background: #110f1a;
  --panel: #1a1725;
  --raised: #231d31;
  --border: #3a314a;
  --ink: #f8f5ff;
  --muted: #c5bbd6;
  --lavender: #c6afff;
  --lime: #d0ff8a;
  --green: #a9edb1;
  --red: #ff9db6;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--background); font: 16px/1.6 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.05em; }
h2 { font-size: clamp(1.65rem, 4vw, 2.65rem); font-weight: 740; }
h3 { font-size: 1.37rem; }
section { scroll-margin-top: 1.5rem; }
.shell { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }
.header, .footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.header { padding: 20px 0; border-bottom: 1px solid var(--border); }
.footer { border-top: 1px solid var(--border); margin-top: 58px; padding: 24px 0 40px; }
.brand { display: inline-flex; align-items: center; gap: .35em; font-weight: 830; letter-spacing: -.052em; text-decoration: none; white-space: nowrap; line-height: 1; }
.brand img { display: block; border-radius: .32em; margin-right: .14em; }
.brand span { color: var(--lime); }
nav { display: flex; flex-wrap: wrap; gap: 7px 24px; color: var(--muted); font-size: .88rem; }
nav a { text-decoration: none; }
nav a:hover { color: var(--ink); }
.skip { position: absolute; left: 16px; top: 6px; z-index: 2; padding: 8px; background: var(--background); transform: translateY(-180%); }
.skip:focus { transform: none; }
.hero { display: grid; grid-template-columns: .96fr 1.04fr; align-items: center; gap: clamp(22px, 6vw, 74px); padding: 63px 0 0; }
.hero h1 { font-size: clamp(3.15rem, 7.45vw, 6.25rem); font-weight: 780; letter-spacing: -.049em; word-spacing: .035em; line-height: .96; margin: 17px 0 20px; }
.hero h1 span { color: var(--lime); }
.kicker { color: var(--lavender); font: 700 .72rem/1.55 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.muted, .story p:not(.kicker) { color: var(--muted); }
.lede { color: var(--muted); font-size: 1.09rem; max-width: 40ch; }
.primary { display: inline-flex; align-items: center; gap: 16px; margin-top: 20px; padding: 8px 14px; border-radius: 8px; background: var(--lime); color: #15101e; font-weight: 760; text-decoration: none; }
.primary:hover { background: #e3ffb7; }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; }
.feature { padding: 23px; background: radial-gradient(ellipse at 100% 100%, #302247, transparent 67%), var(--panel); min-height: 332px; }
.feature h2 { font-size: clamp(1.6rem, 4vw, 2.35rem); margin: .25rem 0 .4rem; }
.small { font-size: .83rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.breadth-summary { min-height: 2.7em; margin-top: 10px; font-size: .91rem; font-weight: 650; line-height: 1.35; }
.breadth-key { display: flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--muted); }
.breadth-key-median { margin-left: auto; }
.breadth { display: grid; gap: 8px; min-height: 162px; margin: 10px 0 14px; padding: 0; list-style: none; }
.breadth-row {
  display: grid; grid-template-columns: 6.2rem minmax(1rem, 1fr) 5.35rem 4.15rem;
  min-height: 26px; align-items: center; column-gap: 8px; font-size: .81rem;
}
.breadth-sector { justify-self: start; font-weight: 650; color: var(--ink); }
.breadth-sector:hover, .feature > p a:hover { color: var(--lime); }
.breadth-bar { height: 10px; background: #332940; border-radius: 100px; display: flex; overflow: hidden; gap: 2px; }
.breadth-bar span { min-width: 0; }
.breadth-bar .up { background: var(--green); }
.breadth-bar .down { background: var(--red); }
.breadth-bar .flat { background: var(--muted); }
.breadth-count, .breadth-median { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.breadth-count { display: flex; justify-content: flex-end; gap: .35rem; color: var(--muted); }
.breadth-median { text-align: right; font-weight: 650; }
.feature > p a { color: var(--lavender); }
.section { margin-top: 52px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.section-head h2 { margin: 3px 0 4px; }
.text-link { color: var(--lime); font-size: .87rem; font-weight: 680; white-space: nowrap; }
.market { overflow: hidden; }
.controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 14px 18px; }
.controls label { display: grid; gap: 3px; color: var(--muted); font-size: .78rem; }
.controls input, .controls select {
  appearance: none; width: 100%; min-width: 0; height: 42px; margin: 0; padding: 0 12px;
  color: var(--ink); border: 1px solid var(--border); border-radius: 8px;
  background: var(--background); font: .86rem system-ui, sans-serif;
}
.controls select {
  padding-inline-end: 30px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: right 17px center, right 12px center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.table-wrap { overflow: auto; }
.market .table-wrap { height: clamp(19rem, 53vh, 25rem); }
.market thead { position: sticky; top: 0; }
#market-count { min-height: 3em; }
table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; white-space: nowrap; }
th, td { border-top: 1px solid var(--border); padding: 9px 17px; }
td { font-size: .86rem; }
th { color: var(--muted); background: #171421; font-size: .76rem; font-weight: 630; }
td:nth-child(2), td:nth-child(3), td:nth-child(4), th:nth-child(2), th:nth-child(3), th:nth-child(4) { text-align: right; }
td .coin { display: inline-block; font-weight: 720; text-decoration: none; }
td a.coin:hover { text-decoration: underline; }
.symbol { margin-left: 7px; color: var(--muted); font: .72rem var(--mono); }
.up { color: var(--green); }
.down { color: var(--red); }
.table-note { padding: 10px 17px; border-top: 1px solid var(--border); }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.story { overflow: hidden; display: block; text-decoration: none; }
.story:hover { border-color: var(--lavender); }
.story > div { padding: 14px 16px 18px; }
.story h3 { margin: 5px 0 7px; }
.story p:not(.kicker) { font-size: .88rem; }
.story-art { display: flex; gap: 11px; align-items: end; justify-content: center; height: 94px; padding: 15px; overflow: hidden; background: var(--raised); }
.story-art span { height: 75%; width: 11%; border-radius: 6px 6px 2px 2px; background: var(--lavender); }
.story-art span:nth-child(2) { height: 44%; }
.story-art span:nth-child(3) { height: 90%; }
.story-art span:nth-child(4) { height: 65%; }
.art-liquidity { align-items: center; transform: none; background: #2b2040; }
.art-liquidity span { width: 44px; height: 12px !important; background: var(--red); transform: rotate(-30deg); }
.art-liquidity span:nth-child(even) { background: var(--lime); transform: rotate(28deg); }
.art-boost { background: #222631; }
.art-boost span { aspect-ratio: 1; height: auto !important; align-self: center; border-radius: 50%; background: var(--lime); }
.art-boost span:nth-child(odd) { background: var(--green); scale: .64; }
.boost { padding: 24px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.boost h2 { margin: 5px 0 7px; }
.boost .text-link { display: inline-block; margin-top: 11px; }
.boost-list { list-style: none; padding: 0; margin: 6px 0 0; }
.boost-list li { padding: 5px 0; display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--border); font-size: .87rem; }
.prose { max-width: 745px; margin: 43px auto 0; }
.prose h1 { font-size: clamp(2.45rem, 7vw, 4.55rem); margin: 9px 0 18px; }
.prose h2 { font-size: 1.65rem; margin: 26px 0 8px; }
.prose p { margin: 8px 0 15px; }
.prose a { color: var(--lavender); }
.prose .story-grid { margin-top: 24px; }
.prose .story { color: var(--ink); }
@media(max-width:760px) {
  .shell { width: calc(100% - 32px); }
  .hero { grid-template-columns: 1fr; padding-top: 37px; }
  .section { margin-top: 37px; }
  .story-grid { grid-template-columns: 1fr; }
  .story { display: grid; grid-template-columns: 92px 1fr; }
  .story-art { height: 100%; align-items: center; gap: 4px; padding: 7px; }
  .story-art span { max-height: 58px; }
  .story > div { padding: 13px; }
  .boost { grid-template-columns: 1fr; }
}
@media(max-width:490px) {
  .header, .footer { align-items: start; flex-direction: column; gap: 11px; }
  nav { gap: 5px 17px; font-size: .83rem; }
  .section-head { align-items: start; flex-direction: column; gap: 4px; }
  th, td { padding: 7px 9px; }
  .controls { grid-template-columns: 1fr; padding: 11px; gap: 9px; }
  .feature { min-height: 290px; padding: 17px; }
  .breadth { min-height: 186px; }
  .breadth-row { grid-template-columns: minmax(0, 1fr) 5.35rem 4.15rem; row-gap: 3px; }
  .breadth-bar { grid-row: 2; grid-column: 1 / -1; height: 7px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
@media(forced-colors:active) {
  .controls select { appearance: auto; padding-inline-end: 12px; background-image: none; }
}

.footer-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 16px; }
.footer-controls button, .footer button[data-feedback-open] {
  margin: 0 !important; padding: 0 !important; background: transparent !important; color: var(--muted) !important;
  border: 0 !important; border-radius: 0 !important; cursor: pointer;
  font: inherit !important; text-decoration: underline; text-underline-offset: .23em;
}
.footer-controls button:hover, .footer button[data-feedback-open]:hover { color: var(--ink) !important; }
.consent[hidden] { display: none; }
.consent {
  position: fixed; z-index: 9; left: 50%; bottom: max(14px, env(safe-area-inset-bottom));
  width: min(680px, calc(100% - 24px)); transform: translateX(-50%);
  background: #211a30; border: 1px solid #6e5c8c; border-radius: 13px; padding: 13px 16px;
  box-shadow: 0 12px 44px #090711ba;
}
.consent p { color: var(--muted); font-size: .83rem; line-height: 1.48; max-width: 62ch; }
.consent h2 { font-size: 1rem; margin-bottom: 4px; letter-spacing: -.015em; }
.consent-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.consent button {
  border: 1px solid #817098; background: #302641; color: var(--ink); padding: 6px 10px;
  border-radius: 7px; font: 650 .82rem/1.35 system-ui, sans-serif; cursor: pointer;
}
.consent button:hover { background: #4b3965; }
.footer-links { display: grid; gap: 7px; font-size: .87rem; color: var(--muted); }
.footer .socials { margin-top: 6px; }
.article-meta { color: var(--muted); font: .78rem/1.6 var(--mono); margin-bottom: 17px; }
.prose .lead { font-size: 1.16rem; color: var(--ink); }
.prose .related, .prose .sources { margin-top: 28px; padding: 16px 19px; }
.prose .related h2, .prose .sources h2 { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.5rem; }
.prose li { margin: 4px 0; }
.prose .table-wrap { margin: 15px 0; border: 1px solid var(--border); border-radius: 9px; }
.prose table { white-space: normal; }
.prose td, .prose th { text-align: left; vertical-align: top; padding: 9px 12px; }
.guide-list { display: grid; gap: 10px; margin: 14px 0 26px; }
.guide-card { display: block; padding: 14px 17px; text-decoration: none; }
.guide-card:hover { border-color: var(--lavender); }
.guide-card h3 { color: var(--ink); line-height: 1.24; }
.guide-card p { color: var(--muted); margin: 4px 0 0; font-size: .91rem; }
.faq-list details { border-bottom: 1px solid var(--border); padding: 12px 0; }
.faq-list summary { cursor: pointer; font-weight: 720; }
.faq-list details p { padding-left: 18px; }
.sector-definitions dt { scroll-margin-top: 1.5rem; font-weight: 720; }
.sector-definitions dt:target { color: var(--lime); }
.sector-definitions dd { margin: 2px 0 12px; color: var(--muted); }

.header [aria-current] { color: var(--lime); }
.news-archive { max-width: 930px; }
.news-follow {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px 22px; margin: 24px 0 26px; padding: clamp(15px, 3vw, 23px);
  background: linear-gradient(115deg, var(--raised), var(--panel));
}
.news-follow h2 { margin: 0; font-size: clamp(1.2rem, 2.7vw, 1.55rem); }
.news-follow nav { gap: 8px; }
.news-follow a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 7px 13px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--background);
  color: var(--ink); font-weight: 680; text-decoration: none;
}
.news-follow a:hover { border-color: var(--lavender); color: var(--lavender); }
.news-list { display: grid; gap: 16px; margin-top: 26px; }
.news-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr);
  overflow: hidden; text-decoration: none; align-items: center;
}
.news-card:hover { border-color: var(--lavender); }
.news-card img, .news-cover img { display: block; width: 100%; height: auto; }
.news-card > div { padding: clamp(16px, 3vw, 26px); }
.news-card h2 { color: var(--ink); margin: 3px 0 8px; font-size: clamp(1.35rem, 3vw, 2rem); }
.news-card p:not(.kicker) { color: var(--muted); margin: 0 0 9px; }
.news-card .article-meta { margin-bottom: 0; }
.news-cover { overflow: hidden; margin: 22px 0 25px; border: 1px solid var(--border); border-radius: 16px; }
.news-empty { margin-top: 28px; padding: 20px 24px; }
.news-empty h2 { margin: 0; }
.news-empty p { margin-bottom: 0; }
@media (max-width: 600px) {
  .news-card { grid-template-columns: 1fr; }
  .news-follow nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .news-follow a { justify-content: center; padding-inline: 6px; text-align: center; }
}
