:root {
  --rde-purple: #302070;
  --rde-purple-deep: #24145f;
  --rde-purple-soft: #edeaf8;
  --rde-purple-tint: #f7f5ff;
  --rde-blue: #2d6bff;
  --rde-blue-soft: #eaf1ff;
  --rde-background: #f5f6fa;
  --rde-white: #ffffff;
  --rde-border: #e1e4ec;
  --rde-border-strong: #a2a7b5;
  --rde-text: #333333;
  --rde-text-strong: #111111;
  --rde-text-muted: #707584;
  --rde-success: #12805c;
  --rde-success-bg: #e5f4ee;
  --rde-warning: #b76e00;
  --rde-warning-bg: #fbf0dc;
  --rde-danger: #b42318;
  --rde-danger-bg: #fcecea;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", "Menlo", monospace;
  --radius: 8px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.06);
  --shadow-md: 0 10px 24px rgba(36, 20, 95, 0.1);
  --shadow-focus: 0 0 0 3px rgba(45, 107, 255, 0.22);
  --ease-standard: cubic-bezier(0.2, 0, 0.2, 1);
  --duration-fast: 120ms;
  --duration-base: 180ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--rde-text);
  background: var(--rde-background);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

a:hover {
  color: var(--rde-purple);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--rde-text-strong);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: 52px;
  font-weight: 800;
}

h2 {
  font-size: 36px;
  font-weight: 800;
}

h3 {
  font-size: 22px;
  font-weight: 700;
}

h4 {
  font-size: 18px;
  font-weight: 700;
}

p {
  margin: 0;
}

.mono,
code,
pre,
.hash,
.status-code {
  font-family: var(--font-mono);
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--rde-white);
  background: var(--rde-text-strong);
}

.skip-link:focus {
  top: 16px;
}

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

:focus-visible {
  outline: 0;
  box-shadow: var(--shadow-focus);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(225, 228, 236, 0.86);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex: 0 0 auto;
}

.brand img {
  width: 178px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--rde-text);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--rde-purple);
  background: var(--rde-purple-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rde-border);
  border-radius: var(--radius);
  color: var(--rde-purple);
  background: var(--rde-white);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle {
  flex-direction: column;
  gap: 4px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition:
    background var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard),
    transform var(--duration-fast) var(--ease-standard);
}

.button:hover {
  text-decoration: none;
}

.button:active {
  transform: scale(0.98);
}

.button--primary {
  color: var(--rde-white);
  background: var(--rde-purple);
  border-color: var(--rde-purple);
}

.button--primary:hover {
  color: var(--rde-white);
  background: var(--rde-purple-deep);
  border-color: var(--rde-purple-deep);
}

.button--secondary {
  color: var(--rde-purple);
  background: var(--rde-white);
  border-color: var(--rde-border);
}

.button--secondary:hover {
  color: var(--rde-purple);
  background: var(--rde-purple-soft);
}

.button--ghost {
  color: var(--rde-purple);
  background: transparent;
}

.button--ghost:hover {
  background: var(--rde-purple-soft);
}

.button--light {
  color: var(--rde-purple);
  background: var(--rde-white);
  border-color: var(--rde-white);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
  background: var(--rde-white);
}

.section--muted {
  background: var(--rde-background);
}

.section--compact {
  padding: 64px 0;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--rde-purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head p,
.lead {
  margin-top: 16px;
  color: var(--rde-text-muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero {
  min-height: 64vh;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--rde-border);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.92) 34%, rgba(255, 255, 255, 0.34) 58%, rgba(255, 255, 255, 0.08) 100%),
    url("./assets/illustrations/hero-blueprint.png") center right / cover no-repeat,
    var(--rde-white);
}

.hero-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0 56px;
}

.hero-content {
  max-width: 690px;
}

.hero .section-kicker {
  margin-bottom: 18px;
}

.hero h1 span {
  display: block;
}

.hero p {
  max-width: 640px;
  margin-top: 24px;
  color: var(--rde-text);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.microcopy {
  max-width: 590px;
  margin-top: 18px;
  color: var(--rde-text-muted);
  font-size: 13px;
}

.capability-band {
  border-bottom: 1px solid var(--rde-border);
  background: var(--rde-white);
}

.capability-inner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--rde-border);
}

.capability-item {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px 16px;
  background: var(--rde-white);
}

.capability-item strong {
  color: var(--rde-text-strong);
  font-size: 15px;
}

.capability-item span {
  color: var(--rde-text-muted);
  font-size: 13px;
}

.capability-link {
  transition:
    background var(--duration-base) var(--ease-standard),
    transform var(--duration-base) var(--ease-standard),
    box-shadow var(--duration-base) var(--ease-standard);
}

.capability-link:hover {
  color: inherit;
  background: var(--rde-purple-tint);
  box-shadow: inset 0 -2px 0 var(--rde-purple);
  transform: translateY(-1px);
}

.notice {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--rde-border);
  border-radius: var(--radius);
  color: var(--rde-text);
  background: var(--rde-purple-tint);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--rde-border);
  border-radius: var(--radius);
  background: var(--rde-white);
  box-shadow: var(--shadow-sm);
}

.card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.card h3,
.card h4 {
  margin-bottom: 10px;
}

.card p,
.card li {
  color: var(--rde-text-muted);
}

.card ul,
.simple-list {
  margin: 12px 0 0;
  padding-left: 18px;
}

.card li + li,
.simple-list li + li {
  margin-top: 8px;
}

.card-link {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    border-color var(--duration-base) var(--ease-standard),
    box-shadow var(--duration-base) var(--ease-standard),
    transform var(--duration-base) var(--ease-standard);
}

.card-link:hover {
  color: inherit;
  border-color: rgba(48, 32, 112, 0.38);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-link span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--rde-purple);
  font-size: 14px;
  font-weight: 800;
}

.card-link span::after {
  content: "->";
  font-family: var(--font-mono);
  font-weight: 700;
}

.card--brand {
  color: var(--rde-white);
  background: var(--rde-purple);
  border-color: var(--rde-purple);
}

.card--brand h3,
.card--brand p,
.card--brand li {
  color: var(--rde-white);
}

.numbered-card {
  counter-increment: card;
}

.numbered-grid {
  counter-reset: card;
}

.numbered-card::before {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--rde-white);
  background: var(--rde-purple);
  font: 700 14px/1 var(--font-mono);
  content: counter(card, decimal-leading-zero);
}

.badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--rde-purple);
  background: var(--rde-purple-soft);
  font-size: 12px;
  font-weight: 800;
}

.badge--blue {
  color: var(--rde-blue);
  background: var(--rde-blue-soft);
}

.badge--warning {
  color: var(--rde-warning);
  background: var(--rde-warning-bg);
}

.badge--success {
  color: var(--rde-success);
  background: var(--rde-success-bg);
}

.status-list {
  display: grid;
  gap: 12px;
}

.status-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--rde-border);
}

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

.status-row strong {
  color: var(--rde-text-strong);
}

.flow-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 32px;
  align-items: start;
}

.network-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--rde-border);
  border-radius: var(--radius);
  background: var(--rde-white);
}

.network-tab {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  color: var(--rde-text);
  background: transparent;
  font-weight: 700;
}

.network-tab[aria-selected="true"] {
  color: var(--rde-white);
  background: var(--rde-purple);
}

.network-panel {
  margin-top: 18px;
}

.network-panel[hidden] {
  display: none;
}

.architecture-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.architecture-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 64px;
  padding: 10px 0;
  counter-increment: flow;
}

.architecture-flow li::before {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rde-border);
  border-radius: var(--radius);
  color: var(--rde-purple);
  background: var(--rde-white);
  font: 700 13px/1 var(--font-mono);
  content: counter(flow, decimal-leading-zero);
}

.architecture-flow li::after {
  position: absolute;
  top: 52px;
  left: 21px;
  width: 1px;
  height: 34px;
  background: var(--rde-border);
  content: "";
}

.architecture-flow li:last-child::after {
  display: none;
}

.architecture-flow strong {
  display: block;
  color: var(--rde-text-strong);
  font-size: 14px;
  text-transform: uppercase;
}

.architecture-flow span {
  display: block;
  margin-top: 4px;
  color: var(--rde-text-muted);
  font-size: 13px;
}

.token-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.token-copy {
  max-width: 520px;
}

.token-copy h1 {
  max-width: 560px;
  font-size: 42px;
}

.token-copy .lead {
  max-width: 510px;
}

.token-feature-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.token-feature {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}

.token-feature h3 {
  margin-bottom: 2px;
  font-size: 16px;
}

.token-feature p {
  color: var(--rde-text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.feature-icon,
.ecosystem-icon {
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--rde-purple);
  background: var(--rde-purple-soft);
}

.feature-icon {
  width: 38px;
  height: 38px;
}

.feature-icon svg,
.ecosystem-icon svg,
.status-cube svg,
.token-symbol svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.token-panel {
  max-width: 410px;
  justify-self: end;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 18px 44px rgba(36, 20, 95, 0.1);
}

.token-panel-head {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 26px 24px;
  border-bottom: 1px solid var(--rde-border);
}

.token-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--rde-purple);
}

.utility-pill,
.component-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.utility-pill {
  padding: 5px 10px;
  color: var(--rde-purple);
  background: var(--rde-purple-soft);
}

.token-panel-body {
  padding: 22px 24px 24px;
}

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

.token-metrics span {
  display: block;
  color: var(--rde-text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.token-metrics strong {
  display: block;
  margin-top: 6px;
  color: var(--rde-text-strong);
  font-family: var(--font-mono);
  font-size: 22px;
}

.token-progress {
  height: 7px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--rde-purple-soft);
}

.token-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--rde-purple);
}

.token-note {
  margin-top: 10px;
  color: var(--rde-text-muted);
  font-size: 12px;
}

.token-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.component-pill {
  padding: 4px 10px;
  color: var(--rde-purple);
  background: var(--rde-background);
}

.network-numbers {
  color: var(--rde-white);
  background: var(--rde-purple);
}

.network-numbers .section-kicker,
.network-numbers h1,
.network-numbers p {
  color: var(--rde-white);
}

.network-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.network-head h1 {
  max-width: 660px;
  font-size: 38px;
}

.network-updated {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
}

.metric-cell {
  min-height: 134px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  animation: statRise 520ms ease-out both;
}

.metric-cell:nth-child(4n) {
  border-right: 0;
}

.metric-cell:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.metric-value {
  display: block;
  color: var(--rde-white);
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.05;
}

.metric-cell span:last-child {
  display: block;
  max-width: 190px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.ecosystem-title {
  max-width: 960px;
}

.ecosystem-title h1,
.ecosystem-title h2 {
  max-width: 960px;
}

.ecosystem-title p {
  max-width: 760px;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ecosystem-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.ecosystem-card:hover {
  color: inherit;
  border-color: rgba(48, 32, 112, 0.34);
  box-shadow: var(--shadow-md);
}

.ecosystem-icon {
  width: 42px;
  height: 42px;
}

.ecosystem-card h3 {
  margin-top: 2px;
  margin-bottom: 0;
  font-size: 18px;
}

.ecosystem-card p {
  font-size: 14px;
  line-height: 1.48;
}

.ecosystem-card .component-pill {
  margin-top: auto;
}

.status-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  background: linear-gradient(180deg, var(--rde-white), var(--rde-background));
}

.status-card-page {
  min-height: calc(100vh - 72px);
  align-items: start;
  padding: 64px 0;
  background: var(--rde-white);
}

.status-single {
  max-width: 460px;
}

.status-single .mainnet-status-card {
  max-width: 382px;
  margin: 0 auto;
}

.status-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 48px;
  align-items: center;
}

.mainnet-status-card {
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(36, 20, 95, 0.12);
}

.mainnet-card-head {
  display: grid;
  grid-template-columns: 1fr 34px;
  gap: 12px;
  align-items: center;
  padding: 20px 22px;
  color: var(--rde-white);
  background: var(--rde-purple);
}

.mainnet-card-head .section-kicker {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.68);
}

.mainnet-card-head h1,
.mainnet-card-head h2,
.mainnet-card-head strong {
  color: var(--rde-white);
}

.status-cube {
  justify-self: end;
  color: rgba(255, 255, 255, 0.72);
}

.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.18);
  animation: statusPulse 1100ms ease-in-out infinite;
}

.status-dot--warning {
  background: #f59e0b;
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.18);
}

.mainnet-card-body {
  padding: 8px 4px;
  background: var(--rde-white);
}

.mainnet-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-bottom: 1px solid var(--rde-border);
  color: var(--rde-text-muted);
  font-size: 14px;
}

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

