:root {
  --ink: #0c0c0c;
  --text: #1d1d1d;
  --muted: #6b6b6b;
  --rule: #dedede;
  --pale: #f2f2f2;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Doto', var(--mono);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 400 14px/1.6 var(--mono);
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle, rgb(0 0 0 / 11%) 1px, transparent 1px);
  background-size: 11px 11px;
}
a { color: inherit; text-decoration: none; }
button, input { font-family: var(--mono); color: inherit; }
button { cursor: pointer; }
a, button, input, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.wrap { width: 100%; max-width: 1240px; padding-inline: 28px; margin-inline: auto; }
.tiny { font-size: 11px; line-height: 1.5; }
.muted { color: var(--muted); }

header {
  position: sticky;
  inset-block-start: 0;
  z-index: 40;
  border-bottom: 1px solid var(--rule);
  background: rgb(255 255 255 / 86%);
  backdrop-filter: blur(8px);
}
.nav { display: flex; align-items: center; height: 64px; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { display: block; flex: none; }
.brand b { font-weight: 500; }
.navlinks { display: flex; gap: 22px; margin-inline-start: auto; font-size: 13px; }
.navlinks a { padding-block-end: 1px; border-bottom: 1px solid transparent; color: var(--text); }
.navlinks a:hover { border-color: var(--ink); }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--ink);
  padding: 11px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 rgb(0 0 0 / 22%);
  transition: transform 80ms ease, box-shadow 80ms ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 rgb(0 0 0 / 26%); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 rgb(0 0 0 / 20%); }
