* {
    box-sizing: border-box;
}

:root {
    --qc-graphite: var(--tt-c-graphite, #3b3b3b);
    --qc-chalk: var(--tt-c-chalk, #dcdcdc);
    --qc-chalk-dim: var(--tt-c-chalk-dim, #afafaf);
    --qc-ink: var(--tt-c-ink, #333333);
    --qc-line: var(--tt-c-line, #6a6a6a);
    --qc-orange: var(--tt-c-orange, #ff5c17);
    --qc-rule: rgba(51, 51, 51, .16);
    --qc-paper-lift: rgba(255, 255, 255, .30);
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: var(--qc-chalk);
    color: var(--qc-ink);
    font-family: var(--tt-font-body, Arial, Helvetica, sans-serif);
}

.qc-header {
    height: 64px;
    background: var(--qc-graphite);
    border-bottom: 1px solid rgba(220, 220, 220, .18);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.qc-header__inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qc-logo img {
    display: block;
    width: 48px;
    max-height: 36px;
    height: auto;
}

.qc-header__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--qc-chalk);
    font-family: var(--tt-font-display, monospace);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .18s ease;
}

.qc-header__link::after {
    width: 7px;
    height: 7px;
    background: var(--qc-orange);
    content: "";
}

.qc-header__link:hover,
.qc-header__link:focus-visible {
    color: var(--qc-orange);
}

.qc-main {
    min-height: calc(100vh - 64px);
    display: flex;
    justify-content: center;
    padding: 64px 24px 80px;
}

.qc-container {
    width: 100%;
    max-width: 820px;
}

.qc-eyebrow {
    margin-bottom: 14px;
    color: var(--qc-line);
    font-family: var(--tt-font-display, monospace);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.qc-title {
    margin: 0;
    max-width: 720px;
    color: var(--qc-ink);
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.qc-subtitle {
    max-width: 620px;
    margin: 22px 0 42px;
    color: rgba(51, 51, 51, .72);
    font-size: 17px;
    line-height: 1.6;
}

.qc-card {
    padding: 36px;
    background: var(--qc-paper-lift);
    border: 1px solid var(--qc-rule);
    border-radius: 0;
    box-shadow: none;
}

.qc-upload {
    min-height: 220px;
    padding: 40px 24px;
    border: 1px dashed rgba(51, 51, 51, .34);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: border-color .2s ease, background .2s ease;
}

.qc-upload:hover {
    border-color: var(--qc-orange);
    background: rgba(255, 255, 255, .24);
}

.qc-upload__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border: 1px solid rgba(51, 51, 51, .24);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
    color: var(--qc-orange);
}

.qc-upload__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.qc-upload__hint {
    margin: 0 0 22px;
    color: rgba(51, 51, 51, .60);
    font-size: 14px;
}

.qc-file {
    max-width: 100%;
}

.qc-actions {
    margin-top: 24px;
}

.qc-button {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 0;
    background: var(--qc-orange);
    color: var(--qc-ink);
    cursor: pointer;
    font-family: var(--tt-font-display, monospace);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: color .18s ease, background-color .18s ease, transform .2s ease;
}

.qc-button:hover {
    background: var(--qc-graphite);
    color: var(--qc-chalk);
}

.qc-button:active {
    transform: translateY(1px);
}

.qc-security {
    margin-top: 18px;
    color: rgba(51, 51, 51, .55);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 640px) {
    .qc-header {
        height: 58px;
    }

    .qc-header__inner {
        width: calc(100% - 32px);
    }

    .qc-logo img {
        width: 42px;
        max-height: 32px;
    }

    .qc-header__link {
        font-size: 10px;
    }

    .qc-main {
        padding: 48px 16px;
    }

    .qc-card {
        padding: 22px;
    }

    .qc-upload {
        min-height: 190px;
    }
}
.qc-progress {
    margin-top: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, .22);
    border: 1px solid var(--qc-rule);
    border-radius: 0;
}

.qc-progress[hidden] {
    display: none;
}

.qc-progress__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    color: var(--qc-ink);
    font-size: 14px;
    font-weight: 700;
}

.qc-progress__track {
    width: 100%;
    height: 8px;
    overflow: hidden;
    background: rgba(51, 51, 51, .14);
    border-radius: 20px;
}

.qc-progress__bar {
    width: 0;
    height: 100%;
    background: var(--qc-orange);
    border-radius: 20px;
    transition: width .2s ease;
}

.qc-progress__detail {
    margin-top: 10px;
    color: rgba(51, 51, 51, .60);
    font-size: 12px;
    line-height: 1.4;
}
.qc-result {
    margin-top: 24px;
    border: 1px solid var(--qc-rule);
    border-radius: 0;
    background: rgba(255, 255, 255, .25);
    overflow: hidden;
}

.qc-result[hidden] {
    display: none;
}

.qc-result__header {
    padding: 13px 18px;
    background: var(--qc-graphite);
    color: var(--qc-chalk);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.qc-result__content {
    padding: 24px;
}

.qc-result__content h2 {
    margin: 0 0 14px;
    color: var(--qc-ink);
    font-size: 24px;
}

.qc-result__content p {
    margin: 8px 0;
    color: rgba(51, 51, 51, .72);
    font-size: 14px;
    line-height: 1.6;
}

#qc-result-file {
    color: var(--qc-ink);
    font-weight: 700;
}
