:root {
  --rh-green: #00c805;
  --rh-green-dark: #008f12;
  --rh-ink: #111312;
  --rh-charcoal: #1e2120;
  --rh-paper: #ffffff;
  --rh-soft: #f3f5f1;
  --rh-line: #d8ddd6;
  --rh-muted: #667066;
  --rh-alert: #ff5a52;
  --rh-font: "Arial Nova", Aptos, "Helvetica Neue", Arial, sans-serif;
  --rh-mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body.rh-site,
body.rh-docs {
  margin: 0;
  background: var(--rh-paper);
  color: var(--rh-ink);
  font-family: var(--rh-font);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.rh-site *,
body.rh-docs * {
  box-sizing: border-box;
  letter-spacing: 0;
}

body.rh-site button,
body.rh-site input,
body.rh-docs button,
body.rh-docs input {
  font: inherit;
}

body.rh-site a,
body.rh-site button,
body.rh-docs a,
body.rh-docs button {
  -webkit-tap-highlight-color: transparent;
}

body.rh-site button:focus-visible,
body.rh-site a:focus-visible,
body.rh-site input:focus-visible,
body.rh-docs a:focus-visible,
body.rh-docs summary:focus-visible {
  outline: 3px solid var(--rh-green);
  outline-offset: 3px;
}

/* Boot */
body.rh-site .boot {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--rh-green);
  color: var(--rh-ink);
  transition: opacity 360ms ease, visibility 360ms ease;
}

body.rh-site .boot.done {
  opacity: 0 !important;
}

body.rh-site .bootbox {
  width: min(640px, calc(100vw - 40px));
  padding: 44px;
  border: 2px solid var(--rh-ink);
  border-radius: 8px;
  background: var(--rh-green);
  box-shadow: 12px 12px 0 var(--rh-ink);
}

body.rh-site .bootbrand {
  margin-bottom: 36px;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

body.rh-site .bootlog {
  min-height: 190px;
  color: #173319;
  font: 12px/1.75 var(--rh-mono);
}

body.rh-site .bootbar {
  height: 8px;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid var(--rh-ink);
  background: transparent;
}

body.rh-site .bootbar i {
  display: block;
  height: 100%;
  background: var(--rh-ink);
  transition: width 180ms ease;
}

/* Navigation */
body.rh-site .nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 0 max(28px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid rgba(17, 19, 18, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

body.rh-site .logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--rh-ink);
  text-decoration: none;
  white-space: nowrap;
}

body.rh-site .logo img {
  width: 34px;
  height: 34px;
  display: block;
  background: #000;
  image-rendering: pixelated;
}

body.rh-site .logo-type {
  display: grid;
  gap: 2px;
}

body.rh-site .logo-type strong {
  color: var(--rh-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

body.rh-site .logo-type small {
  color: var(--rh-muted);
  font: 700 8px/1 var(--rh-mono);
}

body.rh-site .nav nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

body.rh-site .nav nav a {
  position: relative;
  padding: 28px 0 26px;
  color: #343936;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

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

body.rh-site .nav nav a:hover::after {
  transform: scaleX(1);
}

body.rh-site .nav nav a.mint-nav {
  color: var(--rh-green-dark);
}

body.rh-site .wallet,
body.rh-site .btn {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

body.rh-site .nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

body.rh-site .social-link,
body.rh-site .ca-slot {
  height: 40px;
  min-width: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rh-line);
  border-radius: 999px;
  background: #fff;
  color: var(--rh-ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

body.rh-site .social-link {
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

body.rh-site .social-link:hover {
  background: var(--rh-green);
  color: var(--rh-ink);
  transform: translateY(-2px);
}

body.rh-site .ca-slot {
  color: var(--rh-muted);
  cursor: default;
}

body.rh-site .ca-copy {
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: right;
  white-space: nowrap;
}

body.rh-site .ca-copy:disabled {
  opacity: 1;
  cursor: default;
}

body.rh-site .ca-copy:not(:disabled):hover {
  color: var(--rh-green-dark);
}

body.rh-site .ca-copy:not(:disabled):active {
  transform: translateY(1px);
}

body.rh-site .hero-readout .ca-copy {
  color: var(--rh-ink);
  font: 700 10px/1.3 var(--rh-mono);
  text-align: left;
}

body.rh-site .mint-row .ca-copy {
  color: #fff;
  font: 700 9px/1.3 var(--rh-mono);
}

body.rh-site footer .ca-copy {
  color: var(--rh-green);
  font: 9px/1.3 var(--rh-mono);
}

body.rh-site .wallet,
body.rh-site .btn.dark,
body.rh-site .btn.invert {
  background: var(--rh-ink);
  color: #fff;
}

body.rh-site .wallet:hover,
body.rh-site .btn.dark:hover,
body.rh-site .btn.invert:hover {
  background: #2b2f2c;
  transform: translateY(-2px);
}

body.rh-site .btn.light {
  border: 1px solid var(--rh-line);
  background: #fff;
  color: var(--rh-ink);
}

body.rh-site .btn.light:hover {
  border-color: var(--rh-ink);
  background: var(--rh-soft);
  transform: translateY(-2px);
}

body.rh-site .wallet:active,
body.rh-site .btn:active {
  transform: translateY(1px);
}

body.rh-site .btn.full {
  width: 100%;
}

body.rh-site .hidden {
  display: none !important;
}

/* Shared typography and sections */
body.rh-site main {
  display: flex;
  flex-direction: column;
}

body.rh-site .hero { order: 1; }
body.rh-site .ticker { order: 2; }
body.rh-site .mint { order: 3; }
body.rh-site .explorer { order: 4; }
body.rh-site .router { order: 5; }
body.rh-site .network { order: 6; }
body.rh-site .fusion { order: 7; }
body.rh-site .gallery { order: 8; }
body.rh-site .system { order: 9; }
body.rh-site .protocol-console { order: 10; }
body.rh-site .docs-cta { order: 11; }

body.rh-site .mint {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 8vw;
  background: var(--rh-green);
  scroll-margin-top: 76px;
}

body.rh-site .mint .section-tag,
body.rh-site .mint p {
  color: #183b1c;
}

body.rh-site .mint .section-tag::before {
  background: var(--rh-ink);
}

body.rh-site .mint h2 {
  color: var(--rh-ink);
}

body.rh-site .mint h2 em {
  color: var(--rh-ink);
}

body.rh-site .mint-intro p {
  max-width: 620px;
}

body.rh-site .mint-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.rh-site .mint-social {
  border: 1px solid var(--rh-ink);
  background: transparent;
  color: var(--rh-ink);
}

body.rh-site .mint-social:hover {
  background: rgba(17, 19, 18, 0.09);
  transform: translateY(-2px);
}

body.rh-site .mint-status {
  margin-top: 16px;
  color: #214923;
  font: 10px/1.5 var(--rh-mono);
}

body.rh-site .mint-board {
  overflow: hidden;
  border: 2px solid var(--rh-ink);
  border-radius: 8px;
  background: var(--rh-ink);
  color: #fff;
  box-shadow: 12px 12px 0 rgba(17, 19, 18, 0.22);
}

body.rh-site .mint-board-head,
body.rh-site .mint-row,
body.rh-site .mint-board-foot {
  min-height: 54px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid #353a36;
  font: 9px/1.3 var(--rh-mono);
}

body.rh-site .mint-board-head b {
  color: #96a198;
}

body.rh-site .mint-supply {
  padding: 30px 22px;
  border-bottom: 1px solid #353a36;
}

body.rh-site .mint-supply small,
body.rh-site .mint-supply strong,
body.rh-site .mint-supply span {
  display: block;
}

body.rh-site .mint-supply small,
body.rh-site .mint-supply span {
  color: #96a198;
  font: 9px/1.4 var(--rh-mono);
}

body.rh-site .mint-supply strong {
  margin: 10px 0 5px;
  color: var(--rh-green);
  font-size: 58px;
  line-height: 1;
}

body.rh-site .mint-row span {
  color: #96a198;
}

body.rh-site .mint-row b {
  text-align: right;
}

body.rh-site .mint-progress {
  height: 7px;
  margin: 24px 22px 12px;
  overflow: hidden;
  border: 1px solid #414742;
  background: #202421;
}

body.rh-site .mint-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--rh-green);
}

body.rh-site .mint-board-foot {
  min-height: 42px;
  border-bottom: 0;
  color: #96a198;
}

body.rh-site .section,
body.rh-site .network-inner {
  width: 100%;
  max-width: none;
  padding: 112px max(28px, calc((100vw - 1360px) / 2)) 124px;
}

body.rh-site .section-tag,
body.rh-site .console-kicker,
body.rh-site .owned-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--rh-muted);
  font: 700 11px/1.2 var(--rh-mono);
}

body.rh-site .section-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rh-green);
}

body.rh-site h1,
body.rh-site h2,
body.rh-site h3,
body.rh-docs h1,
body.rh-docs h2,
body.rh-docs h3 {
  font-family: var(--rh-font);
  letter-spacing: 0;
  text-wrap: balance;
}

body.rh-site h2 {
  margin: 22px 0 0;
  font-size: 72px;
  font-weight: 600;
  line-height: 0.98;
}

body.rh-site h1 em,
body.rh-site h2 em {
  color: var(--rh-green-dark);
  font-style: normal;
  font-weight: inherit;
}

body.rh-site p {
  color: #4e5750;
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* Hero */
body.rh-site .hero {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: min(880px, calc(100svh - 24px));
  padding: 142px max(28px, calc((100vw - 1360px) / 2)) 62px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 8vw;
  background: var(--rh-soft);
}

body.rh-site .hero-copy {
  width: 100%;
  min-width: 0;
  max-width: 760px;
}

body.rh-site .hero-market {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #303531;
  border-radius: 8px;
  background: var(--rh-ink);
  color: #fff;
}

body.rh-site .market-head {
  min-height: 54px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #353a36;
  font: 700 9px/1 var(--rh-mono);
}

body.rh-site .market-head b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--rh-green);
}

body.rh-site .market-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rh-green);
}

