* {
    box-sizing: border-box;
}


html {
    scrollbar-gutter: stable;
}


body {
    min-height: 100vh;

    margin: 0;

    background-color: #fff7ed;

    color: #222;

    font-family:
        "Inter",
        "Noto Sans KR",
        sans-serif;
}


/* =========================
   HEADER
========================= */

.top-bar {
    max-width: 1120px;

    margin: 0 auto;

    padding: 22px 24px;

    display: flex;

    justify-content: space-between;
    align-items: center;
}


/* =========================
   LOGO
========================= */

.logo-slot {
    width: 110px;
    height: 45px;

    display: flex;

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

    border: 1px dashed #d8d8d8;

    border-radius: 10px;

    color: #aaa;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 1px;
}


.logo-slot img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================
   LANGUAGE
========================= */

.language-button {
    display: flex;
    align-items: center;

    gap: 7px;

    padding: 9px 16px;

    border: none;
    border-radius: 999px;

    background-color: #222;

    color: white;

    cursor: pointer;
}


.language-option {
    color: #777;

    font-size: 10px;
    font-weight: 400;

    transition:
        font-size 0.2s ease,
        color 0.2s ease,
        font-weight 0.2s ease;
}


.language-option.active {
    color: white;

    font-size: 13px;
    font-weight: 700;
}


.language-divider {
    color: #666;

    font-size: 10px;
}


/* =========================
   HOME
========================= */

.home {
    width: min(100% - 36px, 1080px);

    margin: 0 auto;

    padding: 65px 0 60px;
}


/* =========================
   HERO
========================= */

.hero {
    max-width: 650px;

    margin-bottom: 42px;
}


.hero-label {
    margin: 0 0 8px;

    color: #ff5a00;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.6px;
}


.hero h1 {
    margin: 0;

    font-size: clamp(42px, 6vw, 70px);

    line-height: 1;

    font-weight: 800;

    letter-spacing: -3px;
}


.hero-description {
    margin: 17px 0 0;

    color: #999;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================
   PORTAL GRID
========================= */

.portal-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


/* =========================
   PORTAL CARD
========================= */

.portal-card {
    min-height: 330px;

    padding: 28px;

    display: flex;
    flex-direction: column;

    border: 1px solid #f0ece7;
    border-radius: 24px;

    background-color: white;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}


.portal-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 35px
        rgba(0, 0, 0, 0.045);
}


.portal-icon {
    width: 50px;
    height: 50px;

    display: flex;

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

    margin-bottom: 30px;

    border-radius: 14px;

    background-color: #fff3ea;

    font-size: 22px;
}


.portal-content {
    flex: 1;
}


.portal-label {
    margin: 0 0 7px !important;

    color: #ff5a00 !important;

    font-size: 10px !important;
    font-weight: 800 !important;

    letter-spacing: 1.3px;
}


.portal-card h2 {
    margin: 0;

    font-size: 25px;
    font-weight: 800;

    letter-spacing: -0.7px;
}


.portal-card p {
    margin: 10px 0 0;

    color: #999;

    font-size: 13px;
    line-height: 1.6;
}


/* =========================
   BUTTONS
========================= */

.portal-button {
    width: 100%;

    margin-top: 28px;

    padding: 15px 17px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    border: none;
    border-radius: 12px;

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

    cursor: pointer;

    transition:
        background-color 0.18s ease,
        transform 0.18s ease;
}


.portal-button:active {
    transform: scale(0.99);
}


.portal-button.primary {
    background-color: #ff5a00;

    color: white;
}


.portal-button.primary:hover {
    background-color: #e65000;
}


.portal-button.secondary {
    background-color: #222;

    color: white;
}


.portal-button.secondary:hover {
    background-color: #3a3a3a;
}


.arrow {
    font-size: 17px;

    transition: transform 0.18s ease;
}


.portal-button:hover .arrow {
    transform: translateX(3px);
}


/* =========================
   INFO
========================= */

.info-panel {
    margin-top: 18px;

    padding: 17px 20px;

    border: 1px solid #efe9e2;
    border-radius: 14px;

    background-color:
        rgba(255, 255, 255, 0.65);

    color: #888;

    font-size: 11px;
}


.info-panel > div {
    display: flex;

    align-items: center;

    gap: 9px;
}


.info-dot {
    width: 6px;
    height: 6px;

    flex-shrink: 0;

    border-radius: 50%;

    background-color: #ff5a00;
}


/* =========================
   FOOTER
========================= */

footer {
    max-width: 1080px;

    margin: 0 auto;

    padding: 0 24px 30px;

    color: #bbb;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 0.6px;
}


.footer-divider {
    margin: 0 5px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .top-bar {
        padding: 16px 18px;
    }


    .home {
        width: min(100% - 28px, 1080px);

        padding-top: 45px;
    }


    .hero {
        margin-bottom: 30px;
    }


    .hero h1 {
        letter-spacing: -2px;
    }


    .portal-grid {
        grid-template-columns: 1fr;
    }


    .portal-card {
        min-height: 280px;

        padding: 24px;
    }


    footer {
        padding: 0 18px 24px;
    }

}