:root {
    --bg: #f7f6f3;
    --surface: #ffffff;
    --surface-muted: #fafaf9;
    --line: #e5e5e5;
    --text: #171717;
    --text-sub: #525252;
    --text-soft: #737373;
    --black: #0a0a0a;
    --blue: #00B2E8;
    --blue-light: rgb(40 151 201 / 8%);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --shadow: 0 20px 80px rgba(0, 0, 0, 0.06);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
    color: var(--text);
    line-height: 1.6;
    letter-spacing: -0.02;
}

button,
input {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hairon-diagnosis {
    padding: 0;
}

.container {
    max-width: 100%;
    margin: 0;
    float: left;
}

.hero {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
}



.hero-side {
    width: 100%;
    height: 82px;
    float: left;
    overflow: hidden;
    display: block !important;
    background: #f1f1f1;
    border: unset;
    border-radius: 10px;
    padding: 20px 35px;
    margin: 0 0 20px 0;
    color: #101010 !important;

}

.eyebrow {
    display: inline-flex;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-muted);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-sub);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero h1 {
    margin: 24px 0 0;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.hero-copy {
    margin: 24px 0 0;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-sub);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.tag {
    padding: 10px 14px;
    border-radius: 999px;
    background: #f3f4f6;
    font-size: 14px;
    color: var(--text-sub);
}

.progress-label {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 500;
}

.progress-track {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
}

.progress-bar {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: #00B2E8;
    transition: width 0.35s ease;
}

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

.step-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 700;
}

.hero-note {
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.78);
}




.main-grid {
    display: grid;
    float: left;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 32px;
    align-items: start;
    margin-bottom: 50vh;

}
.stack {
    max-width: 691px;
    display: grid;
    gap: 32px;
    float: left;
}
.result-column {
    width: 100%;
    max-width: 589px;
    float: left;
}












