@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Rajdhani";
  src: url("/assets/fonts/rajdhani-500-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Rajdhani";
  src: url("/assets/fonts/rajdhani-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Rajdhani";
  src: url("/assets/fonts/rajdhani-700-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #07141b;
  --ink-2: #0a1b24;
  --ink-3: #0d242f;
  --panel: rgba(8, 24, 32, 0.91);
  --panel-solid: #0a1d26;
  --line: rgba(100, 191, 211, 0.25);
  --line-strong: rgba(100, 191, 211, 0.52);
  --cyan: #64bfd3;
  --cyan-bright: #96e2ee;
  --teal: #1a616e;
  --amber: #d7a85f;
  --white: #f4f8fa;
  --text: #d9e5ea;
  --muted: #8ea4ad;
  --muted-2: #667c85;
  --heading: "Rajdhani", "Arial Narrow", sans-serif;
  --body: "Outfit", Inter, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1240px;
  --radius: 3px;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 10%, rgba(26, 97, 110, 0.24), transparent 30rem),
    linear-gradient(145deg, #0a2530 0%, var(--ink) 34%, #111820 74%, #1a1517 100%);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(100, 191, 211, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 191, 211, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

::selection {
  color: var(--ink);
  background: var(--cyan-bright);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cyan-bright);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 9px 14px;
  color: var(--ink);
  background: var(--cyan-bright);
  font-family: var(--mono);
  font-size: 12px;
  transform: translateY(-150%);
}

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

.site-frame {
  position: relative;
  width: min(calc(100% - 40px), 1380px);
  margin: 20px auto;
  overflow: hidden;
  border: 1px solid rgba(100, 191, 211, 0.18);
  background: rgba(5, 17, 23, 0.42);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 38px;
  padding: 0 clamp(22px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 20, 27, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(100, 191, 211, 0.2), rgba(100, 191, 211, 0.02));
  clip-path: polygon(0 0, 76% 0, 100% 24%, 100% 100%, 24% 100%, 0 76%);
}

.brand-mark::before {
  position: absolute;
  width: 18px;
  height: 1px;
  content: "";
  background: var(--cyan);
  box-shadow: 0 5px 0 rgba(100, 191, 211, 0.45), 0 -5px 0 rgba(100, 191, 211, 0.45);
  transform: rotate(-45deg);
}

.brand-mark span {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 8px var(--ink);
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong,
.footer-brand strong {
  color: var(--white);
  font-family: var(--heading);
  font-size: 20px;
  letter-spacing: 0.08em;
}

.brand-copy small,
.footer-brand small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.17em;
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.7vw, 40px);
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

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

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

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

.header-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(100, 191, 211, 0.11), 0 0 14px rgba(100, 191, 211, 0.65);
}

.signal--amber {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(215, 168, 95, 0.1), 0 0 14px rgba(215, 168, 95, 0.55);
}

.hero {
  position: relative;
  display: grid;
  min-height: 665px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.62fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  overflow: hidden;
  padding: 90px clamp(24px, 5.4vw, 74px) 100px;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  right: 14%;
  bottom: 0;
  z-index: -1;
  width: 36%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 35px rgba(100, 191, 211, 0.3);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("/assets/network-topology.webp");
  background-position: 55% center;
  background-size: cover;
  filter: saturate(0.85) brightness(0.74);
  transform: scale(1.02);
}

.hero-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 17, 23, 0.98) 0%, rgba(5, 17, 23, 0.87) 36%, rgba(5, 17, 23, 0.28) 75%, rgba(5, 17, 23, 0.38) 100%),
    linear-gradient(0deg, rgba(5, 17, 23, 0.7), transparent 40%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(100, 191, 211, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 191, 211, 0.1) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 17px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-family: var(--heading);
  font-size: clamp(52px, 6vw, 84px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.94;
}

.hero h1 span {
  color: var(--cyan-bright);
}

.hero-lede {
  max-width: 680px;
  margin: 27px 0 0;
  color: #b8c9d0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button--primary {
  color: #031217;
  background: var(--cyan-bright);
  border-color: var(--cyan-bright);
  box-shadow: 0 10px 35px rgba(100, 191, 211, 0.13);
}

.button--primary:hover {
  background: #b6f2f8;
}

.button--secondary {
  color: var(--white);
  border-color: var(--line-strong);
  background: rgba(7, 20, 27, 0.68);
}

.button--secondary:hover {
  border-color: var(--cyan);
  background: rgba(100, 191, 211, 0.08);
}

.button-icon {
  font-size: 17px;
}

.disclaimer-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 27px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.disclaimer-chip i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-2);
}

