:root {
  color-scheme: dark;
  --bg: #070a09;
  --panel: #0d1411;
  --ink: #e9ffe8;
  --muted: #9bb5a4;
  --faint: #6d8578;
  --line: #1c3a2a;
  --line-strong: #39f58a;
  --live: #39f58a;
  --cyan: #7af0ff;
  --pink: #ff4d8d;
  --sans: "JetBrains Mono", "WenQuanYi Micro Hei Mono", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", ui-monospace, monospace;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(57, 245, 138, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 245, 138, 0.045) 1px, transparent 1px);
  background-size: 8px 8px;
}
body::after { content: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--live); outline-offset: 3px; }

.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 10, 9, 0.92);
  border-bottom: 2px solid var(--line);
}
.top-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-logo { display: block; height: 34px; width: auto; }
.brand-labs {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--live);
  border: 2px solid var(--live);
  padding: 3px 6px;
}
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a, .lang a {
  text-decoration: none;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 8px 10px;
}
.nav a:hover, .lang a:hover { color: var(--ink); background: #10261a; }
.lang { display: flex; border: 2px solid var(--line); }
.lang a[aria-current="page"] { background: var(--live); color: #04140c; }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  flex: 0 0 auto;
}
.dot.high { background: var(--pink); }
.dot.medium { background: #e6b325; }
.dot.info { background: var(--cyan); }

.hero { padding: 36px 0 12px; }
.frame {
  position: relative;
  border: 2px solid var(--line-strong);
  background: rgba(8, 17, 13, 0.88);
  padding: 28px;
  box-shadow: 8px 8px 0 #10261a;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr); gap: 28px; align-items: start; }
.example { border-left: 2px solid var(--line); padding-left: 22px; min-width: 0; }
.example, .fine, .worry p, .reports p, .lede, .hint { overflow-wrap: anywhere; }
.pixel-eye { width: 72px; height: 72px; image-rendering: pixelated; }
.example-line { margin: 8px 0; font-size: 15px; }
.lookup-row { display: flex; gap: 8px; align-items: stretch; }
.lookup select {
  height: 48px;
  border: 2px solid var(--line-strong);
  background: #050806;
  padding: 0 8px;
}
.eyebrow, .kicker {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before { content: "> "; color: var(--live); }
h1 {
  margin: 0;
  max-width: 14em;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.lede { margin: 14px 0 0; max-width: 40rem; color: var(--muted); }

.pixel-stage {
  justify-self: end;
  width: 196px;
  padding: 14px;
  border: 2px solid var(--line);
  background: #07110c;
  image-rendering: pixelated;
}
.brand-shield { display: block; width: 96px; height: 96px; margin: 0 0 8px; }
.pixel-cap { margin: 10px 0 0; text-align: center; font-size: 11px; letter-spacing: 0.16em; color: var(--live); }
.pixel-slots { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.pixel-slots i {
  width: 14px;
  height: 14px;
  display: block;
  background: #163024;
  box-shadow: inset 0 0 0 2px #1c3a2a;
}
.pixel-slots i.on { background: var(--live); box-shadow: 3px 3px 0 #0b3d22; }

.lookup { margin-top: 22px; }
.lookup-row { display: flex; gap: 8px; }
.lookup input[type="text"] {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 12px;
  border: 2px solid var(--line-strong);
  background: #050806;
  font-size: 13px;
}
.lookup input::placeholder { color: var(--faint); }
.lookup button, .soon a {
  height: 48px;
  padding: 0 14px;
  border: 2px solid var(--live);
  background: var(--live);
  color: #04140c;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  box-shadow: 4px 4px 0 #0b3d22;
}
.lookup button:hover, .soon a:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #0b3d22; }
.hint { margin: 8px 0 0; color: var(--faint); font-size: 12px; }
.facts { display: flex; gap: 16px; flex-wrap: wrap; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.facts b { color: var(--live); margin-right: 6px; }

.section { padding: 56px 0; }
.section h2 { margin: 0 0 8px; font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.intro { margin: 0 0 22px; max-width: 42rem; color: var(--muted); }

.worry-grid, .reports { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.worry, .reports article {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border: 2px solid var(--line);
  background: var(--panel);
}
.worry .ask { margin: 0; color: var(--cyan); font-size: 14px; }
.worry h3, .reports h3 { margin: 0; font-size: 1.05rem; }
.worry h3 a, .reports h3 a { text-decoration: none; }
.worry h3 a:hover, .reports h3 a:hover { color: var(--live); }
.worry p, .reports p { margin: 0; color: var(--muted); font-size: 14px; }
.worry .chains, .worry .snip { font-size: 13px; }
.worry .more { color: var(--live); }
.reports .byline { color: var(--faint); font-size: 12px; }
.reports .meta { color: var(--live); font-size: 12px; }
.section-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.section-head a { color: var(--live); }
.intel-list { display: grid; gap: 12px; }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; padding: 0; list-style: none; }
.trust li { margin: 0; padding: 14px; border: 2px solid var(--line); background: var(--panel); }
.soon a {
  height: 36px;
  margin-top: auto;
  align-self: flex-start;
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 4px 4px 0 #10261a;
  font-size: 12px;
}

.principles { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; }
.sign { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; }
.sign span:last-child { display: block; margin-top: 14px; font-size: 12px; letter-spacing: 0.18em; color: var(--live); }
.defs { margin: 0; display: grid; gap: 0; }
.defs div { padding: 12px 0; border-top: 2px solid var(--line); }
.defs dt { font-size: 13px; color: var(--cyan); }
.defs dd { margin: 4px 0 0; color: var(--muted); }
.defs a { color: var(--live); }

.journal { list-style: none; margin: 0; padding: 0; }
.journal li {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 2px solid var(--line);
}
.journal h3 { margin: 0; font-size: 1rem; }
.journal p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.idx { color: var(--live); font-size: 12px; }

.wallets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.wallet {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border: 2px solid var(--line);
  text-decoration: none;
  background: var(--panel);
  min-height: 120px;
}
.wallet:hover { border-color: var(--cyan); transform: translate(-2px, -2px); }
.wallet strong { font-size: 14px; }
.wallet span { color: var(--muted); font-size: 13px; }
.wallet em { margin-top: auto; font-style: normal; font-size: 12px; color: var(--cyan); }
.fine { margin: 12px 0 0; color: var(--faint); font-size: 12px; max-width: 68ch; }

.site { border-top: 2px solid var(--line); padding: 22px 0 40px; color: var(--muted); font-size: 13px; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 14px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--live); }
.legal { margin: 8px 0 0; max-width: 52ch; color: var(--faint); font-size: 12px; }

.status { width: min(720px, calc(100% - 32px)); margin: 16vh auto; }
.status h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.status-links { display: flex; gap: 16px; }
.status-links a { color: var(--live); }

.frame { container-type: inline-size; }
@container (max-width: 780px) {
  .hero-grid { grid-template-columns: 1fr; }
  .example { border-left: 0; padding-left: 0; border-top: 2px solid var(--line); padding-top: 16px; }
}

@media (max-width: 900px) {
  .hero-grid, .worry-grid, .reports, .trust, .wallets { grid-template-columns: 1fr; }
  .example { border-left: 0; padding-left: 0; border-top: 2px solid var(--line); padding-top: 16px; }
  .lookup-row { flex-direction: column; }
  .lookup button, .lookup select { width: 100%; }
  .frame { padding: 16px; box-shadow: 4px 4px 0 #10261a; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .wallets { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
