@font-face {
    font-family: "Pretendard";
    src: url("/hwp/fonts/Pretendard-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Pretendard";
    src: url("/hwp/fonts/Pretendard-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Pretendard";
    src: url("/hwp/fonts/Pretendard-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Pretendard";
    src: url("/hwp/fonts/Pretendard-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #0f1620;
    --muted: #56657a;
    --line: #d6e0ec;
    --field: #f5f8fc;
    --accent: #2b6cb0;
    --accent-strong: #1f5188;
    --accent-soft: rgba(43, 108, 176, 0.08);
    --paper: #ffffff;
    --shadow: 0 28px 80px rgba(15, 22, 32, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--field);
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    font-family:
        "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    letter-spacing: 0;
    background:
        linear-gradient(90deg, rgba(43, 108, 176, 0.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(43, 108, 176, 0.06) 1px, transparent 1px),
        var(--field);
    background-size: 44px 44px;
}

a {
    color: inherit;
}

.page-shell {
    min-height: 100vh;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.intro {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(20px, 3vw, 36px);
    justify-content: center;
    width: min(960px, 100%);
    margin: 0 auto;
}

.brand-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(16px, 2.5vw, 28px);
}

.brand-hero .logo {
    width: clamp(80px, 10vw, 110px);
    height: clamp(80px, 10vw, 110px);
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(43, 108, 176, 0.22);
}

.logo {
    border-radius: 6px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.brand-title {
    margin: 0;
    font-size: clamp(1.5rem, 3.4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.brand-acronym {
    margin-left: 4px;
    color: var(--muted);
    font-size: 0.62em;
    font-weight: 700;
    letter-spacing: 0;
    vertical-align: 0.12em;
}

.brand-subtitle {
    margin: 0;
    color: var(--muted);
    font-size: clamp(0.95rem, 1.7vw, 1.15rem);
    font-weight: 500;
}

.cta-button {
    display: block;
    width: 100%;
    max-width: 460px;
    padding: clamp(16px, 2vw, 22px) clamp(28px, 3.5vw, 40px);
    border: none;
    border-radius: 14px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    letter-spacing: -0.005em;
    box-shadow:
        0 14px 32px rgba(43, 108, 176, 0.24),
        0 2px 6px rgba(43, 108, 176, 0.14);
    transition:
        background 0.18s ease,
        transform 0.15s ease,
        box-shadow 0.18s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
    background: var(--accent-strong);
    transform: translateY(-2px);
    box-shadow:
        0 18px 40px rgba(43, 108, 176, 0.32),
        0 3px 10px rgba(43, 108, 176, 0.18);
    outline: none;
}

.cta-button:active {
    transform: translateY(0);
}

.text-link {
    color: var(--accent-strong);
    font-weight: 700;
    text-decoration-color: rgba(43, 108, 176, 0.35);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.text-link:hover {
    text-decoration-color: currentColor;
}

.links {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.links .text-link {
    margin: 0 2px;
}

.screenshot-card {
    align-self: center;
    width: 100%;
    max-width: 320px;
}

.screenshot-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.screenshot-frame {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    box-shadow: var(--shadow);
    overflow: hidden;
    transform: perspective(1100px) rotateY(-3deg) rotateX(1deg);
    transition: transform 0.25s ease;
}

.screenshot-link:hover .screenshot-frame {
    transform: perspective(1100px) rotateY(-1.5deg) rotateX(0.5deg)
        translateY(-3px);
}

.screenshot-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    background: var(--field);
    font-size: 0.78rem;
    color: var(--muted);
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.dot-r {
    background: #ff5f57;
}

.dot-y {
    background: #febc2e;
}

.dot-g {
    background: #28c840;
}

.screenshot-url {
    margin-left: 12px;
    font-family:
        "D2Coding", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.76rem;
}

.screenshot-img {
    display: block;
    width: 100%;
    height: auto;
    background: #fafcff;
}

.site-footer {
    width: min(1180px, 100%);
    margin: 16px auto 0;
    padding: 12px 0 4px;
    color: var(--muted);
    font-size: 0.86rem;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dot-sep {
    opacity: 0.5;
}

@media (max-width: 880px) {
    .screenshot-card {
        max-width: 100%;
    }

    .screenshot-frame {
        transform: none;
    }
}

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