:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --text: #1d2735;
    --muted: #6d7785;
    --accent: #1b5cff;
    --accent-soft: #ebf1ff;
    --border: #dfe6f2;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
}

.top-note {
    background: #eef3ff;
    border-bottom: 1px solid var(--border);
    color: #3f4b5f;
}

.hero-section {
    background: linear-gradient(180deg, #f9fbff 0%, #f3f7ff 100%);
    border-bottom: 1px solid var(--border);
}

.hero-section .container,
.breaking-strip .container,
.article-section .container,
.legal-section .container {
    max-width: 980px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.84rem;
    color: #59647a;
}

.share-row {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    border: 1px solid #ced9f0;
    background: #fff;
    color: #3d4e70;
}

.eyebrow {
    display: inline-block;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--accent);
    letter-spacing: 0.02em;
}

.text-accent {
    color: var(--accent);
}

.badge-soft {
    background: var(--accent-soft);
    color: #2148a6;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.highlight-card,
.content-card,
.quiz-card,
.cta-panel,
.legal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
}

.highlight-card {
    padding: 1rem;
}

.highlight-card ul {
    padding-left: 1.15rem;
}

.section-title {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.breaking-strip {
    background: #f1f5ff;
    border-top: 1px solid #dce5f8;
    border-bottom: 1px solid #dce5f8;
}

.breaking-badge {
    font-size: 0.75rem;
    font-weight: 800;
    background: #2d65ff;
    color: #fff;
    border-radius: 0.35rem;
    padding: 0.18rem 0.45rem;
}

.breaking-text {
    font-size: 0.92rem;
    color: #2c3a56;
}

.content-card h3 {
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.content-card p,
.content-card li {
    color: #2a3342;
}

.info-box {
    background: #f6f9ff;
    border: 1px solid #d7e3ff;
    border-radius: 0.75rem;
    padding: 1rem;
    margin: 1rem 0;
}

.insight-banner {
    background: linear-gradient(90deg, #eef3ff 0%, #f7f9ff 100%);
    border: 1px solid #d6e2ff;
    border-left: 4px solid #3a73ff;
    border-radius: 0.75rem;
    padding: 0.9rem 1rem;
}

.doc-card {
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem;
    background: #fcfdff;
    height: 100%;
}

.doc-card h4 {
    font-size: 1rem;
    font-weight: 700;
}

.chart-card {
    background: #ffffff;
    border: 1px solid #dbe5fb;
    border-radius: 0.75rem;
    padding: 0.8rem 0.9rem;
}

.chart-wrap {
    position: relative;
    height: 260px;
}

.chart-wrap canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.caption-note {
    font-size: 0.78rem;
    color: #6f7891;
}

.faq-list details {
    border: 1px solid var(--border);
    border-radius: 0.65rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    background: #ffffff;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 600;
}

.case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1rem 0 0.5rem;
}

.case-item {
    border: 1px solid #dce6fc;
    background: #f9fbff;
    border-radius: 0.75rem;
    padding: 0.8rem;
}

.case-label {
    margin-bottom: 0.45rem;
    font-size: 0.85rem;
    color: #2d5fd6;
    font-weight: 700;
}

.sticky-wrap {
    position: sticky;
    top: 1rem;
}

.quiz-question {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
}

.option-btn {
    display: block;
    width: 100%;
    margin-bottom: 0.55rem;
    border: 1px solid #ccd9ff;
    background: #f7f9ff;
    color: #1f2f4f;
    text-align: left;
    transition: all 0.2s ease;
}

.option-btn:hover,
.option-btn:focus {
    border-color: #9eb7ff;
    background: #edf3ff;
}

.progress {
    height: 0.9rem;
}

.progress-bar {
    background: linear-gradient(90deg, #2f69ff, #487dff);
    font-size: 0.7rem;
    font-weight: 700;
}

.matching-screen {
    text-align: center;
    padding: 1.5rem 0.25rem;
}

.result-card {
    border-top: 1px dashed #cdd9f6;
    margin-top: 1rem;
    padding-top: 1rem;
}

.result-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #3358ad;
}

.cta-panel ul {
    padding-left: 1.1rem;
}

.legal-section {
    background: #f8f9fc;
}

.legal-card {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: #465063;
}

footer {
    border-top: 1px solid var(--border);
    background: #f8faff;
}

.site-footer-company {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #eef3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #2d65ff;
    flex: 0 0 auto;
}

.footer-company-name {
    font-weight: 900;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.footer-contact {
    color: #57647b;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.site-footer-bottom {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.floating-cta {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 14px;
    z-index: 1040;
    background: linear-gradient(90deg, #295fff, #4e7fff);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.72rem 1.1rem;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(39, 87, 209, 0.34);
}

@media (max-width: 992px) {
    .sticky-wrap {
        position: static;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.4rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

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

    .chart-wrap {
        height: 220px;
    }
}
