/* Archived landing pages (app/legacy_landing): home with sign-in and the QR login page.
   Moved verbatim from theme.css; linked only by the archived templates. */

/* ---- QR page ---- */
.qr-plate {
    position: relative;
    background: #f4f6f4;
    padding: 16px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.15);
}
.qr-plate svg {
    display: block;
    width: 100%;
    height: auto;
}
.qr-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22%;
    aspect-ratio: 1;
    background: #f4f6f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}
.qr-logo svg {
    animation: needle-drift 4s ease-in-out infinite;
}

/* @keyframes needle-drift stays in theme.css (the brand mark uses it too) */

@media (prefers-reduced-motion: reduce) {
    .qr-logo svg { animation: none; }
}

/* ---- Steps list ---- */
.steps {
    list-style: none;
    counter-reset: step;
    margin: 20px 0;
    padding: 0;
}
.steps li {
    counter-increment: step;
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
    font-size: .8rem;
    color: var(--muted);
}
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0,0,0,.06);
    font-size: .65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

/* ---- Login page redesign ---- */
.login-title {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 20px 0 16px;
}

.panel .qr-plate {
    width: fit-content;
    margin: 20px auto;
    padding: 16px;
    background: radial-gradient(closest-side, var(--app-bg) 70%, transparent 100%);
    box-shadow: none;
    border-radius: 0;
}

.panel .qr-plate svg {
    width: 300px;
    max-width: 100%;
    height: auto;
    color: var(--text);
    display: block;
}

.panel .qr-logo {
    background: var(--app-bg);
}

/* ---- Public home ---- */
.home-points {
    list-style: none;
    margin: 16px 0;
    padding: 0;
}
.home-points li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: .85rem;
    color: var(--muted);
}
.home-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text);
}
