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

body{

    font-family:
        "Segoe UI",
        "Noto Sans KR",
        sans-serif;

    background:#f4f6f9;
    color:#243246;
}

.access-page{

    display:flex;
    justify-content:center;
    align-items:center;

    width:100vw;
    height:100vh;

    padding:24px;
}

.access-card{

    width:100%;
    max-width:430px;

    background:#ffffff;

    border-radius:20px;

    padding:56px 40px;

    text-align:center;

    box-shadow:
        0 10px 35px rgba(0,0,0,.08);
}

.logo{

    font-size:70px;

    margin-bottom:28px;
}

h1{

    font-size:34px;
    font-weight:700;

    margin-bottom:10px;
}

.subtitle{

    color:#66748a;

    font-size:16px;

    margin-bottom:44px;
}

.enter-btn{

    width:100%;

    height:54px;

    border:none;

    border-radius:12px;

    background:#2d6cdf;

    color:#fff;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.15s;
}

.enter-btn:hover{

    background:#245dc4;
}

.enter-btn:active{

    transform:scale(.985);
}

.footer{

    margin-top:36px;

    font-size:13px;

    color:#8d98a8;
}

.home-body{
    min-height:100vh;
    background:#f4f6f9;
    color:#243246;
}

.home-page{
    width:100%;
    max-width:920px;
    margin:0 auto;
    padding:24px;
}

.home-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:26px;
}

.home-logo{
    font-size:26px;
    font-weight:800;
}

.home-subtitle{
    margin-top:4px;
    color:#718096;
    font-size:14px;
}

.home-actions{
    display:flex;
    gap:10px;
}

.home-actions button{
    width:42px;
    height:42px;
    border:0;
    border-radius:12px;
    background:#ffffff;
    box-shadow:0 4px 14px rgba(0,0,0,.06);
    cursor:pointer;
}

.welcome-panel{
    margin-bottom:22px;
    padding:30px 26px;
    border-radius:22px;
    background:linear-gradient(135deg,#ffffff,#eef4ff);
    box-shadow:0 8px 28px rgba(0,0,0,.06);
}

.welcome-panel h1{
    font-size:34px;
    margin-bottom:8px;
}

.welcome-panel p{
    color:#66748a;
}

.home-card{
    margin-bottom:20px;
    padding:24px;
    border-radius:22px;
    background:#ffffff;
    box-shadow:0 8px 28px rgba(0,0,0,.06);
}

.main-family-card{
    border:2px solid #dbe8ff;
}

.card-title-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}

.card-title-row h2,
.home-card h2{
    font-size:22px;
}

.card-title-row span{
    padding:6px 10px;
    border-radius:999px;
    background:#eef4ff;
    color:#2d6cdf;
    font-size:12px;
    font-weight:700;
}

.summary-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
}

.summary-grid div{
    padding:18px 12px;
    border-radius:16px;
    background:#f4f7fb;
    text-align:center;
}

.summary-grid strong{
    display:block;
    margin-bottom:5px;
    color:#2d6cdf;
    font-size:30px;
}

.summary-grid span{
    color:#66748a;
    font-size:13px;
}

.menu-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
}

.menu-grid a{
    padding:24px 10px;
    border-radius:18px;
    background:#f4f7fb;
    text-align:center;
    text-decoration:none;
    color:#243246;
    font-size:32px;
    transition:.15s;
}

.menu-grid a:hover{
    transform:translateY(-3px);
}

.menu-grid span{
    display:block;
    margin-top:10px;
    font-size:14px;
    font-weight:700;
}

.quick-list{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    margin-top:16px;
}

.quick-list a{
    padding:16px;
    border-radius:14px;
    background:#f4f7fb;
    color:#243246;
    text-decoration:none;
    font-weight:700;
}

@media (max-width:720px){
    .home-page{
        padding:18px;
    }

    .home-header{
        align-items:flex-start;
    }

    .home-logo{
        font-size:22px;
    }

    .welcome-panel h1{
        font-size:28px;
    }

    .summary-grid,
    .menu-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .quick-list{
        grid-template-columns:1fr;
    }
}