* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f3f4f6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
    color: #1f2937;
    padding: 32px 20px;
    display: flex;
    justify-content: center;
}

.policy-card {
    max-width: 920px;
    width: 100%;
    background: #ffffff;
    border: 1px solid #d9dee7;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 40px 36px;
}

h1 {
    font-size: 2.3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.4rem;
    padding-left: 1rem;
    border-left: 4px solid #374151;
    letter-spacing: -0.02em;
}

.last-updated {
    font-size: 0.98rem;
    color: #6b7280;
    margin-top: 0.25rem;
    margin-bottom: 2rem;
    padding-left: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

h2 {
    font-size: 1.45rem;
    font-weight: 700;
    margin: 2rem 0 0.9rem 0;
    color: #111827;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid #e5e7eb;
}

h3 {
    font-size: 1.12rem;
    font-weight: 700;
    margin: 1.4rem 0 0.55rem 0;
    color: #1f2937;
}

p {
    margin-bottom: 1rem;
    color: #374151;
}

ul, ol {
    margin: 0.75rem 0 1.25rem 1.5rem;
}

li {
    margin-bottom: 0.45rem;
    color: #374151;
}

.policy-card ul li strong,
.policy-card p strong {
    color: #111827;
}

/* Permission list */
.perm-list {
    list-style: none;
    margin: 1rem 0 1.5rem 0;
    padding: 0;
    border: 1px solid #dfe3ea;
    border-radius: 10px;
    overflow: hidden;
    background: #fafbfc;
}

.perm-list li {
    margin: 0;
    padding: 0.95rem 1.1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.perm-list li:last-child {
    border-bottom: none;
}

.sensitive-badge,
.non-sensitive-badge {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.22rem 0.55rem;
    border-radius: 6px;
    display: inline-block;
    min-width: 108px;
    text-align: center;
    border: 1px solid transparent;
    flex-shrink: 0;
}

.non-sensitive-badge {
    background: #f3f4f6;
    color: #374151;
    border-color: #d1d5db;
}

.sensitive-badge {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.api-link,
.mono {
    font-family: "SFMono-Regular", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    background: #f3f4f6;
    padding: 0.18rem 0.45rem;
    border-radius: 6px;
    font-size: 0.92rem;
    color: #111827;
    word-break: break-all;
}

.small-note {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #6b7280;
    padding: 1rem 1.15rem;
    border-radius: 10px;
    font-size: 0.95rem;
    margin: 1.5rem 0;
    color: #374151;
}

a {
    color: #1d4ed8;
    text-decoration: none;
    border-bottom: 1px solid #bfdbfe;
}

a:hover {
    color: #1e40af;
    border-bottom-color: #1d4ed8;
}

.contact-block {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.3rem 1.5rem;
    margin-top: 2rem;
}

.contact-email {
    font-size: 1.05rem;
    font-weight: 600;
    background: #ffffff;
    display: inline-block;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    margin-top: 0.4rem;
    border: 1px solid #d1d5db;
    color: #111827;
}

hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0 1rem;
}

.policy-footer {
    font-size: 0.85rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.footer-separator {
    opacity: 0.5;
}

@media (max-width: 640px) {
    body {
        padding: 16px;
    }

    .policy-card {
        padding: 24px 18px;
        border-radius: 10px;
    }

    h1 {
        font-size: 1.9rem;
        padding-left: 0.8rem;
    }

    .last-updated {
        padding-left: 1rem;
    }

    .perm-list li {
        align-items: flex-start;
        flex-direction: column;
    }

    .sensitive-badge,
    .non-sensitive-badge {
        min-width: auto;
    }
}