@font-face { font-family: Fellix; src: url(/_x/cdn.prod.website-files.com/68e3c26f7edb22bc9e5314b2/68e3d9bbd6eadbf8cc664074_Fellix-TRIAL-Light.ttf) format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: Fellix; src: url(/_x/cdn.prod.website-files.com/68e3c26f7edb22bc9e5314b2/68f0f5e5f2f06b2f0ce509cb_Fellix-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Fellix; src: url(/_x/cdn.prod.website-files.com/68e3c26f7edb22bc9e5314b2/68f0f5fa5af557d42b56cd1e_Fellix-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'PP Supply Sans'; src: url(/_x/cdn.prod.website-files.com/68e3c26f7edb22bc9e5314b2/68e3d9a98f52b3d10d4c44a8_PPSupplySans-Regular.ttf) format('truetype'); font-display: swap; }

:root { --bg: #000; --ink: #fff; --dim: #8b8f9c; --line: rgba(255,255,255,.12); --navy: #060a1a; --accent: #8898e7; --ok: #9fd7b0; --bad: #f19a9a; }
* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); color: var(--ink); scroll-behavior: smooth; }
body { font-family: Fellix, system-ui, sans-serif; font-weight: 400; background: var(--bg); min-height: 100vh; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.mono { font-family: 'PP Supply Sans', ui-monospace, monospace; text-transform: uppercase; letter-spacing: .14em; font-size: 10.5px; }
.small { font-size: 10px; }
.muted { color: var(--dim); font-size: 15px; line-height: 1.5; }
button { font: inherit; cursor: pointer; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px 28px; background: rgba(0,0,0,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; letter-spacing: -.01em; }
.links { display: flex; gap: 22px; margin-left: 18px; }
.links a { text-decoration: none; color: var(--dim); font-size: 14px; } .links a:hover { color: var(--ink); }
.right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.chip { font-family: 'PP Supply Sans', monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 12px; border: 1px solid var(--line); white-space: nowrap; }
.chip b { font-weight: 400; color: var(--accent); }
.btn { border: 1px solid var(--ink); padding: 11px 16px; font-size: 14px; background: transparent; color: var(--ink); white-space: nowrap; }
.btn.white { background: var(--ink); color: #000; } .btn.white:hover { background: #dfe4fb; border-color: #dfe4fb; }
.btn.line:hover { background: rgba(255,255,255,.08); }
.btn.wide { width: 100%; padding: 15px; font-size: 15px; margin-top: 18px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); min-height: 470px; display: flex; align-items: flex-end; }
.hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), #000 96%); }
.hero-in { position: relative; z-index: 1; padding: 64px 28px 40px; width: 100%; }
.label { color: var(--dim); display: flex; gap: 10px; flex-wrap: wrap; }
.label .sep { opacity: .4; }
.balance { font-weight: 300; font-size: clamp(56px, 11vw, 168px); letter-spacing: -.045em; line-height: .95; margin: 18px 0 30px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.balance .dec { color: #4d5262; }
.balance .unit { font-family: 'PP Supply Sans', monospace; font-size: 12px; letter-spacing: .16em; margin-left: 14px; color: var(--dim); vertical-align: top; position: relative; top: .6em; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 16px 16px 0 0; display: flex; flex-direction: column; gap: 8px; }
.facts > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.facts .mono { color: var(--dim); }
.facts b { font-weight: 400; font-size: 22px; font-variant-numeric: tabular-nums; }
.hero-note { margin-top: 26px; color: var(--dim); font-size: 15px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.panel { padding: 40px 28px 44px; display: flex; flex-direction: column; gap: 14px; }
.panel + .panel { border-left: 1px solid var(--line); background: var(--navy); }
.panel-head, .block-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 4px; }
.idx { color: var(--accent); }
h2 { font-weight: 300; font-size: 40px; letter-spacing: -.03em; }
.field { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.field > .mono { color: var(--dim); }
.inputrow { display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.35); }
.inputrow:focus-within { border-color: var(--ink); }
.inputrow input { flex: 1; min-width: 0; width: 100%; background: transparent; border: 0; outline: 0; color: var(--ink); font: 300 44px/1.2 Fellix, sans-serif; letter-spacing: -.03em; padding: 4px 0 8px; font-variant-numeric: tabular-nums; }
.inputrow .max { background: none; border: 1px solid var(--line); color: var(--ink); padding: 7px 9px; margin-right: 12px; }
.inputrow .max:hover { border-color: var(--ink); }
.inputrow .unit { color: var(--dim); }
.row { display: flex; justify-content: space-between; gap: 12px; color: var(--dim); padding: 2px 0; }
.row > :last-child { color: var(--ink); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 62%; }
.row a { text-decoration: none; border-bottom: 1px solid var(--line); }
.ack { display: flex; gap: 10px; align-items: flex-start; color: var(--dim); font-size: 13px; line-height: 1.45; margin-top: 8px; cursor: pointer; }
.ack input { margin-top: 3px; accent-color: #fff; }
.status { min-height: 20px; font-size: 14px; color: var(--dim); line-height: 1.45; word-break: break-word; }
.status.ok { color: var(--ok); } .status.bad { color: var(--bad); }
.status a { color: inherit; }

.block { padding: 48px 28px; border-bottom: 1px solid var(--line); }
.table { margin-top: 22px; border-top: 1px solid var(--line); }
.tr { display: grid; grid-template-columns: 130px 1fr 170px 140px 150px; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: center; font-size: 15px; }
.tr .mono { color: var(--dim); }
.tr .amt { font-variant-numeric: tabular-nums; }
.tr .amt.plus::before { content: '+'; color: var(--ok); margin-right: 2px; }
.tr .amt.minus::before { content: '\2212'; color: var(--dim); margin-right: 2px; }
.tr a { text-decoration: none; border-bottom: 1px solid var(--line); font-family: 'PP Supply Sans', monospace; font-size: 11px; letter-spacing: .06em; }
.pill { font-family: 'PP Supply Sans', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px; border: 1px solid var(--line); justify-self: start; }
.pill.paid, .pill.credited { color: var(--ok); border-color: rgba(159,215,176,.35); }
.pill.pending { color: var(--accent); border-color: rgba(136,152,231,.4); }
.pill.rejected { color: var(--bad); border-color: rgba(241,154,154,.35); }
.empty { padding: 26px 0; color: var(--dim); }

.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 22px; }
.term { padding: 26px 26px 30px 0; border-bottom: 1px solid var(--line); }
.term:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.term h3 { font-weight: 400; font-size: 20px; letter-spacing: -.01em; margin-bottom: 10px; }
.term p { color: var(--dim); font-size: 15px; line-height: 1.55; }
.treasury { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; background: var(--navy); border: 1px solid var(--line); }
.treasury > div { padding: 20px; display: flex; flex-direction: column; gap: 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.treasury > div:nth-child(3n) { border-right: 0; }
.treasury > div:nth-last-child(-n+3) { border-bottom: 0; }
.treasury .mono { color: var(--dim); }
.treasury b { font-weight: 400; font-size: 22px; font-variant-numeric: tabular-nums; }
.treasury a { font-family: 'PP Supply Sans', monospace; font-size: 12px; letter-spacing: .04em; text-decoration: none; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; justify-self: start; align-self: flex-start; }

.adminkey { display: flex; gap: 10px; margin-top: 18px; max-width: 520px; }
.adminkey input { flex: 1; background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 11px 12px; font: 14px Fellix, sans-serif; }
.admin .tr { grid-template-columns: 60px 1fr 140px 130px 1.2fr; }
.admin .tr input { width: 100%; background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 8px; font: 12px 'PP Supply Sans', monospace; }
.admin .acts { display: flex; gap: 6px; }
.admin .acts .btn { padding: 8px 10px; font-size: 12px; }

.foot { display: flex; gap: 24px; padding: 26px 28px 40px; color: var(--dim); }
.foot a { text-decoration: none; margin-left: auto; }

.modal { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-in { background: #05070f; border: 1px solid var(--line); width: 100%; max-width: 420px; padding: 26px; }
.modal-in .panel-head { justify-content: space-between; margin-bottom: 16px; }
.modal-in h2 { font-size: 28px; }
.x { background: none; border: 0; color: var(--dim); }
.wopt { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 0; background: none; border: 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 17px; text-align: left; }
.wopt:hover { color: var(--accent); }
.wopt .mono { color: var(--dim); }
.wopt[disabled] { opacity: .5; cursor: default; }

@media (max-width: 900px) {
  .links { display: none; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .panel { min-width: 0; }
  .panel + .panel { border-left: 0; border-top: 1px solid var(--line); }
  .terms, .treasury { grid-template-columns: 1fr; }
  .term, .term:not(:nth-child(3n+1)) { padding: 22px 0; border-left: 0; }
  .treasury > div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .treasury > div:last-child { border-bottom: 0 !important; }
  .tr { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .tr > :nth-child(3) { grid-column: 1; } .tr > :nth-child(4) { grid-column: 2; justify-self: end; } .tr > :nth-child(5) { grid-column: 1 / -1; }
  .admin .tr { grid-template-columns: 1fr auto; }
}
@media (max-width: 600px) {
  .top { padding: 12px 16px; gap: 10px; }
  .logo span { display: none; }
  .chip { padding: 9px 9px; letter-spacing: .08em; }
  .btn { padding: 10px 12px; font-size: 13px; }
  .hero { min-height: 420px; }
  .hero-in, .panel, .block { padding-left: 16px; padding-right: 16px; }
  .balance { font-size: clamp(40px, 15vw, 64px); }
  .balance .unit { display: block; margin: 12px 0 0; top: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div { padding-bottom: 14px; }
  .facts b { font-size: 18px; }
  h2 { font-size: 32px; }
  .inputrow input { font-size: 34px; }
  .foot { padding: 22px 16px 34px; flex-wrap: wrap; gap: 14px; }
}
