@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&family=Montserrat:wght@700;800;900&family=Noto+Sans+KR:wght@400;600;700;900&display=swap');

:root {
    --bg: #070b17;
    --panel: rgba(12, 16, 31, 0.74);
    --line: rgba(255, 255, 255, 0.11);
    --text: #f7faff;
    --muted: rgba(236, 241, 255, 0.74);
    --soft: rgba(236, 241, 255, 0.58);
    --gold: #ffd87a;
    --cyan: #8be5ff;
    --violet: #9488ff;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 12%, rgba(148, 136, 255, 0.22), transparent 34%),
        radial-gradient(circle at 84% 22%, rgba(139, 229, 255, 0.13), transparent 28%),
        radial-gradient(circle at 12% 78%, rgba(255, 216, 122, 0.1), transparent 26%),
        linear-gradient(180deg, #070b17, #0b1227 54%, #050710);
    color: var(--text);
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    padding: 28px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.8) 0 1px, transparent 1.8px),
        radial-gradient(circle, rgba(139,229,255,0.55) 0 1px, transparent 1.7px);
    background-size: 130px 130px, 190px 190px;
    background-position: 12px 18px, 80px 44px;
    opacity: 0.28;
}

a { color: inherit; }

.page {
    position: relative;
    z-index: 1;
    width: min(1040px, 100%);
    margin: 0 auto;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 34px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff, var(--gold) 48%, rgba(255,216,122,0.1));
    box-shadow: 0 0 22px rgba(255,216,122,0.72);
}

.nav-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: rgba(247,250,255,0.86);
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
}

.hero {
    margin-bottom: 24px;
}

.kicker {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1 {
    margin: 10px 0 12px;
    font-family: 'Montserrat', 'Inter', 'Noto Sans KR', sans-serif;
    font-size: clamp(42px, 7vw, 84px);
    line-height: 0.98;
    letter-spacing: -0.07em;
    background: linear-gradient(135deg, #fff7c2, #8be5ff 48%, #9488ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    margin: 0;
    max-width: 760px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.panel {
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 0%, rgba(255,216,122,0.1), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035));
    box-shadow: 0 30px 90px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.08);
    padding: clamp(22px, 4vw, 38px);
    backdrop-filter: blur(18px);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(8, 13, 29, 0.52);
    text-decoration: none;
}

.card strong {
    color: #fff;
    font-size: 17px;
}

.card span {
    color: var(--muted);
    line-height: 1.65;
}

section + section {
    margin-top: 30px;
}

h2 {
    margin: 0 0 12px;
    font-size: 24px;
    letter-spacing: -0.04em;
}

h3 {
    margin: 22px 0 8px;
    font-size: 18px;
    letter-spacing: -0.03em;
}

p, li {
    color: var(--muted);
    line-height: 1.78;
}

ul, ol {
    margin: 0;
    padding-left: 21px;
}

.note {
    margin-top: 24px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(139,229,255,0.18);
    background: rgba(139,229,255,0.07);
    color: rgba(247,250,255,0.88);
    font-weight: 800;
}

.toc {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 0;
}

.toc a {
    padding: 9px 12px;
    border-radius: 999px;
    color: rgba(247,250,255,0.86);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    color: var(--soft);
    font-size: 13px;
}

.footer a {
    color: rgba(247,250,255,0.82);
    text-decoration: none;
    font-weight: 800;
}

@media (max-width: 640px) {
    body { padding: 18px; }
    .nav {
        align-items: flex-start;
        flex-direction: column;
    }
    .nav-actions {
        justify-content: flex-start;
    }
    h1 {
        font-size: clamp(38px, 15vw, 58px);
    }
}
