:root {
  color-scheme: dark;
  --bg: #020b17;
  --bg-soft: #061a2f;
  --panel: rgba(8, 30, 55, 0.84);
  --panel-strong: rgba(9, 43, 78, 0.95);
  --text: #edf8ff;
  --muted: #9bbbd5;
  --line: rgba(125, 211, 252, 0.22);
  --cyan: #39d9ff;
  --blue: #7dd3fc;
  --deep-blue: #2563eb;
  --shadow: 0 24px 80px rgba(2, 20, 44, 0.55);
  --body-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-font: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", "Liberation Mono", Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: var(--body-font);
  background:
    radial-gradient(circle at 20% 10%, rgba(57, 217, 255, 0.24), transparent 28rem),
    radial-gradient(circle at 78% 0%, rgba(37, 99, 235, 0.24), transparent 30rem),
    linear-gradient(145deg, var(--bg), var(--bg-soft) 42%, #010814);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
}

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

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 3px
  );
}

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand span span {
  color: var(--cyan);
}

.price-ticker {
  display: inline-flex;
  min-width: 220px;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  background: rgba(255, 255, 255, 0.045);
  border-radius: 999px;
  box-shadow: 0 14px 42px rgba(57, 217, 255, 0.1);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.price-ticker:hover,
.price-ticker:focus-visible {
  border-color: rgba(125, 211, 252, 0.58);
  background: rgba(57, 217, 255, 0.1);
  box-shadow: 0 16px 48px rgba(57, 217, 255, 0.18);
  transform: translateY(-1px);
  outline: 0;
}

.price-label,
.price-updated {
  color: var(--muted);
}

.price-values {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}

.price-values strong {
  color: var(--blue);
}

.price-values span {
  color: var(--cyan);
}

.price-ticker.is-loading .price-values,
.price-ticker.is-unavailable .price-values {
  opacity: 0.62;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 38px;
  place-items: center;
  color: #02111f;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 48%, var(--deep-blue));
  border-radius: 12px;
  box-shadow: 0 0 36px rgba(57, 217, 255, 0.36);
}

.nav {
  display: flex;
  flex: 1 1 420px;
  gap: 10px 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--text);
}

.language-switcher {
  display: flex;
  gap: 6px;
  align-items: center;
}

