/* Reset בסיסי ו־RTL */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    /* font-family: "Heebo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; */
    font-family: "Varela Round", sans-serif;
    background-color: #f4f5f7;
    color: #222;
    direction: rtl;
    text-align: right;
    line-height: 1.7;
}

/* מעטפת כללית */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* כותרת עליונה קטנה */
.top-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e3e4ea;
    padding: 10px 16px;
}

.logo-title {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a3aff, #8e7bff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 18px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-weight: 700;
    font-size: 18px;
}

.logo-sub {
    font-size: 13px;
    color: #666;
}

/* אזור התוכן */
.content-wrapper {
    flex: 1;
    padding: 16px;
}

.policy-card {
    max-width: 980px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 18px;
    padding: 20px 18px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* כותרת ראשית */
.policy-header h1 {
    font-size: 26px;
    margin: 0 0 8px 0;
    color: #2f2b8c;
}

.policy-updated {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: #666;
}

.policy-updated span {
    font-weight: 500;
}

.policy-intro {
    margin: 0 0 8px 0;
    font-size: 15px;
}

/* כותרות של סעיפים */
.policy-section {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #ececf3;
}

.policy-section:first-of-type {
    border-top: none;
    padding-top: 10px;
}

.policy-section h2 {
    font-size: 20px;
    margin: 0 0 10px 0;
    color: #222;
}

.policy-section h3 {
    font-size: 17px;
    margin: 16px 0 6px;
    color: #333;
}

/* טקסט ורשימות */
.policy-section p {
    margin: 0 0 8px 0;
    font-size: 15px;
}

.policy-section ul {
    margin: 0 0 10px 0;
    padding-right: 20px;
}

.policy-section li {
    margin-bottom: 4px;
    font-size: 15px;
}

/* קישורים ו־URL */
a {
    color: #4a3aff;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.url {
    direction: ltr;
    unicode-bidi: bidi-override;
    display: inline-block;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 14px;
}

/* פוטר */
.page-footer {
    border-top: 1px solid #e3e4ea;
    padding: 12px 16px 16px;
    background-color: #ffffff;
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* רספונסיביות למובייל קטן */
@media (max-width: 599.9px) {
    .policy-card {
        padding: 18px 14px 22px;
        border-radius: 14px;
    }

    .policy-header h1 {
        font-size: 22px;
    }

    .policy-section h2 {
        font-size: 18px;
    }

    .policy-section h3 {
        font-size: 16px;
    }

    .policy-section p,
    .policy-section li {
        font-size: 14px;
    }

    .logo-main {
        font-size: 16px;
    }

    .logo-sub {
        font-size: 12px;
    }
}

/* מסכים בינוניים וגדולים */
@media (min-width: 768px) {
    .content-wrapper {
        padding: 32px 20px 28px;
    }

    .policy-card {
        padding: 26px 32px 32px;
        border-radius: 20px;
    }

    .policy-header h1 {
        font-size: 30px;
    }

    .policy-section h2 {
        font-size: 22px;
    }

    .policy-section h3 {
        font-size: 18px;
    }

    .policy-section p,
    .policy-section li {
        font-size: 15.5px;
    }
}