* {
    box-sizing: border-box;
}

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

.cover-page {
    margin: 0;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

.cover-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 1rem;
}

.cover-paper {
    display: grid;
    width: min(100%, 56rem);
    min-height: min(44rem, calc(100vh - 2rem));
    grid-template-rows: 1fr auto 1fr;
    border: 1px solid var(--color-border-decorative);
    border-radius: .75rem;
    background: var(--color-paper);
    box-shadow: var(--shadow-paper);
    padding: clamp(2rem, 7vw, 5rem);
}

.identity-form {
    width: min(100%, var(--poem-field-width, 31rem));
    grid-row: 2;
    align-self: center;
    justify-self: center;
}

.identity-form label {
    display: block;
    margin-bottom: 1.8rem;
    text-align: center;
}

.identity-input-shell {
    display: flex;
    align-items: center;
    min-height: 3.15rem;
    border: 1px solid var(--color-border-strong);
    border-radius: .5rem;
    background: var(--color-paper);
}

.identity-input-shell:focus-within {
    border-color: var(--color-seal-fill);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-seal-fill) 12%, transparent);
}

.identity-input-shell input {
    width: 100%;
    min-width: 0;
    min-height: 3.05rem;
    border: 0;
    border-radius: inherit;
    background: transparent;
    padding: .65rem .75rem .65rem .85rem;
    color: var(--color-text-body);
    font: inherit;
    text-align: center;
    outline: none;
}

.identity-input-shell input::placeholder {
    color: var(--color-text-faint);
    opacity: .58;
}

.identity-submit {
    display: grid;
    width: 2.75rem;
    height: 2.5rem;
    flex: 0 0 2.75rem;
    place-items: center;
    margin-right: .3rem;
    border: 0 !important;
    border-radius: .35rem;
    padding: 0;
    color: var(--color-text-faint);
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    font: inherit;
    font-size: 1.35rem;
    line-height: 1;
    opacity: .42;
    appearance: none;
}

.identity-submit:hover,
.identity-submit:focus-visible {
    color: var(--color-seal-fill);
    opacity: .72;
}

.identity-submit > span {
    transform: translateY(var(--cover-arrow-y));
}

.identity-entry {
    width: 100%;
}

.cover-paper footer {
    grid-row: 3;
    align-self: end;
    justify-self: center;
    color: var(--color-text-chrome);
    font-family: var(--font-eng);
    font-size: var(--text-footnote);
}

@media (max-width: 39.999rem) {
    .cover-paper {
        min-height: calc(100vh - 2rem);
        padding: 2rem 1.25rem;
    }

}
