/* The first screen: the card, the drop area and its states, and the "Where's my file?" steps. */

.upload {
    position: fixed;
    inset: 0;
    z-index: 10;
    overflow-y: auto;
    display: flex;
    padding: 84px 16px 40px;
}
.up-card {
    margin: auto;
    width: 520px;
    max-width: 100%;
    padding: 36px 36px 32px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}
.intro h1 {
    margin: 0;
    font-size: 44px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.035em;
}
.intro p {
    margin: 0;
    font-size: 17px;
    line-height: 1.45;
    color: var(--ink-2);
    max-width: 400px;
}
.drop {
    width: 100%;
    min-height: 250px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, .04);
    border: 1.5px dashed rgba(255, 255, 255, .22);
    cursor: pointer;
    transition: background .15s, border-color .15s, box-shadow .15s;
}
.drop:hover {
    background: rgba(255, 255, 255, .06);
}
.drop.over {
    background: rgba(10, 132, 255, .14);
    border: 1.5px solid var(--accent);
    box-shadow: 0 0 0 6px rgba(10, 132, 255, .12);
}
.drop.error {
    background: rgba(255, 105, 97, .08);
    border: 1.5px solid rgba(255, 105, 97, .55);
}
.drop.loading {
    border: 1.5px solid rgba(255, 255, 255, .12);
    cursor: default;
}
.drop-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(10, 132, 255, .18);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}
.drop-icon svg.i {
    width: 26px;
    height: 26px;
}
.drop.over .drop-icon {
    background: var(--accent);
    color: #fff;
}
.drop.error .drop-icon {
    background: rgba(255, 105, 97, .18);
    color: var(--error);
}
.drop-big {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.drop-sub {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-2);
    max-width: 340px;
}
.drop-sub b {
    color: var(--ink);
    font-weight: 500;
}
.pill-btn {
    margin-top: 10px;
    height: 40px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--fill);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}
.pill-btn.tonal {
    background: rgba(255, 255, 255, .12);
    color: var(--ink);
}
.pct {
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.045em;
}
.prog {
    width: 100%;
    max-width: 300px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .1);
    position: relative;
    margin: 6px 0;
    overflow: hidden;
}
.prog i {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 3px;
    background: var(--accent);
    transition: width .2s;
}
.checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}
.checks li {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13.5px;
    color: var(--ink-2);
}
.checks li svg.i {
    width: 15px;
    height: 15px;
    color: #30D158;
}
.checks li.now {
    color: var(--ink);
}
.spin {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .2);
    border-top-color: var(--accent);
    flex: none;
    animation: spin .8s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.privacy {
    margin: 0;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    font-size: 13.5px;
    color: var(--ink-2);
}
.privacy svg.i {
    width: 16px;
    height: 16px;
}
.rule {
    height: 1px;
    background: rgba(255, 255, 255, .08);
}
.where {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.where h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.steps li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--ink-2);
}
.steps li > span:first-child {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
.steps b {
    color: var(--ink);
    font-weight: 500;
}
.guide-link {
    margin: 0;
    font-size: 13.5px;
}
.guide-link a {
    text-decoration: none;
}
.guide-link a:hover {
    text-decoration: underline;
}
.noscript {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    margin: 0;
    padding: 12px 16px;
    border-radius: 14px;
    background: #1C1F27;
    color: var(--ink-2);
    font-size: 14px;
    text-align: center;
}
