body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: linear-gradient(to bottom, #F5F5DC 50%, #FFF);
    background-attachment: fixed;
}

a {
    color: inherit;
    text-decoration: none;
}

.header {
    display: flex;
    height: 85px;
    background: #FFF;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(20px, 5vw, 100px);
    box-sizing: border-box;
    border-bottom: 1px solid #D4C5B9;
}

.headertitle {
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 600;
    color: #8B7355;
    display: flex;
    align-items: center;
    gap: 8px;
}

.loginbtn, .beginbtn {
    background: #8B7355;
    border-radius: 8px;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.loginbtn:hover, .beginbtn:hover {
    background: #7b674c;
    cursor: pointer;
}

.loginbtn {
    width: 88px;
    height: 36px;
    font-size: 14px;
}

.title {
    color: #8B7355;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.title > :first-child {
    font-size: clamp(24px, 8vw, 48px);
    font-weight: bold;
    margin: 77px 0 0 0;
}

.title > :nth-child(2) {
    font-size: clamp(14px, 3vw, 20px);
    margin: 10px 0;
}

.beginbtn {
    width: clamp(150px, 30vw, 225px);
    height: 48px;
    font-size: clamp(14px, 3vw, 18px);
    margin-top: 20px;
}

.infocards {
    margin: 9% 0 17% 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.card {
    width: min(300px, 100%);
    height: 257px;
    border-radius: 14px;
    border: 1px solid #D4C5B9;
    background: #FFF;
    box-sizing: border-box;
    padding: 32px;
    display: flex;
    flex-direction: column;
    color: #6D5A44;
}

.card p:first-of-type {
    font-size: 20px;
    font-weight: 600;
    margin: 16px 0 8px 0;
    color: #8B7355;
}

.card p:last-of-type {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

.cardicon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #F5F5DC;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer {
    width: 100%;
    color: #6D5A44;
    border-top: 1px solid #D4C5B9;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: 14px;
}

@media (max-width: 768px) {
    .header {
        height: 70px;
        padding: 0 20px;
    }
    .headertitle {
        font-size: 20px;
    }
    .loginbtn {
        width: 70px;
        height: 32px;
        font-size: 12px;
    }
    .title > :first-child {
        margin-top: 50px;
    }
    .beginbtn {
        width: 180px;
        height: 44px;
        font-size: 16px;
    }
    .infocards {
        margin: 50px 0;
        gap: 15px;
    }
    .card {
        height: auto;
        padding: 24px;
    }
    .card p:first-of-type {
        font-size: 18px;
    }
    .card p:last-of-type {
        font-size: 14px;
    }
    .footer {
        height: 60px;
        font-size: 12px;
    }
}