.mainnet-row strong {
  color: var(--rde-text-strong);
  font-family: var(--font-mono);
}

.status-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.status-action {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--rde-blue);
  background: var(--rde-blue-soft);
  font-size: 12px;
  font-weight: 800;
}

.explorer-hero {
  padding: 72px 0 42px;
  color: var(--rde-white);
  background:
    linear-gradient(135deg, rgba(48, 32, 112, 0.98), rgba(36, 20, 95, 0.94)),
    var(--rde-purple);
}

.explorer-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.72fr);
  gap: 44px;
  align-items: end;
}

.explorer-hero-copy h1,
.explorer-hero-copy p,
.explorer-hero .section-kicker {
  color: var(--rde-white);
}

.explorer-hero-copy h1 {
  max-width: 720px;
  font-size: 44px;
}

.explorer-hero-copy p {
  max-width: 680px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.explorer-search-panel {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 52px rgba(17, 17, 17, 0.22);
}

.explorer-search-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--rde-text-muted);
  font-size: 13px;
}

.explorer-search-head strong {
  color: var(--rde-text-strong);
}

.explorer-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.explorer-filters button {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--rde-border);
  border-radius: 999px;
  color: var(--rde-text);
  background: var(--rde-white);
  font-size: 12px;
  font-weight: 800;
}

.explorer-filters button.is-active,
.explorer-filters button:hover {
  color: var(--rde-purple);
  border-color: rgba(48, 32, 112, 0.24);
  background: var(--rde-purple-soft);
}

.explorer-search-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 12px;
}

.explorer-search-box input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--rde-border);
  border-radius: var(--radius);
  color: var(--rde-text-strong);
  background: var(--rde-white);
}

.explorer-search-box input:focus {
  outline: 0;
  box-shadow: var(--shadow-focus);
}

.explorer-search-status {
  min-height: 20px;
  margin-top: 10px;
  color: var(--rde-text-muted);
  font-size: 12px;
}

.explorer-section {
  padding-top: 34px;
}

.explorer-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--rde-border);
  border-radius: var(--radius);
  background: var(--rde-white);
  box-shadow: var(--shadow-sm);
}

.explorer-stats article {
  min-height: 116px;
  padding: 20px;
  border-right: 1px solid var(--rde-border);
}

.explorer-stats article:last-child {
  border-right: 0;
}

.explorer-stats span,
.explorer-stats small,
.explorer-kpis span {
  display: block;
  color: var(--rde-text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.explorer-stats strong {
  display: block;
  margin-top: 8px;
  color: var(--rde-text-strong);
  font-family: var(--font-mono);
  font-size: 24px;
  line-height: 1;
}

.explorer-stats small {
  margin-top: 10px;
  font-weight: 600;
  text-transform: none;
}

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

.explorer-panel,
.explorer-analytics,
.explorer-side-panel {
  min-width: 0;
  padding: 0;
  overflow: hidden;
}

.explorer-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid var(--rde-border);
}

.explorer-panel-head h2 {
  margin-top: 2px;
  font-size: 22px;
}

.explorer-list {
  display: grid;
}

.explorer-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rde-border);
}

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

.explorer-row:hover {
  background: var(--rde-purple-tint);
}

.explorer-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--rde-purple);
  background: var(--rde-purple-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

.explorer-row strong {
  display: block;
  color: var(--rde-text-strong);
  font-family: var(--font-mono);
  font-size: 14px;
}

.explorer-row span {
  display: block;
  margin-top: 4px;
  color: var(--rde-text-muted);
  font-size: 12px;
}

.explorer-row > div:last-child {
  text-align: right;
}

.explorer-analytics {
  padding: 0 0 22px;
}

.mini-chart {
  height: 190px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  padding: 22px;
  border-bottom: 1px solid var(--rde-border);
}

.mini-chart span {
  min-height: 18px;
  height: var(--bar);
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, var(--rde-blue), var(--rde-purple));
  animation: statRise 540ms ease-out both;
}

.explorer-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 22px 0;
}

.explorer-kpis strong {
  display: block;
  margin-top: 6px;
  color: var(--rde-text-strong);
  font-family: var(--font-mono);
  font-size: 20px;
}

.explorer-side-panel {
  padding: 24px;
}

.explorer-side-panel h2 {
  font-size: 24px;
}

.explorer-side-panel a {
  display: block;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--rde-border);
  border-radius: var(--radius);
  background: var(--rde-white);
}

.explorer-side-panel a:hover {
  color: inherit;
  border-color: rgba(48, 32, 112, 0.28);
  background: var(--rde-purple-tint);
}

.explorer-side-panel strong {
  display: block;
  color: var(--rde-text-strong);
}

.explorer-side-panel span {
  display: block;
  margin-top: 4px;
  color: var(--rde-text-muted);
  font-size: 13px;
}

@keyframes rdeFill {
  from {
    width: 0;
  }

  to {
    width: 0;
  }
}

@keyframes statRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes statusPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
  }

  50% {
    transform: scale(1.12);
    box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.12);
  }
}

.architecture-lab {
  border-top: 1px solid var(--rde-border);
}

.architecture-demo {
  --arch-left: 12.5%;
  --arch-top: 26%;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.72fr);
  gap: 18px;
  align-items: stretch;
}

.architecture-demo[data-current="0"] {
  --arch-left: 12.5%;
  --arch-top: 26%;
}

.architecture-demo[data-current="1"] {
  --arch-left: 34.5%;
  --arch-top: 26%;
}

.architecture-demo[data-current="2"] {
  --arch-left: 56.5%;
  --arch-top: 26%;
}

.architecture-demo[data-current="3"] {
  --arch-left: 78.5%;
  --arch-top: 26%;
}

.architecture-demo[data-current="4"] {
  --arch-left: 18%;
  --arch-top: 74%;
}

.architecture-demo[data-current="5"] {
  --arch-left: 50%;
  --arch-top: 74%;
}

.architecture-demo[data-current="6"] {
  --arch-left: 82%;
  --arch-top: 74%;
}

