@font-face { font-family: "Archivo Black"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/ArchivoBlack-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/IBMPlexMono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/IBMPlexMono-500.woff2") format("woff2"); }
@font-face { font-family: "Special Elite"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/SpecialElite-400.woff2") format("woff2"); }
:root {
  --bg: #050505;
  --bg-2: #0d0d0c;
  --ink: #f2f2ee;
  --muted: #8f8f88;
  --line: #2a2a27;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --type: "Special Elite", "Courier New", monospace;
  --gutter: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.65 var(--mono); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }

/* navegação */
.nav { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); background: #050505; border-bottom: 1px solid var(--line); }
.logo { font: 400 20px/1 "Archivo Black", Arial, sans-serif; letter-spacing: -.02em; }
.nav nav { display: flex; gap: 28px; font-size: 13px; color: var(--muted); }
.nav nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 20px; border: 1px solid var(--ink); font-size: 13px; letter-spacing: .02em; transition: background .15s, color .15s; }
a.btn:hover { background: var(--ink); color: var(--bg); }
.btn-solid { background: var(--ink); color: var(--bg); }
a.btn-solid:hover { background: transparent; color: var(--ink); }
.btn-soon { border-color: var(--line); color: var(--muted); cursor: default; min-height: 36px; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; padding: 96px var(--gutter) 48px; }
#halftone { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 58%; background: linear-gradient(#05050500, #050505 72%); pointer-events: none; }
.corner { position: absolute; z-index: 2; width: 14px; height: 14px; border: 1px solid var(--muted); }
.corner.tl { top: 76px; left: var(--gutter); border-width: 1px 0 0 1px; }
.corner.tr { top: 76px; right: var(--gutter); border-width: 1px 1px 0 0; }
.corner.bl { bottom: 24px; left: var(--gutter); border-width: 0 0 1px 1px; }
.corner.br { bottom: 24px; right: var(--gutter); border-width: 0 1px 1px 0; }
.hero-copy { position: relative; z-index: 2; max-width: 900px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--line); background: #050505cc; font-size: 11px; letter-spacing: .12em; }
.pill b { color: var(--muted); font-weight: 400; }
.pill i { width: 6px; height: 6px; background: var(--ink); animation: blink 1.4s steps(2) infinite; }
.type-line { margin-top: 18px; min-height: 1.15em; font: 400 clamp(28px, 4.4vw, 54px)/1.15 var(--type); }
.type-line.typing::after { content: "_"; animation: blink 1s steps(2) infinite; }
.lede { max-width: 58ch; margin: 16px auto 0; color: #c9c9c3; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
@keyframes blink { 50% { opacity: 0; } }

/* painel de exemplo */
.panel-wrap { padding: 40px var(--gutter) 96px; scroll-margin-top: 60px; }
.panel { max-width: 1040px; margin: 0 auto; border: 1px solid var(--line); background: var(--bg-2); }
.panel-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .1em; }
.panel-body { display: grid; grid-template-columns: 1.6fr 1fr; }
.term { min-width: 0; border-right: 1px solid var(--line); }
.term-head { display: flex; justify-content: space-between; padding: 10px 16px; font-size: 12px; border-bottom: 1px solid var(--line); }
.term pre { margin: 0; padding: 16px; height: 300px; overflow: hidden; font: 400 13px/1.7 var(--mono); white-space: pre-wrap; }
.term pre .dim { color: var(--muted); }
.card { display: flex; flex-direction: column; padding: 8px 16px 16px; }
.card > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.card dt { color: var(--muted); }
.card dd { transition: color .2s; }
.card dd.pending { color: var(--muted); }
.card .progress { margin-top: auto; padding: 0; height: 8px; border: 1px solid var(--line); }
.progress span { display: block; width: 0; height: 100%; background: repeating-linear-gradient(135deg, var(--ink) 0 3px, transparent 3px 5px); }

/* seções */
.eyebrow { font-size: 11px; letter-spacing: .16em; color: var(--muted); }
h2 { margin-top: 10px; font: 400 clamp(30px, 4.6vw, 54px)/1.12 var(--type); }
h3 { margin-top: 2px; font: 400 26px/1.2 var(--type); }
.how { padding: 72px var(--gutter); border-top: 1px solid var(--line); scroll-margin-top: 40px; }
.sec-head { max-width: 1240px; margin: 0 auto 36px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1240px; margin: 0 auto; }
.steps figure { aspect-ratio: 4 / 3; margin-bottom: 16px; border: 1px solid var(--line); overflow: hidden; background: #000; }
.steps img { filter: grayscale(1) contrast(1.05); transition: transform .6s ease; }
.steps li:hover img { transform: scale(1.03); }
.num { font-size: 12px; color: var(--muted); }
.steps p { margin-top: 8px; color: #c9c9c3; max-width: 36ch; }
.fig-type { display: grid; place-items: center; background-image: radial-gradient(#3a3a36 1px, transparent 1.2px) !important; background-size: 7px 7px; font: 400 clamp(32px, 4vw, 48px)/1 var(--type); }
.fig-type i { font-style: normal; animation: blink 1s steps(2) infinite; }

.identity { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); max-width: 1240px; margin: 0 auto; padding: 72px var(--gutter); scroll-margin-top: 40px; }
.identity figure { aspect-ratio: 19 / 10; border: 1px solid var(--line); overflow: hidden; }
.identity .lede { margin-left: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { padding: 4px 12px; border: 1px solid var(--line); font-size: 12px; }

.close { position: relative; display: grid; place-items: center; min-height: 340px; padding: 48px var(--gutter); overflow: hidden; border-top: 1px solid var(--line); text-align: center; }
.close img { position: absolute; inset: 0; opacity: .38; }
.close div { position: relative; }
.close h2 { margin: 0; }
.close p { margin-top: 8px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px var(--gutter); border-top: 1px solid var(--line); font-size: 12px; }

/* entrada ao rolar */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.on { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .nav nav { display: none; }
  .panel-body, .steps, .identity { grid-template-columns: 1fr; }
  .term { border-right: 0; border-bottom: 1px solid var(--line); }
  .term pre { height: 250px; font-size: 12px; }
  .card .progress { margin-top: 12px; }
  .identity { padding-block: 48px; }
  .docs { grid-template-columns: 1fr !important; }
  .docs-nav { position: static !important; flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
  .how { padding-block: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* CA publicado */
.ca[hidden] { display: none !important; }
.ca { display: flex; align-items: center; gap: 8px; max-width: 100%; margin: 18px auto 0; width: fit-content; padding: 6px 6px 6px 12px; border: 1px solid var(--line); background: #050505e6; font-size: 12px; }
.ca code { font: 400 12px/1.4 var(--mono); overflow-wrap: anywhere; text-align: left; }
.ca b { color: var(--muted); font-weight: 400; }
.ca button { flex: none; min-height: 30px; padding: 0 10px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 400 11px var(--mono); cursor: pointer; }
.ca button:hover { background: var(--ink); color: var(--bg); }

/* docs */
.docs { display: grid; grid-template-columns: 200px minmax(0, 720px); gap: 48px; justify-content: center; padding: 104px var(--gutter) 72px; }
.docs-nav { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.docs-nav a:hover { color: var(--ink); }
.docs h1 { font: 400 clamp(36px, 5vw, 56px)/1.1 var(--type); }
.docs section { padding-top: 36px; scroll-margin-top: 60px; }
.docs h2 { margin: 0 0 10px; font-size: 28px; }
.docs p + p { margin-top: 12px; }
.docs p, .docs li { color: #c9c9c3; }
.docs ol { list-style: decimal; padding-left: 22px; }
.docs code { font: 400 13px/1.6 var(--mono); }
.addr { display: block; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); overflow-wrap: anywhere; }

[hidden] { display: none !important; }
.pill { text-transform: uppercase; }
.foot-links { display: flex; gap: 16px; }
/* site fechado ou esperando o site.json */
html.espera body { visibility: hidden; }
html.fechado, html.fechado body { background: #fff; }
html.fechado body > * { display: none !important; }
html.fechado body::before { content: "503 Service Temporarily Unavailable"; display: block; padding: 40px; color: #000; font: 700 22px/1.3 Arial, sans-serif; text-align: center; }

.onchain { max-width: 1240px; margin: 0 auto; padding: 72px var(--gutter); border-top: 1px solid var(--line); }
.provas { display: grid; gap: 10px; margin-top: 22px; }
.provas > div { padding: 12px 14px; border: 1px solid var(--line); background: var(--bg-2); }
.provas dt { color: var(--muted); font-size: 12px; }
.provas dd { font-size: 13px; overflow-wrap: anywhere; }
