.ps-download-page {
    background: #f7f8fa;
    color: #1d1d1d;
}

.ps-download-embed-body {
    margin: 0;
    background: #fff;
    font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
}

.ps-download-page.is-embed {
    min-height: 100vh;
    background: #fff;
}

.ps-download-page.is-embed .ps-download-content {
    width: 100%;
    margin: 0;
    padding: 0;
}

.ps-download-page.is-embed .ps-download-form {
    padding: 42px 44px 38px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ps-download-hero {
    min-height: 350px;
    display: flex;
    align-items: center;
    padding: 82px 24px 116px;
    background: linear-gradient(115deg, rgba(12, 18, 23, .94), rgba(22, 33, 41, .82)), url('../img/sub02/vacuum-assembly@2x.png') center 56% / cover no-repeat;
    color: #fff;
}

.ps-download-hero > div {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.ps-download-hero p,
.ps-download-form-heading > p {
    margin: 0 0 10px;
    color: #d14f30;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
}

.ps-download-hero h1 {
    margin: 0;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.25;
    letter-spacing: -.045em;
}

.ps-download-hero span {
    display: block;
    margin-top: 18px;
    color: rgba(255, 255, 255, .72);
    font-size: 17px;
}

.ps-download-content {
    width: min(920px, calc(100% - 48px));
    margin: -72px auto 0;
    padding-bottom: 120px;
}

.ps-download-form {
    position: relative;
    padding: 54px 60px 60px;
    border: 1px solid #e3e5e8;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(24, 31, 36, .09);
}

.ps-download-form-heading {
    padding-bottom: 30px;
    border-bottom: 1px solid #e8e8e8;
}

.ps-download-form-heading h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.4;
    letter-spacing: -.035em;
}

.ps-download-form-heading > span {
    display: block;
    margin-top: 12px;
    color: #777;
    font-size: 13px;
}

.ps-download-form-heading > span b,
.ps-download-fields label > span b {
    color: #d14f30;
}

.ps-download-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    margin-top: 32px;
}

.ps-download-fields label {
    display: grid;
    gap: 9px;
}

.ps-download-fields label.is-wide {
    grid-column: 1 / -1;
}

.ps-download-fields label > span {
    font-size: 15px;
    font-weight: 700;
}

.ps-download-fields input {
    width: 100%;
    height: 54px;
    border: 1px solid #dfe2e5;
    border-radius: 8px;
    padding: 0 16px;
    background: #fff;
    color: #222;
    font: inherit;
    outline: 0;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ps-download-fields input:focus {
    border-color: #d14f30;
    box-shadow: 0 0 0 3px rgba(209, 79, 48, .1);
}

.ps-download-honeypot {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ps-download-consent {
    margin-top: 30px;
    padding: 22px 24px;
    border-radius: 10px;
    background: #f6f6f6;
}

.ps-download-consent label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.ps-download-consent input {
    width: 18px;
    height: 18px;
    accent-color: #d14f30;
}

.ps-download-consent label span {
    font-size: 14px;
    font-weight: 600;
}

.ps-download-consent label b {
    color: #d14f30;
}

.ps-download-consent p {
    margin: 12px 0 0 28px;
    color: #777;
    font-size: 12px;
    line-height: 1.7;
}

.ps-download-consent > a {
    display: inline-flex;
    margin: 8px 0 0 28px;
    color: #555;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ps-download-submit {
    width: 100%;
    height: 62px;
    margin-top: 30px;
    border: 0;
    border-radius: 31px;
    background: #d14f30;
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ps-download-submit:hover,
.ps-download-submit:focus-visible {
    background: #b94125;
    box-shadow: 0 12px 26px rgba(148, 48, 24, .24);
    transform: translateY(-2px);
}

.ps-download-submit:disabled {
    cursor: wait;
    opacity: .72;
}

@media (max-width: 680px) {
    .ps-download-hero {
        min-height: 300px;
        padding: 62px 20px 96px;
    }

    .ps-download-hero h1 {
        font-size: 35px;
    }

    .ps-download-hero span {
        font-size: 14px;
        line-height: 1.7;
    }

    .ps-download-content {
        width: calc(100% - 32px);
        margin-top: -58px;
        padding-bottom: 80px;
    }

    .ps-download-form {
        padding: 36px 22px 30px;
        border-radius: 16px;
    }

    .ps-download-page.is-embed .ps-download-form {
        padding: 34px 20px 28px;
    }

    .ps-download-form-heading h2 {
        font-size: 24px;
    }

    .ps-download-fields {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ps-download-fields label.is-wide {
        grid-column: auto;
    }

    .ps-download-consent {
        padding: 18px;
    }

    .ps-download-consent label {
        align-items: flex-start;
    }

    .ps-download-consent p,
    .ps-download-consent > a {
        margin-left: 0;
    }
}

/* Compact fields inside the catalog modal */
.ps-download-page.is-embed .ps-download-fields {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ps-download-page.is-embed .ps-download-fields label.is-wide {
    grid-column: 1 / -1;
    width: min(100%, 480px);
}

.ps-download-page.is-embed .ps-download-fields input {
    box-sizing: border-box;
    width: 100%;
}

@media (max-width: 520px) {
    .ps-download-page.is-embed .ps-download-fields {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .ps-download-page.is-embed .ps-download-fields label.is-wide {
        grid-column: auto;
        width: 100%;
    }
}

/* Catalog and manual request confirmation */
.ps-download-form-heading > .ps-request-guidance {
    margin: 14px 0 0;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
}
.ps-request-success { text-align: center; }
.ps-download-page.is-embed .ps-request-success { padding-top: 100px; }
.ps-request-success-label { color: #d14f30; font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.ps-request-success h2 { margin: 20px 0; font-size: clamp(24px, 4vw, 32px); line-height: 1.4; }
.ps-request-success > p:not(.ps-request-success-label) { color: #555; font-size: 17px; line-height: 1.8; }
.ps-request-success > strong { display: block; margin-top: 24px; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.ps-request-return { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.ps-download-consent input { flex-shrink: 0; }
