/* Simple pages: privacy (long-form text) and 404. Builds on style.css. */

.page-main {
    padding: calc(var(--nav-h) + 72px) 0 40px;
}

.page-title {
    margin-top: 10px;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ---------------------------------------------------------------- Privacy */

.prose {
    max-width: 760px;
}

.prose .lede {
    margin-top: 18px;
    font-size: 1.1rem;
    color: var(--text-dim);
}

.prose .updated {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-faint);
}

.summary {
    margin-top: 36px;
    padding: 24px 26px;
}

.summary ul {
    display: grid;
    gap: 10px;
    list-style: none;
}

.summary li {
    position: relative;
    padding-left: 28px;
    color: var(--text);
    font-weight: 500;
}

.summary li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.45em;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--ok);
    border-bottom: 2px solid var(--ok);
    transform: rotate(-45deg);
}

.prose h2 {
    margin-top: 48px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.prose p,
.prose li {
    color: var(--text-dim);
    line-height: 1.7;
}

.prose p { margin-top: 12px; }
.prose > ul, .prose section > ul { margin: 12px 0 0 20px; display: grid; gap: 6px; }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.prose code {
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--surface-hover);
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    font-size: 0.85em;
    color: var(--text);
}

.storage-table code { white-space: nowrap; }

.storage-table {
    width: 100%;
    margin-top: 14px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.storage-table th,
.storage-table td {
    padding: 10px 8px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--panel-border);
    color: var(--text-dim);
}

.storage-table th {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-faint);
}

/* ---------------------------------------------------------------- 404 */

.lost {
    display: grid;
    place-items: center;
    min-height: 62vh;
    text-align: center;
}

.lost-code {
    font-size: clamp(5rem, 22vw, 12rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: 0.04em;
    color: transparent;
    background: linear-gradient(180deg, rgba(241, 243, 245, 0.95), rgba(116, 192, 252, 0.35));
    -webkit-background-clip: text;
    background-clip: text;
}

.lost .page-title { margin-top: 18px; font-size: clamp(1.8rem, 5vw, 3rem); }

.lost p {
    max-width: 480px;
    margin: 14px auto 0;
    color: var(--text-dim);
}

/* A GPS-style "recalculating" line, like the in-game map. */
.gps {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.gps i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
    animation: gps 1.6s ease-in-out infinite;
}

@keyframes gps { 50% { opacity: 0.25; } }

.lost .hero-actions { animation: none; justify-content: center; }

@media (max-width: 600px) {
    .lost .hero-actions .btn { width: 100%; }
}