.technical-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 22px 60px rgba(0, 0, 0, 0.18);
}

.hero-readout {
  position: relative;
  width: 100%;
  max-width: 420px;
  justify-self: end;
  backdrop-filter: blur(10px);
}

.hero-readout::before,
.endpoint-table::before,
.code-panel::before,
.status-console::before {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 14px;
  height: 14px;
  content: "";
  border-top: 1px solid var(--cyan);
  border-right: 1px solid var(--cyan);
}

.panel-bar {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.panel-index {
  color: var(--cyan);
}

.readout-list {
  margin: 0;
  padding: 7px 24px;
}

.readout-list > div {
  display: flex;
  min-height: 55px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(100, 191, 211, 0.11);
}

.readout-list > div:last-child {
  border-bottom: 0;
}

.readout-list dt,
.readout-list dd {
  margin: 0;
}

.readout-list dt {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.readout-list dd {
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  text-align: right;
}

.readout-list dd span {
  color: var(--muted-2);
}

.readout-accent {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan) !important;
}

.readout-accent .signal {
  width: 5px;
  height: 5px;
}

.route-line {
  display: grid;
  grid-template-columns: 2fr 1fr 3fr 1.5fr;
  gap: 5px;
  height: 24px;
  align-items: center;
  padding: 0 24px;
  border-top: 1px solid var(--line);
}

.route-line span {
  height: 1px;
  background: var(--line-strong);
}

.route-line span:nth-child(2),
.route-line span:nth-child(4) {
  background: var(--amber);
}

.protocol-strip {
  display: grid;
  min-height: 64px;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 24, 32, 0.88);
}

.protocol-strip span {
  display: flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.protocol-strip span:last-child {
  border-right: 0;
}

.protocol-strip b {
  color: var(--cyan);
  font-weight: 500;
}

.section {
  padding: 110px clamp(24px, 5.4vw, 74px);
}

.section--ruled {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 19, 25, 0.58);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--heading);
  font-size: clamp(38px, 4.3vw, 58px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.config-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 20px;
}

.endpoint-table,
.code-panel,
.status-console {
  position: relative;
  overflow: hidden;
}

.endpoint-table dl {
  margin: 0;
}

.endpoint-row {
  display: grid;
  min-height: 65px;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(100, 191, 211, 0.11);
}

.endpoint-row dt,
.endpoint-row dd {
  margin: 0;
}

