:root {
  --bg: #0e0d0c; --panel: #151413; --panel2: #1b1a18; --line: rgba(255, 255, 255, .09); --line2: rgba(255, 255, 255, .16);
  --ink: #f2eee9; --dim: #a39d96; --mute: #77716b; --white: #fff;
  --good: #d8d4ce; --bad: #e0896f; --warn: #d4a373;
  --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-in: cubic-bezier(.7, 0, .84, 0); --spring: cubic-bezier(.34, 1.56, .64, 1);
  --sans: 'Host Grotesk', ui-sans-serif, system-ui, sans-serif; --serif: 'Young Serif', Georgia, serif; --mono: 'Geist Mono', ui-monospace, monospace;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--ink); }
code, .mono { font-family: var(--mono); font-size: .86em; word-break: break-all; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
main { flex: 1; padding-bottom: 56px; }
.muted { color: var(--dim); }
.teal { color: var(--white); }
.ok { color: var(--good); font-weight: 500; }
.bad { color: var(--bad); font-weight: 500; }
em { font-style: normal; background: linear-gradient(180deg, #ffffff 10%, #8f8a84 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
body:not([data-view="board"]) .home-only { display: none; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(14, 13, 12, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top__in { max-width: var(--max); margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font: 22px/1 var(--serif); letter-spacing: -.02em; color: var(--white); }
.brand img { filter: invert(1); }
.nav { display: flex; gap: 2px; margin: 0 auto; }
.nav a { color: var(--dim); text-decoration: none; font-size: 14px; padding: 6px 11px; border-radius: 8px; transition: color .2s var(--ease-out), background .2s var(--ease-out); }
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, .05); }
.nav a.on { color: var(--white); }
.top__r { display: flex; align-items: center; gap: 10px; }
.ca { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 3px 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.ca__l { font: 500 11px var(--mono); color: var(--mute); }
.ca__v { font: 12px var(--mono); color: var(--dim); max-width: 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; word-break: normal; }
.ca__copy { height: 28px; padding: 0 9px; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .08); color: var(--ink); font: 12px var(--sans); cursor: pointer; }
.ca__copy:disabled { opacity: .4; cursor: not-allowed; }
.xbtn { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); transition: border-color .2s var(--ease-out), background .2s var(--ease-out), transform .35s var(--spring); }
.xbtn svg { width: 14px; height: 14px; }
.xbtn:hover { border-color: var(--line2); background: var(--panel2); }
.xbtn:active { transform: scale(.95); }

/* buttons */
.btn { appearance: none; border: 1px solid var(--line2); background: var(--panel); color: var(--ink); font: 500 14px var(--sans); height: 38px; padding: 0 16px; border-radius: 8px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: transform .35s var(--spring), background .2s var(--ease-out), border-color .2s var(--ease-out); }
.btn:hover { background: var(--panel2); border-color: rgba(255, 255, 255, .28); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn-dark, .btn-accent { background: var(--white); color: #0e0d0c; border-color: var(--white); }
.btn-dark:hover, .btn-accent:hover { background: #e6e2dd; border-color: #e6e2dd; }
.btn-wallet { font-family: var(--mono); font-size: 13px; }
.btn.big { height: 46px; padding: 0 24px; font-size: 15px; }

/* hero */
.hero { max-width: var(--max); width: 100%; margin: 0 auto; padding: 36px 20px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 9px; height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--dim); font-size: 13px; text-decoration: none; transition: border-color .2s; }
.kicker:hover { border-color: var(--line2); color: var(--ink); }
.kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
.hero h1 { font: 400 clamp(36px, 2.6vw + 18px, 54px)/1.06 var(--serif); letter-spacing: -.02em; margin: 22px 0 18px; color: var(--white); }
.hero__sub { color: var(--dim); font-size: 16.5px; max-width: 46ch; margin: 0; }
.hero__cta { display: flex; gap: 8px; margin-top: 28px; }
.stats { display: flex; gap: 44px; margin: 38px 0 0; }
.stats dt { font: 12px var(--mono); color: var(--mute); }
.stats dd { margin: 4px 0 0; font: 500 13px var(--mono); color: var(--ink); }

/* verify terminal */
.term { border: 1px solid var(--line); border-radius: 6px; background: #0a0908; font: 12px/1.7 var(--mono); overflow: hidden; min-width: 0; }
.term__bar { display: flex; justify-content: space-between; gap: 12px; padding: 7px 12px; border-bottom: 1px solid var(--line); color: var(--mute); font-size: 11px; }
.term__body { padding: 14px 14px 16px; min-height: 360px; }
.term__body p { margin: 0; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.t-dim { color: var(--mute); }
.t-hi { color: var(--white); }
.t-prompt { color: #cfcac4; }
.t-ok { color: #0e0d0c; background: var(--white); padding: 0 4px; border-radius: 2px; }
.t-gap { height: 10px; }
.t-rule { border-top: 1px dashed var(--line2); margin: 10px 0; }
.chain { display: flex; align-items: center; gap: 10px; }
.chain .lbl { color: var(--mute); width: 64px; flex: none; }
.chain .sq { display: flex; gap: 2px; }
.chain .sq b { width: 8px; height: 8px; background: rgba(255, 255, 255, .1); border-radius: 1px; transition: background .25s var(--ease-out); }
.chain .sq b.sig { background: rgba(255, 255, 255, .32); }
.chain .sq b.walk { background: #bdb8b2; }
.chain .sq b.end { background: var(--white); }
.chain .hx { margin-left: auto; color: var(--dim); }
.cursor { display: inline-block; width: 7px; height: 13px; background: var(--white); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* board */
.board { padding-top: 8px; }
.board-tabs { display: flex; align-items: baseline; gap: 26px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.board-tabs a { font: 400 26px var(--serif); color: var(--mute); text-decoration: none; padding: 0 0 12px; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s; }
.board-tabs a:hover { color: var(--dim); }
.board-tabs a.on { color: var(--white); border-color: var(--white); }
.board-tabs a b { font: 500 11px var(--mono); vertical-align: 6px; margin-left: 4px; color: var(--mute); }
.board-tabs .right { margin-left: auto; font-size: 12px; color: var(--mute); }
.board-tools { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.search { flex: 1; min-width: 220px; position: relative; }
.search input { padding-left: 34px; height: 38px; }
.search svg { position: absolute; left: 11px; top: 11px; width: 15px; height: 15px; color: var(--mute); }
.live { font: 12px var(--mono); color: var(--dim); display: inline-flex; align-items: center; gap: 6px; }
.live i { width: 6px; height: 6px; border-radius: 1px; background: var(--white); animation: blink 2s steps(1) infinite; }
.seg2 { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.seg2 a, .seg2 button { appearance: none; border: 0; background: none; cursor: pointer; font: 13px var(--sans); color: var(--dim); text-decoration: none; padding: 5px 11px; border-radius: 6px; }
.seg2 a.on, .seg2 button.on { background: var(--white); color: #0e0d0c; }
.note { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; color: var(--dim); margin: 0 0 18px; font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 16px; color: inherit; text-decoration: none; transition: border-color .25s var(--ease-out), transform .45s var(--ease-out); }
.card:hover { border-color: rgba(255, 255, 255, .26); transform: translateY(-2px); }
.card-h { display: flex; gap: 12px; align-items: flex-start; }
.av { flex: none; width: 46px; height: 46px; border-radius: 6px; display: grid; place-items: center; font: 400 17px var(--serif); color: #0e0d0c; background: linear-gradient(160deg, #ffffff, #8f8a84); }
.av { overflow: hidden; }
.av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av.has-img { background: #1b1a18; }
.coin-h { display: flex; align-items: center; gap: 14px; }
.av-lg { width: 56px; height: 56px; font-size: 20px; border-radius: 8px; flex: none; }
.card h3 { font: 600 15.5px var(--sans); margin: 0; letter-spacing: -.01em; }
.card-h .tick { display: block; font: 13px var(--sans); color: var(--dim); margin-top: 1px; }
.card-h .sub { display: block; font: 12px var(--mono); color: var(--mute); margin-top: 3px; }
.card-h .pill { margin-left: auto; }
.tick { font: 500 .62em var(--mono); color: var(--dim); vertical-align: middle; }
.digest { border: 1px solid var(--line); border-radius: 4px; padding: 8px 9px 9px; background: #0f0e0d; }
.digest .dg-h { display: flex; justify-content: space-between; font: 11px var(--mono); color: var(--mute); margin-bottom: 6px; }
.digest .dg { display: grid; grid-template-columns: repeat(32, 1fr); gap: 2px; }
.digest .dg b { aspect-ratio: 1; border-radius: 1px; }
.ids { display: flex; gap: 10px; flex-wrap: wrap; font: 12px var(--mono); color: var(--mute); }
.card-top { display: flex; gap: 6px; flex-wrap: wrap; }
.card-foot { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--dim); border-top: 1px solid var(--line); padding-top: 10px; margin-top: auto; }
.card-foot b { color: var(--ink); font-weight: 500; }
.empty-card { grid-column: 1 / -1; border: 1px dashed var(--line2); border-radius: 6px; padding: 40px; text-align: center; color: var(--dim); }
.empty-card a { color: var(--white); }
.fine { font-size: 12.5px; color: var(--mute); margin: 12px 0 0; }
.fine a { color: var(--dim); }
.board > .fine { margin-top: 22px; }

/* pills */
.pill { font: 500 11px var(--mono); padding: 3px 7px; border-radius: 4px; background: rgba(255, 255, 255, .07); color: var(--dim); white-space: nowrap; letter-spacing: .02em; text-transform: uppercase; }
.pill a { color: inherit; }
.pill-live { background: var(--white); color: #0e0d0c; }
.pill-ready { background: #d8d4ce; color: #0e0d0c; }
.pill-launched { background: rgba(255, 255, 255, .14); color: var(--white); }
.pill-failed, .pill-cancelled { background: rgba(224, 137, 111, .14); color: var(--bad); }
.pill-warn { background: rgba(212, 163, 115, .16); color: var(--warn); }
.pill-bad { background: rgba(224, 137, 111, .16); color: var(--bad); }
.pill-ok { background: rgba(255, 255, 255, .12); color: var(--white); }

/* raise bar */
.bar { position: relative; height: 6px; background: rgba(255, 255, 255, .08); border-radius: 2px; }
.bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #77716b, #ffffff); border-radius: 2px; transition: width .8s var(--ease-out); }
.bar em { position: absolute; top: -3px; width: 2px; height: 12px; background: var(--warn); border-radius: 1px; }
.bar-legend { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--dim); margin-top: 6px; }
.bar-legend b { color: var(--ink); font-weight: 600; }

/* launch page */
h1 { font: 400 clamp(30px, 3.4vw, 46px)/1.08 var(--serif); letter-spacing: -.01em; margin: 0 0 12px; color: var(--white); }
h2 { font: 400 24px var(--serif); margin: 40px 0 14px; color: var(--white); }
.badge { display: inline-block; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.lede { color: var(--dim); font-size: 16px; max-width: 60ch; margin: 0; }
.back { display: inline-block; margin: 16px 0 12px; color: var(--dim); text-decoration: none; font-size: 14px; }
.back:hover { color: var(--white); }
.launch-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.launch-head h1 { margin-top: 12px; }
.launch-stats { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 16px; }
.launch-stats p { margin: 10px 0 0; font-size: 14px; color: var(--dim); }
.launch-stats p b { color: var(--ink); }
.launch-body { display: grid; grid-template-columns: 1fr 340px; gap: 18px; margin-top: 20px; align-items: start; }
.col-main { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.col-side { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 12px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 16px; min-width: 0; }
.panel h4 { font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 0 0 12px; }
.panel dl { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; margin: 0; font-size: 14px; }
.panel dt { color: var(--dim); }
.panel dd { margin: 0; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.panel a { color: var(--ink); }
.panel table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13px; }
.panel td { padding: 6px 0; border-top: 1px solid var(--line); }
.panel td:not(:first-child) { text-align: right; }
.panel.warn { border-color: rgba(212, 163, 115, .4); background: #1a1612; }
.panel.creator { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.act { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.creator .act { border: 0; padding: 0; width: 100%; background: none; }
.act p { margin: 0; font-size: 14px; color: var(--dim); }
.act p b { color: var(--ink); }
.act label { font-size: 13px; font-weight: 500; display: flex; justify-content: space-between; }
.row { display: flex; gap: 8px; }
input, select { font: 14.5px var(--sans); color: var(--ink); background: #0f0e0d; border: 1px solid var(--line2); border-radius: 8px; padding: 9px 11px; width: 100%; outline: none; transition: border-color .2s, box-shadow .2s; }
input::placeholder { color: var(--mute); }
input:focus, select:focus { border-color: rgba(255, 255, 255, .5); box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }
input[type=file] { padding: 7px; font-size: 13px; }
input[type=datetime-local] { color-scheme: dark; }

/* create */
.create .lede { margin-bottom: 22px; }
.create > .panel { margin-bottom: 14px; }
.big.mono { font-size: 15px; color: var(--white); margin: 0; }
.form fieldset { border: 1px solid var(--line); background: var(--panel); border-radius: 6px; padding: 16px; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.form legend { font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding: 0 6px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--dim); }
.form label.wide { grid-column: 1 / -1; }
.keystep { margin: 16px 0; }

/* protection section */
.how { max-width: var(--max); width: 100%; margin: 0 auto; padding: 24px 20px 72px; }
.how__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; border-top: 1px solid var(--line); padding-top: 40px; margin-bottom: 22px; }
.how__head h2 { margin: 0; font-size: clamp(26px, 2vw + 12px, 38px); max-width: 22ch; line-height: 1.1; }
.how__head p { margin: 0; color: var(--mute); font: 12.5px var(--mono); }
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.how__grid article { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 20px; }
.how__n { font: 12px var(--mono); color: var(--mute); }
.how__grid h3 { font: 400 21px var(--serif); margin: 10px 0 10px; color: var(--white); }
.how__grid p { margin: 0; color: var(--dim); font-size: 14.5px; }
.how__grid .fine { margin-top: 12px; }

/* empty and errors */
.empty { padding: 40px 20px; }
.empty p { color: var(--dim); max-width: 60ch; }

/* footer, toasts, busy */
.foot { display: flex; gap: 22px; flex-wrap: wrap; justify-content: space-between; max-width: var(--max); width: 100%; margin: 0 auto; padding: 22px 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mute); }
.foot a { color: var(--dim); }
.toasts { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 50; max-width: min(420px, calc(100vw - 40px)); }
.toast { background: var(--white); color: #0e0d0c; padding: 12px 15px; border-radius: 8px; font-size: 14px; opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease-in), transform .3s var(--ease-in); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .8); }
.toast.in { opacity: 1; transform: none; transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.toast.good { background: #d8d4ce; }
.toast.bad { background: #f0c2b2; }
.busy { position: fixed; left: 50%; top: 76px; transform: translate(-50%, -12px); background: var(--white); color: #0e0d0c; padding: 10px 18px; border-radius: 8px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease-in), transform .3s var(--ease-in); z-index: 40; }
.busy.in { opacity: 1; transform: translate(-50%, 0); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .launch-head, .launch-body, .col-main { grid-template-columns: 1fr; }
  .col-side { position: static; }
  .how__grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .top__r { margin-left: auto; }
}
@media (max-width: 600px) {
  .ca { display: none; }
  .stats { gap: 22px; flex-wrap: wrap; }
  .term__body { min-height: 0; font-size: 11px; }
  .board-tabs { gap: 16px; overflow-x: auto; }
  .board-tabs a { font-size: 21px; white-space: nowrap; }
  .board-tabs .right { display: none; }
  .how__head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
