@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

:root {
    font-family: "Pretendard Variable", Pretendard, sans-serif;
    background: #eeede8;
    color: #161616;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-width: 320px;
    min-height: 100%;
}

body {
    margin: 0;
    background: #eeede8;
}

a {
    color: inherit;
}

.page {
    width: min(100% - 64px, 1180px);
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 92px;
    border-bottom: 1px solid #b9b8b2;
}

.wordmark {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.version {
    color: #66655f;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 0.69rem;
    letter-spacing: 0.02em;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 64px;
    align-items: end;
    min-height: 58vh;
    padding: 88px 0 70px;
}

.hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(4rem, 8.5vw, 7.6rem);
    font-weight: 610;
    letter-spacing: -0.085em;
    line-height: 0.95;
    word-break: keep-all;
}

.hero__copy p {
    margin: 42px 0 0;
    color: #5f5e58;
    font-size: 1rem;
    line-height: 1.72;
    word-break: keep-all;
}

.download {
    padding-bottom: 7px;
}

.download p {
    margin: 0 0 16px;
    color: #5f5e58;
    font-size: 0.78rem;
}

.download-button {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 0 20px;
    background: #191919;
    color: #f5f4ef;
    font-size: 0.93rem;
    font-weight: 590;
    text-decoration: none;
    transition: background 140ms ease;
}

.download-button:hover {
    background: #245cc7;
}

.download-button:focus-visible,
.notice-item summary:focus-visible,
.wordmark:focus-visible {
    outline: 2px solid #245cc7;
    outline-offset: 4px;
}

.download small {
    display: block;
    margin-top: 10px;
    color: #87857d;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 0.65rem;
}

.notice {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) minmax(0, 3fr);
    border-top: 1px solid #191919;
    border-bottom: 1px solid #b9b8b2;
}

.notice__header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 20px 24px 0;
    border-right: 1px solid #b9b8b2;
}

.notice__header h2 {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 650;
}

.notice__header span {
    margin-top: 46px;
    color: #87857d;
    font-size: 0.69rem;
}

.notice-item summary {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    gap: 20px;
    align-items: center;
    min-height: 72px;
    padding: 0 0 0 24px;
    cursor: pointer;
    list-style: none;
}

.notice-item summary::-webkit-details-marker {
    display: none;
}

.notice-item time {
    color: #77766f;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 0.69rem;
}

.notice-item strong {
    font-size: 0.86rem;
    font-weight: 570;
}

.notice-item__toggle {
    padding-right: 4px;
    color: #77766f;
    font-size: 0.69rem;
}

.notice-item[open] .notice-item__toggle {
    color: transparent;
}

.notice-item[open] .notice-item__toggle::after {
    color: #77766f;
    content: "닫기";
}

.notice-item > p {
    max-width: 570px;
    margin: 0;
    padding: 0 48px 28px 174px;
    color: #5f5e58;
    font-size: 0.8rem;
    line-height: 1.7;
    word-break: keep-all;
}

@media (max-width: 760px) {
    .page {
        width: min(100% - 32px, 1180px);
    }

    .site-header {
        height: 72px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 52px;
        min-height: auto;
        padding: 72px 0 62px;
    }

    .hero h1 {
        font-size: clamp(3.5rem, 17vw, 6rem);
    }

    .hero__copy p {
        margin-top: 30px;
    }

    .download {
        max-width: 360px;
    }

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

    .notice__header {
        flex-direction: row;
        padding: 18px 0;
        border-right: 0;
        border-bottom: 1px solid #b9b8b2;
    }

    .notice__header span {
        margin-top: 0;
    }

    .notice-item summary {
        grid-template-columns: 1fr auto;
        gap: 7px 16px;
        padding: 16px 0;
    }

    .notice-item time,
    .notice-item strong {
        grid-column: 1;
    }

    .notice-item__toggle {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .notice-item > p {
        padding: 0 44px 24px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
