@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');


:root {

    --background: #ffffff;
    --surface: #ffffff;
    --text: #252225;
    --muted: #777177;
    --border: #e3dfe3;
    --border-dark: #c7c0c8;
    --soft: #f4eef5;
    --accent: #5b3a5d;
    --accent-dark: #432a45;
    --accent-soft: #f4eef5;
    --success: #18794e;

}


* {

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    margin: 0;

    background: var(--background);

    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    line-height: 1.5;

}


a {

    color: inherit;

}


.site-header {

    width: min(1120px, calc(100% - 40px));

    margin: 0 auto;

    padding: 28px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.logo {

    font-size: 1.2rem;

    font-weight: 800;

    letter-spacing: -0.04em;

    text-decoration: none;

}


.tagline {

    color: var(--muted);

    font-size: 0.9rem;

}


main {

    width: min(920px, calc(100% - 40px));

    margin: 0 auto;

}


.hero {

    text-align: center;

    padding: 72px 0 38px;

}


.eyebrow,
.section-label {

    display: inline-block;

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.12em;

    color: var(--muted);

}


.hero h1 {

    margin: 12px 0 14px;

    font-size: clamp(2.2rem, 6vw, 4rem);

    line-height: 1;

    letter-spacing: -0.06em;

}


.hero-description {

    max-width: 520px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 1.1rem;

}


.tool-card {

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 24px;

    padding: 24px;

    box-shadow:
        0 10px 30px rgba(91, 58, 93, 0.06);

}


.upload-zone {

    min-height: 360px;

    border: 2px dashed var(--border-dark);

    border-radius: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    background: #fcfbfc;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;

}


.upload-zone:hover,
.upload-zone.dragging {

    border-color: var(--accent);

    background: var(--soft);

}


#image {

    display: none;

}


#upload-content {

    padding: 40px 20px;

}


.upload-icon {

    width: 54px;

    height: 54px;

    margin: 0 auto 18px;

    border: 1px solid var(--border);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.5rem;

    background: white;

    color: var(--accent);

}


#drop-message {

    margin: 0;

    font-size: 1.2rem;

    font-weight: 700;

}


#or-message {

    margin: 7px 0;

    color: var(--muted);

    font-size: 0.9rem;

}


.upload-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 20px;

    border-radius: 9px;

    background: var(--accent);

    color: white;

    font-size: 0.9rem;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        opacity 0.15s ease;

}


.upload-button:hover {

    background: var(--accent-dark);

    transform: translateY(-1px);

    opacity: 0.95;

}


.upload-meta {

    margin-top: 14px;

    color: var(--muted);

    font-size: 0.78rem;

}


.preview-container {

    width: 100%;

    display: none;

    flex-direction: column;

    align-items: center;

    padding: 28px;

}


#preview {

    display: block;

    max-width: 100%;

    max-height: 320px;

    object-fit: contain;

    border-radius: 12px;

    box-shadow:
        0 8px 24px rgba(91, 58, 93, 0.1);

}


.preview-details {

    margin-top: 18px;

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.preview-details strong {

    max-width: 500px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

}


.preview-details span {

    color: var(--muted);

    font-size: 0.85rem;

}


.change-image {

    margin-top: 14px;

    padding: 8px 12px;

    border: 1px solid var(--border);

    border-radius: 7px;

    background: white;

    color: var(--text);

    cursor: pointer;

    font-size: 0.8rem;

}


.change-image:hover {

    border-color: var(--accent);

    color: var(--accent);

}


.options {

    display: none;

    margin-top: 24px;

    padding: 26px;

    border: 1px solid var(--border);

    border-radius: 16px;

    background: #fff;

}


.options-heading {

    display: flex;

    gap: 15px;

    align-items: flex-start;

}


.step-number {

    flex: 0 0 auto;

    width: 30px;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--accent);

    color: white;

    font-size: 0.8rem;

    font-weight: 800;

}


.options h2 {

    margin: 0;

    font-size: 1.05rem;

    letter-spacing: -0.02em;

}


.options p {

    margin: 5px 0 0;

    color: var(--muted);

    font-size: 0.88rem;

}


.options h3 {

    margin: 26px 0 12px;

    font-size: 0.85rem;

}


.option {

    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding: 17px;

    margin-top: 10px;

    border: 1px solid var(--border);

    border-radius: 12px;

    cursor: pointer;

    transition:
        border-color 0.15s ease,
        background 0.15s ease;

}


.option:hover {

    border-color: var(--border-dark);

    background: #faf8fb;

}


.option input {

    position: absolute;

    opacity: 0;

    pointer-events: none;

}


.radio-custom {

    flex: 0 0 auto;

    width: 19px;

    height: 19px;

    margin-top: 2px;

    border: 1.5px solid #999;

    border-radius: 50%;

    position: relative;

}


.option input:checked + .radio-custom {

    border-color: var(--accent);

}


.option input:checked + .radio-custom::after {

    content: "";

    position: absolute;

    width: 9px;

    height: 9px;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: var(--accent);

}


.option:has(input:checked) {

    border-color: var(--accent);

    background: var(--accent-soft);

}


