.account-page {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    margin: 0;
    font-family: Inter, Arial, sans-serif;
}

.account-entry {
    --gutter: clamp(1.25rem, 4.1vw, 5rem);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: var(--phone);
    padding-block: clamp(3rem, 8vh, 7rem);
}

.account-hint {
    margin: 1.25rem 0 2rem;
    max-width: 27rem;
    font-size: 1rem;
    line-height: 1.5;
}

.account-form {
    display: grid;
    max-width: 25rem;
    gap: .55rem;
}

.account-form label { font-size: .93rem; font-weight: 700; }

.account-form input {
    min-height: 3.1rem;
    width: 100%;
    border: 1.5px solid var(--ink);
    border-radius: .3rem;
    padding: .75rem .9rem;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
}

.account-form input::placeholder { color: #625e56; }
.account-form input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.account-form .build-cta { margin-top: .35rem; min-height: 3.1rem; box-shadow: 3px 3px 0 #828d5b; }
.account-form .build-cta:active { box-shadow: none; }

.account-art {
    display: grid;
    min-width: 0;
    overflow: hidden;
    place-items: center;
    border-left: 1.5px solid var(--ink);
    background: var(--web);
}

.postcard {
    position: relative;
    width: min(73%, 31rem);
    aspect-ratio: 1.64;
    border: 2px solid var(--ink);
    border-radius: .3rem;
    padding: .55rem;
    box-shadow: 5px 6px 0 var(--ink);
    background: repeating-linear-gradient(130deg, #d87d5d 0 13px, var(--paper) 13px 26px,
                                          #8293a8 26px 39px, var(--paper) 39px 52px);
    transform: rotate(-7deg);
}

.postcard-face {
    position: relative;
    height: 100%;
    border: 1px solid var(--ink);
    background: var(--paper);
}

.postage {
    position: absolute;
    inset: 7% 5% auto auto;
    display: grid;
    place-items: center;
    width: 21%;
    aspect-ratio: .89;
    background: var(--phone);
    border: 2px dashed #636b47;
    outline: 1px solid #919673;
}

.postage img { width: 82%; height: auto; }

.postmark {
    position: absolute;
    right: 20%;
    top: 22%;
    width: 14%;
    aspect-ratio: 1;
    border: 4px double #51514c;
    border-radius: 50%;
    transform: rotate(-9deg);
}

.postmark::before, .address-lines {
    background: repeating-linear-gradient(to bottom, #76756b 0 1.5px, transparent 1.5px 33.333%);
}

.postmark::before {
    content: "";
    position: absolute;
    right: 92%;
    top: 30%;
    width: 144%;
    height: 47%;
}

.address-lines {
    position: absolute;
    left: 44%;
    right: 9%;
    bottom: 13%;
    height: 25%;
}

@media (max-width: 43.99rem) {
    .account-entry { padding-block: 2.5rem 3rem; }
    .account-hint { margin: 1rem 0 1.5rem; }
    .account-art { min-height: 15rem; border-left: 0; border-top: 1.5px solid var(--ink); }
    .postcard { width: min(63%, 19rem); margin-block: 2.25rem; padding: .4rem; }
}