.architecture-map {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(112px, 1fr));
  gap: 14px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--rde-border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 84% 18%, rgba(18, 128, 92, 0.09), transparent 25%),
    linear-gradient(90deg, rgba(45, 107, 255, 0.08) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, rgba(45, 107, 255, 0.08) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(180deg, #ffffff, #f8faff);
  box-shadow: var(--shadow-sm);
}

.architecture-lines {
  position: absolute;
  inset: 20px;
  z-index: 0;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  pointer-events: none;
}

.architecture-lines path {
  fill: none;
  stroke: rgba(48, 32, 112, 0.38);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 12 12;
}

.architecture-demo:not([data-paused="true"]) .architecture-lines path {
  animation: architectureDash 1300ms linear infinite;
}

.arch-node {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(225, 228, 236, 0.92);
  border-radius: var(--radius);
  color: var(--rde-text);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  text-align: left;
  cursor: pointer;
  transition:
    border-color var(--duration-base) var(--ease-standard),
    background var(--duration-base) var(--ease-standard),
    box-shadow var(--duration-base) var(--ease-standard),
    transform var(--duration-base) var(--ease-standard);
}

.arch-node:hover,
.arch-node:focus-visible {
  border-color: rgba(45, 107, 255, 0.38);
}

.arch-node.is-active {
  border-color: var(--rde-blue);
  background: var(--rde-white);
  box-shadow: 0 14px 32px rgba(45, 107, 255, 0.14);
  transform: translateY(-2px);
}

.arch-node.is-complete {
  border-color: rgba(18, 128, 92, 0.36);
}

.arch-node strong {
  color: var(--rde-text-strong);
  font-size: 18px;
  line-height: 1.2;
}

.arch-node small {
  color: var(--rde-text-muted);
  font-size: 13px;
  line-height: 1.42;
}

.arch-node--app {
  grid-column: 1 / 4;
  grid-row: 1 / 3;
}

.arch-node--gateway {
  grid-column: 4 / 7;
  grid-row: 1 / 3;
}

.arch-node--privacy {
  grid-column: 7 / 10;
  grid-row: 1 / 3;
}

.arch-node--contract {
  grid-column: 10 / 13;
  grid-row: 1 / 3;
}

.arch-node--validators {
  grid-column: 1 / 5;
  grid-row: 3 / 5;
}

.arch-node--consensus {
  grid-column: 5 / 9;
  grid-row: 3 / 5;
}

.arch-node--observer {
  grid-column: 9 / 13;
  grid-row: 3 / 5;
}

.arch-tag {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  padding: 7px 9px;
  border-radius: var(--radius);
  color: var(--rde-purple);
  background: var(--rde-purple-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.arch-tag--blue {
  color: var(--rde-blue);
  background: var(--rde-blue-soft);
}

.arch-tag--green {
  color: var(--rde-success);
  background: var(--rde-success-bg);
}

.arch-tag--warn {
  color: var(--rde-warning);
  background: var(--rde-warning-bg);
}

.validator-mesh {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: auto;
}

.validator-mesh i {
  aspect-ratio: 1;
  border: 1px solid rgba(45, 107, 255, 0.22);
  border-radius: 6px;
  background: var(--rde-blue-soft);
}

.arch-blockchain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: auto;
}

.arch-blockchain i {
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rde-border);
  border-radius: 7px;
  color: var(--rde-text-muted);
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
}

.arch-blockchain .is-current {
  color: var(--rde-white);
  background: var(--rde-purple);
  border-color: var(--rde-purple);
  box-shadow: 0 10px 24px rgba(36, 20, 95, 0.14);
}

.arch-packet {
  position: absolute;
  left: var(--arch-left);
  top: var(--arch-top);
  z-index: 4;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  transition:
    left 680ms var(--ease-standard),
    top 680ms var(--ease-standard);
  pointer-events: none;
}

.arch-packet::before {
  content: "tx";
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 8px;
  border-radius: var(--radius);
  color: var(--rde-white);
  background: var(--rde-purple);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.arch-packet span {
  width: 24px;
  height: 24px;
  border: 3px solid var(--rde-white);
  border-radius: 50%;
  background: var(--rde-blue);
  box-shadow: 0 0 0 7px rgba(45, 107, 255, 0.18), 0 12px 22px rgba(45, 107, 255, 0.24);
}

.architecture-demo:not([data-paused="true"]) .arch-packet span {
  animation: architecturePulse 900ms ease-in-out infinite;
}

.architecture-console {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(48, 32, 112, 0.2);
  border-radius: var(--radius);
  color: #eef3ff;
  background: #161326;
  box-shadow: var(--shadow-sm);
}

.architecture-layers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.layer-card {
  display: grid;
  gap: 10px;
}

.layer-card span {
  width: 42px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--rde-blue);
  background: var(--rde-blue-soft);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
}

@keyframes architectureDash {
  to {
    stroke-dashoffset: -24;
  }
}

@keyframes architecturePulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.22);
  }
}

.blueprint-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--rde-border);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(216, 218, 232, 0.42) 1px, transparent 1px),
    linear-gradient(rgba(216, 218, 232, 0.42) 1px, transparent 1px),
    linear-gradient(180deg, var(--rde-white), var(--rde-purple-tint));
  background-size: 34px 34px, 34px 34px, auto;
}

.blueprint-panel::before {
  position: absolute;
  inset: 46px 48px;
  border: 1px solid rgba(48, 32, 112, 0.22);
  border-radius: var(--radius);
  content: "";
}

.blueprint-panel img {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: 152px;
  opacity: 0.96;
}

.bp-node {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(48, 32, 112, 0.26);
  border-radius: var(--radius);
  color: var(--rde-purple);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  font: 700 12px/1.25 var(--font-mono);
  text-align: center;
}

.bp-node--a {
  top: 74px;
  left: 58px;
  width: 112px;
  height: 62px;
}

.bp-node--b {
  top: 166px;
  left: 176px;
  width: 128px;
  height: 68px;
}

.bp-node--c {
  right: 82px;
  top: 104px;
  width: 132px;
  height: 70px;
}

.bp-node--d {
  left: 70px;
  bottom: 76px;
  width: 146px;
  height: 74px;
}

.bp-line {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(111, 66, 255, 0), rgba(111, 66, 255, 0.72), rgba(75, 85, 231, 0));
}

.bp-line--one {
  top: 154px;
  left: 112px;
  width: 270px;
  transform: rotate(18deg);
}

.bp-line--two {
  top: 247px;
  left: 92px;
  width: 330px;
  transform: rotate(-12deg);
}

.bp-line--three {
  top: 212px;
  right: 92px;
  width: 180px;
  transform: rotate(74deg);
}

