@charset "UTF-8";

:root {
    --bg: #0d1117;
    --card: #161b22;
    --muted: #21262d;
    --line: #30363d;
    --text: #e6edf3;
    --subtle: #8b949e;
    --primary: #0969da;
    --primary-hover: #1f6feb;
    --danger: #f85149;
    --danger-soft: rgba(248, 81, 73, .14);
    --blue-soft: rgba(9, 105, 218, .16);
    --shadow: 0 18px 45px rgba(1, 4, 9, .34);
}

* {
    box-sizing: border-box;
}

body {
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: var(--text);
    font-family: "Malgun Gothic", "맑은 고딕", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    background:
        radial-gradient(circle at 22% 18%, rgba(37, 99, 235, .18), transparent 32%),
        radial-gradient(circle at 78% 8%, rgba(14, 165, 233, .12), transparent 28%),
        linear-gradient(145deg, #050816 0%, #0d1117 46%, #111827 100%);
    min-height: 100vh;
}

a {
    color: #58a6ff;
}

.app-header {
    border-bottom: 1px solid rgba(48, 54, 61, .9);
    background: rgba(13, 17, 23, .86);
}

.header-inner {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
    flex: 0 0 auto;
}

.brand-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
}

.session-card {
    min-width: 170px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(22, 27, 34, .92);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.session-label {
    color: var(--subtle);
    font-size: 13px;
}

.session-card strong {
    color: #79c0ff;
    font-size: 24px;
    line-height: 1;
}

.page-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 28px auto 48px;
}

.guide-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(22, 27, 34, .96);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.section-head {
    padding: 26px 28px 20px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(33, 38, 45, .82), rgba(22, 27, 34, .96));
}

.section-label {
    display: flex;
    align-items: center;
    color: #79c0ff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.section-label:before {
    content: "";
    width: 4px;
    height: 18px;
    margin-right: 8px;
    border-radius: 999px;
    background: var(--primary);
}

h1,
h2 {
    margin: 0;
    letter-spacing: 0;
}

h1 {
    margin-top: 10px;
    font-size: 28px;
    line-height: 1.25;
}

h2 {
    font-size: 17px;
}

.notice-line {
    margin: 24px 28px 0;
    padding: 14px 16px;
    border: 1px solid rgba(88, 166, 255, .28);
    border-radius: 8px;
    color: #c9d1d9;
    background: rgba(9, 105, 218, .09);
}

.download-section {
    margin: 18px 28px 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(13, 17, 23, .54);
}

.manual-section {
    margin-top: 14px;
}

.download-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.download-note strong {
    display: block;
    font-size: 15px;
    line-height: 1.35;
}

.download-note span:not(.step-badge) {
    color: var(--subtle);
    font-size: 13px;
}

.step-badge {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    flex: 0 0 auto;
}

.step-badge.primary {
    background: var(--primary);
}

.step-badge.danger {
    background: #da3633;
}

.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.download-actions.two-col {
    display: flex;
}

.download-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: min(100%, 410px);
}

.btn--cta {
    width: min(100%, 360px);
    min-height: 58px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: 0;
    text-decoration: none;
    color: var(--text);
    background: var(--card);
    cursor: pointer;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 10px;
    align-items: center;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.btn--cta span,
.btn--cta small {
    grid-column: 2;
}

.btn--cta > span:not(.step-badge) {
    font-weight: 700;
    line-height: 1.25;
}

.btn--cta small {
    margin-top: 2px;
    color: var(--subtle);
    font-size: 12px;
}

.btn--cta:hover {
    border-color: rgba(88, 166, 255, .64);
    background: rgba(9, 105, 218, .16);
    transform: translateY(-1px);
}

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

.icon__windows,
.icon__userguide {
    width: 28px;
    height: 28px;
    display: inline-block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    grid-column: 1;
    grid-row: 1 / span 2;
}

.icon__windows {
    background-image: url('../images/icon_windows.png');
}

.icon__userguide {
    background-image: url('../images/icon_userguide.png');
}

.support-flow {
    margin: 18px 28px 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(13, 17, 23, .54);
}

.flow-main {
    margin-top: 14px;
    display: grid;
    grid-template-columns: minmax(360px, 48%) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
}

.flow-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
    align-self: center;
}

.flow-steps li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.flow-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    background: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.flow-steps strong {
    display: block;
    line-height: 1.35;
}

.flow-steps p {
    margin: 5px 0 0;
    color: #c9d1d9;
}

.flow-warning {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(248, 81, 73, .3);
    border-radius: 7px;
    color: #ffb4ad;
    background: var(--danger-soft);
}

.flow-image {
    min-width: 0;
}

.flow-image img {
    width: 100%;
    max-width: 520px;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: block;
    background: #fff;
}

.reference-panel {
    margin: 18px 28px 28px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(13, 17, 23, .54);
}

.reference-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr) minmax(0, .9fr);
    gap: 12px;
}

.reference-card {
    min-width: 0;
    padding: 15px;
    border: 1px solid rgba(48, 54, 61, .72);
    border-radius: 7px;
    background: rgba(22, 27, 34, .72);
}

.reference-card h3 {
    margin: 0;
    color: #e6edf3;
    font-size: 15px;
}

.reference-card p {
    margin: 10px 0 0;
    color: #c9d1d9;
}

.reference-card dl {
    margin: 12px 0 0;
    display: grid;
    gap: 9px;
}

.reference-card dl div {
    padding-left: 10px;
    border-left: 3px solid var(--line);
}

.reference-card dt {
    color: #79c0ff;
    font-weight: 700;
}

.reference-card dd {
    margin: 2px 0 0;
    color: #c9d1d9;
}

.reference-list strong {
    margin-right: 8px;
    color: #79c0ff;
}

.accent-blue {
    color: #79c0ff;
    font-weight: 700;
}

.accent-red {
    color: #ff7b72 !important;
    font-weight: 700;
}

.code-chip {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 7px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: #e6edf3;
    background: var(--muted);
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
}

.blue {
    color: #79c0ff;
    font-weight: 700;
}

.red {
    color: #ff7b72;
    font-weight: 700;
}

@media (max-width: 820px) {
    .header-inner,
    .page-shell {
        width: min(100% - 24px, 1120px);
    }

    .header-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .session-card {
        width: 100%;
    }

    .download-actions.two-col,
    .flow-main,
    .reference-grid {
        grid-template-columns: 1fr;
    }

    .download-actions.two-col {
        display: grid;
    }

    .flow-image {
        max-width: 420px;
    }

    .section-head,
    .notice-line,
    .download-section,
    .support-flow,
    .reference-panel {
        margin-left: 16px;
        margin-right: 16px;
    }

    .section-head {
        padding: 22px 16px 18px;
    }
}

@media (max-width: 520px) {
    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .brand-title {
        font-size: 24px;
    }

    h1 {
        font-size: 23px;
    }
}
