/* Vote The Facts — Political Statistical Truth */
/* Color System */
:root {
    --bg-primary: #0a0f1a;
    --bg-secondary: #111827;
    --bg-card: #1a2235;
    --bg-card-hover: #1f2a40;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --green: #22c55e;
    --yellow: #eab308;
    --orange: #f97316;
    --red: #ef4444;
    --border: #1e293b;
    --border-light: #334155;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }

/* Navigation */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 15, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}
.logo-icon { font-size: 1.4rem; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

/* Hero */
.hero {
    padding: 6rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 800px; margin: 0 auto; }
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
}
.stat { text-align: center; }
.stat-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}
.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.hero-cta {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
}
.hero-cta:hover {
    background: var(--accent-hover);
    color: white;
    transform: translateY(-1px);
}

/* Receipts Feed */
.receipts-feed {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.feed-header {
    text-align: center;
    margin-bottom: 3rem;
}
.feed-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}
.feed-header p { color: var(--text-secondary); }
.receipts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}
.receipt-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.receipt-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}
.receipt-link { display: block; color: var(--text-primary); }
.receipt-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}
.receipt-content { padding: 1.25rem; }
.receipt-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}
.receipt-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.receipt-excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.receipt-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* How It Works */
.how-it-works {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.how-inner { max-width: 1000px; margin: 0 auto; }
.how-inner h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 3rem;
}
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.step {
    text-align: center;
    padding: 1.5rem;
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}
.step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.step p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Full Receipt (Post) */
.receipt-full {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 2rem;
}
.receipt-header { margin-bottom: 2rem; }
.receipt-tag-full {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}
.receipt-full-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.receipt-full-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}
.receipt-feature-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}
.receipt-feature-image img { width: 100%; display: block; }
.receipt-feature-image figcaption {
    padding: 0.75rem 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* Receipt Body Content */
.receipt-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
}
.receipt-body h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.02em;
}
.receipt-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
}
.receipt-body p { margin-bottom: 1.25rem; }
.receipt-body ul, .receipt-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}
.receipt-body li { margin-bottom: 0.5rem; }
.receipt-body blockquote {
    border-left: 3px solid var(--accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--bg-card);
    border-radius: 0 8px 8px 0;
    color: var(--text-secondary);
    font-style: italic;
}
.receipt-body code {
    font-family: var(--font-mono);
    background: var(--bg-card);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}
.receipt-body pre {
    background: var(--bg-card);
    padding: 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}
.receipt-body strong { font-weight: 700; }
.receipt-body a { border-bottom: 1px solid var(--accent); }
.receipt-body a:hover { border-bottom-color: transparent; }

/* Truth Score Styling in Content */
.receipt-body .kg-card { margin: 1.5rem 0; }

/* Receipt Footer */
.receipt-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.receipt-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.receipt-share a {
    padding: 0.4rem 0.8rem;
    background: var(--bg-card);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background 0.2s;
}
.receipt-share a:hover { background: var(--bg-card-hover); }
.receipt-methodology {
    background: var(--bg-card);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Page */
.page-full {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 2rem;
}
.page-header { margin-bottom: 2rem; }
.page-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
}
.page-body {
    font-size: 1.05rem;
    line-height: 1.8;
}
.page-body h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 2.5rem 0 1rem;
}
.page-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
}
.page-body p { margin-bottom: 1.25rem; }
.page-body ul, .page-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}
.page-body li { margin-bottom: 0.5rem; }
.page-body blockquote {
    border-left: 3px solid var(--accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--bg-card);
    border-radius: 0 8px 8px 0;
}

/* Footer */
.site-footer {
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-inner { max-width: 600px; margin: 0 auto; }
.footer-brand {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.footer-tagline {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.25rem;
}
.footer-meta p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}
.footer-copy { margin-top: 1rem; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}
.pagination a {
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .hero { padding: 4rem 1.5rem 3rem; }
    .hero-stats { gap: 1.5rem; }
    .receipts-grid { grid-template-columns: 1fr; }
    .nav-links { gap: 1rem; }
    .nav-links a { font-size: 0.8rem; }
    .steps { grid-template-columns: 1fr 1fr; }
    .receipt-full, .page-full { padding: 2rem 1.25rem; }
}
@media (max-width: 480px) {
    .nav-links { display: none; }
    .steps { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 1rem; }
}
