:root {
    --bg-primary: #fdfcfa;
    --bg-secondary: #f7f5f2;
    --bg-accent: #fff9f0;
    --text-primary: #1a1614;
    --text-secondary: #5a5654;
    --text-muted: #8a8784;
    --accent-primary: #d97706;
    --accent-dark: #b45309;
    --accent-light: #fef3c7;
    --border: #e7e5e0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Header */
header {
    padding: 1.5rem 2rem;
    background: rgba(253, 252, 250, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-dark);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.btn-secondary {
    padding: 0.625rem 1.25rem;
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: var(--accent-light);
}

/* Hero Image */
.hero-image {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 700px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(217, 119, 6, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.hero-image::after {
    content: '⚡';
    position: absolute;
    font-size: 15rem;
    opacity: 0.15;
    right: -3rem;
    bottom: -3rem;
}

.hero-image-content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.375rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Article Container */
.article {
    max-width: 760px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

/* Article Typography */
.article h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin: 3rem 0 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.article h2:first-child {
    margin-top: 0;
}

.article h3 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 600;
    line-height: 1.3;
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.article h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.article p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.article p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.article p em {
    font-style: italic;
    color: var(--accent-dark);
}

/* Lead Paragraph */
.lead {
    font-size: 1.375rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Lists */
.article ul,
.article ol {
    margin: 2rem 0;
    padding-left: 0;
    list-style: none;
}

.article ul li,
.article ol li {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.article ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 600;
}

.article ol {
    counter-reset: item;
}

.article ol li {
    counter-increment: item;
}

.article ol li::before {
    content: counter(item) '.';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 600;
    font-family: 'Fraunces', serif;
}

/* Callout Box */
.callout {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--accent-light);
    border-radius: 16px;
    border: 2px solid var(--accent-primary);
}

.callout-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 1rem;
}

.callout-icon {
    font-size: 1.5rem;
}

.callout p {
    color: var(--text-primary);
    margin-bottom: 0;
}

/* Step Cards */
.step-cards {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}

.step-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    color: var(--accent-dark);
    border-radius: 12px;
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-card h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.step-card p {
    margin-bottom: 0;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--accent-primary);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-item h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.feature-item p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* CTA Section */
.article-cta {
    margin: 5rem 0 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg-accent) 100%);
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--accent-primary);
}

.article-cta h3 {
    font-family: 'Fraunces', serif;
    margin: 0 0 1rem;
    color: var(--accent-dark);
}

.article-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.btn-primary {
    padding: 1rem 2rem;
    background: var(--accent-primary);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Visual Example */
.visual-example {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    text-align: center;
}

.visual-example-content {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}


.visual-caption {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 3rem 2rem 2rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    opacity: 0.7;
    font-size: 0.9375rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-image {
        height: 50vh;
        min-height: 300px;
    }

    .article {
        padding: 3rem 1.5rem;
    }

    .article h2 {
        margin: 2rem 0 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .article-cta {
        padding: 2rem 1.5rem;
    }
}