.option-content {

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.option-content strong {

    font-size: 0.92rem;

}


.option-content small {

    color: var(--muted);

    font-size: 0.8rem;

}


.primary-button {

    width: 100%;

    margin-top: 24px;

    padding: 15px 20px;

    border: 0;

    border-radius: 10px;

    background: var(--accent);

    color: white;

    font-size: 0.95rem;

    font-weight: 700;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    transition:
        transform 0.15s ease,
        opacity 0.15s ease;

}


.primary-button:hover:not(:disabled) {

    background: var(--accent-dark);

    transform: translateY(-1px);

}


.primary-button:disabled {

    background: #cfc8d0;

    cursor: not-allowed;

}


.error {

    margin-bottom: 20px;

    padding: 13px 15px;

    border: 1px solid #e4b9b9;

    border-radius: 10px;

    background: #fff5f5;

    color: #9a2222;

    font-size: 0.88rem;

}


.result-section {

    padding: 70px 0 20px;

}


.result-card {

    padding: 28px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 24px;

    box-shadow:
        0 10px 30px rgba(91, 58, 93, 0.06);

}


.success-label {

    color: var(--success);

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 0.1em;

}


.result-header h2 {

    margin: 7px 0 22px;

    font-size: 1.5rem;

    letter-spacing: -0.04em;

}


.result-image-wrapper {

    overflow: hidden;

    border-radius: 14px;

    background: #eee;

}


.result-preview {

    display: block;

    width: 100%;

    height: auto;

}


.result-details {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    margin-top: 18px;

    border: 1px solid var(--border);

    border-radius: 12px;

    overflow: hidden;

}


.result-details div {

    padding: 14px 16px;

    border-right: 1px solid var(--border);

}


.result-details div:last-child {

    border-right: 0;

}


.result-details span {

    display: block;

    color: var(--muted);

    font-size: 0.72rem;

}


.result-details strong {

    display: block;

    margin-top: 3px;

    font-size: 0.85rem;

}


.download-button {

    width: 100%;

    margin-top: 14px;

    padding: 14px 20px;

    border-radius: 10px;

    background: var(--accent);

    color: white;

    text-decoration: none;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    font-size: 0.9rem;

    font-weight: 700;

}


.download-button:hover {

    background: var(--accent-dark);

}


/* =========================================================
   EDITORIAL CONTENT
   ========================================================= */


.editorial-intro,
.choice-section,
.under-2mb-section,
.how-section,
.faq-section {

    width: 100vw;

    margin-left: calc(50% - 50vw);

}


.editorial-intro,
.choice-section,
.under-2mb-section,
.how-section,
.faq-section {

    font-family:
        Manrope,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

}


.editorial-intro {

    margin-top: 90px;

    padding: 115px 20px;

    background: var(--accent);

    color: white;

}


.editorial-inner {

    width: min(920px, calc(100% - 40px));

    margin: 0 auto;

}


.editorial-intro .section-label {

    color: #d9c9db;

}


.editorial-intro h2 {

    max-width: 820px;

    margin: 18px 0 30px;

    font-size: clamp(2.5rem, 6vw, 5rem);

    line-height: 0.98;

    letter-spacing: -0.065em;

    font-weight: 800;

}


.editorial-intro p {

    max-width: 700px;

    margin: 18px 0 0;

    color: #eadfea;

    font-size: 1.05rem;

    line-height: 1.8;

}


.editorial-intro strong {

    color: white;

}


.choice-section {

    padding: 115px 20px;

    background: white;

}


.choice-inner {

    width: min(920px, calc(100% - 40px));

    margin: 0 auto;

}


.choice-section .section-label,
.how-section .section-label,
.faq-section .section-label {

    color: var(--accent);

}


.choice-section h2,
.how-section h2,
.faq-section h2 {

    max-width: 760px;

    margin: 16px 0 60px;

    font-size: clamp(2.3rem, 5vw, 4.2rem);

    line-height: 1;

    letter-spacing: -0.065em;

    font-weight: 800;

}


.choice-list {

    border-top: 1px solid var(--border);

}


.choice-row {

    display: grid;

    grid-template-columns: 90px 1fr;

    gap: 30px;

    padding: 44px 0;

    border-bottom: 1px solid var(--border);

}


.choice-number {

    color: var(--accent);

    font-size: 0.78rem;

    font-weight: 800;

    letter-spacing: 0.1em;

}


.choice-row h3 {

    margin: 0 0 12px;

    font-size: 1.35rem;

    letter-spacing: -0.03em;

    font-weight: 700;

}


.choice-row p {

    max-width: 650px;

    margin: 0;

    color: var(--muted);

    font-size: 1rem;

    line-height: 1.75;

}


.under-2mb-section {

    padding: 115px 20px;

    background: var(--accent-soft);

}


.under-2mb-inner {

    width: min(920px, calc(100% - 40px));

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: start;

}


.under-2mb-section h2 {

    max-width: 500px;

    margin: 16px 0 0;

    font-size: clamp(2.4rem, 5vw, 4.2rem);

    line-height: 1;

    letter-spacing: -0.065em;

    font-weight: 800;

    color: var(--accent);

}


.under-2mb-copy {

    padding-top: 38px;

}


.under-2mb-copy p {

    margin: 0 0 24px;

    color: #5f5260;

    font-size: 1.05rem;

    line-height: 1.8;

}


.under-2mb-copy strong {

    color: var(--accent);

}


.how-section {

    padding: 115px 20px;

    background: white;

}


.how-inner {

    width: min(920px, calc(100% - 40px));

    margin: 0 auto;

}


.steps-editorial {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);

}