.operation-diagram {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--rde-border);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(216, 218, 232, 0.42) 1px, transparent 1px),
    linear-gradient(rgba(216, 218, 232, 0.42) 1px, transparent 1px),
    linear-gradient(180deg, var(--rde-white), var(--rde-purple-tint));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: var(--shadow-sm);
}

.op-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(48, 32, 112, 0.16);
}

.op-titlebar strong {
  color: var(--rde-text-strong);
  font-size: 14px;
  text-align: right;
}

.op-flow {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.op-step {
  position: relative;
  min-height: 150px;
  padding: 14px;
  border: 1px solid rgba(48, 32, 112, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.op-index {
  display: inline-flex;
  min-width: 30px;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--rde-white);
  background: var(--rde-purple);
  font: 700 11px/1 var(--font-mono);
}

.op-step h3 {
  margin: 10px 0 6px;
  font-size: 15px;
}

.op-step p {
  color: var(--rde-text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.op-step code {
  display: block;
  margin-top: 10px;
  padding: 8px;
  border: 1px solid var(--rde-border);
  border-radius: 6px;
  color: var(--rde-purple);
  background: var(--rde-background);
  font-size: 11px;
  line-height: 1.45;
}

.op-arrow {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, rgba(48, 32, 112, 0.18), rgba(111, 66, 255, 0.86));
}

.op-arrow::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 9px;
  height: 9px;
  border-top: 2px solid rgba(111, 66, 255, 0.86);
  border-right: 2px solid rgba(111, 66, 255, 0.86);
  transform: translateY(-50%) rotate(45deg);
  content: "";
}

.op-ledger {
  display: grid;
  grid-template-columns: 1fr 22px 1.18fr 22px 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(48, 32, 112, 0.16);
}

.ledger-block {
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--rde-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.ledger-block--active {
  border-color: rgba(48, 32, 112, 0.48);
  background: var(--rde-purple);
  box-shadow: 0 10px 24px rgba(36, 20, 95, 0.14);
}

.ledger-block strong {
  color: var(--rde-text-strong);
  font-size: 13px;
}

.ledger-block span {
  color: var(--rde-text-muted);
  font: 600 11px/1.35 var(--font-mono);
}

.ledger-block--active strong,
.ledger-block--active span {
  color: var(--rde-white);
}

.ledger-link {
  height: 2px;
  border-radius: 999px;
  background: var(--rde-purple);
}

.op-note {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(45, 107, 255, 0.18);
  border-radius: var(--radius);
  color: var(--rde-text);
  background: rgba(234, 241, 255, 0.8);
  font-size: 13px;
  line-height: 1.5;
}

.integrity-lab {
  border-top: 1px solid var(--rde-border);
}

.integrity-demo {
  --packet-left: 12%;
  --packet-top: 24%;
  display: grid;
  grid-template-columns: minmax(0, 1.46fr) minmax(320px, 0.72fr);
  gap: 18px;
  align-items: stretch;
}

.integrity-demo[data-current="0"] {
  --packet-left: 13%;
  --packet-top: 24%;
}

.integrity-demo[data-current="1"] {
  --packet-left: 35%;
  --packet-top: 24%;
}

.integrity-demo[data-current="2"] {
  --packet-left: 50%;
  --packet-top: 24%;
}

.integrity-demo[data-current="3"] {
  --packet-left: 66%;
  --packet-top: 24%;
}

.integrity-demo[data-current="4"] {
  --packet-left: 87%;
  --packet-top: 39%;
}

.integrity-demo[data-current="5"] {
  --packet-left: 27%;
  --packet-top: 72%;
}

.integrity-board {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(108px, 1fr));
  gap: 14px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--rde-border);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(45, 107, 255, 0.08) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(0deg, rgba(45, 107, 255, 0.08) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, #ffffff, #f8faff);
  box-shadow: var(--shadow-sm);
}

.integrity-lines {
  position: absolute;
  inset: 20px;
  z-index: 0;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  pointer-events: none;
}

.integrity-lines path {
  fill: none;
  stroke: rgba(48, 32, 112, 0.42);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 14 14;
}

.integrity-demo:not([data-paused="true"]) .integrity-lines path {
  animation: integrityDash 1200ms linear infinite;
}

.integrity-stage {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(225, 228, 236, 0.92);
  border-radius: var(--radius);
  color: var(--rde-text);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition:
    border-color var(--duration-base) var(--ease-standard),
    box-shadow var(--duration-base) var(--ease-standard),
    transform var(--duration-base) var(--ease-standard),
    background var(--duration-base) var(--ease-standard);
}

.integrity-stage:hover,
.integrity-stage:focus-visible {
  border-color: rgba(45, 107, 255, 0.38);
}

.integrity-stage.is-active {
  border-color: var(--rde-blue);
  background: var(--rde-white);
  box-shadow: 0 14px 32px rgba(45, 107, 255, 0.14);
  transform: translateY(-2px);
}

.integrity-stage.is-complete {
  border-color: rgba(18, 128, 92, 0.36);
}

.integrity-stage h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}

.integrity-stage p {
  margin: 0;
  color: var(--rde-text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.integrity-stage--storage {
  grid-column: 1 / 4;
  grid-row: 1 / 3;
}

.integrity-stage--hash {
  grid-column: 4 / 6;
  grid-row: 1 / 3;
}

.integrity-stage--sign {
  grid-column: 6 / 8;
  grid-row: 1 / 3;
}

.integrity-stage--anchor {
  grid-column: 8 / 10;
  grid-row: 1 / 3;
}

.integrity-stage--block {
  grid-column: 10 / 13;
  grid-row: 1 / 5;
}

.integrity-stage--verify {
  grid-column: 1 / 7;
  grid-row: 3 / 5;
}

.stage-tag,
.stage-chip {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.stage-tag {
  padding: 7px 9px;
  color: var(--rde-blue);
  background: var(--rde-blue-soft);
  text-transform: uppercase;
}

.stage-tag--private {
  color: var(--rde-success);
  background: var(--rde-success-bg);
}

.stage-tag--chain {
  color: var(--rde-purple);
  background: var(--rde-purple-soft);
}

.stage-tag--verify {
  color: var(--rde-warning);
  background: var(--rde-warning-bg);
}

.stage-chip {
  margin-top: auto;
  padding: 7px 8px;
  color: var(--rde-text);
  background: var(--rde-background);
}

.mini-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.mini-ledger span {
  min-height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rde-border);
  border-radius: var(--radius);
  color: var(--rde-text-muted);
  background: var(--rde-white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

.mini-ledger .is-mined {
  color: var(--rde-white);
  background: var(--rde-purple);
  border-color: var(--rde-purple);
}

.integrity-packet {
  position: absolute;
  left: var(--packet-left);
  top: var(--packet-top);
  z-index: 4;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  transition:
    left 620ms var(--ease-standard),
    top 620ms var(--ease-standard);
  pointer-events: none;
}

.integrity-packet::before {
  content: "hash";
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 8px;
  border-radius: var(--radius);
  color: var(--rde-white);
  background: var(--rde-purple);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.integrity-packet span {
  width: 22px;
  height: 22px;
  border: 3px solid var(--rde-white);
  border-radius: 50%;
  background: var(--rde-blue);
  box-shadow: 0 0 0 7px rgba(45, 107, 255, 0.18), 0 12px 22px rgba(45, 107, 255, 0.24);
}

.integrity-demo:not([data-paused="true"]) .integrity-packet span {
  animation: integrityPulse 900ms ease-in-out infinite;
}

.integrity-console {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(48, 32, 112, 0.2);
  border-radius: var(--radius);
  color: #eef3ff;
  background: #161326;
  box-shadow: var(--shadow-sm);
}

.console-top {
  display: grid;
  gap: 6px;
}

.console-top span {
  color: #97a9d6;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.console-top strong {
  color: var(--rde-white);
  font-size: 20px;
  line-height: 1.25;
}

.integrity-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.integrity-progress span {
  width: var(--progress, 16%);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rde-blue), #34d399);
  transition: width 420ms var(--ease-standard);
}

.console-grid {
  display: grid;
  gap: 10px;
  margin: 0;
}

.console-grid div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.console-grid dt {
  color: #97a9d6;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.console-grid dd {
  margin: 6px 0 0;
  color: var(--rde-white);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.console-code {
  flex: 1;
  min-height: 150px;
  margin-top: 0;
  background: #0e0c18;
}

.integrity-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.integrity-controls .button--ghost {
  color: var(--rde-white);
  border-color: rgba(255, 255, 255, 0.18);
}

.integrity-controls .button--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

@keyframes integrityDash {
  to {
    stroke-dashoffset: -28;
  }
}

@keyframes integrityPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.22);
  }
}

pre {
  max-width: 100%;
  margin: 16px 0 0;
  padding: 16px;
  overflow-x: auto;
  border: 1px solid rgba(225, 228, 236, 0.28);
  border-radius: var(--radius);
  color: #eef3ff;
  background: #161326;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre;
}

pre code {
  color: inherit;
  font-size: inherit;
  white-space: pre;
}

.wide-code {
  margin-top: 24px;
}

.technical-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.technical-step {
  position: relative;
  min-height: 230px;
  padding: 22px 18px;
  border: 1px solid var(--rde-border);
  border-radius: var(--radius);
  background: var(--rde-white);
  box-shadow: var(--shadow-sm);
}

.technical-step::after {
  content: "";
  position: absolute;
  top: 52px;
  right: -14px;
  z-index: 1;
  width: 14px;
  height: 2px;
  background: var(--rde-blue);
  opacity: 0.52;
}

.technical-step:last-child::after {
  display: none;
}

.technical-step span {
  width: 42px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--rde-blue);
  background: var(--rde-blue-soft);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
}

.technical-step h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.technical-step p {
  color: var(--rde-text-muted);
  font-size: 15px;
}

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

.checklist-card {
  border-left: 4px solid var(--rde-success);
}

.checklist-card li::marker {
  color: var(--rde-success);
}

.page-hero {
  padding: 76px 0 64px;
  border-bottom: 1px solid var(--rde-border);
  background:
    linear-gradient(180deg, var(--rde-purple-tint), var(--rde-white));
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.48fr);
  gap: 40px;
  align-items: end;
}

.page-hero p {
  max-width: 700px;
  margin-top: 18px;
  color: var(--rde-text-muted);
  font-size: 18px;
}

.hero-mark {
  justify-self: end;
  width: 190px;
  padding: 24px;
  border: 1px solid var(--rde-border);
  border-radius: var(--radius);
  background: var(--rde-white);
  box-shadow: var(--shadow-sm);
}

.cta-section {
  color: var(--rde-white);
  background: var(--rde-purple);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 64px 0;
}

.cta-inner h2,
.cta-inner p {
  color: var(--rde-white);
}

.cta-inner p {
  max-width: 680px;
  margin-top: 12px;
  opacity: 0.78;
}

.footer {
  color: var(--rde-white);
  background: var(--rde-text-strong);
}

.footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 28px;
  padding: 54px 0 32px;
}