.endpoint-row dt {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.endpoint-row dd {
  overflow: hidden;
  color: var(--white);
  font-size: 14px;
  text-overflow: ellipsis;
}

.endpoint-row code {
  color: var(--cyan-bright);
  font-size: 12px;
}

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

.copy-icon,
.text-button {
  border: 0;
  cursor: pointer;
  background: transparent;
}

.copy-icon {
  min-width: 49px;
  padding: 8px 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: color 160ms ease, background 160ms ease;
}

.copy-icon:hover,
.copy-icon.is-copied {
  color: var(--cyan-bright);
  background: rgba(100, 191, 211, 0.08);
}

.endpoint-links {
  display: grid;
  min-height: 61px;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.endpoint-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.endpoint-links a:last-child {
  border-right: 0;
}

.endpoint-links a:hover {
  color: var(--white);
  background: rgba(100, 191, 211, 0.06);
}

.endpoint-links a span {
  color: var(--cyan);
}

.code-panel pre,
.snippet pre {
  margin: 0;
  overflow: auto;
  scrollbar-color: var(--line-strong) transparent;
}

.code-panel pre {
  min-height: 390px;
  padding: 27px;
  color: #c3d8df;
  background:
    linear-gradient(90deg, rgba(100, 191, 211, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(100, 191, 211, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  font-size: 11px;
  line-height: 1.8;
}

.panel-footer {
  display: flex;
  min-height: 61px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  color: var(--cyan-bright);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.snippet {
  overflow: hidden;
}

.snippet .panel-bar > span {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.method {
  padding: 3px 6px;
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  font-style: normal;
  letter-spacing: 0.06em;
}

.method--post {
  color: var(--amber);
  border-color: rgba(215, 168, 95, 0.48);
}

.snippet pre {
  min-height: 185px;
  padding: 26px 24px;
  color: #c8dae0;
  font-size: 11px;
  line-height: 1.75;
}

.snippet-note {
  margin: 0;
  padding: 0 24px 21px;
  color: var(--muted-2);
  font-size: 11px;
}

.wallet-setup {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  gap: 40px;
  margin-top: 18px;
  padding: 34px;
}

.wallet-intro h3,
.dedicated-callout h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--heading);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.1;
}

.wallet-intro > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.wallet-values {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.wallet-values > div {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.wallet-values dt,
.wallet-values dd {
  margin: 0;
}

.wallet-values dt {
  margin-bottom: 4px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.wallet-values dd {
  overflow: hidden;
  color: var(--white);
  font-size: 12px;
  text-overflow: ellipsis;
}

.wallet-values code {
  color: var(--cyan-bright);
  font-size: 10px;
}

.operations-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.67fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.operations-lede {
  max-width: 720px;
  margin: 0 0 36px;
  color: #b6c7cd;
  font-size: 17px;
  line-height: 1.7;
}

.check-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.check-list li {
  display: grid;
  min-height: 94px;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.check-list li > span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
}

.check-list strong {
  color: var(--white);
  font-family: var(--heading);
  font-size: 19px;
  font-weight: 600;
}

.check-list p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.check-list code,
.limits-grid code {
  color: var(--cyan-bright);
  font-size: 0.9em;
}

.status-summary {
  display: grid;
  min-height: 165px;
  grid-template-columns: 95px 1fr;
  align-items: center;
  gap: 22px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.status-orbit {
  position: relative;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: inset 0 0 28px rgba(100, 191, 211, 0.06);
}

.status-orbit::before {
  width: 46px;
  height: 46px;
  border: 1px dashed rgba(100, 191, 211, 0.4);
  border-radius: 50%;
  content: "";
  animation: rotate 12s linear infinite;
}

.status-orbit i {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.status-summary small {
  display: block;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.status-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-family: var(--heading);
  font-size: 31px;
  font-weight: 600;
}

.status-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.status-console dl {
  margin: 0;
  padding: 7px 20px;
}

.status-console dl > div {
  display: flex;
  min-height: 51px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(100, 191, 211, 0.11);
}

.status-console dt,
.status-console dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 9px;
}

.status-console dt {
  color: var(--muted-2);
  letter-spacing: 0.08em;
}

.status-console dd {
  color: #b7c8ce;
  text-align: right;
}

.status-console .state-good {
  color: var(--cyan-bright);
}

.console-link {
  display: flex;
  min-height: 57px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 20px;
  color: var(--white);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
}

.console-link span {
  color: var(--amber);
  font-size: 8px;
}

.limits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.limits-grid article {
  min-height: 245px;
  padding: 28px 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 27, 35, 0.46);
  transition: background 180ms ease;
}

.limits-grid article:hover {
  background: rgba(100, 191, 211, 0.05);
}

.limit-number {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
}

.limits-grid h3 {
  margin: 44px 0 10px;
  color: var(--white);
  font-family: var(--heading);
  font-size: 23px;
  font-weight: 600;
}

.limits-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.dedicated-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
  padding: 30px 33px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, rgba(26, 97, 110, 0.15), transparent 65%),
    rgba(8, 24, 32, 0.72);
}

.dedicated-callout .section-kicker {
  margin-bottom: 9px;
}

.link-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.link-directory > a {
  display: grid;
  min-height: 94px;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 24, 32, 0.42);
  transition: background 180ms ease, padding 180ms ease;
}

.link-directory > a:hover {
  padding-right: 18px;
  background: rgba(100, 191, 211, 0.06);
}

.link-directory > a > span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
}

.link-directory div {
  display: grid;
}

.link-directory small {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.link-directory strong {
  color: var(--white);
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 600;
}

.link-directory i {
  color: var(--cyan);
  font-style: normal;
}

.site-footer {
  display: grid;
  grid-template-columns: 0.75fr 1.6fr 0.7fr;
  gap: 42px;
  align-items: center;
  padding: 43px clamp(24px, 5.4vw, 74px);
  border-top: 1px solid var(--line);
  background: rgba(4, 14, 19, 0.82);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark--small {
  width: 32px;
  height: 32px;
}

.footer-brand > div {
  display: grid;
  line-height: 1;
}

.footer-brand strong {
  font-size: 17px;
}

.site-footer > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 7px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

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

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(100, 191, 211, 0.04);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  width: 17px;
  height: 1px;
  background: var(--cyan-bright);
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-menu-open .menu-toggle > span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle > span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle > span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.header-status.is-operational .signal,
[data-health-state="operational"] .readout-accent .signal {
  background: #74dcc3;
  box-shadow: 0 0 0 4px rgba(116, 220, 195, 0.1), 0 0 14px rgba(116, 220, 195, 0.55);
}

.header-status.is-degraded .signal,
.header-status.is-unavailable .signal {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(215, 168, 95, 0.1), 0 0 14px rgba(215, 168, 95, 0.55);
}

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

.tool-panel {
  min-width: 0;
  overflow: hidden;
}

.tool-form {
  display: grid;
  gap: 9px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.tool-form label,
.planner-options legend,
.range-control span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tool-control-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.tool-form select {
  width: 100%;
  min-height: 44px;
  padding: 0 38px 0 13px;
  color: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px;
}

.button--compact {
  min-height: 44px;
  width: auto;
}

.tool-output-header {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.tool-actions {
  display: inline-flex;
  align-items: center;
}

.tool-output {
  min-height: 176px;
  margin: 0;
  padding: 23px;
  overflow: auto;
  color: #c8dae0;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.72;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.tool-output--recipe {
  min-height: 280px;
  white-space: pre;
  overflow-wrap: normal;
}

.tool-output.is-error {
  color: #efbc9b;
}

.tool-note {
  margin: 0;
  padding: 0 23px 22px;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.6;
}

.fallback-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 0;
  margin-top: 18px;
  overflow: hidden;
}

.fallback-copy {
  padding: 34px;
  border-right: 1px solid var(--line);
}

.fallback-copy h3,
.capacity-planner h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--heading);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.1;
}

.fallback-copy > p:not(.section-kicker),
.planner-intro {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.fallback-route {
  margin: 25px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.fallback-route li {
  display: grid;
  min-width: 0;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.fallback-route span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 8px;
}

.fallback-route code {
  overflow: hidden;
  color: var(--white);
  font-size: 10px;
  text-overflow: ellipsis;
}

.fallback-code {
  min-width: 0;
}

.fallback-code pre {
  min-height: 100%;
  margin: 0;
  padding: 27px;
  overflow: auto;
  color: #c8dae0;
  font-size: 11px;
  line-height: 1.8;
}

.inline-doc-link,
.snippet-note a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.snippet-note a {
  margin-left: 7px;
}

.console-actions {
  display: grid;
  min-height: 57px;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.console-actions .text-button,
.console-actions .console-link {
  min-height: 57px;
  justify-content: center;
  padding: 0 14px;
}

.console-actions .text-button {
  border-right: 1px solid var(--line);
}

.console-actions .console-link {
  border-top: 0;
}

.capacity-planner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  margin-top: 20px;
  overflow: hidden;
}

.planner-controls,
.planner-result {
  padding: 34px;
}

.planner-controls {
  border-right: 1px solid var(--line);
}

.range-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.range-control output {
  color: var(--cyan-bright);
  font-family: var(--mono);
  font-size: 11px;
}

#planner-rps {
  width: 100%;
  margin: 16px 0 27px;
  accent-color: var(--cyan);
}

.planner-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.planner-options legend {
  grid-column: 1 / -1;
  margin-bottom: 5px;
}

.planner-options label {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 12px;
}

.planner-options input {
  flex: 0 0 auto;
  accent-color: var(--cyan);
}

.planner-result {
  position: relative;
  background: linear-gradient(145deg, rgba(26, 97, 110, 0.14), transparent 68%);
}

.planner-score {
  position: absolute;
  top: 26px;
  right: 28px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
}

.planner-score i {
  color: var(--cyan-bright);
  font-size: 22px;
  font-style: normal;
}

.planner-result h3 {
  max-width: 320px;
  font-size: 34px;
}

.planner-result > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 13px;
}

.planner-result ul {
  margin: 20px 0 25px;
  padding: 0;
  color: #b9cbd1;
  list-style: none;
  font-size: 12px;
}

.planner-result li {
  position: relative;
  margin: 8px 0;
  padding-left: 16px;
}

.planner-result li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 1px;
  content: "";
  background: var(--cyan);
}

.planner-result .button {
  width: fit-content;
}

.guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.guide-links > * {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
}

.guide-links > span {
  color: var(--muted-2);
  letter-spacing: 0.1em;
}

.guide-links a {
  color: var(--cyan);
  transition: color 160ms ease, background 160ms ease;
}

.guide-links a:hover {
  color: var(--white);
  background: rgba(100, 191, 211, 0.06);
}

.copy-dialog {
  width: min(600px, calc(100% - 32px));
  padding: 0;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel-solid);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.65);
}

.copy-dialog::backdrop {
  background: rgba(1, 8, 11, 0.78);
  backdrop-filter: blur(6px);
}

.copy-dialog-close {
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--muted);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
}

.copy-dialog-body {
  display: grid;
  gap: 17px;
  padding: 24px;
}

.copy-dialog-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.copy-dialog-body kbd {
  padding: 2px 5px;
  color: var(--white);
  border: 1px solid var(--line);
  background: var(--ink);
  font-family: var(--mono);
}

.copy-dialog textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px;
  resize: vertical;
  color: var(--cyan-bright);
  border: 1px solid var(--line-strong);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
}