body.rh-site .market-balance {
  padding: 26px 20px 18px;
}

body.rh-site .market-balance small,
body.rh-site .market-balance strong,
body.rh-site .market-balance span {
  display: block;
}

body.rh-site .market-balance small,
body.rh-site .market-balance span {
  color: #94a097;
  font: 9px/1.5 var(--rh-mono);
}

body.rh-site .market-balance strong {
  margin: 9px 0 5px;
  color: #fff;
  font-size: 46px;
  line-height: 1;
}

body.rh-site .market-chart {
  height: 96px;
  padding: 8px 20px 0;
  display: flex;
  align-items: end;
  gap: 5px;
  border-bottom: 1px solid #353a36;
}

body.rh-site .market-chart i {
  flex: 1;
  min-width: 3px;
  background: var(--rh-green);
  opacity: 0.82;
}

body.rh-site .market-stat {
  min-height: 46px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #2f3430;
  font: 9px/1 var(--rh-mono);
}

body.rh-site .market-stat span {
  color: #8f9991;
}

body.rh-site .market-stat b {
  color: var(--rh-green);
}

body.rh-site .market-actions {
  display: grid;
}

body.rh-site .market-actions button {
  min-height: 48px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid #2f3430;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: left;
  font-size: 10px;
  font-weight: 800;
  transition: background-color 160ms ease, color 160ms ease;
}

body.rh-site .market-actions button:last-child {
  border-bottom: 0;
}

body.rh-site .market-actions button span {
  color: var(--rh-green);
  font-size: 16px;
}

body.rh-site .market-actions button:hover {
  background: var(--rh-green);
  color: var(--rh-ink);
}

body.rh-site .market-actions button:hover span {
  color: var(--rh-ink);
}

