/* Phase 217 — Public Readability & Background System
   Goal: calmer Arabic typography, readable hierarchy, richer backgrounds, less boxy cards. */
:root{
  --sr-v217-ink:#0b1f35;
  --sr-v217-muted:#52657b;
  --sr-v217-bg:#f5f8fb;
  --sr-v217-warm:#fbf7ef;
  --sr-v217-gold:#c99a22;
  --sr-v217-teal:#247f79;
  --sr-v217-blue:#2f6fe6;
  --sr-v217-border:rgba(126,149,174,.22);
  --sr-v217-shadow:0 22px 60px rgba(7,27,51,.075);
}
html{scroll-behavior:smooth}
body.sr-public{
  color:var(--sr-v217-ink)!important;
  font-family:"Segoe UI","Noto Sans Arabic",Tahoma,Arial,sans-serif!important;
  font-weight:500;
  background:
    radial-gradient(circle at 86% 8%, rgba(36,127,121,.10), transparent 28%),
    radial-gradient(circle at 10% 18%, rgba(201,154,34,.10), transparent 25%),
    linear-gradient(180deg,#fbfcfd 0%,#f3f8fc 42%,#fbf7ef 100%)!important;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
body.sr-public .sr-main{background:transparent!important;overflow:hidden}
body.sr-public .sr-page{
  background:
    linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,.20)),
    radial-gradient(circle at 20% 42%,rgba(47,111,230,.045),transparent 22%),
    radial-gradient(circle at 90% 58%,rgba(36,127,121,.06),transparent 26%);
}
body.sr-public :where(h1,h2,h3,strong,b){font-family:"Segoe UI","Noto Sans Arabic",Tahoma,Arial,sans-serif!important;color:var(--sr-v217-ink)}
body.sr-public :where(p,li,span,small,a,label,input,textarea,select){font-family:"Segoe UI","Noto Sans Arabic",Tahoma,Arial,sans-serif}
body.sr-public p{color:var(--sr-v217-muted);line-height:1.85;font-weight:500}

