/* 청년 신용점수 관리 — subpage/credit.html */

.page-credit [id^="section-"] {
    scroll-margin-top: 88px;
}

.credit-hero {
    position: relative;
    padding: 52px 0 48px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.credit-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #1e3a8a 0%, #6366f1 50%, #7c3aed 100%);
}

.credit-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.credit-hero__title {
    font-size: clamp(1.5rem, 3.5vw, 2.05rem);
    font-weight: 800;
    margin: 0 0 12px;
}

.credit-hero__lead {
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.94);
    margin: 0;
}

.credit-section {
    padding: 48px 0;
    background: #f8fafc;
}

.credit-section--white {
    background: #fff;
}

.credit-intro {
    max-width: 720px;
    margin: 0 auto;
    padding: 22px 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    line-height: 1.75;
    color: #475569;
}

.credit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 960px) {
    .credit-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.credit-card {
    padding: 18px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.credit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.1);
}

.credit-card--bad {
    border-color: #fecdd3;
    background: #fff1f2;
}

.credit-card h3 {
    font-size: 15px;
    margin: 0 0 8px;
    color: #1e293b;
}

.credit-card p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

.credit-check {
    max-width: 520px;
    margin: 0 auto;
}

.credit-check label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
}

.credit-check input {
    margin-top: 3px;
}

.credit-score-bar {
    height: 14px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin: 16px 0 8px;
}

.credit-score-bar__fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #6366f1, #22d3ee);
    width: 0%;
    transition: width 0.5s ease;
}

.credit-score-text {
    font-size: 14px;
    font-weight: 700;
    color: #4f46e5;
    text-align: center;
}

.credit-quiz {
    max-width: 560px;
    margin: 0 auto;
}

.credit-quiz__q {
    font-size: 15px;
    font-weight: 700;
    margin: 16px 0 10px;
    color: #1e293b;
}

.credit-quiz__opts label {
    display: block;
    padding: 10px 12px;
    margin-bottom: 6px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    font-size: 14px;
}

.credit-challenge {
    max-width: 640px;
    margin: 0 auto;
    padding: 20px 18px;
    border-radius: 18px;
    border: 2px dashed #c7d2fe;
    background: linear-gradient(180deg, #fafbff, #fff);
}

.credit-challenge ol {
    margin: 10px 0 0;
    padding-left: 1.2em;
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

.credit-faq {
    padding: 56px 0 72px;
    background: #fff;
}