.copy-dialog .button {
  width: fit-content;
}

.clipboard-probe {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.status-page-main {
  min-height: 70vh;
  padding: 90px clamp(24px, 5.4vw, 74px);
}

.status-page-heading {
  max-width: 760px;
  margin-bottom: 45px;
}

.status-page-heading h1 {
  margin: 0;
  color: var(--white);
  font-family: var(--heading);
  font-size: clamp(52px, 7vw, 82px);
  font-weight: 600;
  line-height: 0.98;
}

.status-page-heading > p:last-child {
  max-width: 670px;
  color: var(--muted);
  font-size: 16px;
}

.status-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.status-overview article {
  min-height: 180px;
  padding: 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 24, 32, 0.62);
}

.status-overview small {
  display: block;
  margin-bottom: 31px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.status-overview strong {
  display: block;
  color: var(--white);
  font-family: var(--heading);
  font-size: 28px;
  font-weight: 600;
}

.status-overview p {
  margin: 5px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.status-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.status-detail-grid .technical-panel {
  overflow: hidden;
}

.status-detail-grid dl {
  margin: 0;
  padding: 8px 22px;
}

.status-detail-grid dl > div {
  display: flex;
  min-height: 53px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.status-detail-grid dl > div:last-child {
  border-bottom: 0;
}

.status-detail-grid dt,
.status-detail-grid dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 9px;
}

.status-detail-grid dt {
  color: var(--muted-2);
}

.status-detail-grid dd {
  min-width: 0;
  color: var(--white);
  text-align: right;
}

.status-detail-grid .status-value-long {
  max-width: 68%;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  max-width: min(360px, calc(100vw - 44px));
  padding: 12px 15px;
  color: var(--ink);
  background: var(--cyan-bright);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast.is-error {
  color: #fff4df;
  background: #6b3927;
}

@media (max-width: 1060px) {
  .site-header { gap: 24px; }
  .site-nav { gap: 18px; }
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.65fr); }
  .config-layout { grid-template-columns: 1fr; }
  .code-panel pre { min-height: auto; }
  .limits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-detail-grid .technical-panel:last-child { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1fr 1.7fr; }
  .footer-meta { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; }
}

@media (max-width: 900px) {
  .site-frame { width: min(calc(100% - 20px), 1380px); margin: 10px auto; }
  .site-header { flex-wrap: wrap; gap: 14px 16px; padding: 16px 22px; }
  .header-status { order: 1; margin-left: auto; }
  .menu-toggle { display: flex; order: 2; margin-left: 0; }
  .site-nav { display: none; order: 3; width: calc(100% + 44px); flex: 0 0 calc(100% + 44px); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 -22px -16px; border-top: 1px solid var(--line); }
  .site-header.is-menu-open .site-nav { display: grid; }
  .site-nav a { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
  .site-nav a::after { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 54px; padding-top: 74px; }
  .hero-art { background-position: 64% center; }
  .hero-art::after { background: linear-gradient(90deg, rgba(5, 17, 23, 0.97), rgba(5, 17, 23, 0.64) 72%, rgba(5, 17, 23, 0.48)); }
  .hero-readout { max-width: 520px; justify-self: start; }
  .protocol-strip { grid-template-columns: repeat(2, 1fr); }
  .protocol-strip span { border-bottom: 1px solid var(--line); }
  .section { padding-block: 84px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .builder-tools-grid { grid-template-columns: 1fr; }
  .fallback-panel { grid-template-columns: 1fr; }
  .fallback-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .quickstart-grid { grid-template-columns: 1fr; }
  .wallet-setup { grid-template-columns: 1fr; }
  .operations-layout { grid-template-columns: 1fr; }
  .status-console { max-width: 560px; }
  .capacity-planner { grid-template-columns: 1fr; }
  .planner-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .dedicated-callout { align-items: flex-start; flex-direction: column; }
  .status-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-detail-grid { grid-template-columns: 1fr; }
  .status-detail-grid .technical-panel:last-child { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-meta { grid-column: auto; }
}

@media (max-width: 590px) {
  .site-frame { width: 100%; margin: 0; border-right: 0; border-left: 0; }
  .site-header { padding-inline: 16px; }
  .site-nav { width: calc(100% + 32px); flex-basis: calc(100% + 32px); margin-inline: -16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-copy small { display: none; }
  .header-status { font-size: 8px; }
  .hero { padding: 64px 20px 75px; }
  .hero h1 { font-size: clamp(46px, 14vw, 66px); }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .disclaimer-chip { align-items: flex-start; flex-direction: column; gap: 7px; }
  .disclaimer-chip i { display: none; }
  .protocol-strip span { justify-content: flex-start; padding-left: 20px; font-size: 8px; }
  .section { padding: 74px 20px; }
  .section-heading { margin-bottom: 34px; }
  .endpoint-row { grid-template-columns: 1fr auto; gap: 4px 12px; padding-block: 12px; }
  .endpoint-row dt { grid-column: 1; }
  .endpoint-row dd { grid-column: 1; }
  .endpoint-row .copy-icon { grid-row: 1 / 3; grid-column: 2; }
  .endpoint-links { grid-template-columns: 1fr; }
  .endpoint-links a { min-height: 50px; border-right: 0; border-bottom: 1px solid var(--line); }
  .tool-control-row { grid-template-columns: 1fr; }
  .tool-form, .tool-output, .fallback-copy, .fallback-code pre { padding-inline: 18px; }
  .tool-output--recipe { white-space: pre; }
  .code-panel pre, .snippet pre { padding: 22px 17px; font-size: 10px; }
  .panel-footer { align-items: flex-start; flex-direction: column; padding-block: 14px; }
  .wallet-setup { padding: 25px 19px; }
  .wallet-values { grid-template-columns: 1fr; }
  .status-summary { grid-template-columns: 80px 1fr; padding-inline: 18px; }
  .console-actions { grid-template-columns: 1fr; }
  .console-actions .text-button { border-right: 0; border-bottom: 1px solid var(--line); }
  .limits-grid { grid-template-columns: 1fr; }
  .limits-grid article { min-height: auto; }
  .limits-grid h3 { margin-top: 30px; }
  .planner-controls, .planner-result { padding: 25px 20px; }
  .planner-options { grid-template-columns: 1fr; }
  .planner-result .button { width: 100%; }
  .dedicated-callout { padding: 25px 20px; }
  .link-directory { grid-template-columns: 1fr; }
  .guide-links { flex-direction: column; }
  .status-page-main { padding: 70px 20px; }
  .status-overview { grid-template-columns: 1fr; }
  .site-footer { padding-inline: 20px; }
  .footer-meta { grid-auto-flow: row; justify-items: start; }
}

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