:root {
    --point: #0341ec;
    --point-dark: #0029b8;
    --ink: #171a24;
    --line: #e7eaf1;
    --white: #fff;
    --text-dark: #171a24;
    --card-border: #edf0f6;
    --tracking-title: -0.07em;
    --weight-black: 900;
    --blue: #2588ff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-bottom: 80px;
    font-family: "Noto Sans KR", sans-serif;
    color: var(--ink);
    background: var(--white);
    word-break: keep-all;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.landing {
    min-height: 100vh;
}

.cosmetics-image-section {
    width: 100%;
    padding: 0 20px;
    background: var(--white);
}

.cosmetics-image-stack {
    display: grid;
    justify-items: center;
    width: min(860px, 100%);
    margin: 0 auto;
}

.cosmetics-image-stack img {
    display: block;
    width: 100%;
    max-width: 660px;
    height: auto;
}

.section {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 104px 0;
    position: relative;
}

.lab-title {
    font-size: 30px;
    letter-spacing: var(--tracking-title);
    font-weight: var(--weight-black);
}

.lab-title .point {
    color: var(--point);
}

.diagnosis-cta {
    padding-top: 80px;
    padding-bottom: 126px;
    background: var(--white);
}

.diagnosis-showcase {
    width: min(760px, 100%);
    margin: 0 auto;
    text-align: center;
}

.diagnosis-showcase .lab-title {
    margin: 0 0 40px;
    color: #0b0d13;
    line-height: 1.35;
}

.diagnosis-form-card {
    position: relative;
    width: min(390px, 100%);
    margin: 0 auto;
    padding: 28px 26px 22px;
    border: 1px solid var(--card-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(23, 36, 73, 0.12);
    text-align: left;
}

.diagnosis-form-card::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 45px;
    z-index: -1;
    width: 16px;
    height: calc(100% - 72px);
    border-radius: 999px;
    background: linear-gradient(180deg, #0341ec, #16d4d1);
}

.diagnosis-form-title {
    margin: 0 0 4px;
    color: var(--text-dark);
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -0.06em;
    font-weight: 900;
    text-align: center;
}

.diagnosis-form-subtitle {
    margin: 0 0 20px;
    color: #4e5565;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.04em;
}

.diagnosis-form {
    display: grid;
    gap: 14px;
}

.diagnosis-field {
    display: grid;
    gap: 8px;
}

.diagnosis-field label {
    color: #222836;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.diagnosis-field input,
.diagnosis-field select,
.diagnosis-field textarea {
    width: 100%;
    min-height: 36px;
    padding: 10px 12px;
    border: 1px solid #e1e5ee;
    border-radius: 7px;
    background: var(--white);
    color: var(--text-dark);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.diagnosis-field textarea {
    min-height: 70px;
    resize: vertical;
}

.diagnosis-field input:focus,
.diagnosis-field select:focus,
.diagnosis-field textarea:focus {
    border-color: var(--point);
    box-shadow: 0 0 0 3px rgba(3, 65, 236, 0.1);
}

.diagnosis-field input::placeholder,
.diagnosis-field textarea::placeholder {
    color: #a1a7b4;
}

.turnstile-wrap {
    min-height: 0;
    overflow: hidden;
}

.privacy-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4e5565;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: -0.04em;
    cursor: pointer;
}

.privacy-consent input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--point);
}

.privacy-consent a {
    color: var(--point);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.diagnosis-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
    border: 0;
    border-radius: 8px;
    background: var(--point);
    color: var(--white);
    font-family: inherit;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -0.04em;
    cursor: pointer;
    box-shadow: 0 12px 22px rgba(3, 65, 236, 0.25);
    transition: transform 0.18s ease, background 0.18s ease;
}

.diagnosis-submit:hover {
    transform: translateY(-1px);
    background: var(--point-dark);
}

.diagnosis-submit:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.diagnosis-submit .arrow {
    font-size: 25px;
    line-height: 1;
}

.form-message {
    min-height: 18px;
    margin: 0;
    color: var(--point);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
    text-align: center;
}

.form-message.error {
    color: #d92525;
}

.faq-section {
    padding-top: 94px;
    padding-bottom: 128px;
    background: #f5f5f5;
}

.faq-showcase {
    width: min(520px, 100%);
    margin: 0 auto;
}

.faq-section .lab-title {
    margin: 0 0 30px;
    color: var(--text-dark);
    line-height: 1.32;
    text-align: center;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    overflow: hidden;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(23, 36, 73, 0.07);
}

.faq-item summary {
    display: grid;
    grid-template-columns: 31px 1fr 18px;
    align-items: center;
    gap: 11px;
    min-height: 72px;
    padding: 18px 22px;
    color: #2a303b;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: -0.05em;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "";
    justify-self: center;
    align-self: center;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-right: 2px solid #a6adba;
    border-bottom: 2px solid #a6adba;
    transform: rotate(45deg);
    transform-origin: center;
    transition: transform 0.2s ease, margin-top 0.2s ease;
}

.faq-item[open] summary::after {
    margin-top: 4px;
    transform: rotate(-135deg);
}

.faq-q {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #263341;
    color: var(--white);
    font-size: 15px;
    font-weight: 900;
}

.faq-answer {
    margin: 0 22px 22px 64px;
    padding-top: 2px;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.65;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.site-info {
    padding: 42px 20px 48px;
    border-top: 1px solid var(--line);
    background: #f8f9fc;
    color: #4f5663;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: -0.03em;
    text-align: center;
}

.site-info p {
    margin: 0;
}

.site-info a {
    color: var(--point);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-info strong {
    color: var(--text-dark);
    font-weight: 900;
}

.landing h2.lab-title {
    font-size: 30px;
    line-height: 1.36;
    letter-spacing: var(--tracking-title);
    font-weight: var(--weight-black);
    text-align: center;
}

.sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #eaf0f6;
    padding: 14px 18px;
    box-shadow: 0 -8px 22px rgba(23, 34, 52, 0.08);
}

.sticky-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.sticky a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    background: #fff;
    color: #172234;
    border-radius: 9px;
    padding: 12px;
    font-size: 13px;
    font-weight: 900;
}

.sticky a.primary {
    background: var(--blue);
    color: #fff;
}

@media (max-width: 720px) {
    .cosmetics-image-section {
        padding: 0;
    }

    .cosmetics-image-stack {
        width: 100%;
    }

    .cosmetics-image-stack img {
        max-width: none;
    }

    .section {
        width: min(100% - 28px, 1120px);
        padding: 72px 0;
    }

    .diagnosis-form-card {
        padding: 26px 20px 22px;
    }

    .faq-section {
        padding-top: 72px;
        padding-bottom: 92px;
    }

    .faq-showcase {
        width: min(100%, 520px);
    }

    .faq-item summary {
        grid-template-columns: 28px 1fr 16px;
        min-height: 64px;
        padding: 16px 18px;
        font-size: 15px;
    }

    .faq-q {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .faq-answer {
        margin: 0 18px 18px 57px;
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .landing h2.lab-title {
        font-size: 25px;
    }

    .site-info {
        font-size: 12px;
        line-height: 1.7;
    }
}