.language-switcher a {
  display: inline-flex;
  min-width: 34px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.language-switcher a:hover {
  color: var(--text);
  border-color: rgba(125, 211, 252, 0.58);
  background: rgba(57, 217, 255, 0.1);
}

.card h3 a,
.reason-item h3 a,
.info-panel h3 a {
  transition: color 180ms ease;
}

.card h3 a:hover,
.reason-item h3 a:hover,
.info-panel h3 a:hover {
  color: var(--cyan);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 38px;
  align-items: center;
  min-height: calc(100vh - 108px);
  padding: 70px 0 90px;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 34px;
  align-items: center;
  padding: 64px 0 78px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family: var(--display-font);
  font-size: clamp(2rem, 4.6vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 18px;
  font-family: var(--display-font);
  font-size: clamp(1.55rem, 2.8vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 10px;
  font-family: var(--display-font);
  font-size: 0.95rem;
  letter-spacing: -0.035em;
}

.hero-text,
.info-panel p,
.card p,
.reason-item p,
.cta p,
.site-footer {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.landing-cover,
.article-cover {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.article-cover {
  width: min(100%, 320px);
  max-height: 168px;
  margin-top: 20px;
  margin-inline: 0;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.3);
}

.landing-cover {
  max-width: 380px;
  margin-inline: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.hero-actions,
.pulse-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #02111f;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 54%, #60a5fa);
  box-shadow: 0 14px 42px rgba(57, 217, 255, 0.28);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.terminal-card,
.card,
.info-panel,
.stats article,
.cta {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.terminal-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 26px;
}

.terminal-card::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  background: linear-gradient(135deg, rgba(57, 217, 255, 0.38), transparent 42%, rgba(37, 99, 235, 0.24));
}

.terminal-top {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.terminal-top span {
  width: 11px;
  height: 11px;
  background: var(--line);
  border-radius: 999px;
}

.terminal-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  font-family: "JetBrains Mono", monospace;
  border-bottom: 1px solid var(--line);
}

.terminal-line strong {
  color: var(--blue);
  text-align: right;
}

.terminal-price-line {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.terminal-price-line:hover,
.terminal-price-line:focus-visible {
  color: var(--text);
  border-color: rgba(125, 211, 252, 0.42);
  background: rgba(57, 217, 255, 0.06);
  outline: 0;
}

.terminal-price-line strong {
  display: grid;
  gap: 4px;
}

.terminal-price-btc {
  color: var(--cyan);
  font-size: 0.78rem;
}

.muted {
  color: var(--muted);
}

.pulse-row {
  margin-top: 22px;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
}

.pulse {
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 999px;
  box-shadow: 0 0 0 rgba(125, 211, 252, 0.72);
  animation: pulse 1.8s infinite;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 110px;
}

.home-feature-list {
  display: grid;
  margin: -16px 0 52px;
  border-top: 1px solid var(--line);
}

.home-feature-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.home-feature-list h2 {
  max-width: 780px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.home-feature-list p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.home-stats {
  gap: 0;
  padding: 28px 0;
  margin-bottom: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.landing-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-links.home-links {
  margin: -38px 0 54px;
}

.landing-links a,
.hub-search input {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.landing-links a {
  padding: 10px 13px;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.landing-links a:hover {
  color: var(--blue);
  border-color: rgba(125, 211, 252, 0.5);
  background: rgba(37, 99, 235, 0.1);
}

.stats article {
  padding: 22px;
  border-radius: 22px;
}

.home-stats article {
  padding: 0 24px 0 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.home-stats article + article {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.stat-value {
  display: block;
  margin-bottom: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 92px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 48px;
  align-items: start;
}

.cards,
.info-grid {
  display: grid;
  gap: 18px;
}

.cards {
  grid-template-columns: repeat(3, 1fr);
}

.reason-list {
  display: grid;
}

.reason-item {
  display: grid;
  grid-template-columns: 58px minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.reason-item:last-child {
  border-bottom: 1px solid var(--line);
}

.reason-item h3,
.reason-item p {
  margin-bottom: 0;
}

.reason-list .card-number {
  margin-bottom: 0;
}

.card,
.info-panel {
  padding: 24px 0;
  border-inline: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.card-number {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.86rem;
}

.info-grid {
  grid-template-columns: repeat(3, 1fr);
}

.info-panel.large {
  grid-column: span 3;
  min-height: auto;
  padding: clamp(28px, 5vw, 54px) 0;
  background: transparent;
}

.info-panel.large p {
  max-width: 760px;
  font-size: 1.08rem;
}

.fact-sheet {
  gap: 0;
  border-top: 1px solid var(--line);
}

.fact-sheet .info-panel {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.fact-sheet .info-panel.large {
  min-height: auto;
  padding-inline: 0;
  background: transparent;
}

.cta {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 72px;
  padding: clamp(28px, 5vw, 48px);
  border-inline: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.cta p {
  max-width: 720px;
  margin-bottom: 0;
}

.featured-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-inline: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.exchange-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-inline: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.exchange-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.exchange-card {
  display: grid;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.exchange-card:hover {
  border-color: rgba(125, 211, 252, 0.56);
  background: transparent;
}

.exchange-card span,
.exchange-card strong {
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.exchange-section p,
.exchange-card p,
.featured-tool p,
.featured-tool li {
  color: var(--muted);
  line-height: 1.7;
}

.featured-tool ul {
  display: grid;
  gap: 12px;
  padding-left: 22px;
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 36px;
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer span {
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
}

.articles-teaser {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 48px);
  margin-bottom: 36px;
  border: 1px solid var(--line);
  border-inline: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.articles-teaser p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.seo-link-section {
  display: grid;
  gap: 28px;
  padding-top: 56px;
}

.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.seo-link-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    var(--panel);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.seo-link-card.topic-column {
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.seo-link-card h3 {
  margin-bottom: 8px;
}

.seo-link-card a {
  display: inline-flex;
  width: fit-content;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-color: rgba(57, 217, 255, 0.35);
  text-underline-offset: 4px;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

.seo-link-card a:hover {
  color: var(--blue);
  text-decoration-color: rgba(125, 211, 252, 0.78);
}

.articles-hero {
  padding: 78px 0 36px;
}

.articles-hero h1 {
  max-width: 960px;
  font-size: clamp(2rem, 4.8vw, 4.15rem);
}

.explorer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 28px;
  align-items: end;
  padding: 62px 0 34px;
}

.explorer-hero h1 {
  max-width: 980px;
  font-size: clamp(2rem, 4.6vw, 4rem);
}

.price-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.72fr);
  gap: 32px;
  align-items: center;
  padding: 62px 0 46px;
}

.price-hero h1 {
  max-width: 980px;
  font-size: clamp(2rem, 4.6vw, 4rem);
}

.price-board,
.npm-download-card,
.price-pair {
  border: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.price-board {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 34px);
  border-inline: 0;
  border-radius: 0;
}

.npm-download-card {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 34px);
  border-inline: 0;
  border-radius: 0;
}

.npm-download-card.is-loading,
.npm-download-card.is-unavailable {
  opacity: 0.72;
}

.price-main {
  display: grid;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.price-main span,
.price-main small,
.price-pair span,
.price-source {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
}

.price-main span,
.price-pair span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-main strong {
  color: var(--blue);
  font-family: var(--display-font);
  font-size: clamp(2.4rem, 7vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.price-main small,
.price-source {
  font-size: 0.78rem;
}

.price-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.price-pair {
  display: grid;
  gap: 10px;
  min-height: 118px;
  padding: 18px 0;
  border-inline: 0;
  border-bottom: 0;
  border-radius: 0;
  box-shadow: none;
}

.price-pair strong {
  align-self: end;
  color: var(--cyan);
  font-family: var(--display-font);
  font-size: clamp(1.18rem, 3vw, 1.7rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.price-source {
  margin: 0;
  line-height: 1.6;
}

.price-context {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 72px 0 28px;
}

.npm-trend-section {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: clamp(28px, 5vw, 48px);
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-inline: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.npm-trend-section p {
  color: var(--muted);
  line-height: 1.7;
}

.npm-download-chart {
  display: grid;
  gap: 16px;
  min-height: 320px;
  padding: 18px;
  border: 1px solid var(--line);
  border-inline: 0;
  background: transparent;
  border-radius: 0;
}

.npm-chart-summary {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.npm-chart-summary span {
  padding: 8px 10px;
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  border: 1px solid var(--line);
  background: rgba(57, 217, 255, 0.06);
  border-radius: 999px;
}

.npm-chart-svg {
  display: block;
  width: 100%;
  min-height: 260px;
  overflow: visible;
}

.npm-chart-grid {
  stroke: rgba(125, 211, 252, 0.18);
  stroke-width: 1;
}

.npm-chart-bar {
  fill: rgba(57, 217, 255, 0.22);
  transition:
    fill 160ms ease,
    opacity 160ms ease;
}

.npm-chart-bar:hover {
  fill: rgba(57, 217, 255, 0.48);
}

.npm-chart-line {
  fill: none;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  filter: drop-shadow(0 0 12px rgba(57, 217, 255, 0.42));
}

.npm-chart-point {
  fill: var(--blue);
  stroke: #02111f;
  stroke-width: 2;
}

.npm-chart-y-label,
.npm-chart-x-label {
  fill: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.npm-chart-y-label {
  text-anchor: end;
}

.npm-chart-x-label.end {
  text-anchor: end;
}

.price-context .info-panel.large {
  grid-column: span 3;
}

.marketcap-main strong {
  font-size: clamp(2.15rem, 6vw, 4.1rem);
}

.marketcap-formula {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: clamp(28px, 5vw, 48px);
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-inline: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.marketcap-formula p,
.scenario-card p,
.growth-ladder span {
  color: var(--muted);
  line-height: 1.7;
}

.scenario-strip,
.growth-ladder {
  display: grid;
  gap: 14px;
}

.scenario-card,
.growth-ladder div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.scenario-card span,
.growth-ladder span {
  display: block;
  margin-bottom: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scenario-card strong,
.growth-ladder strong {
  display: block;
  color: var(--cyan);
  font-family: var(--display-font);
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.risk-formula {
  align-items: center;
}

.explorer-status-card,
.explorer-metric,
.explorer-search-panel,
.explorer-results {
  border: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.explorer-status-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 20px 0;
  border-inline: 0;
  border-radius: 0;
}

.explorer-status-card strong {
  font-family: var(--display-font);
  font-size: 1.25rem;
}

.explorer-status-card span:not(.status-dot) {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
}

.status-dot {
  width: 12px;
  height: 12px;
  background: #38bdf8;
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.5);
}

.status-dot.online {
  background: var(--blue);
  box-shadow: 0 0 22px rgba(125, 211, 252, 0.68);
}

.explorer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.explorer-metric {
  display: grid;
  gap: 12px;
  min-height: 140px;
  padding: 20px 0;
  border-inline: 0;
  border-radius: 0;
}

.explorer-metric span {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.explorer-metric strong {
  align-self: end;
  font-family: var(--display-font);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.explorer-search-panel,
.explorer-results {
  padding: clamp(26px, 4vw, 42px);
  margin-bottom: 28px;
  border-inline: 0;
  border-radius: 0;
}

.explorer-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
}

.explorer-search-panel p,
.explorer-results p,
.explorer-results li,
.explorer-table td {
  color: var(--muted);
  line-height: 1.7;
}

.explorer-search {
  display: grid;
  gap: 12px;
}

.explorer-search label {
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.explorer-search div {
  display: flex;
  gap: 10px;
}

.explorer-search input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  color: var(--text);
  font: inherit;
  border: 1px solid var(--line);
  outline: 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.explorer-search input:focus {
  border-color: rgba(125, 211, 252, 0.68);
  box-shadow: 0 0 0 4px rgba(57, 217, 255, 0.1);
}

.explorer-result-stack {
  display: grid;
  gap: 18px;
}

.explorer-details {
  display: grid;
  gap: 12px;
  margin: 0;
}

.explorer-details div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 16px;
}

.explorer-details dt {
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.explorer-details dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.explorer-results code,
.explorer-table code {
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.86em;
}

.explorer-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.explorer-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.explorer-table th,
.explorer-table td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.explorer-table th {
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.explorer-table tr:last-child td {
  border-bottom: 0;
}

.hub-search {
  max-width: 620px;
  margin: 28px 0 18px;
}

.hub-search label {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hub-search input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  color: var(--text);
  font: inherit;
  outline: 0;
}

.hub-search input:focus {
  border-color: rgba(125, 211, 252, 0.68);
  box-shadow: 0 0 0 4px rgba(57, 217, 255, 0.1);
}

.category-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 32px;
}

.category-strip a {
  padding: 9px 12px;
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 999px;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.category-strip a:hover,
.article-toc a:hover,
.article-meta a:hover {
  color: var(--text);
  border-color: rgba(125, 211, 252, 0.58);
  background: rgba(57, 217, 255, 0.1);
}

.article-category-group {
  scroll-margin-top: 24px;
  padding: 34px 0 18px;
}

.article-category-group[hidden],
.article-card[hidden] {
  display: none;
}

.article-category-group > h2 {
  margin-bottom: 18px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 26px;
}

.article-card,
.related-card {
  display: block;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.article-card {
  min-height: auto;
  padding: 20px 0 22px;
}

.article-card:hover,
.related-card:hover {
  border-color: rgba(125, 211, 252, 0.56);
  background: transparent;
}

.article-card span,
.related-card span,
.article-meta,
.breadcrumbs {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
}

.article-card h3 {
  margin: 18px 0 12px;
  font-size: 1.05rem;
  line-height: 1.24;
  letter-spacing: -0.035em;
}

.article-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
  padding: 52px 0 92px;
}

.article-shell {
  min-width: 0;
}

.breadcrumbs {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.breadcrumbs a {
  color: var(--cyan);
}

.article-hero {
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--line);
  border-inline: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.article-hero h1 {
  max-width: 900px;
  font-size: clamp(1.85rem, 4vw, 3.65rem);
}

.article-hero h1 a,
.heading-link {
  text-decoration: none;
}

.heading-link {
  display: inline-flex;
  align-items: center;
  color: var(--text);
}

.heading-link::after {
  content: "#";
  margin-left: 10px;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.54em;
  opacity: 0;
  transition: opacity 180ms ease;
}

.heading-link:hover::after {
  opacity: 1;
}

.article-summary {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.article-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.article-meta span,
.article-meta a {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.article-toc {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.article-toc a {
  padding: 9px 12px;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.article-section {
  padding: clamp(26px, 4vw, 42px);
  margin-bottom: 0;
  border: 1px solid var(--line);
  border-inline: 0;
  border-bottom: 0;
  background: transparent;
  border-radius: 0;
}

.article-section h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.article-section {
  scroll-margin-top: 24px;
}

.article-section p,
.article-section li,
.faq p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.article-section ul {
  display: grid;
  gap: 12px;
  padding-left: 22px;
  margin: 0;
}

.article-section strong {
  color: var(--text);
}

.article-section a,
.article-callout a,
.faq a {
  color: var(--cyan);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(57, 217, 255, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.article-section a:hover,
.article-callout a:hover,
.faq a:hover {
  color: var(--blue);
  text-decoration-color: rgba(125, 211, 252, 0.74);
}

.article-section .heading-link {
  color: var(--text);
  text-decoration: none;
}

.article-callout {
  padding: 18px;
  margin: 22px 0;
  color: var(--text);
  line-height: 1.65;
  border: 1px solid rgba(125, 211, 252, 0.32);
  background: rgba(37, 99, 235, 0.1);
  border-radius: 18px;
}

.article-fact-grid,
.wiki-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.article-fact-card,
.wiki-link-card {
  padding: 16px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 18px;
}

.article-fact-card span,
.wiki-link-card span,
.source-list span {
  display: block;
  color: var(--muted);
  font-family: var(--display-font);
  font-size: 0.76rem;
  line-height: 1.5;
}

.article-fact-card strong,
.wiki-link-card strong {
  display: block;
  margin: 8px 0;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.35;
}

.article-fact-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

.source-list {
  display: grid;
  gap: 14px;
  padding-left: 0;
  list-style: none;
}

.source-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.faq details {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq details:first-of-type {
  border-top: 0;
}

.related-panel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 12px;
}

.related-card {
  padding: 18px 0;
}

.related-card strong {
  display: block;
  margin-top: 10px;
  line-height: 1.3;
}

.article-pager {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.article-pager a {
  display: block;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.article-pager a:hover {
  border-color: rgba(125, 211, 252, 0.56);
  background: transparent;
}

.article-pager span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.article-pager strong {
  line-height: 1.35;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(125, 211, 252, 0.72);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(125, 211, 252, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(125, 211, 252, 0);
  }
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 0 12px;
  }

  .brand {
    order: 1;
  }

  .language-switcher {
    order: 2;
    margin-left: auto;
  }

  .price-ticker {
    order: 3;
    width: 100%;
    min-width: 0;
  }

  .nav {
    order: 4;
    flex: 1 0 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 4px 6px;
    margin-inline: -4px;
    overflow-x: auto;
    color: var(--blue);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
  }

  .hero,
  .landing-hero,
  .price-hero,
  .explorer-hero,
  .explorer-search-panel,
  .marketcap-formula,
  .npm-trend-section,
  .exchange-section,
  .featured-tool,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .stats,
  .price-context,
  .explorer-grid,
  .cards,
  .info-grid,
  .exchange-grid,
  .seo-link-grid,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-panel.large {
    grid-column: span 2;
  }

  .price-context .info-panel.large {
    grid-column: span 2;
  }

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

  .related-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .site-footer,
  .cta,
  .articles-teaser {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    padding-top: 14px;
  }

  .nav {
    width: 100%;
    font-size: 0.8rem;
  }

  .price-ticker {
    width: 100%;
    gap: 8px;
    border-radius: 18px;
  }

  .price-updated {
    display: none;
  }

  h1 {
    font-size: clamp(1.65rem, 8.8vw, 2.45rem);
    line-height: 1.04;
    letter-spacing: -0.055em;
  }

  h2 {
    font-size: clamp(1.3rem, 6.8vw, 1.9rem);
    line-height: 1.12;
  }

  .articles-hero h1,
  .explorer-hero h1,
  .price-hero h1,
  .article-hero h1 {
    font-size: clamp(1.6rem, 8.2vw, 2.25rem);
    line-height: 1.08;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  .hero {
    padding: 30px 0 50px;
  }

  .hero-actions .button,
  .cta .button,
  .home-feature-list .button,
  .articles-teaser .button {
    width: 100%;
  }

  .home-feature-list {
    margin-top: -10px;
  }

  .home-feature-list article,
  .reason-item {
    grid-template-columns: 1fr;
  }

  .home-feature-list article {
    align-items: start;
    padding: 28px 0;
  }

  .home-stats {
    padding: 0;
  }

  .home-stats article {
    padding: 20px 0;
  }

  .home-stats article + article {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .terminal-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .terminal-line strong {
    text-align: left;
  }

  .explorer-search div,
  .explorer-details div {
    grid-template-columns: 1fr;
  }

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

  .explorer-search div {
    flex-direction: column;
  }

  .explorer-search .button {
    width: 100%;
  }

  .stats,
  .price-context,
  .explorer-grid,
  .cards,
  .info-grid,
  .seo-link-grid,
  .article-grid,
  .info-panel.large {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .price-pair-grid {
    grid-template-columns: 1fr;
  }

  .price-context .info-panel.large {
    grid-column: auto;
  }

  .stats {
    margin-bottom: 58px;
  }

  .section {
    padding: 58px 0;
  }

  .card-number {
    margin-bottom: 28px;
  }

  .article-layout {
    padding-top: 32px;
  }

  .article-cover,
  .landing-cover {
    border-radius: 18px;
  }

  .article-cover {
    margin-top: 20px;
  }

  .article-card {
    min-height: auto;
  }

  .article-pager {
    grid-template-columns: 1fr;
  }
}