body.rh-site .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: #3a433b;
  font: 700 11px/1 var(--rh-mono);
}

body.rh-site .led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rh-green);
  box-shadow: 0 0 0 6px rgba(0, 200, 5, 0.12);
  animation: rh-pulse 1.8s ease-in-out infinite;
}

@keyframes rh-pulse {
  50% { box-shadow: 0 0 0 11px rgba(0, 200, 5, 0); }
}

body.rh-site .hero h1 {
  margin: 0;
  color: var(--rh-ink);
  font-size: 128px;
  font-weight: 700;
  line-height: 0.82;
}

body.rh-site .hero h1 em {
  display: inline-block;
  color: var(--rh-green-dark);
}

body.rh-site .claim {
  margin: 30px 0 0;
  color: var(--rh-ink);
  font-size: 25px;
  font-weight: 600;
}

body.rh-site .lede {
  max-width: 590px;
  margin: 18px 0 0;
}

body.rh-site .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

body.rh-site .hero-readout {
  max-width: 650px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--rh-line);
  display: grid;
  grid-template-columns: repeat(3, auto 1fr);
  gap: 8px 14px;
  align-items: baseline;
  font-family: var(--rh-mono);
}

body.rh-site .hero-readout span {
  color: var(--rh-muted);
  font-size: 9px;
}

body.rh-site .hero-readout b {
  color: var(--rh-ink);
  font-size: 10px;
}

body.rh-site .hero-specimen {
  width: min(100%, 530px);
  justify-self: end;
  padding: 14px;
  border: 1px solid #303531;
  border-radius: 8px;
  background: var(--rh-ink);
  color: #fff;
  box-shadow: 18px 18px 0 var(--rh-green);
}

body.rh-site .specimen-head,
body.rh-site .specimen-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 3px 3px 13px;
  color: #bdc5be;
  font: 10px/1.4 var(--rh-mono);
}

body.rh-site .specimen-foot {
  padding: 13px 3px 2px;
}

body.rh-site .specimen {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  background: #282c29;
}

body.rh-site .specimen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

body.rh-site .scan {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--rh-green);
  box-shadow: 0 0 24px var(--rh-green);
  animation: rh-scan 4s ease-in-out infinite;
}

@keyframes rh-scan {
  0%, 100% { transform: translateY(0); opacity: 0; }
  10%, 90% { opacity: 1; }
  50% { transform: translateY(440px); }
}

body.rh-site .coord {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 10px;
  border-radius: 4px;
  background: rgba(17, 19, 18, 0.82);
  color: #fff;
  font: 9px/1.5 var(--rh-mono);
}

body.rh-site .ticker {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 28px;
  overflow: hidden;
  background: var(--rh-ink);
  color: #fff;
  white-space: nowrap;
  font: 11px/1 var(--rh-mono);
}

body.rh-site .ticker i {
  color: var(--rh-green);
  font-style: normal;
}

/* System and console */
body.rh-site .system {
  background: #fff;
}

body.rh-site .split,
body.rh-site .explorer-top,
body.rh-site .gallery-head,
body.rh-site .network-head,
body.rh-site .router-head,
body.rh-site .fusion-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 80px;
  align-items: start;
  margin-top: 26px;
}

body.rh-site .split .prose {
  padding-top: 12px;
}

body.rh-site .split .prose p:first-child {
  margin-top: 0;
  color: var(--rh-ink);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
}

body.rh-site .grammar {
  margin-top: 74px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rh-line);
  border-bottom: 1px solid var(--rh-line);
}

body.rh-site .grammar > div:not(.arrow) {
  min-height: 180px;
  padding: 28px 24px;
  border-right: 1px solid var(--rh-line);
  display: flex;
  flex-direction: column;
}

body.rh-site .grammar > div:nth-last-child(1) {
  border-right: 0;
}

body.rh-site .grammar small {
  color: var(--rh-green-dark);
  font: 700 11px var(--rh-mono);
}

body.rh-site .grammar b {
  margin-top: auto;
  font-size: 28px;
}

body.rh-site .grammar span {
  margin-top: 6px;
  color: var(--rh-muted);
  font-size: 13px;
}

body.rh-site .grammar .arrow {
  display: none;
}

body.rh-site .protocol-console {
  background: var(--rh-soft);
}

body.rh-site .console-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
  gap: 90px;
  align-items: center;
  margin-top: 34px;
}

body.rh-site .console,
body.rh-site .route-terminal,
body.rh-site .fusion-center {
  border: 1px solid #333834;
  border-radius: 8px;
  background: var(--rh-ink);
  color: #fff;
  overflow: hidden;
}

body.rh-site .console-head,
body.rh-site .terminal-top {
  min-height: 58px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #383d39;
  font: 10px/1 var(--rh-mono);
}

body.rh-site .console-head b,
body.rh-site .terminal-top b {
  color: var(--rh-green);
}

body.rh-site .console-row {
  min-height: 55px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2e332f;
  font: 11px/1 var(--rh-mono);
}

body.rh-site .console-row span {
  color: #9aa49c;
}

body.rh-site .console-foot {
  padding: 24px 22px;
  color: #8e9890;
  font: 9px/1.6 var(--rh-mono);
}

body.rh-site .console-copy h2 {
  max-width: 760px;
}

body.rh-site .console-copy p {
  max-width: 680px;
}

body.rh-site .console-links {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rh-line);
}

body.rh-site .console-links a {
  padding: 18px 0;
  border-bottom: 1px solid var(--rh-line);
  color: var(--rh-ink);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: color 160ms ease, padding-left 160ms ease;
}

body.rh-site .console-links a:hover {
  padding-left: 8px;
  color: var(--rh-green-dark);
}

/* Entity explorer */
body.rh-site .explorer {
  background: #fff;
}

body.rh-site .explorer-top p,
body.rh-site .gallery-head p,
body.rh-site .network-head p,
body.rh-site .router-head p,
body.rh-site .fusion-head p {
  max-width: 560px;
  margin-top: 22px;
}

