@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --bg: #050506;
  --ink: #f4f4f5;
  --muted: #a1a1aa;
  --faint: #71717a;
  --line: #1c1c20;
  --card: #0c0c0e;
  --cyan: #3ecbff;
  --font: "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(5, 5, 6, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 42px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; }
.nav a:hover { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 16px; border-radius: 999px;
  background: #fff; color: #09090b; border: 0; font-size: 14px; font-weight: 500; cursor: pointer;
}
.btn.ghost { background: transparent; color: #fff; border: 1px solid #2a2a2e; }
.btn.small { height: 34px; padding: 0 12px; font-size: 13px; }

.hero { padding: 88px 0 72px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: end; }
.kicker { margin: 0 0 16px; color: var(--cyan); font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; }
h1 { margin: 0; font-size: clamp(52px, 6.4vw, 80px); font-weight: 500; letter-spacing: -0.05em; line-height: 0.96; }
.lede { max-width: 46ch; margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.terminal { background: var(--card); border: 1px solid #2a2a2e; border-radius: 16px; overflow: hidden; }
.terminal-bar { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--faint); font-family: var(--mono); font-size: 12px; }
.terminal pre { margin: 0; padding: 18px 16px 22px; font-family: var(--mono); font-size: 13px; line-height: 1.7; color: #d4d4d8; white-space: pre-wrap; }
.num { color: var(--cyan); }

.band { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.band article { padding: 26px 28px 26px 0; border-right: 1px solid var(--line); }
.band article:last-child { border-right: 0; padding-right: 0; }
.band strong { display: block; font-weight: 500; margin-bottom: 6px; }
.band p { margin: 0; color: var(--muted); font-size: 14px; max-width: 36ch; }

.section { padding: 84px 0; border-bottom: 1px solid var(--line); }
h2 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 46px); font-weight: 500; letter-spacing: -0.04em; }
.sub { margin: 0 0 28px; color: var(--muted); max-width: 62ch; }

.cards, .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.logo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0c0c0e;
  overflow: hidden;
}
.logo-row article {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-right: 1px solid var(--line);
}
.logo-row article:last-child { border-right: 0; }
.logo-row img {
  height: 42px;
  width: auto;
  max-width: 56px;
  object-fit: contain;
  display: block;
}
.logo-row span {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.card, .plan {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px;
  min-height: 210px;
}
.plan { display: flex; flex-direction: column; min-height: 320px; }
.plan.featured { border-color: rgba(62, 203, 255, 0.7); }
.card h3, .plan h3 { margin: 8px 0; font-size: 18px; font-weight: 500; }
.card p, .plan li { color: var(--muted); font-size: 14px; line-height: 1.6; }
.plan .price { font-size: 36px; letter-spacing: -0.04em; font-weight: 500; margin: 12px 0 4px; }
.plan .rate { color: var(--cyan); font-family: var(--mono); font-size: 12px; margin-bottom: 16px; }
.plan ul { list-style: none; margin: 0 0 18px; padding: 0; }
.plan li { padding: 8px 0; border-top: 1px solid var(--line); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.name { color: var(--faint); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

footer { padding: 28px 0 40px; color: var(--faint); font-size: 13px; }
.foot { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.foot nav { display: flex; gap: 18px; }
.foot a:hover { color: #fff; }

.docs { display: grid; grid-template-columns: 200px minmax(0, 760px); gap: 56px; padding: 42px 0 80px; }
.side { position: sticky; top: 92px; align-self: start; }
.side a { display: block; padding: 7px 0; color: var(--muted); font-size: 14px; }
.side a:hover { color: #fff; }
.doc h1 { font-size: 48px; }
.doc h2 { margin: 36px 0 8px; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; }
.doc p, .doc li { color: #d4d4d8; line-height: 1.65; }
.code { margin: 14px 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #0c0c0e; font-family: var(--mono); font-size: 13px; line-height: 1.6; overflow-x: auto; white-space: pre; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); }
.table th { color: var(--faint); font-weight: 500; }

.console { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.rail { border-right: 1px solid var(--line); padding: 22px 18px; }
.rail img { height: 40px; }
.rail nav { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.rail a.active { color: #fff; }
.main { padding: 28px 32px 64px; }
.hello { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 22px; }
.hello h1 { font-size: 32px; }
.grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 14px; }
.stat { font-size: 40px; letter-spacing: -0.04em; font-weight: 500; }
.keybox, .addr {
  font-family: var(--mono); font-size: 13px; word-break: break-all;
  background: #09090b; border: 1px solid var(--line); border-radius: 10px; padding: 12px;
}
.row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.note { color: var(--faint); font-size: 13px; line-height: 1.5; }
.err { color: #fb7185; font-size: 14px; }
.banner {
  border: 1px solid #7f1d1d;
  background: #14080a;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.banner strong { display: block; font-size: 18px; margin-bottom: 4px; }
.mintrow { display: flex; gap: 8px; margin-top: 12px; }
.mintrow input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #09090b;
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
}
.statusline { margin-top: 12px; font-size: 14px; }
.statusline.ok { color: #86efac; }
.statusline.bad { color: #fb7185; }

@media (max-width: 900px) {
  .hero-grid, .band, .cards, .plans, .logo-row, .docs, .console, .grid { grid-template-columns: 1fr; }
  .logo-row article { border-right: 0; border-bottom: 1px solid var(--line); justify-content: flex-start; padding-left: 28px; }
  .logo-row article:last-child { border-bottom: 0; }
  .band article { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .hide-sm { display: none; }
  h1 { font-size: 46px; }
  .side { position: static; display: flex; gap: 14px; overflow-x: auto; }
  .side a { white-space: nowrap; }
  .rail { border-right: 0; border-bottom: 1px solid var(--line); }
}

.dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dock-ico, .dock-hit {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #2a2a2e;
  background: #0c0c0e;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.dock-ico:hover, .dock-hit:hover { border-color: var(--cyan); color: var(--cyan); }
.dock-ico svg, .dock-hit svg { width: 16px; height: 16px; display: block; }
.dock-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(62, 203, 255, 0.18);
}
.dock-box {
  position: absolute;
  right: 0;
  bottom: 48px;
  width: 320px;
  height: 420px;
  display: none;
  flex-direction: column;
  background: #0c0c0e;
  border: 1px solid #2a2a2e;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.dock[data-open="true"] .dock-box { display: flex; }
.dock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.dock-head button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.dock-log {
  flex: 1;
  overflow: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dock-msg {
  max-width: 88%;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}
.dock-msg.visitor { align-self: flex-end; background: #fff; color: #09090b; }
.dock-msg.tokeye { align-self: flex-start; background: #16161a; color: #e4e4e7; }
.dock-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--line);
}
.dock-form input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #09090b;
  color: #fff;
}
.dock-form button {
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #09090b;
  font-weight: 500;
  cursor: pointer;
}
