
  @font-face {
    font-family: "Nexa ExtraLight";
    src: url("Nexa-ExtraLight.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: "Nexa Heavy";
    src: url("Nexa-Heavy.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
  }

  :root {
    /* ACE palette, drawn from Superstables: charcoal and electric lime. */
    color-scheme: dark;
    --bg:        #0a0c0e;
    --bg-alt:    #111417;
    --panel:     #111417;
    --panel-2:   #171b1f;
    --line:      #2b333a;
    --line-soft: #1f252b;
    --text:      #e9ede6;
    --dim:       #98a39a;
    --muted:     #98a39a;
    --lime:      #cbff00;
    --accent:    #cbff00;
    --accent-hover: #d9ff3d;
    --accent-soft: #1d2410;
    --ink:       #0a0c0e;
    --red:       #ff7a6b;
    --amber:     #e5bb65;

    --sans: "Nexa ExtraLight", Arial, sans-serif;
    --display: "Nexa Heavy", Arial, sans-serif;
    --serif: var(--sans);
    --mono: var(--sans);
    --max: 1280px;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  /* class-level `display` would otherwise beat the UA rule for [hidden] */
  [hidden] { display: none !important; }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 100;
    font-synthesis: none;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }

  /* ---------------------------------------------------------- primitives */
  .shell { max-width: var(--max); margin: 0 auto; border-left: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); }
  .pad { padding: 0 clamp(16px, 3.4vw, 40px); }
  section { border-bottom: 1px solid var(--line-soft); }

  button, input, select, textarea, code, pre, kbd, samp { font-family: var(--sans); font-weight: 100; }
  b, strong { font-weight: inherit; }
  h1, h2, h3, h4, h5, h6 { font-family: var(--display); font-weight: 900; letter-spacing: -.01em; }
  h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.04; margin: 0 0 20px; }
  h2 { font-size: clamp(27px, 3.5vw, 42px); line-height: 1.1; margin: 0; }
  h3 { font-size: 17px; line-height: 1.3; margin: 0 0 8px; }
  em { font-style: italic; color: var(--dim); }
  h1 em, h2 em { color: inherit; }

  a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
  a:hover { border-color: var(--lime); color: var(--lime); }

  /* micro label:  [] SECTION NAME */
  .tag {
    display: flex; align-items: center; gap: 8px;
    font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 18px;
  }
  .tag::before { content: ""; width: 5px; height: 5px; background: var(--lime); flex: none; }
  .tag .sep { color: var(--line); }

  .lede { color: var(--dim); font-size: 12.5px; max-width: 46ch; }
  .muted { color: var(--muted); }

  /* two-column section header: heading left, note right */
  .head { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 40px; align-items: end; padding: clamp(48px,6vw,84px) 0 34px; }
  @media (max-width: 860px) { .head { grid-template-columns: 1fr; gap: 20px; align-items: start; } }

  /* ------------------------------------------------------------- buttons */
  .btn {
    font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    padding: 11px 18px; border: 1px solid var(--line); background: transparent; color: var(--text);
    cursor: pointer; transition: .16s; display: inline-flex; align-items: center; gap: 9px; line-height: 1; white-space: nowrap;
  }
  .btn:hover:not(:disabled) { border-color: var(--lime); color: var(--lime); }
  .btn:disabled { opacity: .35; cursor: not-allowed; }
  .btn-solid { background: var(--lime); border-color: var(--lime); color: var(--ink); font-weight: 100; }
  .btn-solid:hover:not(:disabled) { background: #d4ff4d; border-color: #d4ff4d; color: var(--ink); }
  .btn-block { width: 100%; justify-content: center; }
  .btn .dot-sq { width: 5px; height: 5px; background: currentColor; flex: none; }

  /* ----------------------------------------------------------------- nav */
  .nav {
    position: sticky; top: 0; z-index: 40;
    background: rgba(10,10,12,.86); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-in { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 54px; flex-wrap: wrap; }
  .brand { display: flex; align-items: center; gap: 10px; }
  .brand img { width: 22px; height: 22px; display: block; image-rendering: pixelated; }
  .brand b { font-size: 12px; letter-spacing: .26em; font-weight: 100; }
  .nav-links { display: flex; gap: 26px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
  .nav-links a { border: 0; }
  .nav-links a:hover { color: var(--lime); }
  .nav-right { display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; margin-left: auto; }
  .nav-ca-actions { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }
  .nav-socials { display: flex; align-items: center; gap: 6px; flex: none; }
  .nav-social-link {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 40px; height: 40px; border: 1px solid var(--line); background: transparent;
    color: var(--lime); font-size: 22px; line-height: 1; text-decoration: none;
  }
  .nav-social-link img { display: block; width: 32px; height: 32px; object-fit: contain; }
  .nav-social-link:hover { border-color: var(--lime); background: var(--panel); }
  .nav-social-link:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
  .token-ca-wrap { position: relative; flex: 0 1 auto; min-width: 0; max-width: 100%; }
  .token-ca {
    display: inline-block; min-height: 36px; max-width: 100%; text-align: left;
    padding: 7px 10px; border: 1px solid var(--line); background: transparent;
    color: var(--lime); font: 12px var(--mono); letter-spacing: .02em;
    white-space: normal; overflow-wrap: anywhere; cursor: pointer;
  }
  .token-ca:disabled { color: var(--muted); cursor: default; }
  .token-ca:hover:not(:disabled) { border-color: var(--lime); }
  .token-ca:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
  .token-ca-status {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 1;
    padding: 8px 12px; border: 1px solid var(--line); background: var(--panel);
    color: var(--lime); font-size: 12px; width: max-content;
    max-width: min(300px, calc(100vw - 32px)); overflow-wrap: anywhere; user-select: text;
  }
  .token-ca-status:empty { display: none; }
  .token-ca-status.is-error { color: var(--text); }
  @media (max-width: 900px) { .nav-links { display: none; } }
  @media (max-width: 560px) {
    .nav-in { gap: 8px; height: auto; min-height: 54px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
    .nav-right { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; max-width: 100%; }
    /* network is repeated in the footer, so drop the pill when space is tight */
    .nav-right .pill { display: none; }
    .nav-right .btn { padding: 9px 11px; letter-spacing: .08em; }
  }

  .pill {
    display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line);
    padding: 7px 12px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
  }
  .dot { width: 5px; height: 5px; background: var(--muted); flex: none; }
  .dot.ok { background: var(--lime); box-shadow: 0 0 7px rgba(200,245,60,.7); }
  .dot.bad { background: var(--red); }

  /* --------------------------------------------------------------- hero */
  .hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.92fr); }
  .hero-l { padding: clamp(46px,6vw,78px) clamp(16px,3.4vw,40px) clamp(30px,4vw,46px); }
  .hero-r { border-left: 1px solid var(--line-soft); padding: clamp(22px,2.6vw,30px) clamp(16px,2.6vw,30px); background: var(--bg-alt); }
  @media (max-width: 940px) { .hero { grid-template-columns: 1fr; } .hero-r { border-left: 0; border-top: 1px solid var(--line-soft); } }

  .hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }

  .stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 38px; border: 1px solid var(--line); }
  .stats > div { padding: 14px 16px; border-right: 1px solid var(--line); }
  .stats > div:last-child { border-right: 0; }
  .stats .k { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
  .stats .v { font-size: 20px; margin-top: 4px; letter-spacing: -.02em; }

  /* the live console panel */
  .console { border: 1px solid var(--line); background: var(--panel); }
  .con-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
  .con-body { padding: 22px 18px 18px; text-align: center; border-bottom: 1px solid var(--line); }
  .clock { font-size: clamp(40px,6.6vw,60px); line-height: 1; letter-spacing: -.03em; }
  .clock.urgent { color: var(--amber); }
  .clock.drawing { color: var(--lime); font-size: clamp(24px,3.4vw,34px); letter-spacing: .06em; }
  .clock-label { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
  .clock-sub { font-size: 11px; color: var(--muted); margin-top: 10px; }

  .bar { height: 2px; background: var(--line); overflow: hidden; }
  .bar > i { display: block; height: 100%; width: 0; background: var(--lime); transition: width .9s linear; }

  .con-rows > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--line-soft); font-size: 11.5px; }
  .con-rows > div:last-child { border-bottom: 0; }
  .con-rows .k { color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-size: 9.5px; align-self: center; }

  .potline { display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 16px 0 4px; }
  .potline .v { font-size: clamp(30px,4.4vw,40px); letter-spacing: -.03em; color: var(--lime); }
  .potline .u { font-size: 11px; letter-spacing: .18em; color: var(--muted); }

  /* --------------------------------------------------------------- grid */
  .cards { display: grid; gap: 12px; padding-bottom: clamp(48px,6vw,80px); }
  .c4 { grid-template-columns: repeat(4, 1fr); }
  .c3 { grid-template-columns: repeat(3, 1fr); }
  @media (max-width: 1000px) { .c4 { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 820px) { .c3 { grid-template-columns: 1fr; } }
  @media (max-width: 560px) { .c4 { grid-template-columns: 1fr; } }

  .card { border: 1px solid var(--line); background: var(--panel); padding: 20px; display: flex; flex-direction: column; }
  .card .step { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
  .card p { color: var(--dim); font-size: 12px; margin: 0; flex: 1; }
  .card .meta { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; }

  .kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 12px; }
  .kv .k { color: var(--muted); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; align-self: center; }

  .big { font-size: 30px; letter-spacing: -.03em; line-height: 1.1; }
  .big .u { font-size: 11px; letter-spacing: .18em; color: var(--muted); margin-left: 7px; }

  .field { display: flex; gap: 8px; margin-bottom: 12px; }
  input[type=number] {
    font-family: var(--mono); font-size: 13px; background: var(--bg); color: var(--text);
    border: 1px solid var(--line); padding: 10px 12px; width: 84px;
  }
  input:focus { outline: none; border-color: var(--lime); }

  /* ---------------------------------------------------------- log table */
  .log { border: 1px solid var(--line); background: var(--panel); margin-bottom: clamp(48px,6vw,80px); }
  .log-head, .log-row { display: grid; grid-template-columns: 80px 1fr 70px 130px; gap: 14px; padding: 11px 18px; align-items: center; }
  .log-head { border-bottom: 1px solid var(--line); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
  .log-row { border-bottom: 1px solid var(--line-soft); font-size: 12px; }
  .log-row:last-child { border-bottom: 0; }
  .log-row:hover { background: var(--panel-2); }
  .log-row .amt { text-align: right; color: var(--lime); }
  .log-row .who { color: var(--dim); overflow: hidden; text-overflow: ellipsis; }
  .log-row .who a { border: 0; }
  .log-empty { padding: 28px 18px; text-align: center; color: var(--muted); font-size: 12px; }
  @media (max-width: 620px) { .log-head, .log-row { grid-template-columns: 46px 1fr 92px; gap: 8px; padding: 11px 12px; font-size: 11px; } .log-head span:nth-child(3), .log-row .share { display: none; } }

  /* --------------------------------------------------------- manifesto */
  .manifesto { background: var(--bg-alt); text-align: center; padding: clamp(64px,9vw,120px) 20px; }
  .manifesto p { font-family: var(--serif); font-size: clamp(21px,2.9vw,33px); line-height: 1.34; margin: 0 auto 26px; max-width: 34ch; }
  .manifesto p:last-child { margin-bottom: 0; }
  .manifesto em { color: var(--muted); }

  /* --------------------------------------------------------------- cta */
  .cta-wrap { padding: clamp(48px,6vw,86px) clamp(16px,3.4vw,40px); }
  .cta { background: #f1f1ea; color: #0b0b0d; padding: clamp(40px,5vw,64px) 24px; text-align: center; }
  .cta h2 { color: #0b0b0d; margin-bottom: 14px; }
  .cta em { color: #55564e; }
  .cta p { color: #55564e; font-size: 12px; max-width: 52ch; margin: 0 auto 26px; }
  .cta .tag { justify-content: center; color: #86877e; }
  .cta .tag .sep { color: #c9cabf; }
  .cta .btn { border-color: rgba(0,0,0,.22); color: #0b0b0d; }
  .cta .btn:hover { border-color: #0b0b0d; background: rgba(0,0,0,.05); color: #0b0b0d; }
  .cta .btn-solid { background: #0b0b0d; border-color: #0b0b0d; color: var(--lime); }
  .cta .btn-solid:hover { background: #000; border-color: #000; color: var(--lime); }
  .cta-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

  /* ------------------------------------------------------------ footer */
  footer { padding: clamp(38px,4.4vw,56px) clamp(16px,3.4vw,40px) 30px; }
  .foot-grid { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(2, minmax(0,1fr)); gap: 30px; }
  @media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
  .foot-grid h4 { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 100; font-family: var(--mono); }
  .foot-grid ul { margin: 0; padding: 0; }
  .foot-grid li { list-style: none; font-size: 11.5px; color: var(--dim); margin-bottom: 7px; word-break: break-all; }
  .foot-note { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

  /* ------------------------------------------------------------ toast */
  .toast {
    position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 160%);
    background: var(--panel); border: 1px solid var(--line); padding: 13px 18px;
    font-size: 12px; max-width: min(560px, 92vw); transition: transform .24s ease; z-index: 60;
  }
  .toast.show { transform: translate(-50%, 0); }
  .toast.err { border-color: var(--red); }
  .toast.ok { border-color: var(--lime); }

  .tick { font-size: .5em; letter-spacing: .16em; color: var(--muted); }
  .stats .v .tick { font-size: 10px; }
  b.ok { color: var(--lime); }
  b.off { color: var(--muted); }

  .banner { border: 1px solid rgba(245,197,60,.32); background: rgba(245,197,60,.06); color: var(--amber); padding: 11px 16px; font-size: 11.5px; margin-top: 16px; }

.nav-links a[aria-current="page"] { color: var(--lime); border-bottom: 1px solid currentColor; }
