:root {
  --bg: #0e1117;
  --bg-surface: #161b22;
  --text: #c9d1d9;
  --text-muted: #8b949e;
  --accent-cyan: #38bdf8;
  --accent-green: #34d399;
  --border: #30363d;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
}

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive Viewport Wrapper */
.container {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Unix Navigation */
header {
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-surface);
  padding: 1rem 0;
}

.nav-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-green);
  text-decoration: none;
}

.site-title::after {
  content: " $";
  color: var(--text-muted);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

nav a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.15s ease;
}

nav a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* Content Area */
main {
  padding: 2.5rem 0;
}

h1, h2, h3 {
  color: #f0f6fc;
  line-height: 1.3;
}

h1 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

/* Textboxes with Accent Left Bars */
.callout {
  background-color: var(--bg-surface);
  border-left: 4px solid var(--accent-cyan);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 6px 6px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.callout.green {
  border-left-color: var(--accent-green);
}

.callout p:first-child {
  margin-top: 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

pre, code {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
}

code {
  padding: 0.2em 0.4em;
  font-size: 0.9em;
}

pre {
  padding: 1rem;
  overflow-x: auto;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

footer .timestamp {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

