/* NEATContent — dark theme */
/* Minimal, clean, fast. No JS, no build step. */

:root {
  --bg: #0d0d0d;
  --surface: #1a1a1a;
  --elevated: #242424;
  --text: #e5e5e5;
  --text-muted: #888;
  --accent: #d97706;
  --accent-hover: #f59e0b;
  --border: #333;
  --radius: 8px;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  padding: 0 1rem;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

.container { max-width: 720px; margin: 0 auto; padding: 2rem 0; }

/* Header */
.site-header {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.site-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-header .tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.site-header .back-link {
  display: inline-block;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

/* Start Here button grid */
.start-here-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.start-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.15s, background 0.15s;
  min-height: 64px;
  line-height: 1.3;
}

.start-card:hover {
  border-color: var(--accent);
  background: var(--elevated);
  text-decoration: none;
  color: var(--accent-hover);
}

/* Prominent Voices cards */
.voice-list { display: flex; flex-direction: column; gap: 0.75rem; margin: 1rem 0; }

.voice-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  transition: border-color 0.15s, background 0.15s;
}
.voice-card:hover { border-color: var(--accent); background: var(--elevated); }

.voice-card .avatar {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--elevated); display: flex; align-items: center;
  justify-content: center; margin-top: 0.2rem;
  overflow: hidden;
}
.voice-card .avatar img { width: 100%; height: 100%; object-fit: cover; }

.voice-card .info { flex: 1; min-width: 0; }
.voice-card .info .name { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.voice-card .info .name a { color: var(--accent); }
.voice-card .info .name a:hover { color: var(--accent-hover); }
.voice-card .info .desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; margin-top: 0.15rem; }

/* Floating affiliate sidebar */
.floating-sidebar {
  position: fixed;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  z-index: 100;
}
@media (max-width: 700px) {
  .floating-sidebar { display: none; }
}
.floating-sidebar .label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-align: center;
}
.floating-sidebar a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.45rem;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text);
  transition: background 0.15s;
  text-decoration: none;
  margin-bottom: 0.15rem;
}
.floating-sidebar a:hover {
  background: var(--elevated);
  color: var(--accent-hover);
  text-decoration: none;
}
.floating-sidebar a .emoji { font-size: 0.85rem; }

/* Post list */
.post-list { list-style: none; }

.post-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.15s;
}

.post-item:hover { border-color: var(--accent); background: var(--elevated); }

.post-item .date {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.post-item h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.post-item h2 a { color: var(--text); }
.post-item h2 a:hover { color: var(--accent); text-decoration: none; }

.post-item .excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Full post page */
.post-full { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }

.post-full .post-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.post-full h1 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.post-full p { margin-bottom: 1.25rem; }
.post-full p:last-child { margin-bottom: 0; }
.post-full a { font-weight: 500; }

/* Affiliate disclaimer */
.affiliate-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 2rem;
  font-style: italic;
}

/* Info box */
.info-box {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.info-box strong { color: var(--accent-hover); }

/* About section */
.about-section {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.about-section h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.about-section p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* Resources / affiliate grid */
.resources { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin: 1.5rem 0; }

.resource-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
  color: inherit;
}
.resource-card:hover { border-color: var(--accent); background: var(--elevated); }
.resource-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--accent); margin-bottom: 0.25rem; }
.resource-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

/* Hub page — topic cards */
.topic-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 600px) { .topic-grid { grid-template-columns: 1fr 1fr; } }

.topic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.15s, transform 0.15s;
}

.topic-card:hover { border-color: var(--accent); transform: translateY(-2px); }

.topic-card h2 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.35rem; }
.topic-card h2 a { color: var(--text); }
.topic-card h2 a:hover { color: var(--accent); text-decoration: none; }
.topic-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
.topic-card .meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.5rem; }

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

.site-footer strong {
  color: var(--text);
}

/* Code / inline */
code {
  font-family: "SF Mono", Monaco, "Cascadia Code", monospace;
  font-size: 0.85em;
  background: var(--elevated);
  padding: 0.15em 0.35em;
  border-radius: 3px;
}

hr { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

/* Tags */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--elevated);
  color: var(--text-muted);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-right: 0.35rem;
}

/* Ordered / unordered lists in posts */
.post-full ol, .post-full ul { margin: 0 0 1.25rem 1.5rem; }
.post-full li { margin-bottom: 0.35rem; }

/* Responsive */
@media (max-width: 480px) {
  .container { padding: 1rem 0; }
  .site-header h1 { font-size: 1.4rem; }
  .post-full { padding: 1.25rem; }
  .post-item { padding: 1rem; }
}