.footer-logo {
  width: 172px;
}

.footer p {
  max-width: 340px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.footer .footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer .footer-social-link:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
  color: var(--rde-white);
  transform: translateY(-1px);
}

.footer-social-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.footer strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
}

.footer a {
  display: block;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.footer a:hover {
  color: var(--rde-white);
}

.footer-bottom {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field > span {
  color: var(--rde-text-strong);
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--rde-border);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--rde-text-strong);
  background: var(--rde-white);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field small {
  color: var(--rde-text-muted);
  font-size: 12px;
}

.field [aria-invalid="true"] {
  border-color: var(--rde-danger);
}

.error-message {
  min-height: 18px;
  color: var(--rde-danger);
  font-size: 12px;
}

.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--rde-text);
  font-size: 14px;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--rde-purple);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 16px;
  min-height: 24px;
  font-weight: 700;
}

.form-status.is-success {
  color: var(--rde-success);
}

.form-status.is-error {
  color: var(--rde-danger);
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin-top: 42px;
  font-size: 28px;
}

.legal-content h3 {
  margin-top: 28px;
}

.legal-content p,
.legal-content li {
  color: var(--rde-text-muted);
}

.legal-content p + p,
.legal-content ul,
.legal-content ol {
  margin-top: 14px;
}

.legacy-panel {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: 80px 0;
  background: var(--rde-background);
}

.legacy-panel .card {
  max-width: 780px;
}

