:root {
    --teal: #1a7a6d;
    --blue: #2e6db4;
    --green: #5aab5a;
    --orange: #e8a830;
    --dark-green: #1b6b4a;
    --bg: #f3f1ea;
    --text: #3a3a3a;
    --text-light: #6a6a6a;
}

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

body {
    font-family: sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    width: 100%;
    max-width: 800px;
    min-height: 100vh;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-img {
    max-width: min(90vw, 680px);
    height: auto;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 520px;
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    font-family: "DM Serif Display", serif;
    border: 2px solid transparent;
    cursor: pointer;
}

.hero-btn.primary {
    background: var(--teal);
    color: #fff;
}

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

.hero-btn.outline {
    background: transparent;
    color: var(--text);
    border-color: #ccc9be;
}

.hero-btn.outline:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.hero-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.visually-hidden {
    display: none;
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }
}

/* Articles */

.articles {
    width: 100%;
    max-width: 800px;
    padding: 2rem 2rem 4rem;
}

.articles-heading {
    font-family: "DM Serif Display", serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem 1.8rem;
    text-decoration: none;
    color: var(--text);
    border: 1px solid #e0ded6;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.article-card:hover {
    border-color: var(--teal);
    box-shadow: 0 2px 8px rgba(26, 122, 109, 0.08);
}

.article-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--teal);
    background: rgba(26, 122, 109, 0.08);
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.article-title {
    font-family: "DM Serif Display", serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 0.4rem;
}

.article-sub {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Article page */

.article-page {
    width: 100%;
    max-width: 680px;
    padding: 3rem 2rem 4rem;
}

.back-link {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--teal);
}

.article-page .article-tag {
    margin-bottom: 1rem;
}

.article-page-title {
    font-family: "DM Serif Display", serif;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.article-page-sub {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.article-body h2 {
    font-family: "DM Serif Display", serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text);
    margin-top: 2rem;
    margin-bottom: 0.6rem;
}

.article-body p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 1rem;
}

.article-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.article-body ul li {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.35rem;
}

.article-body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
}

.article-callout {
    font-family: "DM Serif Display", serif;
    font-size: 1.15rem;
    color: var(--teal);
    border-left: 3px solid var(--teal);
    padding-left: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #d6d4cc;
}

.article-footer p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 480px) {
    .article-page-title {
        font-size: 1.7rem;
    }
}