.btn.ghost { color: var(--ink); background: #fff; box-shadow: 4px 4px 0 var(--ink); }
.btn.ghost:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn.small { padding: 8px 12px; font-size: 11px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: 4px 4px 0 rgb(0 0 0 / 12%); }
.underlink { padding-bottom: 1px; border-bottom: 1px solid var(--ink); font-size: 13px; }

.hero { position: relative; overflow: hidden; padding-block-start: 56px; text-align: center; }
.eyebrow { margin-bottom: 18px; color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0 0 20px; font: 900 clamp(38px, 7.2vw, 88px)/.98 var(--display); letter-spacing: -.02em; }
h1 .thin { color: var(--muted); }
.sub { max-width: 560px; margin: 0 auto 22px; color: var(--text); font-size: 13.5px; line-height: 1.65; }
.cta-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.address { min-height: 38.8px; display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px; border: 1px dashed var(--rule); color: var(--muted); font-size: 11.5px; background: rgb(255 255 255 / 70%); max-width: 100%; }
.address button { min-width: 0; padding: 0; border: 0; background: none; font-size: 11px; }
.address button:disabled { cursor: default; }
.address code { color: var(--text); font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; overflow-wrap: anywhere; }
.address a { margin-left: 12px; padding-bottom: 1px; border-bottom: 1px solid var(--ink); font-size: 13px; white-space: nowrap; }
.hero-note { margin: 10px 0 0; }
.stage { position: relative; max-width: 1240px; min-height: 290px; margin-inline: auto; padding: 8px 28px 0; }
.arch { position: absolute; top: 0; left: 50%; width: min(660px, 86vw); transform: translateX(-50%); opacity: .9; pointer-events: none; }
.side { position: absolute; top: 26px; display: flex; flex-direction: column; gap: 84px; color: var(--muted); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.side.left { left: 28px; }
.side.right { right: 28px; align-items: flex-end; text-align: right; }
.mk { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mk span { opacity: .85; }
.pixgrid { display: grid; grid-template: repeat(5, 6px) / repeat(5, 6px); gap: 2px; }
.pixgrid i { display: block; border-radius: 1px; }
.pixgrid i.ink { background: var(--ink); }

section { padding-block: 64px; }
.section-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 26px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.section-head h2 { margin: 0; font: 900 clamp(22px, 3.2vw, 34px)/1.6 var(--display); letter-spacing: -.01em; }
.number { color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.section-meta { margin-left: auto; color: var(--muted); font-size: 11px; letter-spacing: .06em; }
.bench { display: grid; grid-template-columns: 1.15fr .85fr; align-items: start; gap: 26px; }
.plate-frame { position: relative; min-width: 0; padding: 10px; border: 1px solid var(--ink); background: #fff; }
.plate-frame::after { position: absolute; inset: 4px; border: 1px solid rgb(0 0 0 / 10%); content: ''; pointer-events: none; }
#plate { display: block; width: 100%; height: auto; background: #fff; }
.controls { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.field { min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { display: block; margin-bottom: 6px; padding: 0; color: var(--muted); font-size: 10.5px; line-height: 1.6; letter-spacing: .14em; text-transform: uppercase; }
.field input[type=text] { width: 100%; padding: 9px 10px; border: 1px solid var(--ink); border-radius: 0; background: #fff; font-size: 13px; line-height: normal; appearance: none; }
.field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.glyph-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.glyph-buttons button { padding: 9px 4px; border: 1px solid var(--rule); background: #fff; color: var(--text); font-size: 11px; line-height: normal; letter-spacing: .06em; }
.glyph-buttons button[aria-pressed=true] { border-color: var(--ink); background: var(--ink); color: #fff; }
.intensity input { width: 100%; height: 2px; margin: 12px 0 4px; padding: 0; border: 0; border-radius: 0; background: var(--ink); appearance: none; }
.intensity input::-webkit-slider-thumb { width: 14px; height: 14px; border: 2px solid var(--ink); background: #fff; appearance: none; cursor: grab; }
.intensity input::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid var(--ink); border-radius: 0; background: #fff; cursor: grab; }
.range-labels { display: flex; justify-content: space-between; }
.wallet-info { display: grid; gap: 8px; margin: 0; padding: 12px 0; border-block: 1px solid var(--rule); }
.wallet-info > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 12px; }
.wallet-info dt { color: var(--muted); }
.wallet-info dd { margin: 0; font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.wallet-info > div:first-child { font-size: 11px; line-height: 1.5; }
.wallet-info > div:first-child dt { letter-spacing: .08em; text-transform: uppercase; }
.wallet-info > div:first-child dd { font-weight: 400; }
.wallet-info > div:nth-child(4) dd { font-size: 11px; }
.wallet-info > .hashline { display: block; color: var(--muted); font-size: 10.5px; letter-spacing: .04em; }
.hashline dt, .hashline dd { display: inline; }
.hashline dd { margin-left: 8px; font-weight: 400; word-break: break-all; }
.bench-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.status { min-height: 16px; color: var(--muted); font-size: 11.5px; line-height: 1.5; letter-spacing: .02em; overflow-wrap: anywhere; }
.status.error, .status.bad { padding-left: 8px; border-left: 2px solid #7a1010; color: #7a1010; }
.status.success, .status.good { padding-left: 8px; border-left: 2px solid var(--ink); color: var(--ink); }
.burn-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.burn-note code { font: 10.5px var(--mono); border-bottom: 1px dotted var(--rule); }
.proof { padding: 12px; border: 1px solid var(--rule); background: #fff; font-size: 11px; overflow-wrap: anywhere; }
.proof h3 { margin: 0 0 12px; font: 900 20px var(--display); }
.proof p { font-size: 12px; line-height: 1.7; }
.proof a { font-size: 11px; text-decoration: underline; overflow-wrap: anywhere; }
.proof-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

.plates-table { display: flex; flex-direction: column; }
.plate-row { display: grid; grid-template-columns: 150px 1fr 150px; align-items: center; gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--rule); }
.plate-row:first-child { border-top: 1px solid var(--rule); }
.plate-name { font-size: 13px; }
.plate-name > span { display: block; margin-top: 3px; color: var(--muted); font-size: 10.5px; letter-spacing: .06em; }
.plate-row p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.density { text-align: right; font-size: 11.5px; letter-spacing: .04em; }
.bars { color: var(--ink); font-size: 11px; line-height: 1.5; letter-spacing: 1px; word-break: break-all; }
.barlegend { margin: 12px 0 0; color: var(--muted); font-size: 10.5px; letter-spacing: .04em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--rule); }
.steps article { padding: 24px 22px 26px; border-right: 1px solid var(--rule); }
.steps article:last-child { border-right: 0; }
.step-number { margin-bottom: 12px; font: 900 26px/1 var(--display); }
.steps h3 { margin: 0 0 8px; font: 500 14px/1.6 var(--sans); }
.steps p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.faq details { padding-block: 14px; border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { max-width: 76ch; margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
footer { margin-top: 20px; padding: 30px 0 46px; border-top: 1px solid var(--rule); }
.footer-columns { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.footer-column { max-width: 44ch; }
.footer-brand { margin-bottom: 10px; color: var(--ink); font-size: 13px; }
.footer-brand svg { width: 18px; height: 18px; }
.footer-link { margin-top: 8px; }
.footer-link a { padding-bottom: 1px; border-bottom: 1px solid var(--muted); }

.modal-open { overflow: hidden; }
.modal-shade { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: #fff9; backdrop-filter: blur(4px); }
.modal { position: relative; width: min(560px, 100%); max-height: 90dvh; overflow: auto; padding: 28px; border: 1px solid var(--ink); background: #fff; box-shadow: 6px 6px 0 #bbb; }
.modal h2 { margin: 0 24px 20px 0; font: 900 29px/1.05 var(--display); letter-spacing: -.02em; }
.modal > p { margin: 0 0 16px; color: #555; font-size: 12px; line-height: 1.8; }
.modal-close { position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; padding: 0; border: 0; background: none; font-size: 23px; }
.review-values { display: grid; grid-template-columns: 130px 1fr; gap: 10px 16px; margin: 18px 0; padding: 14px 0; border-block: 1px solid var(--rule); font-size: 11px; line-height: 1.7; }
.review-values dt { color: var(--muted); }
.review-values dd { margin: 0; overflow-wrap: anywhere; word-break: break-all; }
.review-ack, .lock-ack { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0; padding: 16px; border: 1px solid #777; font-size: 12px; line-height: 1.6; }
.review-ack input, .lock-ack input { flex: none; width: 18px; height: 18px; margin: 2px 0; accent-color: #111; }
.modal-actions { display: flex; gap: 16px; margin-top: 24px; }
.modal-actions .btn { flex: 1; padding: 12px; font-size: 10px; }
.wallet-choice { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 12px 0; padding: 14px; border: 1px solid var(--rule); background: #fff; font-size: 12px; }
.wallet-choice:hover { border-color: var(--ink); }
.transaction-note { margin-top: 20px; color: #555; font-size: 11px; }
.toast { position: fixed; bottom: 26px; left: 50%; z-index: 100; max-width: calc(100% - 36px); padding: 10px 16px; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 11.5px; letter-spacing: .06em; text-align: center; pointer-events: none; }
[hidden] { display: none !important; }

@media (max-width: 980px) {
  .bench { grid-template-columns: 1fr; }
  .side { display: none; }
  .stage { min-height: 0; padding-bottom: 10px; }
  .steps { grid-template-columns: 1fr; }
  .steps article { border-right: 0; border-bottom: 1px solid var(--rule); }
  .steps article:last-child { border-bottom: 0; }
}
@media (max-width: 720px) {
  .wrap { padding-inline: 18px; }
  .navlinks { display: none; }
  .hero { padding-top: 38px; }
  .stage { padding: 0 18px; }
  section { padding-block: 46px; }
  .section-head { flex-wrap: wrap; gap: 10px; }
  .section-meta { width: 100%; margin-left: 0; }
  .plate-row { grid-template-columns: 1fr; gap: 8px; }
  .density { text-align: left; }
  .modal-shade { padding: 18px; }
  .modal { max-height: 88dvh; padding: 24px; }
  .modal h2 { font-size: 26px; }
  .review-values { grid-template-columns: 100px 1fr; gap: 10px; font-size: 10px; }
  .modal-actions { gap: 12px; }
  .modal-actions .btn { padding: 12px 8px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