.card {
    width: 100%;
    float: left;
    margin: 0 0 35px 0;
}
.card .section-title {
    margin: 12px 0;
    font-size: 36px;
    line-height: 1.24;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.card .section-title > span {
    color: #00B2E8;
}
.card .section-desc {
    margin: 10px 0 35px 0 !important;
    max-width: 920px;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.36;
    color: #454545;
}
.question-grid {
    width: 100%;
    float: left;
    display: block;
}
.question-grid .check-card {
    position: relative;
    display: block;
    width: 100%;
    float: left;
    margin: 0 0 10px 0;
    border: 1px solid var(--line);
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 100%;
    border-radius: 3px;
}

.question-grid .check-card:hover {
    border-color: #101010;
    background: #fff;
}

.check-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check-mark {
    display: none;

    position: absolute;
    left: 18px;
    top: 18px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1.5px solid #c5c5c5;
    transition: all 0.2s ease;
}

.check-card.active {
    background: rgba(40, 151, 201, .08) !important;
    border-color: #00B2E8 !important;
    color: #101010 !important;

}
.check-card.active .check-text {
    font-weight: 600;
}
.check-card.active .check-mark {
    background: #fff;
    border-color: #fff;
    box-shadow: inset 0 0 0 6px var(--blue);
}

.check-text {
    float: left;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.36;
    color: #454545;
}

.type-grid {
    width: 100%;
    display: block;
    margin: 0;
    float: left;
}

.type-grid .type-card-wrap {
    width: 100%;
    float: left;
    position: relative;
    margin: 0 0 10px 0;
}
.type-grid .type-card-wrap .type-detail-link {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-image: url("../images/icons/icon-info.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    border-radius: 50%;
    font-size: 0;
    background-color: transparent;
    transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
}
.type-grid .type-card-wrap .type-detail-link:hover {
    border: none;
    background-color: #f9f9f9;
    transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
}
.type-grid .type-card {
    width: 100%;
    float: left;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--surface);
    padding: 15px 45px 15px 20px;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.type-card:hover {
    border-color: #101010;
}

.type-card.active {
    background: rgba(40, 151, 201, .08) !important;
    border-color: #00B2E8 !important;
    color: #101010 !important;
}

.type-title {
    width: 100%;
    float: left;
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.type-summary {
    width: 100%;
    float: left;
    margin: 0;
    font-size: 16px;
    line-height: 1.36;
    color: inherit;
}

.type-signs {
    display: none;
    width: 100%;
    float: left;
    margin: 10px 0 0 0;
    padding: 0;
    list-style: none;
}

.type-signs li {
    position: relative;
    padding-left: 14px;
    font-size: 14px;
    line-height: 1.36;
}

.type-signs li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: currentColor;
}

.detail-grid {
    width: 100%;
    float: left;
    display: block;
}

.detail-grid .detail-box {
    padding: 15px 20px;
    border-radius: 5px;
    background: #f9f9f9;
    margin: 0 0 10px 0;
}

.detail-grid .detail-box h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    background-color: #fff;
    color: #101010;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.pill:hover {
    border-color: #101010;
}

.pill.active {
    background: rgba(40, 151, 201, .08) !important;
    border-color: #00B2E8 !important;
    color: #101010 !important;
    font-weight: 500;
}

.action-row {
    width: 100%;
    float: left;
    display: block;
    margin: 35px 0 15px 0;
}

.btn {
    appearance: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.18s ease;
    text-decoration: none;
    align-items: center;

    display: block;
    float: left;
    height: 44px;
    line-height: 44px;
    padding: 0 20px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    position: relative;
}

.btn-dark {
    width: calc(100% - 160px);
    border-color: transparent;
    background: var(--blue);
    color: #fff;
}

.btn-dark:hover {
   border-color: transparent;
}

.btn-light {
    width: 160px;
    background: #fff;
    color: var(--text);
    font-size: 14px !important;
}

.btn-light:hover {
    text-decoration: underline;
    border-color: transparent;
}



.result-shell {
    width: 100%;
    float: left;
    background: #333;
    border-radius: 9px;
    padding: 35px 35px 0 35px;
    color: #fff;
    overflow: hidden;
}

.result-preview {
    width: 100%;
    float: left;
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    background: transparent;
    color: var(--text);
    padding: 0;
    color: #fff;
    overflow: hidden;
}
.result-preview > div {
    color: #00B2E8;
}
.result-kicker {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-soft);
}

.result-title {
    margin: 5px 0 10px 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
}
.result-summary {
    margin: 0 0 25px 0;
    font-size: 18px;
    line-height: 1.5;
    color: #ddd;
}

.result-stage-note {
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.025em;
    font-family: "MaruBuri", serif;
    font-weight: 400;
    color: #fff !important;
    padding: 10px 0 0 35px;
    position: relative;
    margin: 0 0 30px 0;
}
.result-stage-note::before {

    content: "";
    display: inline-block;
    width: 30px;
    height: 23px;
    position: absolute;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-image: url('../images/icons/icon-blockquote.svg');
    background-size: contain;
    margin: 0 5px 0 0;
    opacity: .15;
    filter: brightness(0) invert(1);
}
.result-group {
    padding: 20px 0;
    border-top: 1px dashed #666;
}

.result-group h4 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: #fff !important;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.bullet-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bullet-item {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.bullet-item::before {
    content: none;
    position: absolute;
    top: 10px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #fff;
}

.recommend-card {
    width: 100%;
    float: left;
    background: transparent;
    color: #fff;
    display: none;
    margin: 20px 0 0 0;
    padding: 50px 0 0 0;
    border-top: 2px solid #666;
}

