:root {
    --bg: #061119;
    --bg-alt: #0a1c27;
    --surface: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.17);
    --text: #f4f7f9;
    --text-soft: #c3d0d8;
    --accent: #ffb100;
    --mint: #00c2a8;
    --font-body: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    --font-display: 'Space Grotesk', var(--font-body);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.75;
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 177, 0, 0.14), transparent 35%),
        radial-gradient(circle at 100% 20%, rgba(0, 194, 168, 0.11), transparent 37%),
        linear-gradient(140deg, #061119, #0a1c27);
    min-height: 100vh;
}

a {
    color: inherit;
}

.blog-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(6, 17, 25, 0.84);
    backdrop-filter: blur(10px);
}

.blog-logo {
    font-family: var(--font-display);
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.03em;
}

.blog-logo span {
    color: var(--accent);
}

.blog-nav a {
    text-decoration: none;
    color: var(--text-soft);
}

.blog-shell {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0 80px;
}

.blog-head {
    margin-bottom: 28px;
}

.blog-kicker {
    color: var(--mint);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: var(--font-display);
    margin-bottom: 8px;
}

.blog-head h1 {
    font-family: var(--font-display);
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.blog-head p {
    color: var(--text-soft);
    margin-top: 14px;
    max-width: 74ch;
}

.post-list {
    display: grid;
    gap: 12px;
}

.post-card {
    background: rgba(10, 28, 39, 0.82);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
}

.post-meta {
    color: var(--mint);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    font-family: var(--font-display);
}

.post-card h2 {
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: 8px;
    font-size: clamp(24px, 3.2vw, 34px);
}

.post-card p {
    color: var(--text-soft);
    margin-bottom: 12px;
}

.post-card a {
    color: var(--accent);
    font-weight: 700;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.article {
    background: rgba(10, 28, 39, 0.84);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
}

.article-header {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 18px;
}

.article-meta {
    color: var(--mint);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    font-family: var(--font-display);
}

.article h1 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.16;
    letter-spacing: -0.02em;
}

.article h2 {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 31px);
    margin-top: 28px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.article h3 {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.4vw, 25px);
    margin-top: 20px;
    margin-bottom: 8px;
}

.article p {
    color: var(--text-soft);
    margin-bottom: 12px;
}

.article ul,
.article ol {
    margin: 10px 0 14px 22px;
    color: var(--text-soft);
}

.article li {
    margin-bottom: 6px;
}

.article strong {
    color: #f6f8f9;
}

.callout {
    border-left: 4px solid var(--accent);
    background: rgba(255, 177, 0, 0.09);
    padding: 13px 14px;
    margin: 16px 0;
    border-radius: 8px;
}

.back-links {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.back-links a {
    text-decoration: none;
    color: #0d1300;
    background: var(--accent);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 700;
}

@media (max-width: 760px) {
    .blog-nav {
        height: 64px;
        padding: 0 14px;
    }

    .blog-shell {
        width: min(960px, calc(100% - 22px));
        padding-top: 28px;
    }

    .article {
        padding: 20px;
    }
}
