.document-main {
    padding-top: clamp(32px, 6vw, 64px);
}

.document-main .legal-hero {
    max-width: 620px;
}

.document-card {
    max-width: 620px;
    margin: 0 auto;
    padding: clamp(26px, 6vw, 48px);
    border: 1px solid rgb(32 41 35 / 7%);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.document-art {
    display: flex;
    height: 110px;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border-radius: 17px;
    background: radial-gradient(ellipse at center, rgb(201 241 220 / 70%), #f8faf6 72%);
    gap: 18px;
}

.document-sheet {
    display: grid;
    width: 65px;
    height: 78px;
    align-content: center;
    padding: 10px;
    border: 1px solid #dfe4dc;
    border-radius: 8px;
    background: white;
    box-shadow: 0 8px 18px rgb(32 41 35 / 8%);
    gap: 7px;
}

.document-sheet strong {
    color: var(--green-strong);
    font: 800 12px Manrope, sans-serif;
}

.document-sheet i {
    height: 3px;
    border-radius: 3px;
    background: #dfe4dc;
}

.document-pdf strong { color: var(--orange); }
.document-arrow { color: var(--green-strong); font-size: 24px; font-weight: 700; }

.document-card h2 {
    margin: 8px 0;
    font: 800 clamp(23px, 4vw, 31px)/1.16 Manrope, sans-serif;
    letter-spacing: -.05em;
}

.document-description,
.document-hint,
.document-privacy {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.document-form {
    display: grid;
    margin-top: 24px;
    padding: 20px;
    border: 1px dashed #b9cabc;
    border-radius: 16px;
    background: #f8faf6;
    gap: 10px;
}

.document-form label {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 700;
}

.document-form input {
    width: 100%;
    min-height: 44px;
    padding: 10px;
    border: 1px solid #dfe4dc;
    border-radius: 10px;
    background: white;
    color: var(--ink);
    font: inherit;
    font-size: 12px;
}

.document-hint,
.document-status { margin: 0; font-size: 11px; }
.document-form .launch-button { margin-top: 10px; border: 0; cursor: pointer; font: inherit; font-size: 12px; }
.document-form .launch-button:disabled { cursor: wait; opacity: .6; }
.document-status { min-height: 18px; color: var(--green-strong); }
.document-status.is-error { color: #a65443; }
.document-privacy { margin: 16px 0 0; font-size: 11px; }

@media (max-width: 700px) {
    .document-main { width: min(100% - 28px, 620px); }
    .document-card { padding: 24px 20px; border-radius: 19px; }
    .document-form { padding: 16px; }
}
