/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4 */
/* VeganLuck Account · focused entry page for the hybrid WordPress shell */

.vl-account-page {
    min-height: calc(100vh - 96px);
    color: var(--vl-ink);
    overflow-x: clip;
}

.vl-account-hero {
    position: relative;
    isolation: isolate;
    padding: clamp(6rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
}

.vl-account-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(115deg, rgba(2, 9, 18, .96) 0%, rgba(6, 23, 38, .88) 45%, rgba(26, 18, 12, .94) 100%),
        url("../img/veganluck-potluck-hero-summer-v2.png") center / cover no-repeat;
}

.vl-account-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 34%;
    background: linear-gradient(180deg, rgba(2, 9, 18, 0), var(--vl-earth-deep));
}

.vl-account-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .78fr);
    gap: clamp(2rem, 5vw, 5.5rem);
    align-items: center;
}

.vl-account-hero__copy {
    max-width: 660px;
}

.vl-account-hero__copy .vl-kicker,
.vl-account-eyebrow,
.vl-account-card__header span {
    margin: 0 0 .8rem;
    color: var(--vl-cta-hover);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.vl-account-hero__copy h1 {
    max-width: 11ch;
    margin: 0;
    font-size: clamp(3.25rem, 7vw, 6.8rem);
    line-height: .92;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.vl-account-hero__copy > p:not(.vl-kicker) {
    max-width: 34rem;
    margin: 1.35rem 0 0;
    color: var(--vl-muted-light);
    font-size: clamp(1.04rem, 1.7vw, 1.22rem);
    line-height: 1.65;
}

.vl-account-hero__chips,
.vl-account-proof {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
}

.vl-account-hero__chips {
    margin-top: 1.6rem;
}

.vl-account-hero__chips span,
.vl-account-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border-radius: 999px;
    white-space: nowrap;
    font-size: .78rem;
    font-weight: 850;
}

.vl-account-hero__chips span {
    border: 1px solid rgba(251, 191, 36, .38);
    padding: .45rem .72rem;
    background: rgba(20, 13, 9, .42);
    color: #fff7dd;
}

.vl-account-proof {
    margin-top: clamp(2.8rem, 7vw, 6rem);
}

.vl-account-proof span {
    border-left: 2px solid rgba(74, 222, 128, .72);
    padding: .35rem 1rem .35rem .75rem;
    background: rgba(2, 9, 18, .38);
    color: var(--vl-muted-light);
}

.vl-account-card {
    width: min(100%, 480px);
    justify-self: end;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(8, 15, 25, .86);
    backdrop-filter: blur(22px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .42);
    overflow: clip;
}

.vl-account-card__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: 1rem clamp(1rem, 3vw, 1.35rem);
    background: rgba(255, 255, 255, .045);
}

.vl-account-card__header span {
    margin: 0;
}

.vl-account-card__header strong {
    color: var(--vl-muted-light);
    font-size: .84rem;
    font-weight: 800;
    text-align: right;
}

.vl-account-app,
.vl-account-signed-in {
    padding: clamp(1.25rem, 4vw, 2rem);
}

.vl-account-card h2 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
}

.vl-account-intro,
.vl-account-signed-in p:not(.vl-account-eyebrow) {
    margin: .85rem 0 0;
    color: var(--vl-muted-light);
    line-height: 1.6;
}

.vl-account-form {
    display: grid;
    gap: .95rem;
    margin-top: 1.45rem;
}

.vl-account-field {
    display: grid;
    gap: .42rem;
}

.vl-account-field span {
    color: #f8d68a;
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vl-account-field input {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    padding: 0 1rem;
    background: rgba(255, 255, 255, .94);
    color: #111827;
    font: inherit;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.vl-account-field input::placeholder {
    color: #6b7280;
}

.vl-account-field input:hover {
    border-color: rgba(251, 191, 36, .5);
}

.vl-account-field input:focus-visible {
    border-color: var(--vl-cta-hover);
    outline: 3px solid rgba(251, 191, 36, .28);
    outline-offset: 2px;
    background: #ffffff;
}

.vl-account-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    padding: 0 1.1rem;
    background: rgba(255, 255, 255, .06);
    color: var(--vl-ink-deep);
    font-weight: 950;
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.vl-account-button:hover {
    border-color: rgba(251, 191, 36, .42);
    background: rgba(255, 255, 255, .1);
    transform: translateY(-1px);
}

.vl-account-button:active {
    transform: translateY(0);
}

.vl-account-button--primary {
    border-color: rgba(245, 158, 11, .72);
    background: var(--vl-cta);
    color: #140d09;
    box-shadow: 0 14px 32px rgba(245, 158, 11, .2);
}

.vl-account-button--primary:hover {
    background: var(--vl-cta-hover);
    box-shadow: 0 18px 40px rgba(245, 158, 11, .28);
}

.vl-account-button:disabled {
    cursor: wait;
    opacity: .68;
    transform: none;
}

.vl-account-message {
    margin: 1rem 0 0;
    border: 1px solid rgba(251, 191, 36, .26);
    border-radius: 8px;
    padding: .85rem .95rem;
    background: rgba(251, 191, 36, .1);
    color: #fff1c2;
    line-height: 1.5;
}

.vl-account-switch {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: 1.15rem;
    color: var(--vl-muted-light);
}

.vl-account-switch a,
.vl-account-link {
    color: #86efac;
    font-weight: 950;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.vl-account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.35rem;
}

.vl-account-signed-in .vl-account-link {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 960px) {
    .vl-account-hero__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vl-account-hero__copy h1 {
        max-width: 13ch;
    }

    .vl-account-card {
        justify-self: stretch;
        width: 100%;
        max-width: 560px;
    }
}

@media (max-width: 560px) {
    .vl-account-hero {
        padding-top: 5.75rem;
    }

    .vl-account-hero__copy h1 {
        font-size: clamp(2.55rem, 14vw, 3.55rem);
    }

    .vl-account-card__header {
        display: block;
    }

    .vl-account-card__header strong {
        display: block;
        margin-top: .25rem;
        text-align: left;
    }

    .vl-account-actions,
    .vl-account-button {
        width: 100%;
    }
}