/* Header readability */
.sr-header{background:rgba(255,255,255,.92)!important;border-bottom:1px solid rgba(126,149,174,.16)!important;box-shadow:0 10px 30px rgba(7,27,51,.035)!important;backdrop-filter:blur(18px)}
.sr-nav-wrap{height:76px!important;gap:18px!important}
.sr-brand img{width:174px!important;max-height:48px!important;object-fit:contain}
.sr-menu{gap:8px!important}
.sr-menu a{font-size:16px!important;font-weight:800!important;padding:12px 12px!important;border-radius:16px!important;color:#10233a!important;line-height:1.2!important;letter-spacing:0!important}
.sr-menu a:hover,.sr-menu a.is-active{background:#eef4fa!important;color:#071b33!important}
.sr-lang-switch{height:42px!important;padding:0 13px!important;border-radius:16px!important;background:#fff!important;border:1px solid rgba(126,149,174,.24)!important;font-size:14px!important;font-weight:900!important;box-shadow:0 8px 18px rgba(7,27,51,.04)}
.sr-login,.sr-demo{height:44px!important;border-radius:18px!important;font-size:16px!important;font-weight:900!important;padding:0 18px!important;white-space:nowrap}.sr-demo{box-shadow:0 14px 24px rgba(7,27,51,.12)!important}

/* Hero: stop oversized aggressive headlines */
.sr-hero{
  padding:44px 0 42px!important;
  background:
    radial-gradient(circle at 80% 18%,rgba(36,127,121,.16),transparent 34%),
    radial-gradient(circle at 14% 78%,rgba(201,154,34,.13),transparent 31%),
    linear-gradient(135deg,#fbfcfd 0%,#eef6fb 53%,#fbf7ef 100%)!important;
  border-bottom:1px solid rgba(126,149,174,.16)!important;
}
.sr-hero-grid{grid-template-columns:minmax(0,.98fr) minmax(320px,460px)!important;gap:38px!important;align-items:center!important;direction:rtl}
html[dir="ltr"] .sr-hero-grid{direction:ltr}
.sr-hero-copy{max-width:710px!important}
.sr-hero h1{
  max-width:760px!important;
  margin:14px 0 14px!important;
  font-size:clamp(34px,3.9vw,54px)!important;
  line-height:1.24!important;
  font-weight:800!important;
  letter-spacing:-.35px!important;
  text-wrap:balance;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
.sr-page-app .sr-hero h1,.sr-page-mobile .sr-hero h1,.sr-page-app-protection .sr-hero h1{font-size:clamp(32px,3.45vw,48px)!important;max-width:720px!important;line-height:1.28!important}
.sr-lead{font-size:clamp(16px,1.25vw,18px)!important;line-height:1.95!important;color:#52657b!important;max-width:680px!important;font-weight:500!important}
.sr-badge{background:rgba(255,248,226,.88)!important;border:1px solid rgba(201,154,34,.28)!important;color:#6f4c00!important;border-radius:999px!important;padding:8px 14px!important;font-weight:900!important;font-size:14px!important;box-shadow:0 10px 24px rgba(201,154,34,.08)!important}
.sr-actions{margin-top:24px!important;gap:12px!important}.sr-btn{border-radius:18px!important;min-height:46px!important;font-size:15.5px!important;font-weight:900!important;letter-spacing:0!important}
.sr-proof-row{gap:8px!important;margin-top:20px!important}.sr-proof-row span{background:rgba(255,255,255,.74)!important;border-color:rgba(126,149,174,.20)!important;color:#283d55!important;font-weight:800!important;box-shadow:none!important}
.sr-hero-visual{min-height:320px!important}.sr-hero-visual:before{opacity:.65!important;filter:blur(10px)!important}

/* Section rhythm + backgrounds */
.sr-section{padding:42px 0!important;position:relative}.sr-section + .sr-section{padding-top:32px!important}.sr-section-soft{background:linear-gradient(135deg,rgba(238,246,252,.74),rgba(255,250,240,.68))!important;border-block:1px solid rgba(126,149,174,.14)!important}.sr-section-cta{padding:42px 0 50px!important}
.sr-section-intro{max-width:820px!important;margin:0 auto 24px!important}.sr-section-intro h2{font-size:clamp(28px,3.15vw,42px)!important;line-height:1.32!important;font-weight:800!important;letter-spacing:-.25px!important;margin:12px 0 10px!important;text-wrap:balance}.sr-section-intro p{font-size:16.5px!important;line-height:1.9!important;color:var(--sr-v217-muted)!important;font-weight:500!important}.sr-align-start{margin-inline:0!important;max-width:660px!important}

/* Replace harsh rectangular cards with softer editorial bands */
.sr-lanes{gap:14px!important}.sr-lane{
  border-radius:34px!important;
  border:1px solid rgba(126,149,174,.18)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.90),rgba(246,250,253,.82))!important;
  box-shadow:0 16px 44px rgba(7,27,51,.055)!important;
  padding:22px 24px!important;
  overflow:hidden!important;
}
.sr-lane:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,var(--sr-v217-gold),var(--sr-v217-teal),var(--sr-v217-blue));opacity:.95}html[dir="rtl"] .sr-lane:before{left:auto;right:0}
.sr-lane-index b{font-size:30px!important;font-weight:850!important;color:#071b33!important}.sr-lane-index span{background:#fff5da!important;color:#755100!important;border-radius:999px!important;padding:6px 10px!important;font-size:12px!important;font-weight:900!important}.sr-lane-copy h3{font-size:clamp(22px,2.1vw,30px)!important;line-height:1.35!important;font-weight:800!important;margin:0 0 6px!important}.sr-lane-copy p{font-size:16px!important;line-height:1.85!important}.sr-lane-action a{border-radius:999px!important;background:#fff!important;border:1px solid rgba(126,149,174,.22)!important;font-weight:900!important;color:#24405f!important}

.sr-process-item,.sr-pathway article,.sr-price-band,.sr-course-card,.sr-form-card,.sr-contact-panel,.sr-panel,.sr-compare-panel article,.sr-role-list article{
  border-radius:32px!important;
  border:1px solid rgba(126,149,174,.17)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(247,251,254,.84))!important;
  box-shadow:0 18px 46px rgba(7,27,51,.055)!important;
}
.sr-process-copy h3,.sr-pathway h3,.sr-price-band h3,.sr-role-list h3{font-weight:800!important;line-height:1.35!important}.sr-process-copy p,.sr-pathway p,.sr-price-band p,.sr-role-list p{font-size:15.8px!important;color:var(--sr-v217-muted)!important;line-height:1.85!important}
.sr-cta{border-radius:38px!important;background:radial-gradient(circle at 12% 20%,rgba(201,154,34,.22),transparent 30%),linear-gradient(135deg,#071b33,#0b355d 58%,#103a47)!important;box-shadow:0 28px 70px rgba(7,27,51,.17)!important}.sr-cta h2{font-size:clamp(26px,3vw,42px)!important;line-height:1.35!important}.sr-cta p{color:#dbe8f6!important}

/* Visual cards */
.sr-dashboard-visual,.sr-product-map,.sr-install-visual,.sr-ai-visual{transform:none!important;filter:drop-shadow(0 24px 44px rgba(7,27,51,.12))}.sr-phone-shell{border-radius:34px!important}.sr-dash-window,.sr-product-map,.sr-ai-visual{border-radius:36px!important}.sr-phone-grid b,.sr-orbit-grid b{border-radius:18px!important;font-weight:800!important}

/* Footer */
.sr-footer{background:linear-gradient(135deg,#06172c,#0a223b 58%,#123638)!important}.sr-footer p,.sr-footer a,.sr-footer li{font-size:15.5px!important;line-height:1.9!important}.sr-footer h3{font-weight:850!important}

/* Forms / auth readability */
.sr-form-card input,.sr-form-card select,.sr-form-card textarea{border-radius:18px!important;border-color:rgba(126,149,174,.24)!important;font-size:15.5px!important}.sr-form-card label{font-weight:800!important;color:#1d3148!important}

/* LTR/English: no giant Arabic line-height behavior */
html[dir="ltr"] body.sr-public{font-family:"Segoe UI",Inter,Arial,sans-serif!important}html[dir="ltr"] .sr-hero h1,html[dir="ltr"] .sr-section-intro h2{letter-spacing:-.035em!important;line-height:1.12!important}

@media (max-width:1100px){.sr-menu a{font-size:15px!important;padding:10px 9px!important}.sr-brand img{width:154px!important}.sr-login,.sr-demo{font-size:15px!important;padding:0 14px!important}.sr-hero-grid{grid-template-columns:1fr!important}.sr-hero-copy{max-width:850px!important}.sr-hero-visual{min-height:260px!important}}
@media (max-width:760px){.sr-nav-wrap{height:66px!important}.sr-brand img{width:138px!important}.sr-login,.sr-lang-switch{display:none!important}.sr-menu-button{font-size:14px!important;font-weight:900!important}.sr-hero{padding:34px 0 32px!important}.sr-hero h1{font-size:clamp(28px,9vw,38px)!important;line-height:1.28!important;letter-spacing:0!important}.sr-page-app .sr-hero h1{font-size:clamp(27px,8.2vw,36px)!important}.sr-lead{font-size:15.5px!important;line-height:1.9!important}.sr-hero-visual{min-height:230px!important}.sr-section{padding:34px 0!important}.sr-section + .sr-section{padding-top:24px!important}.sr-section-intro h2{font-size:clamp(25px,7vw,32px)!important;line-height:1.35!important}.sr-lane{grid-template-columns:1fr!important;border-radius:28px!important;padding:18px!important}.sr-lane:before{width:4px}.sr-lane-copy h3{font-size:22px!important}.sr-process-item,.sr-pathway article,.sr-price-band,.sr-form-card,.sr-contact-panel{border-radius:26px!important}.sr-actions{display:grid!important;grid-template-columns:1fr!important}.sr-btn{width:100%!important}.sr-proof-row span{font-size:12.5px!important}.sr-phone-shell{width:min(100%,330px)!important}}