@media (max-width: 1080px) {
  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 72px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 24px 24px;
    border-bottom: 1px solid var(--rde-border);
    background: var(--rde-white);
    overflow: auto;
  }

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

  .site-nav a {
    min-height: 48px;
    justify-content: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-actions {
    display: none;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86)),
      url("./assets/illustrations/hero-blueprint.png") center right / cover no-repeat,
      var(--rde-white);
  }

  .capability-inner,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .token-showcase,
  .status-showcase {
    grid-template-columns: 1fr;
  }

  .token-panel {
    justify-self: start;
    width: min(100%, 520px);
    max-width: none;
  }

  .metrics-grid,
  .ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-cell:nth-child(2n) {
    border-right: 0;
  }

  .metric-cell:nth-child(4n) {
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  .metric-cell:nth-child(2n) {
    border-right: 0;
  }

  .metric-cell:nth-last-child(-n + 4) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .metric-cell:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .technical-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .integrity-demo {
    grid-template-columns: 1fr;
  }

  .architecture-demo {
    grid-template-columns: 1fr;
  }

  .explorer-hero .container,
  .explorer-grid,
  .explorer-bottom-grid {
    grid-template-columns: 1fr;
  }

  .explorer-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .explorer-stats article:nth-child(2n) {
    border-right: 0;
  }

  .explorer-stats article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rde-border);
  }

  .architecture-layers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technical-step {
    min-height: 0;
  }

  .technical-step::after {
    display: none;
  }

  .grid--3,
  .flow-shell,
  .page-hero .container,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    justify-self: start;
  }

  .integrity-console {
    min-height: 0;
  }

  .architecture-console {
    min-height: 0;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  .container,
  .header-inner,
  .hero-inner,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 152px;
  }

  .hero-inner {
    padding: 26px 0 28px;
  }

  .hero h1 span {
    display: inline;
  }

  .hero h1 span::after {
    content: " ";
  }

  .hero p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 20px;
  }

  .hero-actions .button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .microcopy {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.45;
  }

  .section {
    padding: 64px 0;
  }

  .explorer-hero {
    padding: 48px 0 32px;
  }

  .explorer-hero-copy h1 {
    font-size: 34px;
  }

  .explorer-hero-copy p {
    font-size: 15px;
    line-height: 1.5;
  }

  .explorer-search-panel {
    padding: 14px;
  }

  .explorer-search-box {
    grid-template-columns: 1fr;
  }

  .explorer-stats {
    grid-template-columns: 1fr;
  }

  .explorer-stats article,
  .explorer-stats article:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--rde-border);
  }

  .explorer-stats article:last-child {
    border-bottom: 0;
  }

  .explorer-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .explorer-row > div:last-child {
    grid-column: 2;
    text-align: left;
  }

  .explorer-kpis {
    grid-template-columns: 1fr;
  }

  .capability-inner,
  .grid--2,
  .grid--3,
  .grid--4,
  .architecture-layers,
  .ecosystem-grid,
  .metrics-grid,
  .privacy-grid,
  .technical-flow,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .token-showcase,
  .status-showcase {
    gap: 28px;
  }

  .token-copy h1,
  .network-head h1 {
    font-size: 34px;
  }

  .network-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .network-updated {
    white-space: normal;
  }

  .metric-cell,
  .metric-cell:nth-child(2n),
  .metric-cell:nth-child(4n),
  .metric-cell:nth-last-child(-n + 4),
  .metric-cell:nth-last-child(-n + 2) {
    min-height: 108px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .metric-cell:last-child {
    border-bottom: 0;
  }

  .metric-value {
    font-size: 30px;
  }

  .token-panel-head {
    grid-template-columns: 34px 1fr;
  }

  .utility-pill {
    grid-column: 2;
  }

  .token-metrics {
    gap: 16px;
  }

  .ecosystem-card {
    min-height: 0;
  }

  .status-actions {
    justify-content: flex-start;
  }

  .status-row {
    grid-template-columns: 1fr;
  }

  .blueprint-panel {
    min-height: 360px;
  }

  .blueprint-panel img {
    width: 118px;
  }

  .operation-diagram {
    min-height: 0;
    padding: 14px;
  }

  .op-titlebar {
    align-items: flex-start;
    flex-direction: column;
  }

  .op-titlebar strong {
    text-align: left;
  }

  .op-flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .op-arrow {
    width: 2px;
    height: 22px;
    justify-self: center;
  }

  .op-arrow::after {
    top: auto;
    right: 50%;
    bottom: -1px;
    transform: translateX(50%) rotate(135deg);
  }

  .op-step {
    min-height: 0;
  }

  .architecture-map {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
    padding: 14px;
  }

  .architecture-lines,
  .arch-packet {
    display: none;
  }

  .arch-node,
  .arch-node--app,
  .arch-node--gateway,
  .arch-node--privacy,
  .arch-node--contract,
  .arch-node--validators,
  .arch-node--consensus,
  .arch-node--observer {
    grid-column: auto;
    grid-row: auto;
  }

  .arch-node {
    padding: 14px;
  }

  .arch-node.is-active {
    transform: none;
  }

  .arch-node strong {
    font-size: 17px;
  }

  .arch-blockchain {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .architecture-console {
    padding: 16px;
  }

  .integrity-board {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
    padding: 14px;
  }

  .integrity-lines,
  .integrity-packet {
    display: none;
  }

  .integrity-stage,
  .integrity-stage--storage,
  .integrity-stage--hash,
  .integrity-stage--sign,
  .integrity-stage--anchor,
  .integrity-stage--block,
  .integrity-stage--verify {
    grid-column: auto;
    grid-row: auto;
  }

  .integrity-stage {
    padding: 14px;
  }

  .integrity-stage.is-active {
    transform: none;
  }

  .integrity-stage h3 {
    font-size: 18px;
  }

  .integrity-console {
    padding: 16px;
  }

  .console-top strong {
    font-size: 18px;
  }

  .mini-ledger span {
    min-height: 38px;
  }

  pre {
    padding: 14px;
    font-size: 12px;
  }

  .op-ledger {
    grid-template-columns: 1fr;
  }

  .ledger-link {
    width: 2px;
    height: 18px;
    justify-self: center;
  }

  .bp-node--a {
    left: 28px;
  }

  .bp-node--b {
    left: 106px;
  }

  .bp-node--c {
    right: 32px;
  }

  .bp-node--d {
    left: 32px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (min-width: 561px) and (max-width: 720px) {
  .operation-diagram {
    min-height: 520px;
    padding: 16px;
  }

  .op-titlebar {
    align-items: center;
    flex-direction: row;
  }

  .op-titlebar strong {
    text-align: right;
  }

  .op-flow {
    grid-template-columns: 1fr 26px 1fr 26px 1fr;
    gap: 10px;
  }

  .op-step {
    min-height: 166px;
    padding: 12px;
  }

  .op-step h3 {
    font-size: 14px;
  }

  .op-step p {
    font-size: 11px;
  }

  .op-step code {
    font-size: 10px;
  }

  .op-arrow {
    width: auto;
    height: 2px;
    justify-self: stretch;
  }

  .op-arrow::after {
    top: 50%;
    right: -1px;
    bottom: auto;
    transform: translateY(-50%) rotate(45deg);
  }

  .op-ledger {
    grid-template-columns: 1fr 18px 1.18fr 18px 1fr;
  }

  .ledger-block {
    min-height: 124px;
    padding: 10px;
  }

  .ledger-block span {
    font-size: 10px;
  }

  .ledger-link {
    width: auto;
    height: 2px;
    justify-self: stretch;
  }

  .integrity-demo {
    grid-template-columns: 1fr;
  }

  .integrity-demo[data-current="0"] {
    --packet-left: 16%;
    --packet-top: 21%;
  }

  .integrity-demo[data-current="1"] {
    --packet-left: 49%;
    --packet-top: 20%;
  }

  .integrity-demo[data-current="2"] {
    --packet-left: 82%;
    --packet-top: 20%;
  }

  .integrity-demo[data-current="3"] {
    --packet-left: 49%;
    --packet-top: 46%;
  }

  .integrity-demo[data-current="4"] {
    --packet-left: 82%;
    --packet-top: 57%;
  }

  .integrity-demo[data-current="5"] {
    --packet-left: 31%;
    --packet-top: 80%;
  }

  .integrity-board {
    min-height: 620px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(120px, 1fr));
    gap: 10px;
    padding: 14px;
  }

  .integrity-lines,
  .integrity-packet {
    display: block;
  }

  .integrity-packet {
    display: grid;
  }

  .integrity-lines {
    inset: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
  }

  .integrity-stage {
    padding: 12px;
  }

  .integrity-stage--storage {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  .integrity-stage--hash {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
  }

  .integrity-stage--sign {
    grid-column: 5 / 7;
    grid-row: 1 / 2;
  }

  .integrity-stage--anchor {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
  }

  .integrity-stage--block {
    grid-column: 5 / 7;
    grid-row: 2 / 5;
  }

  .integrity-stage--verify {
    grid-column: 1 / 5;
    grid-row: 3 / 5;
  }

  .integrity-stage.is-active {
    transform: translateY(-1px);
  }

  .integrity-stage h3 {
    font-size: 14px;
  }

  .integrity-stage p {
    font-size: 11px;
    line-height: 1.38;
  }

  .stage-tag,
  .stage-chip {
    font-size: 9px;
  }

  .stage-tag {
    padding: 6px 7px;
  }

  .stage-chip {
    padding: 6px 7px;
  }

  .mini-ledger {
    grid-template-columns: 1fr;
  }

  .mini-ledger span {
    min-height: 34px;
  }

  .architecture-demo[data-current="0"] {
    --arch-left: 16%;
    --arch-top: 28%;
  }

  .architecture-demo[data-current="1"] {
    --arch-left: 50%;
    --arch-top: 28%;
  }

  .architecture-demo[data-current="2"] {
    --arch-left: 84%;
    --arch-top: 28%;
  }

  .architecture-demo[data-current="3"] {
    --arch-left: 16%;
    --arch-top: 61%;
  }

  .architecture-demo[data-current="4"] {
    --arch-left: 50%;
    --arch-top: 61%;
  }

  .architecture-demo[data-current="5"] {
    --arch-left: 84%;
    --arch-top: 61%;
  }

  .architecture-demo[data-current="6"] {
    --arch-left: 50%;
    --arch-top: 89%;
  }

  .architecture-map {
    min-height: 640px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(142px, 1fr));
    gap: 10px;
    padding: 14px;
  }

  .architecture-lines {
    display: none;
  }

  .arch-packet {
    display: grid;
  }

  .architecture-lines {
    inset: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
  }

  .arch-node {
    padding: 12px;
  }

  .arch-node--app {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .arch-node--gateway {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
  }

  .arch-node--privacy {
    grid-column: 5 / 7;
    grid-row: 1 / 2;
  }

  .arch-node--contract {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }

  .arch-node--validators {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
  }

  .arch-node--consensus {
    grid-column: 5 / 7;
    grid-row: 2 / 3;
  }

  .arch-node--observer {
    grid-column: 2 / 6;
    grid-row: 3 / 4;
  }

  .arch-node.is-active {
    transform: translateY(-1px);
  }

  .arch-node strong {
    font-size: 14px;
  }

  .arch-node small {
    font-size: 11px;
    line-height: 1.38;
  }

  .arch-tag {
    padding: 6px 7px;
    font-size: 9px;
  }

  .validator-mesh {
    grid-template-columns: repeat(2, 1fr);
  }

  .arch-blockchain i {
    min-height: 28px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .integrity-demo .integrity-stage {
    transition:
      border-color var(--duration-base) var(--ease-standard),
      box-shadow var(--duration-base) var(--ease-standard),
      transform var(--duration-base) var(--ease-standard),
      background var(--duration-base) var(--ease-standard) !important;
  }

  .integrity-demo .integrity-packet {
    transition:
      left 620ms var(--ease-standard),
      top 620ms var(--ease-standard) !important;
  }

  .integrity-demo .integrity-progress span {
    transition: width 420ms var(--ease-standard) !important;
  }


  .architecture-demo .arch-node {
    transition:
      border-color var(--duration-base) var(--ease-standard),
      background var(--duration-base) var(--ease-standard),
      box-shadow var(--duration-base) var(--ease-standard),
      transform var(--duration-base) var(--ease-standard) !important;
  }

  .architecture-demo .arch-packet {
    transition:
      left 680ms var(--ease-standard),
      top 680ms var(--ease-standard) !important;
  }

}

.site-nav .language-switch {
  min-height: 44px;
  margin-left: var(--space-2);
  padding: 0 12px;
  border: 1px solid var(--rde-border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--rde-text);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.site-nav .language-switch:hover {
  color: var(--rde-purple);
  background: var(--rde-purple-soft);
}

.is-translating body {
  visibility: hidden;
}