body.rh-site .search {
  height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding-left: 20px;
  border: 1px solid var(--rh-line);
  border-radius: 8px;
  background: var(--rh-soft);
}

body.rh-site .search span {
  color: var(--rh-green-dark);
  font-size: 22px;
}

body.rh-site .search input {
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--rh-ink);
  font: 12px var(--rh-mono);
}

body.rh-site .search button {
  align-self: stretch;
  padding: 0 28px;
  border: 0;
  border-radius: 0 7px 7px 0;
  background: var(--rh-green);
  color: var(--rh-ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

body.rh-site .owned-panel {
  margin-top: 58px;
  border-top: 1px solid var(--rh-line);
  border-bottom: 1px solid var(--rh-line);
}

body.rh-site .owned-head {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

body.rh-site .owned-head strong,
body.rh-site .owned-count b {
  display: block;
  margin-top: 6px;
  font: 700 12px var(--rh-mono);
}

body.rh-site .owned-count {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--rh-muted);
  font: 10px var(--rh-mono);
}

body.rh-site .owned-count b {
  margin: 0;
  color: var(--rh-ink);
  font-size: 24px;
}

body.rh-site .owned-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 22px;
}

body.rh-site .owned-card,
body.rh-site .grid .card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rh-line);
  border-radius: 6px;
  padding: 0;
  background: #fff;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

body.rh-site .owned-card:hover,
body.rh-site .grid .card:hover {
  border-color: var(--rh-green-dark);
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(16, 40, 18, 0.12);
}

body.rh-site .owned-card span,
body.rh-site .grid .card span {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  padding: 5px 7px;
  border-radius: 4px;
  background: rgba(17, 19, 18, 0.84);
  color: #fff;
  font: 9px var(--rh-mono);
}

body.rh-site .owned-card img,
body.rh-site .grid .card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  image-rendering: pixelated;
}

body.rh-site .owned-empty {
  padding: 24px 0;
  color: var(--rh-muted);
  font: 11px var(--rh-mono);
}

body.rh-site .entity-panel {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  border: 1px solid #303531;
  border-radius: 8px;
  overflow: hidden;
  background: var(--rh-ink);
  color: #fff;
}

body.rh-site .entity-canvas {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
  padding: 62px;
  background: #242825;
}

body.rh-site .entity-canvas img {
  width: min(100%, 520px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  image-rendering: pixelated;
}

body.rh-site .corner,
body.rh-site .measure {
  position: absolute;
  color: #9ba69d;
  font: 9px/1.5 var(--rh-mono);
}

body.rh-site .corner {
  top: 20px;
  left: 22px;
}

body.rh-site .corner b {
  color: var(--rh-green);
}

body.rh-site .measure {
  right: 22px;
  bottom: 20px;
}

body.rh-site .entity-info {
  padding: 40px;
  border-left: 1px solid #383d39;
}

body.rh-site .entity-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid #383d39;
}

body.rh-site .entity-title span {
  font-size: 26px;
  font-weight: 700;
}

body.rh-site .entity-title b {
  color: var(--rh-green);
  font: 10px var(--rh-mono);
}

body.rh-site .trait {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #303531;
  font: 10px var(--rh-mono);
}

body.rh-site .trait span {
  color: #8f9991;
}

body.rh-site .trait b {
  max-width: 62%;
  text-align: right;
}

body.rh-site .hidden-card {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid #38413a;
  border-radius: 6px;
  background: #1b1f1c;
}

body.rh-site .hidden-card span,
body.rh-site .hidden-card b,
body.rh-site .hidden-card small {
  display: block;
}

body.rh-site .hidden-card span,
body.rh-site .hidden-card small {
  color: #8f9991;
  font: 9px/1.5 var(--rh-mono);
}

body.rh-site .hidden-card b {
  margin: 8px 0;
  color: var(--rh-green);
  font: 700 12px var(--rh-mono);
}

body.rh-site .entity-info .btn.dark,
body.rh-site .fusion-center .btn.dark {
  background: var(--rh-green);
  color: var(--rh-ink);
}

body.rh-site .entity-info .btn.dark:hover,
body.rh-site .fusion-center .btn.dark:hover {
  background: #13dc18;
}

body.rh-site .scan-result,
body.rh-site .fusion-status {
  margin-top: 12px;
  color: #9ba69d;
  text-align: center;
  font: 9px/1.5 var(--rh-mono);
}

/* Gallery and network */
body.rh-site .gallery {
  background: var(--rh-soft);
}

body.rh-site .grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

body.rh-site .gallery .more {
  margin: 38px auto 0;
}

body.rh-site .network {
  background: var(--rh-ink);
  color: #fff;
}

body.rh-site .network .section-tag,
body.rh-site .network p {
  color: #9ba69d;
}

body.rh-site .network h2 {
  color: #fff;
}

body.rh-site .network h2 em {
  color: var(--rh-green);
}

