/* jibot.md — terminal aesthetic */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Consolas', monospace;
  background-color: #0d1117;
  color: #e6edf3;
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
}

/* Subtle scan-line texture */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.015) 2px,
    rgba(255, 255, 255, 0.015) 4px
  );
  z-index: 9999;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}

/* Jibot icon */
.jibot-icon {
  width: 48px;
  height: 48px;
  display: block;
  margin-bottom: 1.5rem;
  image-rendering: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: #f0f6fc;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

h1 {
  font-size: 1.5rem;
  margin-top: 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #21262d;
}

h2 {
  font-size: 1.25rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #21262d;
}

h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

/* Links — soft green-blue, no underline until hover */
a {
  color: #58a6ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Blockquotes — epigraph style */
blockquote {
  border-left: 3px solid #3b4854;
  padding: 0.5rem 1rem;
  margin: 1.5rem 0;
  color: #8b949e;
  font-style: italic;
}

blockquote p {
  margin-bottom: 0.5rem;
}

blockquote p:last-child {
  margin-bottom: 0;
}

/* Code */
code {
  font-family: inherit;
  background-color: #161b22;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9rem;
}

pre {
  background-color: #161b22;
  border: 1px solid #21262d;
  border-radius: 4px;
  padding: 1rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

pre code {
  background: none;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Lists */
ul, ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.4rem;
}

/* Horizontal rules */
hr {
  border: none;
  border-top: 1px solid #21262d;
  margin: 2rem 0;
}

/* Strong and emphasis */
strong {
  color: #f0f6fc;
  font-weight: 600;
}

em {
  color: #c9d1d9;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

th, td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border: 1px solid #21262d;
}

th {
  background-color: #161b22;
  font-weight: 600;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

/* Responsive */
@media (max-width: 600px) {
  main {
    padding: 2rem 1rem 4rem;
  }

  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.15rem; }

  pre {
    font-size: 0.8rem;
    padding: 0.75rem;
  }
}
