:root{
    --bg:#f4f8f7;
    --surface:#ffffff;
    --primary:#2f7f7a;
    --primary-2:#1f4f4c;
    --muted:#5f6e6d;
    --text:#0f1f1e;

    --border:rgba(15,31,30,.10);
    --border-2:rgba(15,31,30,.14);

    --shadow:0 10px 25px rgba(15,31,30,.08);
    --shadow-sm:0 6px 16px rgba(15,31,30,.06);

    --radius:18px;
    --radius-sm:14px;

    --container:1100px;

    --space-1:8px;
    --space-2:12px;
    --space-3:16px;
    --space-4:22px;
    --space-5:28px;

    --focus:0 0 0 4px rgba(47,127,122,.20);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
    direction:rtl;
    font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,"Noto Sans Hebrew",sans-serif;
    background:
            radial-gradient(700px 400px at 15% 0%, rgba(47,127,122,.08), transparent 55%),
            radial-gradient(650px 380px at 90% 10%, rgba(47,127,122,.06), transparent 55%),
            var(--bg);
    color:var(--text);
    line-height:1.8;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

a{color:inherit;text-decoration:none}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
    outline:none;
    box-shadow:var(--focus);
    border-color:rgba(47,127,122,.45);
}

.container{
    max-width:var(--container);
    margin:0 auto;
    padding:0 18px;
}

.site-header{
    background:linear-gradient(135deg,var(--primary),#3aa39c);
    color:#fff;
    padding:24px 0;
    box-shadow:var(--shadow);
}

.site-title{
    margin:0;
    text-align:center;
    font-weight:900;
    letter-spacing:-.2px;
    font-size:clamp(28px,4vw,48px);
    line-height:1.15;
}

.navbar{
    background:#e0f0ee;
    border-bottom:1px solid rgba(15,31,30,.08);
    position:sticky;
    top:0;
    z-index:50;
    backdrop-filter:saturate(1.2);
}

.navbar-inner{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:center;
    padding:12px 0;
}

.navbar a{
    color:var(--primary-2);
    font-weight:850;
    padding:10px 14px;
    border-radius:999px;
    transition:background .2s ease, transform .15s ease, box-shadow .2s ease;
}

.navbar a:hover{
    background:rgba(47,127,122,.12);
    transform:translateY(-1px);
}

.navbar a.active,
.navbar a[aria-current="page"]{
    background:rgba(47,127,122,.18);
    box-shadow:0 1px 0 rgba(15,31,30,.06) inset;
}

.main{
    padding:26px 0 46px;
}

.page-title{
    text-align:center;
    color:var(--primary-2);
    margin:18px 0 18px;
    font-size:clamp(22px,2.2vw,30px);
    font-weight:900;
    letter-spacing:-.2px;
}

.card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:var(--shadow-sm);
    padding:20px;
}

.card h2, .card h3{
    margin:0 0 8px;
    color:var(--primary-2);
    font-weight:900;
    letter-spacing:-.15px;
}

.card p{margin:0}
.card p + p{margin-top:10px}

.stack{display:grid;gap:14px}

.grid-2{
    display:grid;
    gap:14px;
    grid-template-columns:repeat(2,minmax(0,1fr));
}

.muted{color:var(--muted)}

hr{
    border:0;
    height:1px;
    background:rgba(15,31,30,.08);
    margin:18px 0;
}

ul,ol{margin:0;padding-right:18px}
li{margin:6px 0}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:12px 14px;
    border-radius:12px;
    background:linear-gradient(135deg,var(--primary),#3aa39c);
    color:#fff;
    font-weight:900;
    border:1px solid rgba(255,255,255,.0);
    cursor:pointer;
    transition:transform .15s ease, filter .2s ease, box-shadow .2s ease;
    box-shadow:0 10px 20px rgba(47,127,122,.18);
}

.btn:hover{transform:translateY(-1px);filter:brightness(1.02)}
.btn:active{transform:translateY(0px);filter:brightness(.98)}

.input, .textarea{
    width:100%;
    border:1px solid rgba(15,31,30,.14);
    border-radius:12px;
    padding:12px 12px;
    font:inherit;
    background:#fff;
    transition:border-color .2s ease, box-shadow .2s ease;
}

.input::placeholder,
.textarea::placeholder{color:rgba(15,31,30,.42)}

.textarea{min-height:130px;resize:vertical}

.footer{
    text-align:center;
    color:rgba(15,31,30,.55);
    padding:18px 0 26px;
}

@media (max-width: 820px){
    .grid-2{grid-template-columns:1fr}
    .site-header{padding:20px 0}
    .card{padding:18px}
}

@media (prefers-reduced-motion: reduce){
    *{transition:none !important}
}

body{
    opacity: 0;
    animation: pageEnter 0.9s ease-out forwards;
}

@keyframes pageEnter{
    from{
        opacity: 0.93;
    }
    to{
        opacity: 1;
    }
}


button,
.btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 5 !important;
}

.btn {
    min-height: 44px;
    padding: 12px 18px;
    border: 0;
}

form .btn { margin-top: 6px; }

.success-box {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 0.92);
    color: #fff;
    padding: 14px 16px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    max-width: min(520px, calc(100vw - 32px));
    backdrop-filter: blur(8px);
}

.success-box.hidden {
    display: none;
}

.checkmark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    background: rgba(60, 220, 140, 0.18);
    border: 1px solid rgba(60, 220, 140, 0.55);
}

.success-text strong {
    font-size: 16px;
}

.success-text {
    font-size: 14px;
    line-height: 1.35;
}


