.home-app {
    overflow: auto;
}

.home-page {
    width: 100%;
    padding: 26px 28px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.home-topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.home-auth-actions {
    display: inline-flex;
    gap: 10px;
}

.home-auth-button {
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
}

.home-auth-button:hover,
.home-auth-button:focus-visible {
    color: #0f172a;
    text-decoration: underline;
    outline: none;
}

.home-guest {
    flex: 1;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px 20px 76px;
    text-align: center;
}

.home-guest-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #263326;
    max-width: 100%;
    overflow-wrap: normal;
    font-family: "Songti SC", "STSong", "SimSun", "KaiTi", serif;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.25;
    font-weight: 300;
    letter-spacing: 0;
    white-space: nowrap;
}

.home-guest-line-en {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 14px 0 0;
    color: #6f8560;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(14px, 1.5vw, 18px);
    font-style: italic;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.home-login-callout {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 42px;
    padding: 12px 12px 12px 18px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: none;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

.home-login-callout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 8px;
    background: #111111;
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.home-login-callout-button:hover,
.home-login-callout-button:focus-visible {
    background: #2a2a2a;
    outline: none;
}

.home-welcome {
    flex: 1;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px 20px 76px;
    text-align: center;
}

.home-welcome-title {
    margin: 0;
    max-width: min(680px, 100%);
    overflow-wrap: anywhere;
    color: #263326;
    font-family: "Songti SC", "STSong", "SimSun", "KaiTi", serif;
    font-size: clamp(18px, 2.2vw, 28px);
    line-height: 1.25;
    font-weight: 300;
    letter-spacing: 0;
}

.home-welcome-bio {
    margin: 18px 0 0;
    max-width: min(620px, 100%);
    color: #475569;
    font-family: "Songti SC", "STSong", "SimSun", "KaiTi", serif;
    font-size: clamp(14px, 1.35vw, 17px);
    line-height: 1.75;
    font-weight: 300;
}


@media (max-width: 640px) {
    .home-page {
        padding: 28px 28px 36px;
    }

    .home-topbar {
        justify-content: center;
    }

    .home-guest {
        min-height: 440px;
        padding: 66px 0 46px;
    }

    .home-guest-line {
        gap: 5px;
        font-size: 20px;
        white-space: normal;
    }

    .home-guest-line-en {
        font-size: 11px;
        line-height: 1.55;
    }

    .home-login-callout {
        width: 100%;
        flex-direction: column;
        align-items: center;
        margin-top: 34px;
        gap: 13px;
        padding: 13px 14px;
        text-align: center;
    }

    .home-login-callout-button {
        width: auto;
        align-self: center;
        text-align: center;
    }

    .home-welcome {
        min-height: 440px;
        padding: 66px 0 46px;
    }

    .home-welcome-title {
        font-size: 18px;
    }

    .home-welcome-bio {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.7;
    }
}
