/* staff · monochrome, lowercase, terminal. palette + rules in brand/STYLE.md */
@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/assets/fonts/geist-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/assets/fonts/geist-mono-500.woff2') format('woff2'); font-weight: 500 700; font-display: swap; }

:root {
  --page: #121212; --card: #1a1a1a; --line: #2a2a2a; --line-hi: #4a4740;
  --cream: #ede6d6; --muted: #8a857a; --green: #9be15d;
  --sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --gut: 40px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--page); color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--cream); font: 400 15px/1.6 var(--mono); text-transform: lowercase; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cream); }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; text-transform: lowercase; }
h1, h2, h3 { font-family: var(--sans); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 0; }
code, pre { font-family: var(--mono); }
p { margin: 0; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--page); padding: 8px 12px; border-radius: 4px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1px solid var(--cream); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }
[hidden] { display: none !important; }

/* dot + cursor: the only green on the page */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.dot.big { width: 14px; height: 14px; vertical-align: middle; margin-left: 6px; position: relative; top: -4px; }
.cursor { display: inline-block; width: 0.62em; height: 1.15em; background: var(--green); vertical-align: -0.2em; margin-left: 4px; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 4px; border: 1px solid var(--cream); font: 500 14px/1 var(--mono); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn.solid { background: var(--cream); color: var(--page); }
.btn.solid:hover { background: transparent; color: var(--cream); }
.btn.ghost { background: transparent; color: var(--cream); border-color: var(--line-hi); }
.btn.ghost:hover { border-color: var(--cream); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn.lg { height: 52px; padding: 0 24px; font-size: 15px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 32px; height: 96px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand span { font: 800 40px/1 var(--sans); letter-spacing: -0.05em; }
.brand.small span { font-size: 22px; }
.nav { display: flex; gap: 32px; margin-left: auto; color: var(--muted); font-size: 14px; }
.nav a:hover, .nav a[aria-current] { color: var(--cream); }
.actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.ca { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--cream); font-size: 13px; cursor: pointer; }
.ca:hover { border-color: var(--line-hi); }
.ca svg { color: var(--muted); }
.icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 4px; color: var(--cream); }
.icon:hover { border-color: var(--line-hi); }

/* hero */
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(40px, 4.1vw, 64px); }
.hero .sub { margin-top: 20px; max-width: 560px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.term { background: var(--card); border: 1px solid var(--line); border-radius: 6px; min-height: 230px; display: flex; flex-direction: column; }
.term-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.term-when { margin-left: auto; color: var(--muted); }
.term-body { padding: 22px 20px 26px; font-size: 15px; line-height: 1.85; flex: 1; }
.term-body .tl { color: var(--cream); white-space: pre-wrap; word-break: break-word; }
.term-body .tl.dim { color: var(--muted); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 6px; background: var(--card); }
.stats > div { display: flex; align-items: baseline; justify-content: center; gap: 14px; padding: 20px 28px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats b { font: 500 28px/1 var(--mono); letter-spacing: -0.02em; }
.stats span { color: var(--muted); font-size: 14px; }

/* sections */
.block { padding-top: 72px; }
.block h2 { font-size: clamp(34px, 3.4vw, 52px); margin-bottom: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; transition: border-color .15s; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; transition: border-color .15s; }
.steps li:hover { border-color: var(--line-hi); }
.steps .n { color: var(--muted); font-size: 13px; }
.steps h3 { font-size: 24px; padding-top: 22px; }
.steps p { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* roster */
.roster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.roster .empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 56px 24px; text-align: center; }
.roster .empty img { width: 64px; height: 64px; }
.emp { display: flex; flex-direction: column; gap: 16px; padding: 20px; animation: rise .4s ease both; }
.emp:hover { border-color: var(--line-hi); }
.emp-top { display: flex; align-items: center; gap: 14px; }
.emp-top img, .emp-top .ph { width: 48px; height: 48px; border-radius: 4px; object-fit: cover; background: #222; border: 1px solid var(--line); }
.emp-top .ph { display: grid; place-items: center; color: var(--muted); font-size: 18px; }
.emp-name { min-width: 0; }
.emp-name b { display: block; font: 800 22px/1.1 var(--sans); letter-spacing: -0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.emp-name span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; margin-top: 4px; }
.emp-mcap { margin-left: auto; text-align: right; font-size: 13px; }
.emp-mcap small { display: block; color: var(--muted); font-size: 11px; }
.emp-line { font-size: 13px; color: var(--cream); border-top: 1px solid var(--line); padding-top: 14px; min-height: 52px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.emp-line.dim { color: var(--muted); }
.emp-foot { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* hire */
.hire { display: flex; gap: 12px; padding: 14px; align-items: center; }
.field { flex: 1; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--page); }
.field span { color: var(--muted); }
.field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 15px; text-transform: none; }
#ca-text, #connect, .mint a { text-transform: none; }
.field input::placeholder { color: var(--muted); text-transform: lowercase; }
.field:focus-within { border-color: var(--line-hi); }
.hire .btn { height: 52px; }
.hire-out { margin-top: 16px; }
.hire-out:empty { display: none; }
.coin { display: flex; align-items: center; gap: 18px; padding: 20px; flex-wrap: wrap; animation: rise .3s ease both; }
.coin img, .coin .ph { width: 64px; height: 64px; border-radius: 4px; object-fit: cover; border: 1px solid var(--line); background: #222; }
.coin .ph { display: grid; place-items: center; color: var(--muted); }
.coin-meta b { display: block; font: 800 26px/1.1 var(--sans); letter-spacing: -0.03em; }
.coin-meta span { color: var(--muted); font-size: 13px; }
.coin-go { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.coin-go small { color: var(--muted); font-size: 12px; }
.msg { padding: 16px 20px; font-size: 14px; }
.msg.err { color: var(--cream); border-color: var(--line-hi); }
.msg a { text-decoration: underline; text-underline-offset: 3px; }

/* feed strip */
.feedbar { display: grid; grid-template-columns: 1fr 1fr auto; border: 1px solid var(--line); border-radius: 6px; background: var(--card); font-size: 14px; }
.feedbar > * { padding: 22px 24px; overflow-wrap: anywhere; }
.feedbar > * + * { border-left: 1px solid var(--line); }
.feedbar a { color: var(--cream); white-space: nowrap; }
.feedbar a:hover { color: var(--muted); }

/* footer */
.foot { margin-top: 120px; border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; gap: 28px; padding-top: 28px; padding-bottom: 28px; font-size: 13px; }
.foot-in .muted { margin-left: auto; }
.foot-links { display: flex; }
.foot-links a { color: var(--muted); padding: 0 16px; }
.foot-links a + a { border-left: 1px solid var(--line); }
.foot-links a:hover { color: var(--cream); }

/* employee file */
.file { padding-top: 64px; }
.crumb { color: var(--muted); font-size: 13px; }
.crumb:hover { color: var(--cream); }
.badge { display: grid; grid-template-columns: 200px 1fr; gap: 36px; margin-top: 24px; padding: 28px; align-items: center; }
.badge-photo { width: 200px; height: 200px; border-radius: 6px; border: 1px solid var(--line); object-fit: cover; background: #222; }
div.badge-photo { display: grid; place-items: center; color: var(--muted); font-size: 40px; }
.badge-id { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.badge-id .tag { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.badge-id h1 { font-size: clamp(42px, 5vw, 72px); overflow-wrap: anywhere; }
.badge-id .nm { color: var(--muted); font-size: 15px; }
.badge-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; border: 1px solid var(--line); border-radius: 4px; margin-top: 6px; }
.badge-facts > div { padding: 12px 18px; font-size: 13px; }
.badge-facts > div + div { border-left: 1px solid var(--line); }
.badge-facts b { display: block; font: 500 20px/1.2 var(--mono); }
.badge-facts span { color: var(--muted); }
.badge-links { display: flex; flex-wrap: wrap; gap: 10px; }
.mint { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; text-transform: none; }

.file-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 24px; align-items: start; }
.panel { padding: 0; }
.panel-h { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 13px; }
.panel-h .muted { margin-left: auto; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 18px 20px; border-bottom: 1px solid var(--line); animation: rise .35s ease both; }
.timeline li:last-child { border-bottom: 0; }
.timeline time { display: block; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.timeline p { font-size: 14px; line-height: 1.75; white-space: pre-wrap; }
.timeline .nums { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; color: var(--muted); font-size: 12px; }
.timeline .nums a { text-decoration: underline; text-underline-offset: 3px; }
.panel .none { padding: 24px 20px; color: var(--muted); font-size: 14px; }

.askbox { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.askbox .field { height: 48px; }
.askbox .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
.asks { list-style: none; margin: 0; padding: 0; }
.asks li { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 14px; animation: rise .35s ease both; }
.asks li:last-child { border-bottom: 0; }
.asks .q { color: var(--muted); }
.asks .a { margin-top: 8px; white-space: pre-wrap; }
.asks time { display: block; color: var(--muted); font-size: 11px; margin-top: 8px; }

/* docs */
.docs { padding-top: 72px; max-width: 980px; margin-left: 0; }
.docs h1 { font-size: clamp(48px, 6vw, 80px); }
.docs .sub { margin-top: 20px; color: var(--muted); font-size: 16px; }
.docs h2 { font-size: 34px; margin: 64px 0 20px; }
.docs p { color: var(--muted); line-height: 1.8; }
.docs a { text-decoration: underline; text-underline-offset: 3px; color: var(--cream); }
.doc-list { margin: 0; padding-left: 22px; color: var(--muted); line-height: 1.9; }
.doc-list b { color: var(--cream); font-weight: 500; }
.endpoints { border: 1px solid var(--line); border-radius: 6px; background: var(--card); }
.endpoints > div { padding: 18px 22px; }
.endpoints > div + div { border-top: 1px solid var(--line); }
.endpoints code { color: var(--cream); font-size: 14px; text-transform: none; }
.endpoints p { margin-top: 6px; font-size: 14px; }
.endpoints p code { font-size: 13px; }
.code { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 18px 22px; overflow-x: auto; font-size: 14px; margin: 0 0 14px; text-transform: none; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--cream); color: var(--page); padding: 10px 16px; border-radius: 4px; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 20; }
.toast.on { opacity: 1; }

@media (max-width: 1180px) {
  .nav { display: none; }
  .roster { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --gut: 20px; }
  .top-in { height: 72px; gap: 12px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 30px; }
  .top-in { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 14px; row-gap: 12px; }
  .actions { width: 100%; margin-left: 0; }
  .ca { flex: 1; min-width: 0; justify-content: space-between; }
  .ca span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #x-link, #pump-link { display: none; }
  .term { min-height: 0; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 40px; }
  .stats > div { flex-direction: column; gap: 6px; padding: 20px 16px; }
  .stats b { font-size: 26px; }
  .block { padding-top: 72px; }
  .feedbar { grid-template-columns: 1fr; }
  .feedbar > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .file-grid { grid-template-columns: 1fr; }
  .badge { grid-template-columns: 1fr; }
  .badge-photo { width: 120px; height: 120px; }
  .badge-facts { grid-template-columns: repeat(2, 1fr); }
  .badge-facts > div:nth-child(3) { border-left: 0; }
  .badge-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot-in { flex-wrap: wrap; gap: 14px; }
  .foot-in .muted { margin-left: 0; width: 100%; order: 3; }
}
@media (max-width: 600px) {
  .roster, .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
  .hire { flex-direction: column; align-items: stretch; }
  .connect-wide { display: none; }
  #connect { padding: 0 12px; }
  .stats span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
