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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #EDE4D3;
    color: #5C4D3F;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    line-height: 1.6;
}

nav {
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0 3rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    font-size: 0.9rem;
    color: #8A7E6E;
    font-weight: 500;
    padding-bottom: 0.2rem;
    border-bottom: 1.5px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

nav a:hover {
    color: #5C4D3F;
}

nav a.active {
    color: #C68B6B;
    border-bottom-color: #C68B6B;
}

main {
    max-width: 600px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1 {
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    font-weight: 700;
    color: #C68B6B;
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 600;
    color: #C68B6B;
    margin-bottom: 1.2rem;
}

.slogan {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #9BA88E;
    font-weight: 500;
    margin-bottom: 2.4rem;
}

.intro, .content {
    font-size: 1.05rem;
    color: #5C4D3F;
    max-width: 480px;
    margin: 0 auto;
}

footer {
    padding-top: 3rem;
    font-size: 0.85rem;
    color: #8A7E6E;
}

.guides-list {
    max-width: 600px;
    width: 100%;
    text-align: left;
    flex: 1;
}

.guides-list h2 {
    text-align: center;
}

.article-cards {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.article-cards li {
    margin-bottom: 1rem;
}

.card {
    display: block;
    background: #F7F2EA;
    border-radius: 10px;
    padding: 1.2rem 1.4rem;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(92, 77, 63, 0.1);
}

.card h3 {
    font-size: 1.1rem;
    color: #C68B6B;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.card p {
    font-size: 0.95rem;
    color: #5C4D3F;
    margin: 0;
}
