:root {
  color-scheme: light dark;
  font-family: "Segoe UI", system-ui, sans-serif;
}

body {
  margin: 0 auto;
  max-width: 960px;
  padding: 2rem 1.5rem 4rem;
  line-height: 1.5;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  margin-top: 1.75rem;
  box-shadow: 0 12px 28px -24px rgba(0, 0, 0, 0.6);
}

.card:first-of-type {
  margin-top: 0;
}

.card--hero {
  background: linear-gradient(135deg, rgba(0, 80, 215, 0.25), rgba(4, 11, 32, 0.7));
  border-left: 6px solid rgba(0, 80, 215, 0.6);
}

.tagline {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.caption,
.conclusion {
  font-style: italic;
}

blockquote {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid rgba(255, 255, 255, 0.4);
  font-style: italic;
}

pre {
  background: rgba(0, 0, 0, 0.45);
  border-radius: 10px;
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.4;
}

header,
main,
footer {
  margin-bottom: 2rem;
}

.agentkit-root {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
}

.agentkit-selector__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.agentkit-selector__option {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
}

.agentkit-selector__option:hover {
  background: rgba(0, 0, 0, 0.05);
}

.agentkit-conversation__form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.agentkit-conversation__question textarea {
  width: 100%;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  resize: vertical;
}

.agentkit-conversation__form button {
  justify-self: flex-start;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 6px;
  background-color: #0050d7;
  color: #fff;
  cursor: pointer;
}

.agentkit-conversation__form button:hover {
  background-color: #003eb2;
}

.agentkit-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1rem;
}

.agent-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.4);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.agent-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 128, 255, 0.6);
}

.agent-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.agent-card__token {
  font-weight: 600;
}

.agent-card__purpose {
  font-size: 0.95rem;
  margin: 0.25rem 0;
}

.agent-card__sla {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.agent-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.agent-form__question textarea,
.agent-form__question input {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  color: inherit;
}

.agent-form__contact {
  display: grid;
  gap: 0.75rem;
}

.agent-form__contact input,
.agent-form__contact select {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  color: inherit;
}

.agent-form button[type="submit"] {
  justify-self: flex-start;
  padding: 0.7rem 1.6rem;
  border: none;
  border-radius: 6px;
  background-color: #206cff;
  color: #fff;
  cursor: pointer;
}

.agent-form__status {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.gate {
  border: 1px dashed rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1.5rem;
}

.gate--blocked .gate__content {
  display: none;
}

.gate--allowed .gate__content {
  display: block;
}

.gate__content > article + article {
  margin-top: 1rem;
}

.bounty-board {
  display: grid;
  gap: 1.5rem;
}

.bounty-form {
  display: grid;
  gap: 1rem;
}

.bounty-form input,
.bounty-form textarea {
  width: 100%;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.bounty-form button {
  justify-self: flex-start;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 6px;
  background-color: #0a7f00;
  color: #fff;
  cursor: pointer;
}

.bounty-form button:hover {
  background-color: #086300;
}

.bounty-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.bounty-list li {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 1rem;
}

.blockchain-widget {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 2rem;
  background: rgba(0, 0, 0, 0.03);
}

.token-price-list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.5rem 1.5rem;
  margin: 0;
}

.token-price-list dt {
  font-weight: 600;
}

.token-price-list dd {
  margin: 0;
}