body.rh-site .map {
  position: relative;
  min-height: 520px;
  margin-top: 70px;
  overflow: hidden;
  border: 1px solid #353a36;
  border-radius: 8px;
  background-color: #171a18;
  background-image: linear-gradient(#282d29 1px, transparent 1px), linear-gradient(90deg, #282d29 1px, transparent 1px);
  background-size: 48px 48px;
}

body.rh-site .map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body.rh-site .map .links line {
  stroke: var(--rh-green);
  stroke-width: 2;
  stroke-dasharray: 8 8;
}

body.rh-site .node {
  position: absolute;
  width: 70px;
  height: 70px;
  border: 1px solid var(--rh-green);
  border-radius: 50%;
  background: var(--rh-ink);
  color: #fff;
  cursor: pointer;
  font: 700 10px var(--rh-mono);
  box-shadow: 0 0 0 8px rgba(0, 200, 5, 0.08);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

body.rh-site .node:hover {
  background: var(--rh-green);
  color: var(--rh-ink);
  transform: scale(1.08);
}

body.rh-site .mapdata {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: #8f9991;
  font: 9px/1.6 var(--rh-mono);
}

body.rh-site .mapdata b {
  color: var(--rh-green);
}

body.rh-site .pair-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
  border-top: 1px solid #353a36;
  border-bottom: 1px solid #353a36;
}

body.rh-site .pair-strip > div {
  padding: 24px;
  border-right: 1px solid #353a36;
}

body.rh-site .pair-strip > div:last-child {
  border-right: 0;
}

body.rh-site .pair-strip span,
body.rh-site .pair-strip b,
body.rh-site .pair-strip small {
  display: block;
}

body.rh-site .pair-strip span,
body.rh-site .pair-strip small {
  color: #8f9991;
  font: 9px/1.5 var(--rh-mono);
}

body.rh-site .pair-strip b {
  margin: 9px 0;
  color: var(--rh-green);
  font-size: 18px;
}

/* Router */
body.rh-site .router {
  background: #fff;
}

body.rh-site .credit-terminal,
body.rh-site .fuel-box {
  min-height: 180px;
  padding: 28px;
  border-radius: 8px;
  background: var(--rh-green);
  color: var(--rh-ink);
}

body.rh-site .credit-terminal span,
body.rh-site .credit-terminal strong,
body.rh-site .credit-terminal small,
body.rh-site .fuel-box span,
body.rh-site .fuel-box strong,
body.rh-site .fuel-box small {
  display: block;
}

body.rh-site .credit-terminal span,
body.rh-site .credit-terminal small,
body.rh-site .fuel-box span,
body.rh-site .fuel-box small {
  font: 10px/1.4 var(--rh-mono);
}

body.rh-site .credit-terminal strong,
body.rh-site .fuel-box strong {
  margin: 20px 0 10px;
  font-size: 52px;
  line-height: 1;
}

body.rh-site .router-shell {
  margin-top: 58px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 22px;
}

body.rh-site .route-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.rh-site .route-item {
  min-height: 72px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--rh-line);
  border-radius: 6px;
  background: var(--rh-soft);
  color: var(--rh-ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

body.rh-site .route-item span {
  color: var(--rh-muted);
  font: 10px var(--rh-mono);
}

body.rh-site .route-item strong {
  font-size: 19px;
}

body.rh-site .route-item:hover {
  border-color: var(--rh-green-dark);
  transform: translateX(3px);
}

body.rh-site .route-item.active {
  border-color: var(--rh-green);
  background: var(--rh-green);
}

body.rh-site .route-selected {
  min-height: 230px;
  padding: 28px;
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid #353a36;
}

body.rh-site .route-selected img {
  width: 170px;
  aspect-ratio: 1;
  border-radius: 5px;
  object-fit: cover;
  image-rendering: pixelated;
}

body.rh-site .route-selected span,
body.rh-site .route-selected small {
  display: block;
  color: #8f9991;
  font: 9px/1.5 var(--rh-mono);
}

body.rh-site .route-selected strong {
  display: block;
  margin: 10px 0;
  color: var(--rh-green);
  font-size: 60px;
  line-height: 1;
}

body.rh-site .terminal-line {
  min-height: 58px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #303531;
  font: 10px var(--rh-mono);
}

body.rh-site .terminal-line span,
body.rh-site .hint {
  color: #8f9991;
}

body.rh-site .route-terminal .btn {
  width: calc(100% - 56px);
  margin: 24px 28px 10px;
  background: var(--rh-green);
  color: var(--rh-ink);
}

body.rh-site .route-terminal .btn:disabled {
  cursor: not-allowed;
  background: #353a36;
  color: #7f8981;
}

body.rh-site .hint {
  margin: 0 28px 24px;
  font: 9px/1.5 var(--rh-mono);
}

/* Fusion and docs callout */
body.rh-site .fusion {
  background: var(--rh-soft);
}

body.rh-site .fusion-console {
  margin-top: 58px;
  display: grid;
  grid-template-columns: 0.72fr 1.35fr 0.72fr;
  gap: 16px;
  align-items: start;
}

body.rh-site .fusion-side {
  padding: 22px;
  border: 1px solid var(--rh-line);
  border-radius: 8px;
  background: #fff;
}

body.rh-site .fusion-side label {
  display: block;
  margin-bottom: 14px;
  color: var(--rh-muted);
  font: 10px var(--rh-mono);
}

body.rh-site .fusion-choices {
  display: grid;
  gap: 7px;
}

body.rh-site .fusion-pick {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--rh-line);
  border-radius: 5px;
  background: var(--rh-soft);
  color: var(--rh-ink);
  cursor: pointer;
  text-align: left;
  font: 9px var(--rh-mono);
}

body.rh-site .fusion-pick:hover,
body.rh-site .fusion-pick.active {
  border-color: var(--rh-green-dark);
  background: var(--rh-green);
}

body.rh-site .fusion-center {
  padding: 28px;
}

body.rh-site .fusion-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

body.rh-site .fusion-pair img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 5px;
  object-fit: cover;
  image-rendering: pixelated;
}

body.rh-site .fusion-pair span {
  display: block;
  margin-top: 8px;
  color: #a0aaa2;
  text-align: center;
  font: 10px var(--rh-mono);
}

body.rh-site .fusion-pair > b {
  color: var(--rh-green);
  font-size: 30px;
}

body.rh-site .fusion-check {
  margin: 26px 0;
  padding: 22px 0;
  border-top: 1px solid #353a36;
  border-bottom: 1px solid #353a36;
  text-align: center;
}

body.rh-site .fusion-check span,
body.rh-site .fusion-check strong,
body.rh-site .fusion-check small {
  display: block;
}

body.rh-site .fusion-check span,
body.rh-site .fusion-check small {
  color: #8f9991;
  font: 9px/1.5 var(--rh-mono);
}

body.rh-site .fusion-check strong {
  margin: 8px 0;
  color: var(--rh-green);
  font-size: 52px;
}

