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

body {
    font-family: 'Crimson Text', 'Georgia', 'Times New Roman', serif;
    line-height: 1.9;
    color: #3a3a3a;
    background:
        /* Wood grain texture */
        repeating-linear-gradient(
            90deg,
            #8b6f47 0px,
            #9d7f57 2px,
            #8b6f47 4px,
            #7a5f3e 6px,
            #8b6f47 8px,
            #9d7f57 10px,
            #8b6f47 12px
        ),
        /* Wood knots and variation */
        radial-gradient(ellipse 150px 80px at 20% 30%, rgba(90, 70, 45, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 120px 60px at 75% 60%, rgba(90, 70, 45, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 100px 50px at 45% 80%, rgba(90, 70, 45, 0.2) 0%, transparent 50%),
        /* Base wood color with aging */
        linear-gradient(180deg, #9d8863 0%, #8b7651 50%, #7a6540 100%);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    min-height: 100vh;
    max-width: 900px;
    margin: 3rem auto;
    background: #f5f1e8;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    padding: 4rem 3rem;
}

.logo {
    position: fixed;
    top: 2rem;
    right: 2rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, #e8ede5 0%, #dce3d8 100%);
    border-radius: 2px;
    border: 3px dashed rgba(139, 155, 126, 0.4);
    box-shadow:
        inset 0 0 0 1px rgba(139, 155, 126, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transform: rotate(-2deg);
}

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-icon {
    font-size: 2.5rem;
    margin-bottom: 0;
    line-height: 1;
    position: relative;
    display: inline-block;
    font-family: 'UnifrakturMaguntia', 'Crimson Text', Georgia, serif;
    font-weight: 400;
    font-style: normal;
    background: linear-gradient(135deg, #d4af37 0%, #f9d77e 25%, #c5a028 50%, #f9d77e 75%, #d4af37 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.logo-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3426;
    letter-spacing: 2px;
    text-transform: lowercase;
    opacity: 0.95;
    line-height: 1;
    margin-top: -0.3rem;
}

/* Blog Header */
.blog-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(139, 155, 126, 0.2);
}

.blog-header h1 {
    font-size: 3rem;
    color: #2d3426;
    font-weight: 400;
    margin-bottom: 1rem;
    font-family: 'Crimson Text', Georgia, serif;
}

.blog-subtitle {
    font-size: 1.3rem;
    color: #5a5a5a;
    font-style: italic;
}

/* Blog Main */
.blog-main {
    max-width: 750px;
    margin: 0 auto;
}

/* Blog Post Preview */
.blog-post-preview {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(139, 155, 126, 0.15);
}

.blog-post-preview:last-child {
    border-bottom: none;
}

.blog-post-preview h2 {
    font-size: 2rem;
    color: #2d3426;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.blog-post-preview h2 a {
    color: #2d3426;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-preview h2 a:hover {
    color: #6b7a61;
}

.post-meta {
    font-size: 1rem;
    color: #6a6a6a;
    margin-bottom: 1rem;
    font-style: italic;
}

.post-excerpt {
    font-size: 1.2rem;
    color: #4a4a4a;
    line-height: 1.8;
}

/* Individual Blog Post Styles */
.blog-post {
    max-width: 750px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(139, 155, 126, 0.2);
}

.post-header h1 {
    font-size: 2.5rem;
    color: #2d3426;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-content {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #3a3a3a;
}

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

.post-content h2 {
    font-size: 1.8rem;
    color: #2d3426;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.post-content h3 {
    font-size: 1.4rem;
    color: #2d3426;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content strong {
    font-weight: 600;
    color: #2d3426;
}

.post-content em {
    font-style: italic;
    color: #4a4a4a;
}

.post-content a {
    color: #6b7a61;
    text-decoration: none;
    border-bottom: 1px solid rgba(107, 122, 97, 0.3);
    transition: all 0.3s ease;
}

.post-content a:hover {
    color: #5a6951;
    border-bottom-color: #5a6951;
}

.post-cta {
    background: linear-gradient(135deg, #e8ede5 0%, #dce3d8 100%);
    padding: 2.5rem;
    border-radius: 4px;
    text-align: center;
    margin: 3rem 0;
    border: 2px solid rgba(139, 155, 126, 0.3);
}

.post-cta h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #2d3426;
}

.post-cta p {
    margin-bottom: 1.5rem;
    color: #4a4a4a;
}

.blog-waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.blog-waitlist-form input[type="email"] {
    padding: 1rem 1.2rem;
    font-size: 1.1rem;
    font-family: 'Crimson Text', Georgia, serif;
    border: 2px solid rgba(139, 155, 126, 0.4);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.blog-waitlist-form input[type="email"]:focus {
    outline: none;
    border-color: #6b7a61;
    background: white;
}

.blog-waitlist-form input[type="email"]::placeholder {
    color: rgba(45, 52, 38, 0.5);
}

.form-message {
    font-size: 1rem;
    text-align: center;
    min-height: 24px;
    margin-top: 0.5rem;
}

.form-message.success {
    color: #2d7a2d;
    font-weight: 600;
}

.form-message.error {
    color: #c44;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-family: 'Crimson Text', Georgia, serif;
    font-weight: 600;
    color: #f5f6f3;
    background: #6b7a61;
    border: none;
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(107, 122, 97, 0.25);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(107, 122, 97, 0.35);
    background: #5a6951;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 155, 126, 0.15);
}

.post-footer a {
    color: #6b7a61;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.post-footer a:hover {
    color: #2d3426;
}

/* Related Articles */
.related-articles {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(232, 237, 229, 0.3);
    border-radius: 4px;
    border: 1px solid rgba(139, 155, 126, 0.2);
}

.related-articles h3 {
    font-size: 1.4rem;
    color: #2d3426;
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.related-article-item {
    margin-bottom: 1.25rem;
}

.related-article-item:last-child {
    margin-bottom: 0;
}

.related-article-item a {
    color: #2d3426;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(107, 122, 97, 0.3);
    transition: all 0.3s ease;
}

.related-article-item a:hover {
    color: #6b7a61;
    border-bottom-color: #6b7a61;
    padding-left: 0.5rem;
}

/* Footer */
.footer {
    padding: 3rem 2rem 1rem;
    text-align: center;
    color: #5a5a5a;
    font-size: 1.05rem;
    margin-top: 4rem;
    border-top: 2px solid rgba(139, 155, 126, 0.2);
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer a {
    color: #6b7a61;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #2d3426;
}

.footer-small {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 1.5rem;
        padding: 3rem 2rem;
    }

    .blog-header h1 {
        font-size: 2.5rem;
    }

    .blog-subtitle {
        font-size: 1.15rem;
    }

    .blog-post-preview h2 {
        font-size: 1.6rem;
    }

    .logo-icon {
        font-size: 3rem;
    }

    .logo-text {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }
}

@media (max-width: 480px) {
    .container {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }

    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-subtitle {
        font-size: 1.05rem;
    }

    .blog-post-preview h2 {
        font-size: 1.4rem;
    }

    .post-excerpt {
        font-size: 1.1rem;
    }

    .logo-icon {
        font-size: 2.5rem;
    }

    .logo-text {
        font-size: 1.1rem;
        letter-spacing: 2.5px;
    }
}
