/* The standalone pages: privacy, terms, imprint, and 404. */

.legal {
    padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 9vw, 112px);
}

.legal .wrap {
    max-width: 760px;
}

.legal-head {
    display: grid;
    gap: 14px;
    margin-bottom: 40px;
}

.legal-head .meta {
    font-size: 13.5px;
    color: var(--muted);
}

.placeholder-note {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 28px;
    border-radius: var(--r-row);
    background: var(--tint-amber-bg);
    color: var(--tint-amber-fg);
    font-size: 14px;
    font-weight: 600;
}

.legal-body {
    padding: clamp(24px, 4vw, 44px);
    border-radius: var(--r-card);
    background: var(--surface-card);
    box-shadow: var(--shadow-card);
}

.legal-body h2 {
    font: 600 21px/1.15 var(--font-display);
    letter-spacing: -0.01em;
    margin: 36px 0 10px;
}

.legal-body h2:first-child {
    margin-top: 0;
}

.legal-body p,
.legal-body li {
    color: var(--muted);
    font-size: 15.5px;
}

.legal-body p {
    margin: 0 0 12px;
}

.legal-body ul {
    padding-left: 20px;
    margin: 0 0 12px;
}

.legal-body dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 10px 24px;
    margin: 0;
}

.legal-body dt {
    font-weight: 600;
}

.legal-body dd {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 520px) {
    .legal-body dl {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .legal-body dd {
        margin-bottom: 12px;
    }
}

/* ---- 404 ---- */

.lost {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 40px 0 80px;
}

.lost .wrap {
    display: grid;
    justify-items: center;
    gap: 18px;
}

.lost-cards {
    position: relative;
    width: 220px;
    height: 180px;
    margin-bottom: 12px;
}

.lost-cards span {
    position: absolute;
    top: 10px;
    width: 110px;
    height: 140px;
    border-radius: var(--r-tile);
    box-shadow: var(--shadow-float);
    animation: float 3s ease-in-out infinite alternate;
}

.lost-cards span:nth-child(1) { left: 0; rotate: -12deg; background: var(--g-sunset); --drift: -14px; }
.lost-cards span:nth-child(2) { right: 0; rotate: 10deg; background: var(--g-grape); --drift: -20px; animation-duration: 3.6s; }

.lost-cards span:nth-child(3) {
    left: 55px;
    top: 26px;
    display: grid;
    place-items: center;
    border: 2px dashed var(--dash-strong, var(--dash));
    background: var(--glass);
    box-shadow: none;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    font: 600 40px/1 var(--font-display);
    color: var(--muted);
    --drift: -8px;
    animation-duration: 2.4s;
}