body.rh-site .result-model {
  display: grid;
  gap: 9px;
}

body.rh-site .result-model span {
  margin-top: 11px;
  color: var(--rh-muted);
  font: 9px var(--rh-mono);
}

body.rh-site .result-model b {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rh-line);
  font-size: 15px;
}

body.rh-site .docs-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 90px;
  background: var(--rh-green);
}

body.rh-site .docs-cta .section-tag,
body.rh-site .docs-cta p {
  color: #214023;
}

body.rh-site .docs-cta h2 em {
  color: var(--rh-ink);
}

body.rh-site .docs-cta p {
  max-width: 700px;
}

body.rh-site .doc-card {
  padding: 30px;
  border: 2px solid var(--rh-ink);
  border-radius: 8px;
  box-shadow: 10px 10px 0 var(--rh-ink);
}

body.rh-site .doc-card span,
body.rh-site .doc-card b,
body.rh-site .doc-card small {
  display: block;
}

body.rh-site .doc-card span,
body.rh-site .doc-card small {
  padding: 10px 0;
  border-bottom: 1px solid rgba(17, 19, 18, 0.28);
  font: 10px var(--rh-mono);
}

body.rh-site .doc-card b {
  padding: 34px 0;
  font-size: 28px;
}

body.rh-site footer {
  min-height: 88px;
  padding: 0 max(28px, calc((100vw - 1360px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: var(--rh-ink);
  color: #a4aea6;
  font: 9px var(--rh-mono);
}

body.rh-site footer a {
  color: var(--rh-green);
  text-decoration: none;
}

body.rh-site footer a:hover {
  color: #fff;
}

/* Technical documentation */
body.rh-docs {
  background: var(--rh-soft);
}

body.rh-docs .docs-nav {
  height: 70px;
  padding: 0 max(24px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid var(--rh-line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  font: 700 11px var(--rh-font);
}

body.rh-docs .docs-nav > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rh-ink);
  font-size: 16px;
  font-weight: 800;
}

body.rh-docs .docs-nav > a img {
  width: 32px;
  height: 32px;
  background: #000;
  image-rendering: pixelated;
}

body.rh-docs .docs-nav nav a {
  color: #4f5851;
  transition: color 160ms ease;
}

body.rh-docs .docs-nav nav a:hover {
  color: var(--rh-green-dark);
}

body.rh-docs .docs-shell {
  grid-template-columns: 290px minmax(0, 980px);
  max-width: 1360px;
  min-height: calc(100vh - 70px);
}

body.rh-docs .sidebar {
  top: 70px;
  height: calc(100vh - 70px);
  padding: 52px 28px;
  border-right: 1px solid var(--rh-line);
  background: var(--rh-ink);
  color: #fff;
}

body.rh-docs .sidebar > span,
body.rh-docs .sidebar a {
  color: #9da79f;
}

body.rh-docs .sidebar h1 {
  margin: 24px 0;
  color: #fff;
  font-size: 46px;
  line-height: 0.9;
}

body.rh-docs .sidebar h1 em,
body.rh-docs .sidebar .status {
  color: var(--rh-green);
}

body.rh-docs .sidebar .status i {
  background: var(--rh-green);
}

body.rh-docs .sidebar a {
  border-bottom-color: #343a35;
  transition: color 160ms ease, padding-left 160ms ease;
}

body.rh-docs .sidebar a:hover {
  padding-left: 6px;
  color: #fff;
}

body.rh-docs .docs-shell main {
  padding: 0 66px 110px;
  background: #fff;
}

body.rh-docs .doc-top,
body.rh-docs .doc-section {
  border-color: var(--rh-line);
}

body.rh-docs .doc-section {
  padding: 86px 0 98px;
}

body.rh-docs .doc-section label {
  color: var(--rh-green-dark);
  font-weight: 800;
}

body.rh-docs .doc-section h2 {
  max-width: 820px;
  margin: 14px 0 28px;
  color: var(--rh-ink);
  font-size: 58px;
  font-weight: 600;
  line-height: 1.02;
}

body.rh-docs .doc-section p {
  color: #4e5750;
  font-size: 16px;
  line-height: 1.7;
}

body.rh-docs .doc-section .lead {
  color: var(--rh-ink);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
}

body.rh-docs .callout,
body.rh-docs .rule,
body.rh-docs .integration {
  border-color: var(--rh-green-dark);
  border-radius: 8px;
  background: #e8f8e7;
}

body.rh-docs .callout strong,
body.rh-docs .equation strong,
body.rh-docs .match-graph .success strong {
  color: var(--rh-green-dark);
}

body.rh-docs .grammar-grid article,
body.rh-docs .specimen-card,
body.rh-docs .network-diagram > div,
body.rh-docs .stock-grid div,
body.rh-docs details {
  border-color: var(--rh-line);
  background: var(--rh-soft);
}

body.rh-docs .metrics b,
body.rh-docs .stock-grid b {
  color: var(--rh-green-dark);
}

body.rh-docs .distribution i,
body.rh-docs .architecture > div,
body.rh-docs .fusion-diagram .accent {
  background: var(--rh-green);
  color: var(--rh-ink);
}

body.rh-docs .network-diagram > div.pass {
  border-color: var(--rh-green-dark);
  background: #e8f8e7;
}

body.rh-docs .codeblock {
  border-radius: 8px;
  background: var(--rh-ink);
  color: var(--rh-green);
}

body.rh-docs footer {
  background: var(--rh-green);
  color: var(--rh-ink);
  font-weight: 800;
}

@media (max-width: 1120px) {
  body.rh-site .nav {
    gap: 22px;
  }

  body.rh-site .nav nav {
    gap: 16px;
  }

  body.rh-site .nav nav a {
    font-size: 10px;
  }

  body.rh-site .hero {
    gap: 46px;
  }

  body.rh-site .hero h1 {
    font-size: 96px;
  }

  body.rh-site .owned-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  body.rh-site .grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  body.rh-site .fusion-console {
    grid-template-columns: 0.8fr 1.2fr;
  }

  body.rh-site .fusion-side.right {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  body.rh-site .nav {
    grid-template-columns: 1fr auto;
  }

  body.rh-site .nav nav {
    display: none;
  }

  body.rh-site .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 58px;
    padding-top: 132px;
    padding-bottom: 80px;
  }

  body.rh-site .hero-copy {
    max-width: 680px;
  }

  body.rh-site .hero-specimen {
    width: min(90%, 560px);
    justify-self: center;
  }

  body.rh-site .split,
  body.rh-site .explorer-top,
  body.rh-site .gallery-head,
  body.rh-site .network-head,
  body.rh-site .router-head,
  body.rh-site .fusion-head,
  body.rh-site .console-grid,
  body.rh-site .docs-cta {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  body.rh-site .mint {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  body.rh-site .grammar {
    grid-template-columns: repeat(2, 1fr);
  }

  body.rh-site .grammar > div:not(.arrow):nth-of-type(2) {
    border-right: 0;
  }

  body.rh-site .owned-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  body.rh-site .entity-panel,
  body.rh-site .router-shell {
    grid-template-columns: 1fr;
  }

  body.rh-site .entity-info {
    border-top: 1px solid #383d39;
    border-left: 0;
  }

  body.rh-site .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.rh-site .pair-strip {
    grid-template-columns: 1fr;
  }

  body.rh-site .pair-strip > div {
    border-right: 0;
    border-bottom: 1px solid #353a36;
  }

  body.rh-site .fusion-console {
    grid-template-columns: 1fr;
  }

  body.rh-site .fusion-side.right {
    grid-column: auto;
  }

  body.rh-docs .docs-nav nav {
    display: none;
  }

  body.rh-docs .docs-shell {
    display: block;
  }

  body.rh-docs .sidebar {
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    padding: 42px 28px;
    border-right: 0;
  }

  body.rh-docs .sidebar a {
    display: none;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 64px;
  }

  body.rh-site .nav {
    height: 64px;
    padding: 0 16px;
  }

  body.rh-site .logo {
    gap: 8px;
  }

  body.rh-site .logo img {
    width: 30px;
    height: 30px;
  }

  body.rh-site .logo-type strong {
    font-size: 13px;
  }

  body.rh-site .logo-type small {
    display: none;
  }

  body.rh-site .wallet {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0;
  }

  body.rh-site .nav-actions {
    gap: 6px;
  }

  body.rh-site .social-link,
  body.rh-site .ca-slot {
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
    font-size: 9px;
  }

  body.rh-site .ca-slot {
    width: 48px;
    min-width: 48px;
    white-space: nowrap;
  }

  body.rh-site .mint {
    scroll-margin-top: 64px;
  }

  body.rh-site .wallet::after {
    content: "CONNECT";
    font-size: 10px;
  }

  body.rh-site .bootbox {
    padding: 28px 22px;
    box-shadow: 7px 7px 0 var(--rh-ink);
  }

  body.rh-site .bootbrand {
    font-size: 28px;
  }

  body.rh-site .section,
  body.rh-site .network-inner {
    padding: 82px 18px 92px;
  }

  body.rh-site h2 {
    font-size: 48px;
  }

  body.rh-site p {
    font-size: 15px;
  }

  body.rh-site .hero {
    padding: 112px 18px 66px;
  }

  body.rh-site .hero h1 {
    font-size: 64px;
    line-height: 0.9;
  }

  body.rh-site .claim {
    font-size: 19px;
  }

  body.rh-site .actions {
    display: grid;
  }

  body.rh-site .mint-actions {
    display: grid;
  }

  body.rh-site .mint-actions .btn {
    width: 100%;
  }

  body.rh-site .actions .btn {
    width: 100%;
  }

  body.rh-site .hero-readout {
    grid-template-columns: auto 1fr;
  }

  body.rh-site .hero-specimen {
    width: calc(100% - 18px);
    max-width: 100%;
    box-shadow: 9px 9px 0 var(--rh-green);
  }

  body.rh-site .ticker {
    justify-content: flex-start;
    overflow-x: auto;
  }

  body.rh-site .grammar {
    grid-template-columns: 1fr;
  }

  body.rh-site .grammar > div:not(.arrow) {
    min-height: 132px;
    border-right: 0;
    border-bottom: 1px solid var(--rh-line);
  }

  body.rh-site .console-grid {
    gap: 34px;
  }

  body.rh-site .console-links {
    grid-template-columns: 1fr;
  }

  body.rh-site .search {
    height: 56px;
  }

  body.rh-site .search button {
    padding: 0 18px;
  }

  body.rh-site .owned-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.rh-site .entity-canvas {
    min-height: 0;
    padding: 52px 24px;
  }

  body.rh-site .entity-info {
    padding: 26px 20px;
  }

  body.rh-site .entity-title {
    align-items: flex-start;
    flex-direction: column;
  }

  body.rh-site .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  body.rh-site .map {
    min-height: 430px;
  }

  body.rh-site .node {
    width: 54px;
    height: 54px;
    font-size: 8px;
  }

  body.rh-site .mapdata {
    right: 12px;
    bottom: 12px;
    max-width: 170px;
  }

  body.rh-site .credit-terminal strong,
  body.rh-site .fuel-box strong {
    font-size: 42px;
  }

  body.rh-site .route-list {
    grid-template-columns: 1fr;
  }

  body.rh-site .route-selected {
    grid-template-columns: 110px 1fr;
    gap: 18px;
    padding: 20px;
  }

  body.rh-site .route-selected img {
    width: 110px;
  }

  body.rh-site .route-selected strong {
    font-size: 38px;
  }

  body.rh-site .fusion-center {
    padding: 20px;
  }

  body.rh-site .fusion-pair {
    gap: 10px;
  }

  body.rh-site .docs-cta {
    gap: 48px;
  }

  body.rh-site .doc-card {
    box-shadow: 7px 7px 0 var(--rh-ink);
  }

  body.rh-site footer {
    padding: 28px 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  body.rh-docs .docs-nav {
    height: 64px;
    padding: 0 18px;
  }

  body.rh-docs .docs-nav > a {
    font-size: 14px;
  }

  body.rh-docs .docs-nav > a img {
    width: 30px;
    height: 30px;
  }

  body.rh-docs .sidebar {
    padding: 36px 20px;
  }

  body.rh-docs .docs-shell main {
    padding: 0 20px 80px;
  }

  body.rh-docs .doc-section {
    padding: 66px 0 76px;
  }

  body.rh-docs .doc-section h2 {
    font-size: 42px;
  }

  body.rh-docs .doc-section .lead {
    font-size: 19px;
  }
}

/* Robinhood workspace layout */
@media (min-width: 901px) {
  body.rh-site .hero {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }

  body.rh-site .hero-specimen {
    grid-column: 4 / 9;
    grid-row: 1;
    justify-self: stretch;
    align-self: stretch;
    width: 100%;
    max-width: none;
  }

  body.rh-site .hero-copy {
    grid-column: 9 / 13;
    grid-row: 1;
    align-self: center;
    padding-left: 2vw;
  }

  body.rh-site .hero-market {
    grid-column: 1 / 4;
    grid-row: 1;
    align-self: stretch;
  }

  body.rh-site .hero h1 {
    font-size: 72px;
    line-height: 0.9;
  }

  body.rh-site .hero .claim {
    font-size: 20px;
  }

  body.rh-site .hero .actions {
    display: grid;
  }

  body.rh-site .hero .actions .btn {
    width: 100%;
  }

  body.rh-site .hero-readout {
    grid-template-columns: auto 1fr;
  }

  body.rh-site .split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
  }

  body.rh-site .split > div:first-child {
    grid-column: 1 / 8;
  }

  body.rh-site .split .prose {
    grid-column: 9 / 13;
  }

  body.rh-site .console-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
  }

  body.rh-site .console-copy {
    grid-column: 1 / 8;
    grid-row: 1;
    padding: 30px 6vw 30px 0;
  }

  body.rh-site .console-grid > .console {
    grid-column: 9 / 13;
    grid-row: 1;
  }

  body.rh-site .explorer-top {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    align-items: end;
  }

  body.rh-site .explorer-top > div:first-child {
    grid-column: 1 / 8;
  }

  body.rh-site .explorer-top > .search {
    grid-column: 9 / 13;
    margin-bottom: 10px;
  }

  body.rh-site .entity-panel {
    grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1.28fr);
  }

  body.rh-site .entity-info {
    grid-column: 1;
    grid-row: 1;
    border-right: 1px solid #383d39;
    border-left: 0;
  }

  body.rh-site .entity-canvas {
    grid-column: 2;
    grid-row: 1;
  }

  body.rh-site .gallery-head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
  }

  body.rh-site .gallery-head h2 {
    grid-column: 1 / 9;
  }

  body.rh-site .gallery-head p {
    grid-column: 10 / 13;
    align-self: end;
  }

  body.rh-site .grid {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    grid-auto-flow: dense;
    grid-auto-rows: clamp(170px, 17vw, 240px);
  }

  body.rh-site .grid .card {
    grid-column: span 2;
    min-height: 0;
    height: 100%;
    aspect-ratio: auto;
  }

  body.rh-site .grid .card:nth-child(12n + 1),
  body.rh-site .grid .card:nth-child(12n + 8) {
    grid-column: span 4;
    grid-row: span 2;
  }

  body.rh-site .grid .card img {
    height: 100%;
    aspect-ratio: auto;
  }

  body.rh-site .network-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.55fr);
    column-gap: 18px;
  }

  body.rh-site .network-inner > .section-tag,
  body.rh-site .network-head {
    grid-column: 1 / -1;
  }

  body.rh-site .network-head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
  }

  body.rh-site .network-head h2 {
    grid-column: 1 / 9;
  }

  body.rh-site .network-head p {
    grid-column: 10 / 13;
    align-self: end;
  }

  body.rh-site .map {
    grid-column: 1;
    margin-top: 64px;
  }

  body.rh-site .pair-strip {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr;
    align-self: stretch;
    margin-top: 64px;
    border: 1px solid #353a36;
    border-radius: 8px;
    overflow: hidden;
  }

  body.rh-site .pair-strip > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
    border-right: 0;
    border-bottom: 1px solid #353a36;
  }

  body.rh-site .pair-strip > div:last-child {
    border-bottom: 0;
  }

  body.rh-site .router-shell {
    grid-template-columns: 1fr;
  }

  body.rh-site .route-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  body.rh-site .route-item {
    min-height: 64px;
  }

  body.rh-site .route-terminal {
    display: grid;
    grid-template-columns: minmax(390px, 1.18fr) minmax(320px, 0.82fr);
  }

  body.rh-site .route-terminal .terminal-top {
    grid-column: 1 / -1;
  }

  body.rh-site .route-selected {
    grid-column: 1;
    grid-row: 2 / 7;
    min-height: 100%;
    border-right: 1px solid #353a36;
    border-bottom: 0;
  }

  body.rh-site .route-terminal .terminal-line,
  body.rh-site .route-terminal > .btn,
  body.rh-site .route-terminal > .hint {
    grid-column: 2;
  }

  body.rh-site .fusion-console {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.rh-site .fusion-center {
    order: -1;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    column-gap: 38px;
    align-items: center;
  }

  body.rh-site .fusion-pair {
    grid-column: 1;
    grid-row: 1 / 5;
  }

  body.rh-site .fusion-check,
  body.rh-site .fusion-center > .btn,
  body.rh-site .fusion-center > .fusion-status {
    grid-column: 2;
  }

  body.rh-site .fusion-check {
    margin-top: 0;
  }

  body.rh-site .fusion-side.right {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.rh-site *, body.rh-docs * {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