.recommend-card.show {
    display: block;
}
.recommend-card .section-eyebrow {
    color: #00B2E8;
}
.recommend-card .section-title {
    margin: 0 0 10px 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.treatment-list {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.treatment-item {
    background: rgba(255, 255, 255, .9);
    padding: 15px 20px;
    border-radius: 5px;
    margin: 0;
    color: #101010;
}
.treatment-index {
    width: 100%;
    float: left;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--blue);
}
.treatment-title {
    width: 100%;
    float: left;
    margin-top: 3px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 700;
}

.treatment-desc {
    width: 100%;
    float: left;
    margin-top: 5px;
    font-size: 16px;
    line-height: 1.36;
    color: #101010;
}

.treatment-item a {
    display: block;
    width: 100%;
    float: left;
    text-decoration: none;
    color: #676767 !important;
    font-size: 14px;
    margin-top: 10px;
    letter-spacing: -0.025em;
}
.treatment-item a:hover {
    text-decoration: underline;
}
.cta-box {
    width: calc(100% + 70px);
    margin: 35px -35px 0 -35px !important;
    padding: 50px 35px;
    border-radius: 0;
    background: var(--black);
    color: #fff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.cta-box h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.cta-box p {
    margin: 20px 0 0;
    font-size: 16px;
    line-height: 1.5;
    color: #ddd;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 35px;
}
.cta-actions .btn-naver::before {
   content: "";
   display: inline-block;
   width: 20px;
   height: 20px;
   background-image: url('../images/icons/icon-naver.svg');
   background-size: cover;
   z-index: 1500;
   margin: 0 5px 0 0;
   position: relative;
   top: 3px;
}
.cta-actions .btn-kakao::before {
   content: "";
   display: inline-block;
   width: 24px;
   height: 20px;
   background-image: url('../images/icons/icon-kakao.svg');
   background-size: contain;
   background-position: center;
   background-repeat: no-repeat;
   z-index: 1500;
   margin: 0 5px 0 0;
   position: relative;
   top: 3px;
}
.cta-actions .btn-tel::before {
   content: "";
   display: inline-block;
   width: 20px;
   height: 20px;
   background-image: url('../images/icons/icon-phone.svg');
   background-size: contain;
   background-position: center;
   background-repeat: no-repeat;
   z-index: 1500;
   margin: 0 5px 0 0;
   position: relative;
   top: 5px;
   filter: invert(1);
}
.btn-white {
    background: #fff;
    color: var(--black);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    background: transparent;
}
.btn-ghost a {
    color: #fff;
}
.btn-ghost a:hover {
    color: #fff;
}
.notice {
    font-size: 14px;
    color: #da2128;
    line-height: 1.5;
}

@media (max-width: 1140px) {

    .hero,
    .main-grid,
    .question-grid,
    .type-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .hero-side {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .result-column {
        position: static;
    }
}

@media (max-width: 767px) {
    .main-grid {
        margin-bottom: 70px;
    }
    .card {
        padding: 0 !important;
    }
    .card .section-title {
        font-size: 21px;
    }
    .card .section-desc {
        font-size: 16px;
        margin: 5px 0 20px 0;
    }
    .question-grid .check-card {
        padding: 10px 15px;
    }
    .check-text {
        font-size: 16px;
    }


    .result-shell {
        padding: 20px 20px 0 20px;

    }

    .stack {
      line-height: 1.5;
      font-size: 16px;
    }
    .stack > div[style="width: 100%; float: left; padding: 30px; background-color: #f1f1f1; border-radius: 20px;"] {
       padding: 20px !important;
    }
    .stack p {
       font-size: 16px !important;
       line-height: 1.36 !important;
    }
    .hairon-diagnosis {
        padding: 0;
    }


    .result-preview {
        padding: 0;
    }
    .hero-copy,
    .section-desc {
        font-size: 15px;
    }


    .type-grid .type-card {
        padding: 10px 15px;
    }
    .type-title {
        font-size: 16px;
        font-weight: 600;
    }
    .type-summary {
        color: #676767;
        padding: 0 40px 0 0;
    }
    .type-grid .type-card-wrap .type-detail-link {
        right: 10px;
    }
    .detail-grid .detail-box h3 {
        font-size: 16px;
        font-weight: 600;
    }
    .pill {
        font-size: 14px;
    }
    .cta-box {
        width: calc(100% + 40px);
        margin: 20px -20px 0 -20px;
    }
    .cta-box h3 {
        font-size: 24px;
    }
    .cta-box p br {
        display: none;
    }
    .cta-actions .btn-white {
        width: 100%;
        text-align: center;
    }
    .cta-actions .btn {
       text-align: left;
    }

}