@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/outfit-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
}

:root {
  --bg: #000;
  --ink: #f5f5f5;
  --muted: #9b9b9b;
  --line: rgba(255, 255, 255, 0.1);
  --card: #0c0c0c;
  --card-2: #111;
  --accent: #c4b5fd;
  --header-h: 64px;
  --sans: "Outfit", Inter, -apple-system, system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}
body.is-entering { animation: page-in 0.4s ease; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; }
::selection { background: #2a2438; color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -40px; z-index: 80;
  background: #fff; color: #000; padding: 8px 12px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  min-height: var(--header-h);
  padding: 0 max(16px, calc((100% - 1120px) / 2));
  background: rgba(0, 0, 0, 0.86);
  border-bottom: 1px solid #161616;
  backdrop-filter: blur(16px);
}
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: 0 50%;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.mark { width: 32px; height: 32px; }
.wordmark { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1; }
.wordmark em { font-style: italic; color: var(--accent); }
#site-nav { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.protocol { position: relative; }
.protocol-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 12px; border: 0; border-radius: 999px;
  background: transparent; color: #fff; font-weight: 500; cursor: pointer;
}
.protocol-toggle:hover, .protocol.is-open .protocol-toggle { background: #161616; }
.caret {
  width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform 0.25s ease;
}
.protocol.is-open .caret { transform: translateY(2px) rotate(225deg); }
.protocol-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 70;
  width: min(360px, calc(100vw - 24px)); max-height: min(78vh, 720px); overflow: auto;
  padding: 8px; border-radius: 16px; background: #0e0e0e;
  border: 1px solid #242424; box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none;
}
.protocol.is-open .protocol-menu {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.menu-row {
  display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto;
  column-gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px;
  text-decoration: none; color: #fff; opacity: 0; transform: translateY(8px);
}
.protocol.is-open .menu-row {
  opacity: 1; transform: none;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease;
  transition-delay: calc(var(--i) * 36ms);
}
.menu-row:hover { background: #171717; }
.menu-row[aria-current="page"] { background: #16141c; }
.menu-row .icon {
  grid-row: 1 / span 2; width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center; background: #161616; color: var(--accent);
}
.menu-row .icon svg { width: 18px; height: 18px; }
.menu-row strong { font-weight: 560; font-size: 0.95rem; }
.menu-row em { grid-column: 2; font-style: normal; color: var(--muted); font-size: 0.8rem; line-height: 1.35; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; font-weight: 560; white-space: nowrap; cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-moon { background: #fff; color: #000; }
.btn-moon:hover { background: #ececec; }
.btn-ghost { background: transparent; color: #fff; border-color: #2e2e2e; }
.btn-ghost:hover { border-color: #555; background: #111; }
.btn-line { background: transparent; color: #fff; border-color: #2a2a2a; }
.btn:disabled, .btn[disabled] {
  cursor: not-allowed; transform: none; background: #1a1a1a; color: #8a8a8a; border-color: transparent;
}
.text-btn {
  border: 1px solid #2a2a2a; background: transparent; color: #ddd; border-radius: 999px;
  min-height: 34px; padding: 0 12px; cursor: pointer;
}

.sky { position: relative; overflow: hidden; background: #000; color: #fff; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.35; }
.sky > *:not(.stars) { position: relative; z-index: 1; }

.hero { padding: 54px 0 28px; }
.hero-top {
  display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 32px; align-items: end;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding: 5px 10px; border-radius: 999px; border: 1px solid #2a2a2a;
  color: #d4d4d4; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.hero h1, .page-hero h1, .band h2, .prose h2, .close-band h2 {
  font-weight: 300; letter-spacing: -0.035em; line-height: 1.02;
}
.hero h1 { font-size: clamp(3rem, 5.6vw, 4.4rem); }
.hero h1 em, .page-hero h1 em, .close-band h2 em { font-style: italic; font-family: var(--serif); font-weight: 400; color: #fff; }
.lede { color: var(--muted); font-size: 1.05rem; max-width: 38rem; }
.hero .lede { margin-top: 0; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 22px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; border: 1px solid #222; background: #070707;
  color: #e8e8e8; font-size: 0.92rem;
}
.chips small {
  color: var(--muted); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
}

.stage {
  border: 1px solid #222; border-radius: 22px; background: #070707; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.stage-top {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 12px 14px; border-bottom: 1px solid #1c1c1c;
}
.example-tag {
  display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 8px;
  background: #1a1624; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.stage-note, .hint, .muted { color: var(--muted); }
.stage-body { display: grid; grid-template-columns: 180px 1fr; min-height: 320px; }
.stage-nav { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-right: 1px solid #1c1c1c; }
.stage-nav button {
  text-align: left; border: 0; background: transparent; color: #bdbdbd;
  border-radius: 10px; min-height: 40px; padding: 0 10px; cursor: pointer; flex: 0 0 auto;
}
#live, #steps, #principles { scroll-margin-top: 80px; }
.stage-nav button[aria-selected="true"] { background: #141414; color: #fff; }
.stage-main { padding: 18px 18px 16px; }
.stage-kicker { color: var(--accent); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.stage-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px;
}
.stage-form div, .mini-ui {
  border: 1px solid #242424; border-radius: 12px; padding: 10px 12px; background: #0a0a0a;
}
.stage-form span, .mini-ui span { display: block; color: var(--muted); font-size: 0.75rem; }
.stage-form b, .mini-ui b { font-weight: 500; }
.stage-steps { list-style: none; display: grid; gap: 8px; }
.stage-steps li {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 12px; border: 1px solid #1d1d1d; background: #0a0a0a;
}
.ss { font-family: var(--mono); font-size: 0.78rem; text-transform: lowercase; color: #6b6b6b; }
[data-state="working"] { border-color: #3a3350; }
[data-state="working"] .ss { color: var(--accent); }
[data-state="done"] .ss { color: #e4e4e7; }

.band { padding: clamp(64px, 8vw, 96px) 0; }
.band h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); margin-bottom: 12px; }
.section-lead { color: var(--muted); max-width: 40rem; margin-bottom: 28px; }
.indexed::before {
  content: attr(data-index); display: block; margin-bottom: 8px;
  font-size: 0.75rem; letter-spacing: 0.16em; color: var(--accent); font-weight: 600;
}

.term {
  border: 1px solid #222; border-radius: 18px; background: #050505; overflow: hidden;
}
.term-top {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-bottom: 1px solid #1a1a1a; color: #8d8d8d; font-size: 0.82rem;
}
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #2a2a2a; display: block; }
.dots i:first-child { background: #3f3f46; }
.term-screen {
  min-height: 180px; max-height: 280px; overflow: auto; padding: 14px 16px 18px;
  font-family: var(--mono); font-size: 0.86rem; line-height: 1.7; color: #e7e7e7;
}
.term-compact .term-screen { min-height: 96px; max-height: 140px; font-size: 0.78rem; }
.feed-line.is-down { color: #a1a1aa; }
.term-screen a { color: var(--accent); text-decoration: none; }
.term-screen a:hover { text-decoration: underline; }
.term-screen::after {
  content: "▌"; color: var(--accent); animation: blink 1s steps(1) infinite; margin-left: 2px;
}
.feed-kicker {
  margin-bottom: 12px; color: #d4d4d4; font-size: 0.92rem;
}
@keyframes blink { 50% { opacity: 0; } }

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card {
  display: flex; flex-direction: column; gap: 10px; min-height: 100%;
  padding: 18px; background: var(--card); border: 1px solid #222; border-radius: 18px;
  text-decoration: none; color: inherit;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
a.card:hover { border-color: #3a3a3a; transform: translateY(-3px); }
.card h3 { font-size: 1.35rem; font-weight: 450; letter-spacing: -0.03em; line-height: 1.2; }
.card p, .card-kicker { color: var(--muted); }
.card-kicker { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.more { margin-top: auto; color: #fff; font-weight: 560; }
.icon { width: 36px; height: 36px; display: grid; place-items: center; color: var(--accent); }
.icon svg { width: 22px; height: 22px; }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote {
  border: 1px solid #222; border-radius: 18px; background: #070707; padding: 22px;
  min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.quote p { font-size: 1.35rem; font-weight: 350; letter-spacing: -0.03em; line-height: 1.25; }
.quote span { color: var(--muted); font-size: 0.85rem; }

.cli {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center;
  border: 1px solid #222; border-radius: 22px; padding: 28px; background: #070707;
}
.sketch, .cli pre {
  margin: 0; padding: 16px; border-radius: 14px; background: #000; border: 1px solid #222;
  color: #d4d4d8; font-family: var(--mono); font-size: 0.86rem; line-height: 1.6; overflow: auto;
}
.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid #222; border-radius: 14px; background: #070707; padding: 0 16px; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px;
  align-items: center; padding: 16px 0; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 8px; height: 8px; border-right: 1.5px solid #aaa; border-bottom: 1.5px solid #aaa;
  transform: rotate(45deg); flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p { color: var(--muted); padding-bottom: 16px; max-width: 68ch; }

.page-hero { padding: 42px 0 28px; }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin: 8px 0 12px; }
.page-hero-compact { padding: 22px 0 16px; }
.page-hero-compact h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.crumb { color: var(--muted); font-size: 0.92rem; margin-bottom: 12px; }
.crumb a { text-decoration: none; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr 0.75fr; gap: 24px; align-items: center; }
.illo { width: min(100%, 320px); margin-left: auto; }
.prose-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 28px; align-items: start; }
.prose { max-width: 68ch; }
.prose p + p, .prose ul + p, .prose h2 + p { margin-top: 0.9rem; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 1.2rem; }
.prose h3 { font-weight: 450; font-size: 1.2rem; margin-top: 0.8rem; }
.prose a { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.1rem; }
.prose ul { list-style: disc; }
.side-card, .panel {
  background: #0c0c0c; border: 1px solid #222; border-radius: 18px; padding: 18px;
}
.side-card { position: sticky; top: 88px; }
.side-card h2, .wallet-panel h2, .workspace h2 {
  font-weight: 400; font-size: 1.6rem; letter-spacing: -0.03em; margin: 0 0 8px;
}
.steps { display: grid; gap: 12px; margin-top: 14px; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.steps .num { color: var(--accent); font-variant-numeric: tabular-nums; }
.callout, .warning {
  margin-top: 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid #2a2a2a;
}
.warning { background: #100e16; }
.related { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 16px; }
.related a { color: var(--accent); font-weight: 560; }
.chain-grid, .chain-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.chain-pill, .chain-card h3 { font-weight: 500; }
.chain-pill {
  display: grid; gap: 2px; min-width: 160px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid #222; background: #0c0c0c; text-decoration: none;
}
.chain-pill span, .chain-card p { color: var(--muted); }
.chain-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.token-display { font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 300; letter-spacing: -0.04em; }
.ca-blank { margin-top: 16px; padding: 16px; border-radius: 16px; border: 1px dashed #333; }
.ca-blank strong { display: block; font-size: 1.6rem; font-weight: 400; }
.ca-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid #2a2438;
  border-radius: 14px;
  background: #07060c;
}
.hero-ca { margin-top: 18px; }
.footer-ca { margin: 0 0 16px; }
.ca-kicker {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ca-addr {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: #fff;
  overflow-wrap: anywhere;
}
.ca-copy, .ca-explorer {
  border: 1px solid #2e2e2e;
  background: #000;
  color: #fff;
  border-radius: 999px;
  min-height: 32px;
  padding: 0 12px;
  font-size: 0.8rem;
  font-weight: 560;
  text-decoration: none;
  cursor: pointer;
}
.ca-copy:hover, .ca-explorer:hover { border-color: var(--accent); color: var(--accent); }
.ca-copy.is-copied { color: var(--accent); border-color: var(--accent); }

.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.subnav a { text-decoration: none; border: 1px solid #2a2a2a; border-radius: 999px; padding: 6px 12px; }
.subnav a[aria-current="page"] { background: #fff; color: #000; border-color: #fff; }

.phases { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.phases li { background: #0c0c0c; border: 1px solid #222; border-radius: 16px; padding: 14px 16px; }
.phases li.is-now { border-color: #4c3f72; }
.phase-num { display: block; margin-bottom: 4px; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.phases h2 { font-size: 1.5rem; font-weight: 400; margin-bottom: 4px; }
.phases p { color: var(--muted); }

.sequence-top { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 16px; }
.sequence-label { color: var(--muted); }
.sequence-track { position: relative; }
.sequence-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0 0 16px; }
.sequence-steps::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 16px; height: 1px; background: #333;
}
.sequence-orb {
  position: absolute; top: 16px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); transform: translate(-50%, -50%);
}
.sequence-steps button {
  position: relative; width: 100%; padding: 34px 6px 0; border: 0; background: transparent; color: #fff; cursor: pointer;
}
.sequence-steps .num { display: block; color: var(--accent); font-size: 0.8rem; }
.sequence-steps .name { font-size: 1.3rem; font-weight: 400; }
.sequence-panel { background: #0c0c0c; border: 1px solid #222; border-radius: 16px; padding: 18px; }
.sequence-panel h3 { font-weight: 400; font-size: 1.6rem; margin-bottom: 6px; }
.sequence-panel p { color: var(--muted); }

.app-hero { padding: 28px 0 18px; }
.app-hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 300; letter-spacing: -0.03em; }
.app-shell { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; padding-bottom: 28px; }
.wallet-panel { position: sticky; top: 84px; display: grid; gap: 12px; }
.balance { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 300; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.address { font-family: var(--mono); font-size: 0.82rem; overflow-wrap: anywhere; background: #000; border-radius: 10px; padding: 10px; }
.wallet-actions, .network-switcher { display: flex; flex-wrap: wrap; gap: 8px; }
.network-switcher button {
  border: 1px solid #2a2a2a; background: #000; color: #fff; border-radius: 999px; min-height: 36px; padding: 0 10px; cursor: pointer;
}
.network-switcher button[aria-pressed="true"] { background: #fff; color: #000; }
.tabs { display: flex; gap: 6px; padding: 4px; background: #000; border-radius: 12px; overflow: auto; }
.tabs button {
  border: 0; background: transparent; color: #aaa; border-radius: 10px; min-height: 38px; padding: 0 12px; cursor: pointer; white-space: nowrap;
}
.tabs button[aria-selected="true"] { background: #1a1a1a; color: #fff; }
.workspace { display: grid; gap: 12px; }
.form-grid { display: grid; gap: 12px; margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 500; }
input, select {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 12px;
  border: 1px solid #2a2a2a; background: #000; color: #fff;
}
.field.has-error input, .field.has-error select { border-color: #fb7185; }
.error-text { color: #fb7185; font-size: 0.8rem; font-weight: 400; }
.alert { padding: 10px 12px; border-radius: 12px; background: #2a1218; color: #fecdd3; }
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,0.72); }
.modal-card { width: min(420px, 100%); background: #111; border: 1px solid #2a2a2a; border-radius: 16px; padding: 16px; }
#wallet-list { display: grid; gap: 8px; }
#wallet-list button {
  width: 100%; display: flex; align-items: center; gap: 10px; min-height: 46px;
  border-radius: 12px; border: 1px solid #2a2a2a; background: #000; color: #fff; cursor: pointer; text-align: left; padding: 0 12px;
}
.moon-wrap { width: min(280px, 100%); margin-left: auto; aspect-ratio: 1; position: relative; }
.moon {
  position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, #fff 0%, #ddd 28%, #222 70%);
  box-shadow: 0 0 40px rgba(196, 181, 253, 0.25);
}
.moon::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 70% 40%, transparent 0 34%, #000 72%);
  transform: translate(14%, -6%);
}
.orbit { display: none; }
.note-card { display: none; }

.site-footer { padding: 36px 0 18px; border-top: 1px solid #161616; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; padding-bottom: 22px; }
.site-footer h2 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-blurb { color: var(--muted); margin-top: 8px; }
.footer-bar {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding-top: 14px; border-top: 1px solid #161616; color: var(--muted); font-size: 0.92rem;
}
.footer-social {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.github-link { color: #fff; font-weight: 600; text-decoration: none; }
.x-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 560;
  font-size: 0.92rem;
  text-decoration: none;
}
.x-link svg { width: 13px; height: 13px; flex: 0 0 auto; }
.x-link:hover, .github-link:hover { color: var(--accent); }
.noscript-banner { background: #1a1624; color: #eee; text-align: center; padding: 8px 12px; }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-top, .stage-body, .card-grid, .card-grid.three, .quotes, .cli, .prose-grid, .page-hero-grid, .footer-grid, .app-shell, .form-row {
    grid-template-columns: 1fr;
  }
  .stage-nav { flex-direction: row; overflow: auto; border-right: 0; border-bottom: 1px solid #1c1c1c; }
  .side-card, .wallet-panel { position: static; }
  .illo, .moon-wrap { margin: 12px 0 0; }
  .hero h1 { max-width: none; }
  .site-header { padding-left: 12px; padding-right: 12px; gap: 8px; }
  .wordmark { font-size: 1.05rem; }
  .mark { width: 28px; height: 28px; }
  .nav-cta { min-height: 38px; padding: 0 12px; font-size: 0.84rem; }
  .protocol-menu {
    position: fixed; top: calc(var(--header-h) + 8px); left: 10px; right: 10px; width: auto;
    max-height: calc(100svh - var(--header-h) - 16px);
  }
  body.nav-open { overflow: hidden; }
  .sequence-steps { grid-template-columns: 1fr; }
  .sequence-steps::before { left: 16px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .sequence-steps button { text-align: left; padding: 8px 0 8px 28px; }
}

@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;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .term-screen::after { animation: none; }
  body.is-entering { animation: none; }
}
