/* ============================================
   ALIEN POKER CLUB - Document / Utility Pages
   ============================================
   Shared prose + narrow-page layer for the
   secondary pages that reuse landing.css:
     terms.html, privacy.html, refund.html,
     faq.html, how-it-works.html (.doc-* shell),
     verified.html, 404.html (.status-* card)

   Load AFTER landing.css. Depends on the
   :root custom properties defined there
   (single source of truth for the palette).
   ============================================ */

/* === DOCUMENT SHELL === */

.doc-page {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    padding: 140px 24px 80px;
}

.doc-header {
    border-bottom: 1px solid var(--border-blue);
    padding-bottom: 28px;
    margin-bottom: 40px;
}

.doc-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.doc-eyebrow .ascii-bracket {
    color: var(--accent-green);
    opacity: 0.6;
}

.doc-title {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.doc-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.75;
}

/* === DRAFT / REVIEW BANNER === */

.doc-notice {
    border: 1px solid var(--border-blue);
    border-left: 3px solid var(--accent-blue-bright);
    background: rgba(21, 34, 64, 0.45);
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 36px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-silver);
}

.doc-notice strong {
    color: var(--accent-blue-bright);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

/* === PROSE === */

.doc-body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-silver);
}

.doc-body section {
    margin-bottom: 38px;
}

.doc-body h2 {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-green);
    margin-bottom: 14px;
}

.doc-body h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 22px 0 8px;
}

.doc-body p {
    margin-bottom: 14px;
}

.doc-body ul,
.doc-body ol {
    margin: 0 0 16px 22px;
}

.doc-body li {
    margin-bottom: 8px;
}

.doc-body strong {
    color: var(--text-primary);
}

.doc-body a {
    border-bottom: 1px dotted rgba(0, 255, 136, 0.4);
}

/* === PLACEHOLDER TOKENS (owner must fill before launch) ===
   Now marks ONLY genuinely-unfilled [[TOKEN]] text. The business details
   (company, support address, governing state, refund window) were filled in
   on 2026-08-19 and render as ordinary prose; the one surviving chip on each
   legal page is [[EFFECTIVE_DATE]], stamped at launch by deploy/CHECKLIST.md.
   If this rule ever matches nothing, the pages are fully stamped. */

.ph {
    font-family: var(--font-mono);
    font-size: 0.92em;
    color: #ffcc55;
    background: rgba(255, 204, 85, 0.1);
    border: 1px dashed rgba(255, 204, 85, 0.45);
    border-radius: 3px;
    padding: 1px 5px;
    white-space: nowrap;
}

/* === DEFINITION TABLE (privacy: what we collect) === */

.doc-table-wrap {
    overflow-x: auto;
    margin-bottom: 18px;
}

.doc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 520px;
}

.doc-table th,
.doc-table td {
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.doc-table th {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-blue);
}

/* === CENTERED STATUS CARD (verified.html) === */

.status-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
}

.status-card {
    width: 100%;
    max-width: 460px;
    background: var(--bg-card);
    border: 1px solid var(--border-blue);
    border-radius: 12px;
    padding: 40px 34px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.status-logo {
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    filter: drop-shadow(0 0 12px rgba(0, 255, 136, 0.3));
}

.status-glyph {
    font-family: var(--font-mono);
    font-size: 34px;
    line-height: 1;
    margin-bottom: 16px;
    color: var(--accent-green);
}

.status-card.is-warn .status-glyph {
    color: var(--accent-blue-bright);
}

.status-card.is-error .status-glyph {
    color: #ff6b6b;
}

.status-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.status-message {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.status-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.status-actions .btn-primary,
.status-actions .btn-secondary {
    width: 100%;
    text-align: center;
}

.status-footnote {
    margin-top: 24px;
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* === RESPONSIVE === */

@media (max-width: 700px) {
    .doc-page {
        padding: 110px 20px 60px;
    }

    .doc-title {
        font-size: 24px;
    }

    .status-card {
        padding: 32px 22px;
    }
}
