.account-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 72px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(251, 250, 254, 0.94)),
        url("../images/waves.jpg") center top / cover no-repeat;
}

.account-hero .particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.account-layout,
.account-status {
    position: relative;
    z-index: 1;
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
    gap: 40px;
    align-items: start;
}

.account-copy h1,
.account-status__head h1 {
    margin-top: 12px;
    font-family: var(--display);
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.account-copy p,
.account-status__head p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 17px;
}

.account-copy ul {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.account-copy li {
    position: relative;
    margin-top: 10px;
    padding-left: 22px;
    font-weight: 700;
}

.account-copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.account-card,
.status-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 26px;
}

.account-card h2,
.status-pin h2 {
    font-family: var(--display);
    font-size: 28px;
    letter-spacing: -0.03em;
}

.account-card__lead {
    margin: 6px 0 16px;
    color: var(--muted);
}

.account-card label {
    display: grid;
    gap: 6px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 800;
}

.account-card input,
.account-card select {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 600;
}

.account-card input:focus,
.account-card select:focus {
    outline: 3px solid rgba(91, 46, 224, 0.25);
    border-color: var(--purple);
}

.account-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.account-split--phone {
    grid-template-columns: 0.9fr 1.1fr;
}

.account-note,
.account-switch {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
}

.account-switch a {
    color: var(--purple);
    font-weight: 800;
}

.account-submit {
    width: 100%;
    margin-top: 16px;
    color: #fff;
    background: var(--purple);
}

.account-alert {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff1f2;
    color: #9f1239;
    font-weight: 700;
}

.account-alert p + p {
    margin-top: 4px;
}

.account-alert--ok {
    background: var(--green-soft);
    color: #166534;
}

.account-status {
    display: grid;
    gap: 16px;
    max-width: 860px;
}

.status-card__top,
.status-actions,
.status-steps {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.status-card__number {
    font-family: var(--display);
    font-size: 32px;
    letter-spacing: -0.04em;
}

.status-card__name {
    color: var(--muted);
    font-weight: 700;
}

.status-pill {
    margin: 0;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.status-pill--ok {
    background: var(--green-soft);
    color: #166534;
}

.status-pill--wait {
    background: #fff7e8;
    color: #9a3412;
}

.status-pill--bad {
    background: #fff1f2;
    color: #9f1239;
}

.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin: 18px 0 0;
}

.status-grid div {
    padding: 12px;
    border-radius: 14px;
    background: var(--soft);
}

.status-grid dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.status-grid dd {
    margin: 4px 0 0;
    font-weight: 800;
    word-break: break-word;
}

.status-actions {
    margin-top: 18px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.status-steps {
    align-items: stretch;
}

.status-steps .account-card,
.status-pin {
    flex: 1;
}

.status-pin {
    margin-top: 0;
}

@media (max-width: 900px) {
    .account-layout,
    .account-split,
    .status-grid,
    .status-steps,
    .status-card__top {
        grid-template-columns: 1fr;
        display: grid;
    }
}
