/* Shared theme for the public site — same tokens as the dashboard (css/dashboard.css)
   so the marketing pages and the logged-in dashboard read as one product. */
:root {
    --bg: #121110;
    --card-bg: #1a1815;
    --card-bg-hover: #201d19;
    --border-subtle: #2b2722;
    --border-strong: #3a3429;
    --accent: #FF7100;
    --accent-rgb: 255, 113, 0;
    --accent-hover: #e06400;
    --accent-text: #FF7100;
    --accent-soft: rgba(255, 113, 0, 0.14);
}

body {
    background-color: var(--bg);
    color: #f2f0ec;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

* { scrollbar-width: thin; scrollbar-color: var(--border-strong) var(--bg); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Floating pill navigation, injected by js/navbar.js */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 24, 21, 0.78);
    backdrop-filter: saturate(160%) blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    z-index: 1000;
    padding: 0.7rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: auto;
    min-width: 600px;
    max-width: 90vw;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px;
    border-radius: 999px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    color: #948c7c;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a.active { color: var(--accent-text); background: var(--accent-soft); }
.nav-links a:hover { color: #f2f0ec; background: rgba(255, 255, 255, 0.06); }

.btn-add {
    background-color: #f2f0ec;
    color: #171310;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    transition: background 0.15s ease;
    white-space: nowrap;
    display: inline-block;
}
.btn-add:hover { background-color: #ffffff; }

.nav-toggle-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--border-strong);
    color: #f2f0ec;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Shared page building blocks (hero/card/stat patterns reused across index, status,
   privacy, tos, counting, commands) */
.hero-section { padding-top: 150px; padding-bottom: 60px; text-align: center; }
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #f2f0ec;
    margin-bottom: 1.5rem;
}

.void-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.15s ease;
}
.void-card:hover { border-color: var(--border-strong); }

.stat-value { font-size: 2.1rem; font-weight: 800; color: #f2f0ec; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.72rem; font-weight: 700; color: #7a7364; text-transform: uppercase; letter-spacing: 0.1em; }

.feature-icon { font-size: 1.5rem; margin-bottom: 1.25rem; color: var(--accent-text); }

.loading-text { font-size: 0.8rem; color: #635c4e; font-style: italic; }

.section-label { font-size: 0.72rem; font-weight: 700; color: var(--accent-text); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.section-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 0.75rem; }
.policy-text { color: #b3ab9c; font-size: 0.92rem; line-height: 1.7; }
.policy-list { color: #b3ab9c; font-size: 0.92rem; line-height: 1.8; padding-left: 1.25rem; }

@media (max-width: 820px) {
    nav { min-width: 92vw; padding: 0.6rem 1rem; }
    .nav-links {
        display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
        flex-direction: column; background: #17140f; border: 1px solid var(--border-subtle);
        border-radius: 14px; padding: 0.5rem; gap: 0.15rem; box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 0.65rem 0.9rem; text-align: left; }
    .nav-toggle-btn { display: flex; }
    .hero-title { font-size: 2.35rem; }
}
