:root {
  --bg: #060606; --panel: #0c0c0e; --line: #1d1f1b; --line-2: #2b2e27;
  /* the edge of a button: 3.7:1 or better on the cards (the line colours above are only the dividers) */
  --edge: #6b6f62;
  --text: #f4f5f0; --soft: #d3d6cb; --muted: #a4a898; --dim: #838878;
  --lime: #cdf714; --lime-faint: rgba(205, 247, 20, 0.08); --bad: #ff8a7a;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: 1.75rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { background: radial-gradient(70% 60% at 50% 0%, rgba(205,247,20,0.07), transparent 70%), var(--bg); color: var(--text); font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-wrap: break-word; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
h1, h2, p, dl, dd, dt { margin: 0; }
[hidden] { display: none !important; }
.top { border-bottom: 1px solid var(--line); background: rgba(6,6,6,0.8); }
/* (the header wraps instead of overflowing: a narrow screen or large text puts the links under the logo) */
.top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; min-height: 4rem; max-width: 68.75rem; margin: 0 auto; padding: 0.375rem var(--gutter); }
.brand { display: inline-flex; align-items: center; min-height: 2.75rem; }
.brand img { height: 1.5rem; width: auto; display: block; }
.top nav { display: flex; flex-wrap: wrap; gap: 0 0.25rem; margin-left: auto; font-size: 0.875rem; font-weight: 500; }
.top nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.625rem; color: #e6e8e0; }
.top nav a:hover { color: var(--lime); text-decoration: none; }
main { max-width: 40rem; margin: 0 auto; padding: 3rem var(--gutter) 3.75rem; }
.eyebrow { color: var(--soft); font-size: 0.75rem; font-weight: 500; font-stretch: 112%; letter-spacing: 0.46em; text-transform: uppercase; margin-bottom: 0.875rem; }
h1 { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(2rem, 6vw, 3rem); line-height: 1; }
h1 em { font-style: normal; color: var(--lime); }
.lede { color: var(--soft); margin-top: 0.875rem; font-size: 1.0625rem; }
.card { margin-top: 1.75rem; padding: 1.5rem; background: linear-gradient(180deg, #0f1011, #0b0c0d); border: 1px solid var(--line-2); border-radius: 0.875rem; }
.card + .card { margin-top: 1.125rem; }
.card h2 { font-size: 1.125rem; font-weight: 800; font-stretch: 108%; }
.card > p, .card .about { color: var(--muted); font-size: 0.9rem; margin-top: 0.375rem; }
.net-head { display: flex; align-items: center; gap: 0.875rem; }
.net-head h2 { min-width: 0; overflow-wrap: anywhere; }
.net-head img { width: 3.25rem; height: 3.25rem; border-radius: 50%; flex: none; display: block; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.125rem; padding: 0.375rem 1.375rem; border-radius: 0.5625rem; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; text-align: center; text-decoration: none; }
a.btn:hover { text-decoration: none; }
.btn-lime { background: var(--lime); color: #0a0a0a; }
.btn-lime:hover { box-shadow: 0 8px 30px rgba(205,247,20,0.35); }
.btn-line { border-color: var(--edge); color: var(--text); background: transparent; }
.btn-line:hover { border-color: var(--lime); }
/* held while the wallet has a request open: it keeps focus, a tap does nothing */
.btn[aria-disabled="true"] { opacity: 0.55; cursor: default; box-shadow: none; }
.add { margin-top: 1.125rem; }
.add .btn { width: 100%; }
.apps { display: grid; gap: 0.625rem; margin-top: 1rem; }
/* (the status line stays in the page when it is empty, so a screen reader already has it when the first message arrives) */
.msg { margin-top: 0.875rem; padding: 0.75rem 0.875rem; border-radius: 0.5625rem; font-size: 0.9rem; border: 1px solid var(--line-2); background: #0a0b0a; color: var(--soft); overflow-wrap: anywhere; }
.msg:empty { margin: 0; padding: 0; border: 0; }
.msg.ok { border-color: rgba(205,247,20,0.5); background: var(--lime-faint); color: var(--text); }
.msg.bad { border-color: rgba(255,138,122,0.5); color: #ffd6cf; }
.facts { margin-top: 1.25rem; border-top: 1px solid var(--line); }
.fact { padding: 0.6875rem 0; border-bottom: 1px solid var(--line); }
.fact dt { color: var(--dim); font-size: 0.78rem; }
.fact dd { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-width: 0; }
.fact .val { flex: 1 1 auto; min-width: 0; }
.fact code { font-family: var(--mono); font-size: 0.85rem; color: var(--text); overflow-wrap: anywhere; word-break: break-all; -webkit-user-select: all; user-select: all; }
.fact .hex { color: var(--dim); font-size: 0.78rem; margin-left: 0.375rem; }
.fact .hex code { color: var(--muted); font-size: 0.78rem; }
.copy { appearance: none; flex: none; min-width: 4.5rem; min-height: 2.75rem; padding: 0 0.875rem; border-radius: 0.5rem; border: 1px solid var(--edge); background: transparent; color: var(--text); font: inherit; font-size: 0.78rem; font-weight: 600; cursor: pointer; }
.copy:hover { border-color: var(--lime); }
.links { display: flex; flex-wrap: wrap; gap: 0 1.125rem; margin-top: 0.75rem; font-size: 0.875rem; }
.links a, .foot-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.note { color: var(--dim); font-size: 0.8125rem; margin-top: 0.875rem; }
.clip { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
footer { max-width: 40rem; margin: 0 auto; padding: 0 var(--gutter) 2.5rem; color: var(--dim); font-size: 0.78rem; }
footer p + p { margin-top: 0.375rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 1.125rem; }
@media (max-width: 560px) {
  :root { --gutter: 1.125rem; }
  main { padding-top: 2.125rem; }
  .card { padding: 1.125rem; }
}
@media (forced-colors: active) {
  .btn-lime { border-color: ButtonText; }
  .copy, .btn-line { border-color: ButtonText; }
}
