/* RewardsBrief - Clean, Fast, Minimal */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --border: #e5e7eb;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --max-width: 720px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.site-nav a {
  margin-left: 1.5rem;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}

/* Main */
main {
  padding: 3rem 0;
  min-height: 60vh;
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-top: 2rem; }
h3 { font-size: 1.25rem; margin-top: 1.5rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
}

/* Posts List */
.posts-list {
  margin: 2rem 0;
}

.post-preview {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.post-preview h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

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

.post-preview h2 a:hover {
  color: var(--primary);
}

.post-meta {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.post-excerpt {
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.read-more {
  font-weight: 500;
  text-decoration: none;
}

/* Post Page */
.post-header {
  margin-bottom: 2rem;
}

.post-header h1 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.post-content {
  font-size: 1.125rem;
}

.post-content h2 {
  margin-top: 2.5rem;
}

.post-content ul, .post-content ol {
  margin: 1rem 0 1rem 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--text-light);
  font-style: italic;
}

/* Tags */
.tag {
  display: inline-block;
  background: var(--bg-alt);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  margin-right: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

/* Newsletter Box */
.newsletter-box {
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 3rem 0;
  text-align: center;
}

.newsletter-box h3 {
  margin-top: 0;
}

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

.site-footer a {
  color: var(--text-light);
  margin: 0 0.5rem;
}

.disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
}

/* Mobile */
@media (max-width: 600px) {
  .site-header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav a {
    margin: 0 0.75rem;
  }

  h1 { font-size: 1.5rem; }
  .post-header h1 { font-size: 1.75rem; }
  .post-content { font-size: 1rem; }
}