@font-face {
  font-family: system;
  src: local("Segoe UI");
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #101b1a;
  color: #eaf2ef;
  font:
    16px/1.6 system,
    system-ui,
    sans-serif;
  background-image: radial-gradient(
    ellipse at 85% 0,
    #18413777,
    transparent 55%
  );
}
a {
  color: #8fe1b1;
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  border: 1px solid #3c5751;
  border-radius: 9px;
  background: #20352f;
  color: #f1f7f3;
  padding: 10px 17px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
}
button:hover,
.button:hover {
  background: #2b4a3d;
  border-color: #91d6a3;
}
button.primary,
.button.primary {
  background: #b8f173;
  color: #152019;
  border-color: #b8f173;
  font-weight: 700;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button.danger {
  border-color: #be7777;
  color: #ffbebe;
}
.quiet {
  background: transparent;
}
input,
select,
textarea {
  border: 1px solid #4f6861;
  background: #101f1b;
  border-radius: 8px;
  color: #edf5f0;
  padding: 11px;
  width: 100%;
  max-width: 100%;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
input[type="file"] {
  padding: 15px;
  background: #162d24;
}
label {
  display: block;
  margin: 12px 0 6px;
  color: #d6e6de;
}
textarea {
  min-height: 130px;
  resize: vertical;
}
:focus-visible {
  outline: 3px solid #e8b86b;
  outline-offset: 4px;
}
header {
  max-width: 1300px;
  margin: auto;
  padding: 25px 30px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  border-bottom: 1px solid #2b4038;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  text-decoration: none;
  color: #f1f6f3;
  font-size: 24px;
  font-weight: 750;
  line-height: 1.2;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  color: #a1b6ad;
  margin-top: 5px;
}
.accent {
  color: #b8f173;
}
nav {
  display: flex;
  gap: 5px;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
}
nav a {
  font-size: 14px;
  color: #bacdc3;
  text-decoration: none;
  padding: 9px;
}
nav a[aria-current="page"] {
  color: #c8f49b;
  background: #25372b;
  border-radius: 8px;
}
main {
  max-width: 1180px;
  margin: auto;
  min-height: 72vh;
  padding: 48px 28px 75px;
}
h1,
h2,
h3 {
  line-height: 1.17;
  letter-spacing: -0.035em;
  font-weight: 650;
}
h1 {
  font-size: clamp(35px, 5.5vw, 68px);
  margin: 20px 0 23px;
  max-width: 850px;
}
h2 {
  font-size: 28px;
  margin: 0 0 16px;
}
h3 {
  font-size: 20px;
  margin: 0 0 12px;
}
p {
  color: #b7ccc0;
  max-width: 780px;
}
.eyebrow {
  font-size: 12px;
  color: #bae58b;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.hero {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 38px;
}
.hero p {
  font-size: 19px;
}
.seal {
  width: 210px;
  height: 210px;
  border: 1px solid #547f58;
  border-radius: 50%;
  margin: auto;
  display: grid;
  place-content: center;
  background: radial-gradient(circle, #53743c40, #203726);
  box-shadow: 0 0 80px #83c35a18;
}
.seal img {
  width: 118px;
  height: 118px;
}
.seal span {
  text-align: center;
  letter-spacing: 4px;
  font-size: 10px;
  margin-top: 12px;
  color: #b8d7b4;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  border: 1px solid #345047;
  border-radius: 16px;
  padding: 25px;
  background: #162720dc;
  margin-bottom: 20px;
  overflow: hidden;
}
.card.highlight {
  border-color: #7fac63;
  background: linear-gradient(145deg, #293d25, #172a22);
}
.tag {
  font-size: 11px;
  letter-spacing: 1px;
  border: 1px solid #586f55;
  padding: 4px 9px;
  border-radius: 20px;
  color: #c1e9a6;
  display: inline-block;
}
.tag.amber {
  color: #f4d18c;
  border-color: #8d733f;
}
.muted,
small {
  color: #a4bfb0;
  font-size: 13px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.result {
  border-left: 3px solid #b8f173;
  padding: 15px;
  background: #13231b;
  margin: 18px 0;
}
.hash,
code,
pre {
  font-family: Consolas, monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hash {
  display: block;
  color: #d1f5b6;
  padding: 12px;
  background: #0e1a15;
  border-radius: 7px;
}
pre {
  background: #0b1712;
  white-space: pre-wrap;
  padding: 18px;
  border-radius: 10px;
  max-height: 480px;
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
td,
th {
  padding: 12px 9px;
  border-bottom: 1px solid #3c5146;
  text-align: left;
  overflow-wrap: anywhere;
}
th {
  color: #c6debc;
}
.table-wrap {
  overflow: auto;
}
progress {
  width: 100%;
  height: 14px;
  accent-color: #b8f173;
}
details {
  border-top: 1px solid #3a5145;
  padding: 15px 0;
}
summary {
  cursor: pointer;
  color: #d2e8c4;
}
ul {
  padding-left: 20px;
  color: #b7ccc0;
}
.notice {
  color: #f4d18c;
  padding: 14px;
  border: 1px solid #7e6b43;
  border-radius: 8px;
  background: #302d1b;
}
#notice {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(680px, 94vw);
  background: #314d36;
  color: #f2ffe9;
  padding: 14px 22px;
  border: 1px solid #94c57b;
  border-radius: 12px;
  z-index: 100;
  box-shadow: 0 6px 40px #0009;
  white-space: pre-wrap;
}
dialog {
  background: #182b22;
  color: #edf5f0;
  border: 1px solid #779269;
  border-radius: 16px;
  max-width: 650px;
  width: 94%;
  max-height: 90vh;
  padding: 30px;
}
dialog::backdrop {
  background: #000b;
}
.close {
  float: right;
  font-size: 25px;
  padding: 0 10px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  background: #172a22;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 4px;
}
footer {
  border-top: 1px solid #304536;
  max-width: 1240px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: space-between;
  padding: 26px;
  color: #a8c0af;
  font-size: 12px;
}
.inline {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
.inline > * {
  flex: 1;
}
.banner {
  margin-bottom: 24px;
}
.steps {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: #a0bdab;
  margin: 18px 0;
}
.secret {
  color: #ffe1a0;
  user-select: all;
}
.hidden {
  display: none;
}
.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;
}
@media (max-width: 850px) {
  header {
    padding: 18px;
    gap: 14px;
  }
  nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .seal {
    display: none;
  }
  .grid.three {
    grid-template-columns: 1fr;
  }
  main {
    padding: 30px 18px 45px;
  }
  h1 {
    font-size: 42px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 20px;
  }
  .inline {
    display: block;
  }
  .steps {
    flex-wrap: wrap;
    gap: 12px;
  }
  header #language {
    margin-left: auto;
  }
  nav a {
    font-size: 13px;
    padding: 7px;
  }
  table {
    min-width: 470px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.wallet-dialog { width:min(520px,calc(100vw - 32px)); max-height:85dvh; overflow:auto; padding:24px; box-sizing:border-box; }
.wallet-dialog .button { display:inline-block; margin:6px 8px 6px 0; }
.wallet-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:10px; margin:16px 0; }
.wallet-consent { display:flex; align-items:flex-start; gap:10px; margin:16px 0; }
.wallet-consent input { width:auto; flex:0 0 auto; margin-top:4px; }
@media print {
  header,
  footer,
  button,
  input,
  nav,
  #notice {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
  .card {
    background: white;
    border: 1px solid #777;
  }
  p,
  small,
  .hash {
    color: black;
    background: white;
  }
  main {
    padding: 0;
  }
}
