@import "https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600;700&family=Inter:wght@400;600;800&display=swap";

/* src/style.css */
:root {
  --buncss-light: ;
  --buncss-dark: initial;
  color-scheme: dark;
  --bg: #070807;
  --panel: #101411;
  --line: #243126;
  --text: #eef7dc;
  --muted: #8fa28d;
  --acid: #b7ff2a;
  --green: #44f07a;
  --red: #ff5f6d;
}

* {
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at 20% 0, #1e3218, transparent 35%), var(--bg);
  color: var(--text);
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
}

main {
  max-width: 1180px;
  margin: auto;
  padding: 22px;
}

nav, .faucet, article {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  box-shadow: 0 0 40px #b7ff2a0d;
}

nav {
  display: flex;
  position: sticky;
  backdrop-filter: blur(10px);
  z-index: 1;
  border-radius: 18px;
  justify-content: space-between;
  align-items:  center;
  padding: 14px 18px;
  top: 12px;
}

b span, .eyebrow, .ticker {
  color: var(--acid);
}

button, a {
  background: var(--acid);
  color: #111;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  padding: 11px 15px;
  font-weight: 800;
}

button:disabled {
  opacity: .45;
}

.hero {
  padding: 80px 0 44px;
}

.eyebrow, .ticker, article p {
  font-family: IBM Plex Mono, monospace;
}

.hero h1 {
  letter-spacing: -.07em;
  max-width: 980px;
  margin: 10px 0;
  font-size: clamp(42px, 8vw, 96px);
  line-height: .92;
}

.hero p {
  color: var(--muted);
  max-width: 650px;
  font-size: 18px;
}

.contract {
  color: var(--muted);
  font-family: IBM Plex Mono, monospace;
  font-size: 13px !important;
}

.ticker {
  display: inline-block;
  border: 1px dashed var(--acid);
  border-radius: 12px;
  margin-top: 18px;
  padding: 10px 13px;
}

.faucet {
  display: flex;
  border-radius: 18px;
  justify-content: space-between;
  align-items:  center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 18px;
}

.faucet p {
  color: var(--muted);
  margin: .25rem 0 0;
}

.book {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.col {
  min-width: 0;
}

.col h2 {
  margin: 8px 0 14px;
  font-size: 28px;
}

article {
  border-radius: 18px;
  margin-bottom: 14px;
  padding: 16px;
}

article.buy {
  border-left: 4px solid var(--green);
}

article.sell {
  border-left: 4px solid var(--red);
}

article header, .line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.line {
  align-items:  end;
  margin: 22px 0 8px;
}

.line strong {
  font-size: 30px;
}

.line em {
  color: var(--acid);
  font-family: IBM Plex Mono, monospace;
  font-style: normal;
}

article header span {
  color: var(--muted);
  font-family: IBM Plex Mono, monospace;
}

article button {
  color: var(--acid);
  border: 1px solid var(--acid);
  background: #172018;
  width: 100%;
  margin-top: 10px;
}

@media (max-width: 760px) {
  main {
    padding: 14px;
  }

  .book, .faucet {
    grid-template-columns: 1fr;
    display: grid;
  }

  .faucet a, .faucet button {
    text-align: center;
    width: 100%;
  }

  .hero {
    padding: 48px 0 28px;
  }

  nav {
    position: static;
  }

  .line, .line strong {
    display: block;
  }
}

.form {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr 1fr .8fr .8fr;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 18px;
  align-items:  center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px;
}

.form input, .form select {
  color: var(--text);
  border: 1px solid var(--line);
  background: #090d0a;
  border-radius: 12px;
  padding: 11px;
}

.form label {
  color: var(--muted);
  font-family: IBM Plex Mono, monospace;
}

@media (max-width: 760px) {
  .form {
    grid-template-columns: 1fr;
  }

  .form button {
    width: 100%;
  }
}
