/* Shared light theme for privacy, terms, cookies (and base for contact) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f1f5f9;
    color: #0f172a;
    line-height: 1.8;
    overflow-x: hidden;
}

.top-menu {
    background: #ffffff;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-menu .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.menu-btn {
    background: #e2e8f0;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.menu-btn:hover,
.menu-btn.active {
    background: #1e88e5;
    border-color: #1e88e5;
    color: #ffffff;
}

.page-header {
    background: linear-gradient(135deg, #e0f2fe 0%, #f1f5f9 55%, #f8fafc 100%);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f172a;
}

.page-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
}

.section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.section h2 {
    color: #1d4ed8;
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section p {
    color: #334155;
    margin-bottom: 15px;
}

.section ul {
    color: #334155;
    margin-left: 25px;
    margin-bottom: 15px;
}

.section ul li {
    margin-bottom: 10px;
}

.highlight-box {
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

.highlight-box p {
    margin: 0;
    color: #1e3a5f;
}

.last-updated {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 30px;
}

.dynamic-content h1 {
    color: #1d4ed8;
    font-size: 2rem;
    margin-bottom: 25px;
}

.dynamic-content h2 {
    color: #1d4ed8;
    font-size: 1.5rem;
    margin: 25px 0 15px 0;
}

.dynamic-content h3 {
    color: #0f172a;
    font-size: 1.3rem;
    margin: 20px 0 12px 0;
}

.dynamic-content h4,
.dynamic-content h5,
.dynamic-content h6 {
    color: #475569;
    margin: 15px 0 10px 0;
}

.dynamic-content p {
    color: #334155;
    margin-bottom: 15px;
    line-height: 1.8;
}

.dynamic-content ul,
.dynamic-content ol {
    color: #334155;
    margin-left: 25px;
    margin-bottom: 15px;
}

.dynamic-content li {
    margin-bottom: 8px;
}

.dynamic-content a {
    color: #1d4ed8;
    text-decoration: underline;
}

.dynamic-content blockquote {
    border-left: 4px solid #2563eb;
    padding-left: 20px;
    margin: 20px 0;
    color: #64748b;
    font-style: italic;
}

.dynamic-content hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 25px 0;
}

.footer {
    background: #e2e8f0;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #cbd5e1;
    margin-top: 50px;
}

.footer p {
    color: #64748b;
}

/* Cookie policy table (cookies.html) */
.table-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.table-scroll-wrap .cookie-table {
    margin: 0;
    min-width: 520px;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cookie-table th,
.cookie-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.cookie-table th {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 600;
}

.cookie-table td {
    color: #334155;
}

.cookie-type {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.cookie-type.essential {
    background: #22c55e;
    color: #ffffff;
}

.cookie-type.analytics {
    background: #1e88e5;
    color: #ffffff;
}

.cookie-type.functional {
    background: #f97316;
    color: #ffffff;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 20px;
    }

    .menu-btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }

    .section h2 {
        font-size: 1.2rem;
    }

    .cookie-table {
        font-size: 0.85rem;
    }

    .table-scroll-wrap .cookie-table th,
    .table-scroll-wrap .cookie-table td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .table-scroll-wrap .cookie-table {
        min-width: 480px;
        font-size: 0.8rem;
    }

    .table-scroll-wrap .cookie-table th,
    .table-scroll-wrap .cookie-table td {
        padding: 8px 10px;
    }

    .cookie-type {
        font-size: 0.72rem;
        padding: 3px 8px;
    }
}
