/* Working with byzo — custom styles */

:root {
  --bg: #0d0d0d;
  --bg-2: #141414;
  --text: #d4d4d4;
  --text-muted: #999;
  --accent: #39ff14;
  --accent-dim: #2ab80f;
  --border: #2a2a2a;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', monospace;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Force dark background everywhere */
html, body,
.site-header, .site-footer,
.page-content, .wrapper,
.post, .home {
  background: var(--bg) !important;
  color: var(--text) !important;
}

html, body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
}

/* Links — consistent rule: green by default, white on hover */
a {
  color: var(--accent) !important;
  text-decoration: none !important;
  transition: color 0.15s;
}

a:hover {
  color: #fff !important;
  text-decoration: none !important;
}

/* Hero */
.hero {
  padding: 64px 0 80px;
  margin-bottom: 0;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 480px;
}

/* Site header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-title, .site-title:visited, .site-title:hover {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent) !important;
  letter-spacing: 0.05em;
}

.site-nav .page-link {
  color: var(--text);
  font-size: 14px;
}

.site-nav .page-link:hover {
  color: #fff;
}

/* Mobile burger menu — force dark */
.site-nav .nav-trigger:checked ~ .trigger {
  background: var(--bg) !important;
  border: 1px solid var(--border);
  padding: 12px 20px;
}

.site-nav .menu-icon > svg path {
  fill: var(--accent);
}

@media screen and (max-width: 600px) {
  .site-nav {
    background: var(--bg) !important;
    border: 1px solid var(--border);
  }

  .site-nav .trigger {
    background: var(--bg) !important;
  }

  .site-nav .page-link {
    color: var(--text) !important;
    display: block;
    padding: 6px 0;
  }
}

/* Posts list */
.post-list h3 {
  margin-bottom: 4px;
}

.post-list h3 a {
  font-size: 1.1rem;
  font-weight: 600;
}

.post-list {
  margin-top: 40px;
}

.post-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Post content */
.post-header .post-title {
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.post-content p {
  color: var(--text);
}

.post-content blockquote {
  border-left: 3px solid var(--accent-dim);
  background: var(--bg-2);
  padding: 12px 20px;
  color: var(--text-muted);
  font-style: italic;
  margin: 24px 0;
}

.post-content a {
  border-bottom: 1px solid var(--accent-dim);
}

.post-content a:hover {
  border-color: #fff;
}

.post-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* Episode actions (above post list) */
.page-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.episode-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Subscribe + RSS buttons */
.btn-subscribe {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-muted) !important;
  border: 1px solid var(--border) !important;
  padding: 6px 14px;
  border-radius: 3px;
  white-space: nowrap;
  transition: all 0.15s;
}

.btn-subscribe:hover {
  color: var(--accent) !important;
  border-color: var(--accent-dim) !important;
}

.btn-rss {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted) !important;
  border: 1px solid var(--border) !important;
  padding: 6px 12px;
  border-radius: 3px;
  white-space: nowrap;
  transition: all 0.15s;
}

.btn-rss:hover {
  color: var(--accent) !important;
  border-color: var(--accent-dim) !important;
}

/* In-post subscribe CTA */
.subscribe-cta {
  margin: 40px 0;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 3px;
}

.subscribe-cta-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted) !important;
  border-bottom: none !important;
  text-decoration: none !important;
}

.subscribe-cta-link:hover {
  color: var(--accent) !important;
  border-bottom: none !important;
}

.subscribe-cta + hr {
  display: none;
}

/* Post footer */
.post-footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.post-footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Footer */
.footer-inner {
  display: flex;
  align-items: center;
  gap: 6px 12px;
  padding: 24px 0;
  flex-wrap: wrap;
}

@media screen and (max-width: 480px) {
  .footer-inner {
    padding: 20px 0;
    gap: 8px 16px;
  }
  .footer-sep {
    display: none;
  }
  .footer-item {
    font-size: 13px;
  }
}

.footer-item {
  font-family: var(--font-mono);
  font-size: 12px;
}

.footer-sep {
  color: var(--border);
  font-size: 12px;
}

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-family: var(--font-mono);
}

/* Inline code — dark theme compatible */
code {
  background: #1e1e1e;
  color: #c9d1d9;
  border: 1px solid #333;
  border-radius: 3px;
  padding: 1px 5px;
  font-family: var(--font-mono);
  font-size: 0.88em;
}