.step-editorial {

    min-height: 225px;

    padding: 32px 30px 30px 0;

    border-right: 1px solid var(--border);

}


.step-editorial:not(:first-child) {

    padding-left: 30px;

}


.step-editorial:last-child {

    border-right: 0;

}


.step-editorial > span {

    display: flex;

    width: 38px;

    height: 38px;

    align-items: center;

    justify-content: center;

    margin-bottom: 45px;

    border-radius: 50%;

    background: var(--accent);

    color: white;

    font-size: 0.8rem;

    font-weight: 800;

}


.step-editorial h3 {

    margin: 0 0 10px;

    font-size: 1.15rem;

    letter-spacing: -0.02em;

}


.step-editorial p {

    max-width: 220px;

    margin: 0;

    color: var(--muted);

    font-size: 0.9rem;

    line-height: 1.7;

}


.faq-section {

    padding: 115px 20px 130px;

    background: var(--accent);

    color: white;

}


.faq-inner {

    width: min(920px, calc(100% - 40px));

    margin: 0 auto;

}


.faq-section .section-label {

    color: #d9c9db;

}


.faq-section h2 {

    margin-bottom: 60px;

}


.faq-section details {

    border-top: 1px solid #806482;

}


.faq-section details:last-of-type {

    border-bottom: 1px solid #806482;

}


.faq-section summary {

    padding: 27px 0;

    cursor: pointer;

    font-size: 1.05rem;

    font-weight: 700;

    list-style: none;

}


.faq-section summary::-webkit-details-marker {

    display: none;

}


.faq-section summary::after {

    content: "+";

    float: right;

    color: #d9c9db;

    font-size: 1.4rem;

    font-weight: 400;

}


.faq-section details[open] summary::after {

    content: "−";

}


.faq-section details p {

    max-width: 720px;

    margin: -4px 0 27px;

    color: #eadfea;

    font-size: 0.95rem;

    line-height: 1.8;

}


footer {

    border-top: 1px solid var(--border);

    background: white;

}


.footer-inner {

    width: min(1120px, calc(100% - 40px));

    margin: 0 auto;

    padding: 28px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.footer-inner p {

    margin: 0;

    color: var(--muted);

    font-size: 0.8rem;

}


@media (max-width: 700px) {

    .site-header {

        padding: 20px 0;

    }


    .tagline {

        display: none;

    }


    .hero {

        padding: 48px 0 28px;

    }


    .hero h1 {

        font-size: 2.4rem;

    }


    .tool-card {

        padding: 14px;

        border-radius: 18px;

    }


    .upload-zone {

        min-height: 300px;

    }


    .result-details {

        grid-template-columns: 1fr;

    }


    .result-details div {

        border-right: 0;

        border-bottom: 1px solid var(--border);

    }


    .result-details div:last-child {

        border-bottom: 0;

    }


    .options {

        padding: 20px;

    }


    .editorial-intro,
    .choice-section,
    .under-2mb-section,
    .how-section,
    .faq-section {

        margin-left: calc(50% - 50vw);

    }


    .editorial-intro {

        margin-top: 70px;

        padding: 80px 20px;

    }


    .editorial-inner,
    .choice-inner,
    .under-2mb-inner,
    .how-inner,
    .faq-inner {

        width: min(100% - 40px, 920px);

    }


    .editorial-intro h2 {

        font-size: 2.8rem;

    }


    .choice-section,
    .under-2mb-section,
    .how-section,
    .faq-section {

        padding-top: 80px;

        padding-bottom: 80px;

    }


    .choice-section h2,
    .how-section h2,
    .faq-section h2 {

        font-size: 2.8rem;

        margin-bottom: 42px;

    }


    .choice-row {

        grid-template-columns: 50px 1fr;

        gap: 15px;

        padding: 32px 0;

    }


    .choice-row h3 {

        font-size: 1.15rem;

    }


    .under-2mb-inner {

        grid-template-columns: 1fr;

        gap: 10px;

    }


    .under-2mb-copy {

        padding-top: 10px;

    }


    .steps-editorial {

        grid-template-columns: 1fr;

    }


    .step-editorial,
    .step-editorial:not(:first-child) {

        min-height: auto;

        padding: 30px 0;

        border-right: 0;

        border-bottom: 1px solid var(--border);

    }


    .step-editorial:last-child {

        border-bottom: 0;

    }


    .step-editorial > span {

        margin-bottom: 25px;

    }


    .step-editorial p {

        max-width: none;

    }


    .footer-inner {

        flex-direction: column;

        align-items: flex-start;

    }

}