:root {
  color-scheme: dark;
  --bg: #0a0c10;
  --ink: #f8eee2;
  --muted: #c6bdce;
  --orange: #ff782e;
  --rule: #625e69;
  --panel: #201e2a;
  --gutter: clamp(1.125rem, 4vw, 4rem);
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); line-height: 1.55; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: #ff9a66; }
:focus-visible { outline: 2px solid #ffad81; outline-offset: 4px; }
.wrap { width: min(100% - var(--gutter) * 2, 86rem); margin-inline: auto; }
.skip { position: fixed; z-index: 3; top: .75rem; left: .75rem; padding: .5rem; background: var(--bg); transform: translateY(-220%); }
.skip:focus { transform: none; }
.masthead, .network { border-bottom: 1px solid var(--rule); }
.top, .top nav, .brand, .network dl, .network dl > div { display: flex; align-items: center; }
.top { min-height: 3.4rem; justify-content: space-between; gap: .65rem 1.5rem; }
.brand { gap: .55rem; font-weight: 800; text-decoration: none; letter-spacing: -.025em; font-size: 1.15rem; }
.brand-mark { width: .85rem; height: 1.05rem; background: var(--orange); border-radius: 65% 28% 56% 55%; transform: rotate(28deg); }
.top nav { gap: clamp(.75rem, 3vw, 2.5rem); font-weight: 650; }
.top nav a { text-decoration: none; }
.network dl { gap: .5rem 1.45rem; margin-block: 0; padding-block: .42rem; flex-wrap: wrap; }
.network dl > div { gap: .55rem; }
.network dl > div + div { padding-inline-start: 1.45rem; border-inline-start: 1px solid var(--rule); }
.network dd { color: #ff9058; margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; }
.hero { overflow: hidden; }
.hero-inner { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(22rem, 27vw, 28rem); }
.hero-copy { position: relative; z-index: 1; max-width: 40rem; padding: 1.7rem 0 2rem; }
.hero-image { position: absolute; height: 100%; width: min(75%, 66rem); right: calc(-1 * var(--gutter)); object-fit: cover; object-position: center 54%; z-index: -1; mask-image: linear-gradient(to right, transparent 2%, #000 42%); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.06; color: var(--ink); }
h1 { font-size: clamp(3rem, 6vw, 5.35rem); letter-spacing: -.07em; font-weight: 800; }
.intro { font-size: clamp(1.25rem, 2.6vw, 2.35rem); line-height: 1.06; letter-spacing: -.038em; font-weight: 680; margin-top: .45rem; max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; margin-top: 1.55rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .52rem 1.55rem; border: 2px solid transparent; border-radius: .55rem; font-size: 1.1rem; font-weight: 750; text-decoration: none; }
.primary { color: #141012; background: var(--orange); }
.primary:hover { color: #141012; background: #ff9a63; }
.secondary { border-color: var(--ink); background: #0a0c10; }
.secondary:hover { border-color: #ff9a63; }
.requirements { margin-top: .45rem; }
.testnet, .steps p, .help p { color: var(--muted); }
.guide, .help { scroll-margin: 1rem; }
.guide { padding-block: 1.45rem .8rem; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.055em; }
.steps { list-style: none; padding: 0; margin: .1rem 0 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: 1rem clamp(1.5rem, 5vw, 5rem); padding: .9rem 0; border-bottom: 1px solid var(--rule); align-items: center; }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.65rem); letter-spacing: -.03em; }
.steps h3::before { content: counter(step) ". "; }
.steps p { margin-top: .35rem; max-width: 56ch; }
.command-stack { display: grid; gap: .5rem; }
.command { position: relative; min-width: 0; background: var(--panel); border: 1px solid #3e3949; border-radius: .55rem; }
pre { margin: 0; padding: .7rem 4.5rem .7rem .85rem; overflow: auto; font: .9rem/1.55 ui-monospace, Menlo, Consolas, monospace; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; }
.copy { position: absolute; top: .35rem; right: .35rem; min-height: 2rem; padding: 0 .55rem; background: #352f40; border: 1px solid #6c6277; border-radius: .3rem; color: var(--ink); font-family: inherit; font-size: .85rem; font-weight: 650; cursor: pointer; }
.copy:hover { background: #514459; }
.help { padding-block: .45rem 1rem; }
.help h2 { margin-bottom: .6rem; }
.help details { border-bottom: 1px solid var(--rule); }
.help summary { display: flex; justify-content: space-between; align-items: center; gap: .75rem; list-style: none; cursor: pointer; font-weight: 700; padding: .55rem 0; }
.help summary::-webkit-details-marker { display: none; }
.help summary::after { content: ""; flex: 0 0 auto; width: .6rem; height: .6rem; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); margin-right: .3rem; }
.help details[open] summary::after { transform: rotate(225deg); }
.help p { max-width: 76ch; padding: 0 0 .85rem; overflow-wrap: anywhere; }
.footer { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding-block: .35rem 1.75rem; color: var(--muted); font-size: .9rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 740px) {
  .hero-inner { min-height: auto; }
  .hero-copy { padding-bottom: 1rem; }
  .hero-image { position: static; width: 100%; height: auto; max-height: 16rem; border-radius: .55rem; mask-image: none; }
  .steps li { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
}
@media (max-width: 460px) {
  .top { flex-wrap: wrap; padding-block: .55rem; }
  .brand { font-size: .98rem; }
  .top nav { font-size: .88rem; }
  .network dl { column-gap: .65rem; font-size: .88rem; }
  .network dl > div + div { padding-inline-start: .65rem; }
  .actions { gap: .55rem; }
  .button { flex: 1 1 auto; padding-inline: .65rem; font-size: .98rem; }
  pre { white-space: pre-wrap; overflow-wrap: anywhere; padding-right: 4rem; }
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f4f1e9;
  display: block;
}
.separate-note {
  margin: 14px 0 0;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--orange, #ff8d4c);
}
