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

:root {
    --primary-red: #C1272D;
    --dark-gray: #333;
    --medium-gray: #666;
    --light-gray: #f5f5f5;
    --border-gray: #ddd;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-links .cta-link {
    background: var(--primary-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-links .cta-link:hover {
    background: #a01f24;
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #111 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content h2 {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    margin-top: 2rem;
}

.deadline {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #ffd700;
    font-weight: bold;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #a01f24;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(193,39,45,0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

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

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
section {
    padding: 4rem 0;
}

.lead {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--medium-gray);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

/* Problem Section */
.problem {
    background: var(--light-gray);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.problem-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.problem-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Action Section */
.action-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 1rem;
}

/* Newsletter Signup */
.newsletter-signup {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 4rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 1rem;
}

/* Generator Page */
.generator {
    min-height: 70vh;
}

.generator-form {
    max-width: 700px;
    margin: 3rem auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--primary-red);
}

/* Statement Output */
.statement-output {
    margin-top: 3rem;
    border-top: 3px solid var(--primary-red);
    padding-top: 2rem;
}

.statement-text {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 4px;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 2rem 0;
    max-height: 600px;
    overflow-y: auto;
}

.statement-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.submission-instructions {
    background: #fff9e6;
    border: 2px solid #ffd700;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.submission-instructions h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.submission-instructions ol {
    margin-left: 1.5rem;
    margin-bottom: 2rem;
}

.submission-instructions li {
    margin-bottom: 0.5rem;
}

.email-list {
    background: white;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.email-list code {
    display: block;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Content Pages */
.content-page {
    min-height: 70vh;
}

.content-page h2 {
    margin-top: 3rem;
}

.content-page ul {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

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

/* Pillar Sections */
.pillar {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-red);
}

.pillar h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* Issue Cards */
.issue-card {
    background: white;
    border: 2px solid var(--border-gray);
    border-left: 4px solid var(--primary-red);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    transition: transform 0.3s;
}

.issue-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.issue-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

/* Letter Page */
.letter-page .byline {
    font-style: italic;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.letter-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.letter-content p {
    margin-bottom: 1.5rem;
}

.letter-content h3 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.letter-signature {
    margin-top: 3rem;
    text-align: right;
    font-style: italic;
}

/* Timeline */
.timeline {
    border-left: 3px solid var(--primary-red);
    padding-left: 2rem;
    margin: 2rem 0 3rem;
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--primary-red);
    border-radius: 50%;
    position: absolute;
    left: -2.4rem;
    top: 0.3rem;
}

/* Resource List */
.resource-list {
    display: grid;
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.resource-item {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
}

.resource-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-red);
}

.resource-item p {
    margin-bottom: 1rem;
}

/* Contact Info */
.contact-info {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.contact-info h4 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.contact-info p {
    line-height: 1.8;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #111 100%);
    color: white;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    margin: 4rem 0;
}

.cta-box h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

footer a {
    color: var(--primary-red);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .problem-grid,
    .action-steps {
        grid-template-columns: 1fr;
    }
    
    .statement-actions {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}
